mother-brain 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/skills/child-brain/SKILL.md +430 -0
- package/.github/skills/mother-brain/SKILL.md +3069 -0
- package/.github/skills/mother-brain/examples/input-01.md +51 -0
- package/.github/skills/mother-brain/examples/menu-examples.md +119 -0
- package/.github/skills/mother-brain/examples/output-01.md +185 -0
- package/.github/skills/mother-brain/references/resources.md +147 -0
- package/.github/skills/mother-brain/references/tech-stack-guide.md +161 -0
- package/.github/skills/mother-brain/scripts/vision-template.md +48 -0
- package/.github/skills/skill-creator/SKILL.md +615 -0
- package/.github/skills/skill-creator/references/resources.md +97 -0
- package/.github/skills/skill-creator/scripts/validate-skill-name.ps1 +60 -0
- package/CODE_OF_CONDUCT.md +119 -0
- package/CONTRIBUTING.md +352 -0
- package/README.md +162 -0
- package/docs/learning-log.md +514 -0
- package/package.json +22 -0
package/README.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# π§ Mother Brain
|
|
2
|
+
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://github.com/super-state/mother-brain/releases)
|
|
5
|
+
|
|
6
|
+
**Open Source AI Project Management Framework for GitHub Copilot CLI**
|
|
7
|
+
|
|
8
|
+
Transform your vision into reality with Mother Brainβan intelligent meta-framework that guides AI assistants through vision-driven project execution. Built for developers who want to ship faster with AI-powered automation, research-driven roadmaps, and automatic skill generation.
|
|
9
|
+
|
|
10
|
+
**Version**: 0.0.4 | **License**: MIT | **Status**: Alpha
|
|
11
|
+
|
|
12
|
+
## Why Mother Brain?
|
|
13
|
+
|
|
14
|
+
- **Vision-Driven Development**: Start with WHY, not just WHAT
|
|
15
|
+
- **Automatic Skill Generation**: Creates specialized agents for your project patterns
|
|
16
|
+
- **MVP-First Roadmaps**: Research-driven phasing that delivers value fast
|
|
17
|
+
- **Self-Learning**: Improves from every project it manages
|
|
18
|
+
- **Zero Token Waste**: Efficient execution with intelligent context management
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Clone the framework
|
|
24
|
+
git clone https://github.com/super-state/mother-brain.git
|
|
25
|
+
cd mother-brain
|
|
26
|
+
|
|
27
|
+
# Invoke Mother Brain in Copilot CLI
|
|
28
|
+
gh copilot explain "Use the mother-brain skill"
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Then select "Yes, start vision discovery" and Mother Brain will guide you through the rest.
|
|
32
|
+
|
|
33
|
+
**2-Minute Onboarding**:
|
|
34
|
+
- Quick start guide: `docs/quick-start.md`
|
|
35
|
+
- Example project walkthrough: `docs/example-project.md`
|
|
36
|
+
|
|
37
|
+
## Features
|
|
38
|
+
|
|
39
|
+
- π― **Vision Discovery Wizard**: 8-12 questions to clarify your project's purpose
|
|
40
|
+
- π **Research-Driven Roadmaps**: Automatically researches best practices for your project type
|
|
41
|
+
- π οΈ **Dynamic Skill Creation**: Identifies repetitive patterns and generates specialized skills
|
|
42
|
+
- β
**Task Management**: Breaks down phases into actionable, trackable tasks
|
|
43
|
+
- π **Session Continuity**: Pick up exactly where you left off
|
|
44
|
+
- π§ **Self-Improvement**: Learns from feedback and updates itself
|
|
45
|
+
- π **MVP Focus**: Delivers core value first, iterates based on real feedback
|
|
46
|
+
|
|
47
|
+
## What Makes It Different?
|
|
48
|
+
|
|
49
|
+
Mother Brain isn't just a toolβit's a **thinking partner** for your AI development workflow:
|
|
50
|
+
|
|
51
|
+
- **Product-First**: Focuses on outcomes and user value, not just features
|
|
52
|
+
- **Research-Driven**: Automatically researches best practices for your project type
|
|
53
|
+
- **Adaptive**: Roadmaps evolve based on learnings, not rigid plans
|
|
54
|
+
- **Self-Improving**: Updates itself when issues are foundβlearns from every project
|
|
55
|
+
|
|
56
|
+
## Project Structure
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
mother-brain/
|
|
60
|
+
βββ .github/skills/ # Framework skills
|
|
61
|
+
β βββ mother-brain/ # Core orchestrator
|
|
62
|
+
β βββ skill-creator/ # Generates new skills
|
|
63
|
+
β βββ skill-trigger-detector/ # Auto-matches skills to tasks
|
|
64
|
+
βββ .mother-brain/ # Your project docs (created on first use)
|
|
65
|
+
β βββ docs/
|
|
66
|
+
β β βββ vision.md # Project vision
|
|
67
|
+
β β βββ roadmap.md # Phased execution plan
|
|
68
|
+
β β βββ tasks/ # Individual task documents
|
|
69
|
+
β β βββ learning-log.md # Self-improvement tracking
|
|
70
|
+
β βββ session-state.json # Session continuity
|
|
71
|
+
βββ docs/ # Framework docs
|
|
72
|
+
β βββ quick-start.md
|
|
73
|
+
β βββ example-project.md
|
|
74
|
+
β βββ brand-guidelines.md
|
|
75
|
+
βββ README.md # This file
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Use Cases
|
|
79
|
+
|
|
80
|
+
- **New Projects**: Start with vision, get a complete roadmap and skill library
|
|
81
|
+
- **Existing Projects**: Import your vision, identify patterns, create skills
|
|
82
|
+
- **Learning AI Development**: See best practices in action
|
|
83
|
+
- **Team Collaboration**: Share vision and roadmap documents
|
|
84
|
+
|
|
85
|
+
## Requirements
|
|
86
|
+
|
|
87
|
+
- [GitHub Copilot CLI](https://docs.github.com/en/copilot/github-copilot-in-the-cli) installed and configured
|
|
88
|
+
- Git for version control
|
|
89
|
+
|
|
90
|
+
## License
|
|
91
|
+
|
|
92
|
+
MIT - See LICENSE file for details
|
|
93
|
+
|
|
94
|
+
## Community
|
|
95
|
+
|
|
96
|
+
- Report issues or suggest improvements via GitHub Issues
|
|
97
|
+
- Share your projects built with Mother Brain
|
|
98
|
+
|
|
99
|
+
## Contributing
|
|
100
|
+
|
|
101
|
+
We welcome contributions of all kinds. Please read:
|
|
102
|
+
- [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
103
|
+
- [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
|
|
104
|
+
|
|
105
|
+
## Frequently Asked Questions
|
|
106
|
+
|
|
107
|
+
**Q: What problem does Mother Brain solve?**
|
|
108
|
+
A: Mother Brain eliminates wasted tokens and confusion in AI-driven development by providing structured workflowsβfrom vision discovery to MVP delivery. It automates repetitive patterns through skill generation and uses research-backed best practices for every project type.
|
|
109
|
+
|
|
110
|
+
**Q: Is this only for GitHub Copilot CLI?**
|
|
111
|
+
A: Currently yes. Mother Brain is optimized for GitHub Copilot CLI's skill system, but the framework principles (vision-driven development, skill automation, MVP-first roadmaps) apply to any AI coding assistant.
|
|
112
|
+
|
|
113
|
+
**Q: How is this different from traditional project management tools?**
|
|
114
|
+
A: Mother Brain is built specifically for AI-driven development. Unlike traditional PM tools, it:
|
|
115
|
+
- Automatically researches best practices for your project type
|
|
116
|
+
- Generates specialized skills for repetitive patterns
|
|
117
|
+
- Learns from every project and improves itself
|
|
118
|
+
- Focuses on outcomes (vision) rather than just tasks
|
|
119
|
+
|
|
120
|
+
**Q: Do I need to know how to code to use Mother Brain?**
|
|
121
|
+
A: Yes, Mother Brain is designed for developers building software projects with AI assistance. You'll need GitHub Copilot CLI installed and basic Git knowledge.
|
|
122
|
+
|
|
123
|
+
**Q: Can I use Mother Brain for existing projects?**
|
|
124
|
+
A: Absolutely! You can import your existing vision/goals, and Mother Brain will help identify patterns, create skills, and generate a phased roadmap to guide continued development.
|
|
125
|
+
|
|
126
|
+
**Q: How does the self-learning feature work?**
|
|
127
|
+
A: When issues occur or improvements are suggested, Mother Brain can update its own SKILL.md file to prevent similar issues in future projects. It learns from real-world feedback and compounds knowledge across all projects.
|
|
128
|
+
|
|
129
|
+
**Q: Is Mother Brain free to use?**
|
|
130
|
+
A: Yes! Mother Brain is open source under the MIT License. You're free to use, modify, and distribute it.
|
|
131
|
+
|
|
132
|
+
## Comparison with Alternatives
|
|
133
|
+
|
|
134
|
+
| Feature | Mother Brain | Traditional PM Tools | AI Coding Assistants Alone |
|
|
135
|
+
|---------|--------------|---------------------|---------------------------|
|
|
136
|
+
| Vision Discovery | β
Built-in wizard | β Manual | β Not included |
|
|
137
|
+
| Research-Driven Roadmaps | β
Automatic | β Manual | β Not included |
|
|
138
|
+
| Skill Automation | β
Auto-generates | β None | β οΈ Manual prompt eng. |
|
|
139
|
+
| Self-Learning | β
Improves itself | β Static | β Stateless |
|
|
140
|
+
| Session Continuity | β
Resumes progress | β οΈ Manual tracking | β No memory |
|
|
141
|
+
| MVP-First Focus | β
Research-backed | β οΈ Varies | β Not guided |
|
|
142
|
+
|
|
143
|
+
## Roadmap & Changelog
|
|
144
|
+
|
|
145
|
+
See `.github/skills/mother-brain/SKILL.md` for the complete framework documentation and capabilities.
|
|
146
|
+
|
|
147
|
+
## Author & Maintainers
|
|
148
|
+
|
|
149
|
+
**Created by**: Mother Brain Project Contributors
|
|
150
|
+
**Maintained by**: Open Source Community
|
|
151
|
+
**First Released**: February 2026
|
|
152
|
+
|
|
153
|
+
## References & Learn More
|
|
154
|
+
|
|
155
|
+
- [GitHub Copilot CLI Documentation](https://docs.github.com/en/copilot/github-copilot-in-the-cli)
|
|
156
|
+
- [Open Source Project Management Best Practices](https://opensource.guide/)
|
|
157
|
+
- [Vision-Driven Development Principles](https://en.wikipedia.org/wiki/Vision_document)
|
|
158
|
+
|
|
159
|
+
## Project Status
|
|
160
|
+
|
|
161
|
+
Mother Brain is **production-ready** and actively maintained.
|
|
162
|
+
|
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
# Learning Log
|
|
2
|
+
|
|
3
|
+
## 2026-02-06 - Mother Brain Self-Update: Remove Redundant Skill
|
|
4
|
+
|
|
5
|
+
**Issue Type**: Suggestion for improvement
|
|
6
|
+
**User Report**: skill-trigger-detector seems unused and might be redundant - never seen it activated
|
|
7
|
+
|
|
8
|
+
**Analysis**:
|
|
9
|
+
- skill-trigger-detector was designed to auto-detect user intent and trigger skills
|
|
10
|
+
- In practice: CLI already has /skill-name for explicit invocation, Mother Brain Step 9 handles skill matching
|
|
11
|
+
- The skill itself was a configuration wizard, not an active detector
|
|
12
|
+
- Never actually invoked during normal operation
|
|
13
|
+
|
|
14
|
+
**Changes Applied**:
|
|
15
|
+
- Deleted `.github/skills/skill-trigger-detector/` folder
|
|
16
|
+
- Updated all Mother Brain references from 4 core skills to 3:
|
|
17
|
+
- mother-brain, child-brain, skill-creator
|
|
18
|
+
- Removed all "invoke skill-trigger-detector" instructions
|
|
19
|
+
- Updated file structure documentation
|
|
20
|
+
|
|
21
|
+
**Core Framework now**: 3 skills (mother-brain, child-brain, skill-creator)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 2026-02-06 - Mother Brain Self-Update: Existing Project Onboarding
|
|
26
|
+
|
|
27
|
+
**Issue Type**: Suggestion for improvement
|
|
28
|
+
**User Report**: When Mother Brain enters an existing project that doesn't have Mother Brain artifacts, it should offer to onboard - scan the repo to understand what exists, ask clarifying questions, build a retrospective roadmap, and help continue to the next milestone.
|
|
29
|
+
|
|
30
|
+
**Mother Brain Change**:
|
|
31
|
+
- Added new detection case in Step 2: "Existing project WITHOUT Mother Brain artifacts"
|
|
32
|
+
- Added Step 2.2: Existing Project Onboarding workflow with:
|
|
33
|
+
- Deep Repo Analysis (scan ALL files, assess project type/stack/features)
|
|
34
|
+
- Vision Extraction (clarifying questions informed by what exists)
|
|
35
|
+
- Retrospective Roadmap (Phase 0 = done, Phase 1 = current, Phase 2+ = future)
|
|
36
|
+
- Skill Identification (detect patterns in existing code)
|
|
37
|
+
- Confirmation and transition to normal workflow
|
|
38
|
+
|
|
39
|
+
**Sections Updated**:
|
|
40
|
+
- Mother Brain: Step 2 (added third detection case)
|
|
41
|
+
- Mother Brain: New Step 2.2 (Existing Project Onboarding)
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 2026-02-06 - Mother Brain Self-Update: Project Brain Active Role
|
|
46
|
+
|
|
47
|
+
**Issue Type**: Suggestion for improvement
|
|
48
|
+
**User Report**: Project Brain should be ACTIVE - not just storing learnings but updating vision docs, skills, and task documents. Also, user output should be simple ("Project Brain will remember this", "β skill has been updated") not verbose technical details.
|
|
49
|
+
|
|
50
|
+
**Mother Brain Change**:
|
|
51
|
+
- Added "Vision β Domain Research Principle": When user mentions inspirations (e.g., "Stardew Valley"), deep-research that domain and embed knowledge into skills
|
|
52
|
+
|
|
53
|
+
**Child Brain Changes**:
|
|
54
|
+
- Step 5 rewritten as "ACTIVE" course correction with mandatory actions:
|
|
55
|
+
- Check and update vision document if gaps found
|
|
56
|
+
- Check and update project skills with new preferences
|
|
57
|
+
- Check and flag future tasks that need this learning
|
|
58
|
+
- Add validation checks to prevent recurrence
|
|
59
|
+
- Visible Feedback section rewritten with SIMPLE format:
|
|
60
|
+
- "π Project Brain will remember this"
|
|
61
|
+
- "β [skill-name] has been updated"
|
|
62
|
+
- No verbose technical details
|
|
63
|
+
|
|
64
|
+
**Sections Updated**:
|
|
65
|
+
- Mother Brain: Learning Architecture section (new principle)
|
|
66
|
+
- Child Brain: Step 5, Visible Feedback section
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 2026-02-06 - Mother Brain Self-Update: Approval Gate Enforcement
|
|
71
|
+
|
|
72
|
+
**Issue Type**: Something broke or didn't work
|
|
73
|
+
**User Report**: When providing Mother Brain with an update, it should go via Child Brain for triage. Also, there's supposed to be assessment and the solution should be presented for approval BEFORE implementation - but agent went ahead and implemented without approval.
|
|
74
|
+
|
|
75
|
+
**Root Cause**:
|
|
76
|
+
1. Step 2A didn't invoke Child Brain for triage
|
|
77
|
+
2. Step 2A skipped the approval gate - edits were applied without user acceptance
|
|
78
|
+
|
|
79
|
+
**Mother Brain Change**:
|
|
80
|
+
- Step 2A now IMMEDIATELY invokes Child Brain for ALL feedback triage
|
|
81
|
+
- Added mandatory three-option approval gate: Accept / Revise / Reject
|
|
82
|
+
- Changes are ONLY applied after user selects "Accept"
|
|
83
|
+
|
|
84
|
+
**Child Brain Change**:
|
|
85
|
+
- Added MANDATORY PAIRING RULE: Every feedback produces BOTH Mother Brain + Project Brain entries
|
|
86
|
+
- Added APPROVAL GATE RULE: Must present changes and get acceptance before editing
|
|
87
|
+
- Child Brain now explicitly shows both proposed entries before applying
|
|
88
|
+
|
|
89
|
+
**Sections Updated**:
|
|
90
|
+
- Mother Brain: Step 2A completely restructured
|
|
91
|
+
- Child Brain: Operating Principles updated with two new rules
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 2026-02-06 - Mother Brain Self-Update: Learning Architecture Improvement
|
|
96
|
+
|
|
97
|
+
**Issue Type**: Suggestion for improvement
|
|
98
|
+
**User Report**: Mother Brain should be project-agnostic with hard rules against storing project-specific information. Child Brain should be the absolute expert at parsing ALL feedback (good and bad). Mother Brain learns only behavioral/process improvements. Project Brain handles course corrections for the current project.
|
|
99
|
+
|
|
100
|
+
**Root Cause**: Learning architecture wasn't clearly delineated - Mother Brain could accumulate project-specific knowledge over time
|
|
101
|
+
|
|
102
|
+
**Fix Applied**:
|
|
103
|
+
1. **Mother Brain SKILL.md** - Added "Core Identity (IMMUTABLE)" section:
|
|
104
|
+
- Project Agnostic (ABSOLUTE RULE) - never stores project-specific info
|
|
105
|
+
- Behavioral Self-Improvement Only - learns about process, not domains
|
|
106
|
+
- Vision Facilitator Role - sole purpose is bridging user vision to reality
|
|
107
|
+
|
|
108
|
+
2. **Mother Brain SKILL.md** - Added "Learning Architecture (STRICT SEPARATION)" section:
|
|
109
|
+
- Child Brain is the Feedback Expert for ALL user responses
|
|
110
|
+
- Three-Brain Separation defined clearly
|
|
111
|
+
- Project Brain as "course corrector" for project trajectory
|
|
112
|
+
- Mother Brain Self-Reflection Questions (behavioral only)
|
|
113
|
+
|
|
114
|
+
3. **Child Brain SKILL.md** - Expanded role:
|
|
115
|
+
- Renamed to "Feedback Expert & Learning Orchestrator"
|
|
116
|
+
- Continuous retro mindset - every user response is data
|
|
117
|
+
- Added preference triggers and continuous retro triggers
|
|
118
|
+
- Added "Three Questions for Every Learning" framework
|
|
119
|
+
- Project Brain updates now include course correction actions
|
|
120
|
+
|
|
121
|
+
**Sections Updated**:
|
|
122
|
+
- Mother Brain: Operating Principles (major restructure)
|
|
123
|
+
- Child Brain: Purpose, When to Invoke, Operating Principles, Step 4, Step 5
|
|
124
|
+
|
|
125
|
+
**Lesson Learned**: The three-brain architecture (Mother/Child/Project) must have absolute separation of concerns. Mother Brain = behavior only. Project Brain = this project's trajectory. Skills = domain knowledge. Child Brain = the router that ensures learnings go to the right place.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 2026-02-06 - Project Archived: Patchwork Bay
|
|
130
|
+
|
|
131
|
+
**Project Name**: Patchwork Bay
|
|
132
|
+
**Archive Location**: C:\Users\adamden\OneDrive - Kainos Software\Desktop\Patchwork-Bay-Archive\
|
|
133
|
+
**Skills Archived**:
|
|
134
|
+
- cozy-audio-designer
|
|
135
|
+
- design-system-enforcer
|
|
136
|
+
- game-narrative-designer
|
|
137
|
+
- phaser-scene-builder
|
|
138
|
+
- pixel-art-creator
|
|
139
|
+
|
|
140
|
+
**Tasks Completed**: 5 of 14
|
|
141
|
+
- Task 001: Project Foundation
|
|
142
|
+
- Task 002: Player Movement & Town
|
|
143
|
+
- Task 003: Day/Night Cycle
|
|
144
|
+
- Task 004: Dialogue System
|
|
145
|
+
- Task 011: Audio Integration
|
|
146
|
+
|
|
147
|
+
**Key Learnings Preserved**:
|
|
148
|
+
- Visual assets must exist before code implementation
|
|
149
|
+
- Never use placeholder rectangles
|
|
150
|
+
- Stardew-style wooden frames for portraits and UI elements
|
|
151
|
+
- Research domain before asking user about implementation approach
|
|
152
|
+
- Always use skill-creator skill to create new skills
|
|
153
|
+
- External audio requires manual download - generate placeholders for dev
|
|
154
|
+
|
|
155
|
+
**Reason**: User requested archive to start new project
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 2026-02-06 - Mother Brain Self-Update: Eject Cleanup Missing Env Folders
|
|
160
|
+
|
|
161
|
+
**Issue Type**: Something broke or didn't work
|
|
162
|
+
**User Report**: After eject, `.vscode/` folder with project-specific settings (derby-dash paths) and `.vite/` cache folder were left behind.
|
|
163
|
+
|
|
164
|
+
**Root Cause**:
|
|
165
|
+
- Step 2B.3 explicitly EXCLUDED `.vscode` from cleanup (marked as "keep")
|
|
166
|
+
- No mention of `.vite/`, `node_modules/`, or other environment/cache folders
|
|
167
|
+
- These folders contain project-specific paths and dependencies
|
|
168
|
+
|
|
169
|
+
**Mother Brain Changes**:
|
|
170
|
+
- Step 2B.3: Updated to INCLUDE environment/cache folders in cleanup:
|
|
171
|
+
- `.vscode/` (project-specific settings)
|
|
172
|
+
- `.vite/` (Vite cache)
|
|
173
|
+
- `node_modules/` (dependencies)
|
|
174
|
+
- `dist/`, `build/`, `.next/`, `.nuxt/`, `.turbo/`, `.cache/`
|
|
175
|
+
- Step 2B.4: Added "Environment/Cache to DELETE" section in eject plan display
|
|
176
|
+
- Step 2B.5: Added deletion commands for all environment folders
|
|
177
|
+
- Removed `.vscode/` from "Will KEEP" list
|
|
178
|
+
|
|
179
|
+
**Immediate Fix**: Cleaned up leftover `.vscode/` and `.vite/` folders from workspace
|
|
180
|
+
|
|
181
|
+
**Sections Updated**: Step 2B.3, Step 2B.4, Step 2B.5
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## 2026-02-06 - Mother Brain Self-Update: Post-Implementation Reflection
|
|
186
|
+
|
|
187
|
+
**Issue Type**: Suggestion for improvement
|
|
188
|
+
**User Report**: After completing an improvement where Child Brain does learning, there should be a mandatory reflection at the end that checks for implementation errors like "No match found" and triggers additional learning to prevent that friction going forward.
|
|
189
|
+
|
|
190
|
+
**Root Cause**:
|
|
191
|
+
- Step 2A.3 applied changes but had no verification step
|
|
192
|
+
- Implementation friction (failed edits, retries) was not captured as learning
|
|
193
|
+
- Same friction could occur again without any process improvement
|
|
194
|
+
|
|
195
|
+
**Mother Brain Change**:
|
|
196
|
+
- Added new Step 2A.3.1: Implementation Verification (MANDATORY)
|
|
197
|
+
- Scans conversation for implementation friction patterns:
|
|
198
|
+
- "No match found" (edit failures)
|
|
199
|
+
- "File not found" (path errors)
|
|
200
|
+
- Build/test failures
|
|
201
|
+
- Multiple retry attempts
|
|
202
|
+
- If friction detected: Analyzes root cause and proposes recursive improvement
|
|
203
|
+
- Improvement goes through approval gate before being applied
|
|
204
|
+
- Key principle: Every implementation session with friction produces learning
|
|
205
|
+
|
|
206
|
+
**Sections Updated**: Step 2A.3.1 (new section after Step 2A.3)
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## 2026-02-06 - Mother Brain Self-Update: Edit Tool Precision
|
|
211
|
+
|
|
212
|
+
**Issue Type**: Recursive learning from implementation friction
|
|
213
|
+
**Trigger**: Multiple "No match found" errors during Step 2A improvement session
|
|
214
|
+
|
|
215
|
+
**Root Cause**:
|
|
216
|
+
- View tool output doesn't always match raw file content exactly
|
|
217
|
+
- Whitespace (spaces vs tabs, indentation count) can differ
|
|
218
|
+
- Line endings (CRLF vs LF) not visible in view output
|
|
219
|
+
|
|
220
|
+
**Mother Brain Change**:
|
|
221
|
+
- Added "Edit Tool Precision" principle to Operating Principles
|
|
222
|
+
- When edit fails: Use PowerShell to extract exact bytes/characters
|
|
223
|
+
- Match indentation precisely - never assume view output is exact
|
|
224
|
+
|
|
225
|
+
**Sections Updated**: Operating Principles (new principle added)
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## 2026-02-06 - Mother Brain Self-Update: Framework vs Project Separation
|
|
230
|
+
|
|
231
|
+
**Issue Type**: Suggestion for improvement
|
|
232
|
+
**User Report**: Need clear separation between framework development (improving Mother Brain) and project development (building with Mother Brain). When in a project, commits should go to project repo, not mother-brain. When improving Mother Brain, need ability to release as PR. Eject should sync improvements back and return to framework folder.
|
|
233
|
+
|
|
234
|
+
**Root Cause**:
|
|
235
|
+
- No clear workspace separation between framework mode and project mode
|
|
236
|
+
- All work happened in same folder, risking accidental commits to wrong repo
|
|
237
|
+
- No mechanism to sync framework improvements back after project work
|
|
238
|
+
- No release workflow for framework updates
|
|
239
|
+
|
|
240
|
+
**Mother Brain Changes**:
|
|
241
|
+
1. **New Step 3.5: Project Folder Setup** (after Vision Discovery):
|
|
242
|
+
- Creates sibling folder for project (`../project-name/`)
|
|
243
|
+
- Copies `.github/skills/` so CLI can find them
|
|
244
|
+
- Copies `docs/learning-log.md`
|
|
245
|
+
- Optionally inits git repo
|
|
246
|
+
- Changes working directory to project folder
|
|
247
|
+
- Option to keep in current folder (framework testing mode)
|
|
248
|
+
|
|
249
|
+
2. **Updated Step 2B.0: Sync Framework Improvements Back**:
|
|
250
|
+
- Before deleting project files, copies updated framework files back to mother-brain:
|
|
251
|
+
- mother-brain/SKILL.md
|
|
252
|
+
- child-brain/SKILL.md
|
|
253
|
+
- skill-creator/SKILL.md
|
|
254
|
+
- learning-log.md
|
|
255
|
+
- Shows diff summary of changes
|
|
256
|
+
|
|
257
|
+
3. **Updated Step 2B.7: Return to Framework Folder**:
|
|
258
|
+
- Changes working directory back to mother-brain folder
|
|
259
|
+
- Offers to release Mother Brain immediately
|
|
260
|
+
- Menu includes: Release, Review changes, Start new project, Skip
|
|
261
|
+
|
|
262
|
+
4. **New Step 2D: Release Mother Brain**:
|
|
263
|
+
- Shows git diff of framework changes
|
|
264
|
+
- Gets commit message from user
|
|
265
|
+
- Optional version bump via package.json
|
|
266
|
+
- Creates release branch, pushes, opens PR via `gh pr create`
|
|
267
|
+
- Displays PR URL for approval
|
|
268
|
+
|
|
269
|
+
5. **Updated Menus**: Added "Release Mother Brain (commit & PR)" option to main menus
|
|
270
|
+
|
|
271
|
+
**Key Principle**: Mother Brain folder = framework dev. Project folder = project dev. Skills copied so they work. Improvements sync back on eject. Release creates PR.
|
|
272
|
+
|
|
273
|
+
**Sections Updated**: Step 2 (menus), Step 2B.0 (new), Step 2B.7 (updated), Step 2D (new), Step 3.5 (new)
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## 2026-02-06 - Mother Brain Self-Update: Project Folder IDE Context
|
|
278
|
+
|
|
279
|
+
**Issue Type**: UX friction
|
|
280
|
+
**User Report**: When creating a project folder, Mother Brain opened a new VS Code window. User expected to stay in the same terminal session with just the file tree switching to the new project folder.
|
|
281
|
+
|
|
282
|
+
**Root Cause**:
|
|
283
|
+
- Step 3.5.5 didn't handle IDE context switching properly
|
|
284
|
+
- `code "[path]"` opens a new window, breaking the terminal session
|
|
285
|
+
- User loses their active terminal/session when this happens
|
|
286
|
+
|
|
287
|
+
**Mother Brain Changes**:
|
|
288
|
+
1. **Step 3.5.5**: Updated to use `code --add "[project-path]"` instead of `code "[project-path]"`
|
|
289
|
+
- `--add` flag adds the folder to current workspace without opening new window
|
|
290
|
+
- Terminal session is preserved
|
|
291
|
+
- User can continue working immediately
|
|
292
|
+
2. **Step 3.5**: Added "CRITICAL ORDERING RULE" - project folder must be created BEFORE any project files (vision.md, roadmap.md)
|
|
293
|
+
- Prevents project files from being created in framework folder
|
|
294
|
+
- Correct order: Vision Discovery (questions) β Step 3.5 β Step 4 (create files in project folder)
|
|
295
|
+
|
|
296
|
+
**Key Principle**: Never break the user's terminal session. Add folders to workspace, don't open new windows.
|
|
297
|
+
|
|
298
|
+
**Sections Updated**: Step 3.5, Step 3.5.5
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## 2026-02-06 - Mother Brain Self-Update: Ensure Project Brain Creation
|
|
303
|
+
|
|
304
|
+
**Issue Type**: Something broke or didn't work
|
|
305
|
+
**User Report**: After completing Task 007 (Interactive Font Browser) with multiple friction points (one-line preview issue, font preference discovery), learnings weren't captured because project-brain.md didn't exist.
|
|
306
|
+
|
|
307
|
+
**Root Cause**:
|
|
308
|
+
- Step 10B (Post-Task Reflection) was marked mandatory but didn't ensure project-brain.md exists
|
|
309
|
+
- Child Brain assumed file existed instead of creating it
|
|
310
|
+
- Friction points identified but not persisted
|
|
311
|
+
|
|
312
|
+
**Mother Brain Change**:
|
|
313
|
+
- Added critical note to Step 10B.2: Child Brain MUST create project-brain.md if it doesn't exist
|
|
314
|
+
- Learnings cannot be captured without this file
|
|
315
|
+
|
|
316
|
+
**Sections Updated**: Step 10B.2
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## 2026-02-06 - Mother Brain Self-Update: Don't Copy Core Skills to Projects
|
|
321
|
+
|
|
322
|
+
**Issue Type**: Suggestion for improvement
|
|
323
|
+
**User Report**: During archive, user noticed LetsGO has updated skills but ascii-anything has older copies. Asked "What's the point of duplicated skill files in the project folder?"
|
|
324
|
+
|
|
325
|
+
**Root Cause**:
|
|
326
|
+
- Step 3.5.3 copied ALL skills including core framework skills (mother-brain, child-brain, skill-creator)
|
|
327
|
+
- These core skills get updated in framework but project copies become stale
|
|
328
|
+
- Creates sync burden and confusion about which is authoritative
|
|
329
|
+
- Project-specific skills make sense in project folder, core skills do not
|
|
330
|
+
|
|
331
|
+
**Mother Brain Change**:
|
|
332
|
+
- Step 3.5.3: Now creates empty `.github/skills/` folder for project-specific skills only
|
|
333
|
+
- Core framework skills (mother-brain, child-brain, skill-creator) are NOT copied
|
|
334
|
+
- These stay in framework folder and are invoked from there
|
|
335
|
+
- Only project-specific skills (created in Step 6) go in project folder
|
|
336
|
+
|
|
337
|
+
**Key Principle**: Core skills = framework. Project skills = project. No duplication.
|
|
338
|
+
|
|
339
|
+
**Sections Updated**: Step 3.5.3
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
343
|
+
## 2026-02-06 - Mother Brain Self-Update: Auto-Generate Commit Messages
|
|
344
|
+
|
|
345
|
+
**Issue Type**: UX friction
|
|
346
|
+
**User Report**: "Never ask the user to enter the commit message, it should be written by Mother Brain according to the changes"
|
|
347
|
+
|
|
348
|
+
**Root Cause**:
|
|
349
|
+
- Step 2D.3 asked user for commit message via freeform input
|
|
350
|
+
- Learning-log already has descriptions of all changes
|
|
351
|
+
- Redundant to ask user to re-describe what's already documented
|
|
352
|
+
|
|
353
|
+
**Mother Brain Change**:
|
|
354
|
+
- Step 2D.3: Auto-generate commit message from learning-log.md entries
|
|
355
|
+
- Do NOT ask user for commit message
|
|
356
|
+
- Format: "[Type]: [brief summary of changes]"
|
|
357
|
+
|
|
358
|
+
**Sections Updated**: Step 2D.3
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
362
|
+
## 2026-02-06 - Project Archived: ASCII Anything
|
|
363
|
+
|
|
364
|
+
**Project Name**: ASCII Anything
|
|
365
|
+
**Archive Location**: C:\Users\adamden\OneDrive - Kainos Software\Desktop\ascii-anything-archive\
|
|
366
|
+
**Skills Archived**: None (no project-specific skills created)
|
|
367
|
+
|
|
368
|
+
**Tasks Completed**: 7 of 9
|
|
369
|
+
- Task 001: Project Setup β
|
|
370
|
+
- Task 002: Text Banner Generation β
|
|
371
|
+
- Task 003: CLI Interface β
|
|
372
|
+
- Task 004: AI Description Engine β
|
|
373
|
+
- Task 005: Package for npm β
|
|
374
|
+
- Task 006: Pattern Generator β
|
|
375
|
+
- Task 007: Interactive Font Browser β
|
|
376
|
+
- Task 008: Image Conversion (future)
|
|
377
|
+
- Task 009: Color Support (future)
|
|
378
|
+
|
|
379
|
+
**Key Learnings Preserved**:
|
|
380
|
+
- Prefer Tmplr font for ASCII banners (compact, fast loading)
|
|
381
|
+
- Interactive TUI must show full multi-line previews
|
|
382
|
+
- Raw readline preferred over inquirer for complex TUI displays
|
|
383
|
+
- Don't copy core framework skills to project folders
|
|
384
|
+
|
|
385
|
+
**Reason**: User archiving to start new project or take a break
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## 2026-02-06 - Mother Brain Self-Update: Fast Startup Optimization
|
|
390
|
+
|
|
391
|
+
**Issue Type**: Suggestion for improvement
|
|
392
|
+
**User Report**: Mother Brain launches slowly with too many visible checks. User wants instant response.
|
|
393
|
+
|
|
394
|
+
**Root Cause**:
|
|
395
|
+
- Step 2 ran 6 sequential tool calls to detect project state
|
|
396
|
+
- Checked multiple files individually instead of efficiently
|
|
397
|
+
- Loaded vision/roadmap/README at startup even when not needed
|
|
398
|
+
- Sequential calls = visible spinner time = perceived slowness
|
|
399
|
+
|
|
400
|
+
**Mother Brain Change**:
|
|
401
|
+
- Added "β‘ FAST STARTUP OPTIMIZATION (MANDATORY)" section to Step 2
|
|
402
|
+
- Single file check first: `.mother-brain/session-state.json` tells you everything
|
|
403
|
+
- Parallel tool calls: Run multiple checks in ONE response when needed
|
|
404
|
+
- Lazy loading: Only load vision.md, roadmap.md, README.md when actually needed
|
|
405
|
+
- Goal: User sees menu within 1-2 tool calls, not 6+
|
|
406
|
+
|
|
407
|
+
**Sections Updated**: Step 2 (Detect Project State & Show Progress)
|
|
408
|
+
|
|
409
|
+
---
|
|
410
|
+
|
|
411
|
+
## 2026-02-06 - Mother Brain Self-Update: README Version Badge on Release
|
|
412
|
+
|
|
413
|
+
**Issue Type**: Suggestion for improvement
|
|
414
|
+
**User Report**: When releasing, Mother Brain is not updating the README files with the new version
|
|
415
|
+
|
|
416
|
+
**Root Cause**:
|
|
417
|
+
- Step 2D.4 mentioned updating README.md version badge but lacked explicit instructions
|
|
418
|
+
- Just said "Update package.json AND README.md version badge" without specifying how
|
|
419
|
+
|
|
420
|
+
**Mother Brain Change**:
|
|
421
|
+
- Step 2D.4: Made version bump instructions explicit with numbered steps:
|
|
422
|
+
1. Update package.json with new version
|
|
423
|
+
2. Update README.md version badge (find `version-X.X.X-blue` and replace)
|
|
424
|
+
3. Commit the version bump
|
|
425
|
+
|
|
426
|
+
**Sections Updated**: Step 2D.4 (Determine Version)
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
## 2026-02-06 - Mother Brain Self-Update: Friction Auto-Detection
|
|
431
|
+
|
|
432
|
+
**Issue Type**: Suggestion for improvement
|
|
433
|
+
**User Report**: When user selects "Something broke or didn't work", Mother Brain should scan the recent session for friction (errors, complaints, retries) and ask "I found X - was this what you wanted to fix?" before asking user to describe from scratch.
|
|
434
|
+
|
|
435
|
+
**Root Cause**:
|
|
436
|
+
- Step 2A jumped straight to freeform description
|
|
437
|
+
- User had to re-explain issues that were already visible in the conversation
|
|
438
|
+
- Friction signals exist in output history but weren't being utilized
|
|
439
|
+
|
|
440
|
+
**Mother Brain Change**:
|
|
441
|
+
- Added new Step 2A.0: Friction Auto-Detection
|
|
442
|
+
- When "Something broke" selected:
|
|
443
|
+
1. Scan conversation for friction signals (errors, complaints, retries, back-and-forth)
|
|
444
|
+
2. If found: Display detected friction, ask "Yes, fix this" or "Something else"
|
|
445
|
+
3. If "Yes" β Skip freeform, jump to Child Brain with pre-populated context
|
|
446
|
+
4. If "Something else" or no friction found β Continue to freeform as normal
|
|
447
|
+
- Other issue types skip directly to freeform
|
|
448
|
+
|
|
449
|
+
**Sections Updated**: Step 2A (new Step 2A.0 added before Step 2A.1)
|
|
450
|
+
|
|
451
|
+
---
|
|
452
|
+
|
|
453
|
+
## 2026-02-06 - Mother Brain Self-Update: ASCII Art Alignment Fix
|
|
454
|
+
|
|
455
|
+
**Issue Type**: Something broke or didn't work
|
|
456
|
+
**User Report**: The ASCII art top row is corrupted/pulled left while the rest is normal. Needs to start from a fresh line.
|
|
457
|
+
|
|
458
|
+
**Root Cause**:
|
|
459
|
+
- ASCII art was starting immediately after previous content
|
|
460
|
+
- Terminal rendering could corrupt the first row if it appeared on same line as spinner/output
|
|
461
|
+
|
|
462
|
+
**Mother Brain Change**:
|
|
463
|
+
- Updated both ASCII art instances in Step 2 (project exists + new project)
|
|
464
|
+
- Changed instruction to "ALWAYS start with TWO blank lines"
|
|
465
|
+
- Added extra blank line before ASCII art in code fence examples
|
|
466
|
+
|
|
467
|
+
**Sections Updated**: Step 2 (both ASCII art banner sections)
|
|
468
|
+
|
|
469
|
+
---
|
|
470
|
+
|
|
471
|
+
## 2026-02-06 - Mother Brain Self-Update: One-Click Release
|
|
472
|
+
|
|
473
|
+
**Issue Type**: Suggestion for improvement
|
|
474
|
+
**User Report**: Don't want to be asked about version number or commit confirmation. Mother Brain should auto-determine release size and make it a one-click release button.
|
|
475
|
+
|
|
476
|
+
**Root Cause**:
|
|
477
|
+
- Step 2D had multiple confirmation menus (view diff, proceed to commit, choose version)
|
|
478
|
+
- User had to make 3+ selections for a simple release
|
|
479
|
+
- Version could be auto-determined from learning-log content
|
|
480
|
+
|
|
481
|
+
**Mother Brain Change**:
|
|
482
|
+
- Completely rewrote Step 2D as "ONE-CLICK RELEASE FLOW"
|
|
483
|
+
- Auto-determine version:
|
|
484
|
+
- "breaking" or "major" in entries β major bump
|
|
485
|
+
- "feature", "new", "add" in entries β minor bump
|
|
486
|
+
- Otherwise β patch bump
|
|
487
|
+
- No confirmation menus - execute all steps automatically
|
|
488
|
+
- Single confirmation at the end showing what was released
|
|
489
|
+
|
|
490
|
+
**Sections Updated**: Step 2D (complete rewrite)
|
|
491
|
+
|
|
492
|
+
---
|
|
493
|
+
|
|
494
|
+
## 2026-02-06 - Mother Brain Self-Update: Brainstorm Mode
|
|
495
|
+
|
|
496
|
+
**Issue Type**: Feature request
|
|
497
|
+
**User Report**: Need a feature for "just talking" to Mother Brain - discussing ideas, getting thoughts, using its analytical brain on problems. When ideas form into something concrete, can say "let's build this" to trigger project creation.
|
|
498
|
+
|
|
499
|
+
**Root Cause**:
|
|
500
|
+
- Mother Brain was purely workflow-driven
|
|
501
|
+
- No mode for freeform exploration and thinking
|
|
502
|
+
- Sometimes users want a thinking partner before committing to a project
|
|
503
|
+
|
|
504
|
+
**Mother Brain Change**:
|
|
505
|
+
- Added "Just talk (brainstorm mode)" to main menu
|
|
506
|
+
- Created new Step 2E: Brainstorm Mode
|
|
507
|
+
- Features:
|
|
508
|
+
- Freeform conversation without triggering project workflows
|
|
509
|
+
- Analytical thinking: clarifying questions, pattern identification, challenging assumptions
|
|
510
|
+
- Can use web_search for research during discussion
|
|
511
|
+
- Transition triggers: "let's build this", "start a project", etc.
|
|
512
|
+
- Carries conversation context into Vision Discovery when ready
|
|
513
|
+
|
|
514
|
+
**Sections Updated**: Step 2 (menu), Step 2E (new section)
|