Repository navigation
Commit 3787be3
feat(agent-commerce): Wave 3 — 20 deterministic tools and ten agent skills (#132)
* feat(agent-commerce): Wave 3 — 20 deterministic tools and ten agent skills
The MCP surface answered "did the bytes match?" but not the questions around it:
why a decision was denied, whether the server being installed is trustworthy,
how to prove a record later, and how to stop an agent in one call. Wave 3 adds
twenty tools in five families, all offline and zero-key:
- policy reasoning: compile, explain (with a single-change counterfactual),
simulate a batch, diff two policies, generate boundary cases;
- MCP supply chain: server-manifest risk card, tool-description poisoning scan
(bidi/tag/zero-width/HTML-comment/imperative phrases with offsets), lookalike
check, tool-surface rug-pull diff, evidence-bundle verification;
- evidence: receipt redaction with both digests, Merkle batch attestation and
offline inclusion proofs;
- operations: freeze an agent and reject its open approvals atomically, budget
runway, median/MAD spend scan, incident timeline;
- interop/meta: ACP/x402/CGCR translation with an explicit loss list, engine-
computed test vectors, and a capability card directories can quote.
Also adds `skills/`: ten SKILL.md procedures (purchase guard, MCP due diligence,
tool-poisoning triage, spend control, receipt forensics, impersonation check,
surface drift, freeze drill, x402 gate, ACP mapping).
The tool reference is regenerated from the shipped server with every example
executed (46 tools), and the docs check is deterministic again: the freeze drill
takes a pinned clock and the seeded approval has a fixed id, so two runs of the
generator produce byte-identical pages.
No change to the consent/verification core, transport, error contract or
boundaries. VERIFIED ≠ SAFE.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
* chore(state): re-measure the boundary audit after Wave 3
The snapshot's file count is re-derived from the committed tree, so adding the
Wave 3 module, the ten skills and two documents moves it from 1557 to 1571 with
zero violations. Docs-node stays at 140 executed / 89 skip-listed / 33 covered:
the new documents carry data fences, not commands.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
* fix(deps): keep @coreguard/stellar on the workspace package at 0.2.0
Raising the agent-commerce version to 0.2.0 left `@coreguard/stellar` asking for
^0.1.2, so npm stopped linking the workspace copy and started installing the
published 0.1.5 nested under packages/stellar. `npm ci` then refused the lock
outright. The range now matches the workspace and the lock is regenerated; no
third-party dependency changed.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
* chore(claims): re-derive the boundary claim after the snapshot moved
The committed claim `CL-BOUNDARY-CLEAN` still pinned 1557 scanned files, so the
public `npm run claims:audit` (and the docs contract that runs it) reported
COMMITTED_DERIVED_DRIFT against the re-measured 1571. Regenerated from the
committed snapshot; audit passes with 31 claims, zero violations.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
* docs(status): state the re-measured boundary count in the current-state row
The status table pins the boundary audit in its own row; after Wave 3 the
committed tree holds 1571 files, so the row must say 1571 (the contract fails by
name otherwise). No other measurement moved.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
---------
Co-authored-by: EslaM-X <eslam@coreguard.dev>
Co-authored-by: Codebuff <noreply@codebuff.com>1 parent ab12325 commit 3787be3
32 files changed
Lines changed: 5024 additions & 526 deletions
File tree
- docs
- mcprush
- releases
- examples/agent-commerce-mcp
- packages
- agent-commerce
- stellar
- scripts
- skills
- acp-interop-mapping
- agent-purchase-guard
- agent-spend-control
- incident-freeze-drill
- mcp-server-due-diligence
- merchant-impersonation-check
- receipt-forensics
- tool-poisoning-triage
- tool-surface-drift-watch
- x402-payment-gate
- test/integrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments