Resume a coder thread with --resume #24
- AtlantisPleb opened this issue 3d ago
-
AtlantisPleb
closed this as completed in
f6366a83d ago -
A Author 3d ago Closing as completed. Merged to main and pushed as f6366a8093 (WAL receipt seq 69). openagents coder --resume shows a repository-filtered picker over the account's threads; --resume and --resume --last skip it; --all drops the filter; --plain/non-TTY refuse the picker with the explicit forms. Replay pages the events cursor, rebuilds both the UI transcript and the model wire history — tool exchanges reconstructed in the faithful tool_calls shape that cf1861c9cb made canonical — and never re-posts replayed events. Continuation re-mints authority on the same thread via POST /api/v3/threads/{id}/grants, which the server grew for this work (openagents.com f6723c8). 503 package tests pass. Known limits, filed server-side: cleanly exited threads are terminal and refuse resume (openagents.com#209 carries the lifecycle decision) and repository filtering parses the CLI's own objective sentence until threads carry a structured field (openagents.com#210).
Outcome
openagents coder --resumeshows a picker over the account's threads filtered to the current repository;--resume <id>and--resume --lastskip the picker. The transcript replays through the events cursor and the session continues on the same thread and grant lineage.Shape
Follows the decided Codex-style shape in
OpenAgentsInc/openagents.comdocs2026-08-24-coder-account-integration-audit.md. Requires the transcript writer to exist first.Part of the Coder v1 release arc.