Skip to content

feat: add tess retry <agent> command#7

Open
vibhu-dixit wants to merge 2 commits into
cleanmcp:mainfrom
vibhu-dixit:feature/tess-retry-agent
Open

feat: add tess retry <agent> command#7
vibhu-dixit wants to merge 2 commits into
cleanmcp:mainfrom
vibhu-dixit:feature/tess-retry-agent

Conversation

@vibhu-dixit

@vibhu-dixit vibhu-dixit commented Jul 12, 2026

Copy link
Copy Markdown

Re-run a dead or failed agent in the same worktree with the same prompt, tool, model, and budget — the natural recovery-from-failure button after spawn/watch/status.

Closes #6

What is recovered automatically:

  • tool (claude / kimi) from hcom list
  • worktree (agent's working directory) from hcom list
  • tag from hcom list
  • model and budget cap from ~/.config/tess/state/budgets.json
  • prompt: first user message from the agent's transcript

Role flags (--readonly / --auto / --can-deploy) are not stored at spawn time and must be re-supplied if needed.

The old registered agent is killed first so a fresh name registers cleanly in the same tag group.

Changes:

  • bin/_tess-retry.py new command implementation
  • bin/tess menu entry, dispatch case, reserved word
  • bin/_tess-help.sh tess help retry entry with all flags documented

Re-run a dead or failed agent in the same worktree with the same
prompt, tool, model, and budget — the natural recovery-from-failure
button after spawn/watch/status.

What is recovered automatically:
- tool (claude / kimi) from hcom list
- worktree (agent's working directory) from hcom list
- tag from hcom list
- model and budget cap from ~/.config/tess/state/budgets.json
- prompt: first user message from the agent's transcript

Role flags (--readonly / --auto / --can-deploy) are not stored at
spawn time and must be re-supplied if needed.

The old registered agent is killed first so a fresh name registers
cleanly in the same tag group.

Changes:
- bin/_tess-retry.py  new command implementation
- bin/tess            menu entry, dispatch case, reserved word
- bin/_tess-help.sh   tess help retry entry with all flags documented
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.

Feature Adding: Retry for Agents

1 participant