You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
porch: no way to drop or amend a plan phase after implement starts (phase list is snapshotted once) #1900
A SPIR project's approved plan had its last phase dropped by the owner after the earlier phases were built and merged. Porch still lists the dropped phase as pending and will hand the builder its build tasks. The review document is only reachable after the last plan phase, so the project cannot finish cleanly. Reported by an adopter.
Root cause
Porch copies the plan's phase list into status.yaml (plan_phases) once, on entering the implement phase (commands/porch/index.ts and three paths in next.ts). It never re-reads the plan afterwards, so editing the plan's phase list has no effect.
The only command that re-extracts is porch rollback <id> implement, which resets every phase to pending and restarts from the first one. There is no command to skip or drop a single phase. (porch verify --skip covers the verify phase only.)
Fix (to be decided)
Either or both:
porch skip-phase <id> <plan-phase> --reason "..." --a-human-explicitly-approved-this: marks one plan phase as skipped, records the reason in state, and advances. Human-gated because it changes an approved plan.
A re-sync command that re-reads the plan's phase list and reconciles it with state: completed phases stay complete, removed pending phases are dropped, new phases are appended as pending. Refuses if a completed phase was removed or reordered.
Option 1 is smaller and covers the reported case.
Testing
Unit tests on the state transition: skip the last pending phase and reach review; skip a middle phase; refuse to skip a completed phase; refuse without the human flag.
Build option 1 only: porch skip-phase <id> <plan-phase> --reason "..." --a-human-explicitly-approved-this. The re-sync command (option 2) is out of scope.
It requires the human flag and a non-empty reason, refuses a phase that is already complete, and records the skip (phase id, reason, time) in project state so porch status shows it as skipped rather than complete.
Skipping the current phase advances to the next pending one; skipping the last pending phase lets the project proceed to review.
Document it in porch --help and the porch skill, in every tree the skill ships in.
Implemented by PR #1908 (merge commit e2403c3): porch skip-phase <id> <plan-phase> --reason "..." --a-human-explicitly-approved-this. On main; not yet in a published release. Design follow-ups are in issue #1909.
Activity
waleedkadous commentedon Nov 16, 2026
Baked Decisions (architect, 2026-11-16)
porch skip-phase <id> <plan-phase> --reason "..." --a-human-explicitly-approved-this. The re-sync command (option 2) is out of scope.porch statusshows it as skipped rather than complete.porch --helpand the porch skill, in every tree the skill ships in.[Air #1900] feat: porch skip-phase drops one plan phase after impleme…
[Air #1900] chore: regenerate shipped skill hashes for porch SKILL.md
[Air #1900] Thread: load-induced test failures, architect ruling
[Air #1900] fix: address CMAP round 1 (forward-only skip handoff, ove…
[Air #1900] fix: address CMAP round 2 polish
[Air #1900] Thread: pr gate requested; approve runs the e2e check
[Air #1900] fix: architect integration-review fold-ins
Merge pull request #1908 from cluesmith/builder/air-1900
waleedkadous commentedon Nov 17, 2026
Implemented by PR #1908 (merge commit e2403c3):
porch skip-phase <id> <plan-phase> --reason "..." --a-human-explicitly-approved-this. On main; not yet in a published release. Design follow-ups are in issue #1909.