Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ result = tool.invoke({"agent_id": "sg-cpf-calculator"})
### Use in TypeScript

```typescript
import { observatoryEvaluate } from "@dominion/trust-provider";
import { observatoryEvaluate } from "@vdineshk/trust-provider";

const evaluation = await observatoryEvaluate({
schema: "x402-trust-query-v0.1",
Expand Down Expand Up @@ -162,7 +162,7 @@ These signals produce a **trust score** (0-100) mapped to decisions:

| Package | Registry | Description |
|---------|----------|-------------|
| `@dominion/trust-provider` | npm | TypeScript trust-provider with Observatory adapter |
| `@vdineshk/trust-provider` | npm | TypeScript trust-provider with Observatory adapter |
| `langchain-trust-gate` | PyPI | LangChain tool for behavioral trust scoring |

## Project structure
Expand All @@ -171,7 +171,7 @@ These signals produce a **trust score** (0-100) mapped to decisions:
daee-engine/
├── dominion-observatory/ # Trust registry (Cloudflare Workers)
├── packages/
│ ├── trust-provider/ # npm: @dominion/trust-provider
│ ├── trust-provider/ # npm: @vdineshk/trust-provider
│ └── langchain-trust-gate/ # PyPI: langchain-trust-gate
├── specs/ # Formal specifications
├── testnet-demo/ # x402 + Base Sepolia demo
Expand Down
268 changes: 268 additions & 0 deletions decisions/2026-05-17-builder-run-043.md

Large diffs are not rendered by default.

402 changes: 402 additions & 0 deletions decisions/2026-05-18-builder-run-044.md

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions dominion-observatory/config/post-deploy-health.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.0",
"last_updated": "2026-05-01",
"version": "1.2",
"last_updated": "2026-05-18",
"endpoints": [
{
"url": "https://dominion-observatory.sgdata.workers.dev/agent-query/sg-cpf-calculator-mcp",
Expand Down Expand Up @@ -33,6 +33,19 @@
},
"description": "Observatory stats endpoint — core health check",
"revenue_critical": false
},
{
"url": "https://dominion-observatory.sgdata.workers.dev/.well-known/ctef-conformance",
"expected_status": 200,
"expected_json": {
"schema": "ctef-conformance-v0.3.2",
"ctef_version": "0.3.2",
"role": "evidence_provider"
},
"description": "CTEF v0.3.2 §4.5.3 self-attestation URI — operator's declaration of CTEF conformance. SPEC-CITED endpoint per HARD RULE 21 — response-shape changes require CEO sign-off + CTEF WG notification. Deployed RUN-044 2026-05-18 (version 26a6b421-7731-4971-aac7-4c05b4d91bfc) under CEO Standing Directive 2026-05-17 moratorium-exemption, T-1d to CTEF v0.3.2 publication 2026-05-19.",
"revenue_critical": false,
"deploy_status": "DEPLOYED",
"spec_cited": true
}
]
}
63 changes: 63 additions & 0 deletions dominion-observatory/src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions packages/langchain-trust-gate/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Dominion DAEE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions packages/langchain-trust-gate/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# langchain-trust-gate

> **EXPERIMENTAL · PRE-1.0 · NO SUPPORT.** Thin LangChain tool wrapper around
> the live [Dominion Observatory](https://dominion-observatory.sgdata.workers.dev)
> behavioral-evidence + trust-delta endpoints. APIs may change between minor
> versions. No SLA. No support channel. Use at your own risk.

LangChain tool for behavioral trust scoring via [Dominion Observatory](https://dominion-observatory.sgdata.workers.dev).

Gate agent actions on real behavioral attestation data — interaction history, success rates, latency — before executing sensitive operations.
Expand Down
21 changes: 21 additions & 0 deletions packages/trust-provider/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Dominion DAEE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
17 changes: 11 additions & 6 deletions packages/trust-provider/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# @dominion/trust-provider
# @vdineshk/trust-provider

> x402 Trust-Provider Interface — behavioral trust scoring for the agent economy.
> **EXPERIMENTAL · PRE-1.0 · NO SUPPORT.** Reference implementation of the
> [x402 Trust-Provider Interface v0.1](https://github.com/vdineshk/daee-engine/blob/main/specs/x402-trust-provider-interface/v0.1/SPEC.md)
> spec draft. APIs may change between minor versions. No SLA. No support channel.
> Use at your own risk.

[![npm](https://img.shields.io/npm/v/@dominion/trust-provider)](https://www.npmjs.com/package/@dominion/trust-provider)
x402 Trust-Provider Interface — behavioral trust scoring for the agent economy.

[![npm](https://img.shields.io/npm/v/@vdineshk/trust-provider)](https://www.npmjs.com/package/@vdineshk/trust-provider)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Query **14,800+ MCP servers** via [Dominion Observatory](https://dominion-observatory.sgdata.workers.dev) and gate payments using the [x402 Trust-Provider Interface v0.1](https://github.com/vdineshk/daee-engine/blob/main/specs/x402-trust-provider-interface/v0.1/SPEC.md).

## Install

```bash
npm install @dominion/trust-provider
npm install @vdineshk/trust-provider
```

## Quick start

```typescript
import { query } from "@dominion/trust-provider";
import { query } from "@vdineshk/trust-provider";

const result = await query("my-agent-id");

Expand All @@ -37,7 +42,7 @@ import {
advisoryHeaders,
type TrustQuery,
type BeforeSettleConfig,
} from "@dominion/trust-provider";
} from "@vdineshk/trust-provider";

// Build query
const trustQuery: TrustQuery = {
Expand Down
30 changes: 30 additions & 0 deletions packages/trust-provider/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/trust-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@dominion/trust-provider",
"name": "@vdineshk/trust-provider",
"version": "0.1.0",
"description": "x402 Trust-Provider Interface — behavioral trust scoring for the agent economy. Query 14,800+ MCP servers via Dominion Observatory.",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions packages/trust-provider/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* @dominion/trust-provider
* @vdineshk/trust-provider
* x402 Trust-Provider Interface v0.1 — behavioral trust scoring for the agent economy
*
* npm install @dominion/trust-provider
* npm install @vdineshk/trust-provider
*
* @example
* import { query, beforeSettle } from '@dominion/trust-provider';
* import { query, beforeSettle } from '@vdineshk/trust-provider';
* const eval = await query('my-agent-id');
* if (eval.decision === 'PASS') proceed();
*/
Expand Down