Phase 1: --prompt with no action hook drops the prompt, skips the join, and exits 0 (NoHooks) #564

Merged
claude merged 5 commits from IW-555-phase-01 into IW-555 2026-09-18 11:45:34 +00:00
Member

Phase 01 implementation for IW-555.

Files

Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-555-phase-01/

Phase 01 implementation for IW-555. ### Files Browse changed files: https://code.iterative.works/iterative-works/iw-cli/-/blob/IW-555-phase-01/
the undelivered prompt costs neither the session nor the truth
Some checks failed
CI / changes (pull_request) Successful in 2s
CI / contract (pull_request) Has been skipped
CI / format (pull_request) Successful in 7s
CI / lint (pull_request) Successful in 8s
CI / compile (pull_request) Successful in 1m18s
CI / dashboard-build (pull_request) Successful in 1m6s
CI / test (pull_request) Failing after 13m57s
ff90f48636
- WorkspaceSession.enterAfterHooks joins the session and prints the undelivered prompt when no action hook took it, for NoHooks and SetupOnly alike
- CommandResult.promptNotSent (exit 5) tells a caller the session opened and the prompt did not run; a failed join still returns 1
- Open and Start declare the new exit code, so the declared surface matches the behaviour
- the message states a fact about the prompt and carries its next step, replacing a claim about the plugin inventory that could be false
- harness tests pin the join, the prompt on stdout and the exit code; the two negative BATS assertions now pin a string the code can emit
chore(IW-555): update review-state for phase 01
Some checks failed
CI / changes (pull_request) Successful in 2s
CI / format (pull_request) Successful in 7s
CI / compile (pull_request) Successful in 1m20s
CI / contract (pull_request) Has been skipped
CI / lint (pull_request) Successful in 8s
CI / dashboard-build (pull_request) Successful in 1m6s
CI / test (pull_request) Failing after 14m0s
8aaf68218c
Merge branch 'IW-555' into IW-555-phase-01
All checks were successful
CI / changes (pull_request) Successful in 3s
CI / contract (pull_request) Has been skipped
CI / compile (pull_request) Successful in 1m26s
CI / dashboard-build (pull_request) Successful in 1m19s
CI / format (pull_request) Successful in 12s
CI / lint (pull_request) Successful in 11s
CI / test (pull_request) Successful in 16m39s
003157bd14
claude merged commit 1d777f1d06 into IW-555 2026-09-18 11:45:34 +00:00
claude deleted branch IW-555-phase-01 2026-09-18 11:45:34 +00:00
Sign in to join this conversation.
No description provided.