Skip to content

feat: harden flow architecture — review-gate consolidation, planning simplification, flow hardening#147

Merged
nullhack merged 2 commits into
mainfrom
feat/consolidated-planning-and-review-gate
May 8, 2026
Merged

feat: harden flow architecture — review-gate consolidation, planning simplification, flow hardening#147
nullhack merged 2 commits into
mainfrom
feat/consolidated-planning-and-review-gate

Conversation

@nullhack
Copy link
Copy Markdown
Owner

@nullhack nullhack commented May 8, 2026

Summary

Collapses the 3-state review-gate subflow into a single state with a 3-tier fail-fast skill. Hardens the feature-development-flow by eliminating wasteful backward arrows and making rejected an exit. Simplifies planning flow by removing thin verification states.

Changes

Review Consolidation

  • Deleted review-gate-flow.yaml (3-state subflow)
  • Deleted 4 orphaned review skills (review-architecture, review-design, review-structure, review-conventions)
  • Added review-gate skill — 3-tier fail-fast (design → structure → conventions)
  • Added review-spec skill for spec-review state in planning flow
  • Added committed==verified condition gate on review-gate.pass → done

Flow Architecture Hardening

  • Removed wasteful needs-planning back-edge from development-flow (specs are baselined, issues are flagged not looped)
  • Made rejected an exit from feature-development-flow (stakeholder decides: post-mortem, cancel, or replan)
  • Added rejected to main-flow exits
  • Removed post-mortem state from feature-development-flow (now standalone manual trigger)

Planning Flow Simplification

  • Removed definition-of-done and ready states (thin verification, content-based evidence instead)
  • Consolidated 6 INVEST atoms → single invest-passed==verified, 9 example atoms → single examples-complete==verified
  • Added spec-review state (R) between feature-examples and create-py-stubs
  • Removed needs-respecification loops (skills enforce quality as hard blockers)

Cleanup

  • Renamed structure-projectstructure-feature (scope corrected)
  • Split stub-design.mdsource-stubs.md + test-stubs.md
  • Added Behavioral Distinctness, Behavior Pre-Mortem, Invariant Property Tests concepts
  • Eliminated Status field from feature specs (content-based evidence instead)
  • Fixed stale flow-version references across all flows
  • Removed mermaid files (generated artifacts)
  • Removed orphaned skills (confirm-baseline, define-done, model-domain)

File Count

  • 38 files changed, 184 insertions, 387 deletions

nullhack added 2 commits May 8, 2026 12:26
…hitecture

- Collapse review-gate-flow (3-state subflow) into single review-gate state
  with 3-tier fail-fast skill (design -> structure -> conventions)
- Add committed==verified condition gate on review-gate.pass -> done
- Remove 4 orphaned review skills (architecture, design, structure, conventions)
- Simplify planning flow (6->5 states): remove definition-of-done and ready
  states, consolidate conditions into single evidence atoms
- Add spec-review state (R) between feature-examples and create-py-stubs
- Detach post-mortem as independent flow (manual trigger)
- Remove wasteful backward arrows: needs-planning, needs-respecification
- Make rejected an exit from feature-development-flow (not auto-replan)
- Rename structure-project -> structure-feature (scope corrected)
- Split stub-design.md -> source-stubs.md + test-stubs.md
- Add Behavioral Distinctness, Behavior Pre-Mortem, Invariant Property
  Tests concepts across gherkin.md, pre-mortem.md, test-design.md
- Eliminate Status field from feature specs (content-based evidence instead)
- Fix stale flow-version references across all flows
- Update mermaid extension .mermaid -> .yaml.mermaid
@nullhack nullhack merged commit e7128a0 into main May 8, 2026
10 checks passed
@nullhack nullhack deleted the feat/consolidated-planning-and-review-gate branch May 8, 2026 16:29
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.

1 participant