Skip to content

feat(agent-graph-mcp): v2 durable terminal receipt with authenticated bundle and cold lookup - #97

Draft
RecursiveIntell wants to merge 9 commits into
mainfrom
ares2/graph-terminal-v2-bundle-custody
Draft

RecursiveIntell wants to merge 9 commits into
mainfrom
ares2/graph-terminal-v2-bundle-custody

Conversation

@RecursiveIntell

@RecursiveIntell RecursiveIntell commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

P05 Rust Graph daemon — exact-head focused qualification PASS

Current head: c400437d3064ffcc1fec5016acb64d0cb5b4ab5c.

Verified on current head

Ares2 P05 focused Rust workflow run 45111636218: 46/46 MCP integration tests, 55/55 library tests, cargo fmt --all -- --check and cargo clippy -p agent-graph-mcp --all-targets -- -D warnings all passed. The source-owner terminal persistence double-write race observed in prior runs was removed before this validation.

Implemented

  • Real Rust receipt producer stamps agent-graph-mcp-receipt-v2.
  • Persisted output bundle and receipt are independently HMAC-SHA256 authenticated with existing daemon integrity key, domain separation graph-terminal-bundle-hmac-v1, and new additive terminal_receipts.bundle_digest column. Unsigned legacy bundle and stored-data tampering fail closed.
  • graph_run_receipt preferentially reads authenticated durable store even when a warm cache exists; cold store lookup returns signed receipt and signed bundle.
  • graph_run_wait has one terminal persistence owner (async completion callback), waits for durable acknowledgement, and denies unverifiable terminal reads instead of racing a second write. Focused regression tests cover warm and cold reads, forge attacks, and legacy null signature.

Known remaining gates

  • The monorepo hardening gate still fails unrelated cargo deny dependency advisories (chrono unmaintained and nested blob URL stack overflow), and broad root/AiDENs/feature CI must complete; they are not treated as passing.
  • Companion Ares lab PR #50 independently verifies both MACs against a caller-supplied key, but does not authenticate actual daemon identity or authorize graph execution. The current lab source pin still identifies older incompatible Libraries v1 and its STOP oracle remains valid.
  • No live graph custody, real Ares owner key handoff, operator database import, or release seal. G05 and R1/R2/R3 remain DENY.

No modification to main, production daemon or credentials. Rollback: close this draft or reset branch to 8355499c0653130ac55456bdfe7d3f391604a27b.

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