Mini-CoderBrain Release Notes
Version: 2.1.0 Release Date: TBD (In Development) Branch: v2.1-development Status: Feature Complete, Testing Phase
π― Release Summary
Mini-CoderBrain v2.1 introduces behavioral intelligence through pattern-based training and customizable AI modes, all while maintaining the zero-duplication token efficiency of v2.0.
Core Philosophy: Behavior training > Technical tools
β¨ Whatβs New in v2.1
1. Behavioral Patterns Library (Week 1)
Zero token impact - Reference-based pattern system
5 Core Patterns:
- pre-response-protocol.md - MANDATORY 5-step checklist before every response
- context-utilization.md - How to use memory bank without duplication
- proactive-behavior.md - When/how to make helpful suggestions
- anti-patterns.md - Banned behaviors and common mistakes (1200 lines)
- tool-selection-rules.md - Which tool to use for each task
Benefits:
- 4,700 lines of behavioral guidance available on-demand
- Modular and maintainable (update patterns without touching CLAUDE.md)
- Zero token cost (patterns read only when needed)
- Comprehensive examples and decision trees
2. Behavior Profiles System (Week 2)
+200 tokens per session - Customizable AI modes
4 Core Profiles:
default (200 tokens)
- Balanced general development
- Medium proactivity, standard explanations
- Best for: Full-stack work, learning projects
- Personality: Knowledgeable teammate
focus (150 tokens)
- Deep focus, minimal output
- Low proactivity, terse responses
- Best for: Complex bugs, time-sensitive work
- Personality: Developer in flow state
- 25% token savings vs default
research (300 tokens)
- Exploration and learning mode
- High proactivity, detailed explanations
- Best for: Understanding codebase, documentation
- Personality: Senior architect doing knowledge transfer
- 50% more tokens but deep understanding
implementation (200 tokens)
- Rapid feature building
- Medium-high proactivity, action-focused
- Best for: Prototyping, sprints, MVP development
- Personality: Fast-moving startup developer
Plus:
- custom-template.md - Create your own profiles
- Full customization via markdown files
- Profile selection in CLAUDE.md
- Auto-detection in session-start hook
π Token Efficiency
V2.1 Token Budget
| Feature | Token Cost | Impact | |βββ|ββββ|βββ| | Patterns Library | +0 tokens | Read on-demand only | | Behavior Profile | +150-300 tokens | Once per session | | Total Impact | +200 tokens avg | ~0.1% of context window |
Compared to V2.0
- V2.0: 79.9% token reduction (via load-once principle)
- V2.1: 79.8% token reduction (maintained efficiency)
- Result: Still 25% longer conversations before token limit
Profile Token Comparison
focus ββββββββββ 150 tokens (lightest)
default ββββββββββ 200 tokens
implementation ββββββββββ 200 tokens
research ββββββββββ 300 tokens (heaviest)
π Key Features
Pattern Library System
.claude/patterns/
βββ README.md # Pattern system overview
βββ pre-response-protocol.md # Mandatory checklist
βββ context-utilization.md # Memory bank usage
βββ proactive-behavior.md # When to suggest
βββ anti-patterns.md # What NOT to do
βββ tool-selection-rules.md # Tool selection guide
Usage: AI reads patterns on-demand when guidance needed (not injected into every prompt)
Behavior Profiles System
.claude/profiles/
βββ README.md # Profile system overview
βββ default.md # Balanced mode (200 tokens)
βββ focus.md # Deep focus (150 tokens)
βββ research.md # Exploration (300 tokens)
βββ implementation.md # Rapid build (200 tokens)
βββ custom-template.md # Template for custom profiles
Usage: Set in CLAUDE.md, loaded once at session start
π§ How to Use
Using Patterns
Patterns are automatically referenced by the AI when needed - no user action required.
For advanced users: Read patterns directly to understand behavioral rules:
@.claude/patterns/pre-response-protocol.md
@.claude/patterns/anti-patterns.md
Selecting a Profile
In CLAUDE.md (persistent):
# Behavior Profile (v2.1+)
behavior_profile: "focus" # default / focus / research / implementation / custom
Session status displays active profile:
π§ [MINI-CODERBRAIN: ACTIVE] - mini-coder-brain
π― Focus: Authentication implementation
π Context: .claude/memory/ (loaded)
π Profile: focus
β‘ Ready for development
Creating Custom Profiles
- Copy template:
cp .claude/profiles/custom-template.md .claude/profiles/my-profile.md - Customize settings:
output_style: terse proactivity: low explanation_depth: minimal communication: efficient - Set in CLAUDE.md:
behavior_profile: "my-profile" - Test and refine based on experience
π― Profile Selection Guide
Choose default when:
- General full-stack development
- Learning new project
- Balanced work (features + bugs + docs)
- Unsure which profile to use
Choose focus when:
- Need deep concentration
- Complex implementation work
- Time-sensitive delivery
- Want minimal distractions
Choose research when:
- Understanding new codebase
- Learning project patterns
- Reading documentation
- Exploring architecture
Choose implementation when:
- Rapid feature development
- Prototyping new ideas
- Iterating quickly
- Well-defined specifications
π Documentation
User Guides
.claude/patterns/README.md- Pattern library overview.claude/profiles/README.md- Profile system guide.claude/profiles/custom-template.md- Create custom profiles
Developer Documentation
docs/v2-planning/WEEK-1-PROGRESS.md- Pattern library developmentdocs/v2-planning/WEEK-2-PROGRESS.md- Profiles system developmentdocs/v2-planning/V2.1-BRANCH-WORKFLOW.md- Development workflowdocs/v2-planning/V2.1-RELEASE-NOTES.md- This document
π Migration from V2.0
Automatic Migration
V2.1 is fully backward compatible with V2.0:
- Default profile = V2.0 behavior
- No CLAUDE.md changes required
- All V2.0 features work unchanged
Optional Upgrade Path
- Review new patterns (understand behavioral rules)
- Try different profiles (experiment with modes)
- Create custom profile (if defaults donβt fit)
- Share feedback (help improve system)
Breaking Changes
None - V2.1 is fully backward compatible
π Design Philosophy
Behavior Training > Tools
v2.1 adds zero new tools - instead focuses on:
- Documenting WHAT makes Mini-CoderBrain work
- Enabling customization of HOW it works
- Making behavioral training explicit and reusable
Modular Architecture
Patterns (Week 1):
- WHAT to do (pre-response checklist, tool selection)
- Universal rules (apply to all profiles)
- Reference material (read on-demand)
Profiles (Week 2):
- HOW to do it (communication style, output length)
- Context-specific behavior (different per task)
- Active configuration (loaded at session start)
Relationship:
- Profiles reference patterns for guidance
- Patterns provide universal behavioral rules
- Profiles customize the application of those rules
π§ͺ Testing Status
Week 1 (Pattern Library)
β All 5 patterns extracted and documented β CLAUDE.md updated to reference patterns β Token impact verified: +0 tokens β Committed to v2.1-development branch
Week 2 (Behavior Profiles)
β All 4 core profiles created β Custom profile template ready β Profile detection implemented β Token impact verified: +200 tokens avg β Committed to v2.1-development branch
Testing Phase (Current)
β³ Real-world testing in development sessions β³ User feedback collection β³ Profile refinement based on usage β³ Example custom profiles creation
π§ Known Limitations
Current Limitations
- Profile switching: Requires session restart (change CLAUDE.md)
- No metrics yet: Canβt track profile effectiveness automatically
- Limited examples: Only 4 core profiles + template
- No visualization: No dashboard for profile comparison
Planned Improvements (v2.2+)
- Environment variable profile override (single session)
- Smart metrics system (track effectiveness)
- Example custom profiles (backend, frontend, devops)
- Profile effectiveness dashboard
π Performance Metrics
Development Velocity
Week 1: 1 day (Pattern library extraction) Week 2: 1 day (Behavior profiles system) Total: 2 days for complete v2.1 feature set
Code Metrics
Files Created: 18 new files Lines Added: ~7,000 lines (patterns + profiles + docs) Token Impact: +200 tokens per session (~0.1% increase) Backward Compatibility: 100% (zero breaking changes)
Quality Metrics
Documentation: Comprehensive (README, templates, guides) Examples: 4 core profiles + extensive examples in patterns Testability: All features testable in real sessions Maintainability: Modular architecture, easy to extend
π― Success Criteria
V2.1 Goals
- Extract behavioral patterns from CLAUDE.md
- Create pattern library with zero token impact
- Design customizable behavior profiles
- Implement 4 core profiles + template
- Maintain backward compatibility
- Keep token efficiency (79%+ reduction)
- Real-world testing and validation
- User feedback and refinement
Success Metrics
Pattern Library:
- β 5 patterns extracted (4,700 lines)
- β Zero token impact verified
- β Comprehensive examples included
Behavior Profiles:
- β 4 core profiles created
- β Custom template ready
- β Profile detection working
- β Token impact minimal (+200 avg)
Overall:
- β Backward compatible (100%)
- β Token efficient (79.8% reduction maintained)
- β³ User satisfaction (pending feedback)
π Acknowledgments
V2.1 Development: Built on the foundation of Mini-CoderBrain v2.0βs success, v2.1 makes the core insight explicit: behavior training is more valuable than technical tools.
Key Insights:
- Pattern library makes behavioral rules reusable
- Profiles enable context-appropriate behavior
- Token efficiency can be maintained while adding features
- Modularity enables future extensibility
π Whatβs Next
V2.2 (Planned)
- Smart metrics system (track profile effectiveness)
- Environment variable profile override
- Example custom profiles (domain-specific)
- Profile effectiveness dashboard
V2.5 (Future)
- Meta-framework (generalize beyond coding)
- Non-coding examples (writing, research, PM)
- Training template generator
- Case studies and lessons learned
V3.0 (Aspirational)
- Adaptive learning (self-improving patterns)
- Feedback loop (user corrections β pattern updates)
- Community learning (share anonymized patterns)
- Pattern marketplace
π Changelog
[2.1.0] - TBD (In Development)
Added
- Behavioral Patterns Library (.claude/patterns/)
- 5 core patterns (4,700 lines total)
- Zero token impact (read on-demand)
- Comprehensive examples and guides
- Behavior Profiles System (.claude/profiles/)
- 4 core profiles (default, focus, research, implementation)
- Custom profile template
- Profile selection in CLAUDE.md
- Auto-detection in session-start hook
Changed
- CLAUDE.md: Added behavior_profile setting
- CLAUDE.md: Updated session bootstrapping to reference patterns
- session-start.sh: Added profile detection and display
- Core Features: Added pattern library and profiles
Performance
- Token cost: +200 tokens avg per session (~0.1% increase)
- Token efficiency: 79.8% reduction (maintained from v2.0)
- Conversation length: 25% longer before token limit (maintained)
π Resources
Documentation
Development
Community
Version: 2.1.0-dev Status: Feature Complete, Testing Phase Release: TBD (After real-world testing and feedback) Compatibility: Fully backward compatible with v2.0