Repository navigation
bug(web): make Plan Ready handoff actionable - #634
Conversation
tt-a1i
left a comment
There was a problem hiding this comment.
Reviewed exact head 19d1b9d against main ad68e44. The Plan Ready handoff keeps the tool gate closed through preview, binds authorization to the active Session and Plan revision, and opens only after Pi accepts the explicitly submitted prompt. The runtime cancels transient approval on rejection and Session changes. Source tests cover the preflight and Web store boundaries; the dedicated real Chromium provider run passed all 5 scenarios, including blocked writes before approval and an allowed write after submit. The branch is mergeable and all checks passed at this head. Main has advanced since; final merge remains conditional on rebase/update and exact-head CI.
tt-a1i
left a comment
There was a problem hiding this comment.
Rechecked exact head 0029688 against current main cabaf4f. The branch update leaves the 23-file Plan Ready handoff diff unchanged, and the merge tree is clean. The source review and dedicated Chromium provider acceptance from the previous review still apply. Merge is conditional on all checks passing for this exact head.
Problem
In Web Plan Mode,
/plan,/plan implement, and/plan freshcould be reported as handled while the plan stayed ready, the browser gave no actionable feedback, and the tool gate remained closed. This blocked the issue's “review the plan, then explicitly choose implementation” flow.Value
Users can continue from Plan Ready through an explicit, reviewable implementation handoff, and unsupported actions explain how to recover instead of silently consuming the command.
Approach
/plan freshand for/plan off, while preserving the plan when fresh-session handoff is unavailable.Validation
node scripts/check-docs-contract.mjs: passed.bun run checkandbun run testwere not run because Bun is unavailable in this environment.Impact
Limited to the Plan Ready handoff, its user-visible command outcomes, and the tests/docs/CI needed to verify this issue. No implementation starts before explicit user submission.
Closes #470