mindforge-cc 2.2.0 → 2.3.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/.agent/CLAUDE.md +14 -0
- package/.agent/forge/help.md +4 -0
- package/.agent/forge/init-project.md +4 -0
- package/.agent/forge/plan-phase.md +4 -0
- package/.agent/mindforge/approve.md +4 -0
- package/.agent/mindforge/audit.md +4 -0
- package/.agent/mindforge/auto.md +4 -0
- package/.agent/mindforge/benchmark.md +4 -0
- package/.agent/mindforge/browse.md +4 -0
- package/.agent/mindforge/complete-milestone.md +4 -0
- package/.agent/mindforge/costs.md +4 -0
- package/.agent/mindforge/cross-review.md +4 -0
- package/.agent/mindforge/dashboard.md +4 -0
- package/.agent/mindforge/debug.md +4 -0
- package/.agent/mindforge/discuss-phase.md +4 -0
- package/.agent/mindforge/execute-phase.md +4 -0
- package/.agent/mindforge/health.md +4 -0
- package/.agent/mindforge/help.md +4 -0
- package/.agent/mindforge/init-org.md +4 -0
- package/.agent/mindforge/init-project.md +4 -0
- package/.agent/mindforge/install-skill.md +4 -0
- package/.agent/mindforge/learn.md +4 -0
- package/.agent/mindforge/map-codebase.md +4 -0
- package/.agent/mindforge/marketplace.md +4 -0
- package/.agent/mindforge/metrics.md +4 -0
- package/.agent/mindforge/migrate.md +4 -0
- package/.agent/mindforge/milestone.md +4 -0
- package/.agent/mindforge/new-runtime.md +4 -0
- package/.agent/mindforge/next.md +4 -0
- package/.agent/mindforge/plan-phase.md +4 -0
- package/.agent/mindforge/plugins.md +4 -0
- package/.agent/mindforge/pr-review.md +4 -0
- package/.agent/mindforge/profile-team.md +4 -0
- package/.agent/mindforge/publish-skill.md +4 -0
- package/.agent/mindforge/qa.md +4 -0
- package/.agent/mindforge/quick.md +4 -0
- package/.agent/mindforge/release.md +4 -0
- package/.agent/mindforge/remember.md +4 -0
- package/.agent/mindforge/research.md +4 -0
- package/.agent/mindforge/retrospective.md +4 -0
- package/.agent/mindforge/review.md +4 -0
- package/.agent/mindforge/security-scan.md +4 -0
- package/.agent/mindforge/ship.md +4 -0
- package/.agent/mindforge/skills.md +4 -0
- package/.agent/mindforge/status.md +4 -0
- package/.agent/mindforge/steer.md +4 -0
- package/.agent/mindforge/sync-confluence.md +4 -0
- package/.agent/mindforge/sync-jira.md +4 -0
- package/.agent/mindforge/tokens.md +4 -0
- package/.agent/mindforge/update.md +4 -0
- package/.agent/mindforge/verify-phase.md +4 -0
- package/.agent/mindforge/workspace.md +4 -0
- package/.agent/workflows/forge:help.md +10 -0
- package/.agent/workflows/forge:init-project.md +35 -0
- package/.agent/workflows/forge:plan-phase.md +33 -0
- package/.agent/workflows/mindforge:add-backlog.md +24 -0
- package/.agent/workflows/mindforge:agent.md +25 -0
- package/.agent/workflows/mindforge:approve.md +21 -0
- package/.agent/workflows/mindforge:audit.md +33 -0
- package/.agent/workflows/mindforge:auto.md +25 -0
- package/.agent/workflows/mindforge:benchmark.md +36 -0
- package/.agent/workflows/mindforge:browse.md +29 -0
- package/.agent/workflows/mindforge:complete-milestone.md +21 -0
- package/.agent/workflows/mindforge:costs.md +14 -0
- package/.agent/workflows/mindforge:cross-review.md +20 -0
- package/.agent/workflows/mindforge:dashboard.md +101 -0
- package/.agent/workflows/mindforge:debug.md +129 -0
- package/.agent/workflows/mindforge:discuss-phase.md +141 -0
- package/.agent/workflows/mindforge:do.md +25 -0
- package/.agent/workflows/mindforge:execute-phase.md +193 -0
- package/.agent/workflows/mindforge:health.md +24 -0
- package/.agent/workflows/mindforge:help.md +26 -0
- package/.agent/workflows/mindforge:init-org.md +134 -0
- package/.agent/workflows/mindforge:init-project.md +169 -0
- package/.agent/workflows/mindforge:install-skill.md +27 -0
- package/.agent/workflows/mindforge:learn.md +146 -0
- package/.agent/workflows/mindforge:map-codebase.md +301 -0
- package/.agent/workflows/mindforge:marketplace.md +123 -0
- package/.agent/workflows/mindforge:metrics.md +25 -0
- package/.agent/workflows/mindforge:migrate.md +43 -0
- package/.agent/workflows/mindforge:milestone.md +15 -0
- package/.agent/workflows/mindforge:new-runtime.md +22 -0
- package/.agent/workflows/mindforge:next.md +108 -0
- package/.agent/workflows/mindforge:note.md +27 -0
- package/.agent/workflows/mindforge:plan-phase.md +128 -0
- package/.agent/workflows/mindforge:plant-seed.md +24 -0
- package/.agent/workflows/mindforge:plugins.md +43 -0
- package/.agent/workflows/mindforge:pr-review.md +44 -0
- package/.agent/workflows/mindforge:profile-team.md +26 -0
- package/.agent/workflows/mindforge:publish-skill.md +22 -0
- package/.agent/workflows/mindforge:qa.md +19 -0
- package/.agent/workflows/mindforge:quick.md +138 -0
- package/.agent/workflows/mindforge:release.md +13 -0
- package/.agent/workflows/mindforge:remember.md +29 -0
- package/.agent/workflows/mindforge:research.md +15 -0
- package/.agent/workflows/mindforge:retrospective.md +29 -0
- package/.agent/workflows/mindforge:review-backlog.md +26 -0
- package/.agent/workflows/mindforge:review.md +160 -0
- package/.agent/workflows/mindforge:security-scan.md +236 -0
- package/.agent/workflows/mindforge:session-report.md +31 -0
- package/.agent/workflows/mindforge:ship.md +103 -0
- package/.agent/workflows/mindforge:skills.md +144 -0
- package/.agent/workflows/mindforge:status.md +107 -0
- package/.agent/workflows/mindforge:steer.md +16 -0
- package/.agent/workflows/mindforge:sync-confluence.md +14 -0
- package/.agent/workflows/mindforge:sync-jira.md +15 -0
- package/.agent/workflows/mindforge:tokens.md +11 -0
- package/.agent/workflows/mindforge:ui-phase.md +27 -0
- package/.agent/workflows/mindforge:ui-review.md +28 -0
- package/.agent/workflows/mindforge:update.md +45 -0
- package/.agent/workflows/mindforge:validate-phase.md +25 -0
- package/.agent/workflows/mindforge:verify-phase.md +65 -0
- package/.agent/workflows/mindforge:workspace.md +32 -0
- package/.agent/workflows/mindforge:workstreams.md +27 -0
- package/.claude/CLAUDE.md +14 -0
- package/.mindforge/memory/knowledge-base.jsonl +11 -0
- package/.mindforge/memory/pattern-library.jsonl +2 -0
- package/.mindforge/memory/team-preferences.jsonl +5 -0
- package/.planning/AUDIT.jsonl +1 -1
- package/.planning/HANDOFF.json +6 -26
- package/.planning/ROADMAP.md +3 -1
- package/.planning/jira-sync.json +3 -7
- package/.planning/phases/.gitkeep +0 -0
- package/.planning/research/.gitkeep +0 -0
- package/.planning/screenshots/.gitkeep +0 -0
- package/.planning/slack-threads.json +1 -4
- package/CHANGELOG.md +69 -9
- package/README.md +1 -1
- package/RELEASENOTES.md +1 -1
- package/bin/installer-core.js +204 -63
- package/bin/wizard/theme.js +4 -2
- package/package.json +1 -1
- package/.planning/approvals/v2-architecture-approval.json +0 -15
- package/.planning/decisions/ADR-001-handoff-tracking.md +0 -41
- package/.planning/decisions/ADR-002-markdown-commands.md +0 -46
- package/.planning/decisions/ADR-003-skills-trigger-model.md +0 -37
- package/.planning/decisions/ADR-004-wave-parallelism-model.md +0 -45
- package/.planning/decisions/ADR-005-append-only-audit-log.md +0 -51
- package/.planning/decisions/ADR-006-tiered-skills-system.md +0 -22
- package/.planning/decisions/ADR-007-trigger-keyword-model.md +0 -22
- package/.planning/decisions/ADR-008-just-in-time-skill-loading.md +0 -29
- package/.planning/decisions/ADR-009-enterprise-integration-retry-policy.md +0 -8
- package/.planning/decisions/ADR-010-governance-tier-escalation.md +0 -8
- package/.planning/decisions/ADR-011-multi-developer-handoff-contract.md +0 -8
- package/.planning/decisions/ADR-012-intelligence-feedback-loops.md +0 -19
- package/.planning/decisions/ADR-013-mindforge-md-constitution.md +0 -16
- package/.planning/decisions/ADR-014-metrics-as-signals-not-evaluation.md +0 -15
- package/.planning/decisions/ADR-015-npm-based-skill-registry.md +0 -26
- package/.planning/decisions/ADR-016-ci-exit-code-0-on-timeout.md +0 -27
- package/.planning/decisions/ADR-017-sdk-localhost-only.md +0 -28
- package/.planning/decisions/ADR-018-installer-self-install-detection.md +0 -15
- package/.planning/decisions/ADR-019-self-update-scope-preservation.md +0 -14
- package/.planning/decisions/ADR-020-v1.0.0-stable-interface-contract.md +0 -23
- package/.planning/decisions/ADR-021-autonomy-boundary.md +0 -17
- package/.planning/decisions/ADR-022-node-repair-hierarchy.md +0 -19
- package/.planning/decisions/ADR-023-gate-3-timing.md +0 -15
- package/.planning/decisions/ADR-036-learn-command-docs-as-skill-source.md +0 -26
- package/.planning/decisions/ADR-037-auto-capture-frequency-threshold.md +0 -26
- package/.planning/decisions/ADR-038-skill-quality-minimum-60.md +0 -27
- package/.planning/phases/day1/REVIEW-DAY1.md +0 -50
- package/.planning/phases/day1/SECURITY-REVIEW-DAY1.md +0 -15
- package/.planning/phases/day2/REVIEW-DAY2.md +0 -521
- package/.planning/phases/day3/REVIEW-DAY3.md +0 -234
- /package/{.planning/phases/01-migrate-gsd-to-mindforge/.gitkeep → .mindforge/memory/decision-library.jsonl} +0 -0
- /package/docs/{Context → context}/Master-Context.md +0 -0
- /package/docs/{References → references}/audit-events.md +0 -0
- /package/docs/{References → references}/checkpoints.md +0 -0
- /package/docs/{References → references}/commands.md +0 -0
- /package/docs/{References → references}/config-reference.md +0 -0
- /package/docs/{References → references}/continuation-format.md +0 -0
- /package/docs/{References → references}/decimal-phase-calculation.md +0 -0
- /package/docs/{References → references}/git-integration.md +0 -0
- /package/docs/{References → references}/git-planning-commit.md +0 -0
- /package/docs/{References → references}/model-profile-resolution.md +0 -0
- /package/docs/{References → references}/model-profiles.md +0 -0
- /package/docs/{References → references}/phase-argument-parsing.md +0 -0
- /package/docs/{References → references}/planning-config.md +0 -0
- /package/docs/{References → references}/questioning.md +0 -0
- /package/docs/{References → references}/sdk-api.md +0 -0
- /package/docs/{References → references}/skills-api.md +0 -0
- /package/docs/{References → references}/tdd.md +0 -0
- /package/docs/{References → references}/ui-brand.md +0 -0
- /package/docs/{References → references}/user-profiling.md +0 -0
- /package/docs/{References → references}/verification-patterns.md +0 -0
- /package/docs/{References → references}/workstream-flag.md +0 -0
- /package/docs/{Templates → templates}/Agents/CLAUDE-MD.md +0 -0
- /package/docs/{Templates → templates}/Agents/COPILOT-INSTRUCTIONS.md +0 -0
- /package/docs/{Templates → templates}/Agents/DEBUGGER-PROMPT.md +0 -0
- /package/docs/{Templates → templates}/Agents/PLANNER-PROMPT.md +0 -0
- /package/docs/{Templates → templates}/Execution/CONTINUE-HERE.md +0 -0
- /package/docs/{Templates → templates}/Execution/DISCUSSION-LOG.md +0 -0
- /package/docs/{Templates → templates}/Execution/PHASE-PROMPT.md +0 -0
- /package/docs/{Templates → templates}/Execution/STATE.md +0 -0
- /package/docs/{Templates → templates}/Execution/SUMMARY-COMPLEX.md +0 -0
- /package/docs/{Templates → templates}/Execution/SUMMARY-MINIMAL.md +0 -0
- /package/docs/{Templates → templates}/Execution/SUMMARY-STANDARD.md +0 -0
- /package/docs/{Templates → templates}/Execution/SUMMARY.md +0 -0
- /package/docs/{Templates → templates}/Profile/DEV-PREFERENCES.md +0 -0
- /package/docs/{Templates → templates}/Profile/USER-PROFILE.md +0 -0
- /package/docs/{Templates → templates}/Profile/USER-SETUP.md +0 -0
- /package/docs/{Templates → templates}/Project/DISCOVERY.md +0 -0
- /package/docs/{Templates → templates}/Project/MILESTONE-ARCHIVE.md +0 -0
- /package/docs/{Templates → templates}/Project/MILESTONE.md +0 -0
- /package/docs/{Templates → templates}/Project/PROJECT.md +0 -0
- /package/docs/{Templates → templates}/Project/REQUIREMENTS.md +0 -0
- /package/docs/{Templates → templates}/Project/RETROSPECTIVE.md +0 -0
- /package/docs/{Templates → templates}/Project/ROADMAP.md +0 -0
- /package/docs/{Templates → templates}/Quality/DEBUG.md +0 -0
- /package/docs/{Templates → templates}/Quality/UAT.md +0 -0
- /package/docs/{Templates → templates}/Quality/UI-SPEC.md +0 -0
- /package/docs/{Templates → templates}/Quality/VALIDATION.md +0 -0
- /package/docs/{Templates → templates}/Quality/VERIFICATION-REPORT.md +0 -0
- /package/docs/{Templates → templates}/System/CONFIG.json +0 -0
- /package/docs/{Templates → templates}/System/CONTEXT.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/architecture.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/concerns.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/conventions.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/integrations.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/stack.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/structure.md +0 -0
- /package/docs/{Templates/Codebase → templates/codebase}/testing.md +0 -0
- /package/docs/{Templates/Research → templates/research}/ARCHITECTURE.md +0 -0
- /package/docs/{Templates/Research → templates/research}/FEATURES.md +0 -0
- /package/docs/{Templates/Research → templates/research}/PITFALLS.md +0 -0
- /package/docs/{Templates/Research → templates/research}/STACK.md +0 -0
- /package/docs/{Templates/Research → templates/research}/SUMMARY.md +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Auto-detect the current project state and execute the appropriate next step.
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Next Command
|
|
5
|
+
# Usage: /mindforge:next
|
|
6
|
+
|
|
7
|
+
Auto-detect the current project state and execute the appropriate next step.
|
|
8
|
+
The user does not need to know the workflow. MindForge figures it out.
|
|
9
|
+
|
|
10
|
+
## HANDOFF.json priority rule
|
|
11
|
+
Check HANDOFF.json BEFORE running the decision tree.
|
|
12
|
+
|
|
13
|
+
If HANDOFF.json exists AND `updated_at` is within 48 hours AND `next_task` is not null:
|
|
14
|
+
present the HANDOFF state first. Only run the decision tree if the user declines
|
|
15
|
+
or the HANDOFF.json is stale.
|
|
16
|
+
|
|
17
|
+
## State detection logic
|
|
18
|
+
|
|
19
|
+
Read STATE.md and HANDOFF.json. Then follow this decision tree:
|
|
20
|
+
|
|
21
|
+
### Decision tree
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
Does .planning/PROJECT.md exist AND have content?
|
|
25
|
+
NO → Run /mindforge:init-project
|
|
26
|
+
YES → Continue
|
|
27
|
+
|
|
28
|
+
Does .planning/ROADMAP.md exist AND have phases defined?
|
|
29
|
+
NO → Tell user: "Project is initialised but no phases are defined yet.
|
|
30
|
+
Describe what Phase 1 should accomplish and I'll plan it."
|
|
31
|
+
Then run /mindforge:plan-phase 1
|
|
32
|
+
YES → Continue
|
|
33
|
+
|
|
34
|
+
Read the phase status from STATE.md.
|
|
35
|
+
|
|
36
|
+
Does the current phase have plans? (check .planning/phases/[N]/PLAN-[N]-*.md)
|
|
37
|
+
NO → Run /mindforge:plan-phase [N]
|
|
38
|
+
YES → Continue
|
|
39
|
+
|
|
40
|
+
Do SUMMARY files exist for all plans in the current phase?
|
|
41
|
+
NO → Run /mindforge:execute-phase [N]
|
|
42
|
+
YES → Continue
|
|
43
|
+
|
|
44
|
+
Does VERIFICATION.md exist for the current phase?
|
|
45
|
+
NO → Run /mindforge:verify-phase [N] (automated part)
|
|
46
|
+
YES → Continue
|
|
47
|
+
|
|
48
|
+
Does UAT.md exist and show all tests passing?
|
|
49
|
+
NO → Run /mindforge:verify-phase [N] (UAT part)
|
|
50
|
+
YES → Continue
|
|
51
|
+
|
|
52
|
+
Is this phase marked as shipped in STATE.md?
|
|
53
|
+
NO → Run /mindforge:ship [N]
|
|
54
|
+
YES → Continue
|
|
55
|
+
|
|
56
|
+
Are there more phases in ROADMAP.md?
|
|
57
|
+
YES → Increment phase number. Run /mindforge:plan-phase [N+1]
|
|
58
|
+
NO → Tell user: "All phases complete! Run /mindforge:ship [N] for the final release."
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Partial phase execution handling
|
|
62
|
+
In the decision tree step "Do SUMMARY files exist for all plans?":
|
|
63
|
+
|
|
64
|
+
Do not treat this as binary. Check individually:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
PLAN-[N]-01.md exists? SUMMARY-[N]-01.md exists?
|
|
68
|
+
PLAN-[N]-02.md exists? SUMMARY-[N]-02.md exists?
|
|
69
|
+
PLAN-[N]-03.md exists? SUMMARY-[N]-03.md exists?
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
If some SUMMARY files exist and some don't: this is a partially-executed phase.
|
|
73
|
+
Report: "Phase [N] is partially executed: plans [X, Y] are done, [Z] is not."
|
|
74
|
+
Ask: "Resume execution from Plan [Z]? (yes/no)"
|
|
75
|
+
Do not restart the entire phase — resume from the first missing SUMMARY.
|
|
76
|
+
|
|
77
|
+
## Before auto-executing: always confirm
|
|
78
|
+
Before running any command automatically, tell the user:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
MindForge next step detected:
|
|
82
|
+
Current state : [description of current state]
|
|
83
|
+
Next action : [what will be run]
|
|
84
|
+
Command : /mindforge:[command] [args]
|
|
85
|
+
|
|
86
|
+
Run this now? (yes/no/different)
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
If user says "different": ask what they want to do instead.
|
|
90
|
+
If user says "yes": proceed with the detected command.
|
|
91
|
+
|
|
92
|
+
## Handling HANDOFF.json (session restart)
|
|
93
|
+
If HANDOFF.json has a `next_task` field from a previous session:
|
|
94
|
+
Present it prominently:
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
Previous session found:
|
|
98
|
+
Saved at : [updated_at from HANDOFF.json]
|
|
99
|
+
Left off : [last_completed_task]
|
|
100
|
+
Next task : [next_task]
|
|
101
|
+
|
|
102
|
+
Options:
|
|
103
|
+
1. Continue from where we left off
|
|
104
|
+
2. Check current state and determine next step fresh
|
|
105
|
+
3. Tell me what you want to do
|
|
106
|
+
|
|
107
|
+
Choose 1, 2, or 3:
|
|
108
|
+
```
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Capture an idea, task, or issue that surfaces during a session as a quick note for later
|
|
3
|
+
---
|
|
4
|
+
<objective>
|
|
5
|
+
Provide a zero-friction way to capture ephemeral thoughts, bugs, or todos during an active session without interrupting the current flow, with the ability to later promote them to official tasks.
|
|
6
|
+
</objective>
|
|
7
|
+
|
|
8
|
+
<execution_context>
|
|
9
|
+
.claude/commands/mindforge/note.md
|
|
10
|
+
</execution_context>
|
|
11
|
+
|
|
12
|
+
<context>
|
|
13
|
+
Arguments: $ARGUMENTS (The note text or subcommand like `list` or `promote`)
|
|
14
|
+
Storage: .planning/notes/
|
|
15
|
+
Target for Promotion: ROADMAP.md or STATE.md
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Route Subcommand**:
|
|
20
|
+
- If `list`: Read all files in `.planning/notes/` and present them.
|
|
21
|
+
- If `promote <N>`: Read note N, add it to current phase/milestone in STATE.md or ROADMAP.md, then move the note to `.planning/notes/archived/`.
|
|
22
|
+
- Else (default): Capture the text.
|
|
23
|
+
2. **Capture Flow**:
|
|
24
|
+
- Ensure `.planning/notes/` directory.
|
|
25
|
+
- Create a file `note_[timestamp].md` with the content.
|
|
26
|
+
3. **Confirm**: Quick confirmation of capture or promotion result.
|
|
27
|
+
</process>
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Plan a project phase. Usage: /mindforge:plan-phase [N]
|
|
3
|
+
---
|
|
4
|
+
Plan a project phase. Usage: /mindforge:plan-phase [N]
|
|
5
|
+
|
|
6
|
+
## Pre-check
|
|
7
|
+
If N is not given, read STATE.md for the current phase number and increment by 1.
|
|
8
|
+
Read PROJECT.md, REQUIREMENTS.md, ARCHITECTURE.md, and STATE.md before proceeding.
|
|
9
|
+
|
|
10
|
+
## Pre-read (before any questions or planning)
|
|
11
|
+
|
|
12
|
+
Read these files in order:
|
|
13
|
+
1. `.planning/PROJECT.md`
|
|
14
|
+
2. `.planning/REQUIREMENTS.md`
|
|
15
|
+
3. `.planning/ARCHITECTURE.md`
|
|
16
|
+
4. `.planning/STATE.md`
|
|
17
|
+
5. `.planning/phases/phase-[N]/CONTEXT.md` (if it exists)
|
|
18
|
+
|
|
19
|
+
### If CONTEXT.md exists for phase [N]:
|
|
20
|
+
This means `/mindforge:discuss-phase [N]` was already run.
|
|
21
|
+
The user's implementation decisions are already captured.
|
|
22
|
+
DO NOT re-ask questions that CONTEXT.md already answers.
|
|
23
|
+
Read CONTEXT.md completely before asking any clarifying questions.
|
|
24
|
+
Report: "I've read the phase discussion context. [N] decisions were captured.
|
|
25
|
+
Planning will follow these decisions."
|
|
26
|
+
|
|
27
|
+
### If CONTEXT.md has open questions:
|
|
28
|
+
Read the "Open questions" section in CONTEXT.md.
|
|
29
|
+
Present unresolved questions to the user NOW, before planning begins.
|
|
30
|
+
Do not create plans that assume answers to open questions without confirming first.
|
|
31
|
+
|
|
32
|
+
### If CONTEXT.md does NOT exist for phase [N]:
|
|
33
|
+
Proceed normally with the discussion → planning flow.
|
|
34
|
+
|
|
35
|
+
## Step 1 — Discuss phase scope
|
|
36
|
+
Ask:
|
|
37
|
+
1. "Describe what Phase [N] should accomplish. 2-3 sentences."
|
|
38
|
+
2. "Have you already made any implementation decisions for this phase?
|
|
39
|
+
(libraries, patterns, approaches) If yes, list them."
|
|
40
|
+
3. "Are there any constraints I should know about?
|
|
41
|
+
(deadlines, dependencies on other teams, tech limitations)"
|
|
42
|
+
|
|
43
|
+
Write answers to `.planning/phases/phase-[N]/CONTEXT.md`.
|
|
44
|
+
|
|
45
|
+
If `.planning/phases/phase-[N]/CONTEXT.md` already exists:
|
|
46
|
+
1. Read it first.
|
|
47
|
+
2. If it has "Open questions", ask the user to resolve them before planning.
|
|
48
|
+
3. Update CONTEXT.md with the answers and mark those questions as resolved.
|
|
49
|
+
|
|
50
|
+
### If CONTEXT.md exists — skip already-answered questions
|
|
51
|
+
Only ask about areas NOT covered in CONTEXT.md.
|
|
52
|
+
Example: if CONTEXT.md captures the layout decision, do not ask "What layout do you want?"
|
|
53
|
+
Respect the prior discussion. Build on it. Do not repeat it.
|
|
54
|
+
|
|
55
|
+
## Step 2 — Domain research (spawn subagent)
|
|
56
|
+
Spawn a research subagent with this context only:
|
|
57
|
+
- The tech stack from PROJECT.md
|
|
58
|
+
- The phase scope from CONTEXT.md
|
|
59
|
+
- CONVENTIONS.md
|
|
60
|
+
|
|
61
|
+
Instruct it to investigate:
|
|
62
|
+
1. Best available libraries for this phase's requirements (with version numbers)
|
|
63
|
+
2. Common pitfalls and anti-patterns for this tech domain
|
|
64
|
+
3. Relevant architectural patterns (with tradeoffs)
|
|
65
|
+
4. Any known security considerations specific to this domain
|
|
66
|
+
|
|
67
|
+
Write findings to `.planning/phases/phase-[N]/RESEARCH.md`.
|
|
68
|
+
|
|
69
|
+
## Step 3 — Create atomic task plans
|
|
70
|
+
Based on CONTEXT.md and RESEARCH.md, create 3-6 PLAN files.
|
|
71
|
+
Each plan must be completable in a single fresh context window.
|
|
72
|
+
Each plan targets specific files — no plan should touch more than 6 files.
|
|
73
|
+
|
|
74
|
+
File naming: `.planning/phases/phase-[N]/PLAN-[N]-[NN].md`
|
|
75
|
+
Example: `.planning/phases/1/PLAN-1-01.md`
|
|
76
|
+
|
|
77
|
+
Each plan uses this XML format:
|
|
78
|
+
|
|
79
|
+
```xml
|
|
80
|
+
<task type="auto">
|
|
81
|
+
<n>Short descriptive task name</n>
|
|
82
|
+
<persona>developer</persona>
|
|
83
|
+
<phase>[N]</phase>
|
|
84
|
+
<plan>[NN]</plan>
|
|
85
|
+
<dependencies>List any PLAN files that must complete before this one, or "none"</dependencies>
|
|
86
|
+
<files>
|
|
87
|
+
src/exact/file/path.ts
|
|
88
|
+
src/another/file.ts
|
|
89
|
+
</files>
|
|
90
|
+
<context>
|
|
91
|
+
Relevant decisions from ARCHITECTURE.md:
|
|
92
|
+
- [decision]
|
|
93
|
+
Skills to load before starting:
|
|
94
|
+
- [skill name if applicable, or "none"]
|
|
95
|
+
</context>
|
|
96
|
+
<action>
|
|
97
|
+
Precise implementation instructions.
|
|
98
|
+
Include exact library names and versions.
|
|
99
|
+
Include the approach, not just the goal.
|
|
100
|
+
Include specific anti-patterns to avoid.
|
|
101
|
+
</action>
|
|
102
|
+
<verify>
|
|
103
|
+
[Exact runnable command or check]
|
|
104
|
+
Example: curl -X POST localhost:3000/api/auth/login -d '{"email":"test@test.com","password":"test"}' | jq .status
|
|
105
|
+
Must produce a deterministic pass/fail result.
|
|
106
|
+
</verify>
|
|
107
|
+
<done>One sentence definition of done.</done>
|
|
108
|
+
</task>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Step 4 — Validate plans
|
|
112
|
+
Check every plan against REQUIREMENTS.md:
|
|
113
|
+
- Does this plan implement anything out of scope? If yes: revise.
|
|
114
|
+
- Does this plan contradict ARCHITECTURE.md? If yes: create an ADR first.
|
|
115
|
+
- Is the `<verify>` step actually runnable? If no: rewrite it.
|
|
116
|
+
|
|
117
|
+
## Step 5 — Update state and confirm
|
|
118
|
+
Update STATE.md: current phase = N, status = "Phase N planned, ready to execute".
|
|
119
|
+
|
|
120
|
+
Tell the user:
|
|
121
|
+
"✅ Phase [N] planned. [X] task plans created.
|
|
122
|
+
|
|
123
|
+
Plans:
|
|
124
|
+
PLAN-[N]-01: [task name]
|
|
125
|
+
PLAN-[N]-02: [task name]
|
|
126
|
+
...
|
|
127
|
+
|
|
128
|
+
Run /mindforge:execute-phase [N] to begin execution."
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Capture speculative ideas with triggers that surface automatically when relevant
|
|
3
|
+
---
|
|
4
|
+
<objective>
|
|
5
|
+
Capture speculative or long-term ideas (seeds) and store them in a way that they can be automatically resurfaced when a relevant future milestone or phase is started.
|
|
6
|
+
</objective>
|
|
7
|
+
|
|
8
|
+
<execution_context>
|
|
9
|
+
.claude/commands/mindforge/plant-seed.md
|
|
10
|
+
</execution_context>
|
|
11
|
+
|
|
12
|
+
<context>
|
|
13
|
+
Arguments: $ARGUMENTS (The speculative idea)
|
|
14
|
+
Storage: .planning/seeds/
|
|
15
|
+
Trigger mechanism: Files in this directory are checked during `init-project` or `milestone` creation.
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
1. **Ensure storage**: Verify `.planning/seeds/` exists; create if not.
|
|
20
|
+
2. **Generate filename**: Create a slugified filename based on the idea or a timestamp.
|
|
21
|
+
3. **Write seed**: Create a markdown file with the idea, any inferred triggers (tags/keywords), and the current timestamp.
|
|
22
|
+
4. **Link to system**: Add a note to the master seed index if one exists.
|
|
23
|
+
5. **Confirm**: Let the user know the seed has been planted and what might trigger its resurrection.
|
|
24
|
+
</process>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Read PLUGINS-MANIFEST.md. Display installed plugins with version and permissions.
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Plugins Command
|
|
5
|
+
# Usage: /mindforge:plugins [list|install|uninstall|info|validate|create] [name]
|
|
6
|
+
|
|
7
|
+
## list
|
|
8
|
+
Read PLUGINS-MANIFEST.md. Display installed plugins with version and permissions.
|
|
9
|
+
If no plugins: "No plugins installed. Find plugins: npm search mindforge-plugin"
|
|
10
|
+
|
|
11
|
+
## install [plugin-name]
|
|
12
|
+
Full installation protocol per plugin-loader.md:
|
|
13
|
+
1. Resolve package: `mindforge-plugin-[name]` convention
|
|
14
|
+
2. Download to chmod 700 temp directory
|
|
15
|
+
3. Validate plugin.json manifest
|
|
16
|
+
4. Check plugin_api_version compatibility (1.0.0 required)
|
|
17
|
+
5. Run injection guard on ALL .md files in the plugin
|
|
18
|
+
6. Run Level 1 + 2 skill validation on all SKILL.md files
|
|
19
|
+
7. Display permission list for user approval:
|
|
20
|
+
```
|
|
21
|
+
Plugin: mindforge-plugin-jira-advanced v1.0.0
|
|
22
|
+
Requests these permissions:
|
|
23
|
+
• read_audit_log: read AUDIT.jsonl ✅ (safe)
|
|
24
|
+
• write_audit_log: append to AUDIT.jsonl ⚠️
|
|
25
|
+
• network_access: make HTTP requests ⚠️
|
|
26
|
+
Install? (yes/no)
|
|
27
|
+
```
|
|
28
|
+
8. Install components (commands, skills, personas, hooks)
|
|
29
|
+
9. Add to PLUGINS-MANIFEST.md
|
|
30
|
+
10. Write AUDIT entry
|
|
31
|
+
|
|
32
|
+
## uninstall [plugin-name]
|
|
33
|
+
Remove all installed components. Update PLUGINS-MANIFEST.md.
|
|
34
|
+
Confirm: "This will remove [N] commands, [N] skills from this plugin."
|
|
35
|
+
|
|
36
|
+
## info [plugin-name]
|
|
37
|
+
Display: version, description, author, permissions, commands, skills, personas, hooks.
|
|
38
|
+
|
|
39
|
+
## validate
|
|
40
|
+
Validate all installed plugins for compatibility, injection safety, permission scope.
|
|
41
|
+
|
|
42
|
+
## create [plugin-name]
|
|
43
|
+
Generate a plugin scaffold:
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the AI PR review engine on a pull request diff.
|
|
3
|
+
---
|
|
4
|
+
# MindForge — PR Review Command
|
|
5
|
+
# Usage: /mindforge:pr-review [--diff path] [--sha base..head] [--output github|json|markdown]
|
|
6
|
+
|
|
7
|
+
Run the AI PR review engine on a pull request diff.
|
|
8
|
+
|
|
9
|
+
Steps:
|
|
10
|
+
1. Determine diff source:
|
|
11
|
+
- `--diff path`: read diff from file
|
|
12
|
+
- `--sha base..head`: run `git diff base..head`
|
|
13
|
+
- Default: `git diff HEAD~1` (last commit) or `git diff --staged` (staged changes)
|
|
14
|
+
|
|
15
|
+
2. Load review context (per ai-reviewer.md):
|
|
16
|
+
- PROJECT.md, ARCHITECTURE.md, CONVENTIONS.md, SECURITY.md
|
|
17
|
+
- Current phase's CONTEXT.md (if in an active phase)
|
|
18
|
+
- Any active ADRs relevant to changed files
|
|
19
|
+
|
|
20
|
+
3. Detect change type and select review template:
|
|
21
|
+
- Auth/security changes → Security-focused review template
|
|
22
|
+
- Database migrations → Database migration review template
|
|
23
|
+
- API changes → API breaking change review template
|
|
24
|
+
- Default → Standard review template
|
|
25
|
+
|
|
26
|
+
4. Check API availability:
|
|
27
|
+
- ANTHROPIC_API_KEY set? If not: warn and skip AI review
|
|
28
|
+
- Check daily review limit (from ai-reviewer.md)
|
|
29
|
+
- Check cache: has this SHA been reviewed in the last 60 minutes?
|
|
30
|
+
|
|
31
|
+
5. Call Claude API (per ai-reviewer.md buildSystemPrompt + buildReviewPrompt)
|
|
32
|
+
- Handle errors gracefully — API unavailable is NOT a build failure
|
|
33
|
+
- Timeout: 60 seconds
|
|
34
|
+
|
|
35
|
+
6. Format output per --output flag:
|
|
36
|
+
- github: GitHub-flavoured markdown for PR comment
|
|
37
|
+
- json: structured JSON with findings array
|
|
38
|
+
- markdown: standard markdown
|
|
39
|
+
|
|
40
|
+
7. Write to output:
|
|
41
|
+
- If in CI: write to /tmp/mindforge-review.md (read by GitHub Actions step)
|
|
42
|
+
- If interactive: display to user
|
|
43
|
+
|
|
44
|
+
8. Write AUDIT entry
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate and maintain team/developer profiles for response personalization.
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Profile Team Command
|
|
5
|
+
# Usage: /mindforge:profile-team [--refresh] [--developer email] [--questionnaire]
|
|
6
|
+
|
|
7
|
+
Generate and maintain team/developer profiles for response personalization.
|
|
8
|
+
|
|
9
|
+
## Data sources
|
|
10
|
+
1. Declared questionnaire preferences
|
|
11
|
+
2. Inferred patterns from AUDIT + git history + metrics
|
|
12
|
+
3. Defaults from org conventions
|
|
13
|
+
|
|
14
|
+
## Outputs
|
|
15
|
+
- `.mindforge/team/TEAM-PROFILE.md`
|
|
16
|
+
- `.mindforge/team/profiles/PROFILE-[dev-id].md`
|
|
17
|
+
|
|
18
|
+
## Modes
|
|
19
|
+
- `--refresh`: inference-only update
|
|
20
|
+
- `--developer`: target one developer profile
|
|
21
|
+
- `--questionnaire`: prompt preference questions before writing
|
|
22
|
+
|
|
23
|
+
## AUDIT
|
|
24
|
+
```json
|
|
25
|
+
{ "event": "team_profile_updated", "developers_profiled": 1, "method": "inferred" }
|
|
26
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Publish a skill to the npm registry (or private registry).
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Publish Skill Command
|
|
5
|
+
# Usage: /mindforge:publish-skill [skill-dir] [--registry URL] [--dry-run]
|
|
6
|
+
|
|
7
|
+
Publish a skill to the npm registry (or private registry).
|
|
8
|
+
|
|
9
|
+
Pre-publication checklist:
|
|
10
|
+
1. Run full skill validation (Level 1 + 2 + 3 from skill-validator.md)
|
|
11
|
+
Fail if Level 1 or 2 fails. Warn if Level 3 fails.
|
|
12
|
+
2. Verify package.json has `mindforge` field with all required sub-fields
|
|
13
|
+
3. Verify CHANGELOG.md has an entry for the current version
|
|
14
|
+
4. Check if version already published: `npm info [package-name]@[version]`
|
|
15
|
+
If already published: error "Version already exists. Bump the version."
|
|
16
|
+
5. Run `npm pack --dry-run` to preview what will be published
|
|
17
|
+
6. Confirm with user: "These files will be published: [list]. Proceed? (yes/no)"
|
|
18
|
+
7. If --dry-run: stop here, show preview only
|
|
19
|
+
8. Publish: `npm publish --access public`
|
|
20
|
+
9. Verify: `npm info [package-name]@[version]` — confirm publication succeeded
|
|
21
|
+
10. Write AUDIT: `{ "event": "skill_published", "package": "...", "version": "..." }`
|
|
22
|
+
11. Report: "✅ [package-name]@[version] published to npm registry"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: @mindforge qa [--phase N] [--auto]
|
|
3
|
+
---
|
|
4
|
+
# /mindforge:qa
|
|
5
|
+
|
|
6
|
+
## Usage
|
|
7
|
+
`@mindforge qa [--phase N] [--auto]`
|
|
8
|
+
|
|
9
|
+
## Description
|
|
10
|
+
Runs systematic visual QA on UI surfaces changed in the current phase.
|
|
11
|
+
Analyzes git diff to find pages, navigates to them, and looks for errors.
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
- `--phase N`: Target specific phase for reporting (defaults to current).
|
|
15
|
+
- `--auto`: Automatically run after successful wave execution if configured.
|
|
16
|
+
|
|
17
|
+
## Output
|
|
18
|
+
- `QA-REPORT-[N].md`: Found bugs with screenshots.
|
|
19
|
+
- `tests/regression/*.test.ts`: Playwright tests to prevent bug recurrence.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Use QUICK for:
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Quick Command
|
|
5
|
+
# Usage: /mindforge:quick [--research] [--review] [--full]
|
|
6
|
+
# For ad-hoc tasks that don't need full lifecycle management.
|
|
7
|
+
|
|
8
|
+
## When to use quick vs plan-phase
|
|
9
|
+
Use QUICK for:
|
|
10
|
+
- Bug fixes not tied to a current phase
|
|
11
|
+
- Small improvements (< 3 files, < 2 hours)
|
|
12
|
+
- Dependency updates
|
|
13
|
+
- Documentation corrections
|
|
14
|
+
- One-off scripts or utilities
|
|
15
|
+
|
|
16
|
+
Use PLAN-PHASE for:
|
|
17
|
+
- Feature development
|
|
18
|
+
- Anything touching more than 6 files
|
|
19
|
+
- Anything requiring research before implementation
|
|
20
|
+
- Anything with external dependencies or stakeholder requirements
|
|
21
|
+
|
|
22
|
+
## Step 1 — Task intake
|
|
23
|
+
|
|
24
|
+
Ask the user:
|
|
25
|
+
"What do you want to do?"
|
|
26
|
+
|
|
27
|
+
Listen to the description. If the task sounds larger than "quick" scope
|
|
28
|
+
(more than 6 files, architectural change, new feature), say:
|
|
29
|
+
"This sounds like more than a quick task. I recommend using /mindforge:plan-phase
|
|
30
|
+
instead to ensure it's properly planned and verified. Want to proceed with quick anyway?"
|
|
31
|
+
|
|
32
|
+
## Step 2 — Optional research (--research flag or user requests it)
|
|
33
|
+
|
|
34
|
+
If `--research` is provided or the task involves unfamiliar libraries:
|
|
35
|
+
Spawn a focused research subagent. Give it:
|
|
36
|
+
- The task description
|
|
37
|
+
- The current tech stack from PROJECT.md
|
|
38
|
+
Ask it to: investigate the best approach, identify gotchas, recommend specific
|
|
39
|
+
libraries (with versions), and write a brief research note.
|
|
40
|
+
|
|
41
|
+
Report research findings to the user before proceeding.
|
|
42
|
+
|
|
43
|
+
## Step 3 — Create a quick plan
|
|
44
|
+
|
|
45
|
+
### Sequential quick task numbering
|
|
46
|
+
Determine the next quick task number by scanning `.planning/quick/`:
|
|
47
|
+
1. List directories matching `[0-9][0-9][0-9]-*`
|
|
48
|
+
2. Take the max numeric prefix and add 1 (start at 001 if none exist)
|
|
49
|
+
3. If a directory already exists for the chosen number, require `--force` to proceed
|
|
50
|
+
|
|
51
|
+
Create `.planning/quick/[NNN]-[slug]/PLAN.md` where NNN is a sequential number
|
|
52
|
+
and slug is a 2-4 word kebab-case description.
|
|
53
|
+
|
|
54
|
+
Example: `.planning/quick/001-fix-login-null-check/PLAN.md`
|
|
55
|
+
|
|
56
|
+
Use the standard XML plan format:
|
|
57
|
+
```xml
|
|
58
|
+
<task type="quick">
|
|
59
|
+
<n>[task name]</n>
|
|
60
|
+
<persona>[appropriate persona]</persona>
|
|
61
|
+
<files>[files to touch]</files>
|
|
62
|
+
<context>[relevant context]</context>
|
|
63
|
+
<action>[implementation instructions]</action>
|
|
64
|
+
<verify>[verification command]</verify>
|
|
65
|
+
<done>[definition of done]</done>
|
|
66
|
+
</task>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Show the plan to the user. Wait for approval before executing.
|
|
70
|
+
|
|
71
|
+
## Step 4 — Execute the quick plan
|
|
72
|
+
|
|
73
|
+
### Security auto-trigger (mandatory)
|
|
74
|
+
Before execution, scan the task description and files for security keywords:
|
|
75
|
+
auth, authentication, login, password, token, JWT, session, payment, PII, upload,
|
|
76
|
+
credential, secret, key.
|
|
77
|
+
|
|
78
|
+
If any keyword matches: load `security-review/SKILL.md` and activate
|
|
79
|
+
`security-reviewer.md` persona for the implementation. This is required even
|
|
80
|
+
without the `--full` flag.
|
|
81
|
+
|
|
82
|
+
1. Load persona from `.mindforge/personas/`
|
|
83
|
+
2. Load any relevant skills based on task keywords
|
|
84
|
+
3. Execute the plan
|
|
85
|
+
4. Run `<verify>` — must pass before committing
|
|
86
|
+
5. Commit: `[type](quick/[NNN]): [task name]`
|
|
87
|
+
6. Write `.planning/quick/[NNN]-[slug]/SUMMARY.md`
|
|
88
|
+
|
|
89
|
+
### STATE.md update policy
|
|
90
|
+
Quick tasks do not change phase status. If there is no active phase, note the
|
|
91
|
+
quick task completion in STATE.md under "Last completed task".
|
|
92
|
+
|
|
93
|
+
## Step 5 — Optional review (--review flag)
|
|
94
|
+
|
|
95
|
+
If `--review` is provided:
|
|
96
|
+
Activate `code-quality.md` skill on the diff.
|
|
97
|
+
Report any issues before committing.
|
|
98
|
+
If BLOCKING issues found: fix before commit.
|
|
99
|
+
|
|
100
|
+
## Step 6 — Optional full mode (--full flag)
|
|
101
|
+
|
|
102
|
+
If `--full` is provided, additionally:
|
|
103
|
+
- Run the project's full test suite (not just task-specific verify)
|
|
104
|
+
- Run the type checker and linter
|
|
105
|
+
- Activate `security-reviewer.md` if the task touches any security-sensitive code
|
|
106
|
+
- Write an AUDIT entry for the quick task
|
|
107
|
+
|
|
108
|
+
## Linting always runs
|
|
109
|
+
Regardless of flags, after every quick task execution:
|
|
110
|
+
1. Run the project's linter (from CONVENTIONS.md — check which linter applies)
|
|
111
|
+
2. If lint errors found: fix them before committing.
|
|
112
|
+
3. Linting is not part of `--full` — it is always part of quick.
|
|
113
|
+
|
|
114
|
+
## Flags are composable
|
|
115
|
+
```
|
|
116
|
+
/mindforge:quick # minimal — task, plan, execute
|
|
117
|
+
/mindforge:quick --research # adds domain research step
|
|
118
|
+
/mindforge:quick --review # adds code quality review of diff
|
|
119
|
+
/mindforge:quick --full # adds full test suite + linting + security
|
|
120
|
+
/mindforge:quick --research --full # all of the above
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## AUDIT entry for quick tasks
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"id": "uuid",
|
|
127
|
+
"timestamp": "ISO-8601",
|
|
128
|
+
"event": "quick_task_completed",
|
|
129
|
+
"agent": "mindforge-orchestrator",
|
|
130
|
+
"phase": null,
|
|
131
|
+
"session_id": "sess_abc",
|
|
132
|
+
"quick_id": "001",
|
|
133
|
+
"task_name": "Fix login null check",
|
|
134
|
+
"commit_sha": "abc1234",
|
|
135
|
+
"files_changed": ["src/auth/login.ts"],
|
|
136
|
+
"flags_used": ["--review"]
|
|
137
|
+
}
|
|
138
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Execute the complete MindForge v1.0.0 (or any version) release pipeline.
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Release Command
|
|
5
|
+
# Usage: /mindforge:release [--version X.Y.Z] [--dry-run] [--checklist-only]
|
|
6
|
+
# ⚠️ This command is for releasing the MindForge framework itself.
|
|
7
|
+
# For releasing your project phases, use /mindforge:ship instead.
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
Execute the complete MindForge v1.0.0 (or any version) release pipeline.
|
|
11
|
+
Intended for the MindForge core team.
|
|
12
|
+
|
|
13
|
+
## Gate: Production Readiness Checklist
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Manage the MindForge long-term memory (knowledge graph).
|
|
3
|
+
---
|
|
4
|
+
# /mindforge:remember
|
|
5
|
+
|
|
6
|
+
Manage the MindForge long-term memory (knowledge graph).
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
- Add an entry:
|
|
11
|
+
```bash
|
|
12
|
+
node bin/mindforge-cli.js remember --add "Your knowledge" --topic "Title"
|
|
13
|
+
```
|
|
14
|
+
- Search memories:
|
|
15
|
+
```bash
|
|
16
|
+
node bin/mindforge-cli.js remember --search "query" --global
|
|
17
|
+
```
|
|
18
|
+
- View statistics:
|
|
19
|
+
```bash
|
|
20
|
+
node bin/mindforge-cli.js remember --stats
|
|
21
|
+
```
|
|
22
|
+
- Promote to global:
|
|
23
|
+
```bash
|
|
24
|
+
node bin/mindforge-cli.js remember --promote "id"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Description
|
|
28
|
+
|
|
29
|
+
MindForge capture, stores, and retrieves knowledge (architectural decisions, code patterns, team preferences) across all sessions and projects. This command allows for manual management and querying of this data.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Deep research using Gemini 1.5 Pro's 1-million-token context window.
|
|
3
|
+
---
|
|
4
|
+
# MindForge v2 — Research Command
|
|
5
|
+
# Usage: /mindforge:research [topic] [--type general|library|codebase|compliance] [--url URL]
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
Deep research using Gemini 1.5 Pro's 1-million-token context window.
|
|
9
|
+
Uses **Context7 MCP** as the primary engine for real-time documentation and code example retrieval.
|
|
10
|
+
|
|
11
|
+
## Capabilities
|
|
12
|
+
- Ingest full library documentation via Context7.
|
|
13
|
+
- Codebase-wide architectural analysis.
|
|
14
|
+
- Regulatory compliance audits.
|
|
15
|
+
- Real-time resolution of version-specific API contracts.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Facilitate a structured retrospective with objective metrics + qualitative insights.
|
|
3
|
+
---
|
|
4
|
+
# MindForge — Retrospective Command
|
|
5
|
+
# Usage: /mindforge:retrospective [phase N|milestone M] [--template agile|4ls|starfish]
|
|
6
|
+
|
|
7
|
+
Facilitate a structured retrospective with objective metrics + qualitative insights.
|
|
8
|
+
|
|
9
|
+
## Workflow
|
|
10
|
+
1. Gather quantitative signals (tasks, verify pass rate, findings, UAT, approvals).
|
|
11
|
+
2. Run structured discussion by template.
|
|
12
|
+
3. Write retrospective artifact in `.planning/phases/...` or `.planning/milestones/...`.
|
|
13
|
+
4. Create follow-up tasks/tickets for action items.
|
|
14
|
+
5. Update metrics with retrospective-completed event.
|
|
15
|
+
|
|
16
|
+
## Step 5 — Apply learnings to MINDFORGE.md
|
|
17
|
+
Ask explicitly:
|
|
18
|
+
`Based on this retrospective, should we update MINDFORGE.md to improve future phases?`
|
|
19
|
+
|
|
20
|
+
If yes:
|
|
21
|
+
- propose exact config changes
|
|
22
|
+
- apply only after confirmation
|
|
23
|
+
- commit with clear rationale
|
|
24
|
+
|
|
25
|
+
Common mappings:
|
|
26
|
+
- vague plans -> lower discuss threshold / enable auto-discuss
|
|
27
|
+
- low verify pass rate -> lower max tasks per phase
|
|
28
|
+
- rising security findings -> force-load `security-review,data-privacy`
|
|
29
|
+
- frequent compaction pressure -> lower compaction threshold
|