richardcase / richardcase/clowder

Agent soft-restart (respawn adapter without recreating the worktree)

Open
#110 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.