development-protocol.mdā¢4.08 kB
# Development Protocol - v5.2.0 Knowledge Preservation
**Version**: v5.2.0 FULLY OPERATIONAL
**Updated**: January 12, 2025
**Purpose**: Prevent knowledge loss and feature regression through systematic documentation
**Status**: ā
Current Development Guidelines
**Sync**: EuConquisto Composer MCP v5.2.0
---
## š **Pre-Development Checklist**
### **Before Making ANY Changes**:
1. **Reference Check**: Read `/docs/technical-knowledge-base.md`
2. **JSON Validation**: Verify against `/docs/references/json-example.md`
3. **Working Examples**: Check `/docs/working-examples.md` for proven patterns
4. **Status Review**: Check current status in `CLAUDE.md`
### **For New Features**:
1. **Build on Proven Patterns**: Use existing working components
2. **Document First**: Update knowledge base BEFORE implementing
3. **Test Incrementally**: Small changes with immediate validation
4. **Preserve Working Code**: Never modify components marked as "WORKING"
---
## š **Debugging Protocol**
### **Step 1: Knowledge Base Consultation**
- Check if this issue was solved before
- Reference the JSON structure specification
- Verify working components are intact
- Review previous solutions
### **Step 2: Minimal Reproduction**
- Create smallest possible test case
- Use known working examples as baseline
- Test single components in isolation
- Avoid assumptions about root cause
### **Step 3: Systematic Analysis**
- Follow proven debugging patterns
- Document findings in real-time
- Update knowledge base with insights
- Preserve working solutions
---
## š **Documentation Update Rules**
### **When to Update Documentation**:
- ā
New working solution discovered
- ā
Critical technical decision made
- ā
Root cause identified and fixed
- ā
Working pattern validated
- ā
Debugging insight gained
### **What to Update**:
- `/docs/technical-knowledge-base.md` - Core technical knowledge
- `/docs/working-examples.md` - Proven patterns and code
- `CLAUDE.md` - Project status and context
- `/docs/progress/latest.md` - Progress tracking
- Code comments in critical files
### **How to Update**:
1. **Real-time Updates**: Document as you discover
2. **Preserve History**: Don't overwrite working solutions
3. **Link References**: Cross-reference related documents
4. **Status Tracking**: Mark components as WORKING/BROKEN/UNKNOWN
---
## š« **Forbidden Actions**
### **Never Do This**:
- ā Modify files marked as "WORKING" without consultation
- ā Assume root cause without referencing knowledge base
- ā Rebuild features that are already working
- ā Ignore the JSON reference specification
- ā Make changes without updating documentation
### **Always Do This**:
- ā
Consult knowledge base first
- ā
Test with minimal examples
- ā
Document findings immediately
- ā
Preserve working patterns
- ā
Update status tracking
---
## š **Knowledge Validation Cycle**
### **Every Development Session**:
1. **Start**: Read knowledge base and current status
2. **Plan**: Reference proven patterns and working examples
3. **Implement**: Build on existing working components
4. **Test**: Validate against known working cases
5. **Document**: Update knowledge base with findings
6. **Status**: Update project status and next steps
### **Monthly Reviews**:
- Audit knowledge base for accuracy
- Validate working examples still work
- Update documentation structure
- Archive obsolete information
---
## šÆ **Success Metrics**
### **Knowledge Preservation Success**:
- ā
Zero regression of working features
- ā
Debugging sessions reference prior solutions
- ā
New team members can understand system quickly
- ā
Technical decisions are documented and traceable
### **Development Efficiency Success**:
- ā
Issues resolved faster through knowledge reuse
- ā
Less time spent rebuilding working features
- ā
More time spent on actual new functionality
- ā
Clear understanding of system architecture
---
**Last Updated**: January 11, 2025
**Status**: ā
**MANDATORY** - Follow this protocol for all development work