Skip to content

fix(fsm): drop boundary commits that fail on git-ignored cleanrooms#298

Merged
ccisnedev merged 1 commit into
mainfrom
297-fix-fsm-boundary-commits-fail-because-cleanrooms-i
Jul 23, 2026
Merged

fix(fsm): drop boundary commits that fail on git-ignored cleanrooms#298
ccisnedev merged 1 commit into
mainfrom
297-fix-fsm-boundary-commits-fail-because-cleanrooms-i

Conversation

@ccisnedev

Copy link
Copy Markdown
Owner

Closes #297.

Bug

Since 0.20.0 git-ignored the whole cleanrooms/ area, the commit_analysis_boundary (ANALYZE→PLAN) and commit_plan_boundary (→EXECUTE) policies could never run — git add -- cleanrooms/<branch>/… refuses ignored paths, so the transition failed closed with ERROR_BOUNDARY_COMMIT_FAILED, blocking every cycle at the analysis boundary.

Two 0.20.0 decisions contradicted each other: a working area that is intentionally ephemeral (durable artifacts are the issue, code, and tests) has no boundary snapshot to commit.

Fix

  • complete_analysis and approve_plancommit_policy: none. Their gates still validate diagnosis.md / plan.md; only the meaningless commit is gone.
  • Tests: the gap survived because the FSM tests ran in a temp repo that did not git-ignore cleanrooms/, so the boundary commit succeeded there while failing in every real repo (iq init ignores it). Tests now assert no commit is made; two obsolete "fails closed when boundary commit fails" tests removed. 591 pass.
  • Bump 0.21.0 → 0.21.1.

Found by dogfooding a real cycle (cacsi-dev/impulsa #40) — the same loop the roadmap's antifragility thesis describes.

Closes #297. Since 0.20.0 git-ignored the whole cleanrooms/ area, the
commit_analysis_boundary (ANALYZE->PLAN) and commit_plan_boundary (->EXECUTE)
policies could never run: git refuses to add ignored paths, so the transition
failed closed with ERROR_BOUNDARY_COMMIT_FAILED and blocked every cycle at the
analysis boundary. A working area that is intentionally ephemeral has no
boundary snapshot to commit.

- Both transitions are now commit_policy: none; their gates still validate
  diagnosis.md / plan.md.
- The FSM tests ran in a temp repo that did NOT git-ignore cleanrooms/, so the
  boundary commit succeeded there while failing in every real repo. Tests now
  assert no commit is made; two obsolete "fails closed when boundary commit
  fails" tests removed. 591 pass.
- Bump 0.21.0 -> 0.21.1.

Found by dogfooding a real cycle (cacsi-dev/impulsa #40).
@ccisnedev
ccisnedev merged commit 89d33d5 into main Jul 23, 2026
2 checks passed
@ccisnedev
ccisnedev deleted the 297-fix-fsm-boundary-commits-fail-because-cleanrooms-i branch July 23, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(fsm): boundary commits fail because cleanrooms/ is gitignored — blocks every ANALYZE->PLAN

1 participant