mindforge-cc 2.0.0 → 2.1.1
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/.agent/bin/lib/commands.cjs +959 -0
- package/.agent/bin/lib/config.cjs +421 -0
- package/.agent/bin/lib/core.cjs +1166 -0
- package/.agent/bin/lib/frontmatter.cjs +307 -0
- package/.agent/bin/lib/init.cjs +1336 -0
- package/.agent/bin/lib/milestone.cjs +252 -0
- package/.agent/bin/lib/model-profiles.cjs +68 -0
- package/.agent/bin/lib/phase.cjs +888 -0
- package/.agent/bin/lib/profile-output.cjs +952 -0
- package/.agent/bin/lib/profile-pipeline.cjs +539 -0
- package/.agent/bin/lib/roadmap.cjs +329 -0
- package/.agent/bin/lib/security.cjs +356 -0
- package/.agent/bin/lib/state.cjs +969 -0
- package/.agent/bin/lib/template.cjs +222 -0
- package/.agent/bin/lib/uat.cjs +189 -0
- package/.agent/bin/lib/verify.cjs +851 -0
- package/.agent/bin/lib/workstream.cjs +491 -0
- package/.agent/bin/mindforge-tools.cjs +897 -0
- package/.agent/file-manifest.json +219 -0
- package/.agent/hooks/mindforge-check-update.js +114 -0
- package/.agent/hooks/mindforge-context-monitor.js +156 -0
- package/.agent/hooks/mindforge-prompt-guard.js +96 -0
- package/.agent/hooks/mindforge-statusline.js +119 -0
- package/.agent/hooks/mindforge-workflow-guard.js +94 -0
- package/.agent/mindforge/add-backlog.md +32 -0
- package/.agent/mindforge/agent.md +31 -0
- package/.agent/mindforge/discuss-phase.md +1 -1
- package/.agent/mindforge/do.md +31 -0
- package/.agent/mindforge/help.md +1 -1
- package/.agent/mindforge/learn.md +3 -2
- package/.agent/mindforge/note.md +35 -0
- package/.agent/mindforge/plant-seed.md +31 -0
- package/.agent/mindforge/research.md +3 -2
- package/.agent/mindforge/review-backlog.md +34 -0
- package/.agent/mindforge/session-report.md +39 -0
- package/.agent/mindforge/steer.md +1 -1
- package/.agent/mindforge/ui-phase.md +34 -0
- package/.agent/mindforge/ui-review.md +36 -0
- package/.agent/mindforge/validate-phase.md +31 -0
- package/.agent/mindforge/workstreams.md +35 -0
- package/.agent/settings.json +38 -0
- package/.agent/skills/mindforge-add-backlog/SKILL.md +72 -0
- package/.agent/skills/mindforge-add-phase/SKILL.md +39 -0
- package/.agent/skills/mindforge-add-tests/SKILL.md +28 -0
- package/.agent/skills/mindforge-add-todo/SKILL.md +42 -0
- package/.agent/skills/mindforge-audit-milestone/SKILL.md +29 -0
- package/.agent/skills/mindforge-audit-uat/SKILL.md +20 -0
- package/.agent/skills/mindforge-autonomous/SKILL.md +33 -0
- package/.agent/skills/mindforge-check-todos/SKILL.md +40 -0
- package/.agent/skills/mindforge-cleanup/SKILL.md +19 -0
- package/.agent/skills/mindforge-complete-milestone/SKILL.md +131 -0
- package/.agent/skills/mindforge-debug/SKILL.md +163 -0
- package/.agent/skills/mindforge-discuss-phase/SKILL.md +54 -0
- package/.agent/skills/mindforge-do/SKILL.md +26 -0
- package/.agent/skills/mindforge-execute-phase/SKILL.md +49 -0
- package/.agent/skills/mindforge-fast/SKILL.md +23 -0
- package/.agent/skills/mindforge-forensics/SKILL.md +49 -0
- package/.agent/skills/mindforge-health/SKILL.md +17 -0
- package/.agent/skills/mindforge-help/SKILL.md +23 -0
- package/.agent/skills/mindforge-insert-phase/SKILL.md +28 -0
- package/.agent/skills/mindforge-join-discord/SKILL.md +19 -0
- package/.agent/skills/mindforge-list-phase-assumptions/SKILL.md +41 -0
- package/.agent/skills/mindforge-list-workspaces/SKILL.md +17 -0
- package/.agent/skills/mindforge-manager/SKILL.md +32 -0
- package/.agent/skills/mindforge-map-codebase/SKILL.md +64 -0
- package/.agent/skills/mindforge-milestone-summary/SKILL.md +44 -0
- package/.agent/skills/mindforge-new-milestone/SKILL.md +38 -0
- package/.agent/skills/mindforge-new-project/SKILL.md +36 -0
- package/.agent/skills/mindforge-new-workspace/SKILL.md +39 -0
- package/.agent/skills/mindforge-next/SKILL.md +19 -0
- package/.agent/skills/mindforge-note/SKILL.md +29 -0
- package/.agent/skills/mindforge-pause-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-plan-milestone-gaps/SKILL.md +28 -0
- package/.agent/skills/mindforge-plan-phase/SKILL.md +37 -0
- package/.agent/skills/mindforge-plant-seed/SKILL.md +22 -0
- package/.agent/skills/mindforge-pr-branch/SKILL.md +21 -0
- package/.agent/skills/mindforge-profile-user/SKILL.md +38 -0
- package/.agent/skills/mindforge-progress/SKILL.md +19 -0
- package/.agent/skills/mindforge-quick/SKILL.md +38 -0
- package/.agent/skills/mindforge-reapply-patches/SKILL.md +124 -0
- package/.agent/skills/mindforge-remove-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-remove-workspace/SKILL.md +22 -0
- package/.agent/skills/mindforge-research-phase/SKILL.md +186 -0
- package/.agent/skills/mindforge-resume-work/SKILL.md +35 -0
- package/.agent/skills/mindforge-review/SKILL.md +31 -0
- package/.agent/skills/mindforge-review-backlog/SKILL.md +58 -0
- package/.agent/skills/mindforge-session-report/SKILL.md +16 -0
- package/.agent/skills/mindforge-set-profile/SKILL.md +9 -0
- package/.agent/skills/mindforge-settings/SKILL.md +32 -0
- package/.agent/skills/mindforge-ship/SKILL.md +16 -0
- package/.agent/skills/mindforge-stats/SKILL.md +16 -0
- package/.agent/skills/mindforge-thread/SKILL.md +123 -0
- package/.agent/skills/mindforge-ui-phase/SKILL.md +24 -0
- package/.agent/skills/mindforge-ui-review/SKILL.md +24 -0
- package/.agent/skills/mindforge-update/SKILL.md +35 -0
- package/.agent/skills/mindforge-validate-phase/SKILL.md +26 -0
- package/.agent/skills/mindforge-verify-work/SKILL.md +30 -0
- package/.agent/skills/mindforge-workstreams/SKILL.md +65 -0
- package/.agent/workflows/mindforge-add-phase.md +112 -0
- package/.agent/workflows/mindforge-add-tests.md +351 -0
- package/.agent/workflows/mindforge-add-todo.md +158 -0
- package/.agent/workflows/mindforge-audit-milestone.md +332 -0
- package/.agent/workflows/mindforge-audit-uat.md +109 -0
- package/.agent/workflows/mindforge-autonomous.md +815 -0
- package/.agent/workflows/mindforge-check-todos.md +177 -0
- package/.agent/workflows/mindforge-cleanup.md +152 -0
- package/.agent/workflows/mindforge-complete-milestone.md +766 -0
- package/.agent/workflows/mindforge-diagnose-issues.md +220 -0
- package/.agent/workflows/mindforge-discovery-phase.md +289 -0
- package/.agent/workflows/mindforge-discuss-phase-assumptions.md +645 -0
- package/.agent/workflows/mindforge-discuss-phase.md +1047 -0
- package/.agent/workflows/mindforge-do.md +104 -0
- package/.agent/workflows/mindforge-execute-phase.md +838 -0
- package/.agent/workflows/mindforge-execute-plan.md +509 -0
- package/.agent/workflows/mindforge-fast.md +105 -0
- package/.agent/workflows/mindforge-forensics.md +265 -0
- package/.agent/workflows/mindforge-health.md +181 -0
- package/.agent/workflows/mindforge-help.md +606 -0
- package/.agent/workflows/mindforge-insert-phase.md +130 -0
- package/.agent/workflows/mindforge-list-phase-assumptions.md +178 -0
- package/.agent/workflows/mindforge-list-workspaces.md +56 -0
- package/.agent/workflows/mindforge-manager.md +360 -0
- package/.agent/workflows/mindforge-map-codebase.md +370 -0
- package/.agent/workflows/mindforge-milestone-summary.md +223 -0
- package/.agent/workflows/mindforge-new-milestone.md +469 -0
- package/.agent/workflows/mindforge-new-project.md +1226 -0
- package/.agent/workflows/mindforge-new-workspace.md +237 -0
- package/.agent/workflows/mindforge-next.md +97 -0
- package/.agent/workflows/mindforge-node-repair.md +92 -0
- package/.agent/workflows/mindforge-note.md +156 -0
- package/.agent/workflows/mindforge-pause-work.md +176 -0
- package/.agent/workflows/mindforge-plan-milestone-gaps.md +273 -0
- package/.agent/workflows/mindforge-plan-phase.md +848 -0
- package/.agent/workflows/mindforge-plant-seed.md +169 -0
- package/.agent/workflows/mindforge-pr-branch.md +129 -0
- package/.agent/workflows/mindforge-profile-user.md +450 -0
- package/.agent/workflows/mindforge-progress.md +507 -0
- package/.agent/workflows/mindforge-quick.md +732 -0
- package/.agent/workflows/mindforge-remove-phase.md +155 -0
- package/.agent/workflows/mindforge-remove-workspace.md +90 -0
- package/.agent/workflows/mindforge-research-phase.md +74 -0
- package/.agent/workflows/mindforge-resume-project.md +325 -0
- package/.agent/workflows/mindforge-review.md +228 -0
- package/.agent/workflows/mindforge-session-report.md +146 -0
- package/.agent/workflows/mindforge-settings.md +283 -0
- package/.agent/workflows/mindforge-ship.md +228 -0
- package/.agent/workflows/mindforge-stats.md +60 -0
- package/.agent/workflows/mindforge-transition.md +671 -0
- package/.agent/workflows/mindforge-ui-phase.md +290 -0
- package/.agent/workflows/mindforge-ui-review.md +157 -0
- package/.agent/workflows/mindforge-update.md +323 -0
- package/.agent/workflows/mindforge-validate-phase.md +167 -0
- package/.agent/workflows/mindforge-verify-phase.md +254 -0
- package/.agent/workflows/mindforge-verify-work.md +623 -0
- package/.claude/commands/mindforge/add-backlog.md +32 -0
- package/.claude/commands/mindforge/agent.md +31 -0
- package/.claude/commands/mindforge/approve.md +27 -15
- package/.claude/commands/mindforge/audit.md +30 -26
- package/.claude/commands/mindforge/auto.md +29 -18
- package/.claude/commands/mindforge/benchmark.md +26 -29
- package/.claude/commands/mindforge/browse.md +24 -22
- package/.claude/commands/mindforge/complete-milestone.md +28 -14
- package/.claude/commands/mindforge/costs.md +26 -9
- package/.claude/commands/mindforge/cross-review.md +27 -13
- package/.claude/commands/mindforge/dashboard.md +35 -98
- package/.claude/commands/mindforge/debug.md +34 -126
- package/.claude/commands/mindforge/discuss-phase.md +36 -138
- package/.claude/commands/mindforge/do.md +31 -0
- package/.claude/commands/mindforge/execute-phase.md +37 -190
- package/.claude/commands/mindforge/health.md +27 -17
- package/.claude/commands/mindforge/help.md +25 -19
- package/.claude/commands/mindforge/init-org.md +37 -131
- package/.claude/commands/mindforge/init-project.md +40 -155
- package/.claude/commands/mindforge/install-skill.md +32 -15
- package/.claude/commands/mindforge/learn.md +36 -142
- package/.claude/commands/mindforge/map-codebase.md +36 -298
- package/.claude/commands/mindforge/marketplace.md +33 -120
- package/.claude/commands/mindforge/metrics.md +29 -18
- package/.claude/commands/mindforge/migrate.md +33 -40
- package/.claude/commands/mindforge/milestone.md +35 -12
- package/.claude/commands/mindforge/new-runtime.md +25 -15
- package/.claude/commands/mindforge/next.md +34 -105
- package/.claude/commands/mindforge/note.md +35 -0
- package/.claude/commands/mindforge/plan-phase.md +34 -125
- package/.claude/commands/mindforge/plant-seed.md +31 -0
- package/.claude/commands/mindforge/plugins.md +30 -36
- package/.claude/commands/mindforge/pr-review.md +32 -41
- package/.claude/commands/mindforge/profile-team.md +26 -19
- package/.claude/commands/mindforge/publish-skill.md +28 -17
- package/.claude/commands/mindforge/qa.md +27 -12
- package/.claude/commands/mindforge/quick.md +35 -135
- package/.claude/commands/mindforge/release.md +27 -8
- package/.claude/commands/mindforge/remember.md +25 -10
- package/.claude/commands/mindforge/research.md +27 -9
- package/.claude/commands/mindforge/retrospective.md +28 -22
- package/.claude/commands/mindforge/review-backlog.md +34 -0
- package/.claude/commands/mindforge/review.md +37 -157
- package/.claude/commands/mindforge/security-scan.md +34 -233
- package/.claude/commands/mindforge/session-report.md +39 -0
- package/.claude/commands/mindforge/ship.md +34 -100
- package/.claude/commands/mindforge/skills.md +36 -141
- package/.claude/commands/mindforge/status.md +30 -104
- package/.claude/commands/mindforge/steer.md +25 -10
- package/.claude/commands/mindforge/sync-confluence.md +28 -9
- package/.claude/commands/mindforge/sync-jira.md +32 -12
- package/.claude/commands/mindforge/tokens.md +25 -6
- package/.claude/commands/mindforge/ui-phase.md +34 -0
- package/.claude/commands/mindforge/ui-review.md +36 -0
- package/.claude/commands/mindforge/update.md +33 -42
- package/.claude/commands/mindforge/validate-phase.md +31 -0
- package/.claude/commands/mindforge/verify-phase.md +30 -62
- package/.claude/commands/mindforge/workspace.md +28 -25
- package/.claude/commands/mindforge/workstreams.md +35 -0
- package/.mindforge/memory/decision-library.jsonl +0 -0
- package/.mindforge/memory/knowledge-base.jsonl +7 -0
- package/.mindforge/memory/pattern-library.jsonl +1 -0
- package/.mindforge/memory/team-preferences.jsonl +4 -0
- package/.mindforge/personas/advisor-researcher.md +89 -0
- package/.mindforge/personas/analyst.md +112 -52
- package/.mindforge/personas/architect.md +100 -67
- package/.mindforge/personas/assumptions-analyzer-extend.md +87 -0
- package/.mindforge/personas/assumptions-analyzer.md +109 -0
- package/.mindforge/personas/codebase-mapper-extend.md +93 -0
- package/.mindforge/personas/codebase-mapper.md +770 -0
- package/.mindforge/personas/coverage-specialist.md +104 -0
- package/.mindforge/personas/debug-specialist.md +118 -52
- package/.mindforge/personas/debugger.md +97 -0
- package/.mindforge/personas/decision-architect.md +102 -0
- package/.mindforge/personas/developer.md +97 -85
- package/.mindforge/personas/executor.md +88 -0
- package/.mindforge/personas/integration-checker.md +92 -0
- package/.mindforge/personas/nyquist-auditor.md +84 -0
- package/.mindforge/personas/phase-researcher.md +107 -0
- package/.mindforge/personas/plan-checker.md +92 -0
- package/.mindforge/personas/planner.md +105 -0
- package/.mindforge/personas/project-researcher.md +99 -0
- package/.mindforge/personas/qa-engineer.md +113 -61
- package/.mindforge/personas/release-manager.md +102 -64
- package/.mindforge/personas/research-agent.md +109 -24
- package/.mindforge/personas/research-synthesizer.md +101 -0
- package/.mindforge/personas/roadmapper-extend.md +100 -0
- package/.mindforge/personas/roadmapper.md +103 -0
- package/.mindforge/personas/security-reviewer.md +114 -91
- package/.mindforge/personas/tech-writer.md +118 -51
- package/.mindforge/personas/ui-auditor.md +94 -0
- package/.mindforge/personas/ui-checker.md +89 -0
- package/.mindforge/personas/ui-researcher.md +99 -0
- package/.mindforge/personas/user-profiler.md +93 -0
- package/.mindforge/personas/verifier.md +101 -0
- package/.planning/ROADMAP.md +10 -0
- package/.planning/browser-daemon.log +32 -0
- package/.planning/phases/01-migrate-gsd-to-mindforge/.gitkeep +0 -0
- package/CHANGELOG.md +41 -0
- package/MINDFORGE.md +2 -0
- package/README.md +40 -3
- package/bin/installer-core.js +3 -4
- package/docs/PERSONAS.md +611 -0
- package/docs/commands-reference.md +1 -0
- package/docs/{Context → context}/Master-Context.md +6 -13
- package/docs/references/checkpoints.md +778 -0
- package/docs/{reference → references}/commands.md +53 -43
- package/docs/references/continuation-format.md +249 -0
- package/docs/references/decimal-phase-calculation.md +64 -0
- package/docs/references/git-integration.md +295 -0
- package/docs/references/git-planning-commit.md +38 -0
- package/docs/references/model-profile-resolution.md +36 -0
- package/docs/references/model-profiles.md +139 -0
- package/docs/references/phase-argument-parsing.md +61 -0
- package/docs/references/planning-config.md +202 -0
- package/docs/references/questioning.md +162 -0
- package/docs/references/tdd.md +263 -0
- package/docs/references/ui-brand.md +160 -0
- package/docs/references/user-profiling.md +681 -0
- package/docs/references/verification-patterns.md +612 -0
- package/docs/references/workstream-flag.md +58 -0
- package/docs/skills-authoring-guide.md +1 -1
- package/docs/templates/Agents/CLAUDE-MD.md +122 -0
- package/docs/templates/Agents/COPILOT-INSTRUCTIONS.md +7 -0
- package/docs/templates/Agents/DEBUGGER-PROMPT.md +91 -0
- package/docs/templates/Agents/PLANNER-PROMPT.md +117 -0
- package/docs/templates/Execution/CONTINUE-HERE.md +78 -0
- package/docs/templates/Execution/DISCUSSION-LOG.md +63 -0
- package/docs/templates/Execution/PHASE-PROMPT.md +610 -0
- package/docs/templates/Execution/STATE.md +176 -0
- package/docs/templates/Execution/SUMMARY-COMPLEX.md +59 -0
- package/docs/templates/Execution/SUMMARY-MINIMAL.md +41 -0
- package/docs/templates/Execution/SUMMARY-STANDARD.md +48 -0
- package/docs/templates/Execution/SUMMARY.md +248 -0
- package/docs/templates/Profile/DEV-PREFERENCES.md +21 -0
- package/docs/templates/Profile/USER-PROFILE.md +146 -0
- package/docs/templates/Profile/USER-SETUP.md +311 -0
- package/docs/templates/Project/DISCOVERY.md +146 -0
- package/docs/templates/Project/MILESTONE-ARCHIVE.md +123 -0
- package/docs/templates/Project/MILESTONE.md +115 -0
- package/docs/templates/Project/PROJECT.md +206 -0
- package/docs/templates/Project/REQUIREMENTS.md +231 -0
- package/docs/templates/Project/RETROSPECTIVE.md +54 -0
- package/docs/templates/Project/ROADMAP.md +202 -0
- package/docs/templates/Quality/DEBUG.md +164 -0
- package/docs/templates/Quality/UAT.md +280 -0
- package/docs/templates/Quality/UI-SPEC.md +100 -0
- package/docs/templates/Quality/VALIDATION.md +76 -0
- package/docs/templates/Quality/VERIFICATION-REPORT.md +322 -0
- package/docs/templates/System/CONFIG.json +43 -0
- package/docs/templates/System/CONTEXT.md +352 -0
- package/docs/templates/codebase/architecture.md +255 -0
- package/docs/templates/codebase/concerns.md +310 -0
- package/docs/templates/codebase/conventions.md +307 -0
- package/docs/templates/codebase/integrations.md +280 -0
- package/docs/templates/codebase/stack.md +186 -0
- package/docs/templates/codebase/structure.md +285 -0
- package/docs/templates/codebase/testing.md +480 -0
- package/docs/templates/research/ARCHITECTURE.md +204 -0
- package/docs/templates/research/FEATURES.md +147 -0
- package/docs/templates/research/PITFALLS.md +200 -0
- package/docs/templates/research/STACK.md +120 -0
- package/docs/templates/research/SUMMARY.md +170 -0
- package/docs/user-guide.md +1 -1
- package/package.json +7 -2
- /package/docs/{reference → references}/audit-events.md +0 -0
- /package/docs/{reference → references}/config-reference.md +0 -0
- /package/docs/{reference → references}/sdk-api.md +0 -0
- /package/docs/{reference → references}/skills-api.md +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-discuss-phase
|
|
3
|
+
description: Gather phase context through adaptive questioning before planning. Use --auto to skip interactive questions (the agent picks recommended defaults).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
|
|
9
|
+
|
|
10
|
+
**How it works:**
|
|
11
|
+
1. Load prior context (PROJECT.md, REQUIREMENTS.md, STATE.md, prior CONTEXT.md files)
|
|
12
|
+
2. Scout codebase for reusable assets and patterns
|
|
13
|
+
3. Analyze phase — skip gray areas already decided in prior phases
|
|
14
|
+
4. Present remaining gray areas — user selects which to discuss
|
|
15
|
+
5. Deep-dive each selected area until satisfied
|
|
16
|
+
6. Create CONTEXT.md with decisions that guide research and planning
|
|
17
|
+
|
|
18
|
+
**Output:** `{phase_num}-CONTEXT.md` — decisions clear enough that downstream agents can act without asking the user again
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
@.agent/workflows/mindforge-discuss-phase.md
|
|
23
|
+
@.agent/workflows/mindforge-discuss-phase-assumptions.md
|
|
24
|
+
@.agent/templates/context.md
|
|
25
|
+
</execution_context>
|
|
26
|
+
|
|
27
|
+
<context>
|
|
28
|
+
Phase number: $ARGUMENTS (required)
|
|
29
|
+
|
|
30
|
+
Context files are resolved in-workflow using `init phase-op` and roadmap/state tool calls.
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<process>
|
|
34
|
+
**Mode routing:**
|
|
35
|
+
```bash
|
|
36
|
+
DISCUSS_MODE=$(node ".agent/bin/mindforge-tools.cjs" config-get workflow.discuss_mode 2>/dev/null || echo "discuss")
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If `DISCUSS_MODE` is `"assumptions"`: Read and execute @.agent/workflows/mindforge-discuss-phase-assumptions.md end-to-end.
|
|
40
|
+
|
|
41
|
+
If `DISCUSS_MODE` is `"discuss"` (or unset, or any other value): Read and execute @.agent/workflows/mindforge-discuss-phase.md end-to-end.
|
|
42
|
+
|
|
43
|
+
**MANDATORY:** The execution_context files listed above ARE the instructions. Read the workflow file BEFORE taking any action. The objective and success_criteria sections in this command file are summaries — the workflow file contains the complete step-by-step process with all required behaviors, config checks, and interaction patterns. Do not improvise from the summary.
|
|
44
|
+
</process>
|
|
45
|
+
|
|
46
|
+
<success_criteria>
|
|
47
|
+
- Prior context loaded and applied (no re-asking decided questions)
|
|
48
|
+
- Gray areas identified through intelligent analysis
|
|
49
|
+
- User chose which areas to discuss
|
|
50
|
+
- Each selected area explored until satisfied
|
|
51
|
+
- Scope creep redirected to deferred ideas
|
|
52
|
+
- CONTEXT.md captures decisions, not vague vision
|
|
53
|
+
- User knows next steps
|
|
54
|
+
</success_criteria>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-do
|
|
3
|
+
description: Route freeform text to the right MindForge command automatically
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Analyze freeform natural language input and dispatch to the most appropriate MindForge command.
|
|
8
|
+
|
|
9
|
+
Acts as a smart dispatcher — never does the work itself. Matches intent to the best MindForge command using routing rules, confirms the match, then hands off.
|
|
10
|
+
|
|
11
|
+
Use when you know what you want but don't know which `/mindforge-*` command to run.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.agent/workflows/mindforge-do.md
|
|
16
|
+
@.agent/references/ui-brand.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
$ARGUMENTS
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
Execute the do workflow from @.agent/workflows/mindforge-do.md end-to-end.
|
|
25
|
+
Route user intent to the best MindForge command and invoke it.
|
|
26
|
+
</process>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-execute-phase
|
|
3
|
+
description: Execute all plans in a phase with wave-based parallelization
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Execute all plans in a phase using wave-based parallel execution.
|
|
8
|
+
|
|
9
|
+
Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
|
|
10
|
+
|
|
11
|
+
Optional wave filter:
|
|
12
|
+
- `--wave N` executes only Wave `N` for pacing, quota management, or staged rollout
|
|
13
|
+
- phase verification/completion still only happens when no incomplete plans remain after the selected wave finishes
|
|
14
|
+
|
|
15
|
+
Flag handling rule:
|
|
16
|
+
- The optional flags documented below are available behaviors, not implied active behaviors
|
|
17
|
+
- A flag is active only when its literal token appears in `$ARGUMENTS`
|
|
18
|
+
- If a documented flag is absent from `$ARGUMENTS`, treat it as inactive
|
|
19
|
+
|
|
20
|
+
Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
21
|
+
</objective>
|
|
22
|
+
|
|
23
|
+
<execution_context>
|
|
24
|
+
@.agent/workflows/mindforge-execute-phase.md
|
|
25
|
+
@.agent/references/ui-brand.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<context>
|
|
29
|
+
Phase: $ARGUMENTS
|
|
30
|
+
|
|
31
|
+
**Available optional flags (documentation only — not automatically active):**
|
|
32
|
+
- `--wave N` — Execute only Wave `N` in the phase. Use when you want to pace execution or stay inside usage limits.
|
|
33
|
+
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
34
|
+
- `--interactive` — Execute plans sequentially inline (no subagents) with user checkpoints between tasks. Lower token usage, pair-programming style. Best for small phases, bug fixes, and verification gaps.
|
|
35
|
+
|
|
36
|
+
**Active flags must be derived from `$ARGUMENTS`:**
|
|
37
|
+
- `--wave N` is active only if the literal `--wave` token is present in `$ARGUMENTS`
|
|
38
|
+
- `--gaps-only` is active only if the literal `--gaps-only` token is present in `$ARGUMENTS`
|
|
39
|
+
- `--interactive` is active only if the literal `--interactive` token is present in `$ARGUMENTS`
|
|
40
|
+
- If none of these tokens appear, run the standard full-phase execution flow with no flag-specific filtering
|
|
41
|
+
- Do not infer that a flag is active just because it is documented in this prompt
|
|
42
|
+
|
|
43
|
+
Context files are resolved inside the workflow via `mindforge-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
|
|
44
|
+
</context>
|
|
45
|
+
|
|
46
|
+
<process>
|
|
47
|
+
Execute the execute-phase workflow from @.agent/workflows/mindforge-execute-phase.md end-to-end.
|
|
48
|
+
Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
|
|
49
|
+
</process>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-fast
|
|
3
|
+
description: Execute a trivial task inline — no subagents, no planning overhead
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Execute a trivial task directly in the current context without spawning subagents
|
|
9
|
+
or generating PLAN.md files. For tasks too small to justify planning overhead:
|
|
10
|
+
typo fixes, config changes, small refactors, forgotten commits, simple additions.
|
|
11
|
+
|
|
12
|
+
This is NOT a replacement for /mindforge-quick — use /mindforge-quick for anything that
|
|
13
|
+
needs research, multi-step planning, or verification. /mindforge-fast is for tasks
|
|
14
|
+
you could describe in one sentence and execute in under 2 minutes.
|
|
15
|
+
</objective>
|
|
16
|
+
|
|
17
|
+
<execution_context>
|
|
18
|
+
@.agent/workflows/mindforge-fast.md
|
|
19
|
+
</execution_context>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
Execute the fast workflow from @.agent/workflows/mindforge-fast.md end-to-end.
|
|
23
|
+
</process>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-forensics
|
|
3
|
+
description: Post-mortem investigation for failed MindForge workflows — analyzes git history, artifacts, and state to diagnose what went wrong
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Investigate what went wrong during a MindForge workflow execution. Analyzes git history, `.planning/` artifacts, and file system state to detect anomalies and generate a structured diagnostic report.
|
|
9
|
+
|
|
10
|
+
Purpose: Diagnose failed or stuck workflows so the user can understand root cause and take corrective action.
|
|
11
|
+
Output: Forensic report saved to `.planning/forensics/`, presented inline, with optional issue creation.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.agent/workflows/mindforge-forensics.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
**Data sources:**
|
|
20
|
+
- `git log` (recent commits, patterns, time gaps)
|
|
21
|
+
- `git status` / `git diff` (uncommitted work, conflicts)
|
|
22
|
+
- `.planning/STATE.md` (current position, session history)
|
|
23
|
+
- `.planning/ROADMAP.md` (phase scope and progress)
|
|
24
|
+
- `.planning/phases/*/` (PLAN.md, SUMMARY.md, VERIFICATION.md, CONTEXT.md)
|
|
25
|
+
- `.planning/reports/SESSION_REPORT.md` (last session outcomes)
|
|
26
|
+
|
|
27
|
+
**User input:**
|
|
28
|
+
- Problem description: $ARGUMENTS (optional — will ask if not provided)
|
|
29
|
+
</context>
|
|
30
|
+
|
|
31
|
+
<process>
|
|
32
|
+
Read and execute the forensics workflow from @.agent/workflows/mindforge-forensics.md end-to-end.
|
|
33
|
+
</process>
|
|
34
|
+
|
|
35
|
+
<success_criteria>
|
|
36
|
+
- Evidence gathered from all available data sources
|
|
37
|
+
- At least 4 anomaly types checked (stuck loop, missing artifacts, abandoned work, crash/interruption)
|
|
38
|
+
- Structured forensic report written to `.planning/forensics/report-{timestamp}.md`
|
|
39
|
+
- Report presented inline with findings, anomalies, and recommendations
|
|
40
|
+
- Interactive investigation offered for deeper analysis
|
|
41
|
+
- GitHub issue creation offered if actionable findings exist
|
|
42
|
+
</success_criteria>
|
|
43
|
+
|
|
44
|
+
<critical_rules>
|
|
45
|
+
- **Read-only investigation:** Do not modify project source files during forensics. Only write the forensic report and update STATE.md session tracking.
|
|
46
|
+
- **Redact sensitive data:** Strip absolute paths, API keys, tokens from reports and issues.
|
|
47
|
+
- **Ground findings in evidence:** Every anomaly must cite specific commits, files, or state data.
|
|
48
|
+
- **No speculation without evidence:** If data is insufficient, say so — do not fabricate root causes.
|
|
49
|
+
</critical_rules>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-health
|
|
3
|
+
description: Diagnose planning directory health and optionally repair issues
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.agent/workflows/mindforge-health.md
|
|
12
|
+
</execution_context>
|
|
13
|
+
|
|
14
|
+
<process>
|
|
15
|
+
Execute the health workflow from @.agent/workflows/mindforge-health.md end-to-end.
|
|
16
|
+
Parse --repair flag from arguments and pass to workflow.
|
|
17
|
+
</process>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-help
|
|
3
|
+
description: Show available MindForge commands and usage guide
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Display the complete MindForge command reference.
|
|
8
|
+
|
|
9
|
+
Output ONLY the reference content below. Do NOT add:
|
|
10
|
+
- Project-specific analysis
|
|
11
|
+
- Git status or file context
|
|
12
|
+
- Next-step suggestions
|
|
13
|
+
- Any commentary beyond the reference
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@.agent/workflows/mindforge-help.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<process>
|
|
21
|
+
Output the complete MindForge command reference from @.agent/workflows/mindforge-help.md.
|
|
22
|
+
Display the reference content directly — no additions or modifications.
|
|
23
|
+
</process>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-insert-phase
|
|
3
|
+
description: Insert urgent work as decimal phase (e.g., 72.1) between existing phases
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Insert a decimal phase for urgent work discovered mid-milestone that must be completed between existing integer phases.
|
|
9
|
+
|
|
10
|
+
Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions.
|
|
11
|
+
|
|
12
|
+
Purpose: Handle urgent work discovered during execution without renumbering entire roadmap.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@.agent/workflows/mindforge-insert-phase.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Arguments: $ARGUMENTS (format: <after-phase-number> <description>)
|
|
21
|
+
|
|
22
|
+
Roadmap and state are resolved in-workflow via `init phase-op` and targeted tool calls.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
Execute the insert-phase workflow from @.agent/workflows/mindforge-insert-phase.md end-to-end.
|
|
27
|
+
Preserve all validation gates (argument parsing, phase verification, decimal calculation, roadmap updates).
|
|
28
|
+
</process>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-join-discord
|
|
3
|
+
description: Join the MindForge Discord community
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Display the Discord invite link for the MindForge community server.
|
|
9
|
+
</objective>
|
|
10
|
+
|
|
11
|
+
<output>
|
|
12
|
+
# Join the MindForge Discord
|
|
13
|
+
|
|
14
|
+
Connect with other MindForge users, get help, share what you're building, and stay updated.
|
|
15
|
+
|
|
16
|
+
**Invite link:** https://discord.gg/mindforge
|
|
17
|
+
|
|
18
|
+
Click the link or paste it into your browser to join.
|
|
19
|
+
</output>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-list-phase-assumptions
|
|
3
|
+
description: Surface the agent's assumptions about a phase approach before planning
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Analyze a phase and present the agent's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
|
|
9
|
+
|
|
10
|
+
Purpose: Help users see what the agent thinks BEFORE planning begins - enabling course correction early when assumptions are wrong.
|
|
11
|
+
Output: Conversational output only (no file creation) - ends with "What do you think?" prompt
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.agent/workflows/mindforge-list-phase-assumptions.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Phase number: $ARGUMENTS (required)
|
|
20
|
+
|
|
21
|
+
Project state and roadmap are loaded in-workflow using targeted reads.
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<process>
|
|
25
|
+
1. Validate phase number argument (error if missing or invalid)
|
|
26
|
+
2. Check if phase exists in roadmap
|
|
27
|
+
3. Follow list-phase-assumptions.md workflow:
|
|
28
|
+
- Analyze roadmap description
|
|
29
|
+
- Surface assumptions about: technical approach, implementation order, scope, risks, dependencies
|
|
30
|
+
- Present assumptions clearly
|
|
31
|
+
- Prompt "What do you think?"
|
|
32
|
+
4. Gather feedback and offer next steps
|
|
33
|
+
</process>
|
|
34
|
+
|
|
35
|
+
<success_criteria>
|
|
36
|
+
|
|
37
|
+
- Phase validated against roadmap
|
|
38
|
+
- Assumptions surfaced across five areas
|
|
39
|
+
- User prompted for feedback
|
|
40
|
+
- User knows next steps (discuss context, plan phase, or correct assumptions)
|
|
41
|
+
</success_criteria>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-list-workspaces
|
|
3
|
+
description: List active MindForge workspaces and their status
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Scan `~/mindforge-workspaces/` for workspace directories containing `WORKSPACE.md` manifests. Display a summary table with name, path, repo count, strategy, and MindForge project status.
|
|
8
|
+
</objective>
|
|
9
|
+
|
|
10
|
+
<execution_context>
|
|
11
|
+
@.agent/workflows/mindforge-list-workspaces.md
|
|
12
|
+
@.agent/references/ui-brand.md
|
|
13
|
+
</execution_context>
|
|
14
|
+
|
|
15
|
+
<process>
|
|
16
|
+
Execute the list-workspaces workflow from @.agent/workflows/mindforge-list-workspaces.md end-to-end.
|
|
17
|
+
</process>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-manager
|
|
3
|
+
description: Interactive command center for managing multiple phases from one terminal
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Single-terminal command center for managing a milestone. Shows a dashboard of all phases with visual status indicators, recommends optimal next actions, and dispatches work — discuss runs inline, plan/execute run as background agents.
|
|
8
|
+
|
|
9
|
+
Designed for power users who want to parallelize work across phases from one terminal: discuss a phase while another plans or executes in the background.
|
|
10
|
+
|
|
11
|
+
**Creates/Updates:**
|
|
12
|
+
- No files created directly — dispatches to existing MindForge commands via Skill() and background Task agents.
|
|
13
|
+
- Reads `.planning/STATE.md`, `.planning/ROADMAP.md`, phase directories for status.
|
|
14
|
+
|
|
15
|
+
**After:** User exits when done managing, or all phases complete and milestone lifecycle is suggested.
|
|
16
|
+
</objective>
|
|
17
|
+
|
|
18
|
+
<execution_context>
|
|
19
|
+
@.agent/workflows/mindforge-manager.md
|
|
20
|
+
@.agent/references/ui-brand.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
No arguments required. Requires an active milestone with ROADMAP.md and STATE.md.
|
|
25
|
+
|
|
26
|
+
Project context, phase list, dependencies, and recommendations are resolved inside the workflow using `mindforge-tools.cjs init manager`. No upfront context loading needed.
|
|
27
|
+
</context>
|
|
28
|
+
|
|
29
|
+
<process>
|
|
30
|
+
Execute the manager workflow from @.agent/workflows/mindforge-manager.md end-to-end.
|
|
31
|
+
Maintain the dashboard refresh loop until the user exits or all phases complete.
|
|
32
|
+
</process>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-map-codebase
|
|
3
|
+
description: Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Analyze existing codebase using parallel mindforge-codebase-mapper agents to produce structured codebase documents.
|
|
9
|
+
|
|
10
|
+
Each mapper agent explores a focus area and **writes documents directly** to `.planning/codebase/`. The orchestrator only receives confirmations, keeping context usage minimal.
|
|
11
|
+
|
|
12
|
+
Output: .planning/codebase/ folder with 7 structured documents about the codebase state.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@.agent/workflows/mindforge-map-codebase.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Focus area: $ARGUMENTS (optional - if provided, tells agents to focus on specific subsystem)
|
|
21
|
+
|
|
22
|
+
**Load project state if exists:**
|
|
23
|
+
Check for .planning/STATE.md - loads context if project already initialized
|
|
24
|
+
|
|
25
|
+
**This command can run:**
|
|
26
|
+
- Before /mindforge-new-project (brownfield codebases) - creates codebase map first
|
|
27
|
+
- After /mindforge-new-project (greenfield codebases) - updates codebase map as code evolves
|
|
28
|
+
- Anytime to refresh codebase understanding
|
|
29
|
+
</context>
|
|
30
|
+
|
|
31
|
+
<when_to_use>
|
|
32
|
+
**Use map-codebase for:**
|
|
33
|
+
- Brownfield projects before initialization (understand existing code first)
|
|
34
|
+
- Refreshing codebase map after significant changes
|
|
35
|
+
- Onboarding to an unfamiliar codebase
|
|
36
|
+
- Before major refactoring (understand current state)
|
|
37
|
+
- When STATE.md references outdated codebase info
|
|
38
|
+
|
|
39
|
+
**Skip map-codebase for:**
|
|
40
|
+
- Greenfield projects with no code yet (nothing to map)
|
|
41
|
+
- Trivial codebases (<5 files)
|
|
42
|
+
</when_to_use>
|
|
43
|
+
|
|
44
|
+
<process>
|
|
45
|
+
1. Check if .planning/codebase/ already exists (offer to refresh or skip)
|
|
46
|
+
2. Create .planning/codebase/ directory structure
|
|
47
|
+
3. Spawn 4 parallel mindforge-codebase-mapper agents:
|
|
48
|
+
- Agent 1: tech focus → writes STACK.md, INTEGRATIONS.md
|
|
49
|
+
- Agent 2: arch focus → writes ARCHITECTURE.md, STRUCTURE.md
|
|
50
|
+
- Agent 3: quality focus → writes CONVENTIONS.md, TESTING.md
|
|
51
|
+
- Agent 4: concerns focus → writes CONCERNS.md
|
|
52
|
+
4. Wait for agents to complete, collect confirmations (NOT document contents)
|
|
53
|
+
5. Verify all 7 documents exist with line counts
|
|
54
|
+
6. Commit codebase map
|
|
55
|
+
7. Offer next steps (typically: /mindforge-new-project or /mindforge-plan-phase)
|
|
56
|
+
</process>
|
|
57
|
+
|
|
58
|
+
<success_criteria>
|
|
59
|
+
- [ ] .planning/codebase/ directory created
|
|
60
|
+
- [ ] All 7 codebase documents written by mapper agents
|
|
61
|
+
- [ ] Documents follow template structure
|
|
62
|
+
- [ ] Parallel agents completed without errors
|
|
63
|
+
- [ ] User knows next steps
|
|
64
|
+
</success_criteria>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-milestone-summary
|
|
3
|
+
description: Generate a comprehensive project summary from milestone artifacts for team onboarding and review
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Generate a structured milestone summary for team onboarding and project review. Reads completed milestone artifacts (ROADMAP, REQUIREMENTS, CONTEXT, SUMMARY, VERIFICATION files) and produces a human-friendly overview of what was built, how, and why.
|
|
9
|
+
|
|
10
|
+
Purpose: Enable new team members to understand a completed project by reading one document and asking follow-up questions.
|
|
11
|
+
Output: MILESTONE_SUMMARY written to `.planning/reports/`, presented inline, optional interactive Q&A.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.agent/workflows/mindforge-milestone-summary.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
**Project files:**
|
|
20
|
+
- `.planning/ROADMAP.md`
|
|
21
|
+
- `.planning/PROJECT.md`
|
|
22
|
+
- `.planning/STATE.md`
|
|
23
|
+
- `.planning/RETROSPECTIVE.md`
|
|
24
|
+
- `.planning/milestones/v{version}-ROADMAP.md` (if archived)
|
|
25
|
+
- `.planning/milestones/v{version}-REQUIREMENTS.md` (if archived)
|
|
26
|
+
- `.planning/phases/*-*/` (SUMMARY.md, VERIFICATION.md, CONTEXT.md, RESEARCH.md)
|
|
27
|
+
|
|
28
|
+
**User input:**
|
|
29
|
+
- Version: $ARGUMENTS (optional — defaults to current/latest milestone)
|
|
30
|
+
</context>
|
|
31
|
+
|
|
32
|
+
<process>
|
|
33
|
+
Read and execute the milestone-summary workflow from @.agent/workflows/mindforge-milestone-summary.md end-to-end.
|
|
34
|
+
</process>
|
|
35
|
+
|
|
36
|
+
<success_criteria>
|
|
37
|
+
- Milestone version resolved (from args, STATE.md, or archive scan)
|
|
38
|
+
- All available artifacts read (ROADMAP, REQUIREMENTS, CONTEXT, SUMMARY, VERIFICATION, RESEARCH, RETROSPECTIVE)
|
|
39
|
+
- Summary document written to `.planning/reports/MILESTONE_SUMMARY-v{version}.md`
|
|
40
|
+
- All 7 sections generated (Overview, Architecture, Phases, Decisions, Requirements, Tech Debt, Getting Started)
|
|
41
|
+
- Summary presented inline to user
|
|
42
|
+
- Interactive Q&A offered
|
|
43
|
+
- STATE.md updated
|
|
44
|
+
</success_criteria>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-new-milestone
|
|
3
|
+
description: Start a new milestone cycle — update PROJECT.md and route to requirements
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Start a new milestone: questioning → research (optional) → requirements → roadmap.
|
|
8
|
+
|
|
9
|
+
Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Gathers "what's next", updates PROJECT.md, then runs requirements → roadmap cycle.
|
|
10
|
+
|
|
11
|
+
**Creates/Updates:**
|
|
12
|
+
- `.planning/PROJECT.md` — updated with new milestone goals
|
|
13
|
+
- `.planning/research/` — domain research (optional, NEW features only)
|
|
14
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements for this milestone
|
|
15
|
+
- `.planning/ROADMAP.md` — phase structure (continues numbering)
|
|
16
|
+
- `.planning/STATE.md` — reset for new milestone
|
|
17
|
+
|
|
18
|
+
**After:** `/mindforge-plan-phase [N]` to start execution.
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
@.agent/workflows/mindforge-new-milestone.md
|
|
23
|
+
@.agent/references/questioning.md
|
|
24
|
+
@.agent/references/ui-brand.md
|
|
25
|
+
@.agent/templates/project.md
|
|
26
|
+
@.agent/templates/requirements.md
|
|
27
|
+
</execution_context>
|
|
28
|
+
|
|
29
|
+
<context>
|
|
30
|
+
Milestone name: $ARGUMENTS (optional - will prompt if not provided)
|
|
31
|
+
|
|
32
|
+
Project and milestone context files are resolved inside the workflow (`init new-milestone`) and delegated via `<files_to_read>` blocks where subagents are used.
|
|
33
|
+
</context>
|
|
34
|
+
|
|
35
|
+
<process>
|
|
36
|
+
Execute the new-milestone workflow from @.agent/workflows/mindforge-new-milestone.md end-to-end.
|
|
37
|
+
Preserve all workflow gates (validation, questioning, research, requirements, roadmap approval, commits).
|
|
38
|
+
</process>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-new-project
|
|
3
|
+
description: Initialize a new project with deep context gathering and PROJECT.md
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<context>
|
|
7
|
+
**Flags:**
|
|
8
|
+
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
|
|
9
|
+
</context>
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
|
|
13
|
+
|
|
14
|
+
**Creates:**
|
|
15
|
+
- `.planning/PROJECT.md` — project context
|
|
16
|
+
- `.planning/config.json` — workflow preferences
|
|
17
|
+
- `.planning/research/` — domain research (optional)
|
|
18
|
+
- `.planning/REQUIREMENTS.md` — scoped requirements
|
|
19
|
+
- `.planning/ROADMAP.md` — phase structure
|
|
20
|
+
- `.planning/STATE.md` — project memory
|
|
21
|
+
|
|
22
|
+
**After this command:** Run `/mindforge-plan-phase 1` to start execution.
|
|
23
|
+
</objective>
|
|
24
|
+
|
|
25
|
+
<execution_context>
|
|
26
|
+
@.agent/workflows/mindforge-new-project.md
|
|
27
|
+
@.agent/references/questioning.md
|
|
28
|
+
@.agent/references/ui-brand.md
|
|
29
|
+
@.agent/templates/project.md
|
|
30
|
+
@.agent/templates/requirements.md
|
|
31
|
+
</execution_context>
|
|
32
|
+
|
|
33
|
+
<process>
|
|
34
|
+
Execute the new-project workflow from @.agent/workflows/mindforge-new-project.md end-to-end.
|
|
35
|
+
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
36
|
+
</process>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-new-workspace
|
|
3
|
+
description: Create an isolated workspace with repo copies and independent .planning/
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<context>
|
|
7
|
+
**Flags:**
|
|
8
|
+
- `--name` (required) — Workspace name
|
|
9
|
+
- `--repos` — Comma-separated repo paths or names. If omitted, interactive selection from child git repos in cwd
|
|
10
|
+
- `--path` — Target directory. Defaults to `~/mindforge-workspaces/<name>`
|
|
11
|
+
- `--strategy` — `worktree` (default, lightweight) or `clone` (fully independent)
|
|
12
|
+
- `--branch` — Branch to checkout. Defaults to `workspace/<name>`
|
|
13
|
+
- `--auto` — Skip interactive questions, use defaults
|
|
14
|
+
</context>
|
|
15
|
+
|
|
16
|
+
<objective>
|
|
17
|
+
Create a physical workspace directory containing copies of specified git repos (as worktrees or clones) with an independent `.planning/` directory for isolated MindForge sessions.
|
|
18
|
+
|
|
19
|
+
**Use cases:**
|
|
20
|
+
- Multi-repo orchestration: work on a subset of repos in parallel with isolated MindForge state
|
|
21
|
+
- Feature branch isolation: create a worktree of the current repo with its own `.planning/`
|
|
22
|
+
|
|
23
|
+
**Creates:**
|
|
24
|
+
- `<path>/WORKSPACE.md` — workspace manifest
|
|
25
|
+
- `<path>/.planning/` — independent planning directory
|
|
26
|
+
- `<path>/<repo>/` — git worktree or clone for each specified repo
|
|
27
|
+
|
|
28
|
+
**After this command:** `cd` into the workspace and run `/mindforge-new-project` to initialize MindForge.
|
|
29
|
+
</objective>
|
|
30
|
+
|
|
31
|
+
<execution_context>
|
|
32
|
+
@.agent/workflows/mindforge-new-workspace.md
|
|
33
|
+
@.agent/references/ui-brand.md
|
|
34
|
+
</execution_context>
|
|
35
|
+
|
|
36
|
+
<process>
|
|
37
|
+
Execute the new-workspace workflow from @.agent/workflows/mindforge-new-workspace.md end-to-end.
|
|
38
|
+
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
39
|
+
</process>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-next
|
|
3
|
+
description: Automatically advance to the next logical step in the MindForge workflow
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Detect the current project state and automatically invoke the next logical MindForge workflow step.
|
|
8
|
+
No arguments needed — reads STATE.md, ROADMAP.md, and phase directories to determine what comes next.
|
|
9
|
+
|
|
10
|
+
Designed for rapid multi-project workflows where remembering which phase/step you're on is overhead.
|
|
11
|
+
</objective>
|
|
12
|
+
|
|
13
|
+
<execution_context>
|
|
14
|
+
@.agent/workflows/mindforge-next.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<process>
|
|
18
|
+
Execute the next workflow from @.agent/workflows/mindforge-next.md end-to-end.
|
|
19
|
+
</process>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge-note
|
|
3
|
+
description: Zero-friction idea capture. Append, list, or promote notes to todos.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Zero-friction idea capture — one Write call, one confirmation line.
|
|
8
|
+
|
|
9
|
+
Three subcommands:
|
|
10
|
+
- **append** (default): Save a timestamped note file. No questions, no formatting.
|
|
11
|
+
- **list**: Show all notes from project and global scopes.
|
|
12
|
+
- **promote**: Convert a note into a structured todo.
|
|
13
|
+
|
|
14
|
+
Runs inline — no Task, no AskUserQuestion, no Bash.
|
|
15
|
+
</objective>
|
|
16
|
+
|
|
17
|
+
<execution_context>
|
|
18
|
+
@.agent/workflows/mindforge-note.md
|
|
19
|
+
@.agent/references/ui-brand.md
|
|
20
|
+
</execution_context>
|
|
21
|
+
|
|
22
|
+
<context>
|
|
23
|
+
$ARGUMENTS
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
Execute the note workflow from @.agent/workflows/mindforge-note.md end-to-end.
|
|
28
|
+
Capture the note, list notes, or promote to todo — depending on arguments.
|
|
29
|
+
</process>
|