Persist native ACP chat admissions and recoverable turn receipts #560

Open
toasterson wants to merge 4 commits from codex/native-chat-receipts-20261006 into main
Owner

Interactive clients currently lose native ACP session identity and turn outcomes after a lost reply or daemon restart. Add an opt-in private durable chat store with owner/workspace/request-scoped creation, immutable prompt admission, ordered event pages and atomic terminal response/context snapshots. Duplicate requests recover the original result; interrupted work never re-executes automatically. Full native Akh tools and existing authority remain in place; client-pushed MCP credentials are refused by this opt-in contract.

Dependency of Anima Companion Thread Model WI-912, tracked as Akh-Medu WI-530 (01a1113f-fb7f-7f73-b44e-9b269f97aca3). Anima integration is PR776. The wire contract and private-store deployment settings are documented in docs/design/native-durable-chat.md.

Validation: 131 ACP tests passed, including five new receipt tests covering concurrent admission, payload conflicts, private paths, cross-owner denial, exclusive pagination and full daemon-instance restart. Server-feature akhomed check passed. Follow-up typed-diagnostic cleanup has a focused receipt rerun; no live runtime was changed. Deployment remains main-only and requires a coordinated idle window.

Interactive clients currently lose native ACP session identity and turn outcomes after a lost reply or daemon restart. Add an opt-in private durable chat store with owner/workspace/request-scoped creation, immutable prompt admission, ordered event pages and atomic terminal response/context snapshots. Duplicate requests recover the original result; interrupted work never re-executes automatically. Full native Akh tools and existing authority remain in place; client-pushed MCP credentials are refused by this opt-in contract. Dependency of Anima Companion Thread Model WI-912, tracked as Akh-Medu WI-530 (01a1113f-fb7f-7f73-b44e-9b269f97aca3). Anima integration is PR776. The wire contract and private-store deployment settings are documented in docs/design/native-durable-chat.md. Validation: 131 ACP tests passed, including five new receipt tests covering concurrent admission, payload conflicts, private paths, cross-owner denial, exclusive pagination and full daemon-instance restart. Server-feature akhomed check passed. Follow-up typed-diagnostic cleanup has a focused receipt rerun; no live runtime was changed. Deployment remains main-only and requires a coordinated idle window.
Persist owner-scoped native ACP chat receipts and isolated session recovery
All checks were successful
CI / test-sokar (pull_request) Successful in 9m34s
CI / check-akh-medu (pull_request) Successful in 11m47s
CI / test-session-platform (pull_request) Successful in 26m7s
CI / check-seshat (pull_request) Successful in 35m55s
CI / publish-chart (pull_request) Successful in 28m1s
CI / test-akh-medu (pull_request) Successful in 40m47s
CI / docker-akh-transcripts (pull_request) Successful in 37m26s
CI / docker-seshd (pull_request) Successful in 45m29s
CI / docker-sokard (pull_request) Successful in 1h11m20s
CI / platform-images-core (pull_request) Successful in 13m41s
CI / platform-images-home (pull_request) Successful in 41m2s
CI / platform-images-daemons (pull_request) Successful in 1h9m40s
CI / platform-images-fleet (pull_request) Successful in 35m58s
CI / platform-images-collect (pull_request) Successful in 1h30m36s
a905f606e7
fix(acp): retain durable turn finalization across disconnects
Some checks failed
CI / test-session-platform (pull_request) Successful in 23m45s
CI / test-sokar (pull_request) Successful in 28m50s
CI / publish-chart (pull_request) Successful in 11m36s
CI / docker-seshd (pull_request) Successful in 26m45s
CI / check-akh-medu (pull_request) Successful in 44m13s
CI / check-seshat (pull_request) Successful in 1h17m57s
CI / docker-sokard (pull_request) Successful in 1h10m32s
CI / test-akh-medu (pull_request) Failing after 1h30m32s
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / platform-images-home (pull_request) Has been skipped
CI / docker-akh-transcripts (pull_request) Successful in 1h37m20s
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
e0ebe09daa
fix(acp): retain session lease through durable finalization
Some checks failed
CI / check-seshat (pull_request) Successful in 6m52s
CI / test-sokar (pull_request) Failing after 7m59s
CI / docker-seshd (pull_request) Successful in 10m11s
CI / publish-chart (pull_request) Failing after 10m12s
CI / check-akh-medu (pull_request) Successful in 19m28s
CI / test-akh-medu (pull_request) Failing after 19m41s
CI / test-session-platform (pull_request) Successful in 25m51s
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / docker-sokard (pull_request) Successful in 42m32s
CI / docker-akh-transcripts (pull_request) Successful in 1h34m7s
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
10ddd0f4a7
Some checks failed
CI / check-seshat (pull_request) Successful in 6m52s
CI / test-sokar (pull_request) Failing after 7m59s
CI / docker-seshd (pull_request) Successful in 10m11s
CI / publish-chart (pull_request) Failing after 10m12s
CI / check-akh-medu (pull_request) Successful in 19m28s
CI / test-akh-medu (pull_request) Failing after 19m41s
CI / test-session-platform (pull_request) Successful in 25m51s
CI / platform-images-home (pull_request) Has been skipped
CI / platform-images-core (pull_request) Has been skipped
CI / platform-images-daemons (pull_request) Has been skipped
CI / docker-sokard (pull_request) Successful in 42m32s
CI / docker-akh-transcripts (pull_request) Successful in 1h34m7s
CI / platform-images-fleet (pull_request) Has been skipped
CI / platform-images-collect (pull_request) Has been skipped
This pull request has changes conflicting with the target branch.
  • docs/ai/architecture.md
  • src/acp/mod.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/native-chat-receipts-20261006:codex/native-chat-receipts-20261006
git switch codex/native-chat-receipts-20261006

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff codex/native-chat-receipts-20261006
git switch codex/native-chat-receipts-20261006
git rebase main
git switch main
git merge --ff-only codex/native-chat-receipts-20261006
git switch codex/native-chat-receipts-20261006
git rebase main
git switch main
git merge --no-ff codex/native-chat-receipts-20261006
git switch main
git merge --squash codex/native-chat-receipts-20261006
git switch main
git merge --ff-only codex/native-chat-receipts-20261006
git switch main
git merge codex/native-chat-receipts-20261006
git push origin main
Sign in to join this conversation.
No reviewers
No labels
follow-up
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
toasterson/akh-medu!560
No description provided.