IW-581: iw start --no-agent creates the worktree and session without launching an agent #600
No reviewers
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!600
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-581"
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
iw start --no-agent <key>does everythingiw startdoes except run the session-action hook, so no agent is launched. It creates the worktree and branch, registers with the dashboard, creates the workspace, and runs the setup hooks (direnv allow, zg index). It then prints the backend's attach or focus hint and exits 0 without attaching or switching. The unattended path (start→autonomous-bootstrap→batch-implement) no longer needs a person to find and kill a claude PID.--no-agenttogether with--promptis refused before any side effect.Changes
SessionHooks: public setup-only entryrunSetups/runSetupsFrom;runFromreuses it.HookOpsport: second methodrunSessionSetupHooks(live and fake).WorkspaceSession.readyWithoutAgent: reports the setup-only outcome and the attach/focus hint.Start:--no-agentflag, refusal with--prompt, help and exit-code text.README.md,docs/api/SessionHooks.md,docs/api/CommandArgs.md.Phase PR: #597 (merged).
Testing
SessionHooksTest,WorkspaceSessionTest,StartHarnessTest(both refusal orders, happy path, inside-workspace hint, setup error keeps the worktree,SetupOnlydoes not join).test/start.bats—--no-agentruns setup hooks but skips the session-action hook, with a positive control without the flag; refusal with--prompt.Review packet:
project-management/issues/IW-581/review-packet.md.Follow-ups filed
CommandArgParser.start/openattach without a TTY and fail.Release notes
Příkaz
iw startnově přijímá volbu--no-agent. S ní připraví pro úkol vše jako dosud, ale nespustí AI agenta. Díky tomu lze celou automatickou cestu od zadání úkolu až k finálnímu pull requestu spustit jediným skriptem, bez zásahu člověka uprostřed. Volbu nelze kombinovat s--prompt. Bez nové volby seiw startchová stejně jako dosud. (Plné znění:project-management/issues/IW-581/release-notes.md.)🤖 Generated with Claude Code
Closes #581