Skip to content

fix(addie): retain matched v4 provider evidence - #7391

Merged
bokelley merged 3 commits into
mainfrom
codex/addie-matched-v4-signed-evidence
Sep 10, 2026
Merged

bokelley merged 3 commits into
mainfrom
codex/addie-matched-v4-signed-evidence

Conversation

@bokelley

@bokelley bokelley commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • retain provider-returned response IDs with matched-v4 observation evidence for a future independent reconciliation join
  • label signed pricing-profile totals as estimates, not provider-authoritative settlement
  • document that the current ledger, post-dispatch signing, and R2 convention do not enable paid dispatch; keep the immutable-evidence gate closed

Verification

  • npx vitest run --config server/vitest.config.ts tests/unit/addie/matched-v4-evidence-gate.test.ts
  • npx vitest run --config server/vitest.config.ts tests/unit/addie/matched-v4-evaluation.test.ts
  • npm run typecheck -- --pretty false
  • npm run lint:schema-links --silent
  • node tests/docs-nav-validation.test.cjs

The repository pre-commit wrapper was stopped while its full server/tests/unit/ run made no progress after focused checks passed, following explicit operator direction. GitHub CI is the exact-head full check.

Safety

No provider calls, dispatches, credentials, secrets, or infrastructure were changed. The new zero-call test asserts the paid authority rejects before it opens the database or constructs a provider adapter.


Open workspace in Conductor

aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Sep 9, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — internal Addie eval-harness change, no blocking findings.

This PR (fix(addie): retain matched v4 provider evidence) adds provider response-ID retention with fail-closed validation propagated through executed dispatches to recorded observations, renames a report field (totalCostUsd→estimatedCostUsd with no orphaned consumers), and strengthens the documented fail-closed evidence gate covered by a new zero-call test.

Checks performed:

  • No published-surface impact: no changes under static/schemas/source/, docs/reference/, dist/**, or release scripts — changeset and schema↔docs coherence rules do not apply.
  • No oneOf discriminator or released-artifact-immutability concerns.
  • Not a Breaking-class protocol change; no governance-precedent conflict.
  • high_risk is true only because three server/src/addie/** files were (modified), but the reviewer surfaced no medium-or-higher concerns on them, so the modifications are presumed safe (row 5 does not fire without a medium finding).
  • gated_paths is false; author is not on a no-auto-approve team.

Reviewer reported no Critical/High/Medium findings. Rows 1–8 do not fire; falls through to row 9 → approve.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — subsequent pass on PR #7391 with no blocking or medium findings.

The delta since the prior clean approve is limited to: two editorial wording alignments (the matched-v4 runbook and a manual-test comment) and a strengthened test that adds a correctly-scoped fetch spy asserting no dispatch before rejection on the zero-call evidence gate. No production code, protocol surface (static/schemas/source/**), or released dist/** artifacts are touched, so no changeset is owed and no immutability concern applies.

high_risk is true because three server/src/addie/** files match a high-risk glob, but all entries are (modified) and the reviewer surfaced zero findings — no medium-or-higher concern on a modified sensitive file, so row 5 does not fire. No (deleted) entries (row 3 N/A). gated_paths is false, so despite review_decision: REVIEW_REQUIRED, row 2 does not apply. No author team gate. Prior decision was approve, so sticky escalation (row 6) is irrelevant. No Editorial/Normative-vs-Breaking hard gate is triggered — these are editorial/test-only changes.

None of rows 1–8 fire; falls through to row 9 = approve.

@bokelley
bokelley merged commit 976de44 into main Sep 10, 2026
35 checks passed
@bokelley
bokelley deleted the codex/addie-matched-v4-signed-evidence branch September 10, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant