mother-brain 0.6.3 → 0.6.5
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 +31 -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.5";
|
|
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,13 @@ 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.
|
|
259
|
+
- **Approval Gate Before ALL Changes (MANDATORY)**: Before modifying ANY file (SKILL.md, AGENTS.md, code, config), STOP and present the proposed changes to the user with Accept / Revise / Reject options. This applies to:
|
|
260
|
+
- Editing skill files or principles
|
|
261
|
+
- Redesigning workflow steps
|
|
262
|
+
- Releasing to npm (show what will be released, get explicit "yes")
|
|
263
|
+
- ANY change triggered by user feedback or meta-improvement
|
|
264
|
+
- Even if the user's intent seems clear — always confirm before writing. NEVER skip this gate.
|
|
258
265
|
- **Project Brain for Project-Specific Learning**: Each project has a `.mother-brain/project-brain.md` file that stores:
|
|
259
266
|
- Style/tone preferences discovered during the project
|
|
260
267
|
- Validation checks derived from past friction
|
|
@@ -530,7 +537,7 @@ Key rules: Use `allow_freeform: true` on all `ask_user` calls. Check freeform re
|
|
|
530
537
|
- "🧠 Improve Mother Brain"
|
|
531
538
|
- **CRITICAL**: Do NOT ask what to do as freeform text. ALWAYS use the `ask_user` tool.
|
|
532
539
|
- Freeform automatically available for custom actions
|
|
533
|
-
- **If "Continue where I left off"**: Jump to **Step 2G:
|
|
540
|
+
- **If "Continue where I left off"**: Jump to **Step 2G: Outcome Resume Preview** (→ Layer 2 Roadmap Menu)
|
|
534
541
|
- **If "I have a new idea"**: Jump to **Step 2F: Idea Capture & Prioritization**
|
|
535
542
|
- **If "Improve Mother Brain"**: Jump to **Step 2A: Improve Mother Brain Menu**
|
|
536
543
|
|
|
@@ -1118,65 +1125,45 @@ Key rules: Use `allow_freeform: true` on all `ask_user` calls. Check freeform re
|
|
|
1118
1125
|
- **Nothing is lost**: Even discarded ideas could be re-suggested if patterns emerge
|
|
1119
1126
|
- **User has final say**: Mother Brain recommends priority, user can override
|
|
1120
1127
|
|
|
1121
|
-
### 2G. **
|
|
1128
|
+
### 2G. **Outcome Resume Preview** (Continue Where You Left Off)
|
|
1122
1129
|
- When user selects "Continue where I left off" from the main project menu:
|
|
1123
1130
|
|
|
1124
|
-
**Purpose**: Show the user
|
|
1131
|
+
**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
1132
|
|
|
1126
|
-
**Step 2G.1: Load Current
|
|
1133
|
+
**Step 2G.1: Load Current Outcome Context**
|
|
1127
1134
|
|
|
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`
|
|
1135
|
+
- Load `session-state.json` to get `currentStory` (the active outcome)
|
|
1136
|
+
- Load `roadmap.md` to get phase context and outcome position
|
|
1131
1137
|
- Determine:
|
|
1132
|
-
-
|
|
1133
|
-
-
|
|
1134
|
-
-
|
|
1138
|
+
- Which outcome is currently active?
|
|
1139
|
+
- How many acceptance criteria are verified vs remaining?
|
|
1140
|
+
- Where does this outcome sit in the roadmap?
|
|
1135
1141
|
|
|
1136
|
-
**Step 2G.2: Display
|
|
1142
|
+
**Step 2G.2: Display Outcome Preview**
|
|
1137
1143
|
|
|
1138
1144
|
- Display:
|
|
1139
1145
|
```
|
|
1140
|
-
|
|
1146
|
+
📍 Welcome Back!
|
|
1141
1147
|
|
|
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.]
|
|
1148
|
+
Phase: [Phase Name] — [X/Y] outcomes complete
|
|
1146
1149
|
|
|
1147
|
-
|
|
1148
|
-
[Task objective from task document]
|
|
1150
|
+
🎯 Current Outcome: [Outcome Name]
|
|
1149
1151
|
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1152
|
+
Acceptance Criteria:
|
|
1153
|
+
[✅] I can [criterion 1]
|
|
1154
|
+
[🔄] I can [criterion 2] ← In progress
|
|
1155
|
+
[⬜] I can [criterion 3]
|
|
1153
1156
|
|
|
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)
|
|
1157
|
+
📍 Roadmap Position:
|
|
1158
|
+
[✅] [Previous Outcome Name]
|
|
1159
|
+
[🔄] **[Current Outcome Name]** ← You are here
|
|
1160
|
+
[⬜] [Next Outcome Name]
|
|
1161
1161
|
```
|
|
1162
1162
|
|
|
1163
|
-
**Step 2G.3:
|
|
1163
|
+
**Step 2G.3: Transition to Layer 2 (Roadmap Menu)**
|
|
1164
1164
|
|
|
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
|
|
1165
|
+
- Jump directly to **Step 11 (Roadmap Menu / Layer 2)**
|
|
1166
|
+
- The Roadmap Menu provides all navigation options: continue, review, new idea, adjust priorities, take a break
|
|
1180
1167
|
|
|
1181
1168
|
### 2.5. **Environment & Presentation Discovery** (Lazy/On-Demand)
|
|
1182
1169
|
|