mindforge-cc 2.0.0 → 2.1.0
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/mindforge/add-backlog.md +32 -0
- package/.agent/mindforge/agent.md +31 -0
- package/.agent/mindforge/do.md +31 -0
- package/.agent/mindforge/note.md +35 -0
- package/.agent/mindforge/plant-seed.md +31 -0
- package/.agent/mindforge/review-backlog.md +34 -0
- package/.agent/mindforge/session-report.md +39 -0
- 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/.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 +108 -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/browser-daemon.log +32 -0
- package/CHANGELOG.md +26 -0
- package/MINDFORGE.md +2 -0
- package/README.md +38 -1
- package/bin/installer-core.js +3 -4
- package/docs/Context/Master-Context.md +6 -13
- package/docs/PERSONAS.md +611 -0
- package/docs/reference/commands.md +53 -43
- package/package.json +1 -1
|
@@ -1,141 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Total: 10 skills | Run /mindforge:skills validate to check health
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Subcommand: info
|
|
41
|
-
`/mindforge:skills info [skill-name]`
|
|
42
|
-
|
|
43
|
-
Display detailed information about a specific skill:
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
Skill: security-review
|
|
47
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
48
|
-
Version : 1.0.0
|
|
49
|
-
Status : stable
|
|
50
|
-
Tier : 1 (Core)
|
|
51
|
-
Min MindForge: 0.1.0
|
|
52
|
-
Path : .mindforge/skills/security-review/SKILL.md
|
|
53
|
-
|
|
54
|
-
Triggers (25):
|
|
55
|
-
auth, authentication, authorisation, authorization, login,
|
|
56
|
-
logout, password, token, JWT, session, cookie, OAuth,
|
|
57
|
-
payment, billing, stripe, PII, GDPR, personal data,
|
|
58
|
-
upload, file upload, credentials, API key, secret, env,
|
|
59
|
-
environment variable, encryption, hashing, bcrypt, argon2
|
|
60
|
-
|
|
61
|
-
Changelog:
|
|
62
|
-
1.0.0 — Initial stable release
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Subcommand: search
|
|
66
|
-
`/mindforge:skills search [keyword]`
|
|
67
|
-
|
|
68
|
-
Find which skills would activate for a given keyword:
|
|
69
|
-
|
|
70
|
-
```
|
|
71
|
-
/mindforge:skills search "database query"
|
|
72
|
-
|
|
73
|
-
Matching skills for "database query":
|
|
74
|
-
────────────────────────────────────────────────────────────
|
|
75
|
-
database-patterns v1.0.0 [tier 1] trigger: "database", "query"
|
|
76
|
-
performance v1.0.0 [tier 1] trigger: "query time"
|
|
77
|
-
|
|
78
|
-
These 2 skills would be automatically loaded for a task
|
|
79
|
-
containing "database query" in its description.
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
## Subcommand: validate
|
|
83
|
-
`/mindforge:skills validate`
|
|
84
|
-
|
|
85
|
-
Run a health check on all installed skills:
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
Validating skills...
|
|
89
|
-
|
|
90
|
-
✅ security-review — frontmatter valid, file readable, triggers: 29
|
|
91
|
-
✅ code-quality — frontmatter valid, file readable, triggers: 14
|
|
92
|
-
✅ performance — frontmatter valid, file readable, triggers: 31
|
|
93
|
-
⚠️ [org-skill-name] — frontmatter valid but missing 'version' field
|
|
94
|
-
❌ [missing-skill] — listed in MANIFEST.md but file not found
|
|
95
|
-
|
|
96
|
-
Issues found: 2
|
|
97
|
-
Run /mindforge:skills add to fix missing skills.
|
|
98
|
-
Fix frontmatter issues manually in the SKILL.md file.
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
Validation checks:
|
|
102
|
-
1. Every manifest entry has a corresponding SKILL.md file
|
|
103
|
-
2. Every SKILL.md has: `name`, `version`, `status`, `triggers` in frontmatter
|
|
104
|
-
3. Every SKILL.md has a self-check or checklist section
|
|
105
|
-
4. All versions are valid semver strings
|
|
106
|
-
5. No two skills at the same tier share the same trigger keyword (flag as ⚠️)
|
|
107
|
-
6. Every skill file is readable (not empty, not corrupted)
|
|
108
|
-
|
|
109
|
-
## Subcommand: add
|
|
110
|
-
`/mindforge:skills add [path-to-skill-dir]`
|
|
111
|
-
|
|
112
|
-
Register a new skill in the manifest:
|
|
113
|
-
|
|
114
|
-
1. Read the SKILL.md in the provided path
|
|
115
|
-
2. Validate the frontmatter (all required fields present)
|
|
116
|
-
3. Check for trigger keyword conflicts with existing skills
|
|
117
|
-
4. Ask the user: "Which tier should this skill be registered as? (2=Org / 3=Project)"
|
|
118
|
-
5. Show the exact MANIFEST.md entry that will be written and ask for confirmation
|
|
119
|
-
6. Add the entry to MANIFEST.md in the correct section
|
|
120
|
-
7. Run `/mindforge:skills validate` to confirm registration is clean
|
|
121
|
-
8. Commit: `feat(skills): register [skill-name] v[version] as tier [N] skill`
|
|
122
|
-
|
|
123
|
-
## Subcommand: update
|
|
124
|
-
`/mindforge:skills update [skill-name]`
|
|
125
|
-
|
|
126
|
-
Update a skill to a newer version:
|
|
127
|
-
|
|
128
|
-
1. Read current version from MANIFEST.md
|
|
129
|
-
2. Check the skill's changelog in SKILL.md for available updates
|
|
130
|
-
3. If MAJOR version change: show breaking changes, require confirmation
|
|
131
|
-
4. If MINOR or PATCH: update automatically
|
|
132
|
-
5. Update MANIFEST.md version entry
|
|
133
|
-
6. Run `/mindforge:skills validate` after update
|
|
134
|
-
7. Run `node tests/skills-platform.test.js` after update
|
|
135
|
-
8. Commit: `chore(skills): update [name] v[old] → v[new]`
|
|
136
|
-
|
|
137
|
-
## Error handling
|
|
138
|
-
- If MANIFEST.md does not exist: offer to create it with current skills
|
|
139
|
-
- If a skill name is not found: suggest similar names (fuzzy match)
|
|
140
|
-
- If validation finds critical errors: block any phase execution until fixed
|
|
141
|
-
(A skills validation failure is a BLOCKING issue)
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:skills
|
|
3
|
+
description: Manage the MindForge skills registry and validation status
|
|
4
|
+
argument-hint: [list|info|search|validate|add|update] [skill-name]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
- run_command
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Provide a centralized interface for managing, searching, and validating the project's skill registry, ensuring all automated knowledge is current, conflict-free, and healthy.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/skills.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Manifest: MANIFEST.md
|
|
22
|
+
Structure: Organized by Tier 1 (Core), Tier 2 (Org), and Tier 3 (Project).
|
|
23
|
+
Validation: Checks semver, required fields, trigger conflicts, and file accessibility.
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
1. **Route Subcommand**:
|
|
28
|
+
- `list`: Render a formatted table of all registered skills and their active versions.
|
|
29
|
+
- `info`: Display detail for a specific skill (triggers, changelog, status).
|
|
30
|
+
- `search`: Show which skills would activate for a specific query.
|
|
31
|
+
- `validate`: Audit the full registry for broken paths, invalid frontmatter, or trigger overlaps.
|
|
32
|
+
- `add`: Register a new skill directory, prompting for tier and confirming the manifest entry.
|
|
33
|
+
- `update`: Handle version bumps, showing breaking changes for major updates.
|
|
34
|
+
2. **Enforce Health**: If validation finds critical errors, block phase execution.
|
|
35
|
+
3. **Commit**: Automatically commit manifest changes with structured messages.
|
|
36
|
+
</process>
|
|
@@ -1,104 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
If VERIFICATION.md is missing for a phase: label it "In progress" not "0% verified".
|
|
32
|
-
|
|
33
|
-
### Section 3 — Requirements coverage
|
|
34
|
-
Read REQUIREMENTS.md and count:
|
|
35
|
-
- Total v1 requirements
|
|
36
|
-
- Requirements with a passing test (from VERIFICATION.md files)
|
|
37
|
-
- Requirements implemented but untested
|
|
38
|
-
- Requirements not yet started
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Requirements (v1)
|
|
42
|
-
───────────────────────────────────────────────────────
|
|
43
|
-
Total : [N]
|
|
44
|
-
✅ Done + tested : [N]
|
|
45
|
-
⚠️ Done, no test : [N]
|
|
46
|
-
🔴 Not started : [N]
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Section 4 — Recent activity (from AUDIT.jsonl)
|
|
50
|
-
Read the last 10 entries from AUDIT.jsonl and display:
|
|
51
|
-
```
|
|
52
|
-
Recent Activity
|
|
53
|
-
───────────────────────────────────────────────────────
|
|
54
|
-
[timestamp] task_completed Plan 03: User API endpoints ✅
|
|
55
|
-
[timestamp] task_completed Plan 02: Product model ✅
|
|
56
|
-
[timestamp] task_started Plan 03: User API endpoints
|
|
57
|
-
[timestamp] task_completed Plan 01: User model ✅
|
|
58
|
-
[timestamp] context_compaction Phase 2, Plan 03 (72% context)
|
|
59
|
-
```
|
|
60
|
-
If AUDIT.jsonl is empty or missing, display:
|
|
61
|
-
```
|
|
62
|
-
Recent Activity
|
|
63
|
-
───────────────────────────────────────────────────────
|
|
64
|
-
No activity logged yet. Activity will appear here
|
|
65
|
-
after running /mindforge:execute-phase.
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Section 5 — Open issues
|
|
69
|
-
Check for:
|
|
70
|
-
- Any open SECURITY-REVIEW files with CRITICAL or HIGH findings
|
|
71
|
-
- Any BUGS.md files with open issues
|
|
72
|
-
- Any failed tasks in WAVE-REPORT files
|
|
73
|
-
- Any blockers in STATE.md
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
Open Issues
|
|
77
|
-
───────────────────────────────────────────────────────
|
|
78
|
-
🔴 CRITICAL: [if any — from SECURITY-REVIEW]
|
|
79
|
-
🟠 HIGH: [if any]
|
|
80
|
-
✅ No open issues
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Section 6 — Next action
|
|
84
|
-
```
|
|
85
|
-
Next Action
|
|
86
|
-
───────────────────────────────────────────────────────
|
|
87
|
-
[What STATE.md says the next action is]
|
|
88
|
-
Run: /mindforge:next
|
|
89
|
-
to auto-execute the next step.
|
|
90
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## Data sources (in priority order)
|
|
94
|
-
1. STATE.md — authoritative for current status
|
|
95
|
-
2. AUDIT.jsonl — authoritative for history
|
|
96
|
-
3. REQUIREMENTS.md — authoritative for scope
|
|
97
|
-
4. VERIFICATION.md files — authoritative for test coverage
|
|
98
|
-
5. WAVE-REPORT files — authoritative for execution history
|
|
99
|
-
6. HANDOFF.json — authoritative for session state
|
|
100
|
-
|
|
101
|
-
## Performance notes
|
|
102
|
-
- For recent activity, read only the last 500 bytes of AUDIT.jsonl:
|
|
103
|
-
`tail -c 500 .planning/AUDIT.jsonl | [parse last complete JSON objects]`
|
|
104
|
-
- For requirement counts, count lines starting with `| FR-` instead of parsing the whole file.
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:status
|
|
3
|
+
description: Display a rich dashboard of the current project state
|
|
4
|
+
argument-hint: none
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
- run_command
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Provide a high-level visual summary of the project's health, progress, requirement coverage, and recent activity by synthesizing data from the `.planning/` directory.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/status.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Sources: STATE.md, AUDIT.jsonl, REQUIREMENTS.md, and phase directories.
|
|
21
|
+
Focus: Real-time visibility into phase completion and open issues.
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<process>
|
|
25
|
+
1. **Gather Phase Data**: Read `STATE.md` and calculate progress percentage for active/planned phases.
|
|
26
|
+
2. **Audit Requirements**: Count total, completed (verified), implemented (untested), and pending requirements from `REQUIREMENTS.md`.
|
|
27
|
+
3. **Extract Recent Activity**: Parse the last few entries of `AUDIT.jsonl` (using efficient tail read).
|
|
28
|
+
4. **Monitor Issues**: Check for critical security findings, open bugs, or execution blockers.
|
|
29
|
+
5. **Render Dashboard**: Display the multi-section summary including header, progress bars, requirement counts, and activity logs.
|
|
30
|
+
</process>
|
|
@@ -1,13 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:steer
|
|
3
|
+
description: Inject mid-execution guidance into the running autonomous engine
|
|
4
|
+
argument-hint: "[instruction]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- write_to_file
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
2
9
|
|
|
3
|
-
|
|
4
|
-
|
|
10
|
+
<objective>
|
|
11
|
+
Provide a mechanism for human course-correction during long-running autonomous waves, allowing the user to redirect the agent's focus or update constraints without stopping the process.
|
|
12
|
+
</objective>
|
|
5
13
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- `/mindforge:steer --cancel` (Clears the steering queue)
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/steer.md
|
|
16
|
+
</execution_context>
|
|
10
17
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
<context>
|
|
19
|
+
Lifecycle: Applied at the next task boundary in `/mindforge:auto` mode.
|
|
20
|
+
Priority: Steering takes precedence over the original `PLAN.md` instructions.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Queue Instruction**: Write the steering guidance to the active execution state.
|
|
25
|
+
2. **Target (Optional)**: Explicitly target a future task ID for modification.
|
|
26
|
+
3. **Validate**: Ensure steering does not violate core security or governance gates.
|
|
27
|
+
4. **Cancel**: Clear the steering queue if instructions are no longer relevant.
|
|
28
|
+
</process>
|
|
@@ -1,11 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:sync-confluence
|
|
3
|
+
description: Publish approved planning artifacts to Confluence
|
|
4
|
+
argument-hint: [--architecture] [--phase N] [--milestone name]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- run_command
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
---
|
|
3
10
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- never publish secrets, raw approval notes, or raw audit logs
|
|
8
|
-
- log success, skip, or failure to AUDIT
|
|
11
|
+
<objective>
|
|
12
|
+
Automate the publication of key project documentation and architectural decisions to Confluence, providing a durable and searchable record for the broader organization.
|
|
13
|
+
</objective>
|
|
9
14
|
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/sync-confluence.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Auth: Managed via `connection-manager.md`.
|
|
21
|
+
Exclusion: Secrets, raw logs, and PII are strictly filtered before publication.
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<process>
|
|
25
|
+
1. **Assemble Content**: Gather target artifacts (ARCHITECTURE.md, Phase Plans, Milestone reports).
|
|
26
|
+
2. **Filter & Sanitize**: Remove all sensitive data (passwords, tokens, raw audit trails).
|
|
27
|
+
3. **Publish**: Update existing pages or create new ones in the specified Confluence space.
|
|
28
|
+
4. **Indempotency**: Match pages by title or project-wide ID to avoid duplication.
|
|
29
|
+
5. **Audit**: Log publication success or skipped files.
|
|
30
|
+
</process>
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:sync-jira
|
|
3
|
+
description: Synchronize MindForge phase and plan metadata to Jira
|
|
4
|
+
argument-hint: [--phase N] [--plan M]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- run_command
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Maintain parity between local MindForge planning state and the enterprise Jira issue tracker, ensuring stakeholders have visibility into phase progress and task status.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/sync-jira.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Metadata: .planning/jira-sync.json
|
|
21
|
+
Auth: Managed via `connection-manager.md`.
|
|
22
|
+
Resilience: Failures are non-fatal; state is logged in `STATE.md` for retry.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
1. **Verify Connection**: Ensure Jira API availability and auth tokens are valid.
|
|
27
|
+
2. **Resolve Mappings**: Map Phase and Plan IDs to Jira Epics and Stories.
|
|
28
|
+
3. **Transition Issues**: Update Jira statuses based on verification results (e.g., Verified -> Done).
|
|
29
|
+
4. **Sync Content**: Push plan descriptions and requirements to the relevant Jira tickets.
|
|
30
|
+
5. **Preserve Manual Edits**: Avoid overwriting manual comments or fields in Jira.
|
|
31
|
+
6. **Audit**: Log the sync event with counts of updated and created tickets.
|
|
32
|
+
</process>
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:tokens
|
|
3
|
+
description: Analyze token consumption profile and efficiency
|
|
4
|
+
argument-hint: [--phase N] [--session ID] [--window short|medium|long] [--optimise]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- run_command
|
|
8
|
+
---
|
|
3
9
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
10
|
+
<objective>
|
|
11
|
+
Deeply analyze how tokens are being consumed across the project to identify waste, improve prompt efficiency, and optimize context budgeting.
|
|
12
|
+
</objective>
|
|
7
13
|
|
|
8
|
-
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/tokens.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Analysis Focus: Input vs Output tokens, cache hits/misses, compaction efficiency.
|
|
20
|
+
</context>
|
|
21
|
+
|
|
22
|
+
<process>
|
|
23
|
+
1. **Fetch Profiles**: Read token usage data for the specified scope.
|
|
24
|
+
2. **Identify Waste**: Detect large, repetitive context injections or missed cache opportunities.
|
|
25
|
+
3. **Optimization Advice**: If `--optimise` is set, provide specific recommendations (e.g., "Summarize ARCHITECTURE.md to save 2k tokens/session").
|
|
26
|
+
4. **Report**: Display the token consumption profile and efficiency score.
|
|
27
|
+
</process>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:ui-phase
|
|
3
|
+
description: Generate a UI Design Contract (UI-SPEC.md) for the current phase
|
|
4
|
+
argument-hint: [N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- write_to_file
|
|
8
|
+
- list_dir
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Generate a detailed UI design contract (UI-SPEC.md) for a frontend development phase to ensure consistent spacing, typography, color palettes, and accessibility standards before implementation.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/ui-phase.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Arguments: $ARGUMENTS (The phase number [N], optional)
|
|
21
|
+
Configuration: MINDFORGE.md `UI_PHASE_ACCESSIBILITY_STANDARD`
|
|
22
|
+
State: Resolves the phase from STATE.md if N is not provided.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
1. **Identify Phase**: Get the current or targeted phase number.
|
|
27
|
+
2. **Read Inputs**: Read `REQUIREMENTS.md` and `DESIGN_SYSTEM.md`.
|
|
28
|
+
3. **Generate UI-SPEC.md**:
|
|
29
|
+
- Define component-level spacing and layout for the phase.
|
|
30
|
+
- Specify required colors and typography from the design system.
|
|
31
|
+
- List accessibility requirements (WCAG level).
|
|
32
|
+
4. **Finalize**: Write `UI-SPEC.md` to the phase's planning directory or the root `.planning/`.
|
|
33
|
+
5. **Confirm**: Provide a link to the user for review.
|
|
34
|
+
</process>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:ui-review
|
|
3
|
+
description: Perform a retroactive visual audit of implemented UI against the DESIGN_SYSTEM.md and UI-SPEC.md
|
|
4
|
+
argument-hint: [N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- write_to_file
|
|
8
|
+
- read_browser_page
|
|
9
|
+
- open_browser_url
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Perform a retroactive, multi-pillar visual audit of implemented UI features against the defined Design System and UI-SPEC.md to ensure pixel-perfect fidelity and accessibility compliance.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/ui-review.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Arguments: $ARGUMENTS (The phase number [N], optional)
|
|
22
|
+
Sources: `DESIGN_SYSTEM.md`, `UI-SPEC.md`, and the live application UI.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
1. **Identify Target**: Determine the phase to review.
|
|
27
|
+
2. **Audit Application**:
|
|
28
|
+
- Use the browser tool to inspect the implemented features.
|
|
29
|
+
- Compare against the `UI-SPEC.md` for spacing, colors, and layout.
|
|
30
|
+
- Audit for accessibility (ARIA labels, contrast, keyboard navigation).
|
|
31
|
+
3. **Generate UI-REVIEW.md**:
|
|
32
|
+
- Grade each pillar (Layout, Color, Typography, etc.).
|
|
33
|
+
- List specific "Needs Work" items.
|
|
34
|
+
- Provide "Approved" status if all criteria are met.
|
|
35
|
+
4. **Finalize**: Notify the user of the audit results.
|
|
36
|
+
</process>
|
|
@@ -1,42 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
| Error | Recovery |
|
|
36
|
-
|---|---|
|
|
37
|
-
| npm registry unreachable | Message: "Check internet. Manual: npm info mindforge-cc version" |
|
|
38
|
-
| Update download fails | Retry once, then suggest manual: `npx mindforge-cc@latest` |
|
|
39
|
-
| Migration fails | Restored from backup automatically. Run /mindforge:migrate manually. |
|
|
40
|
-
| Install scope detection fails | Prompt user: "Is your install global or local?" |
|
|
41
|
-
|
|
42
|
-
## AUDIT entry
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:update
|
|
3
|
+
description: Safely check for and apply MindForge framework updates
|
|
4
|
+
argument-hint: [--apply] [--force] [--check] [--skip-changelog]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- run_command
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<objective>
|
|
12
|
+
Keep the project's MindForge installation up to date with the latest features, bug fixes, and security patches while ensuring no data loss or architectural regression.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/update.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Platform: bin/updater/self-update.js
|
|
21
|
+
Scope: Local vs. Global detection.
|
|
22
|
+
Security: Enforces schema migration during the update process.
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
1. **Check**: Query the registry for the latest version and compare with the current installation.
|
|
27
|
+
2. **Changelog**: Display relevant updates, highlighting **BREAKING CHANGES** for major versions.
|
|
28
|
+
3. **Pre-update State**: Capture the `schema_version` from HANDOFF.json.
|
|
29
|
+
4. **Apply**: If `--apply` is set, download and install the new version into the detected scope.
|
|
30
|
+
5. **Migrate**: Run `/mindforge:migrate` to reconcile the project schema with the new framework version.
|
|
31
|
+
6. **Verify**: Run `/mindforge:health` to confirm the update succeeded without introducing errors.
|
|
32
|
+
7. **Audit**: Log `update_completed` with the jump range (X.Y.Z -> A.B.C).
|
|
33
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:validate-phase
|
|
3
|
+
description: Audit the current phase for requirement coverage and test gaps
|
|
4
|
+
argument-hint: [N]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- list_dir
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Audit a completed project phase to ensure every requirement has been addressed and that corresponding automated tests have been implemented and are passing.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/validate-phase.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Arguments: $ARGUMENTS (The phase number [N], optional)
|
|
20
|
+
Knowledge: `STATE.md`, `REQUIREMENTS.md`, and the codebase test suite.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Identify Phase**: Resolve the targeted phase.
|
|
25
|
+
2. **Cross-reference**:
|
|
26
|
+
- List all requirements in `REQUIREMENTS.md` marked for this phase.
|
|
27
|
+
- Verify implementation of each requirement in the code.
|
|
28
|
+
- Check for the existence of passing tests for each requirement.
|
|
29
|
+
3. **Analyze Gaps**: Identify any "orphaned" requirements or features missing tests.
|
|
30
|
+
4. **Report Findings**: Summarize coverage and call out specific gaps to the user.
|
|
31
|
+
</process>
|