init bmad
This commit is contained in:
@@ -31,7 +31,45 @@
|
||||
|
||||
*GATE: Must pass before Phase 0 research. Re-check after Phase 1 design.*
|
||||
|
||||
[Gates determined based on constitution file]
|
||||
**Principle I - Tool-First Architecture**
|
||||
- [ ] Feature designed as standalone, reusable tool
|
||||
- [ ] Single responsibility clearly defined
|
||||
- [ ] Independently testable and documented
|
||||
- [ ] Supports both CLI and programmatic use
|
||||
|
||||
**Principle II - Developer Experience (DX) Priority**
|
||||
- [ ] API/interface is clear and intuitive
|
||||
- [ ] Documentation includes examples
|
||||
- [ ] Error messages guide users to solutions
|
||||
- [ ] Simple by default, powerful when needed
|
||||
|
||||
**Principle III - Hook-Driven Extensibility**
|
||||
- [ ] Uses well-defined hooks with clear contracts (if applicable)
|
||||
- [ ] Hook execution is predictable and debuggable
|
||||
- [ ] Hook failures are graceful and informative
|
||||
|
||||
**Principle IV - Agent Specialization**
|
||||
- [ ] Agent has clearly defined scope (if applicable)
|
||||
- [ ] Agent is context-aware with appropriate tools
|
||||
- [ ] Agent prompts are version-controlled and testable
|
||||
|
||||
**Principle V - Test-First Development (NON-NEGOTIABLE)**
|
||||
- [ ] Tests will be written before implementation
|
||||
- [ ] Unit tests cover core functionality
|
||||
- [ ] Integration tests validate tool composition/hook interactions
|
||||
- [ ] Agent behavior validated through prompt/output testing (if applicable)
|
||||
|
||||
**Principle VI - Observability & Debuggability**
|
||||
- [ ] Appropriate logging levels defined (debug, info, warn, error)
|
||||
- [ ] Events emitted for monitoring (if applicable)
|
||||
- [ ] Reasoning/decision-making processes exposed (for agents)
|
||||
- [ ] Performance metrics measurable
|
||||
|
||||
**Principle VII - Simplicity & YAGNI**
|
||||
- [ ] Simplest solution chosen
|
||||
- [ ] Complexity justified (see Complexity Tracking if violations exist)
|
||||
- [ ] Composition preferred over inheritance
|
||||
- [ ] No premature optimization or feature bloat
|
||||
|
||||
## Project Structure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user