| created | 2025-12-12 |
|---|---|
| last_updated | 2026-01-30 |
| graphrag_extracted | true |
---description: Anti-feature-stacking discipline. Ship small, validate, commit. One feature per session. Commit gates between features. created: 2025-12-12 last_updated: 2025-12-18
Purpose: Anti-feature-stacking discipline. Ship small, validate, repeat.
Trigger: Any development session (ZenithFX, tools, web apps).
Source: Derived from 720-commit vibe coding workflow (Dec 2025).
╔════════════════════════════════════════════════════════════════╗
║ FEATURE STACKING (Anti-Pattern) ║
║ ──────────────────────────────────────────────────────────── ║
║ Feature A → Feature B → Feature C → ... → 💀 Collapse ║
║ ║
║ • No validation between features ║
║ • Complexity debt compounds invisibly ║
║ • Single bug cascades across all features ║
║ • Debugging hell: "which feature broke it?" ║
╠════════════════════════════════════════════════════════════════╣
║ MICRO-COMMIT (GTO Pattern) ║
║ ──────────────────────────────────────────────────────────── ║
║ Feature A → ✅ Commit → Feature B → ✅ Commit → ... ║
║ ║
║ • Validation gate after each feature ║
║ • Rollback point if next feature fails ║
║ • Bug isolation: "it worked before this commit" ║
║ • Psychological closure: "this part is DONE" ║
╚════════════════════════════════════════════════════════════════╝
| Rule | Description |
|---|---|
| R1 | One feature = one session. Hard cut after shipping. |
| R2 | Commit after each working feature (not "when it's done"). |
| R3 | AI enforces pause between features. "What breaks if we add this?" |
| R4 | No new feature until current feature is validated + committed. |
| R5 | If proposing 3+ features in one message → 🔴 Force prioritisation. |
| Project Type | Target Commits/Session |
|---|---|
| Web app (ZenithFX) | 3-5 commits |
| Tool/utility | 2-3 commits |
| Documentation | 1-2 commits |
| Refactoring | 5-10 commits (small, safe changes) |
Before adding a new feature, AI asks:
- "Is the current feature committed?" → If no, commit first.
- "What breaks if we add this?" → Identify dependencies.
- "Does this fit the architecture?" → Or does it require refactoring first?
- "Which ONE feature ships next?" → Force single-item selection.
This protocol works in tandem with the standing Stopgap agreement:
- Stopgap: Architectural guardrail (challenge additions, flag debt)
- Micro-Commit: Execution discipline (ship small, validate often)
Together they prevent the "high on own supply" feature stacking pattern.
| Metric | Target |
|---|---|
| Commits per session | ≥3 |
| Features per session | 1-2 max |
| Time between commits | ≤30 min |
| Rollback frequency | Should be rare (means validation is working) |
Reference: Derived from r/ClaudeAI post — 1,096 sessions, 720 commits, ~24 commits/day workflow.
#protocol #framework #process #44-micro-commit-protocol