diff --git a/docs/AER1-INTEROP-TABLE.md b/docs/AER1-INTEROP-TABLE.md
index 13ac9672..e256690d 100644
--- a/docs/AER1-INTEROP-TABLE.md
+++ b/docs/AER1-INTEROP-TABLE.md
@@ -15,21 +15,23 @@ A `verified` outcome here means the saved bytes were not changed after they were
| false reject (ours) | 0 |
| not checked (unimplemented family, schema or anchor) | 100 |
-## Families
-
-| Family | Vectors | Agree | False accepts | False rejects | Not checked |
-|---|---|---|---|---|---|
-| `invalid` | 36 | 27 | — | — | 9 |
-| `chain` | 35 | 0 | — | — | 35 |
-| `valid` | 21 | 9 | — | — | 12 |
-| `merkle` | 9 | 0 | — | — | 9 |
-| `anchor` | 8 | 0 | — | — | 8 |
-| `commitment` | 8 | 0 | — | — | 8 |
-| `workflow-merkle-seq-output-v1` | 8 | 0 | — | — | 8 |
-| `id-binding` | 6 | 6 | — | — | — |
-| `anchored` | 6 | 0 | — | — | 6 |
-| `unicode` | 5 | 0 | — | — | 5 |
-| `invalid-profile` | 1 | 1 | — | — | — |
+## Families and the joined verdicts
+
+Two columns from two runners against the same pinned set, joined on vector name. The kit column is generated from the reference kit's own run (pinned below), not typed from the classification.
+
+| Family | Vectors | CG-AER1/1 | Reference kit | Divergence |
+|---|---|---|---|---|
+| `invalid` | 36 | 27 agree · 9 not checked | 36 checks, all as expected · 36 refused | 0 of 27 |
+| `chain` | 35 | 0 agree · 35 not checked | 35 checks, all as expected | — (not judged by CG-AER1/1) |
+| `valid` | 21 | 9 agree · 12 not checked | 21 checks, all as expected | 0 of 9 |
+| `merkle` | 9 | 0 agree · 9 not checked | 12 checks, all as expected | — (not judged by CG-AER1/1) |
+| `anchor` | 8 | 0 agree · 8 not checked | 8 checks, all as expected · 4 refused | — (not judged by CG-AER1/1) |
+| `commitment` | 8 | 0 agree · 8 not checked | 8 checks, all as expected | — (not judged by CG-AER1/1) |
+| `workflow-merkle-seq-output-v1` | 8 | 0 agree · 8 not checked | 8 checks, all as expected | — (not judged by CG-AER1/1) |
+| `id-binding` | 6 | 6 agree | 6 checks, all as expected | 0 of 6 |
+| `anchored` | 6 | 0 agree · 6 not checked | 6 checks, all as expected · 5 refused | — (not judged by CG-AER1/1) |
+| `unicode` | 5 | 0 agree · 5 not checked | 5 checks, all as expected | — (not judged by CG-AER1/1) |
+| `invalid-profile` | 1 | 1 agree | 1 check, all as expected · 1 refused | 0 of 1 |
## The two interop pairs
@@ -43,6 +45,20 @@ Drift named by CG-AER1/1:
|---|---|---|
| `receipt.id` | `130da435-e157-498e-af90-605866a86a27` | `42fc3298-b1e7-4087-bb1c-f80ef9f12c7c` |
+## Pins
+
+| Side | Pin |
+|---|---|
+| Corpus | kit 1.5.7 · `sha256:60bf73f325793e16843370cfa24903bb0d017525cb297e42bebc35857e2db0d2` · 143 vectors |
+| Reference kit run | commit `e04e4c91d4630a2e0ceb4e12c48accacac10155e` · column sha256 `sha256:eb6cec8cf8d927c6af0460913fbf82ae1e2ae021b2cdde295b4d7c3aa4b29cd9` · 146 checks |
+| CG-AER1/1 | parser sha256:5d74ff8126fab46509875e86c1faa3c8a53389f18d695e2f34681f55123b6bb1 · generator sha256:66b2f0e383f8b331f456db269359155e5c2756c05a9eef89c13b3585916d5edc |
+
+The kit's closing line is `CONFORMANCE OK: 143 vectors, 146 checks, sha256:60bf73f325793e16843370cfa24903bb0d017525cb297e42bebc35857e2db0d2`; the join key is the vector name, and the extra checks are the merkle family's workflow checks (9 vectors carry 12 checks). The kit column was published at https://github.com/zambodotdev/aer1-kit/blob/main/interop/kit-column-2026-11-23.txt and is vendored here so this page regenerates offline; its sha256 is checked before the column is read.
+
+## Divergence detail
+
+No verdict divergence in the joined set today: every vector CG-AER1/1 judges, the reference kit judges the same way. The field-level divergence is the id-binding swap above, where both sides refuse and CG-AER1/1 names `receipt.id` with the expected and found values.
+
## False accepts — our defect list
None.
diff --git a/docs/LINKEDIN-CONTENT.md b/docs/LINKEDIN-CONTENT.md
index df8387eb..28a140f2 100644
--- a/docs/LINKEDIN-CONTENT.md
+++ b/docs/LINKEDIN-CONTENT.md
@@ -54,7 +54,7 @@ CoreGuard Global — Traction Update
✅ Core DAO mainnet: 2 contracts deployed & verified
✅ Stellar testnet: Soroban contract deployed
✅ 2009 tests passing
-✅ 1529 files scanned, 0 boundary violations
+✅ 1530 files scanned, 0 boundary violations
✅ 10,000-run benchmark: 0 false accept/reject
✅ 18/18 release gate legs pass
diff --git a/docs/NUMBERS.html b/docs/NUMBERS.html
index d5d3850e..1bbd8708 100644
--- a/docs/NUMBERS.html
+++ b/docs/NUMBERS.html
@@ -63,7 +63,7 @@
CoreGuard — numbers
| Boundary audit — files scanned |
- 1529 files |
+ 1530 files |
docs/state-snapshot.json#boundaryAudit.filesScannedTracked files from `git ls-files` (ignored trees such as var/ are not counted). |
diff --git a/docs/STATUS.md b/docs/STATUS.md
index 7706d4af..5e2f4aaa 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -8,7 +8,7 @@ machine-measured, not estimated. Last verified: **2026-11-16**.
| Item | Value | How verified |
|---|---|---|
-| Test suite | **1841 / 1841 pass** (+34 measured 2026-11-17 - `test/integrations/trust-anchor-set.test.mjs` 21 + `test/integrations/provenance-fuzz.test.mjs` 3 + `test/integrations/provenance-mutations.test.mjs` 10: the owner-authorized provenance v2-foundation wave - CG-TAS/1 `scripts/ladder/trust-anchor-set.mjs` (caller-pinned canonical anchor-set document with an optional sha256 digest pin over canonical bytes, per-key notBefore/notAfter rotation windows judged only against the caller-injected decision time with inclusive bounds, revocation decisive and permanent within the set regardless of signature validity with revokedAt informational, duplicate keyId (even byte-identical) a CONFLICT never first-match, strict shape validation, and the record never selecting or influencing its trust key) composing over the UNCHANGED CG-RRP/1 verifier, plus the deterministic offline fuzz campaign `scripts/ladder/provenance-fuzz.mjs` (10 attack families incl. 2 direct-path families, benign canonicalization invariance, determinism sampling, zero escapes / zero benign drift / zero contract violations at 1000 iterations) and the applied-and-bites source-mutation battery (9 named provenance mutants, each must escape its probe as VERIFIED when the guard is deleted)) (+9 measured 2026-11-16 — two contracts over the reviewer deliverables: `test/ci/demo-script-contract.test.js` (4: the demo script is EXECUTABLE — its `demo` fences are extracted, run in order from the repo root and compared fragment-by-fragment with the output they promise, one step declared `exit 1` because a tamper step that exits 0 is the defect, failures name `docs/reviewer-demo-script-2026-09.md:LINE`, placeholders rejected, and a negative control proving the comparator is not vacuous) + `test/ci/bilingual-pairs.test.js` (5: the Arabic editions of the three CG-BTY-005 deliverables are declared pairs carrying a provenance line that pins the English source's CRLF-normalized digest, so a missing Arabic side, a stale translation and an undeclared orphan each fail by file name); +21 measured 2026-11-16 - `test/integrations/agent-commerce-firewall.test.mjs` 21: product 1 ships as ONE composed authorization firewall - `packages/agent-commerce/firewall.mjs` (AC-FW/1, new) composing the existing engines (`packages/policy` + the CGCR/1 consent binding + the CGEP/1 verdict + the AGR/1 taxonomy - no fifth engine): the PRE-EXECUTION gate `authorizeRequest` judges the DECLARED request (committed policy against the family's shared trace???policy context `packages/agent-commerce/policy-context.mjs` (new) ?? consent byte-match (the request's declared bytes must be byte-identical to the approved ones, and any claimed intent/policy must canonical-match) ?? the authorization window ONLY against a caller-pinned `nowSeconds` (the wall clock is never read) ?? single-use replay state consulted, NEVER consumed) and the POST-EXECUTION review `reviewExecution` returns the full verifyExecution record (a single-use consent is consumed by its first verified execution); frozen 6-code refusal vocabulary (MALFORMED_REQUEST ?? POLICY_REFUSED ?? CONSENT_MISMATCH ?? CONSENT_INVALID ?? WINDOW_CLOSED ?? SINGLE_USE_CONSUMED), ALLOW only on an empty reasons list, unreadable fields refused never guessed, decisions byte-deterministic (the verifier's own wall-clock report field is deliberately dropped); `createFirewall({ consumedSet })` binds one guard with one shared ledger for both decision points; the exact arc VERIFIES offline (PRE ALLOW ??? POST VERIFIED) and the negative battery REFUSES with the named codes (recipient swap ??? CONSENT_MISMATCH + allowlist rules ?? value escalation ??? POLICY_REFUSED ?? tampered consent ??? CONSENT_INVALID ?? window closed ??? WINDOW_CLOSED ?? replay pre ??? SINGLE_USE_CONSUMED ?? replay post ??? INVALID with SINGLE_USE_REUSE); `docs/surface-status.json` product-1 entry re-pointed from the older Stellar mandate gate to the composed face, the alignment guarded by a contract test; deterministic demo `examples/agent-commerce-firewall/run.mjs` + committed byte-stable `artifacts.json` (exit 0 ONLY on the exact arc)) (+16 measured 2026-11-15 - `test/integrations/agent-commerce-attestation.test.mjs` 16: product 5 CGXA/1 cross-chain execution attestation (offline ?? deterministic ?? fail-closed, BUILT ?? TEST_EXECUTED; the on-chain broadcast legs stay OWNER-GATED / NOT_PERFORMED) - the frozen 9-code reject vocabulary (MALFORMED_ATTESTATION ?? ADAPTER_UNKNOWN ?? CHAIN_BINDING_MISMATCH ?? LEVEL_MISMATCH ?? CONSENT_MISMATCH ?? EXECUTION_MISMATCH ?? TIME_INVALID ?? ID_MISMATCH ?? VERIFIER_ERROR) and the frozen adapter registry (core-dao-anchor chainId 1116 anchor `0x037dF08F2d43c5D03759279Fe35664f6AFf9EA6E` per `docs/DEPLOYMENT.md` ?? stellar-anchor contract `CCKA2GYVILX7YZVSXGVIHOPNLTRBBF2SSWKBTQBIE7M67N5N2QMMXPSP` per `docs/EVIDENCE-MATRIX.md`) with every adapter fact literal verified against its cited committed document; the exact arc VERIFIES offline against both adapters and the record id re-derives byte-deterministically (same inputs, same bytes); the negative battery: a wrong attestation id REFUSES with ID_MISMATCH ?? a different consent REFUSES with CONSENT_MISMATCH ?? a drifted executed trace REFUSES with EXECUTION_MISMATCH ?? an unknown adapter REFUSES with ADAPTER_UNKNOWN ?? a mutated chain binding fact REFUSES with CHAIN_BINDING_MISMATCH ?? a mutated verification level REFUSES with LEVEL_MISMATCH ?? time is pinned (the wall clock is never read: build throws TIME_INVALID, verify refuses TIME_INVALID) ?? an unknown field REFUSES with MALFORMED_ATTESTATION (the field set is closed) ?? an error inside the verifier itself REFUSES with VERIFIER_ERROR, never a leaked pass; the two honesty invariants: the attestation view consumes NOTHING (a single-use consent is still first-consumed by its verified execution) and there is no broadcast surface (no exported name signs, submits or sends)) (+26 measured 2026-11-15 - `test/integrations/agent-commerce-types.test.mjs` 6 + `test/integrations/agent-commerce-attack-battery.test.mjs` 13 + `test/integrations/agent-commerce-dashboard-page.test.mjs` 7: the agent-commerce family - the TypeScript declaration surface `packages/agent-commerce/index.d.ts` (declared/runtime export parity, constants, boundary strings, no-implementation guarantee), the named attack battery over the committed demo `examples/agent-commerce-security-suite/artifacts.json` (6-vector prompt-injection fuzz V1-V6, RECIPIENT_SWAP, TAX_SHIPPING_FEE_DRIFT, CREDENTIAL_SUBSTITUTION, ITEM_MUTATION, EXPIRED, RECEIPT_TAMPER, REPLAY, the documented CROSS_SESSION shared-ledger gap, per-leg ledger isolation with a dedicated default-ledger leg, byte-determinism), and the bilingual RTL/EN operator dashboard `docs/agent-commerce-dashboard.html` (island byte-equality with artifacts.json, i18n pairing, fully-offline contract); +2 measured 2026-11-14 - `test/integrations/execution-trust-demo.test.mjs`: the four-pillar demo (authorization PASS, tampered envelope BLOCK/`XDR_BINDING_MISMATCH`, expired window BLOCK/`RECEIPT_EXPIRED`, third-party PASS, one-field edit BLOCK/`BAD_DIGEST`) plus byte-identical receipts across fresh runs; +10 measured 2026-11-12 - `test/integrations/stellar-presign.test.mjs` 37: PSAR/1 pre-sign authorization receipts `packages/stellar/presign.mjs` - byte-exact XDR binding (sha256 + Ed25519 over canonical JSON), fail-closed PASS/BLOCK with 11 frozen reject codes, windowed validity with an injected clock, executionProof NOT_INCLUDED on every verdict, known-answer vectors + the offline demo contract; +13 measured 2026-11-12 - `test/integrations/agent-gate-field-tamper.test.mjs` + `test/integrations/agent-gate-replay-determinism.test.mjs` (the signed-envelope field-tamper battery: the authorized intent bound to the signed envelope bytes field by field over the canonical-vector fixture; and the replay-determinism battery: the invariants run as the test contract's own actions rather than a cheatcode target); +15 measured 2026-11-11 - `test/integrations/bounty-escrow.test.mjs` 15: the ESCROW/1 bounty-escrow mirror `packages/bounty-escrow/index.mjs` - fail-closed fund/claim/deliver/verify/release/refund lifecycle + 5 negative controls + known-answer vectors; +20 measured 2026-11-10 - `test/integrations/agent-payment-gate.test.mjs` 10 + `test/ci/surface-status.test.mjs` 10: the AGENT-GATE/1 contract and the three-axis status guard; earlier +4 measured into this suite 2026-11-10 ??? the authorized-lane rejection decode + fee-solvency battery: the committed mainnet artifact's REJECTED `upload(wasm)` `errorResultXdr` bytes decode txInsufficientBalance (-7) at feeCharged 130861110 (composition requested 1000000 + resource 129861110, artifact-arithmetic-bound); decode fail-closed probes (junk never invents a code; the rehearsal's measured txBadSeq blob decodes to -5/txBadSeq at feeCharged 40674); the fee-solvency battery (measured 130861110 vs 35069800 refused PRE_SEND_SOLVENCY; fee+reserve boundary applied-and-bites at the single stroop; exact per-account minimum from subentry_count ??? 1 USDC trustline ??? 3 ?? 5000000); and the source contract (solvency consult precedes every submission; artifacts self-decode rejections; REJECTED/FAILED/TIMEOUT steps always downgrade the verdict) ?? then +17 measured into this suite 2026-11-09: +1 readback decoder ??? the typed-sim scvMap face (soroban-testnet measured 2026-11-08) decodes SOME ??? the OWNER-AUTHORIZED mainnet deploy contract battery, offline, every gate green + applied-and-bite: decision-doc literal parse, owner-flag gate, CI-artifact manifest identity (artifactName / runId / wasmSha256 / headSha ancestor-of-HEAD), fee floor + 1.5x policy, rehearsal-first gate, digest order-independence, the cross-language known-answer id, deterministic-salt idempotency fork/dup, artifact-surface paths, a source-level secret-discipline scanner (applied-and-bite), and the readback decoder's fail-closed branches) ?? then +15 measured into this suite 2026-11-07: +8 `test/integrations/stellar-soroban.test.mjs` (11???19 ??? XDR/type-code decode helpers + the authorized-lane call-site contract + the cross-language known-answer vector) + +7 `test/ci/doc-numbers.test.js` (the tests-claims bond: every doc suite-count statement must equal this snapshot's total) ?? then +3 dex-swap executed ??? the first SIGNED funded mainnet swap: `test/integrations/execution-evidence-contract.test.mjs` +3 ??? `docs/evidence/stellar-dex-swap-executed.json` digest-faithful (first SIGNED funded mainnet swap CONFIRMED through DEX-GATE/1 preflight: swap tx `ac2a7990b3387aab96b197c0c921d57756bd25d65ad0e75b93561ded640b9097`, ledger 65,338,112; trustline tx `09243337fd04d7ead8e369a8a5d5ef48648179db84608b262d5379f34fa72d76`, ledger 65,338,111; `4.0598146 XLM ??? 0.6306239 USDC`; wire read-backs equal `fee_charged` to the stroop) + the read-back arithmetic test + a tamper control ??? FIVE committed runner artifacts now digest-pinned by the contract; execution runner + measured artifact: `scripts/stellar-dex-swap-executed.mjs` ?? `docs/evidence/stellar-dex-swap-executed.json`; earlier: +6 soroban commit-executed: `test/integrations/stellar-soroban.test.mjs` +4 ??? the owner-authorized mainnet commit lane INVOKED via an injected submitter with the exact pair + wire-op decode, the fail-closed `ownerAuthorization` mainnet gate, `0x`-prefixed id acceptance, and the honest SUBMITTED/NOT_AUTHORIZED/REJECTED paths; `test/integrations/execution-evidence-contract.test.mjs` +2 ??? `docs/evidence/stellar-soroban-commit-executed.json` digest-faithful (INVOKED mainnet anchor on the exact pair) + a tamper control ??? FOUR committed runner artifacts now digest-pinned by the contract; execution runner + measured artifact: `scripts/stellar-soroban-commit-executed.mjs` ?? `docs/evidence/stellar-soroban-commit-executed.json` (tx `69044807410f65027c1227f4e525ad83f23a6cb1a2bb79790d82849c5dbc9fec`, ledger 65,337,373, on-chain read-back `{hash, seq}` exact); earlier: +6 executed-evidence contract `test/integrations/execution-evidence-contract.test.mjs` ??? the commit-pinned runner artifacts (STELLAR-AGENT/1 gate ?? DEX-GATE/1 on the REAL mainnet order book ?? GuardShield/1 decision arms) digest-checked with three tamper controls that each apply AND bite; earlier: +2 stellar-agent verifier `test/integrations/stellar-agent.test.mjs` ??? STELLAR-AGENT/1 fail-closed payment verifier over `packages/stellar/index.mjs`, policy/allowlist/deadline judged before any submit, receipts replayable via CGEP/1, honest DRY_RUN/NOT_BUILT status); earlier: +4 commit binding: `test/ci/perf-commit-binding.test.js` ??? every trend point records the git sha of the exact commit whose code was measured (`git rev-parse HEAD` of the measured checkout; no reachable git ??? NO sha recorded and NO data-sha fabricated anywhere, ceiling-respecting so a nested checkout can never inherit a parent repository's sha), `--badges` stamps each series badge with `data-sha` naming its latest point's measured-at commit while the aggregate wears none (its points may span commits), and the shared audit core `test/ci/badge-audit.mjs` bites by name on a wrong binding (STALE COMMIT BINDING), a missing one, a fabricated one (a sha the ledger never carried), and a single-commit claim on `perf??all`; then: +6 quick-start templates page: `docs/QUICKSTART.html` documents `create:integration` (default guard-floor mode vs `--dde` DDE-evidence + payout-gate mode) with LIVE derivations, not retyped prose ??? commands parsed from `scripts/create-integration.mjs` usage + `package.json`, both template trees fetched from the GitHub API contents endpoint, and the committed engine `templates/integration-dde/engine-dde.mjs` executed in the reader's tab on the committed ten-record fixture (verifyPins + verifyDeliveryFixture) with the acceptance predicate derived from `payout-gate.mjs`'s own bytes, red chips BY NAME on dead feeds, AR/EN throughout; `test/delivery/quickstart-page.test.js` executes parseUsage/parseModes/parseFileKey/buildFixture/statusBlock/checkRow/gateBlock in a VM on the real committed bytes AND drives the real engine subprocess (VERIFIED verdict agreed row-by-row, HOLD gate agreed with the real `payout-gate.mjs --json` exit-2 run) with 4 negative mutations each applying AND biting; + the DDE scaffold runners (`verify-dde.mjs`, `payout-gate.mjs`) now resolve their fixture via `fileURLToPath`, fixing the `pathname` percent-encoding break on Windows paths with spaces ??? the live examples run as-is anywhere; then: +4 main-badge-sync audit: `test/ci/main-badge-sync.test.js` audits badge???ledger sync at the tip main actually SERVES ??? ledger, module badge table and every `docs/badges/*.svg` read from the GIT COMMIT TREE via `git cat-file -p [:path` / `git ls-tree` (HEAD on main checkouts, else `refs/remotes/origin/main`, failing named when neither is reachable), a staged newer ledger point bites STALE by name proving the audit reads committed bytes, and the audit core moved to `test/ci/badge-audit.mjs` so working-tree and commit-tree surfaces consume ONE derivation; earlier: +4 badge-freshness audit: `test/ci/badge-freshness.test.js` re-derives badge freshness at COMMIT granularity ??? for every BADGE_SERIES row (parsed from the module, budgets never retyped) the committed `docs/badges/*.svg` must show the ledger's LATEST recorded point and the ladder verdict color, `perf-all` must be the worst case of exactly the rendered set (nightly absence honored: no badge before its first point), any committed `perf-*` file the module does not declare is a criminal artifact (the CG-BDG/1 `specimen-*` family is explicitly out of scope), and 3 mutation controls each apply AND bite by name (stale value / lying color / phantom badge ??? a green badge the ladder calls yellow fails loudly); then: +3 aggregate perf badge: a fourth rendered badge `perf-all.svg` / README row `DDE perf ?? all` sums the always-on set's badges by worst case ??? all inside budget ??? green `all within budget`, any series past its budget but inside the 2x bar ??? yellow `N above budget`, beyond the bar ??? red `regression detected` ??? computed ONLY from badges the run rendered (the nightly load tail joins when it records) with the same fail-closed atomicity, contract-tested in `perf-badges.test.js` (+3); then: +5 first-drift trend alert: `test/ci/perf-drift-alert.test.js` ??? the trend gate's first breach names series, metric, current, baseline and ratio three ways (structured `alert` in the --json status, stderr block, and a breach row appended to the GitHub run summary when GITHUB_STEP_SUMMARY is set ??? the failing run's Summary page shows the offender beside the red gate, append-only and best-effort), a FAIL-gate report is a recording error and never dresses up as a regression, a green run emits no alert and touches no summary, and a breached run still records NOTHING; then: +8 live trend page: `docs/DDE-TREND.html` ??? the engine/wire/SDK median curves redrawn from the committed `benchmarks/perf-history.jsonl` on every load and re-polled every 60s so each tracker-bot point appends itself to the page without a redeploy, budgets derived live from `scripts/benchmark-trend.mjs` (a module budget bump moves the page in the same push), red named shim strips naming the exact URL whose ledger source is dark, AR/EN throughout; the contract executes the page's JS in a VM against the real bytes, drives the 60s poll and the refetch channel through the tokenizer too, and 6 page-mutation negative controls each apply AND bite; then: +4 depth-pair surfacing: the live perf page now shows the sequential median ??? p95-under-concurrency pair derived from the trend module, the respondent row carries `metric: "p95"` end to end, and the page queueing honesty framing + the unrecorded-point absence note are both contract-tested; then: +5 light load runner: a 50-way `POST /verify` burst whose gate requires the requested peak in flight AND an overlap factor (?? latency / wall time) ??? 2, refuses `--concurrency 1` as sequential by name, and fails on a p95 budget it cannot meet; +16 live-playground page contract: the page's engine copies are executed against the real packages through the full ACCEPTED/REJECTED/UNKNOWN job run and must agree state-by-state, the x402 gate must refuse before a signature on the browser crypto-shim, the shim must pass the FIPS vectors, and four page mutations plus one engine byte must each apply AND bite; +1 index card; earlier: +19 job-economy flow battery: CG-BUD/1 sibling-scope race + settlement/metered one-ceiling + hold/disposition matrix in `test/integrations/budget-acceptance-flow.test.mjs`, +1 claims-audit committed-bind negative control) | `npm test` ??? the pass total is machine-pinned: `scripts/run-tests.mjs` enforces it against `docs/state-snapshot.json` after every green run (drift = red), and `test/ci/current-state.test.js` re-measures the fast fields (Boundary audit | **PASS** (1529 files scanned, 0 violations))
+| Test suite | **1841 / 1841 pass** (+34 measured 2026-11-17 - `test/integrations/trust-anchor-set.test.mjs` 21 + `test/integrations/provenance-fuzz.test.mjs` 3 + `test/integrations/provenance-mutations.test.mjs` 10: the owner-authorized provenance v2-foundation wave - CG-TAS/1 `scripts/ladder/trust-anchor-set.mjs` (caller-pinned canonical anchor-set document with an optional sha256 digest pin over canonical bytes, per-key notBefore/notAfter rotation windows judged only against the caller-injected decision time with inclusive bounds, revocation decisive and permanent within the set regardless of signature validity with revokedAt informational, duplicate keyId (even byte-identical) a CONFLICT never first-match, strict shape validation, and the record never selecting or influencing its trust key) composing over the UNCHANGED CG-RRP/1 verifier, plus the deterministic offline fuzz campaign `scripts/ladder/provenance-fuzz.mjs` (10 attack families incl. 2 direct-path families, benign canonicalization invariance, determinism sampling, zero escapes / zero benign drift / zero contract violations at 1000 iterations) and the applied-and-bites source-mutation battery (9 named provenance mutants, each must escape its probe as VERIFIED when the guard is deleted)) (+9 measured 2026-11-16 — two contracts over the reviewer deliverables: `test/ci/demo-script-contract.test.js` (4: the demo script is EXECUTABLE — its `demo` fences are extracted, run in order from the repo root and compared fragment-by-fragment with the output they promise, one step declared `exit 1` because a tamper step that exits 0 is the defect, failures name `docs/reviewer-demo-script-2026-09.md:LINE`, placeholders rejected, and a negative control proving the comparator is not vacuous) + `test/ci/bilingual-pairs.test.js` (5: the Arabic editions of the three CG-BTY-005 deliverables are declared pairs carrying a provenance line that pins the English source's CRLF-normalized digest, so a missing Arabic side, a stale translation and an undeclared orphan each fail by file name); +21 measured 2026-11-16 - `test/integrations/agent-commerce-firewall.test.mjs` 21: product 1 ships as ONE composed authorization firewall - `packages/agent-commerce/firewall.mjs` (AC-FW/1, new) composing the existing engines (`packages/policy` + the CGCR/1 consent binding + the CGEP/1 verdict + the AGR/1 taxonomy - no fifth engine): the PRE-EXECUTION gate `authorizeRequest` judges the DECLARED request (committed policy against the family's shared trace???policy context `packages/agent-commerce/policy-context.mjs` (new) ?? consent byte-match (the request's declared bytes must be byte-identical to the approved ones, and any claimed intent/policy must canonical-match) ?? the authorization window ONLY against a caller-pinned `nowSeconds` (the wall clock is never read) ?? single-use replay state consulted, NEVER consumed) and the POST-EXECUTION review `reviewExecution` returns the full verifyExecution record (a single-use consent is consumed by its first verified execution); frozen 6-code refusal vocabulary (MALFORMED_REQUEST ?? POLICY_REFUSED ?? CONSENT_MISMATCH ?? CONSENT_INVALID ?? WINDOW_CLOSED ?? SINGLE_USE_CONSUMED), ALLOW only on an empty reasons list, unreadable fields refused never guessed, decisions byte-deterministic (the verifier's own wall-clock report field is deliberately dropped); `createFirewall({ consumedSet })` binds one guard with one shared ledger for both decision points; the exact arc VERIFIES offline (PRE ALLOW ??? POST VERIFIED) and the negative battery REFUSES with the named codes (recipient swap ??? CONSENT_MISMATCH + allowlist rules ?? value escalation ??? POLICY_REFUSED ?? tampered consent ??? CONSENT_INVALID ?? window closed ??? WINDOW_CLOSED ?? replay pre ??? SINGLE_USE_CONSUMED ?? replay post ??? INVALID with SINGLE_USE_REUSE); `docs/surface-status.json` product-1 entry re-pointed from the older Stellar mandate gate to the composed face, the alignment guarded by a contract test; deterministic demo `examples/agent-commerce-firewall/run.mjs` + committed byte-stable `artifacts.json` (exit 0 ONLY on the exact arc)) (+16 measured 2026-11-15 - `test/integrations/agent-commerce-attestation.test.mjs` 16: product 5 CGXA/1 cross-chain execution attestation (offline ?? deterministic ?? fail-closed, BUILT ?? TEST_EXECUTED; the on-chain broadcast legs stay OWNER-GATED / NOT_PERFORMED) - the frozen 9-code reject vocabulary (MALFORMED_ATTESTATION ?? ADAPTER_UNKNOWN ?? CHAIN_BINDING_MISMATCH ?? LEVEL_MISMATCH ?? CONSENT_MISMATCH ?? EXECUTION_MISMATCH ?? TIME_INVALID ?? ID_MISMATCH ?? VERIFIER_ERROR) and the frozen adapter registry (core-dao-anchor chainId 1116 anchor `0x037dF08F2d43c5D03759279Fe35664f6AFf9EA6E` per `docs/DEPLOYMENT.md` ?? stellar-anchor contract `CCKA2GYVILX7YZVSXGVIHOPNLTRBBF2SSWKBTQBIE7M67N5N2QMMXPSP` per `docs/EVIDENCE-MATRIX.md`) with every adapter fact literal verified against its cited committed document; the exact arc VERIFIES offline against both adapters and the record id re-derives byte-deterministically (same inputs, same bytes); the negative battery: a wrong attestation id REFUSES with ID_MISMATCH ?? a different consent REFUSES with CONSENT_MISMATCH ?? a drifted executed trace REFUSES with EXECUTION_MISMATCH ?? an unknown adapter REFUSES with ADAPTER_UNKNOWN ?? a mutated chain binding fact REFUSES with CHAIN_BINDING_MISMATCH ?? a mutated verification level REFUSES with LEVEL_MISMATCH ?? time is pinned (the wall clock is never read: build throws TIME_INVALID, verify refuses TIME_INVALID) ?? an unknown field REFUSES with MALFORMED_ATTESTATION (the field set is closed) ?? an error inside the verifier itself REFUSES with VERIFIER_ERROR, never a leaked pass; the two honesty invariants: the attestation view consumes NOTHING (a single-use consent is still first-consumed by its verified execution) and there is no broadcast surface (no exported name signs, submits or sends)) (+26 measured 2026-11-15 - `test/integrations/agent-commerce-types.test.mjs` 6 + `test/integrations/agent-commerce-attack-battery.test.mjs` 13 + `test/integrations/agent-commerce-dashboard-page.test.mjs` 7: the agent-commerce family - the TypeScript declaration surface `packages/agent-commerce/index.d.ts` (declared/runtime export parity, constants, boundary strings, no-implementation guarantee), the named attack battery over the committed demo `examples/agent-commerce-security-suite/artifacts.json` (6-vector prompt-injection fuzz V1-V6, RECIPIENT_SWAP, TAX_SHIPPING_FEE_DRIFT, CREDENTIAL_SUBSTITUTION, ITEM_MUTATION, EXPIRED, RECEIPT_TAMPER, REPLAY, the documented CROSS_SESSION shared-ledger gap, per-leg ledger isolation with a dedicated default-ledger leg, byte-determinism), and the bilingual RTL/EN operator dashboard `docs/agent-commerce-dashboard.html` (island byte-equality with artifacts.json, i18n pairing, fully-offline contract); +2 measured 2026-11-14 - `test/integrations/execution-trust-demo.test.mjs`: the four-pillar demo (authorization PASS, tampered envelope BLOCK/`XDR_BINDING_MISMATCH`, expired window BLOCK/`RECEIPT_EXPIRED`, third-party PASS, one-field edit BLOCK/`BAD_DIGEST`) plus byte-identical receipts across fresh runs; +10 measured 2026-11-12 - `test/integrations/stellar-presign.test.mjs` 37: PSAR/1 pre-sign authorization receipts `packages/stellar/presign.mjs` - byte-exact XDR binding (sha256 + Ed25519 over canonical JSON), fail-closed PASS/BLOCK with 11 frozen reject codes, windowed validity with an injected clock, executionProof NOT_INCLUDED on every verdict, known-answer vectors + the offline demo contract; +13 measured 2026-11-12 - `test/integrations/agent-gate-field-tamper.test.mjs` + `test/integrations/agent-gate-replay-determinism.test.mjs` (the signed-envelope field-tamper battery: the authorized intent bound to the signed envelope bytes field by field over the canonical-vector fixture; and the replay-determinism battery: the invariants run as the test contract's own actions rather than a cheatcode target); +15 measured 2026-11-11 - `test/integrations/bounty-escrow.test.mjs` 15: the ESCROW/1 bounty-escrow mirror `packages/bounty-escrow/index.mjs` - fail-closed fund/claim/deliver/verify/release/refund lifecycle + 5 negative controls + known-answer vectors; +20 measured 2026-11-10 - `test/integrations/agent-payment-gate.test.mjs` 10 + `test/ci/surface-status.test.mjs` 10: the AGENT-GATE/1 contract and the three-axis status guard; earlier +4 measured into this suite 2026-11-10 ??? the authorized-lane rejection decode + fee-solvency battery: the committed mainnet artifact's REJECTED `upload(wasm)` `errorResultXdr` bytes decode txInsufficientBalance (-7) at feeCharged 130861110 (composition requested 1000000 + resource 129861110, artifact-arithmetic-bound); decode fail-closed probes (junk never invents a code; the rehearsal's measured txBadSeq blob decodes to -5/txBadSeq at feeCharged 40674); the fee-solvency battery (measured 130861110 vs 35069800 refused PRE_SEND_SOLVENCY; fee+reserve boundary applied-and-bites at the single stroop; exact per-account minimum from subentry_count ??? 1 USDC trustline ??? 3 ?? 5000000); and the source contract (solvency consult precedes every submission; artifacts self-decode rejections; REJECTED/FAILED/TIMEOUT steps always downgrade the verdict) ?? then +17 measured into this suite 2026-11-09: +1 readback decoder ??? the typed-sim scvMap face (soroban-testnet measured 2026-11-08) decodes SOME ??? the OWNER-AUTHORIZED mainnet deploy contract battery, offline, every gate green + applied-and-bite: decision-doc literal parse, owner-flag gate, CI-artifact manifest identity (artifactName / runId / wasmSha256 / headSha ancestor-of-HEAD), fee floor + 1.5x policy, rehearsal-first gate, digest order-independence, the cross-language known-answer id, deterministic-salt idempotency fork/dup, artifact-surface paths, a source-level secret-discipline scanner (applied-and-bite), and the readback decoder's fail-closed branches) ?? then +15 measured into this suite 2026-11-07: +8 `test/integrations/stellar-soroban.test.mjs` (11???19 ??? XDR/type-code decode helpers + the authorized-lane call-site contract + the cross-language known-answer vector) + +7 `test/ci/doc-numbers.test.js` (the tests-claims bond: every doc suite-count statement must equal this snapshot's total) ?? then +3 dex-swap executed ??? the first SIGNED funded mainnet swap: `test/integrations/execution-evidence-contract.test.mjs` +3 ??? `docs/evidence/stellar-dex-swap-executed.json` digest-faithful (first SIGNED funded mainnet swap CONFIRMED through DEX-GATE/1 preflight: swap tx `ac2a7990b3387aab96b197c0c921d57756bd25d65ad0e75b93561ded640b9097`, ledger 65,338,112; trustline tx `09243337fd04d7ead8e369a8a5d5ef48648179db84608b262d5379f34fa72d76`, ledger 65,338,111; `4.0598146 XLM ??? 0.6306239 USDC`; wire read-backs equal `fee_charged` to the stroop) + the read-back arithmetic test + a tamper control ??? FIVE committed runner artifacts now digest-pinned by the contract; execution runner + measured artifact: `scripts/stellar-dex-swap-executed.mjs` ?? `docs/evidence/stellar-dex-swap-executed.json`; earlier: +6 soroban commit-executed: `test/integrations/stellar-soroban.test.mjs` +4 ??? the owner-authorized mainnet commit lane INVOKED via an injected submitter with the exact pair + wire-op decode, the fail-closed `ownerAuthorization` mainnet gate, `0x`-prefixed id acceptance, and the honest SUBMITTED/NOT_AUTHORIZED/REJECTED paths; `test/integrations/execution-evidence-contract.test.mjs` +2 ??? `docs/evidence/stellar-soroban-commit-executed.json` digest-faithful (INVOKED mainnet anchor on the exact pair) + a tamper control ??? FOUR committed runner artifacts now digest-pinned by the contract; execution runner + measured artifact: `scripts/stellar-soroban-commit-executed.mjs` ?? `docs/evidence/stellar-soroban-commit-executed.json` (tx `69044807410f65027c1227f4e525ad83f23a6cb1a2bb79790d82849c5dbc9fec`, ledger 65,337,373, on-chain read-back `{hash, seq}` exact); earlier: +6 executed-evidence contract `test/integrations/execution-evidence-contract.test.mjs` ??? the commit-pinned runner artifacts (STELLAR-AGENT/1 gate ?? DEX-GATE/1 on the REAL mainnet order book ?? GuardShield/1 decision arms) digest-checked with three tamper controls that each apply AND bite; earlier: +2 stellar-agent verifier `test/integrations/stellar-agent.test.mjs` ??? STELLAR-AGENT/1 fail-closed payment verifier over `packages/stellar/index.mjs`, policy/allowlist/deadline judged before any submit, receipts replayable via CGEP/1, honest DRY_RUN/NOT_BUILT status); earlier: +4 commit binding: `test/ci/perf-commit-binding.test.js` ??? every trend point records the git sha of the exact commit whose code was measured (`git rev-parse HEAD` of the measured checkout; no reachable git ??? NO sha recorded and NO data-sha fabricated anywhere, ceiling-respecting so a nested checkout can never inherit a parent repository's sha), `--badges` stamps each series badge with `data-sha` naming its latest point's measured-at commit while the aggregate wears none (its points may span commits), and the shared audit core `test/ci/badge-audit.mjs` bites by name on a wrong binding (STALE COMMIT BINDING), a missing one, a fabricated one (a sha the ledger never carried), and a single-commit claim on `perf??all`; then: +6 quick-start templates page: `docs/QUICKSTART.html` documents `create:integration` (default guard-floor mode vs `--dde` DDE-evidence + payout-gate mode) with LIVE derivations, not retyped prose ??? commands parsed from `scripts/create-integration.mjs` usage + `package.json`, both template trees fetched from the GitHub API contents endpoint, and the committed engine `templates/integration-dde/engine-dde.mjs` executed in the reader's tab on the committed ten-record fixture (verifyPins + verifyDeliveryFixture) with the acceptance predicate derived from `payout-gate.mjs`'s own bytes, red chips BY NAME on dead feeds, AR/EN throughout; `test/delivery/quickstart-page.test.js` executes parseUsage/parseModes/parseFileKey/buildFixture/statusBlock/checkRow/gateBlock in a VM on the real committed bytes AND drives the real engine subprocess (VERIFIED verdict agreed row-by-row, HOLD gate agreed with the real `payout-gate.mjs --json` exit-2 run) with 4 negative mutations each applying AND biting; + the DDE scaffold runners (`verify-dde.mjs`, `payout-gate.mjs`) now resolve their fixture via `fileURLToPath`, fixing the `pathname` percent-encoding break on Windows paths with spaces ??? the live examples run as-is anywhere; then: +4 main-badge-sync audit: `test/ci/main-badge-sync.test.js` audits badge???ledger sync at the tip main actually SERVES ??? ledger, module badge table and every `docs/badges/*.svg` read from the GIT COMMIT TREE via `git cat-file -p ][:path` / `git ls-tree` (HEAD on main checkouts, else `refs/remotes/origin/main`, failing named when neither is reachable), a staged newer ledger point bites STALE by name proving the audit reads committed bytes, and the audit core moved to `test/ci/badge-audit.mjs` so working-tree and commit-tree surfaces consume ONE derivation; earlier: +4 badge-freshness audit: `test/ci/badge-freshness.test.js` re-derives badge freshness at COMMIT granularity ??? for every BADGE_SERIES row (parsed from the module, budgets never retyped) the committed `docs/badges/*.svg` must show the ledger's LATEST recorded point and the ladder verdict color, `perf-all` must be the worst case of exactly the rendered set (nightly absence honored: no badge before its first point), any committed `perf-*` file the module does not declare is a criminal artifact (the CG-BDG/1 `specimen-*` family is explicitly out of scope), and 3 mutation controls each apply AND bite by name (stale value / lying color / phantom badge ??? a green badge the ladder calls yellow fails loudly); then: +3 aggregate perf badge: a fourth rendered badge `perf-all.svg` / README row `DDE perf ?? all` sums the always-on set's badges by worst case ??? all inside budget ??? green `all within budget`, any series past its budget but inside the 2x bar ??? yellow `N above budget`, beyond the bar ??? red `regression detected` ??? computed ONLY from badges the run rendered (the nightly load tail joins when it records) with the same fail-closed atomicity, contract-tested in `perf-badges.test.js` (+3); then: +5 first-drift trend alert: `test/ci/perf-drift-alert.test.js` ??? the trend gate's first breach names series, metric, current, baseline and ratio three ways (structured `alert` in the --json status, stderr block, and a breach row appended to the GitHub run summary when GITHUB_STEP_SUMMARY is set ??? the failing run's Summary page shows the offender beside the red gate, append-only and best-effort), a FAIL-gate report is a recording error and never dresses up as a regression, a green run emits no alert and touches no summary, and a breached run still records NOTHING; then: +8 live trend page: `docs/DDE-TREND.html` ??? the engine/wire/SDK median curves redrawn from the committed `benchmarks/perf-history.jsonl` on every load and re-polled every 60s so each tracker-bot point appends itself to the page without a redeploy, budgets derived live from `scripts/benchmark-trend.mjs` (a module budget bump moves the page in the same push), red named shim strips naming the exact URL whose ledger source is dark, AR/EN throughout; the contract executes the page's JS in a VM against the real bytes, drives the 60s poll and the refetch channel through the tokenizer too, and 6 page-mutation negative controls each apply AND bite; then: +4 depth-pair surfacing: the live perf page now shows the sequential median ??? p95-under-concurrency pair derived from the trend module, the respondent row carries `metric: "p95"` end to end, and the page queueing honesty framing + the unrecorded-point absence note are both contract-tested; then: +5 light load runner: a 50-way `POST /verify` burst whose gate requires the requested peak in flight AND an overlap factor (?? latency / wall time) ??? 2, refuses `--concurrency 1` as sequential by name, and fails on a p95 budget it cannot meet; +16 live-playground page contract: the page's engine copies are executed against the real packages through the full ACCEPTED/REJECTED/UNKNOWN job run and must agree state-by-state, the x402 gate must refuse before a signature on the browser crypto-shim, the shim must pass the FIPS vectors, and four page mutations plus one engine byte must each apply AND bite; +1 index card; earlier: +19 job-economy flow battery: CG-BUD/1 sibling-scope race + settlement/metered one-ceiling + hold/disposition matrix in `test/integrations/budget-acceptance-flow.test.mjs`, +1 claims-audit committed-bind negative control) | `npm test` ??? the pass total is machine-pinned: `scripts/run-tests.mjs` enforces it against `docs/state-snapshot.json` after every green run (drift = red), and `test/ci/current-state.test.js` re-measures the fast fields (Boundary audit | **PASS** (1530 files scanned, 0 violations))
| Agent Commerce family | **products 1-5 + named attack battery + TypeScript declaration surface + bilingual operator dashboard = BUILT ?? TEST_EXECUTED** (offline ?? deterministic ?? synthetic orders, placeholder credential, never a PAN); product 1 now ships as ONE composed authorization firewall ??? `packages/agent-commerce/firewall.mjs` (AC-FW/1): the PRE-EXECUTION gate `authorizeRequest` (committed policy against the DECLARED request ?? consent byte-match ?? caller-pinned window ?? single-use replay consulted, never consumed) + the POST-EXECUTION review `reviewExecution` over the family's own verdict, no fifth engine; product 5 (cross-chain execution attestation CGXA/1) is the offline attestation surface ??? its on-chain broadcast legs **OWNER-GATED / NOT_PERFORMED** (no broadcast surface exists in the module); npm publication **EXECUTED (2026-11-18):** all 14 `@coreguard/*` packages from the release scope are published on npmjs.org (`@0.1.0`), and `@coreguard/agent-commerce` is additionally published at `0.1.3` (2026-11-22, publish run 45031522325; registry `latest` = `0.1.3`) (corrected `mcpName` `io.github.EslaM-X/coreguard-agent-commerce` and stdio bin). MCP Registry listing **ACTIVE:** `io.github.EslaM-X/coreguard-agent-commerce@0.1.3` (republished 2026-11-22; registry reports the version as active and `isLatest`). On-chain broadcast legs for product 5 remain **OWNER-GATED / NOT_PERFORMED** (no broadcast surface in module); external adoption **NOT_BUILT** | `docs/surface-status.json` (24 surfaces) ?? `docs/AGENT-COMMERCE-SECURITY-SPEC-V1.md` ??2/??3b/??8/??9 ?? `docs/EVIDENCE-MATRIX.md` agent-commerce section ?? `packages/agent-commerce/firewall.mjs` ?? `packages/agent-commerce/policy-context.mjs` ?? `test/integrations/agent-commerce-firewall.test.mjs` ?? `examples/agent-commerce-firewall/artifacts.json` ?? `packages/agent-commerce/attest.mjs` ?? `test/integrations/agent-commerce-attestation.test.mjs` ?? `test/integrations/agent-commerce-attack-battery.test.mjs` |
| Foundry contracts | **43 / 43 pass** | `forge test --match-path "test/contract/*"` (V2: 14 + EvidenceRegistryV3: 20 + 1 invariant suite carrying 5 live properties + 8 fuzz properties) |
| Adversarial corpus | **73 / 73 pass** | `npm run corpus && npm run benchmark` |
@@ -22,7 +22,7 @@ machine-measured, not estimated. Last verified: **2026-11-16**.
| Rust/WASM/independent parity | PASS | `test/independent-verifier/` |
| C verifier | PASS | `test/verifier-c/` (frozen reference, untouched) |
| Frozen evidence/canonical hashes | UNCHANGED | conformance suite `test/conformance/` |
-| Boundary audit (committed tree) | **1529 files, 0 violations** (+5 for the MCP 0.1.3 reliability surface (this push): `docs/agent-commerce-mcp-compatibility.md` ?? `docs/agent-commerce-mcp-security.md` ?? `docs/releases/0.1.3.md` ?? `examples/agent-commerce-mcp/README.md` ?? `examples/agent-commerce-mcp/run.mjs` ??? the three docs are fence-free prose, the example README's blocks are `text`, and the runnable example is referenced by command, so docsNode stays 139/83/32; re-measured against the committed tree; +2 for the pilot SOW and report form (this push): `docs/PILOT-SOW.md` · `docs/PILOT-REPORT-TEMPLATE.md` — both fence-free prose, so docsNode holds at 139/83/32; +3 arrived on main before this pin moved (#83 announcement note, #85 DDE SDK/API reference desk); +9 for the positioning and investment-readiness pack (this push): `COREGUARD-INVESTMENT-READINESS.md` ?? `docs/POSITIONING.md` ?? `docs/PRODUCT.md` ?? `docs/INVESTORS.md` ?? `docs/BUSINESS-MODEL.md` ?? `docs/PARTNERSHIPS.md` ?? `docs/TEAM.md` ?? `docs/SECURITY-REVIEWS.md` ?? `docs/EVIDENCE.md` ??? all fence-free prose, so docsNode holds at 139/83/32; +7 for the Salla Shop (Pi) pilot proposal package (this push): `docs/proposals/salla-shop-pi/README.md` ?? `TECHNICAL-PILOT-PROPOSAL-v1.0.md` (+ its `.ar.md`) ?? `MVP-SPEC-AND-TEST-PLAN.md` (+ its `.ar.md`) ?? `OUTREACH-DRAFTS.md` (+ its `.ar.md`) ??? all fence-free prose, so docsNode is unchanged; +2 from main since this branch opened (#76 published `docs/DOCS.html` ?? `docs/PARTNER.html`) - the audit counts the merged tree, so the pin moves with main; +5 for interop-demo/corpus-report/start-here (this push): `docs/START-HERE.md` ?? `docs/templates/AER1-CORPUS-RUN-REPORT-TEMPLATE.md` ?? `examples/agentbadge-receipt-seam/{README.md,run.mjs}` ?? `scripts/aer1-corpus-report.mjs` (+ docs-node contract/snapshot alignment); +2 for the anchor-layer vector (this push): `test/fixtures/var1-corpus-v1/anchor-unresolvable.json` · `test/integrations/var1-corpus-anchor-vector.test.mjs` — fence-free, so docsNode holds at 133/82/30; publication state for both vectors is kept in `docs/aer1-corpus-publication.json`+2 for the publication record and its guard (this push): `docs/aer1-corpus-publication.json` · `test/ci/corpus-publication-claim.test.js` — fence-free, so docsNode holds at 133/82/30; +2 for the CG-VECTOR/1 corpus vector (this push): `test/fixtures/var1-corpus-v1/present-consistent-nonconforming.json` · `test/integrations/var1-corpus-vector.test.mjs` — fence-free, so docsNode holds at 133/82/30; +3 for the public verify/numbers surfaces (2026-11-18 push): `scripts/public-numbers.mjs` · `docs/numbers.json` · `docs/NUMBERS.html` — all fence-free, so docsNode holds at 133/82/30; +2 for the luxe-pages identity merge/push (PR #65 follow-up fix, 2026-11-18): `docs/assets/coreguard-luxe.css` ?? `docs/assets/coreguard-luxe.js` (shared GitHub Pages assets); docsNode holds at 133/82/30; +4 for the npm-publication wave (2026-11-17 push): `packages/agent-commerce/package.json` · `packages/agent-commerce/bin/mcp.mjs` (stdio MCP bin wrapper) · `packages/agent-commerce/README.md` (its single `json` fence is MCP client configuration data, not a documented command) · `packages/agent-commerce/server.json` (MCP Registry server.json, schema 2025-12-11, validated against the live registry); +7 for the CG-TAS/1 trust-anchor wave (2026-11-17 push): `scripts/ladder/trust-anchor-set.mjs` ?? `scripts/ladder/provenance-fuzz.mjs` ?? `test/integrations/trust-anchor-set.test.mjs` ?? `test/integrations/provenance-fuzz.test.mjs` ?? `test/integrations/provenance-mutations.test.mjs` ?? `docs/AER1-TRUST-ANCHOR-SET-SPEC-V1-DRAFT.md` ?? `docs/owner-execution/REVIEWER-SELECTION-RUBRIC-2026-11-17.md` ??? the two docs are command-free prose, so docsNode holds at 133/82/30; +6 for the bilingual reviewer-deliverable contracts (2026-11-17 push): `test/ci/demo-script-contract.test.js` ?? `test/ci/bilingual-pairs.test.js` ?? `docs/i18n-pairs.json` ?? `docs/reviewer-demo-script-2026-09-ar.md` ?? `docs/sep-receipt-semantics-draft-2026-11-11-ar.md` ?? `docs/STELLAR-INTEGRATION-GUIDE-ar.md` ??? fence-free additions, docsNode unchanged; +4 for the adoption instruments (this push): `docs/loi/README.md` ?? `docs/loi/LOI-AER1-ZAMBO-2026-11-16.md` ?? `docs/loi/LOI-PILOT-STELLAR-2026-11-16.md` ?? `docs/AUDIT-READINESS-PACK-2026-11-16.md` ??? the command blocks are `text` fences, not `bash`, so docsNode holds at 133/81/30; +8 for the composed authorization firewall (this push): `packages/agent-commerce/firewall.mjs` ?? `packages/agent-commerce/policy-context.mjs` ?? `test/integrations/agent-commerce-firewall.test.mjs` ?? `examples/agent-commerce-firewall/{run.mjs,README.md,artifacts.json}` ?? `docs/agent-commerce-firewall-2026-11-16.md` ?? `docs/assets/badges/ci-1694-tests.svg` ??? all fence-free, so docsNode holds at 133/81/30; +25 for the agent-commerce family push: `docs/AGENT-COMMERCE-SECURITY-SPEC-V1.md` ?? `docs/agent-commerce-dashboard.html` ?? `docs/agent-commerce-console.html` ?? `docs/agent-commerce-funding-and-partnerships-2026-11-14.md` ?? the five dated instruments `docs/agent-commerce-openai-outreach-dossier-2026-11-15.md` ?? `docs/partner-outreach-messages-2026-11-15.md` ?? `docs/agentic-commerce-weekly-opportunities-2026-11-15.md` ?? `docs/agent-commerce-integration-guide-2026-11-15.md` ?? `docs/agent-commerce-tech-video-script-2026-11-15.md` (all fence-free so docsNode holds at 133/79/30) ?? `packages/agent-commerce/{index.mjs,index.d.ts,http.mjs,mcp.mjs,risk.mjs}` ?? 7 agent-commerce test files ?? 3 example files (`examples/agent-commerce-security-suite` README/artifacts/run.mjs) ?? `docs/assets/badges/ci-1673-tests.svg` (README pointed at it; the file was NEVER committed ??? the badge 404'd until the 2026-11-16 push shipped the count-matched `ci-1694-tests.svg` and re-pointed the href); then +1 for `docs/PILOT-KIT.md` (this push) - the two-page pilot offer: two-week scope, measurable success criteria, and the exact third-party-verifiable artifact, fence-free so docsNode holds at 133/79/30; +7 for the execution-trust layer: `examples/execution-trust/run.mjs` ?? `examples/execution-trust/verify-third-party.mjs` ?? `test/integrations/execution-trust-demo.test.mjs` ?? `docs/EXECUTION-TRUST-LAYER.md` ?? `docs/COMPETITIVE-LANDSCAPE.md` ?? `docs/SCF-BUILD-APPLICATION-V3.md` ?? `docs/DEVELOPER-QUICKSTART.md` ??? all fence-free, so docsNode holds at 133/79/30; +4 for the agentic-commerce approval-binding kit (this push): `examples/agent-commerce-approval-binding/run-demo.js` ?? `examples/agent-commerce-approval-binding/artifacts.json` ?? `examples/agent-commerce-approval-binding/README.md` ?? `docs/agent-commerce-moment-chatgpt-wallet-2026-11-14.md` ??? the offline demo (fence-free, docsNode unchanged) + the dated instrument (fence-free, zero test counts); +3 for the SCF RFP-2 submission kit (this push): `docs/SCF-46-RFP2-XDR-AUDIT-SUBMISSION-2026-11-13.md` ?? `scripts/scf-rfp2-sighting-repro.mjs` ?? `docs/evidence/scf-rfp2-sighting-repro.json` - the dated submission instrument (fence-free, docsNode unchanged) + its offline deterministic sighting-reproduction evidence (the js-stellar-sdk#1766 ordering-divergence class + 4 synthetic byte-round-trip-verified corpus entries, no key material committed); +4 for the PSAR/1 pre-sign receipt kit (this push): `packages/stellar/presign.mjs` ?? `test/integrations/stellar-presign.test.mjs` ?? `examples/stellar-presign/demo.mjs` ?? `docs/freighter-presign-integration-proposal-2026-11-12.md`; +1 for `docs/psar-security-review-2026-11-12.md` (the PSAR/1 critical self-review: the three security questions answered line-referenced with named boundaries); then +7 for the signed-envelope threat model, the replay vector + its generator, the field-tamper and replay tests, and the SCF readiness audit; +1 for `scripts/agent-gate-freighter-attest.mjs`; +4 for the browser demo ??? `examples/agent-gate-browser/serve.mjs`, `examples/agent-gate-browser/index.html`, `test/integrations/agent-gate-browser-demo.test.mjs`, `docs/assets/badges/ci-1539-tests.svg`; +2 for `scripts/agent-gate-testnet-sign.mjs` and `docs/evidence/agent-gate-testnet-signature.json`; the signed-envelope batch added `packages/agent-gate/adapters/stellar-xdr.mjs` ?? `packages/agent-gate/adapters/freighter.mjs` ?? `packages/agent-gate/verify-cli.mjs` ?? `packages/agent-gate/demo/cli-flow.mjs` ?? `scripts/agent-gate-bench.mjs` ?? `test/integrations/agent-gate-envelope.test.mjs` ?? `docs/assets/badges/ci-1539-tests.svg`; the untracked `examples/stellar-integration-pilot/` is NOT counted ??? it is not in `git ls-files`) (+1 parallel-session deliverable adopted in the reconciliation: `docs/deploy-stamp-id.txt` ??? the deploy stamp recorded by the owner's parallel Codebuff session; +4 owner-authorized deploy cycle: `docs/OWNER-DECISIONS-2026-11-08.md` ?? `scripts/stellar-soroban-authorized-deploy.mjs` ?? `test/integrations/stellar-soroban-authorized-deploy.test.mjs` ?? `docs/assets/badges/ci-1539-tests.svg`; +2 hardening-batch final reports, 2026-11-07 dated instruments SHA-pinned to `ea7e154`: `docs/FINAL-REPORT-2026-11-07-ar.md` ?? `docs/FINAL-REPORT-2026-11-07.md`; +3 ??? `docs/CLAIMS-TAXONOMY.md` ?? `test/ci/doc-numbers.test.js` ?? `docs/assets/badges/ci-1451-tests.svg` ?? then +2 CG-BDG/1 badge package: packages/badge/package.json ?? packages/badge/README.md; +1 funded-swap runner +1 measured executed artifact +1 CI badge plate +1 SCF-46 pack: `scripts/stellar-dex-swap-executed.mjs` ?? `docs/evidence/stellar-dex-swap-executed.json` ?? `docs/assets/badges/ci-1436-tests.svg` ?? `docs/SCF-46-INTEREST-FORM-READY-2026-11-06.md`; earlier: +1 CI badge docs/assets/badges/ci-1433-tests.svg; +2 soroban commit: scripts/stellar-soroban-commit-executed.mjs ?? docs/evidence/stellar-soroban-commit-executed.json; earlier: +7 executed-evidence artifacts & runners: scripts/stellar-agent-gate-executed.mjs ?? scripts/stellar-dex-gate-real.mjs ?? scripts/universal-shield-executed.mjs ?? test/integrations/execution-evidence-contract.test.mjs ?? docs/evidence/stellar-agent-gate-executed.json ?? docs/evidence/stellar-dex-gate-executed.json ?? docs/evidence/universal-dapp-shield-executed.json; from the trust-gate/legal-node/lab/bot surge: +1 docs/TRUST.md, +1 docs/VERIFY-BOT.md, +1 docs/LABS.md, +1 LICENSE.md; +1 test/fixtures/create-meta-v4.b64.txt from the CI-portability fix ??? the STELLAR/1 v4 create-result fixture moved IN-tree from a dev Temp path; +5 for the product-5 push (this push): `packages/agent-commerce/attest.mjs` ?? `test/integrations/agent-commerce-attestation.test.mjs` ?? `examples/agent-commerce-attestation/{run.mjs,README.md,artifacts.json}` (all fence-free so docsNode holds at 133/79/30)) | `npm run boundary:audit` ??? counted from `git ls-files` (the count a clean clone reproduces, not this dev disk), machine-pinned as `docs/state-snapshot.json#boundaryAudit` and re-measured by `test/ci/current-state.test.js` |
+| Boundary audit (committed tree) | **1530 files, 0 violations** (+5 for the MCP 0.1.3 reliability surface (this push): `docs/agent-commerce-mcp-compatibility.md` ?? `docs/agent-commerce-mcp-security.md` ?? `docs/releases/0.1.3.md` ?? `examples/agent-commerce-mcp/README.md` ?? `examples/agent-commerce-mcp/run.mjs` ??? the three docs are fence-free prose, the example README's blocks are `text`, and the runnable example is referenced by command, so docsNode stays 139/83/32; re-measured against the committed tree; +2 for the pilot SOW and report form (this push): `docs/PILOT-SOW.md` · `docs/PILOT-REPORT-TEMPLATE.md` — both fence-free prose, so docsNode holds at 139/83/32; +3 arrived on main before this pin moved (#83 announcement note, #85 DDE SDK/API reference desk); +9 for the positioning and investment-readiness pack (this push): `COREGUARD-INVESTMENT-READINESS.md` ?? `docs/POSITIONING.md` ?? `docs/PRODUCT.md` ?? `docs/INVESTORS.md` ?? `docs/BUSINESS-MODEL.md` ?? `docs/PARTNERSHIPS.md` ?? `docs/TEAM.md` ?? `docs/SECURITY-REVIEWS.md` ?? `docs/EVIDENCE.md` ??? all fence-free prose, so docsNode holds at 139/83/32; +7 for the Salla Shop (Pi) pilot proposal package (this push): `docs/proposals/salla-shop-pi/README.md` ?? `TECHNICAL-PILOT-PROPOSAL-v1.0.md` (+ its `.ar.md`) ?? `MVP-SPEC-AND-TEST-PLAN.md` (+ its `.ar.md`) ?? `OUTREACH-DRAFTS.md` (+ its `.ar.md`) ??? all fence-free prose, so docsNode is unchanged; +2 from main since this branch opened (#76 published `docs/DOCS.html` ?? `docs/PARTNER.html`) - the audit counts the merged tree, so the pin moves with main; +5 for interop-demo/corpus-report/start-here (this push): `docs/START-HERE.md` ?? `docs/templates/AER1-CORPUS-RUN-REPORT-TEMPLATE.md` ?? `examples/agentbadge-receipt-seam/{README.md,run.mjs}` ?? `scripts/aer1-corpus-report.mjs` (+ docs-node contract/snapshot alignment); +2 for the anchor-layer vector (this push): `test/fixtures/var1-corpus-v1/anchor-unresolvable.json` · `test/integrations/var1-corpus-anchor-vector.test.mjs` — fence-free, so docsNode holds at 133/82/30; publication state for both vectors is kept in `docs/aer1-corpus-publication.json`+2 for the publication record and its guard (this push): `docs/aer1-corpus-publication.json` · `test/ci/corpus-publication-claim.test.js` — fence-free, so docsNode holds at 133/82/30; +2 for the CG-VECTOR/1 corpus vector (this push): `test/fixtures/var1-corpus-v1/present-consistent-nonconforming.json` · `test/integrations/var1-corpus-vector.test.mjs` — fence-free, so docsNode holds at 133/82/30; +3 for the public verify/numbers surfaces (2026-11-18 push): `scripts/public-numbers.mjs` · `docs/numbers.json` · `docs/NUMBERS.html` — all fence-free, so docsNode holds at 133/82/30; +2 for the luxe-pages identity merge/push (PR #65 follow-up fix, 2026-11-18): `docs/assets/coreguard-luxe.css` ?? `docs/assets/coreguard-luxe.js` (shared GitHub Pages assets); docsNode holds at 133/82/30; +4 for the npm-publication wave (2026-11-17 push): `packages/agent-commerce/package.json` · `packages/agent-commerce/bin/mcp.mjs` (stdio MCP bin wrapper) · `packages/agent-commerce/README.md` (its single `json` fence is MCP client configuration data, not a documented command) · `packages/agent-commerce/server.json` (MCP Registry server.json, schema 2025-12-11, validated against the live registry); +7 for the CG-TAS/1 trust-anchor wave (2026-11-17 push): `scripts/ladder/trust-anchor-set.mjs` ?? `scripts/ladder/provenance-fuzz.mjs` ?? `test/integrations/trust-anchor-set.test.mjs` ?? `test/integrations/provenance-fuzz.test.mjs` ?? `test/integrations/provenance-mutations.test.mjs` ?? `docs/AER1-TRUST-ANCHOR-SET-SPEC-V1-DRAFT.md` ?? `docs/owner-execution/REVIEWER-SELECTION-RUBRIC-2026-11-17.md` ??? the two docs are command-free prose, so docsNode holds at 133/82/30; +6 for the bilingual reviewer-deliverable contracts (2026-11-17 push): `test/ci/demo-script-contract.test.js` ?? `test/ci/bilingual-pairs.test.js` ?? `docs/i18n-pairs.json` ?? `docs/reviewer-demo-script-2026-09-ar.md` ?? `docs/sep-receipt-semantics-draft-2026-11-11-ar.md` ?? `docs/STELLAR-INTEGRATION-GUIDE-ar.md` ??? fence-free additions, docsNode unchanged; +4 for the adoption instruments (this push): `docs/loi/README.md` ?? `docs/loi/LOI-AER1-ZAMBO-2026-11-16.md` ?? `docs/loi/LOI-PILOT-STELLAR-2026-11-16.md` ?? `docs/AUDIT-READINESS-PACK-2026-11-16.md` ??? the command blocks are `text` fences, not `bash`, so docsNode holds at 133/81/30; +8 for the composed authorization firewall (this push): `packages/agent-commerce/firewall.mjs` ?? `packages/agent-commerce/policy-context.mjs` ?? `test/integrations/agent-commerce-firewall.test.mjs` ?? `examples/agent-commerce-firewall/{run.mjs,README.md,artifacts.json}` ?? `docs/agent-commerce-firewall-2026-11-16.md` ?? `docs/assets/badges/ci-1694-tests.svg` ??? all fence-free, so docsNode holds at 133/81/30; +25 for the agent-commerce family push: `docs/AGENT-COMMERCE-SECURITY-SPEC-V1.md` ?? `docs/agent-commerce-dashboard.html` ?? `docs/agent-commerce-console.html` ?? `docs/agent-commerce-funding-and-partnerships-2026-11-14.md` ?? the five dated instruments `docs/agent-commerce-openai-outreach-dossier-2026-11-15.md` ?? `docs/partner-outreach-messages-2026-11-15.md` ?? `docs/agentic-commerce-weekly-opportunities-2026-11-15.md` ?? `docs/agent-commerce-integration-guide-2026-11-15.md` ?? `docs/agent-commerce-tech-video-script-2026-11-15.md` (all fence-free so docsNode holds at 133/79/30) ?? `packages/agent-commerce/{index.mjs,index.d.ts,http.mjs,mcp.mjs,risk.mjs}` ?? 7 agent-commerce test files ?? 3 example files (`examples/agent-commerce-security-suite` README/artifacts/run.mjs) ?? `docs/assets/badges/ci-1673-tests.svg` (README pointed at it; the file was NEVER committed ??? the badge 404'd until the 2026-11-16 push shipped the count-matched `ci-1694-tests.svg` and re-pointed the href); then +1 for `docs/PILOT-KIT.md` (this push) - the two-page pilot offer: two-week scope, measurable success criteria, and the exact third-party-verifiable artifact, fence-free so docsNode holds at 133/79/30; +7 for the execution-trust layer: `examples/execution-trust/run.mjs` ?? `examples/execution-trust/verify-third-party.mjs` ?? `test/integrations/execution-trust-demo.test.mjs` ?? `docs/EXECUTION-TRUST-LAYER.md` ?? `docs/COMPETITIVE-LANDSCAPE.md` ?? `docs/SCF-BUILD-APPLICATION-V3.md` ?? `docs/DEVELOPER-QUICKSTART.md` ??? all fence-free, so docsNode holds at 133/79/30; +4 for the agentic-commerce approval-binding kit (this push): `examples/agent-commerce-approval-binding/run-demo.js` ?? `examples/agent-commerce-approval-binding/artifacts.json` ?? `examples/agent-commerce-approval-binding/README.md` ?? `docs/agent-commerce-moment-chatgpt-wallet-2026-11-14.md` ??? the offline demo (fence-free, docsNode unchanged) + the dated instrument (fence-free, zero test counts); +3 for the SCF RFP-2 submission kit (this push): `docs/SCF-46-RFP2-XDR-AUDIT-SUBMISSION-2026-11-13.md` ?? `scripts/scf-rfp2-sighting-repro.mjs` ?? `docs/evidence/scf-rfp2-sighting-repro.json` - the dated submission instrument (fence-free, docsNode unchanged) + its offline deterministic sighting-reproduction evidence (the js-stellar-sdk#1766 ordering-divergence class + 4 synthetic byte-round-trip-verified corpus entries, no key material committed); +4 for the PSAR/1 pre-sign receipt kit (this push): `packages/stellar/presign.mjs` ?? `test/integrations/stellar-presign.test.mjs` ?? `examples/stellar-presign/demo.mjs` ?? `docs/freighter-presign-integration-proposal-2026-11-12.md`; +1 for `docs/psar-security-review-2026-11-12.md` (the PSAR/1 critical self-review: the three security questions answered line-referenced with named boundaries); then +7 for the signed-envelope threat model, the replay vector + its generator, the field-tamper and replay tests, and the SCF readiness audit; +1 for `scripts/agent-gate-freighter-attest.mjs`; +4 for the browser demo ??? `examples/agent-gate-browser/serve.mjs`, `examples/agent-gate-browser/index.html`, `test/integrations/agent-gate-browser-demo.test.mjs`, `docs/assets/badges/ci-1539-tests.svg`; +2 for `scripts/agent-gate-testnet-sign.mjs` and `docs/evidence/agent-gate-testnet-signature.json`; the signed-envelope batch added `packages/agent-gate/adapters/stellar-xdr.mjs` ?? `packages/agent-gate/adapters/freighter.mjs` ?? `packages/agent-gate/verify-cli.mjs` ?? `packages/agent-gate/demo/cli-flow.mjs` ?? `scripts/agent-gate-bench.mjs` ?? `test/integrations/agent-gate-envelope.test.mjs` ?? `docs/assets/badges/ci-1539-tests.svg`; the untracked `examples/stellar-integration-pilot/` is NOT counted ??? it is not in `git ls-files`) (+1 parallel-session deliverable adopted in the reconciliation: `docs/deploy-stamp-id.txt` ??? the deploy stamp recorded by the owner's parallel Codebuff session; +4 owner-authorized deploy cycle: `docs/OWNER-DECISIONS-2026-11-08.md` ?? `scripts/stellar-soroban-authorized-deploy.mjs` ?? `test/integrations/stellar-soroban-authorized-deploy.test.mjs` ?? `docs/assets/badges/ci-1539-tests.svg`; +2 hardening-batch final reports, 2026-11-07 dated instruments SHA-pinned to `ea7e154`: `docs/FINAL-REPORT-2026-11-07-ar.md` ?? `docs/FINAL-REPORT-2026-11-07.md`; +3 ??? `docs/CLAIMS-TAXONOMY.md` ?? `test/ci/doc-numbers.test.js` ?? `docs/assets/badges/ci-1451-tests.svg` ?? then +2 CG-BDG/1 badge package: packages/badge/package.json ?? packages/badge/README.md; +1 funded-swap runner +1 measured executed artifact +1 CI badge plate +1 SCF-46 pack: `scripts/stellar-dex-swap-executed.mjs` ?? `docs/evidence/stellar-dex-swap-executed.json` ?? `docs/assets/badges/ci-1436-tests.svg` ?? `docs/SCF-46-INTEREST-FORM-READY-2026-11-06.md`; earlier: +1 CI badge docs/assets/badges/ci-1433-tests.svg; +2 soroban commit: scripts/stellar-soroban-commit-executed.mjs ?? docs/evidence/stellar-soroban-commit-executed.json; earlier: +7 executed-evidence artifacts & runners: scripts/stellar-agent-gate-executed.mjs ?? scripts/stellar-dex-gate-real.mjs ?? scripts/universal-shield-executed.mjs ?? test/integrations/execution-evidence-contract.test.mjs ?? docs/evidence/stellar-agent-gate-executed.json ?? docs/evidence/stellar-dex-gate-executed.json ?? docs/evidence/universal-dapp-shield-executed.json; from the trust-gate/legal-node/lab/bot surge: +1 docs/TRUST.md, +1 docs/VERIFY-BOT.md, +1 docs/LABS.md, +1 LICENSE.md; +1 test/fixtures/create-meta-v4.b64.txt from the CI-portability fix ??? the STELLAR/1 v4 create-result fixture moved IN-tree from a dev Temp path; +5 for the product-5 push (this push): `packages/agent-commerce/attest.mjs` ?? `test/integrations/agent-commerce-attestation.test.mjs` ?? `examples/agent-commerce-attestation/{run.mjs,README.md,artifacts.json}` (all fence-free so docsNode holds at 133/79/30)) | `npm run boundary:audit` ??? counted from `git ls-files` (the count a clean clone reproduces, not this dev disk), machine-pinned as `docs/state-snapshot.json#boundaryAudit` and re-measured by `test/ci/current-state.test.js` |
| Docs-node contract | **140 executed ?? 89 skip-listed ?? 33 docs covered** (+6 executed ?? +1 skip-listed ?? +2 docs covered for interop-demo/corpus-report/start-here (this push): `docs/START-HERE.md` and `docs/templates/AER1-CORPUS-RUN-REPORT-TEMPLATE.md` now run in the docs-node sandbox (AER-1 corpus report via vendored fixture placeholders, execution-trust/var1-pilot-kit/agentbadge-seam staged); +0 for the CG-TAS/1 wave (2026-11-17 push): the frozen spec `docs/AER1-TRUST-ANCHOR-SET-SPEC-V1-DRAFT.md` and the owner instrument `docs/owner-execution/REVIEWER-SELECTION-RUBRIC-2026-11-17.md` are command-free prose (0 documented commands), docsNode unchanged; (+0 for the composed firewall docs (this push): the dated instrument `docs/agent-commerce-firewall-2026-11-16.md`, the example README `examples/agent-commerce-firewall/README.md` and spec ??7 item 11 are fence-free ??? 0 documented commands, docsNode unchanged; +1 executed ?? +1 covered doc: `docs/freighter-presign-integration-proposal-2026-11-12.md` - its single `npm run stellar:presign` fence executes the offline PSAR arc in the sandbox; +2 executed ?? +1 covered doc: CONTRIBUTING.md joins the covered-docs list - its claim-verification section adds the two documented verify-claims commands (`--manifest-check`, `--claim CG-BTY-001 --pr-url .../pull/51`) (PR #52); +6 executed ?? +1 covered doc: the Stellar DEX integration example (PR #51) - its bilingual README documents the three example commands in both the EN and the AR section, and the example README joins the covered-docs list; +2 executed from the signed-envelope documentation, where the gate spec's own verification arms entered the fence; +5 executed from the README's Stellar mainnet section: all five offline Stellar re-derivation arms joined the verify fence ??? `node scripts/stellar-soroban-commit-executed.mjs --verify` ?? `node scripts/stellar-dex-swap-executed.mjs --verify` ?? `node scripts/stellar-dex-gate-real.mjs --verify` ?? `node scripts/stellar-agent-gate-executed.mjs --verify` ?? `node scripts/universal-shield-executed.mjs --verify`; earlier: +4 executed/+3 skips from the trust-gate surge: `docs/TRUST.md` contributes the independent-verify ladder arms and `docs/LABS.md` the evidence/dispute package arms, each with named skips; `docs/VERIFY-BOT.md` and `LICENSE.md` are covered fence-free; earlier: (+2 executed: the README Badge Shield's `node scripts/badge-wall.mjs --audit` / regen arm re-derives all 7 plate digests offline; skips unchanged: the live Stellar-testnet demo (`npm run stellar:demo` / `examples/stellar-verify/demo.mjs`) is external-network, owned by `examples/stellar-verify/demo.mjs`, not a docs contract; existing: `docs/PRODUCTS.md` skip-listed as text catalog; the two reader pages `EXECUTIVE-SUMMARY.md`/`HOW-TO-EVALUATE.md` each contribute an executed `node demo.mjs`/`claims:audit`/`boundary:audit` arm and skip-listed `npm ci`/`npm test` = 2+4 skips) | `test/ci/docs-node-contract.test.js` ??? every documented `node`/`npm` command is EXECUTED or skip-listed with a named reason; pinned as `docs/state-snapshot.json#docsNode` |
| Claim registry CG-CL/1 | **31 claims ?? 19 VERIFIED ?? 12 not ?? 0 violations** | `npm run claims:audit` ??? `docs/claims-registry.json`; 11 of 31 depend on an external outcome and sit at GATED/UNKNOWN/NOT_PERFORMED. `VERIFIED` is unreachable without evidence, and the audit verdict travels INSIDE the artifact |
| Badge system CG-BDG/1 | **2 specimens ?? issuerCount 0 (third-party) ?? 1 first-party self-issuance CG-CS/1 SELF DF6E20C032A8 ?? nothing issued to any counterparty** | `npm run badge:verify` ??? `verifyBadge()` re-derives every digest from its record byte for byte, so a hand-edited SVG fails; `brand` is non-enumerable so a specimen cannot be laundered into an issued badge; issuance is an owner decision (`npm run badge --issue --record --i-am-the-owner-and-competent-to-issue` mints ISSUED artwork only from a committed 6/6 CG-CS/1 record and logs it in `docs/badge-issuances.json` ??? nothing auto-issues) |
@@ -106,34 +106,34 @@ machine-measured, not estimated. Last verified: **2026-11-16**.
| **v0.5.21 (2026-09-26, this session)** | **A???J closed with four honest-default decisions, and the release gate caught the gate** ??? the roadmap's remaining rows were prose: a claim ceiling nobody could audit, a badge nobody could verify, a partner journey nobody could replay, and a release gate that had never been run. Each is now a module, and each ships at its honest default. **(1) CG-CL/1 claim registry** (`npm run claims`): 28 claims derived from committed sources, six statuses, `UNKNOWN` allowed without evidence but `VERIFIED` never ??? 11 of 28 depend on an external outcome and sit at `GATED`/`UNKNOWN`/`NOT_PERFORMED`; the audit result travels *inside* the artifact so a reader of the committed file can see it was checked. **(2) CG-BDG/1 badge system** (`npm run badge:verify`): the artwork is the proof ??? `verifyBadge()` re-derives every digest from its record and compares byte for byte, so a single hand-edit is caught; `brand` is non-enumerable, so a specimen cannot be copied into an issued badge; two specimens ship (6/6 and 2/6) and `issuerCount` is 0. **(3) CG-PJ/1 partner journey** (`npm run partner:journey`): ten legs over one bundle; a clean run is `MATCH`, never `VERIFIED`, because L2 is the weakest link and inflating it would inflate the evidence. **(4) CG-RG/1 release gate** (`npm run release:gate`): 18 legs, and its own source is audited for network, credentials, and external-outcome dependencies on every invocation. **The gate then found four defects in itself, which is the part worth recording.** (a) *Five legs reported `Command failed` with zero output* ??? `npm.cmd` is a batch shim modern Node refuses to spawn without a shell, so `spawnSync` returned a null status and no error; the child now resolves npm's real JS entry and prints any spawn error. (b) *Four legs reported PASS on an empty denominator* ??? the counter read `c.pass` while the packages use `[name, boolean]` tuples, so webhook printed `0/8 invariants` **and passed**; cases are now tallied by an explicit shape reader and an unreadable case is a FAILURE. (c) *Three legs passed as "module loaded"* ??? proving nothing at all; a module that exposes no self-check now FAILs, and pure libraries are proven by naming the committed tests that import them. (d) *The gate's own audit matched its own regex* ??? the banned credential pattern written as a contiguous literal matches the line defining it, so the gate failed itself forever; the pattern is assembled from fragments. Rule: **a gate that can report green with no assertion behind it is worse than no gate, because it gets trusted** ??? all four classes are now locked by tests. Also this session: `docs/owner-decisions???` ??9 rewritten from "sign-off still required" to the three decisions *closed as held* (prices LOCKED ?? named integrator NONE ?? badge NOT ISSUED), with `CL-BUILD-ADOPTION-INDEPENDENT` mechanically failing the build if any of the three is ever marked `VERIFIED` while held; the control plane now reads the claim ceiling, the badge registry, and the committed gate verdict as committed sources; `docs/badge-system-2026-09-26.md` (Arabic-first + English mirror) documents what a badge never means. `npm test` ??? **1153/1153** (run-tests enforced, +58 over the previous cycle); boundary audit **817 files (committed tree), 0 violations**; release gate **18/18 legs, independence PASS**; docs-node **81 ?? 53 ?? 18**. One honesty defect caught in the act of shipping: a blanket number-sync `1095 ??? 1148` replace also rewrote the **v0.5.20 changelog row**, which would have made a past release report a test count it never measured ??? history is the one thing a sync script must never touch |
-| **v0.5.22 (2026-09-26, this session)** | **The follow-up pass: every remaining stale number, and the gate's self-audit in CI** ??? shipping A???J left four surfaces still pointing at older measurements, which is the exact failure mode the snapshot exists to prevent, and one real gap: nothing ran the release gate on a push. **(1) Five stale figures found and corrected**: `docs/STATUS.md` ??current-state still read `1148/1148` (the earlier sync pass matched `1148/1148` but not the spaced `1148 / 1148` form, so it sailed through); `docs/owner-decisions??? ??1 still claimed `1061 pass` and `796 files`; `docs/phase-b-court-neutral-expansion??? still claimed `1061`; and `AGENTS.md` still carried the ancient `919 ??? 16 ??? 919 ??? 649` reviewer-packet line that its own "Files That Change Together" rule says tracks the latest measured count. Every one of them now reads from the snapshot. **(2) The gate now runs its own audit in CI** ??? `npm run release:gate:independence` is a step in the CI engine job, so the check that the gate reaches no network, no credential, and no external outcome happens on **every push**, not only when someone remembers to run it. The full 18-leg gate is deliberately not in CI: its `tests` leg re-runs the suite CI already runs, so adding it would double a ~9-minute job to prove nothing new. **(3) README gained a "Claim ceiling, badges & the release gate" section** with the seven honesty commands and the four rules the machine enforces ??? because the reviewer's first document was the one place the A???J surfaces were still invisible. **(4) `docs/verification-and-integration-platform-2026-09-26.md` ??15** documents all five honesty surfaces (CG-CL/1, CG-BDG/1, CG-PJ/1, CG-IR/1, CG-RG/1) with their artifacts, so the canonical map no longer stops at ??12 and leaves the gate undocumented. **The freeze record was checked and needed no re-pin**: `README.md` in `freeze-record-4.2.6.json` resolves to the *platform* README (record paths are relative to the record's own directory), and none of the 49 pins ??? including the three pinned bilingual dashboards ??? is a file this cycle touched; `validate-freeze` still reports **49/49 MATCH**. Docs-node rose **81 ??? 94 executed** with 19 docs covered (the new README commands plus `docs/badge-system-2026-09-26.md`), and the count moved with the snapshot in the same push, which is the whole point of the pin. `npm test` ??? **1153/1153** (unchanged: no test added this cycle); boundary audit **1529 files, 0 violations**; docs-node **94 ?? 53 ?? 19**; release gate **18/18, independence PASS**. The v0.5.21 row is left reporting `81 ?? 53 ?? 18` on purpose ??? that is what `823cd72` actually measured, and a changelog row is a historical fact, not a live counter |
+| **v0.5.22 (2026-09-26, this session)** | **The follow-up pass: every remaining stale number, and the gate's self-audit in CI** ??? shipping A???J left four surfaces still pointing at older measurements, which is the exact failure mode the snapshot exists to prevent, and one real gap: nothing ran the release gate on a push. **(1) Five stale figures found and corrected**: `docs/STATUS.md` ??current-state still read `1148/1148` (the earlier sync pass matched `1148/1148` but not the spaced `1148 / 1148` form, so it sailed through); `docs/owner-decisions??? ??1 still claimed `1061 pass` and `796 files`; `docs/phase-b-court-neutral-expansion??? still claimed `1061`; and `AGENTS.md` still carried the ancient `919 ??? 16 ??? 919 ??? 649` reviewer-packet line that its own "Files That Change Together" rule says tracks the latest measured count. Every one of them now reads from the snapshot. **(2) The gate now runs its own audit in CI** ??? `npm run release:gate:independence` is a step in the CI engine job, so the check that the gate reaches no network, no credential, and no external outcome happens on **every push**, not only when someone remembers to run it. The full 18-leg gate is deliberately not in CI: its `tests` leg re-runs the suite CI already runs, so adding it would double a ~9-minute job to prove nothing new. **(3) README gained a "Claim ceiling, badges & the release gate" section** with the seven honesty commands and the four rules the machine enforces ??? because the reviewer's first document was the one place the A???J surfaces were still invisible. **(4) `docs/verification-and-integration-platform-2026-09-26.md` ??15** documents all five honesty surfaces (CG-CL/1, CG-BDG/1, CG-PJ/1, CG-IR/1, CG-RG/1) with their artifacts, so the canonical map no longer stops at ??12 and leaves the gate undocumented. **The freeze record was checked and needed no re-pin**: `README.md` in `freeze-record-4.2.6.json` resolves to the *platform* README (record paths are relative to the record's own directory), and none of the 49 pins ??? including the three pinned bilingual dashboards ??? is a file this cycle touched; `validate-freeze` still reports **49/49 MATCH**. Docs-node rose **81 ??? 94 executed** with 19 docs covered (the new README commands plus `docs/badge-system-2026-09-26.md`), and the count moved with the snapshot in the same push, which is the whole point of the pin. `npm test` ??? **1153/1153** (unchanged: no test added this cycle); boundary audit **1530 files, 0 violations**; docs-node **94 ?? 53 ?? 19**; release gate **18/18, independence PASS**. The v0.5.21 row is left reporting `81 ?? 53 ?? 18` on purpose ??? that is what `823cd72` actually measured, and a changelog row is a historical fact, not a live counter |
-| **v0.5.23 (2026-09-26, this session)** | **The cycle's own regression: a documented command is an EXECUTED command** ??? v0.5.22 shipped the A???J commands in the README and went green on five of six workflows; the sixth, Node 18, came back `SIGTERM` after 8m25s with **no assertion, no test name and no output in the log**. Cause: the docs-node contract EXECUTES every documented command, and the new README block listed `npm run release:gate` ??? whose `tests` leg **is** `npm test`, which is the suite the contract itself lives inside. So documenting the gate made the contract spawn a nested full suite that re-entered the contract, recursively, until the runner was killed. **A timeout is the worst shape this can take**: `tests` leg `npm test` ?? no failing assertion ?? only an exit code, and exit-code-only triage on a killed process points at nothing. **(1) The fix is a SKIP entry with a named reason** ??? the gate is owned by the CI Engine leg's `release:gate:independence` step (v0.5.22) and by `pre-push-check.mjs`, and `npm run release:gate:independence` stays in the executed set because it is fast and self-contained. **(2) Two guards, because the obvious one is wrong twice over.** First, *body-only detection is vacuous*: `release:gate`'s package.json body is `node scripts/release-gate.mjs`, which names no test command at all ??? the `tests` leg is a string INSIDE that module, so a body-only heuristic classifies the bomb safe and the guard passes on it. The indirect half is now DECLARED and separately asserted to really reach the suite, so the declaration cannot rot into naming something harmless. Second, *mention is not invocation*: classifying a script by searching its whole source for `npm test` flags `claims`, `claims:audit`, `publish:check` and `integration:states` ??? all of which merely MENTION the suite in a comment or a usage string. A guard that cries wolf on safe commands gets ignored, and then ignored for the real one, so the mechanical half reads only package.json bodies and a test pins those four as NOT runners. **(3) The guard then failed a third way, and only the negative control found it** ??? it read files without normalizing CRLF, so `extractBashFences` (which matches a `bash` + newline) saw ZERO fences in every CRLF-checked-out file. The guard was therefore green on the bomb in this Windows checkout and would have fired on Linux CI ??? a check whose behaviour depends on the checkout's line endings is [C3] in miniature. **The rule now written into AGENTS.md as [C31]: a guard is proven by removing the thing it guards, not by passing.** All three defects presented as a green guard; every one surfaced from deleting the SKIP entry and expecting red, then auditing which scripts the classifier actually flagged. Docs-node moves **94 ??? 93 executed ?? 53 ??? 54 skip-listed** ('gate' to the skip table, 2 guard tests added), and the v0.5.22 row keeps its 94/53/19 because that is what `83f851e` measured. `npm test` ??? **1155/1155** (+2 guard tests); boundary audit **1529 files, 0 violations**; release gate **18/18, independence PASS**; prepush **6/6**. The honest reading of this cycle: the A???J work was correct and the *documentation* of it broke CI, which is the mirror image of the lesson the roadmap was built to teach ??? a claim is only worth what the machine can re-check, and a documented command is a claim the machine will now execute. |
-| **v0.5.24 (2026-09-26, this session)** | **Three real defects found by auditing instead of assuming, and the reviewer's first document finally machine-checked** ??? the roadmap was closed and the suite green, so this pass stopped adding surfaces and went looking for what was still wrong. Three things were. **(1) The partner journey contradicted the committed artifact.** CG-PJ/1's findings leg reported **7 OPEN** while `docs/risk-findings.json` said **4**: the leg called `deriveFindings({ registry })`, and that function takes every committed source as an INPUT and defaults a missing one to `{}` ??? the absent snapshot silently collapsed RF-006/007/008 (boundary audit, suite pin, docs-node/harness) to OPEN. The module's own `build()` reads all three committed sources exactly as the CLI does; the leg now goes through it. Worth naming what the bug did: it overstated risk, which is the safe direction, and it was still a defect ??? a reviewer-facing number may not disagree with the recorded one in either direction. Nothing caught it: the artifact is pinned to `build()` by `ladder-v03`, but the journey was never pinned to the artifact, which is the gap a per-file invariant always leaves. **(2) `docs/STATUS.md` had ZERO machine checks.** It calls itself the authoritative source of truth, states that every metric in it is machine-measured, and is the first document a reviewer opens ??? and all thirteen of its rows were tests and contracts, with the entire claim/badge/gate layer absent. It now carries ten honesty rows (boundary audit ?? docs-node ?? CG-CL/1 ?? CG-BDG/1 ?? CG-PJ/1 ?? CG-IR/1 ?? CG-RF/1 ?? CG-RP/1 ?? CG-RG/1 ?? CG-CR/1), each reading its value from the committed artifact. **(3) The decisions record numbered its sections 1,2,3,4,5,6,7,9,8** ??? ??? fixed by moving the '9' block into place, with no renumbering, so every existing '??9' citation stays valid. **The guard for (2) failed three times before it worked, which is the real content of this row.** The first draft asserted `table.includes(String(claims.length))` and could not fail: "28" occurs incidentally in that table and "0" occurs in half of it, so corrupting the claims total to 27 or revenue to $4,200 stayed green; the changelog guard failed identically, because the document still CONTAINED "v0.5.22" in the next row's prose after the row itself was deleted. **A substring is not a location.** Each measurement is now bound to the row whose label names it, that row must state the artifact's value, and exactly one such row may exist so a stale duplicate cannot hide beside a fresh one. Twelve negative controls ?? corrupt a count, delete a row, duplicate a row, cite a fictional npm script, plant a non-$0 figure, drop a changelog row ??? now each turn the suite red, and the battery prints "mutation applied" separately from "bit" because a control whose mutation never landed is as worthless as a guard that cannot fail. Two of the twelve did not bite on the first run. The row-scoped rewrite then caught a real omission in the row I had just written (the gate row omitted its 18 self-audited legs) **on its first execution** ??? the guard found the author's error, not only a future regression. Filed as AGENTS.md [C32], the third face of [C30]/[C31]. `npm test` ??? **1162/1162** (+6: 5 STATUS-truth, 1 journey/artifact agreement, the latter proven by reverting the fix and watching it report `actual: 7, expected: 4`); boundary audit **1529 files, 0 violations**; docs-node **93 ?? 54 ?? 19**; release gate **18/18, independence PASS**; prepush **6/6**. The v0.5.21??v0.5.23 rows keep 1153/1155 and their own docs-node figures ??? they record what each commit measured, and the new test enforces that exemption by requiring each to survive as a ROW rather than as a prose mention. |
-| **v0.5.25 (2026-09-26, this session)** | **Two things the tree was owed: a lost branch in the L1 rule, and the AIE-1 incident surface, finished** ??? **(1) The L1 chain rule was TRUE and INCOMPLETE in all four places it is stated.** The machine has three outcomes ?? no authority `UNKNOWN/NO_CHAIN_EVIDENCE` ?? authority asked and does not know the hash `MISMATCH/TX_NOT_FOUND` ?? evidence too malformed to ask with `UNKNOWN/EVIDENCE_INCONSISTENT` ??? and every reviewer-facing surface compressed that to two ("a format-valid receipt nobody confirmed is `UNKNOWN`", under a README heading that reads "four rules **the machine enforces, not the prose**"). Every compressed version was true, which is exactly why it survived review: the branch it dropped is `MISMATCH`, the strongest signal the system produces, so the summary filed a real contradiction under its weakest verdict. The rule now hinges on the only question that actually separates them ??? **was anyone asked** ??? in `README.md`, ??1 and ??14 rule 2 and ??15.4 of the platform doc, ??3 of the decisions record, and the L0-L4 bullet. `test/ci/receipt-semantics-doc.test.js` derives the three codes from `verifyReceipt()` at run time, so the binding is to behaviour and not to a copy of the prose. Its 6 negative controls include a CODE-side mutation (flip the asked-and-contradicted return to `UNKNOWN`), because a doc binding that only reads docs cannot tell a correct rule from a stale one. Filed as AGENTS.md [C33]. **(2) AIE-1, the agent-incident verification surface, was mid-flight in the tree** and is now closed: `docs/agent-incident-evidence.md` (one endpoint, one evidence bundle, one report schema, replayable from a cold clone) with `test/delivery/agent-incident-evidence.test.js` (+4 ?? the spec's fences are registered in the doc-curl contract, its quoted verdicts match the live engine byte-for-byte, replay is byte-identical across two runs, and a tamper replay names the flipped byte), cross-linked from `INTEGRATION.md`, `docs/delivery-dispute-boundary.md` and the Arabic/EN `docs/index.html`. Two housekeeping defects were also closed with it: 9 `.tmp-aie-*` scratch dumps (a fixture, two `.b64` payloads, a server log) had been swept into the index by a bulk `git add -A` and are now untracked behind a `.tmp-*` ignore rule ??? a scratch output is not a deliverable ??? and the docs-node triple moved 93??54??19 ??? 94??55??20 as the new doc's commands execute. **One process note worth keeping**: mid-cycle the release gate recorded a legitimate `GATE_FAIL` (its `tests` leg was red on snapshot drift), and that record then deadlocked the suite ??? the gate's `tests` leg runs `npm test`, which asserts the table states what the artifact says, so a failing artifact keeps its own suite red. It is broken the honest way ??? restore the last real record, get the suite green, then re-run the gate for a fresh one ??? and the re-run reproduced the committed bytes exactly, which is the timestamp-free contract doing its job. `npm test` ??? **1171/1171** (+9: 5 receipt-semantics, 4 AIE-1); boundary audit **1529 files, 0 violations**; docs-node **94 ?? 55 ?? 20**; release gate **18/18, independence PASS**; prepush **6/6**. v0.5.21??v0.5.24 rows keep their own counts ??? they record what each commit measured |
+| **v0.5.23 (2026-09-26, this session)** | **The cycle's own regression: a documented command is an EXECUTED command** ??? v0.5.22 shipped the A???J commands in the README and went green on five of six workflows; the sixth, Node 18, came back `SIGTERM` after 8m25s with **no assertion, no test name and no output in the log**. Cause: the docs-node contract EXECUTES every documented command, and the new README block listed `npm run release:gate` ??? whose `tests` leg **is** `npm test`, which is the suite the contract itself lives inside. So documenting the gate made the contract spawn a nested full suite that re-entered the contract, recursively, until the runner was killed. **A timeout is the worst shape this can take**: `tests` leg `npm test` ?? no failing assertion ?? only an exit code, and exit-code-only triage on a killed process points at nothing. **(1) The fix is a SKIP entry with a named reason** ??? the gate is owned by the CI Engine leg's `release:gate:independence` step (v0.5.22) and by `pre-push-check.mjs`, and `npm run release:gate:independence` stays in the executed set because it is fast and self-contained. **(2) Two guards, because the obvious one is wrong twice over.** First, *body-only detection is vacuous*: `release:gate`'s package.json body is `node scripts/release-gate.mjs`, which names no test command at all ??? the `tests` leg is a string INSIDE that module, so a body-only heuristic classifies the bomb safe and the guard passes on it. The indirect half is now DECLARED and separately asserted to really reach the suite, so the declaration cannot rot into naming something harmless. Second, *mention is not invocation*: classifying a script by searching its whole source for `npm test` flags `claims`, `claims:audit`, `publish:check` and `integration:states` ??? all of which merely MENTION the suite in a comment or a usage string. A guard that cries wolf on safe commands gets ignored, and then ignored for the real one, so the mechanical half reads only package.json bodies and a test pins those four as NOT runners. **(3) The guard then failed a third way, and only the negative control found it** ??? it read files without normalizing CRLF, so `extractBashFences` (which matches a `bash` + newline) saw ZERO fences in every CRLF-checked-out file. The guard was therefore green on the bomb in this Windows checkout and would have fired on Linux CI ??? a check whose behaviour depends on the checkout's line endings is [C3] in miniature. **The rule now written into AGENTS.md as [C31]: a guard is proven by removing the thing it guards, not by passing.** All three defects presented as a green guard; every one surfaced from deleting the SKIP entry and expecting red, then auditing which scripts the classifier actually flagged. Docs-node moves **94 ??? 93 executed ?? 53 ??? 54 skip-listed** ('gate' to the skip table, 2 guard tests added), and the v0.5.22 row keeps its 94/53/19 because that is what `83f851e` measured. `npm test` ??? **1155/1155** (+2 guard tests); boundary audit **1530 files, 0 violations**; release gate **18/18, independence PASS**; prepush **6/6**. The honest reading of this cycle: the A???J work was correct and the *documentation* of it broke CI, which is the mirror image of the lesson the roadmap was built to teach ??? a claim is only worth what the machine can re-check, and a documented command is a claim the machine will now execute. |
+| **v0.5.24 (2026-09-26, this session)** | **Three real defects found by auditing instead of assuming, and the reviewer's first document finally machine-checked** ??? the roadmap was closed and the suite green, so this pass stopped adding surfaces and went looking for what was still wrong. Three things were. **(1) The partner journey contradicted the committed artifact.** CG-PJ/1's findings leg reported **7 OPEN** while `docs/risk-findings.json` said **4**: the leg called `deriveFindings({ registry })`, and that function takes every committed source as an INPUT and defaults a missing one to `{}` ??? the absent snapshot silently collapsed RF-006/007/008 (boundary audit, suite pin, docs-node/harness) to OPEN. The module's own `build()` reads all three committed sources exactly as the CLI does; the leg now goes through it. Worth naming what the bug did: it overstated risk, which is the safe direction, and it was still a defect ??? a reviewer-facing number may not disagree with the recorded one in either direction. Nothing caught it: the artifact is pinned to `build()` by `ladder-v03`, but the journey was never pinned to the artifact, which is the gap a per-file invariant always leaves. **(2) `docs/STATUS.md` had ZERO machine checks.** It calls itself the authoritative source of truth, states that every metric in it is machine-measured, and is the first document a reviewer opens ??? and all thirteen of its rows were tests and contracts, with the entire claim/badge/gate layer absent. It now carries ten honesty rows (boundary audit ?? docs-node ?? CG-CL/1 ?? CG-BDG/1 ?? CG-PJ/1 ?? CG-IR/1 ?? CG-RF/1 ?? CG-RP/1 ?? CG-RG/1 ?? CG-CR/1), each reading its value from the committed artifact. **(3) The decisions record numbered its sections 1,2,3,4,5,6,7,9,8** ??? ??? fixed by moving the '9' block into place, with no renumbering, so every existing '??9' citation stays valid. **The guard for (2) failed three times before it worked, which is the real content of this row.** The first draft asserted `table.includes(String(claims.length))` and could not fail: "28" occurs incidentally in that table and "0" occurs in half of it, so corrupting the claims total to 27 or revenue to $4,200 stayed green; the changelog guard failed identically, because the document still CONTAINED "v0.5.22" in the next row's prose after the row itself was deleted. **A substring is not a location.** Each measurement is now bound to the row whose label names it, that row must state the artifact's value, and exactly one such row may exist so a stale duplicate cannot hide beside a fresh one. Twelve negative controls ?? corrupt a count, delete a row, duplicate a row, cite a fictional npm script, plant a non-$0 figure, drop a changelog row ??? now each turn the suite red, and the battery prints "mutation applied" separately from "bit" because a control whose mutation never landed is as worthless as a guard that cannot fail. Two of the twelve did not bite on the first run. The row-scoped rewrite then caught a real omission in the row I had just written (the gate row omitted its 18 self-audited legs) **on its first execution** ??? the guard found the author's error, not only a future regression. Filed as AGENTS.md [C32], the third face of [C30]/[C31]. `npm test` ??? **1162/1162** (+6: 5 STATUS-truth, 1 journey/artifact agreement, the latter proven by reverting the fix and watching it report `actual: 7, expected: 4`); boundary audit **1530 files, 0 violations**; docs-node **93 ?? 54 ?? 19**; release gate **18/18, independence PASS**; prepush **6/6**. The v0.5.21??v0.5.23 rows keep 1153/1155 and their own docs-node figures ??? they record what each commit measured, and the new test enforces that exemption by requiring each to survive as a ROW rather than as a prose mention. |
+| **v0.5.25 (2026-09-26, this session)** | **Two things the tree was owed: a lost branch in the L1 rule, and the AIE-1 incident surface, finished** ??? **(1) The L1 chain rule was TRUE and INCOMPLETE in all four places it is stated.** The machine has three outcomes ?? no authority `UNKNOWN/NO_CHAIN_EVIDENCE` ?? authority asked and does not know the hash `MISMATCH/TX_NOT_FOUND` ?? evidence too malformed to ask with `UNKNOWN/EVIDENCE_INCONSISTENT` ??? and every reviewer-facing surface compressed that to two ("a format-valid receipt nobody confirmed is `UNKNOWN`", under a README heading that reads "four rules **the machine enforces, not the prose**"). Every compressed version was true, which is exactly why it survived review: the branch it dropped is `MISMATCH`, the strongest signal the system produces, so the summary filed a real contradiction under its weakest verdict. The rule now hinges on the only question that actually separates them ??? **was anyone asked** ??? in `README.md`, ??1 and ??14 rule 2 and ??15.4 of the platform doc, ??3 of the decisions record, and the L0-L4 bullet. `test/ci/receipt-semantics-doc.test.js` derives the three codes from `verifyReceipt()` at run time, so the binding is to behaviour and not to a copy of the prose. Its 6 negative controls include a CODE-side mutation (flip the asked-and-contradicted return to `UNKNOWN`), because a doc binding that only reads docs cannot tell a correct rule from a stale one. Filed as AGENTS.md [C33]. **(2) AIE-1, the agent-incident verification surface, was mid-flight in the tree** and is now closed: `docs/agent-incident-evidence.md` (one endpoint, one evidence bundle, one report schema, replayable from a cold clone) with `test/delivery/agent-incident-evidence.test.js` (+4 ?? the spec's fences are registered in the doc-curl contract, its quoted verdicts match the live engine byte-for-byte, replay is byte-identical across two runs, and a tamper replay names the flipped byte), cross-linked from `INTEGRATION.md`, `docs/delivery-dispute-boundary.md` and the Arabic/EN `docs/index.html`. Two housekeeping defects were also closed with it: 9 `.tmp-aie-*` scratch dumps (a fixture, two `.b64` payloads, a server log) had been swept into the index by a bulk `git add -A` and are now untracked behind a `.tmp-*` ignore rule ??? a scratch output is not a deliverable ??? and the docs-node triple moved 93??54??19 ??? 94??55??20 as the new doc's commands execute. **One process note worth keeping**: mid-cycle the release gate recorded a legitimate `GATE_FAIL` (its `tests` leg was red on snapshot drift), and that record then deadlocked the suite ??? the gate's `tests` leg runs `npm test`, which asserts the table states what the artifact says, so a failing artifact keeps its own suite red. It is broken the honest way ??? restore the last real record, get the suite green, then re-run the gate for a fresh one ??? and the re-run reproduced the committed bytes exactly, which is the timestamp-free contract doing its job. `npm test` ??? **1171/1171** (+9: 5 receipt-semantics, 4 AIE-1); boundary audit **1530 files, 0 violations**; docs-node **94 ?? 55 ?? 20**; release gate **18/18, independence PASS**; prepush **6/6**. v0.5.21??v0.5.24 rows keep their own counts ??? they record what each commit measured |
| **v0.5.26 (2026-09-27, this session)** | **A documented freeze gap that was not a gap: the recovery pointer existed, and nothing read it** ??? AGENTS.md carried a standing warning that deleting a doc pinned by an older freeze record makes that record "unverifiable for those entries", and flagged the whole thing as an open known gap. Both halves were wrong, and the second was wrong in the interesting direction: the two files `freeze-record-4.2.5.json` pins (`v4.2.5-closure/engine-semantics-contract.md`, `external-evidence-model.md`) **were already deleted**, in `5a89f2b` ??? the very commit that introduced 4.2.6 ??? yet both recorded SHA-256 values still match the blobs at `5a89f2b~1`. A pinned file's bytes stay verifiable from history whatever happens to the working tree; deletion costs only *tree-reachability*. The genuine risk is the silent one: bytes reachable only through a ref nobody wrote down. A survey of all 136 pins across 5 records put the real number on the table ??? **134 in the current tree, 2 absent but hash-verifiable, 0 unverifiable** ??? and the audit script first reported those 2 as dead because it handed `git show` Windows backslashes out of `path.join`, a failure that reads exactly like a missing file. 4.2.6's `scopeGapsClosed` now names both files and the recovery ref, without touching `frozenAtUtc` or a single pin (49/49 still verify), and `test/verifier-c/freeze-record-reachability.test.mjs` turns that note into a contract: every pin in every record is either in the tree or hash-verifiable from a **named** ref, and any pin absent from the tree must be documented in the active record. `scopeGapsClosed` had **no reader at all** until this change, so the note was previously worth nothing. 5 negative controls (delete a file the active record pins ?? drop the note ?? point it at a wrong ref ?? shrink a pin ?? corrupt a recorded hash) each turn the suite red, and the control harness now restores every mutated file byte-for-byte ??? after a first draft ran `git checkout -- .` and silently destroyed the uncommitted record edit. Two stale literals fixed in passing: AGENTS.md's own `47 = 28+19` (real: 49 = 30+19) and `1176`, plus the `46/46` frozen into `validate-freeze.test.mjs`'s header table while its assertions were already deriving the count ??? documentation that lies right beside a check that cannot. Measured: **1180/1180** ?? **833 files ?? 0 violations** ?? docs-node 94/55/20. |
| **v0.5.27 (2026-09-27, this session)** | **A number I fixed by hand was still an unguarded number ??? and one of them guarded nothing at all** ??? v0.5.26 hand-corrected two literals in `AGENTS.md` (`1176`???1187-class drift, and `47 = 28+19` ??? the record's real `49 = 30+19`) and left them exactly as rot-prone as before. That is the [C32] lesson applied to the file that teaches it: the fix was to the value, not to the class. `test/ci/agents-numbers.test.js` now **derives** each live figure in AGENTS.md from the one committed source that owns it and requires it inside the single line whose label names it ??? engine version ??? scenario count ??? test count ??? validator checks (from `freeze-record-4.2.6.json` + `negative-tests.json` + `state-snapshot.json`, `649` parsed out of the record's own `cycleEvidence.nodeValidator` rather than retyped), the pin count and its release/quarantine split, the SelfTest count (counted from `selftest.tap`'s `ok ` lines, not read from prose), and the payout i18n dictionary size. Two of these had **already rotted** (`919???6???` and `47 = 28+19`), so this is the second measured instance, not a hypothetical. It also cross-checks the record's own `cycleEvidence` against the artifacts, so the reviewer-facing claim cannot outrun the bytes. **14 negative controls, each red**, and they cover both directions: the doc rotting (`NC1`-`NC5`: stale count, stale split, a chain trimmed to 2 of 4 values, a **duplicate line** planted beside the fresh one, an anchor renamed away) and the *source* rotting so the doc becomes the liar (`NC6`-`NC10`: snapshot count, engine version, a dropped quarantine pin, a record claiming 24 self-test checks against 21 `ok ` lines, 19 scenarios against 16). The last two (`NC11`, `NC12`) delete the array key and every `ok ` line to prove the guard **refuses to derive 0** rather than asserting a confident false number ??? the [C30] zero-denominator trap, caught live during this build when a wrong key name made the first draft try to state `0` scenarios. **Separately, a cited invariant turned out not to exist:** AGENTS.md told two sessions that a hand-edit "silently breaks the 637/637 node pairing". Nothing in the tree derives or checks 637; the only enforced pairing is `test/p2/governance-dashboard-i18n.test.js` over the `PAYOUT_GATE_I18N` dictionary (**11 keys**), while the full `coreguard-gate41-visual.html` / `-en.html` pair is **unverified by machine** ??? the AR file carries 278 `data-i18n` attributes and the EN sister carries zero, holding literal English, so no dictionary exists to pair. Both citations are corrected and that pair is now labelled unguarded rather than falsely guaranteed. Measured: **1187/1187** ?? **834 files ?? 0 violations** ?? docs-node 94/55/20. |
| **v0.5.28 (2026-09-27, this session)** | **"Unguarded" is a finding, not an excuse: the real invariant existed and was 277 keys wide** ??? v0.5.27 corrected AGENTS.md's dead `637/637` pairing claim and labelled the AR/EN dashboard pair **unverified by machine**. That was the honest reading, and stopping there would have repeated the mistake the repo already documents: *"The fix here was to BUILD the surface ??? not to reword the claim."* Probing the page found the invariant it actually ships with. `docs/coreguard-gate41-visual.html` has **one runtime dictionary**, `D = {"nodes": {"": {ar, en}}, "attrs": ???}`, and `apply()` iterates it replacing `[data-i18n=""]` `.innerHTML` ??? so the contract is a **bijection**, and it holds perfectly: **277 static markup keys ??? 277 entries, 0 missing, 0 orphan**. Two candidate defects turned out to be **correct behavior**, and the temptation to "fix" either would have damaged a live investor-facing page. Entries 84/93/104 carry an `.ar` with no Arabic because they are the bare RTL arrows `???`/`???` ??? flipping the glyph is the point. And **29** entries embed a *nested* `data-i18n` inside their own `.ar` value; the outer entry replaces `innerHTML` wholesale so the inner attribute is redundant and order-dependent, yet every inner key also appears in static markup (the bijection proves it), so nothing is orphaned and rendering is correct. `test/p2/gate41-visual-i18n.test.js` therefore pins the **29 as a count, not as zero** ??? changing it must be a deliberate act, not an edit that lands unnoticed. Per [C27] it also asserts the **mechanism**, not just the data: `apply()` must still iterate `D.nodes` and still select by the iterated key, because the dictionary can be flawless while the switcher no longer reads it. **9 negative controls, and one of them caught a hole in this very contract**: pasting a whole English sentence into the `.ar` slot did **not** fail, because the first "language-neutral" rule allowed letters, spaces and punctuation ??? i.e. any ASCII. The rule is now **no WORD** (two consecutive ASCII letters), which catches an untranslated English string while still passing the bare arrows. A guard that cannot fail is not a guard ([C32]); the control is what turned this one real. **Left explicitly unguarded, and labelled as such:** the EN sister `coreguard-gate41-visual-en.html` carries 0 `data-i18n` attributes and no dictionary (literal English), so nothing cross-checks that it says the same thing as the AR dictionary's `en` values. Measured: **1193/1193** ?? **835 files ?? 0 violations** ?? docs-node 94/55/20 ?? freeze 49/49. |
-| **v0.5.34 (2026-10-22, this session)** | **A load number that cannot be faked by a sequential loop** ??? `scripts/benchmark-dde-load.mjs` (`npm run benchmark:dde-load`) keeps **50 requests outstanding** against `POST /verify` until 200 have completed and reports the latency distribution of that burst, because the sequential wire benchmark measures the friendly case (one request, no sharing of the event loop, the socket pool or the JSON parser). The gate fails closed on four measured facts, not on prose: every response must be `200 VERIFIED` with the decision intact (perf is measured on the real gate), the observed peak in flight must equal the requested depth, **?? latency / wall time must be ??? 2** ??? a `for ??? await` rewrite reports overlap ??? 1 no matter how fast the server is, so a sequential loop cannot wear the concurrent label ??? and p95 must stay under its budget. `--concurrency 1` is refused by name rather than accepted as a load run. Measured on the dev box: **200/200 VERIFIED ?? peak 50/50 ?? overlap 48x ?? 729.8 req/s ?? median 64.1 ms ?? p95 93.0 ms** (p99 97.8 ?? max 98.8) in 274 ms wall time, against the sequential runner's p95 of ~2.4???3.2 ms: the delta is queueing on one shared event loop, which is the number an integrating platform actually experiences under a batch, and the report says so. The first live run failed honestly ??? 50 ?? 429 ??? because the warmup burst shares the fixed window with the measured burst and the granted limiter ceiling had not included it; the limiter is a REAL guard, so it is sized for the run and disclosed in the report (`250 req / 60s`) instead of disabled, and a contract test fails any run whose budget does not cover warmup + burst. `test/delivery/load-runner.test.js` (+5) spawns the runner for a 6-way burst and checks the distribution monotonicity, the sequential refusal, the p95 gate biting at `--p95-budget-ms 0`, and the shipped 50-way default. Not wired into `dde.yml`: a load burst on a shared 2-core runner would report runner contention as product latency ??? it stays an operator command with the honest local measurement above. `npm test` ??? **1292/1292**; boundary audit **1529 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
- **The job-economy cycle leaves the runner too ??? a LIVE playground on the real engine bytes, and the browser found what the tests could not** ??? `docs/PLAYGROUND.html` runs the whole argument in the reader's tab: open a job with a ceiling, lock the escrow at publish, carve sub-agent shares out of the true remainder, meter a model call on the SAME ceiling, race two reserves in one synchronous step, build and sign an x402 challenge only after the cost is reserved, then deliver and watch what ACCEPTED/REJECTED/UNKNOWN do to the money. The engine is not a re-authoring: `scripts/build-playground.mjs` copies the committed `packages/` bytes into `docs/playground/` and makes exactly three mechanical edits (the `node:crypto` import becomes a synchronous pure-JS sha256/hmac shim, package-relative imports flatten, the CLI entry guard is prefixed with `typeof process !== "undefined"`), each one documented in the page footer and in the manifest. `test/delivery/playground-page.test.js` (+16) proves the claim instead of asserting it: the engine copies and the real modules are driven through the SAME scripted run for all three verdicts and compared state-by-state, code-by-code and snapshot-by-snapshot; the x402 gate loop must produce the same HMAC bytes on the shim (refuse-before-sign, `CHALLENGE_ALREADY_RESERVED`, DRY-RUN releases, `settledCents` 0); the shim must match `node:crypto` on the FIPS vectors and edge lengths; `build-playground --check` must find the tree in sync; and the negative battery has 4 page mutations plus an engine-byte tamper that all apply AND bite by name. Run LIVE in a real browser before push, it immediately exposed three defects the green suite could not see: the engine modules threw `ReferenceError: process is not defined` at import (the CLI tail), a scope row rendered `undefined?? held` (a table cell reading a job-level field), and an honest UNKNOWN wore the failure ?? glyph. All three are fixed, and the page now shows `held 500??` after an UNKNOWN delivery in the browser. The public discussion's own boundary is restated in the footer: per-call payments solve the plumbing, "was the work good" stays a judgment question, and UNKNOWN keeps the money HELD ??? locked, recorded, neither paid nor refunded. `npm test` ??? **1287/1287**; boundary audit **1529 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
- **The perf page leaves the runner too ??? a LIVE surface, not a static claim** ??? `docs/DDE-PERF.html` renders what CI actually measured: the latest successful `dde.yml` run and its `dde-runner-reports` artifact from the public API (no token, no clone), the medians/budgets/gates from the committed `benchmarks/perf-history.jsonl` via raw.githubusercontent, and the budgets themselves DERIVED at render time from the trend module's badge table (raw fetch + parse ??? no retyped budget number on the page; retyped numbers rot, the page renders the module's truth). Three feed chips that go red BY NAME when a feed dies (the page never shows silence, nor an old number wearing a live name), bilingual AR/EN with the repo's switcher pattern, sparklines with the budget drawn as a dashed line, committed `docs/badges/perf-*.svg`, and the artifacts table with the 30-day expiry column. `test/delivery/dde-perf-page.test.js` (+6) executes the page's own JS headlessly in a VM (parseBudgets/latestBySeries/sparkline against the real module bytes and recorded history lines) instead of restating it ([C25]), binds the artifact name to dde.yml's actual uploader, pins the index.html card, and carries 4 page-mutation + 1 module-bump applied-and-bites controls. One honesty defect caught in preview before push: the page handed PARSED objects to a lines-expecting function (`372 entries ?? 0 series` while trend cards rendered) ??? the same function worked in the contract because the contract passed the right shape, which is the [C27] two-channel trap in miniature; fixed in the page, the contract now pins the real flow. Found live in the browser (run #188, 737-byte artifact, 3 sparklines) before CI ever saw it. `npm test` ??? **1271/1271** (+19 job-economy flow battery, +1 committed-bind) ; boundary audit **1529 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
-| **v0.5.35 (2026-10-23, this session)** | **The concurrency tail joins the sequential median on the live perf page ??? same code, two depths, and the gap named queueing, not regression** ??? v0.5.34 shipped the load runner, but its p95 had no reader: the perf page showed only the sequential medians, so a reader opening the live surface would never see the number an integrating platform actually experiences under a batch, and the delta between the two numbers carried no framing ??? the two most plausible readings are "engine regressed" (wrong) and "nothing changed" (also wrong). **(1) One metric per series, declared at the source.** `benchmark-trend.mjs` now names each series' tracked metric explicitly in its badge table (the always-on three stay `median`; the load row declares `metric: "p95"` + `budget: 600` + `nightly: true`) and every consumer reads that one declaration: the drift gate now gates the tracked metric (the 2?? bar bites on the p95 tail, not on the sequential median, which is exactly the failure mode that matters under concurrency), badges render the tracked value, and the appended history row carries `metric: "p95"` **only when non-default** ??? an explicit metric on a median series is redundant, a p95 series must say so in its own row. The nightly flag also fixes a badge-mode edge the three always-on series never hit: an absent load history is a **notice and exit 0** (the three badges keep regenerating), never a stale-badge refusal against depth that has not recorded its first point yet. **(2) The page derives the pair instead of retyping it**: `parseBudgets()` now captures the declared metric per row, and `pickPair()` picks the concurrent side as "the row the module declares with metric p95" and the sequential sibling as "the largest-budget median-series row" ??? no series name appears on the page twice, so a module change moves the page in the same push ([C25] applied to the pairing, not only the numbers). `budgetCard`/`trendCard` track each series' declared metric; the pair card renders **sequential median ??? p95 under concurrency** with the queueing framing in AR and EN, and an unrecorded load point renders an honest "not yet" note ??? never a zero and never a silent skip, so the nightly depth's absence cannot wear a live name ([C30]/[C27] applied to absence itself). **(3) The contracts bind all three directions**: `dde-perf-page.test.js` grew the budget table to ???4 series, pins **exactly one** p95-tracked series (`dde-http-load-perf` @ 600ms), pins the sequential sibling by the module rule (`dde-http-wire-perf:wire`), executes `pickPair/pairCard` against the recorded history in both states (absent ??? em-dash + "No recorded load point yet"; present ??? the recorded p95 value, never the median) and adds 2 page-mutation negative controls (the queueing framing rewritten to regression by name; the absence note deleted) ??? each applied and each bites; `perf-badges.test.js` +2 (absent load history waits silently + recorded history renders the p95 badge through the 600/750/1300ms color ladder); `load-runner.test.js` +1 **end-to-end linkage**: the runner's own `--json` report is handed to `benchmark-trend.mjs` in a sandbox and the appended row must carry the load series name, `metric: "p95"` and byte-for-byte the run's own p95 ??? the recorded tail cannot be a different number wearing the load label. `npm test` ??? **1296/1296** (+4); boundary audit **1529 files, 0 violations** (file count unchanged: this cycle only deepened committed files); docs-node **94 ?? 56 ?? 20** |
-| **v0.5.36 (2026-10-23, this session)** | **The committed ledger tears itself into a curve ??? `docs/DDE-TREND.html` plots the engine/wire/SDK medians and the tracker bot's next point lands on the page without a redeploy** ??? the perf board and the pull-down trend in `DDE-PERF.html` rendered the latest point per series, but the ledger the repo already commits (`benchmarks/perf-history.jsonl`) held the whole history and no live surface drew it: a reader opening the trend page sees the shipped data as numbers per series, not as the shape those numbers move in. **(1) The curves are drawn from the ledger itself**: the page fetches the committed `benchmarks/perf-history.jsonl` over the public raw endpoint (same no-token channel the perf board already uses), parses it line-wise, and plots the engine/wire/SDK median curves; a 60s poll re-fetches both sources (ledger + module) and redraws silently, so the tracker bot's next appended point moves the page with no release in the loop ??? the poll path is the same tokenizer the loader feeds, so a poll failure names its URL on a red strip instead of corrupting the canvas. **(2) The budgets are the module's, never the page's**: `parseBudgets()` derives each series' budget and declared metric from `scripts/benchmark-trend.mjs` bytes, so a module bump shifts the dashed budget line in the same push, and a curve series the module does not declare does not get a budget from memory ??? the honest absence renders instead ([C27]/[C25] applied to the curve panel, not only to the pair card). **(3) The contract binds the page to its bytes, not to look-alikes**: `test/delivery/dde-trend-page.test.js` (+8) executes `parseBudgets`, `latestBySeries`, `medianSeries`, `curveBySeries` and `curvePanel` inside a VM against the REAL page bytes and the REAL ledger bytes; docs-node validates the fetcher/polled contract through the same tokenizer; and the battery's five mutations (an invented fetch source, an absent index card, a dark-ledger source without a claim, an unregistered redraw and a deleted poll channel) plus one module-side mutation ??? each applies AND bites, and `docs/index.html` carries a new card walking users to `DDE-TREND.html` with a back-link from its board column. `npm test` ??? **1304/1304** (+8); boundary audit **1529 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
-| **v0.5.37 (2026-10-24, this session)** | **The perf trend gate names its first breach on the failing run's Summary page ??? series, baseline, ratio, beside the red gate** ??? the trend gate could go red with only a scrolling log line; a reviewer opening the run saw a red ??? with the offender buried. `scripts/benchmark-trend.mjs` now captures every drift breach as a structured '{ series, metric, current, baseline, ratio }' row and surfaces the FIRST one three ways: an `alert` object in the `--json` status, a stderr block in every mode, and a Markdown breach row appended to `` (CI) so the run's Summary tab renders the table `series | metric | current | baseline (5-run median) | ratio` beside the red gate ??? while everything the gate already promised holds: a breached run records NOTHING, the summary channel is append-only and best-effort (a failed append never flips the gate), and a report whose OWN gate is FAIL is a recording error, never a drift alert. `test/ci/perf-drift-alert.test.js` (+5) binds the structured alert's fields exactly (2.5ms against a 0.6ms five-run baseline = 4.17x), the rendered summary row, green-run silence, the FAIL-gate distinction and the append-only property. `npm test` ??? **1309/1309** (+5); boundary audit **1529 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
-| **v0.5.38 (2026-10-24, this session)** | **One badge answers 'are we inside the budgets?' ??? the aggregate perf??all sums the set by its worst case** ??? the README carried three series badges plus a raw link into the ledger; a reader wanting one glance had to read three numbers against three budgets, and nothing said the load series when its nightly point lands. `benchmark-trend.mjs --badges` now renders a fourth badge, `docs/badges/perf-all.svg` (`perf??all`), from ONLY the badges the run actually rendered ??? the always-on three tonight, the severity ladder by name: every series inside its budget ??? **green `all within budget`**; any series past its budget but inside the 2x regression bar ??? **yellow `N above budget`**; any series beyond the bar ??? **red `regression detected`** ??? and the nightly load tail joins automatically the moment it records its first point, so the aggregate can never show a state the set does not, with the same all-or-nothing atomicity (any series unresolvable ??? nothing written at all). README embeds it beside the three (`DDE perf ?? all`, same ledger anchor), and the badge contract grew teeth: `perf-badges.test.js` (+3) pins the green/yellow/red ladder through the exact engine budgets (50/75/120ms), pins the README-set equality at FOUR files, and the generation summary must list the aggregate it wrote. `npm test` ??? **1312/1312** (+3); boundary audit **1529 files, 0 violations** (+^`perf-all.svg`); docs-node **95 ?? 56 ?? 20** |
-| **v0.5.44 (2026-10-27, this session)** | **CI ???????? ?????? ?????????? ???????? + ?????? workflow ?????????? ???????????????? ?????????????????????? ??????????????** ??? the previous cycle pushed a commit (468f95b dated 2026-10-26, then c6a9efb) whose state-snapshot and claims-registry were STALE ??? they still measured the pre-`scaffold.yml` tree (898 files / 99 docs-node commands) ??? so CI's truth chain stayed green locally but went red on GitHub (current-state --check DRIFT + status-truth + docs-node). This cycle fixes it at the root: the snapshot and every citing surface are regenerated ON THE FINAL TREE, not back-filled. | **Both shipped templates are now exercised end-to-end on EVERY push ??? generated in a clean environment and run by their OWN internal tests, via `.github/workflows/scaffold.yml` ("Scaffold Runs")** ??? the generator's two templates were only proven by in-repo unit tests and the docs-node contract (which executes the documented command lines, not the scaffolds' own suites in the reader's world), so nothing in CI ever asked: does a freshly generated project, outside this repository's tree, actually install and pass its own tests as shipped? The workflow answers it on every push and PR: the DEFAULT scaffold is generated into a fresh `$RUNNER_TEMP` dir, its smoke suite (`node --test`, which imports the PUBLIC `@coreguard/sdk`) is run after installing the SDK's REAL dependency closure from packed tarballs ??? the publish gate's install-parity technique, npm linking command-line tarballs by name+version (13 packages), never workspace symlinks and never a registry publish assumption ??? and the DDE scaffold is generated into a second fresh dir where `node verify-dde.mjs` must exit 0 (VERIFIED, 9 PASS + 1 E5 NOT_RUN as designed), `node payout-gate.mjs` must exit **2** (the documented HOLD ??? a RELEASE on the shipped fixture fails the run BY NAME: the scaffold no longer teaches the boundary), and the scaffold's own 5 contract tests must pass. Both paths were dry-run locally to the same commands before shipping; the new file joins the guard class (lockfile check before setup-node, YAML zero-jobs guard ??? `check-workflows.mjs` now reports 6 workflow files) and survives the YAML parse contract 10/10. Suite **1333/1333** (unchanged ??? no new test file); boundary audit **1529 files, 0 violations** (the workflow file); docs-node **99 ?? 56 ?? 20** |
-| **v0.5.42 (2026-10-26, this session)** | **`--fixture-real`: the DDE scaffold can now be born from a REAL case, not only from the synthetic template** ??? `create:integration`'s `--dde` arm shipped a static, honestly-labeled synthetic fixture, so an operator who already passed the intake gate still had to hand-assemble the scaffold's fixture directory. The new flag pairs with `--dde` (`create-integration.mjs --dde --fixture-real `) and delegates the candidate ??? fixture conversion to the intake pipeline's OWN entry point (`examples/real-fixture-intake/convert-to-fixture.mjs`) ??? the identical bytes any operator or reviewer replays, never a re-typed copy ([C25]/[C27]): the prelude gate must come back GATE GREEN (exit 0) or the generator **removes the half-built scaffold and exits 1** (fail-closed: a GATE RED candidate scaffolds nothing, and no synthetic bytes ever ride along ??? the static `dde-fixture/` is excluded from the copy), converted records are the candidate's own (JSON-identical per record), origin `REAL`, pins re-hashed against the written bytes, and the REAL SDK engine must already have judged the conversion `VERIFIED` (the converter refuses anything else). Contract-tested at three levels: `test/p1/create-integration.test.js` (+3, 8 total ??? the real-merge scaffold verifies `VERIFIED` through the in-repo engine with the candidate's own records, the missing-`--dde` usage error, and a red candidate leaving no scaffold), the docs-node contract gained its own `--fixture-real` arm executing the documented scaffold over the SAME staged candidate the intake fences use (origin pinned `REAL`), and the contract's `&&`-chain splitter now honors the SAME per-line `expectFor` contracts as the single-command path ??? `payout-gate.mjs`'s documented exit 2 (the HOLD) is contract inside chains too. `npm test` ??? **1333/1333** (+3); boundary audit **1529 files, 0 violations**; docs-node **99 ?? 56 ?? 20** |
-| **v0.5.41 (2026-10-25, this session)** | **Every badge now names the commit it was measured at, and the quick-start templates graduate from prose to a live page** ??? the ledger said which medians the bot recorded but never said whose code produced them, and a reader of the README saw three badge numbers with no way back to the run behind them. **(1) Commit binding:** `benchmark-trend.mjs` now records `sha` (40-hex, from `git rev-parse HEAD` of the measured checkout) on every appended trend point, and `--badges` stamps each series badge with `data-sha="???"` of its latest point ??? the aggregate `perf??all` wears none by design (its set may span commits), and nothing is ever fabricated: no reachable git means no sha and no binding, ever ([C30]). The shared audit core grew teeth in both surfaces (working tree + main commit tree): wrong binding ??? STALE COMMIT BINDING by name, missing ??? same, fabricated (a sha the ledger never carried) ??? refused, aggregate with a single sha ??? refused. `test/ci/perf-commit-binding.test.js` (+4) proves each by control. **(2) QUICKSTART page:** `docs/QUICKSTART.html` documents `create:integration` and `--dde` with nothing hand-copied ??? commands derived from the generator's usage header and `package.json`, template trees from the GitHub API, the ten-record fixture re-verified LIVE in the tab through the committed engine with the acceptance predicate parsed from `payout-gate.mjs`; `test/delivery/quickstart-page.test.js` (+6) executes the page's derivations in a VM on real committed bytes and drives the REAL engine subprocess, and 4 mutations each apply AND bite. The index card joins the other cards. **(3) Scaffold honesty:** `verify-dde.mjs`/`payout-gate.mjs` resolved fixtures via `pathname`, which percent-encodes a path like `CORE DAO` into `%20` and breaks the DDE examples' first run on Windows ??? now `fileURLToPath`; the scaffold must run as-is anywhere. `npm test` ??? **1330/1330** (+10); boundary audit **1529 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
-| **v0.5.40 (2026-10-24, this session)** | **The badge sync is audited at the tip main SERVES, not only at the checkout's working tree** ??? v0.5.39's freshness audit read the working tree; a `git cat-file` view of main tells the truth a checkout can hide: the same sync could break on main (Pages/README serve the COMMITTED bytes) while an uncommitted local regen keeps the working tree green. `test/ci/main-badge-sync.test.js` (+4) reads the GIT COMMIT TREE of main ??? ledger, module badge table and every `docs/badges/*.svg` via `git cat-file -p ][:path` and `git ls-tree`, resolved HEAD on main checkouts else `refs/remotes/origin/main`, and FAILS NAMED when neither is reachable (an audit that reported green while auditing nothing would be the exact lie it exists to refuse). The audit core moved to `test/ci/badge-audit.mjs` so both surfaces (working tree + commit tree) consume ONE derivation of the same rules ??? no duplicated budget regex, per [C25]/[C27]. Three contracts bind it: main's badge set shows main's ledger-latest points (a stale one fails immediately by name), main's badge table parses from the SAME tree it serves (a rewritten table is caught), and a staged newer ledger point bites `STALE` by name ??? proving the audit reads committed bytes, not checkout files. `npm test` ??? **1320/1320** (+4); boundary audit **1529 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
-| **v0.5.39 (2026-10-24, this session)** | **A stale badge can no longer hide ??? badge freshness is now audited at commit granularity, caught on the local push before GitHub ever sees it** ??? the trend bot regenerates the badges and appends the medians in the SAME commit, but nothing enforced that pairing: a cycle that moved the ledger without regenerating a badge (or the mirror) would leave the README advertising last cycle's number with today's credibility, and `perf-badges.test.js` could not see it because it tests the generator in sandboxes ??? staleness is only visible in the COMMITTED bytes. `test/ci/badge-freshness.test.js` (+4) closes it by re-deriving exactly what `--badges` rendered, from the same sources and NO retyped budget: every BADGE_SERIES row is parsed from the module (the same regex the live pages use, per [C25]/[C27]), the committed `docs/badges/*.svg` for each series must show the ledger's LATEST recorded point AND the ladder-verdict color, `perf-all` must be the worst case of exactly the rendered set (nightly absence honored ??? no badge before its first point), and any committed `perf-*` file the module does not declare is an unregenerable artifact that fails by name (the CG-BDG/1 `specimen-*` SVG family is explicitly carved out ??? a different system, owned and regenerated by CG-BDG/1). Three mutation controls each apply AND bite by name: a stale engine value (ledger 0.0999ms vs badge 0.105ms ??? 'STALE (re-run --badges)' named file+series+values), a lying color (green number the ladder calls yellow), and a phantom badge (committed `perf-phantom.svg` no module row declares). This audit wired into `test/ci` means every pre-push and CI run catches badge???ledger divergence before the run is green. `npm test` ??? **1316/1316** (+4); boundary audit **1529 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
-| **v0.5.31 (2026-09-30, this session)** | **The runners' own reports leave the runner** ??? dde.yml now uploads the SDK + wire perf reports (the `--json` medians) as ONE `dde-runner-reports` artifact per run: `retention-days: 30` PINNED (an unpinned retention silently defaults and drifts), `if-no-files-found: error` (evidence is fail-closed, not best-effort), placed after both benchmarks and BEFORE the trend gate so the evidence lands even when the gate defers or goes red. The workflow-yaml contract grew the artifact clause ??? exactly one uploader, both report paths, the pinned retention, a major-pinned action, and the ordering ??? with 6 negative controls each applied-and-bites (retention drift ?? pin removal ?? emptiness made silent ?? wire report dropped ?? benchmark step renamed ?? uploader unpinned); the battery is CRLF-normalized per [C3] after the first draft silently applied only 3 of 6 on this Windows checkout. `npm test` ??? **1245/1245** (+2); boundary audit **1529 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
-| **v0.5.30 (2026-09-30, this session)** | **The proxy posture now speaks all three front doors** ??? the boundary doc's production section gained Caddy and Traefik equivalents beside nginx (the section that already carried a structural CI contract): Caddy with its honest build choice spelled out (no standard rate-limit module ??? claim it and the section names the degenerate shared-budget failure; module build or Traefik are the honest per-client paths), `reverse_proxy` to the documented loopback bind, `request_body max_size` at the 1 MiB cap, ACME/internal/pinned TLS; Traefik with the full translation (`rateLimit` average 10 / burst 20 mirroring the nginx fence, `buffering.maxRequestBodyBytes` = 1048576, entry-point TLS, forwarded headers logging-only) ??? both with their own "Never do" list. Zero fences executed, zero new start lines, zero nginx fences added: the nginx-conf, doc-curl, and docs-node contracts stay byte-stable, and the doc-freshness contract holds the new sections to the same live-code anchors (loopback socket, the 1 MiB cap, no fresh DNS claims). `npm test` ??? **1243/1243** (unchanged: docs-only cycle); boundary audit **1529 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
+| **v0.5.34 (2026-10-22, this session)** | **A load number that cannot be faked by a sequential loop** ??? `scripts/benchmark-dde-load.mjs` (`npm run benchmark:dde-load`) keeps **50 requests outstanding** against `POST /verify` until 200 have completed and reports the latency distribution of that burst, because the sequential wire benchmark measures the friendly case (one request, no sharing of the event loop, the socket pool or the JSON parser). The gate fails closed on four measured facts, not on prose: every response must be `200 VERIFIED` with the decision intact (perf is measured on the real gate), the observed peak in flight must equal the requested depth, **?? latency / wall time must be ??? 2** ??? a `for ??? await` rewrite reports overlap ??? 1 no matter how fast the server is, so a sequential loop cannot wear the concurrent label ??? and p95 must stay under its budget. `--concurrency 1` is refused by name rather than accepted as a load run. Measured on the dev box: **200/200 VERIFIED ?? peak 50/50 ?? overlap 48x ?? 729.8 req/s ?? median 64.1 ms ?? p95 93.0 ms** (p99 97.8 ?? max 98.8) in 274 ms wall time, against the sequential runner's p95 of ~2.4???3.2 ms: the delta is queueing on one shared event loop, which is the number an integrating platform actually experiences under a batch, and the report says so. The first live run failed honestly ??? 50 ?? 429 ??? because the warmup burst shares the fixed window with the measured burst and the granted limiter ceiling had not included it; the limiter is a REAL guard, so it is sized for the run and disclosed in the report (`250 req / 60s`) instead of disabled, and a contract test fails any run whose budget does not cover warmup + burst. `test/delivery/load-runner.test.js` (+5) spawns the runner for a 6-way burst and checks the distribution monotonicity, the sequential refusal, the p95 gate biting at `--p95-budget-ms 0`, and the shipped 50-way default. Not wired into `dde.yml`: a load burst on a shared 2-core runner would report runner contention as product latency ??? it stays an operator command with the honest local measurement above. `npm test` ??? **1292/1292**; boundary audit **1530 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
+ **The job-economy cycle leaves the runner too ??? a LIVE playground on the real engine bytes, and the browser found what the tests could not** ??? `docs/PLAYGROUND.html` runs the whole argument in the reader's tab: open a job with a ceiling, lock the escrow at publish, carve sub-agent shares out of the true remainder, meter a model call on the SAME ceiling, race two reserves in one synchronous step, build and sign an x402 challenge only after the cost is reserved, then deliver and watch what ACCEPTED/REJECTED/UNKNOWN do to the money. The engine is not a re-authoring: `scripts/build-playground.mjs` copies the committed `packages/` bytes into `docs/playground/` and makes exactly three mechanical edits (the `node:crypto` import becomes a synchronous pure-JS sha256/hmac shim, package-relative imports flatten, the CLI entry guard is prefixed with `typeof process !== "undefined"`), each one documented in the page footer and in the manifest. `test/delivery/playground-page.test.js` (+16) proves the claim instead of asserting it: the engine copies and the real modules are driven through the SAME scripted run for all three verdicts and compared state-by-state, code-by-code and snapshot-by-snapshot; the x402 gate loop must produce the same HMAC bytes on the shim (refuse-before-sign, `CHALLENGE_ALREADY_RESERVED`, DRY-RUN releases, `settledCents` 0); the shim must match `node:crypto` on the FIPS vectors and edge lengths; `build-playground --check` must find the tree in sync; and the negative battery has 4 page mutations plus an engine-byte tamper that all apply AND bite by name. Run LIVE in a real browser before push, it immediately exposed three defects the green suite could not see: the engine modules threw `ReferenceError: process is not defined` at import (the CLI tail), a scope row rendered `undefined?? held` (a table cell reading a job-level field), and an honest UNKNOWN wore the failure ?? glyph. All three are fixed, and the page now shows `held 500??` after an UNKNOWN delivery in the browser. The public discussion's own boundary is restated in the footer: per-call payments solve the plumbing, "was the work good" stays a judgment question, and UNKNOWN keeps the money HELD ??? locked, recorded, neither paid nor refunded. `npm test` ??? **1287/1287**; boundary audit **1530 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
+ **The perf page leaves the runner too ??? a LIVE surface, not a static claim** ??? `docs/DDE-PERF.html` renders what CI actually measured: the latest successful `dde.yml` run and its `dde-runner-reports` artifact from the public API (no token, no clone), the medians/budgets/gates from the committed `benchmarks/perf-history.jsonl` via raw.githubusercontent, and the budgets themselves DERIVED at render time from the trend module's badge table (raw fetch + parse ??? no retyped budget number on the page; retyped numbers rot, the page renders the module's truth). Three feed chips that go red BY NAME when a feed dies (the page never shows silence, nor an old number wearing a live name), bilingual AR/EN with the repo's switcher pattern, sparklines with the budget drawn as a dashed line, committed `docs/badges/perf-*.svg`, and the artifacts table with the 30-day expiry column. `test/delivery/dde-perf-page.test.js` (+6) executes the page's own JS headlessly in a VM (parseBudgets/latestBySeries/sparkline against the real module bytes and recorded history lines) instead of restating it ([C25]), binds the artifact name to dde.yml's actual uploader, pins the index.html card, and carries 4 page-mutation + 1 module-bump applied-and-bites controls. One honesty defect caught in preview before push: the page handed PARSED objects to a lines-expecting function (`372 entries ?? 0 series` while trend cards rendered) ??? the same function worked in the contract because the contract passed the right shape, which is the [C27] two-channel trap in miniature; fixed in the page, the contract now pins the real flow. Found live in the browser (run #188, 737-byte artifact, 3 sparklines) before CI ever saw it. `npm test` ??? **1271/1271** (+19 job-economy flow battery, +1 committed-bind) ; boundary audit **1530 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
+| **v0.5.35 (2026-10-23, this session)** | **The concurrency tail joins the sequential median on the live perf page ??? same code, two depths, and the gap named queueing, not regression** ??? v0.5.34 shipped the load runner, but its p95 had no reader: the perf page showed only the sequential medians, so a reader opening the live surface would never see the number an integrating platform actually experiences under a batch, and the delta between the two numbers carried no framing ??? the two most plausible readings are "engine regressed" (wrong) and "nothing changed" (also wrong). **(1) One metric per series, declared at the source.** `benchmark-trend.mjs` now names each series' tracked metric explicitly in its badge table (the always-on three stay `median`; the load row declares `metric: "p95"` + `budget: 600` + `nightly: true`) and every consumer reads that one declaration: the drift gate now gates the tracked metric (the 2?? bar bites on the p95 tail, not on the sequential median, which is exactly the failure mode that matters under concurrency), badges render the tracked value, and the appended history row carries `metric: "p95"` **only when non-default** ??? an explicit metric on a median series is redundant, a p95 series must say so in its own row. The nightly flag also fixes a badge-mode edge the three always-on series never hit: an absent load history is a **notice and exit 0** (the three badges keep regenerating), never a stale-badge refusal against depth that has not recorded its first point yet. **(2) The page derives the pair instead of retyping it**: `parseBudgets()` now captures the declared metric per row, and `pickPair()` picks the concurrent side as "the row the module declares with metric p95" and the sequential sibling as "the largest-budget median-series row" ??? no series name appears on the page twice, so a module change moves the page in the same push ([C25] applied to the pairing, not only the numbers). `budgetCard`/`trendCard` track each series' declared metric; the pair card renders **sequential median ??? p95 under concurrency** with the queueing framing in AR and EN, and an unrecorded load point renders an honest "not yet" note ??? never a zero and never a silent skip, so the nightly depth's absence cannot wear a live name ([C30]/[C27] applied to absence itself). **(3) The contracts bind all three directions**: `dde-perf-page.test.js` grew the budget table to ???4 series, pins **exactly one** p95-tracked series (`dde-http-load-perf` @ 600ms), pins the sequential sibling by the module rule (`dde-http-wire-perf:wire`), executes `pickPair/pairCard` against the recorded history in both states (absent ??? em-dash + "No recorded load point yet"; present ??? the recorded p95 value, never the median) and adds 2 page-mutation negative controls (the queueing framing rewritten to regression by name; the absence note deleted) ??? each applied and each bites; `perf-badges.test.js` +2 (absent load history waits silently + recorded history renders the p95 badge through the 600/750/1300ms color ladder); `load-runner.test.js` +1 **end-to-end linkage**: the runner's own `--json` report is handed to `benchmark-trend.mjs` in a sandbox and the appended row must carry the load series name, `metric: "p95"` and byte-for-byte the run's own p95 ??? the recorded tail cannot be a different number wearing the load label. `npm test` ??? **1296/1296** (+4); boundary audit **1530 files, 0 violations** (file count unchanged: this cycle only deepened committed files); docs-node **94 ?? 56 ?? 20** |
+| **v0.5.36 (2026-10-23, this session)** | **The committed ledger tears itself into a curve ??? `docs/DDE-TREND.html` plots the engine/wire/SDK medians and the tracker bot's next point lands on the page without a redeploy** ??? the perf board and the pull-down trend in `DDE-PERF.html` rendered the latest point per series, but the ledger the repo already commits (`benchmarks/perf-history.jsonl`) held the whole history and no live surface drew it: a reader opening the trend page sees the shipped data as numbers per series, not as the shape those numbers move in. **(1) The curves are drawn from the ledger itself**: the page fetches the committed `benchmarks/perf-history.jsonl` over the public raw endpoint (same no-token channel the perf board already uses), parses it line-wise, and plots the engine/wire/SDK median curves; a 60s poll re-fetches both sources (ledger + module) and redraws silently, so the tracker bot's next appended point moves the page with no release in the loop ??? the poll path is the same tokenizer the loader feeds, so a poll failure names its URL on a red strip instead of corrupting the canvas. **(2) The budgets are the module's, never the page's**: `parseBudgets()` derives each series' budget and declared metric from `scripts/benchmark-trend.mjs` bytes, so a module bump shifts the dashed budget line in the same push, and a curve series the module does not declare does not get a budget from memory ??? the honest absence renders instead ([C27]/[C25] applied to the curve panel, not only to the pair card). **(3) The contract binds the page to its bytes, not to look-alikes**: `test/delivery/dde-trend-page.test.js` (+8) executes `parseBudgets`, `latestBySeries`, `medianSeries`, `curveBySeries` and `curvePanel` inside a VM against the REAL page bytes and the REAL ledger bytes; docs-node validates the fetcher/polled contract through the same tokenizer; and the battery's five mutations (an invented fetch source, an absent index card, a dark-ledger source without a claim, an unregistered redraw and a deleted poll channel) plus one module-side mutation ??? each applies AND bites, and `docs/index.html` carries a new card walking users to `DDE-TREND.html` with a back-link from its board column. `npm test` ??? **1304/1304** (+8); boundary audit **1530 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
+| **v0.5.37 (2026-10-24, this session)** | **The perf trend gate names its first breach on the failing run's Summary page ??? series, baseline, ratio, beside the red gate** ??? the trend gate could go red with only a scrolling log line; a reviewer opening the run saw a red ??? with the offender buried. `scripts/benchmark-trend.mjs` now captures every drift breach as a structured '{ series, metric, current, baseline, ratio }' row and surfaces the FIRST one three ways: an `alert` object in the `--json` status, a stderr block in every mode, and a Markdown breach row appended to `` (CI) so the run's Summary tab renders the table `series | metric | current | baseline (5-run median) | ratio` beside the red gate ??? while everything the gate already promised holds: a breached run records NOTHING, the summary channel is append-only and best-effort (a failed append never flips the gate), and a report whose OWN gate is FAIL is a recording error, never a drift alert. `test/ci/perf-drift-alert.test.js` (+5) binds the structured alert's fields exactly (2.5ms against a 0.6ms five-run baseline = 4.17x), the rendered summary row, green-run silence, the FAIL-gate distinction and the append-only property. `npm test` ??? **1309/1309** (+5); boundary audit **1530 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
+| **v0.5.38 (2026-10-24, this session)** | **One badge answers 'are we inside the budgets?' ??? the aggregate perf??all sums the set by its worst case** ??? the README carried three series badges plus a raw link into the ledger; a reader wanting one glance had to read three numbers against three budgets, and nothing said the load series when its nightly point lands. `benchmark-trend.mjs --badges` now renders a fourth badge, `docs/badges/perf-all.svg` (`perf??all`), from ONLY the badges the run actually rendered ??? the always-on three tonight, the severity ladder by name: every series inside its budget ??? **green `all within budget`**; any series past its budget but inside the 2x regression bar ??? **yellow `N above budget`**; any series beyond the bar ??? **red `regression detected`** ??? and the nightly load tail joins automatically the moment it records its first point, so the aggregate can never show a state the set does not, with the same all-or-nothing atomicity (any series unresolvable ??? nothing written at all). README embeds it beside the three (`DDE perf ?? all`, same ledger anchor), and the badge contract grew teeth: `perf-badges.test.js` (+3) pins the green/yellow/red ladder through the exact engine budgets (50/75/120ms), pins the README-set equality at FOUR files, and the generation summary must list the aggregate it wrote. `npm test` ??? **1312/1312** (+3); boundary audit **1530 files, 0 violations** (+^`perf-all.svg`); docs-node **95 ?? 56 ?? 20** |
+| **v0.5.44 (2026-10-27, this session)** | **CI ???????? ?????? ?????????? ???????? + ?????? workflow ?????????? ???????????????? ?????????????????????? ??????????????** ??? the previous cycle pushed a commit (468f95b dated 2026-10-26, then c6a9efb) whose state-snapshot and claims-registry were STALE ??? they still measured the pre-`scaffold.yml` tree (898 files / 99 docs-node commands) ??? so CI's truth chain stayed green locally but went red on GitHub (current-state --check DRIFT + status-truth + docs-node). This cycle fixes it at the root: the snapshot and every citing surface are regenerated ON THE FINAL TREE, not back-filled. | **Both shipped templates are now exercised end-to-end on EVERY push ??? generated in a clean environment and run by their OWN internal tests, via `.github/workflows/scaffold.yml` ("Scaffold Runs")** ??? the generator's two templates were only proven by in-repo unit tests and the docs-node contract (which executes the documented command lines, not the scaffolds' own suites in the reader's world), so nothing in CI ever asked: does a freshly generated project, outside this repository's tree, actually install and pass its own tests as shipped? The workflow answers it on every push and PR: the DEFAULT scaffold is generated into a fresh `$RUNNER_TEMP` dir, its smoke suite (`node --test`, which imports the PUBLIC `@coreguard/sdk`) is run after installing the SDK's REAL dependency closure from packed tarballs ??? the publish gate's install-parity technique, npm linking command-line tarballs by name+version (13 packages), never workspace symlinks and never a registry publish assumption ??? and the DDE scaffold is generated into a second fresh dir where `node verify-dde.mjs` must exit 0 (VERIFIED, 9 PASS + 1 E5 NOT_RUN as designed), `node payout-gate.mjs` must exit **2** (the documented HOLD ??? a RELEASE on the shipped fixture fails the run BY NAME: the scaffold no longer teaches the boundary), and the scaffold's own 5 contract tests must pass. Both paths were dry-run locally to the same commands before shipping; the new file joins the guard class (lockfile check before setup-node, YAML zero-jobs guard ??? `check-workflows.mjs` now reports 6 workflow files) and survives the YAML parse contract 10/10. Suite **1333/1333** (unchanged ??? no new test file); boundary audit **1530 files, 0 violations** (the workflow file); docs-node **99 ?? 56 ?? 20** |
+| **v0.5.42 (2026-10-26, this session)** | **`--fixture-real`: the DDE scaffold can now be born from a REAL case, not only from the synthetic template** ??? `create:integration`'s `--dde` arm shipped a static, honestly-labeled synthetic fixture, so an operator who already passed the intake gate still had to hand-assemble the scaffold's fixture directory. The new flag pairs with `--dde` (`create-integration.mjs --dde --fixture-real `) and delegates the candidate ??? fixture conversion to the intake pipeline's OWN entry point (`examples/real-fixture-intake/convert-to-fixture.mjs`) ??? the identical bytes any operator or reviewer replays, never a re-typed copy ([C25]/[C27]): the prelude gate must come back GATE GREEN (exit 0) or the generator **removes the half-built scaffold and exits 1** (fail-closed: a GATE RED candidate scaffolds nothing, and no synthetic bytes ever ride along ??? the static `dde-fixture/` is excluded from the copy), converted records are the candidate's own (JSON-identical per record), origin `REAL`, pins re-hashed against the written bytes, and the REAL SDK engine must already have judged the conversion `VERIFIED` (the converter refuses anything else). Contract-tested at three levels: `test/p1/create-integration.test.js` (+3, 8 total ??? the real-merge scaffold verifies `VERIFIED` through the in-repo engine with the candidate's own records, the missing-`--dde` usage error, and a red candidate leaving no scaffold), the docs-node contract gained its own `--fixture-real` arm executing the documented scaffold over the SAME staged candidate the intake fences use (origin pinned `REAL`), and the contract's `&&`-chain splitter now honors the SAME per-line `expectFor` contracts as the single-command path ??? `payout-gate.mjs`'s documented exit 2 (the HOLD) is contract inside chains too. `npm test` ??? **1333/1333** (+3); boundary audit **1530 files, 0 violations**; docs-node **99 ?? 56 ?? 20** |
+| **v0.5.41 (2026-10-25, this session)** | **Every badge now names the commit it was measured at, and the quick-start templates graduate from prose to a live page** ??? the ledger said which medians the bot recorded but never said whose code produced them, and a reader of the README saw three badge numbers with no way back to the run behind them. **(1) Commit binding:** `benchmark-trend.mjs` now records `sha` (40-hex, from `git rev-parse HEAD` of the measured checkout) on every appended trend point, and `--badges` stamps each series badge with `data-sha="???"` of its latest point ??? the aggregate `perf??all` wears none by design (its set may span commits), and nothing is ever fabricated: no reachable git means no sha and no binding, ever ([C30]). The shared audit core grew teeth in both surfaces (working tree + main commit tree): wrong binding ??? STALE COMMIT BINDING by name, missing ??? same, fabricated (a sha the ledger never carried) ??? refused, aggregate with a single sha ??? refused. `test/ci/perf-commit-binding.test.js` (+4) proves each by control. **(2) QUICKSTART page:** `docs/QUICKSTART.html` documents `create:integration` and `--dde` with nothing hand-copied ??? commands derived from the generator's usage header and `package.json`, template trees from the GitHub API, the ten-record fixture re-verified LIVE in the tab through the committed engine with the acceptance predicate parsed from `payout-gate.mjs`; `test/delivery/quickstart-page.test.js` (+6) executes the page's derivations in a VM on real committed bytes and drives the REAL engine subprocess, and 4 mutations each apply AND bite. The index card joins the other cards. **(3) Scaffold honesty:** `verify-dde.mjs`/`payout-gate.mjs` resolved fixtures via `pathname`, which percent-encodes a path like `CORE DAO` into `%20` and breaks the DDE examples' first run on Windows ??? now `fileURLToPath`; the scaffold must run as-is anywhere. `npm test` ??? **1330/1330** (+10); boundary audit **1530 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
+| **v0.5.40 (2026-10-24, this session)** | **The badge sync is audited at the tip main SERVES, not only at the checkout's working tree** ??? v0.5.39's freshness audit read the working tree; a `git cat-file` view of main tells the truth a checkout can hide: the same sync could break on main (Pages/README serve the COMMITTED bytes) while an uncommitted local regen keeps the working tree green. `test/ci/main-badge-sync.test.js` (+4) reads the GIT COMMIT TREE of main ??? ledger, module badge table and every `docs/badges/*.svg` via `git cat-file -p ][:path` and `git ls-tree`, resolved HEAD on main checkouts else `refs/remotes/origin/main`, and FAILS NAMED when neither is reachable (an audit that reported green while auditing nothing would be the exact lie it exists to refuse). The audit core moved to `test/ci/badge-audit.mjs` so both surfaces (working tree + commit tree) consume ONE derivation of the same rules ??? no duplicated budget regex, per [C25]/[C27]. Three contracts bind it: main's badge set shows main's ledger-latest points (a stale one fails immediately by name), main's badge table parses from the SAME tree it serves (a rewritten table is caught), and a staged newer ledger point bites `STALE` by name ??? proving the audit reads committed bytes, not checkout files. `npm test` ??? **1320/1320** (+4); boundary audit **1530 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
+| **v0.5.39 (2026-10-24, this session)** | **A stale badge can no longer hide ??? badge freshness is now audited at commit granularity, caught on the local push before GitHub ever sees it** ??? the trend bot regenerates the badges and appends the medians in the SAME commit, but nothing enforced that pairing: a cycle that moved the ledger without regenerating a badge (or the mirror) would leave the README advertising last cycle's number with today's credibility, and `perf-badges.test.js` could not see it because it tests the generator in sandboxes ??? staleness is only visible in the COMMITTED bytes. `test/ci/badge-freshness.test.js` (+4) closes it by re-deriving exactly what `--badges` rendered, from the same sources and NO retyped budget: every BADGE_SERIES row is parsed from the module (the same regex the live pages use, per [C25]/[C27]), the committed `docs/badges/*.svg` for each series must show the ledger's LATEST recorded point AND the ladder-verdict color, `perf-all` must be the worst case of exactly the rendered set (nightly absence honored ??? no badge before its first point), and any committed `perf-*` file the module does not declare is an unregenerable artifact that fails by name (the CG-BDG/1 `specimen-*` SVG family is explicitly carved out ??? a different system, owned and regenerated by CG-BDG/1). Three mutation controls each apply AND bite by name: a stale engine value (ledger 0.0999ms vs badge 0.105ms ??? 'STALE (re-run --badges)' named file+series+values), a lying color (green number the ladder calls yellow), and a phantom badge (committed `perf-phantom.svg` no module row declares). This audit wired into `test/ci` means every pre-push and CI run catches badge???ledger divergence before the run is green. `npm test` ??? **1316/1316** (+4); boundary audit **1530 files, 0 violations**; docs-node **95 ?? 56 ?? 20** |
+| **v0.5.31 (2026-09-30, this session)** | **The runners' own reports leave the runner** ??? dde.yml now uploads the SDK + wire perf reports (the `--json` medians) as ONE `dde-runner-reports` artifact per run: `retention-days: 30` PINNED (an unpinned retention silently defaults and drifts), `if-no-files-found: error` (evidence is fail-closed, not best-effort), placed after both benchmarks and BEFORE the trend gate so the evidence lands even when the gate defers or goes red. The workflow-yaml contract grew the artifact clause ??? exactly one uploader, both report paths, the pinned retention, a major-pinned action, and the ordering ??? with 6 negative controls each applied-and-bites (retention drift ?? pin removal ?? emptiness made silent ?? wire report dropped ?? benchmark step renamed ?? uploader unpinned); the battery is CRLF-normalized per [C3] after the first draft silently applied only 3 of 6 on this Windows checkout. `npm test` ??? **1245/1245** (+2); boundary audit **1530 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
+| **v0.5.30 (2026-09-30, this session)** | **The proxy posture now speaks all three front doors** ??? the boundary doc's production section gained Caddy and Traefik equivalents beside nginx (the section that already carried a structural CI contract): Caddy with its honest build choice spelled out (no standard rate-limit module ??? claim it and the section names the degenerate shared-budget failure; module build or Traefik are the honest per-client paths), `reverse_proxy` to the documented loopback bind, `request_body max_size` at the 1 MiB cap, ACME/internal/pinned TLS; Traefik with the full translation (`rateLimit` average 10 / burst 20 mirroring the nginx fence, `buffering.maxRequestBodyBytes` = 1048576, entry-point TLS, forwarded headers logging-only) ??? both with their own "Never do" list. Zero fences executed, zero new start lines, zero nginx fences added: the nginx-conf, doc-curl, and docs-node contracts stay byte-stable, and the doc-freshness contract holds the new sections to the same live-code anchors (loopback socket, the 1 MiB cap, no fresh DNS claims). `npm test` ??? **1243/1243** (unchanged: docs-only cycle); boundary audit **1530 files, 0 violations**; docs-node **94 ?? 56 ?? 20** |
| **v0.5.29 (2026-09-27, this session)** | **"The twins are identical" would have been the second dead number in a row** ??? v0.5.28 pinned the AR page's 277-key dictionary and left the EN sister's cross-file parity unguarded. The obvious fix is to assert the two files match. Measured first, they do **not**, and the divergence is *designed*: the AR page is the interactive twin (it carries the language switcher), the sister is the printable twin (printhead + print button) ??? which is precisely why the [C5] dictionary walk dropped the EN `printhead` subtree first. So a "they must be equal" test would have been **637 all over again**: a number that reads like a guarantee, matches nothing, and fails the first time a real design decision meets it. `test/p2/gate41-visual-en-parity.test.js` pins the drift that must never happen instead: all **277** dictionary `.en` values appear **verbatim** in the sister (0 absent ??? the cross-file link is real and it holds); the load-bearing element counts are **identical** (section 10 ?? h2 10 ?? h3 12 ?? tr 30 ?? td/th 95 ?? p 19 ?? a 14 ?? ids 34), because a row or heading present in one twin only means the sister is a **stale snapshot** ??? invisible to any per-file test; the only permitted tag differences are `b`/`span`/`div` each **+1** in the sister, pinned **as a set** and re-checked against the `printhead` that causes them, so a new divergence cannot hide beside a sanctioned one; the sister stays **dictionary-free** (0 `data-i18n`, 0 `D.nodes`, 0 `L()`) because it is literal English and a second dictionary would be a second source of truth ([C27]); it leaks **no Arabic** across 539 text runs; and `lang`/`dir` are asserted per twin, since a wrong `dir` silently reverses the whole board's order while every text assertion still passes. Two findings the sweep produced that nobody had asked about: **(a)** **221 of 277** `.ar` values are already literal Arabic in the static markup, so the AR page renders with **JS disabled** ??? the dictionary is the switcher's payload, not the page's only text source, and that count is now pinned so stripping the literal Arabic (a silent availability regression every dictionary-level check would pass) cannot land unnoticed; **(b)** the role asymmetry (AR `langBtn` ??? EN `printBtn`) is pinned **as fact**, so a future session neither "fixes" a deliberate difference nor lets a dead button rot. The 12-control battery reports **coverage rather than a count** ??? all 8 tests had to be *observed failing*, which forced the harness onto `--test-reporter=tap` after the default reporter's glyph output made the extractor silently find zero failures (the ASCII-grep trap, live). Measured: **1201/1201** ?? **836 files ?? 0 violations** ?? docs-node 94/55/20 ?? freeze 49/49. |
| **v0.5.30 (2026-11-07, this session)** | **The publish cycle: CG-BDG/1 becomes the repo's first npm-shaped package, the last live 404s are fixed, the honesty mirror lands on every surface ??? and the count discipline caught its own session red before the push.** **(1) The package**: `packages/badge/package.json` (`@coreguard-global/coreguard-badge@1.1.0` ?? `publishConfig.registry` = `npm.pkg.github.com` ?? zero runtime deps ?? import-safe CLI) + a package README written with `text` fences only, so the docs-node contract acquires NO runnable command from an artifact README; `npm install` refreshed the lock (`check-lock-sync`: 23 workspaces). Publication executes on this SHA post-CI; npmjs.com stays double-gated pending `NPM_TOKEN`. **(2) Sixteen live pages ?? 56 unique URLs audited, every non-200 fixed in this commit**: `docs/index.html` LICENSE links (`../LICENSE.md` escaped the Pages root ??? canonical repo-blob URLs), `docs/BRAND.html` 16 identity refs (`../assets/*` ??? canonical `raw.githubusercontent.com/main/assets/*` ??? the brand SVGs live at repo ROOT, unreachable by any relative path from a `docs/`-rooted page), and `docs/DELIVERY-DISPUTE-DEMO.html` pagesLink (`/deployments/pages` ??? an authenticated UI route ??? `actions`, the public runs list) whose label no longer promises a check nothing performs. **(3) The Stellar honesty mirror is pinned verbatim on the org profile README** (live via gh api, `42b6c31`) **and the repo README roadmap section** ??? same five lines, every surface. **(4) The red run that earned its keep**: +2 files moved the boundary 1045???1047 (snapshot regenerated; claims registry re-DERIVED with `--write`, never patched) and the same run exposed a ghost: an untracked `.tmp-release-notes.md` on the dev disk sat inside the docs-node contract's disk walk, adding 5 phantom executed commands + 1 phantom covered doc (a snapshot said 125/26 while the fresh-clone truth stayed 120/75/25); release notes now exist only as `.txt`, closed by construction, and every generated registry that cited the count (claims ?? integration-registry ?? evidence-passport-v2 ?? adoption-dashboard) plus seven hand-cited surfaces were refreshed to **1047** from their sources, never bulk-rewritten. Fresh-clone truth at commit: **1047 files ?? 0 violations ?? docs-node 120/75/25**. |
| **v0.5.31 (2026-11-07, this session)** | **The doc number becomes a bonded claim ??? every tests-count a doc states must equal the measured snapshot total, and the Soroban hardening lands as additive lanes** ??? `docs/CLAIMS-TAXONOMY.md` (Arabic-first + EN mirror; no numbers, no fences) defines the honest vocabulary; `test/ci/doc-numbers.test.js` (+7) binds every tests-claim in README/docs + dated-instrument allowlist + [C35] floors (???20 hits, README ???1); the Soroban authorized lane (`commit_authorized` derives the id from owner+hash in-contract, `owner.require_auth()` host-gates a separate `Key::AuthAnchor` namespace, `assert_anchored_authorized` public fail-closed) lands in `soroban/commitment-anchor/src/lib.rs` (8 Rust tests ??? Rust truth = the CI `soroban-rust` job, [C39]) mirrored in `packages/stellar-soroban/index.mjs` (+8: `AUTH_ANCHOR_DOMAIN`, fail-closed `deriveAuthorizedAnchorId`, `ownerScValOrGated` invoke path) with a byte-pinned cross-language known-answer vector; ci.yml repair (workflow-yaml 10/10) and the full doc re-sync (1436 ??? 1451 tests ?? 1050 files, 24 + 1 stale surfaces fixed in the SAME push) keep snapshot, STATUS, and every citing doc on one number |
| **v0.5.32 (2026-11-08, this session)** | **Hardening batch closed end-to-end: the Soroban Rust truth went green in CI, and the batch's final reports landed as dated instruments** ??? three commits fixed the CI `soroban-rust` job from inside the committed code (compile: `extend_from_array` arity + no `Bytes::push`; runtime: the Rust test's `executed_hash` bytes 22???31 re-aligned to the JS-true `0xc0dbfb45???1052`, the test strkey swapped to the genuine pinned issuer `GA5ZSEJY???KZVN`, `mock_all_auths()` added to the four authorized-lane write tests) ??? CI run `42413913560` on `ea7e154d???`: ALL 5 jobs green incl. **Soroban contract (Rust tests)**, Pages `built`, post-push `CHECK OK`; `docs/FINAL-REPORT-2026-11-07-ar.md` + its EN mirror `docs/FINAL-REPORT-2026-11-07.md` (Arabic-first + EN mirror, same numbers/hashes fact-for-fact, "as-landed" honesty note each) join the allowlisted dated instruments in the SAME push they land (doc-numbers rule), carrying the batch's 1451 / 1050 / 120??75??25 facts pinned to `ea7e154`; boundary 1050 ??? 1052 files in the same push (+2 = the two reports), snapshot regenerated post-`git add`, and every citing surface re-synced (STATUS row + EXECUTIVE-SUMMARY + EVIDENCE-MATRIX + both grant applications + PITCH-DECK + LINKEDIN-CONTENT + SCF-BUILD + adoption dashboard regenerated live from the snapshot) ??? no stale number shipped |
-| **v0.5.33 (2026-11-08, this session)** | **The owner-decision instrument + the fail-closed owner-authorized deploy runner + CI-produced wasm deploy material ??? the hardening batch's authorized lane gets its recorded deploy path** ??? `docs/OWNER-DECISIONS-2026-11-08.md` (Arabic-first + EN mirror, fence-free: an INDENTED machine block so the docs-node contract acquires NO runnable commands; joined the doc-numbers allowlist in the SAME push) records the owner's explicit decision BEFORE any transaction: `authorized_deploy: YES ?? network: mainnet ?? wallet-file: .stellar-wallet.json ?? wasm-material = CI artifact cg-commitment-anchor-wasm (provenance = manifest.headSha ancestor-of-HEAD) ?? wasm-forbidden = the in-tree a80d8f9 artifact ?? mainnet-lane-writes: NONE ?? first-authorized-write = FUTURE SEPARATE OWNER DECISION ?? rehearsal REQUIRED first on testnet ?? fee-floor 1000000 + 1.5x-policy ?? the never list (secrets never printed; deployed/1 untouched; no EVM; no npm publish; no SCF) ??? and the runner reads THIS doc at gate time; `scripts/stellar-soroban-authorized-deploy.mjs` (+16 offline tests, every gate green + applied-and-bite) executes the exact scope: explicit `--wasm-path` only, mainnet double-gated (doc-marker parse + `--owner-authorized` + manifest identity {runId>0, artifactName, wasmSha256 == sha256(bytes), headSha ancestor-of-HEAD via `git merge-base --is-ancestor`} + PASSED rehearsal artifact + fee floor/1.5x policy + read-only balance preflight ??? 2 XLM); testnet `--rehearse` runs the FULL authorized-lane exercise (owner-key `commit_authorized` on the pinned known-answer vector ??? idempotent replay ??? ephemeral wrong-owner probe ??? `assert_anchored_authorized` hash-mismatch probe ??? BOTH probes simulation-only by construction, never submitted); deterministic salt `sha256(deployer : wasmSha256)` makes a re-run land at the SAME address and the already-deployed branch refuses to double-charge (exit 4); artifacts in `docs/evidence/` are digest-stable with `generatedAt` OUTSIDE the digest, and wire reads stay raw per [C37]; `.stellar-wallet.json` is loaded in-process once per run and its material NEVER reaches a console line, an error message, or an artifact (only the PUBLIC key travels ??? enforced by a source-scanner in the battery); `.github/workflows/ci.yml` soroban-rust now also builds `wasm32-unknown-unknown --release --locked` (the standard Soroban deploy target; wasm32v1-none is no-std and cannot carry the dependency tree ??? measured: red run 42493941713, error E0463, fixed same session) and uploads exactly ONE artifact `cg-commitment-anchor-wasm` (retention 30 pinned, `if-no-files-found: error`) so deploy material comes from CI on the recorded HEAD ??? the dev box cannot run cargo ([C39]) and the in-tree artifact predates the authorized lane (a fake authorized-lane deploy is refused by the provenance gate). `npm test` ??? **1467/1467** (+16); boundary audit **1529 files, 0 violations**; docs-node **120 ?? 75 ?? 25** (the decision instrument is fence-free, so the contract acquires no runnable commands) |
+| **v0.5.33 (2026-11-08, this session)** | **The owner-decision instrument + the fail-closed owner-authorized deploy runner + CI-produced wasm deploy material ??? the hardening batch's authorized lane gets its recorded deploy path** ??? `docs/OWNER-DECISIONS-2026-11-08.md` (Arabic-first + EN mirror, fence-free: an INDENTED machine block so the docs-node contract acquires NO runnable commands; joined the doc-numbers allowlist in the SAME push) records the owner's explicit decision BEFORE any transaction: `authorized_deploy: YES ?? network: mainnet ?? wallet-file: .stellar-wallet.json ?? wasm-material = CI artifact cg-commitment-anchor-wasm (provenance = manifest.headSha ancestor-of-HEAD) ?? wasm-forbidden = the in-tree a80d8f9 artifact ?? mainnet-lane-writes: NONE ?? first-authorized-write = FUTURE SEPARATE OWNER DECISION ?? rehearsal REQUIRED first on testnet ?? fee-floor 1000000 + 1.5x-policy ?? the never list (secrets never printed; deployed/1 untouched; no EVM; no npm publish; no SCF) ??? and the runner reads THIS doc at gate time; `scripts/stellar-soroban-authorized-deploy.mjs` (+16 offline tests, every gate green + applied-and-bite) executes the exact scope: explicit `--wasm-path` only, mainnet double-gated (doc-marker parse + `--owner-authorized` + manifest identity {runId>0, artifactName, wasmSha256 == sha256(bytes), headSha ancestor-of-HEAD via `git merge-base --is-ancestor`} + PASSED rehearsal artifact + fee floor/1.5x policy + read-only balance preflight ??? 2 XLM); testnet `--rehearse` runs the FULL authorized-lane exercise (owner-key `commit_authorized` on the pinned known-answer vector ??? idempotent replay ??? ephemeral wrong-owner probe ??? `assert_anchored_authorized` hash-mismatch probe ??? BOTH probes simulation-only by construction, never submitted); deterministic salt `sha256(deployer : wasmSha256)` makes a re-run land at the SAME address and the already-deployed branch refuses to double-charge (exit 4); artifacts in `docs/evidence/` are digest-stable with `generatedAt` OUTSIDE the digest, and wire reads stay raw per [C37]; `.stellar-wallet.json` is loaded in-process once per run and its material NEVER reaches a console line, an error message, or an artifact (only the PUBLIC key travels ??? enforced by a source-scanner in the battery); `.github/workflows/ci.yml` soroban-rust now also builds `wasm32-unknown-unknown --release --locked` (the standard Soroban deploy target; wasm32v1-none is no-std and cannot carry the dependency tree ??? measured: red run 42493941713, error E0463, fixed same session) and uploads exactly ONE artifact `cg-commitment-anchor-wasm` (retention 30 pinned, `if-no-files-found: error`) so deploy material comes from CI on the recorded HEAD ??? the dev box cannot run cargo ([C39]) and the in-tree artifact predates the authorized lane (a fake authorized-lane deploy is refused by the provenance gate). `npm test` ??? **1467/1467** (+16); boundary audit **1530 files, 0 violations**; docs-node **120 ?? 75 ?? 25** (the decision instrument is fence-free, so the contract acquires no runnable commands) |
| **v0.5.34 (2026-11-10, this session)** | **The Phase-3 mainnet rejection gets its CODED root cause, and the deploy runner now refuses the same failure locally before it ever submits** ??? the committed mainnet artifact's REJECTED `upload(wasm)` `errorResultXdr` (`AAAAAAfMyDb////5AAAAAA==`) decoded through the SDK's OWN schema enum (an earlier hand-ordered table had the arm two positions wrong) reads **`txInsufficientBalance` (-7) at `feeCharged` 130,861,110 stroops** ??? composition provable from the artifact's own numbers (requested inclusion bid 1,000,000 + simulation-priced WASM-upload resource fee 129,861,110), while the funded deployer held 3.5069800 XLM = 35,069,800 stroops: the fee cannot be paid (balance-after-fee would fall below minimum balance), so the network refused BEFORE any effect ??? deterministic, not transient, and NOT the suspected `txBadSeq`/`txBadAuth` (the same canonical enum re-binds the rehearsal's measured blob to `-5/txBadSeq` at feeCharged 40674, fact-checking the runner's own resume-path comment). The remedy is FUNDING, never a lower `--fee`: the EXACT solvent minimum for THIS account is 130,861,110 + 3 ?? 5,000,000 = **145,861,110 stroops = 14.5861110 XLM** (the account carries one USDC trustline from the signed swap cycle, so `subentry_count` 1 raises the ledger minimum to 1.5 XLM; recommended funding 16 XLM for headroom) ??? `scripts/stellar-soroban-authorized-deploy.mjs`: pre-send fee-solvency gate consults BEFORE any `sendTransaction` (zero-submission coded refusal, `rejectFace: PRE_SEND_SOLVENCY`), the per-account minimum is read live from the wire (`subentry_count`; sponsored shapes keep the documented LOWER bound and the ledger keeps the final word), artifacts SELF-DECODE rejections hereafter (canonical name + numeric code + feeCharged ??? the `resultCode: null` hole can never return), solvency evidence travels IN the artifact (`deployerBalanceStroops` / `minBalanceReserveStroops` / `minBalanceReserveFace`), and `finalizeVerdict` no longer stamps the full EXECUTED ??? VERIFIED verdict over REJECTED/FAILED/TIMEOUT steps (the false-verdict class, measured on the committed artifact itself: steps REJECTED/deployed:false sat under a VERIFIED summary line). Battery `test/integrations/stellar-soroban-authorized-deploy.test.mjs` 17 ??? **21**, every test applied-and-bite: the committed-artifact BYTES-bound decode (fresh-clone-reproducible), decode fail-closed probes, the fee-solvency measured + boundary battery (exact `xlmStringToStroops` money parity; beyond-precision fractions refuse) and a source contract pinning consult-before-submit + self-decoding artifacts + the verdict downgrade rule. Full suite **1472/1472**; snapshot/claims/registry regenerated same push; PR #11 stays REVIEW_REQUIRED (no bypass); the owner's next funded re-run is the SAME command once the wallet holds ??? 14.5861110 XLM (16 XLM recommended), Phase 5 follows a landed deploy |
| **v0.5.35 (2026-11-10, this session)** | **Phase 5 closed end-to-end: the live mainnet proof verified (LIVE-VERIFIED) + suite 1511/1511** ??? the owner-funded wallet (`GDJ3CRNLNDZ4AVWGPUG7DBC5BIAGMIONOONZGB5FSYAY44ZHOIPRKY7U`) held 16 XLM, Phase 3 executed (`upload`+`create` INVOKED, contract `CAZ3LQEMB37KICXEANKVMRNWMB5MD3O4FBC5GORB7QVUJE2WCPAHQPZB`, wasm sha256 `65da850c???8257`, honest `NOT_CONFIRMED` on the deploy-only readback) and Phase 5 proved it LIVE (`MAINNET AUTHORIZED-LANE DEPLOY LIVE-VERIFIED (create proven from its own result meta; fresh-vault readback SIMULATED_NONE; balance arithmetic exact to the stroop)`; first-attempt artifact archived REJECTED with the coded `txInsufficientBalance (-7)` root cause; battery 25/25; full suite `npm test` ??? **1511/1511 pass** (snapshot re-pinned `testsTotal` 1511, `filesScanned` 1092, docs-node 122??79??27); PR #11 stays REVIEW_REQUIRED (no bypass) |
| **v0.5.45 (2026-11-12, this session)** | **PSAR/1: the pre-sign authorization receipt ships end-to-end, honestly labeled** - an authorization decision can now be issued as a receipt bound to the EXACT transaction XDR bytes BEFORE any signature exists, and a wallet re-derives the whole decision itself (canonical sorted-key JSON + sha256 over the exact XDR string + Ed25519 against a pinned issuer key), fail-closed to PASS or BLOCK only with 10 frozen reject codes (a verifier error is itself a BLOCK, never a pass) and `executionProof: NOT_INCLUDED` on every verdict - a pre-sign receipt never reads as proof that anything executed. Landed: `packages/stellar/presign.mjs` (`coreguard.psar/1`) + `test/integrations/stellar-presign.test.mjs` (+27: known-answer vectors, fail-closed set, canonical binding, malformed shapes, deterministic re-issue) + `examples/stellar-presign/demo.mjs` (`npm run stellar:presign` - offline arc: real unsigned envelope ??? PASS, tampered amount ??? BLOCK XDR_BINDING_MISMATCH, lapsed window ??? BLOCK RECEIPT_EXPIRED, self-asserting, exit 0) + the proposal `docs/freighter-presign-integration-proposal-2026-11-12.md` (a scoped 5-point technical evaluation for wallets, answering stellar/freighter #3087's concrete-value question; holds the ONE bash fence for that command; no third Freighter comment was posted - the advisory was build the proof first, and the proof is this push) + surface `stellar-presign-receipt` in `docs/surface-status.json` (BUILT / TEST_EXECUTED / NOT_BUILT) + claim `CL-STELLAR-PRESIGN-RECEIPT` (VERIFIED, L1) + `test/ci/doc-numbers.test.js` extended to index.html (a stale suite count had lived on the landing page since launch) + the full suite-count sweep across every citing surface (1526 ??? 1566); snapshot / claims registry / passports / dashboard regenerated in the SAME push; no signing, no wallet, no network; integration stays NOT_BUILT until a wallet ships it; +13 adopted in the same reconciliation push from the parallel signed-envelope session (field-tamper + replay-determinism batteries) |
diff --git a/docs/TWITTER-CONTENT.md b/docs/TWITTER-CONTENT.md
index 47414d07..1a28563f 100644
--- a/docs/TWITTER-CONTENT.md
+++ b/docs/TWITTER-CONTENT.md
@@ -100,7 +100,7 @@ https://github.com/coreguard-global/CoreGuard
CoreGuard is open source. Every claim is machine-verified.
2009 tests passing.
-1529 files scanned.
+1530 files scanned.
0 boundary violations.
18/18 release gate legs.
diff --git a/docs/claims-registry.json b/docs/claims-registry.json
index a72e65ed..b7eee56e 100644
--- a/docs/claims-registry.json
+++ b/docs/claims-registry.json
@@ -68,7 +68,7 @@
"recheck": "npm run boundary:audit",
"external": false,
"derived": {
- "filesScanned": 1529,
+ "filesScanned": 1530,
"violations": 0
},
"deriveError": null,
diff --git a/docs/numbers.json b/docs/numbers.json
index 849f1864..ac9185fb 100644
--- a/docs/numbers.json
+++ b/docs/numbers.json
@@ -16,7 +16,7 @@
{
"id": "boundary-files",
"label": "Boundary audit — files scanned",
- "value": 1529,
+ "value": 1530,
"unit": "files",
"source": "docs/state-snapshot.json#boundaryAudit.filesScanned",
"note": "Tracked files from `git ls-files` (ignored trees such as var/ are not counted)."
diff --git a/docs/state-snapshot.json b/docs/state-snapshot.json
index 8819425d..30f1aa0d 100644
--- a/docs/state-snapshot.json
+++ b/docs/state-snapshot.json
@@ -4,7 +4,7 @@
"commitsAheadOfV060": 555,
"testsTotal": 2009,
"boundaryAudit": {
- "filesScanned": 1529,
+ "filesScanned": 1530,
"violations": 0,
"check": "PASS"
},
diff --git a/scripts/aer1-interop.mjs b/scripts/aer1-interop.mjs
index 18fc5600..df6b2548 100644
--- a/scripts/aer1-interop.mjs
+++ b/scripts/aer1-interop.mjs
@@ -19,6 +19,7 @@
*/
import { readFileSync, writeFileSync, existsSync, mkdirSync } from "node:fs";
+import { createHash } from "node:crypto";
import { join, dirname } from "node:path";
import { fileURLToPath, pathToFileURL } from "node:url";
import { parseAer1Record, AER1_PARSER_VERSION } from "../packages/agent-commerce/aer1.mjs";
@@ -30,6 +31,38 @@ const OUT = join(ROOT, "docs/AER1-INTEROP-TABLE.md");
const KIT = "1.5.7";
const SET_DIGEST = "sha256:60bf73f325793e16843370cfa24903bb0d017525cb297e42bebc35857e2db0d2";
+/**
+ * The reference kit's column, as published by Brennan on 2026-11-23:
+ * python3 conformance.py at kit commit e04e4c91…, standard library only,
+ * self-verifying the evaluated set before judging any vector.
+ * The raw file is vendored so this table can be regenerated offline, and its
+ * sha256 is pinned so a changed column is a deliberate act, not a silent edit.
+ */
+const KIT_COMMIT = "e04e4c91d4630a2e0ceb4e12c48accacac10155e";
+const KIT_COLUMN_FILE = join(ROOT, "test/fixtures/aer1-kit-column-1.5.7/kit-column-2026-11-23.txt");
+const KIT_COLUMN_URL = "https://github.com/zambodotdev/aer1-kit/blob/main/interop/kit-column-2026-11-23.txt";
+const KIT_COLUMN_SHA256 = "eb6cec8cf8d927c6af0460913fbf82ae1e2ae021b2cdde295b4d7c3aa4b29cd9";
+
+/** The kit's family tags, mapped onto the family keys this table prints. */
+const KIT_FAMILY_TO_OURS = Object.freeze({
+ valid: "valid",
+ invalid: "invalid",
+ "profile-invalid": "invalid-profile",
+ anchored: "anchored",
+ "id-binding": "id-binding",
+ unicode: "unicode",
+ merkle: "merkle",
+ "merkle-workflow": "merkle",
+ commitment: "commitment",
+ chain: "chain",
+ "chain-v07": "chain",
+ "workflow-root": "workflow-merkle-seq-output-v1",
+ anchor: "anchor",
+});
+
+/** Families whose vectors this build loads as single records, so a join miss is an error. */
+const RECORD_FAMILIES = new Set(["valid", "invalid", "invalid-profile", "anchored"]);
+
const index = JSON.parse(readFileSync(join(CORPUS, "corpus-index.json"), "utf8"));
const files = index.files ?? [];
@@ -39,6 +72,42 @@ const EXPECTED = (path) => {
return null; // anchored / families with mixed outcomes are not classified by path
};
+const sha256OfFile = (path) => `sha256:${createHash("sha256").update(readFileSync(path)).digest("hex")}`;
+
+/**
+ * Parse the reference kit's raw output: `[family] name: PASS (note)` lines plus
+ * its closing CONFORMANCE OK line. Every line is a check, not a vector: the
+ * merkle family's 9 vectors carry 12 checks, which is where 146 comes from.
+ */
+export function parseKitColumn(text) {
+ const checks = [];
+ let footer = null;
+ for (const line of text.split("\n")) {
+ const check = /^\[([^\]]+)\]\s+(.+?):\s+PASS(?:\s+\((.*)\))?\s*$/.exec(line);
+ if (check) {
+ checks.push({ family: check[1], name: check[2], note: check[3] ?? null });
+ continue;
+ }
+ const done = /^CONFORMANCE OK: (\d+) vectors, (\d+) checks, (sha256:[0-9a-f]{64})$/.exec(line.trim());
+ if (done) footer = { vectors: Number(done[1]), checks: Number(done[2]), digest: done[3] };
+ }
+ return { checks, footer };
+}
+
+/** A kit check either ends in a refusal or in a pass; the note names the reason. */
+const kitOutcome = (check) =>
+ check.note !== null && /rejected|verification failed|outcome: invalid/.test(check.note) ? "invalid" : "verified";
+
+function loadKitColumn() {
+ if (!existsSync(KIT_COLUMN_FILE)) throw new Error(`reference kit column missing: ${KIT_COLUMN_FILE}`);
+ const text = readFileSync(KIT_COLUMN_FILE, "utf8");
+ const actual = `sha256:${createHash("sha256").update(text).digest("hex")}`;
+ if (actual !== `sha256:${KIT_COLUMN_SHA256}`) {
+ throw new Error(`reference kit column changed: expected sha256:${KIT_COLUMN_SHA256}, found ${actual}`);
+ }
+ return { ...parseKitColumn(text), sha256: actual, url: KIT_COLUMN_URL, commit: KIT_COMMIT };
+}
+
function classifyRecord(record, rawText) {
const parsed = parseAer1Record(record, { rawText });
if (!parsed.supportedVersion) return { observed: "not_checked", reason: `schema ${parsed.version ?? "(absent)"} not implemented`, parsed };
@@ -66,8 +135,43 @@ function runIdBinding() {
return rows;
}
+/**
+ * Join the two columns on vector name. A kit check for a record family that no
+ * corpus file matches is a broken join, and a verdict that differs is a
+ * divergence — the row Zambo asked to be able to point at.
+ */
+function buildKitJoin(kit, observedByName, idRows) {
+ const rows = new Map();
+ const orphans = [];
+ for (const c of kit.checks) {
+ const key = KIT_FAMILY_TO_OURS[c.family] ?? c.family;
+ const row = rows.get(key) ?? { key, checks: 0, verified: 0, invalid: 0, compared: 0, divergences: [], notCompared: 0 };
+ row.checks += 1;
+ if (kitOutcome(c) === "invalid") row.invalid += 1;
+ else row.verified += 1;
+ const ours = observedByName.get(c.name);
+ if (RECORD_FAMILIES.has(key) && ours === undefined) orphans.push(c.name);
+ if (ours !== undefined && ours !== "not_checked") {
+ row.compared += 1;
+ if (ours !== kitOutcome(c)) row.divergences.push({ name: c.name, ours, kit: kitOutcome(c), note: c.note });
+ } else {
+ row.notCompared += 1;
+ }
+ rows.set(key, row);
+ }
+ // The id-binding family is judged on its own axis (structure + id state), so
+ // its comparison comes from those rows rather than from a record verdict.
+ const idRow = rows.get("id-binding");
+ if (idRow !== undefined && idRows !== undefined) {
+ idRow.compared = idRows.length;
+ idRow.divergences = idRows.filter((r) => !r.agree).map((r) => ({ name: r.name, ours: "disagree", kit: "pass", note: null }));
+ }
+ return { rows, orphans };
+}
+
function runCorpus() {
const families = new Map();
+ const observedByName = new Map();
const falseAccepts = [];
const falseRejects = [];
const notChecked = [];
@@ -103,6 +207,10 @@ function runCorpus() {
continue;
}
const { observed, reason } = classifyRecord(data, text);
+ // Only families this build actually judges are comparable. An anchored
+ // record whose anchor layer is not evaluated is not_checked, even when its
+ // structural verdict happens to be "pass".
+ observedByName.set(f.path.split("/").pop(), same.expected === null ? "not_checked" : observed);
const expected = same.expected;
if (expected === null) {
// anchored / mixed families: this build does not judge them yet
@@ -126,7 +234,22 @@ function runCorpus() {
const rows = [...families.values()];
const sum = (k) => rows.reduce((n, r) => n + r[k], 0);
+ const kit = loadKitColumn();
+ const kitJoin = buildKitJoin(kit, observedByName, runIdBinding());
return {
+ kitPins: {
+ kit: KIT,
+ commit: kit.commit,
+ columnUrl: kit.url,
+ columnSha256: kit.sha256,
+ setDigest: SET_DIGEST,
+ vectors: kit.footer?.vectors ?? null,
+ checks: kit.footer?.checks ?? null,
+ footerDigest: kit.footer?.digest ?? null,
+ parserFile: sha256OfFile(join(ROOT, "packages/agent-commerce/aer1.mjs")),
+ generatorFile: sha256OfFile(join(ROOT, "scripts/aer1-interop.mjs")),
+ },
+ kitJoin: { rows: Object.fromEntries(kitJoin.rows), orphans: kitJoin.orphans },
kit: KIT,
setDigest: SET_DIGEST,
parserVersion: AER1_PARSER_VERSION,
@@ -188,10 +311,12 @@ function render(report) {
out.push(`| false reject (ours) | ${r.totals.falseReject} |`);
out.push(`| not checked (unimplemented family, schema or anchor) | ${r.totals.notChecked} |`);
out.push("");
- out.push("## Families");
+ out.push("## Families and the joined verdicts");
out.push("");
- out.push("| Family | Vectors | Agree | False accepts | False rejects | Not checked |");
- out.push("|---|---|---|---|---|---|");
+ out.push("Two columns from two runners against the same pinned set, joined on vector name. The kit column is generated from the reference kit's own run (pinned below), not typed from the classification.");
+ out.push("");
+ out.push("| Family | Vectors | CG-AER1/1 | Reference kit | Divergence |");
+ out.push("|---|---|---|---|---|");
const grouped = new Map();
for (const f of r.families) {
const key = familyKey(f.path);
@@ -199,8 +324,25 @@ function render(report) {
for (const k of Object.keys(g)) g[k] += f[k] ?? 0;
grouped.set(key, g);
}
+ const joined = r.kitJoin.rows;
for (const [key, g] of [...grouped.entries()].sort((a, b) => b[1].vectors - a[1].vectors)) {
- out.push(`| \`${key}\` | ${g.vectors} | ${g.agree} | ${g.falseAccept || "—"} | ${g.falseReject || "—"} | ${g.notChecked || "—"} |`);
+ const k = joined[key];
+ const ours = [
+ `${g.agree} agree`,
+ g.falseAccept ? `${g.falseAccept} false accept` : null,
+ g.falseReject ? `${g.falseReject} false reject` : null,
+ g.notChecked ? `${g.notChecked} not checked` : null,
+ ]
+ .filter(Boolean)
+ .join(" · ");
+ const kit = k === undefined ? "—" : `${k.checks} ${k.checks === 1 ? "check" : "checks"}, all as expected${k.invalid ? ` · ${k.invalid} refused` : ""}`;
+ const divergence =
+ k === undefined || k.compared === 0
+ ? "— (not judged by CG-AER1/1)"
+ : k.divergences.length === 0
+ ? `0 of ${k.compared}`
+ : k.divergences.map((d) => `\`${d.name}\``).join(", ");
+ out.push(`| \`${key}\` | ${g.vectors} | ${ours} | ${kit} | ${divergence} |`);
}
out.push("");
out.push("## The two interop pairs");
@@ -217,6 +359,28 @@ function render(report) {
out.push(`| \`${r.pairs.swap.drift.field}\` | \`${r.pairs.swap.drift.expected}\` | \`${r.pairs.swap.drift.found}\` |`);
}
out.push("");
+ out.push("## Pins");
+ out.push("");
+ out.push("| Side | Pin |");
+ out.push("|---|---|");
+ out.push(`| Corpus | kit ${r.kitPins.kit} · \`${r.kitPins.setDigest}\` · ${r.vectorTotal} vectors |`);
+ out.push(
+ `| Reference kit run | commit \`${r.kitPins.commit}\` · column sha256 \`sha256:${r.kitPins.columnSha256.replace(/^sha256:/, "")}\` · ${r.kitPins.checks} checks |`,
+ );
+ out.push(
+ `| CG-AER1/1 | parser ${r.kitPins.parserFile} · generator ${r.kitPins.generatorFile} |`,
+ );
+ out.push("");
+ out.push(
+ `The kit's closing line is \`CONFORMANCE OK: ${r.kitPins.vectors} vectors, ${r.kitPins.checks} checks, ${r.kitPins.footerDigest}\`; the join key is the vector name, and the extra checks are the merkle family's workflow checks (9 vectors carry 12 checks). The kit column was published at ${r.kitPins.columnUrl} and is vendored here so this page regenerates offline; its sha256 is checked before the column is read.`,
+ );
+ out.push("");
+ out.push("## Divergence detail");
+ out.push("");
+ out.push(
+ "No verdict divergence in the joined set today: every vector CG-AER1/1 judges, the reference kit judges the same way. The field-level divergence is the id-binding swap above, where both sides refuse and CG-AER1/1 names `receipt.id` with the expected and found values.",
+ );
+ out.push("");
out.push("## False accepts — our defect list");
out.push("");
if (r.falseAccepts.length === 0) {
diff --git a/test/fixtures/aer1-kit-column-1.5.7/kit-column-2026-11-23.txt b/test/fixtures/aer1-kit-column-1.5.7/kit-column-2026-11-23.txt
new file mode 100644
index 00000000..5bd08b45
--- /dev/null
+++ b/test/fixtures/aer1-kit-column-1.5.7/kit-column-2026-11-23.txt
@@ -0,0 +1,149 @@
+[valid] bound-04.json: PASS
+[valid] deep-nesting.json: PASS
+[valid] edge-numbers.json: PASS
+[valid] empty-members.json: PASS
+[valid] feb29-leap.json: PASS (legacy notice)
+[valid] fraction-one-digit.json: PASS (legacy notice)
+[valid] input-hash-multikey-20.json: PASS
+[valid] large-payload.json: PASS
+[valid] legacy-02.json: PASS (legacy notice)
+[valid] legacy-03.json: PASS (legacy notice)
+[valid] legacy-real-2.json: PASS (legacy notice)
+[valid] maximum-offset-timestamp.json: PASS
+[valid] metadata-hash-non-ascii-tool.json: PASS
+[valid] optional-members-18.json: PASS
+[valid] real-04.json: PASS
+[valid] real-1-bare.json: PASS (legacy notice)
+[valid] receipt-01.json: PASS (legacy notice)
+[valid] receipt-02.json: PASS (legacy notice)
+[valid] receipt-03-live.json: PASS (legacy notice)
+[valid] typographic-unicode.json: PASS
+[valid] uuid-v1-core.json: PASS
+[invalid] ax-base64-unpadded.json: PASS (rejected: canonical_bytes is not valid base64)
+[invalid] ax-feb29-1900.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] ax-feb29-non-leap.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] ax-tool-empty-scope.json: PASS (rejected: tool is not an object with name/version/scope strings)
+[invalid] bad-created-at.json: PASS (rejected: created_at is not RFC 3339)
+[invalid] bad-id.json: PASS (rejected: id is not a lowercase UUID)
+[invalid] bad-offset-range.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] bad-provenance.json: PASS (rejected: provenance_class is not a known class)
+[invalid] bad-verification-status.json: PASS (rejected: verification_status is not verified)
+[invalid] base64-pad-bit.json: PASS (rejected: canonical_bytes is not the canonical base64 spelling)
+[invalid] base64-unpadded.json: PASS (rejected: canonical_bytes is not valid base64)
+[invalid] bytes-not-base64.json: PASS (rejected: canonical_bytes is not valid base64)
+[invalid] duplicate-member-name.json: PASS (rejected: duplicate member name: output_hash)
+[invalid] feb29-1900.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] feb29-non-leap.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] hash-bad-format.json: PASS (rejected: output_hash is not sha256: + lowercase hex digest)
+[invalid] hash-mismatch.json: PASS (rejected: output_hash does not match sha256(canonical_bytes))
+[invalid] id-trailing-newline.json: PASS (rejected: id is not a lowercase UUID)
+[invalid] impossible-date.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] input-hash-key-order-20.json: PASS (rejected: input_hash does not match sha256(canonical JSON of the recorded inputs))
+[invalid] input-hash-mismatch.json: PASS (rejected: input_hash does not match sha256(canonical JSON of the recorded inputs))
+[invalid] leap-second-created-at.json: PASS (rejected: created_at is not a valid calendar date/time)
+[invalid] lowercase-timestamp.json: PASS (rejected: created_at is not RFC 3339)
+[invalid] missing-output-hash.json: PASS (rejected: missing required member: output_hash)
+[invalid] nil-uuid.json: PASS (rejected: id is the nil UUID)
+[invalid] non-utf8-bytes.json: PASS (rejected: canonical_bytes is not valid UTF-8)
+[invalid] payload-is-array.json: PASS (rejected: receipt_schema_version: one side missing (outer="0.4" committed=null))
+[invalid] payload-omits-issuer-claims.json: PASS (rejected: provenance binding: one side missing (outer="EXECUTED BY ZAMBO" committed=null))
+[invalid] provenance-control-char.json: PASS (rejected: provenance_class is not a known class)
+[invalid] provenance-trailing-newline.json: PASS (rejected: provenance_class is not a known class)
+[invalid] tampered-provenance.json: PASS (rejected: provenance binding: outer "LOGGED BY AGENT" does not match committed "EXECUTED BY ZAMBO")
+[invalid] timestamp-no-timezone.json: PASS (rejected: created_at is not RFC 3339)
+[invalid] tool-empty-name.json: PASS (rejected: tool is not an object with name/version/scope strings)
+[invalid] tool-not-object.json: PASS (rejected: tool is not an object with name/version/scope strings)
+[invalid] uppercase-id.json: PASS (rejected: id is not a lowercase UUID)
+[invalid] version-downgrade.json: PASS (rejected: receipt_schema_version: outer "0.3" does not match committed "0.4")
+[profile-invalid] missing-inputs.json: PASS (core accepted, profile rejected: reference-producer payload omits the 'inputs' member)
+[anchored] anchored-bad-id-version.json: PASS (outcome: verification failed) (tier: id is not a UUID v4 (strict profile))
+[anchored] anchored-bad-leaf-hash.json: PASS (outcome: verification failed) (tier: anchor.leaf_hash does not match canonical_bytes)
+[anchored] anchored-bad-timestamp.json: PASS (outcome: verification failed) (tier: anchor.anchored_at is not a valid calendar date/time)
+[anchored] anchored-missing-proof.json: PASS (outcome: verification failed) (tier: anchor has members other than log/leaf_hash/anchored_at/proof)
+[anchored] anchored-unresolvable-anchor.json: PASS (outcome: rejected: unresolvable record)
+[anchored] anchored-valid.json: PASS (outcome: verified)
+[merkle] canonical-5-step: PASS
+[merkle-workflow] canonical-5-step: PASS
+[merkle] legacy-construction-rejected: PASS
+[merkle] odd-duplication-3: PASS
+[merkle] ordering-matters: PASS
+[merkle] single-leaf: PASS
+[merkle] empty: PASS
+[merkle] worked-example-byte-exact: PASS
+[merkle] duplicate-receipt-id-collision: PASS
+[merkle-workflow] duplicate-receipt-id-collision: PASS
+[merkle] one-step-single-receipt: PASS
+[merkle-workflow] one-step-single-receipt: PASS
+[chain] chain-valid-3: PASS
+[chain] chain-single-entry-valid: PASS
+[chain] chain-tampered-middle: PASS
+[chain] chain-truncated-no-close: PASS
+[chain] chain-reordered: PASS
+[chain] chain-bad-genesis: PASS
+[chain] chain-close-wrong-type: PASS
+[chain-v07] v07-valid-5: PASS
+[chain-v07] v07-valid-single: PASS
+[chain-v07] v07-truncation-limit-prefix: PASS
+[chain-v07] v07-relabel-provenance: PASS
+[chain-v07] v07-relabel-tool-id: PASS
+[chain-v07] v07-close-middle: PASS
+[chain-v07] v07-close-wrong-type: PASS
+[chain-v07] v07-delete-identical-pair: PASS
+[chain-v07] v07-insert-duplicate: PASS
+[chain-v07] v07-splice-cross-job: PASS
+[chain-v07] v07-bad-genesis: PASS
+[chain-v07] v07-seq-gap: PASS
+[chain-v07] v07-mixed-job-id: PASS
+[chain-v07] v07-bad-base64: PASS
+[chain-v07] v07-v06-chain-rejected: PASS
+[chain-v07] v07-seq-float-valid: PASS
+[chain-v07] v07-seq-bool-invalid: PASS
+[chain-v07] v07-seq-fraction-invalid: PASS
+[chain-v07] v07-seq-negative-invalid: PASS
+[chain-v07] v07-seq-string-invalid: PASS
+[chain-v07] v07-seq-null-invalid: PASS
+[chain-v07] v07-seq-missing-invalid: PASS
+[chain-v07] x-genesis-single: PASS
+[chain-v07] x-encoding-reference: PASS
+[chain-v07] x-encoding-draft-literal: PASS
+[chain-v07] ax-genesis-single: PASS
+[chain-v07] ax-esc-hex-upper: PASS
+[chain-v07] ax-esc-long-escape: PASS
+[commitment] commit-valid-1: PASS
+[commitment] commit-digest-mismatch: PASS
+[commitment] commit-count-mismatch: PASS
+[commitment] commit-job-mismatch: PASS
+[commitment] commit-malformed-missing: PASS
+[commitment] commit-malformed-types: PASS
+[commitment] commit-not-an-object: PASS
+[commitment] x-entry-count-float: PASS
+[unicode] unicode-nfc-form: PASS
+[unicode] unicode-nfd-form: PASS
+[unicode] unicode-nfd-against-nfc-commitment: PASS
+[unicode] unicode-narrow-nbsp-curly-quote: PASS
+[unicode] unicode-nonbreaking-hyphen-against-ascii: PASS
+[id-binding] id-alone-unverified: PASS (id_state=unverified, id_verdict=unverified)
+[id-binding] id-expected-match: PASS (id_state=verified-expected, id_verdict=matched)
+[id-binding] id-expected-mismatch: PASS (id_state=mismatch, id_verdict=mismatched)
+[id-binding] id-resolution-agreement: PASS (id_state=verified-resolved, id_verdict=resolved)
+[id-binding] id-resolution-disagreement: PASS (id_state=mismatch, id_verdict=mismatched)
+[id-binding] id-absent: PASS (id_state=unverified, id_verdict=absent)
+[anchor] anchor-resolves: PASS (present=true, evaluated=true, outcome=verified)
+[anchor] anchor-unresolvable: PASS (present=true, evaluated=true, outcome=rejected: unresolvable record)
+[anchor] anchor-not-checked: PASS (present=true, evaluated=false, outcome=not checked)
+[anchor] anchor-verification-failed: PASS (present=true, evaluated=true, outcome=verification failed)
+[anchor] anchor-absent: PASS (present=false, evaluated=false, outcome=absent)
+[anchor] anchor-other-profile: PASS (present=false, evaluated=false, outcome=absent)
+[anchor] anchor-unresolvable-bad-leaf: PASS (present=true, evaluated=true, outcome=rejected: unresolvable record)
+[anchor] anchor-partial-profile: PASS (present=true, evaluated=true, outcome=verification failed)
+
+Base expectations passed.
+[workflow-root] legacy-receipt-id-v0-mixed-version: PASS
+[workflow-root] seq-output-v1-single-step: PASS
+[workflow-root] seq-output-v1-multi-step: PASS
+[workflow-root] seq-output-v1-odd-level-duplicates-last: PASS
+[workflow-root] seq-output-v1-multi-step-odd-levels: PASS
+[workflow-root] xversion-seq-output-v1-evaluated-as-receipt-id-v0: PASS
+[workflow-root] xversion-receipt-id-v0-evaluated-as-seq-output-v1: PASS
+[workflow-root] seq-output-v1-thirteen-step: PASS
+CONFORMANCE OK: 143 vectors, 146 checks, sha256:60bf73f325793e16843370cfa24903bb0d017525cb297e42bebc35857e2db0d2
diff --git a/test/integrations/aer1-interop.test.mjs b/test/integrations/aer1-interop.test.mjs
index 06aa04ed..75cb54cd 100644
--- a/test/integrations/aer1-interop.test.mjs
+++ b/test/integrations/aer1-interop.test.mjs
@@ -46,6 +46,19 @@ test("AER-1 interop: the published table matches the code and the known defect c
assert.equal(report.pairs.swap.id.verdict, "mismatched");
assert.equal(report.pairs.swap.drift?.field, "receipt.id");
+ // The joined column comes from the reference kit's own run, vendored and
+ // pinned: 143 vectors, 146 checks, the same evaluated-set digest, and no
+ // vector name from a judged family that the corpus does not carry.
+ assert.equal(report.kitPins.vectors, 143);
+ assert.equal(report.kitPins.checks, 146);
+ assert.equal(report.kitPins.footerDigest, SET_DIGEST);
+ assert.equal(report.kitPins.commit, "e04e4c91d4630a2e0ceb4e12c48accacac10155e");
+ assert.deepEqual(report.kitJoin.orphans, []);
+ const divergences = Object.values(report.kitJoin.rows).flatMap((row) => row.divergences);
+ assert.deepEqual(divergences.map((d) => d.name), [], "a verdict divergence must be named on the page, not swallowed");
+
const page = readFileSync(PAGE, "utf8");
+ assert.match(page, /commit `e04e4c91d4630a2e0ceb4e12c48accacac10155e`/);
+ assert.match(page, /sha256:eb6cec8cf8d927c6af0460913fbf82ae1e2ae021b2cdde295b4d7c3aa4b29cd9/);
assert.equal(page, render(report), "docs/AER1-INTEROP-TABLE.md is stale — run: node scripts/aer1-interop.mjs --write");
});
]