mindforge-cc 2.0.0-alpha.9 → 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/CLAUDE.md +26 -0
- 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/execute-phase.md +23 -0
- package/.agent/mindforge/install-skill.md +20 -11
- package/.agent/mindforge/learn.md +142 -0
- package/.agent/mindforge/marketplace.md +120 -0
- package/.agent/mindforge/new-runtime.md +19 -0
- package/.agent/mindforge/note.md +35 -0
- package/.agent/mindforge/plant-seed.md +31 -0
- package/.agent/mindforge/remember.md +16 -4
- 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/CLAUDE.md +26 -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 -167
- 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 -0
- package/.claude/commands/mindforge/map-codebase.md +36 -298
- package/.claude/commands/mindforge/marketplace.md +33 -0
- 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 +29 -0
- 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/distribution/marketplace.md +53 -0
- package/.mindforge/org/skills/MANIFEST.md +1 -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/.mindforge/production/production-checklist.md +34 -123
- package/.mindforge/skills-builder/auto-capture-protocol.md +88 -0
- package/.mindforge/skills-builder/learn-protocol.md +161 -0
- package/.mindforge/skills-builder/quality-scoring.md +120 -0
- package/.planning/AUDIT.jsonl +1 -0
- package/.planning/decisions/ADR-036-learn-command-docs-as-skill-source.md +26 -0
- package/.planning/decisions/ADR-037-auto-capture-frequency-threshold.md +26 -0
- package/.planning/decisions/ADR-038-skill-quality-minimum-60.md +27 -0
- package/CHANGELOG.md +78 -0
- package/MINDFORGE.md +11 -0
- package/README.md +80 -6
- package/bin/autonomous/auto-runner.js +12 -0
- package/bin/install.js +8 -2
- package/bin/installer-core.js +129 -26
- package/bin/migrations/1.0.0-to-2.0.0.js +115 -0
- package/bin/migrations/schema-versions.js +12 -0
- package/bin/mindforge-cli.js +35 -0
- package/bin/review/cross-review-engine.js +11 -0
- package/bin/skill-registry.js +167 -0
- package/bin/skill-validator.js +144 -0
- package/bin/skills-builder/learn-cli.js +57 -0
- package/bin/skills-builder/marketplace-cli.js +54 -0
- package/bin/skills-builder/marketplace-client.js +198 -0
- package/bin/skills-builder/pattern-detector.js +144 -0
- package/bin/skills-builder/skill-generator.js +258 -0
- package/bin/skills-builder/skill-registrar.js +107 -0
- package/bin/skills-builder/skill-scorer.js +263 -0
- package/bin/skills-builder/source-loader.js +268 -0
- package/docs/Context/Master-Context.md +6 -13
- package/docs/PERSONAS.md +611 -0
- package/docs/architecture/README.md +6 -1
- package/docs/architecture/adr-039-multi-runtime-support.md +20 -0
- package/docs/architecture/adr-040-additive-schema-migration.md +21 -0
- package/docs/architecture/adr-041-stable-runtime-interface-contract.md +20 -0
- package/docs/architecture/decision-records-index.md +3 -0
- package/docs/commands-reference.md +3 -0
- package/docs/mindforge-md-reference.md +4 -0
- package/docs/reference/commands.md +53 -43
- package/docs/skills-authoring-guide.md +29 -0
- package/docs/skills-publishing-guide.md +3 -2
- package/docs/testing-current-version.md +3 -3
- package/docs/upgrade.md +16 -2
- package/docs/user-guide.md +57 -8
- package/docs/usp-features.md +21 -6
- package/package.json +1 -1
|
@@ -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>
|
|
@@ -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>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:workstreams
|
|
3
|
+
description: Manage parallel feature tracks with isolated state
|
|
4
|
+
argument-hint: [list|create|switch|status|complete]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
- run_command
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Enable developers to work on multiple features or bugs concurrently within the same codebase without state collision. Provides isolated tracking for each "workstream".
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/workstreams.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Arguments: $ARGUMENTS (Switch subcommand)
|
|
22
|
+
Storage: .planning/workstreams/
|
|
23
|
+
State: Each workstream maintains its own subset of `STATE.md` or a local context file.
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
1. **Route Subcommand**:
|
|
28
|
+
- `list`: Show all active and archived workstreams in `.planning/workstreams/`.
|
|
29
|
+
- `create <name>`: Initialize a new workstream directory and baseline state.
|
|
30
|
+
- `switch <name>`: Update the global pointer in `STATE.md` to the targeted workstream.
|
|
31
|
+
- `status`: Show the current active workstream and its progress.
|
|
32
|
+
2. **Manage Isolation**:
|
|
33
|
+
- When switching, ensure current work is saved or stashed if necessary.
|
|
34
|
+
3. **Confirm**: Success/Failure status message to user.
|
|
35
|
+
</process>
|
package/.claude/CLAUDE.md
CHANGED
|
@@ -543,3 +543,29 @@ preferences while keeping governance and quality gates intact.
|
|
|
543
543
|
- `/mindforge:metrics`
|
|
544
544
|
|
|
545
545
|
---
|
|
546
|
+
|
|
547
|
+
## SELF-BUILDING SKILLS PLATFORM (v2.0.0 — Day 13)
|
|
548
|
+
|
|
549
|
+
### When to suggest /mindforge:learn
|
|
550
|
+
- After a productive phase that introduced a new technology
|
|
551
|
+
- When the user mentions struggling with a specific library
|
|
552
|
+
- After `/mindforge:research` produces findings worth capturing as skills
|
|
553
|
+
- When debug sessions uncover patterns worth remembering
|
|
554
|
+
|
|
555
|
+
### Auto-capture hook
|
|
556
|
+
When AUTO_CAPTURE_SKILLS=true in MINDFORGE.md:
|
|
557
|
+
After every phase that passes all gates:
|
|
558
|
+
Run `bin/skills-builder/pattern-detector.js` on the phase SUMMARY files.
|
|
559
|
+
If patterns found (frequency ≥ 2): present for user approval.
|
|
560
|
+
If approved: run the full learn pipeline to create a skill.
|
|
561
|
+
|
|
562
|
+
### AUDIT events for skill learning
|
|
563
|
+
- skill_learned: source_type, source, skill_name, quality_score, tier, cost_usd
|
|
564
|
+
- auto_capture_skipped: phase, patterns_found (0 = no patterns, N = user declined)
|
|
565
|
+
- marketplace_action: action, query/skill_name, quality_score
|
|
566
|
+
|
|
567
|
+
### New commands (Day 13)
|
|
568
|
+
- /mindforge:learn — convert any documentation into a reusable skill
|
|
569
|
+
- /mindforge:marketplace — discover and install community skills
|
|
570
|
+
|
|
571
|
+
---
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:add-backlog
|
|
3
|
+
description: Capture ideas in a "parking lot" to keep them out of the active phase sequence
|
|
4
|
+
argument-hint: <description>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- write_to_file
|
|
8
|
+
- replace_file_content
|
|
9
|
+
- multi_replace_file_content
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Capture an idea, task, or feature request in a "parking lot" section of the ROADMAP.md to prevent it from cluttering the active development phases.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/add-backlog.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
Arguments: $ARGUMENTS (The description of the backlog item)
|
|
22
|
+
Target File: ROADMAP.md
|
|
23
|
+
State: Uses 999.x numbering scheme for backlog items.
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
1. **Read ROADMAP.md**: Locate the `## Backlog` or `## Future Milestones` section.
|
|
28
|
+
2. **Initialize if missing**: If no backlog section exists, create `## Backlog` at the end of the file.
|
|
29
|
+
3. **Determine numbering**: Find the last `999.x` item. If none, start with `999.1`.
|
|
30
|
+
4. **Append item**: Add the new backlog item with the determined number and the provided description.
|
|
31
|
+
5. **Confirm**: Notify the user that the item has been parked in the backlog.
|
|
32
|
+
</process>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:agent
|
|
3
|
+
description: Spawn or invoke a specialized enterprise persona from the MindForge library
|
|
4
|
+
argument-hint: "[persona-name] [prompt]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Provide an on-demand mechanism to "spawn" any of the 13+ standardized MindForge personas. This allows the user to switch the AI assistant's context, role, and process to a specific specialized mode (e.g., Roadmapper, Security Reviewer, Analyst).
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/agent.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Personas Directory: `.mindforge/personas/`
|
|
20
|
+
State: Loads the persona's XML-tagged structure into the active system context.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **List Personas**: If no arguments are provided, list all available `.md` files in `.mindforge/personas/` with their name and description (parsed from YAML).
|
|
25
|
+
2. **Load Persona**: If a name is provided:
|
|
26
|
+
- Locate `.mindforge/personas/[name].md`.
|
|
27
|
+
- Read the file content.
|
|
28
|
+
- Present the persona's role and success criteria to the user.
|
|
29
|
+
3. **Switch Mode**: Instruct the AI (through the current session context) to adopt the role, philosophy, and process defined in the loaded file.
|
|
30
|
+
4. **Initial Task**: If a prompt is provided as the second argument, immediately execute that prompt using the newly adopted persona.
|
|
31
|
+
</process>
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:approve
|
|
3
|
+
description: Process pending approvals and emergency overrides
|
|
4
|
+
argument-hint: [approval-id] [--approve|--reject] [--reason "..."] [--emergency]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
---
|
|
3
10
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
11
|
+
<objective>
|
|
12
|
+
Manage the governance layer by reviewing and confirming high-tier architectural or security changes, ensuring all sensitive operations have explicit human authorization.
|
|
13
|
+
</objective>
|
|
7
14
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
3. Validate approver eligibility from `INTEGRATIONS-CONFIG.md`
|
|
12
|
-
4. Record approval or rejection with timestamp and reason
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/approve.md
|
|
17
|
+
</execution_context>
|
|
13
18
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
<context>
|
|
20
|
+
Storage: .planning/approvals/
|
|
21
|
+
Governance Config: INTEGRATIONS-CONFIG.md
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<process>
|
|
25
|
+
1. **List**: Scan for pending approval requests and present them to the user.
|
|
26
|
+
2. **Identity Verification**: Confirm the user's identity via git config or environment.
|
|
27
|
+
3. **Audit Eligibility**: Verify the user has sufficient permissions for the requested tier.
|
|
28
|
+
4. **Record Verdict**: Update the approval file with status, timestamp, and the provided reason.
|
|
29
|
+
5. **Emergency Override**: If `--emergency` is used, bypass standard checks if the identity matches the pre-defined emergency approver list.
|
|
30
|
+
</process>
|
|
@@ -1,30 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:audit
|
|
3
|
+
description: Query the .planning/AUDIT.jsonl log by phase, event, date, or severity
|
|
4
|
+
argument-hint: [filters]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- run_command
|
|
7
|
+
- view_file
|
|
8
|
+
- list_dir
|
|
9
|
+
---
|
|
3
10
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- `--agent NAME`
|
|
8
|
-
- `--severity LEVEL`
|
|
9
|
-
- `--date YYYY-MM-DD`
|
|
10
|
-
- `--summary`
|
|
11
|
-
- `--verify`
|
|
12
|
-
- `--export PATH`
|
|
11
|
+
<objective>
|
|
12
|
+
Provide a structured interface to query and validate the project's audit logs, ensuring accountability and traceability of all agent actions and system events.
|
|
13
|
+
</objective>
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/audit.md
|
|
17
|
+
</execution_context>
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
<context>
|
|
20
|
+
Storage: .planning/AUDIT.jsonl
|
|
21
|
+
Archive: .planning/audit-archive/
|
|
22
|
+
Filters: --phase, --event, --agent, --severity, --date, --summary, --verify, --export
|
|
23
|
+
</context>
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
<process>
|
|
26
|
+
1. **Parse Filters**: Identify the search criteria (phase, event, severity, etc.).
|
|
27
|
+
2. **Execute Query**:
|
|
28
|
+
- Use `grep` or `jq` (if available via bash) to filter the JSONL file.
|
|
29
|
+
- If `--summary`: Aggregate counts by event and severity.
|
|
30
|
+
- If `--verify`: Check for JSON validity and chronological integrity.
|
|
31
|
+
3. **Handle Large Logs**: If the log exceeds 10,000 lines, rotate it to the archive directory.
|
|
32
|
+
4. **Export (Optional)**: If `--export` is used, write filtered results to the target path (ensuring project boundary safety).
|
|
33
|
+
5. **Display**: Present the filtered log or summary to the user.
|
|
34
|
+
</process>
|
|
@@ -1,22 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:auto
|
|
3
|
+
description: Start the MindForge Autonomous Execution Engine
|
|
4
|
+
argument-hint: [Phase N] [--resume] [--headless] [--dry-run]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- run_command
|
|
7
|
+
- list_dir
|
|
8
|
+
- view_file
|
|
9
|
+
- write_to_file
|
|
10
|
+
---
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
12
|
+
<objective>
|
|
13
|
+
Execute a planned phase entirely unattended, coordinating wave fulfillment, self-repair of minor failures, and compliance gating while maintaining a persistent state checkpoint.
|
|
14
|
+
</objective>
|
|
6
15
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- `/mindforge:auto --headless` (CI/CD optimized output)
|
|
11
|
-
- `/mindforge:auto --dry-run` (Show the wave DAG and plan without executing)
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/auto.md
|
|
18
|
+
</execution_context>
|
|
12
19
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
<context>
|
|
21
|
+
Storage: HANDOFF.json checkpoints.
|
|
22
|
+
Governance: Auto-approves Tier 1/2; Escalates Tier 3.
|
|
23
|
+
Notifications: Requires Slack/Discord webhooks for mission-critical alerts.
|
|
24
|
+
</context>
|
|
18
25
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
26
|
+
<process>
|
|
27
|
+
1. **Boot**: Load the specifies phase or resume from the last known checkpoint in `HANDOFF.json`.
|
|
28
|
+
2. **Wave Engine**: Execute the DAG of tasks sequentially or in parallel based on dependencies.
|
|
29
|
+
3. **Self-Repair**: Automatically attempt to retry or decompose tasks that encounter recoverable errors.
|
|
30
|
+
4. **Gating**: Evaluate compliance gates between waves. Escalates to human for Tier 3 changes.
|
|
31
|
+
5. **Persistence**: Save state after every successful tool call or task completion.
|
|
32
|
+
6. **Finalize**: Shift status to "Verify Pending" once all waves are complete.
|
|
33
|
+
</process>
|
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:benchmark
|
|
3
|
+
description: Measure skill effectiveness and project metrics over time
|
|
4
|
+
argument-hint: [--skill skill-name] [--compare skill-a skill-b]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- list_dir
|
|
8
|
+
---
|
|
3
9
|
|
|
4
|
-
|
|
10
|
+
<objective>
|
|
11
|
+
Analyze command and skill performance by correlating usage data with verify pass rates and project quality scores, facilitating data-driven decisions on tool improvements.
|
|
12
|
+
</objective>
|
|
5
13
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- What is the verify pass rate for tasks where this skill was loaded?
|
|
10
|
-
- Are there anti-patterns less common after this skill is loaded?
|
|
11
|
-
- What is the average session quality score when this skill is active?
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/benchmark.md
|
|
16
|
+
</execution_context>
|
|
12
17
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Usage (last 30 days): 47 task loads
|
|
18
|
-
Trigger distribution: text match 68%, file-path 22%, file-name 10%
|
|
19
|
-
Verify pass rate: 91% (vs. 84% baseline without this skill)
|
|
20
|
-
Security findings: 8 HIGH caught (0 CRITICAL missed in tasks using this skill)
|
|
21
|
-
Session quality lift: +6.2 points average when loaded
|
|
18
|
+
<context>
|
|
19
|
+
Sources: AUDIT.jsonl, skill-usage.jsonl
|
|
20
|
+
Metrics: Pass rate, load frequency, anti-pattern reduction, quality lift.
|
|
21
|
+
</context>
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- Context budget cost (token estimate)
|
|
32
|
-
|
|
33
|
-
Helps decide: should you keep both skills, or deprecate the lower-performer?
|
|
23
|
+
<process>
|
|
24
|
+
1. **Gather Data**: Extract usage and outcome logs for the target skill(s).
|
|
25
|
+
2. **Calculate Trends**: Determine pass rate vs baseline and session quality improvement.
|
|
26
|
+
3. **Generate Assessment**:
|
|
27
|
+
- For single skill: Provide a usage distribution and quality lift report.
|
|
28
|
+
- For comparison: Provide a head-to-head comparison on cost and effectiveness.
|
|
29
|
+
4. **Recommendation**: Advise on whether to keep, improve, or deprecate the targeted skills.
|
|
30
|
+
</process>
|
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:browse
|
|
3
|
+
description: Control the persistent MindForge browser daemon for visual verification
|
|
4
|
+
argument-hint: <url | action>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- open_browser_url
|
|
7
|
+
- run_command
|
|
8
|
+
---
|
|
2
9
|
|
|
3
|
-
|
|
4
|
-
|
|
10
|
+
<objective>
|
|
11
|
+
Enable the agent to interact with web interfaces, maintain persistent sessions, and perform visual audits of UI changes using an automated browser daemon.
|
|
12
|
+
</objective>
|
|
5
13
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/browse.md
|
|
16
|
+
</execution_context>
|
|
9
17
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
| `--stop` | Kill browser daemon |
|
|
15
|
-
| `--status` | Show daemon health and active sessions |
|
|
16
|
-
| `--session <name>` | Switch browser context |
|
|
17
|
-
| `--import-session <name> --from <browser>` | Import cookies from host browser (chrome, arc, etc) |
|
|
18
|
-
| `<url>` | Navigate the current page to URL |
|
|
19
|
-
| `click <selector>` | Trigger click event |
|
|
20
|
-
| `type <sel> <text>` | Fill input field |
|
|
21
|
-
| `screenshot` | Capture current viewport |
|
|
18
|
+
<context>
|
|
19
|
+
Security: Daemon binds to 127.0.0.1. Sessions are gitignored.
|
|
20
|
+
State: Supports cookie/localStorage persistence via named sessions.
|
|
21
|
+
</context>
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
<process>
|
|
24
|
+
1. **Control Daemon**: Start, stop, or query the health/active sessions of the browser daemon.
|
|
25
|
+
2. **Session Management**: Switch between browser contexts or import sessions from the host (Chrome/Arc).
|
|
26
|
+
3. **Navigate & Interact**: Load URLs, click selectors, and type text into input fields.
|
|
27
|
+
4. **Verify**: Capture screenshots of the current viewport for visual confirmation.
|
|
28
|
+
</process>
|
|
@@ -1,18 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:complete-milestone
|
|
3
|
+
description: Archive a completed milestone and prepare the next version
|
|
4
|
+
argument-hint: <name> <version>
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- list_dir
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
- run_command
|
|
10
|
+
---
|
|
3
11
|
|
|
4
|
-
|
|
5
|
-
|
|
12
|
+
<objective>
|
|
13
|
+
Finalize a project milestone by summarizing shipped value, archiving phase artifacts, and preparing the environment for the next development cycle.
|
|
14
|
+
</objective>
|
|
6
15
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
16
|
+
<execution_context>
|
|
17
|
+
.claude/commands/mindforge/complete-milestone.md
|
|
18
|
+
</execution_context>
|
|
10
19
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
20
|
+
<context>
|
|
21
|
+
Validation: Ensures all included phases are verified and have no pending approvals.
|
|
22
|
+
Storage: Moves phase files to a milestone-specific archive.
|
|
23
|
+
</context>
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
<process>
|
|
26
|
+
1. **Validate**: Confirm every phase in the milestone is signed off and verified.
|
|
27
|
+
2. **Summarize**: Generate a MILESTONE-REPORT with shipped functionality, risks, and follow-ups.
|
|
28
|
+
3. **Archive**: Move the included `.planning/phases/` directories to a persistent milestone archive.
|
|
29
|
+
4. **Tag**: Create a git release tag for the milestone.
|
|
30
|
+
5. **State Reset**: Update `STATE.md` to reflect the milestone completion and target the next version.
|
|
31
|
+
6. **Audit**: Log `milestone_completed` event.
|
|
32
|
+
</process>
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:costs
|
|
3
|
+
description: Real-time cost tracking for AI model usage
|
|
4
|
+
argument-hint: [--phase N] [--session ID] [--window 7d]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- view_file
|
|
7
|
+
- run_command
|
|
8
|
+
---
|
|
3
9
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
10
|
+
<objective>
|
|
11
|
+
Monitor and control project expenses related to AI model usage, enforcing budget guardrails and providing granular spend analysis.
|
|
12
|
+
</objective>
|
|
7
13
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
<execution_context>
|
|
15
|
+
.claude/commands/mindforge/costs.md
|
|
16
|
+
</execution_context>
|
|
17
|
+
|
|
18
|
+
<context>
|
|
19
|
+
Metrics: Total spend, daily limit usage, per-model breakdown.
|
|
20
|
+
Sources: AUDIT.jsonl and local token logs.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
1. **Gather Usage Data**: Parse logs for the specified phase, session, or time window.
|
|
25
|
+
2. **Calculate Spend**: Apply pricing models to the detected token counts per model.
|
|
26
|
+
3. **Enforce Budgets**: Compare current spend against configured daily and project limits.
|
|
27
|
+
4. **Display Report**: Present the total spend and limit usage as a percentage.
|
|
28
|
+
</process>
|
|
@@ -1,17 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
name: mindforge:cross-review
|
|
3
|
+
description: Get code reviewed by multiple AI models simultaneously for consensus validation
|
|
4
|
+
argument-hint: [--phase N] [--models list] [--focus area]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- run_command
|
|
7
|
+
- view_file
|
|
8
|
+
- write_to_file
|
|
9
|
+
---
|
|
3
10
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Consensus findings = high confidence issues.
|
|
11
|
+
<objective>
|
|
12
|
+
Increase review confidence by aggregating findings from multiple diverse AI models, identifying consensus issues and providing a multi-perspective quality assessment.
|
|
13
|
+
</objective>
|
|
8
14
|
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
<execution_context>
|
|
16
|
+
.claude/commands/mindforge/cross-review.md
|
|
17
|
+
</execution_context>
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
|
|
19
|
+
<context>
|
|
20
|
+
Models: Claude (Primary/Architectural), GPT-4o (Adversarial/Security).
|
|
21
|
+
Focus: Specific area like "security", "performance", or "consistency".
|
|
22
|
+
Pre-check: Models must be available via existing API integrations.
|
|
23
|
+
</context>
|
|
14
24
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
<process>
|
|
26
|
+
1. **Round 1 (Primary)**: Execute architectural review using the primary model.
|
|
27
|
+
2. **Round 2 (Adversarial)**: Execute security-focused review using the secondary model.
|
|
28
|
+
3. **Synthesis**: Compare findings from both rounds. Identify consensus "high confidence" issues.
|
|
29
|
+
4. **Final Verdict**: Issue a gating verdict that must be resolved for `/mindforge:ship`.
|
|
30
|
+
5. **Log**: Record the multi-model review results in the audit trail.
|
|
31
|
+
</process>
|