Repository navigation
Add ACP session load event ledger - #79093
Conversation
|
Codex review: needs changes before merge. Summary Reproducibility: not applicable. to the feature as a user bug; yes for the PR-introduced regression path by source inspection. A send accepted before a Gateway disconnect can finish through Real behavior proof Next step before merge Security Review findings
Review detailsBest possible solution: Keep the ledger-backed replay approach, but invalidate ledger completeness whenever the bridge may have missed Gateway stream events so Do we have a high-confidence way to reproduce the issue? Not applicable to the feature as a user bug; yes for the PR-introduced regression path by source inspection. A send accepted before a Gateway disconnect can finish through Is this the best way to solve the issue? No. Ledger-first replay is a maintainable direction, but this PR should first mark affected ledgers incomplete or force transcript fallback after stream gaps. Full review comments:
Overall correctness: patch is incorrect Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against a1ac559ed7e6. |
Re-review progress:
|
|
E2E validation update for
This E2E initially exposed a real mismatch: ACP tracked the provisional Re-review progress:
|
* Add ACP session load event ledger * Record ACP prompts after send acceptance * Support ACP ledger replay by session key * Harden ACP ledger replay completeness * Harden ACP ledger review gaps * Fix ACP canonical session key handling --------- Co-authored-by: Alex Knight <[email protected]>
* Add ACP session load event ledger * Record ACP prompts after send acceptance * Support ACP ledger replay by session key * Harden ACP ledger replay completeness * Harden ACP ledger review gaps * Fix ACP canonical session key handling --------- Co-authored-by: Alex Knight <[email protected]>
* Add ACP session load event ledger * Record ACP prompts after send acceptance * Support ACP ledger replay by session key * Harden ACP ledger replay completeness * Harden ACP ledger review gaps * Fix ACP canonical session key handling --------- Co-authored-by: Alex Knight <[email protected]>
Summary
loadSession, with older or incomplete sessions still falling back to Gateway transcript replayVerification
pnpm test src/acp/event-ledger.test.ts src/acp/translator.event-ledger.test.ts src/acp/translator.session-rate-limit.test.ts src/acp/translator.lifecycle.test.ts src/acp/translator.stop-reason.test.tspnpm test:changedpnpm check:changedpnpm check:docsgit diff --check origin/main...HEAD