richardcase / richardcase/clowder
Agent soft-restart (respawn adapter without recreating the worktree)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 14m
- Merged PRs (30d)
- 16
Description
The only restart primitive today is RestartWorktree, which tears down and recreates the whole worktree. There's no lighter-weight "kill and respawn the same adapter in place" for when the worktree is fine but the agent process itself is stuck or needs a fresh run.
Proposal: a RestartAgent/RespawnAdapter control op that keeps the existing worktree/workspace and just relaunches the adapter process in the same pane.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing RestartWorktree control operation and the adapter process launch path. Trace how the current operation manages the worktree, workspace, and pane, then define the smallest matching path for restarting only the adapter. Done means the same worktree and workspace remain intact while the adapter is relaunched in the existing pane.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100