PRD 0012: Stuck-agent recovery flow #18
Reference in New Issue
Block a user
Delete Branch "agent-unstuck"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Draft PRD for an async recovery flow when an agent in a bottle gets blocked by a missing permission or tool. Agent invokes a slash command, the request reaches the host via the existing cred-proxy (no forge token inside the bottle), a TUI dashboard surfaces the ask and approves a manifest diff, and the orchestrator rebuilds a fresh bottle on the same branch with best-effort transcript carry-over. Working tree is mandatory state; transcript is best-effort; no live channel into running containers.
Tool-denial hook (auto-detect stuck) and a web dashboard are explicitly deferred.