mother-brain 0.6.3 → 0.6.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/dist/cli.js +1 -1
- package/package.json +1 -1
- package/skills/mother-brain/SKILL.md +25 -44
package/dist/cli.js
CHANGED
|
@@ -798,7 +798,7 @@ async function uninstall(options) {
|
|
|
798
798
|
// src/cli.ts
|
|
799
799
|
import { exec as exec3 } from "child_process";
|
|
800
800
|
var program = new Command();
|
|
801
|
-
var VERSION = "0.6.
|
|
801
|
+
var VERSION = "0.6.4";
|
|
802
802
|
program.name("mother-brain").description("AI-powered project management framework for GitHub Copilot CLI and Codex CLI").version(VERSION);
|
|
803
803
|
program.command("init").description("Initialize Mother Brain in the current project").option("-f, --force", "Overwrite existing skills").action(init);
|
|
804
804
|
program.command("update").description("Update Mother Brain skills to the latest version").action(update);
|
package/package.json
CHANGED
|
@@ -255,6 +255,7 @@ Mother Brain transforms high-level visions into executable reality by:
|
|
|
255
255
|
- NEVER jump to Layer 1 from Layer 3 or 4
|
|
256
256
|
- Freeform input can arrive at ANY layer — not just Layer 3. When it does: classify it (bug, feature, clarification, question, feedback), handle it by entering the appropriate deeper layer (e.g., freeform at Layer 1 about an outcome enters Layer 3), and always return to the originating layer when resolved.
|
|
257
257
|
- **Preview Before Work (MANDATORY)**: "Continue where I left off" MUST show an outcome overview — what the outcome is, where it sits in the roadmap, current progress — and then offer choices: "Continue this outcome", "Start next outcome", "Review roadmap", "Do something else". NEVER auto-start implementation from a resume action.
|
|
258
|
+
- **Outcome-Only Language (MANDATORY)**: NEVER reference task numbers, task IDs, or internal task tracking in user-facing output. Users care about OUTCOMES ("Ability to track my game backlog"), not tasks ("task-007"). Always show outcome names, acceptance criteria status, and roadmap position. Tasks are internal implementation details that Mother Brain manages silently.
|
|
258
259
|
- **Project Brain for Project-Specific Learning**: Each project has a `.mother-brain/project-brain.md` file that stores:
|
|
259
260
|
- Style/tone preferences discovered during the project
|
|
260
261
|
- Validation checks derived from past friction
|
|
@@ -530,7 +531,7 @@ Key rules: Use `allow_freeform: true` on all `ask_user` calls. Check freeform re
|
|
|
530
531
|
- "🧠 Improve Mother Brain"
|
|
531
532
|
- **CRITICAL**: Do NOT ask what to do as freeform text. ALWAYS use the `ask_user` tool.
|
|
532
533
|
- Freeform automatically available for custom actions
|
|
533
|
-
- **If "Continue where I left off"**: Jump to **Step 2G:
|
|
534
|
+
- **If "Continue where I left off"**: Jump to **Step 2G: Outcome Resume Preview** (→ Layer 2 Roadmap Menu)
|
|
534
535
|
- **If "I have a new idea"**: Jump to **Step 2F: Idea Capture & Prioritization**
|
|
535
536
|
- **If "Improve Mother Brain"**: Jump to **Step 2A: Improve Mother Brain Menu**
|
|
536
537
|
|
|
@@ -1118,65 +1119,45 @@ Key rules: Use `allow_freeform: true` on all `ask_user` calls. Check freeform re
|
|
|
1118
1119
|
- **Nothing is lost**: Even discarded ideas could be re-suggested if patterns emerge
|
|
1119
1120
|
- **User has final say**: Mother Brain recommends priority, user can override
|
|
1120
1121
|
|
|
1121
|
-
### 2G. **
|
|
1122
|
+
### 2G. **Outcome Resume Preview** (Continue Where You Left Off)
|
|
1122
1123
|
- When user selects "Continue where I left off" from the main project menu:
|
|
1123
1124
|
|
|
1124
|
-
**Purpose**: Show the user
|
|
1125
|
+
**Purpose**: Show the user which outcome they're working on, where it sits in the roadmap, and transition to the Layer 2 Roadmap Menu. NEVER show task-level detail (task numbers, task IDs) — users care about OUTCOMES, not internal task tracking.
|
|
1125
1126
|
|
|
1126
|
-
**Step 2G.1: Load Current
|
|
1127
|
+
**Step 2G.1: Load Current Outcome Context**
|
|
1127
1128
|
|
|
1128
|
-
- Load `session-state.json` to get `
|
|
1129
|
-
- Load `roadmap.md` to get phase context and
|
|
1130
|
-
- Load the current task document from `.mother-brain/docs/tasks/[task].md`
|
|
1129
|
+
- Load `session-state.json` to get `currentStory` (the active outcome)
|
|
1130
|
+
- Load `roadmap.md` to get phase context and outcome position
|
|
1131
1131
|
- Determine:
|
|
1132
|
-
-
|
|
1133
|
-
-
|
|
1134
|
-
-
|
|
1132
|
+
- Which outcome is currently active?
|
|
1133
|
+
- How many acceptance criteria are verified vs remaining?
|
|
1134
|
+
- Where does this outcome sit in the roadmap?
|
|
1135
1135
|
|
|
1136
|
-
**Step 2G.2: Display
|
|
1136
|
+
**Step 2G.2: Display Outcome Preview**
|
|
1137
1137
|
|
|
1138
1138
|
- Display:
|
|
1139
1139
|
```
|
|
1140
|
-
|
|
1140
|
+
📍 Welcome Back!
|
|
1141
1141
|
|
|
1142
|
-
|
|
1143
|
-
- Phase: [Phase Name] ([X] of [Y] tasks completed in this phase)
|
|
1144
|
-
- Status: [🟡 In Progress / ⬜ Ready to Start]
|
|
1145
|
-
- Type: [Logic / UI / Animation / Integration / etc.]
|
|
1142
|
+
Phase: [Phase Name] — [X/Y] outcomes complete
|
|
1146
1143
|
|
|
1147
|
-
|
|
1148
|
-
[Task objective from task document]
|
|
1144
|
+
🎯 Current Outcome: [Outcome Name]
|
|
1149
1145
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1146
|
+
Acceptance Criteria:
|
|
1147
|
+
[✅] I can [criterion 1]
|
|
1148
|
+
[🔄] I can [criterion 2] ← In progress
|
|
1149
|
+
[⬜] I can [criterion 3]
|
|
1153
1150
|
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
- Previous: Task [N-1] - [Name] (✅ Complete)
|
|
1159
|
-
- **Current: Task [N] - [Name]** ← You are here
|
|
1160
|
-
- Next: Task [N+1] - [Name] (⬜ Planned)
|
|
1151
|
+
📍 Roadmap Position:
|
|
1152
|
+
[✅] [Previous Outcome Name]
|
|
1153
|
+
[🔄] **[Current Outcome Name]** ← You are here
|
|
1154
|
+
[⬜] [Next Outcome Name]
|
|
1161
1155
|
```
|
|
1162
1156
|
|
|
1163
|
-
**Step 2G.3:
|
|
1157
|
+
**Step 2G.3: Transition to Layer 2 (Roadmap Menu)**
|
|
1164
1158
|
|
|
1165
|
-
-
|
|
1166
|
-
|
|
1167
|
-
- "Skip to a different task"
|
|
1168
|
-
- "Review the full roadmap first"
|
|
1169
|
-
- "💡 I have a new idea"
|
|
1170
|
-
- "Back to main menu"
|
|
1171
|
-
|
|
1172
|
-
- **If "Start this task now"**: Proceed to Step 9 (Task Execution) with this task
|
|
1173
|
-
- **If "Skip to a different task"**:
|
|
1174
|
-
- Load roadmap and list all uncompleted tasks in current phase
|
|
1175
|
-
- Use `ask_user` with task names as choices
|
|
1176
|
-
- Load selected task and proceed to Step 9
|
|
1177
|
-
- **If "Review the full roadmap"**: Display roadmap, then return to Step 2G.3
|
|
1178
|
-
- **If "I have a new idea"**: Jump to Step 2F
|
|
1179
|
-
- **If "Back to main menu"**: Return to Step 2
|
|
1159
|
+
- Jump directly to **Step 11 (Roadmap Menu / Layer 2)**
|
|
1160
|
+
- The Roadmap Menu provides all navigation options: continue, review, new idea, adjust priorities, take a break
|
|
1180
1161
|
|
|
1181
1162
|
### 2.5. **Environment & Presentation Discovery** (Lazy/On-Demand)
|
|
1182
1163
|
|