mindforge-cc 1.0.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 +462 -0
- package/.agent/forge/help.md +7 -0
- package/.agent/forge/init-project.md +32 -0
- package/.agent/forge/plan-phase.md +30 -0
- package/.agent/mindforge/approve.md +18 -0
- package/.agent/mindforge/audit.md +30 -0
- package/.agent/mindforge/benchmark.md +33 -0
- package/.agent/mindforge/complete-milestone.md +18 -0
- package/.agent/mindforge/debug.md +126 -0
- package/.agent/mindforge/discuss-phase.md +138 -0
- package/.agent/mindforge/execute-phase.md +165 -0
- package/.agent/mindforge/health.md +21 -0
- package/.agent/mindforge/help.md +23 -0
- package/.agent/mindforge/init-org.md +131 -0
- package/.agent/mindforge/init-project.md +155 -0
- package/.agent/mindforge/install-skill.md +15 -0
- package/.agent/mindforge/map-codebase.md +298 -0
- package/.agent/mindforge/metrics.md +22 -0
- package/.agent/mindforge/migrate.md +40 -0
- package/.agent/mindforge/milestone.md +12 -0
- package/.agent/mindforge/next.md +105 -0
- package/.agent/mindforge/plan-phase.md +125 -0
- package/.agent/mindforge/plugins.md +40 -0
- package/.agent/mindforge/pr-review.md +41 -0
- package/.agent/mindforge/profile-team.md +23 -0
- package/.agent/mindforge/publish-skill.md +19 -0
- package/.agent/mindforge/quick.md +135 -0
- package/.agent/mindforge/release.md +10 -0
- package/.agent/mindforge/retrospective.md +26 -0
- package/.agent/mindforge/review.md +157 -0
- package/.agent/mindforge/security-scan.md +233 -0
- package/.agent/mindforge/ship.md +100 -0
- package/.agent/mindforge/skills.md +141 -0
- package/.agent/mindforge/status.md +104 -0
- package/.agent/mindforge/sync-confluence.md +11 -0
- package/.agent/mindforge/sync-jira.md +12 -0
- package/.agent/mindforge/tokens.md +8 -0
- package/.agent/mindforge/update.md +42 -0
- package/.agent/mindforge/verify-phase.md +62 -0
- package/.agent/mindforge/workspace.md +29 -0
- package/.claude/CLAUDE.md +462 -0
- package/.claude/commands/forge/help.md +7 -0
- package/.claude/commands/forge/init-project.md +32 -0
- package/.claude/commands/forge/plan-phase.md +30 -0
- package/.claude/commands/mindforge/approve.md +18 -0
- package/.claude/commands/mindforge/audit.md +30 -0
- package/.claude/commands/mindforge/benchmark.md +33 -0
- package/.claude/commands/mindforge/complete-milestone.md +18 -0
- package/.claude/commands/mindforge/debug.md +126 -0
- package/.claude/commands/mindforge/discuss-phase.md +138 -0
- package/.claude/commands/mindforge/execute-phase.md +165 -0
- package/.claude/commands/mindforge/health.md +21 -0
- package/.claude/commands/mindforge/help.md +23 -0
- package/.claude/commands/mindforge/init-org.md +131 -0
- package/.claude/commands/mindforge/init-project.md +155 -0
- package/.claude/commands/mindforge/install-skill.md +15 -0
- package/.claude/commands/mindforge/map-codebase.md +298 -0
- package/.claude/commands/mindforge/metrics.md +22 -0
- package/.claude/commands/mindforge/migrate.md +40 -0
- package/.claude/commands/mindforge/milestone.md +12 -0
- package/.claude/commands/mindforge/next.md +105 -0
- package/.claude/commands/mindforge/plan-phase.md +125 -0
- package/.claude/commands/mindforge/plugins.md +40 -0
- package/.claude/commands/mindforge/pr-review.md +41 -0
- package/.claude/commands/mindforge/profile-team.md +23 -0
- package/.claude/commands/mindforge/publish-skill.md +19 -0
- package/.claude/commands/mindforge/quick.md +135 -0
- package/.claude/commands/mindforge/release.md +10 -0
- package/.claude/commands/mindforge/retrospective.md +26 -0
- package/.claude/commands/mindforge/review.md +157 -0
- package/.claude/commands/mindforge/security-scan.md +233 -0
- package/.claude/commands/mindforge/ship.md +100 -0
- package/.claude/commands/mindforge/skills.md +141 -0
- package/.claude/commands/mindforge/status.md +104 -0
- package/.claude/commands/mindforge/sync-confluence.md +11 -0
- package/.claude/commands/mindforge/sync-jira.md +12 -0
- package/.claude/commands/mindforge/tokens.md +8 -0
- package/.claude/commands/mindforge/update.md +42 -0
- package/.claude/commands/mindforge/verify-phase.md +62 -0
- package/.claude/commands/mindforge/workspace.md +29 -0
- package/.forge/org/CONVENTIONS.md +0 -0
- package/.forge/org/ORG.md +0 -0
- package/.forge/org/SECURITY.md +0 -0
- package/.forge/org/TOOLS.md +0 -0
- package/.forge/personas/analyst.md +0 -0
- package/.forge/personas/architect.md +0 -0
- package/.forge/personas/debug-specialist.md +0 -0
- package/.forge/personas/developer.md +26 -0
- package/.forge/personas/qa-engineer.md +0 -0
- package/.forge/personas/release-manager.md +0 -0
- package/.forge/personas/security-reviewer.md +33 -0
- package/.forge/personas/tech-writer.md +0 -0
- package/.forge/skills/api-design/SKILL.md +0 -0
- package/.forge/skills/code-quality/SKILL.md +0 -0
- package/.forge/skills/documentation/SKILL.md +0 -0
- package/.forge/skills/security-review/SKILL.md +23 -0
- package/.forge/skills/testing-standards/SKILL.md +27 -0
- package/.github/workflows/mindforge-ci.yml +224 -0
- package/.gitlab-ci-mindforge.yml +18 -0
- package/.mindforge/MINDFORGE-SCHEMA.json +165 -0
- package/.mindforge/audit/AUDIT-SCHEMA.md +451 -0
- package/.mindforge/ci/ci-config-schema.md +21 -0
- package/.mindforge/ci/ci-mode.md +179 -0
- package/.mindforge/ci/github-actions-adapter.md +224 -0
- package/.mindforge/ci/gitlab-ci-adapter.md +31 -0
- package/.mindforge/ci/jenkins-adapter.md +44 -0
- package/.mindforge/distribution/registry-client.md +166 -0
- package/.mindforge/distribution/registry-schema.md +96 -0
- package/.mindforge/distribution/skill-publisher.md +44 -0
- package/.mindforge/distribution/skill-validator.md +74 -0
- package/.mindforge/engine/compaction-protocol.md +182 -0
- package/.mindforge/engine/context-injector.md +128 -0
- package/.mindforge/engine/dependency-parser.md +113 -0
- package/.mindforge/engine/skills/conflict-resolver.md +69 -0
- package/.mindforge/engine/skills/loader.md +184 -0
- package/.mindforge/engine/skills/registry.md +98 -0
- package/.mindforge/engine/skills/versioning.md +75 -0
- package/.mindforge/engine/verification-pipeline.md +111 -0
- package/.mindforge/engine/wave-executor.md +235 -0
- package/.mindforge/governance/GOVERNANCE-CONFIG.md +17 -0
- package/.mindforge/governance/approval-workflow.md +37 -0
- package/.mindforge/governance/change-classifier.md +63 -0
- package/.mindforge/governance/compliance-gates.md +31 -0
- package/.mindforge/integrations/confluence.md +27 -0
- package/.mindforge/integrations/connection-manager.md +163 -0
- package/.mindforge/integrations/github.md +25 -0
- package/.mindforge/integrations/gitlab.md +13 -0
- package/.mindforge/integrations/jira.md +102 -0
- package/.mindforge/integrations/slack.md +41 -0
- package/.mindforge/intelligence/antipattern-detector.md +75 -0
- package/.mindforge/intelligence/difficulty-scorer.md +55 -0
- package/.mindforge/intelligence/health-engine.md +208 -0
- package/.mindforge/intelligence/skill-gap-analyser.md +40 -0
- package/.mindforge/intelligence/smart-compaction.md +71 -0
- package/.mindforge/metrics/METRICS-SCHEMA.md +42 -0
- package/.mindforge/metrics/quality-tracker.md +32 -0
- package/.mindforge/monorepo/cross-package-planner.md +114 -0
- package/.mindforge/monorepo/dependency-graph-builder.md +32 -0
- package/.mindforge/monorepo/workspace-detector.md +129 -0
- package/.mindforge/org/CONVENTIONS.md +62 -0
- package/.mindforge/org/ORG.md +51 -0
- package/.mindforge/org/SECURITY.md +50 -0
- package/.mindforge/org/TOOLS.md +53 -0
- package/.mindforge/org/integrations/INTEGRATIONS-CONFIG.md +58 -0
- package/.mindforge/org/skills/MANIFEST.md +38 -0
- package/.mindforge/personas/analyst.md +52 -0
- package/.mindforge/personas/architect.md +75 -0
- package/.mindforge/personas/debug-specialist.md +52 -0
- package/.mindforge/personas/developer.md +85 -0
- package/.mindforge/personas/overrides/README.md +85 -0
- package/.mindforge/personas/qa-engineer.md +61 -0
- package/.mindforge/personas/release-manager.md +76 -0
- package/.mindforge/personas/security-reviewer.md +91 -0
- package/.mindforge/personas/tech-writer.md +51 -0
- package/.mindforge/plugins/PLUGINS-MANIFEST.md +23 -0
- package/.mindforge/plugins/plugin-loader.md +93 -0
- package/.mindforge/plugins/plugin-registry.md +44 -0
- package/.mindforge/plugins/plugin-schema.md +68 -0
- package/.mindforge/pr-review/ai-reviewer.md +266 -0
- package/.mindforge/pr-review/finding-formatter.md +46 -0
- package/.mindforge/pr-review/review-prompt-templates.md +44 -0
- package/.mindforge/production/compatibility-layer.md +39 -0
- package/.mindforge/production/migration-engine.md +52 -0
- package/.mindforge/production/production-checklist.md +165 -0
- package/.mindforge/production/token-optimiser.md +68 -0
- package/.mindforge/skills/accessibility/SKILL.md +106 -0
- package/.mindforge/skills/api-design/SKILL.md +98 -0
- package/.mindforge/skills/code-quality/SKILL.md +88 -0
- package/.mindforge/skills/data-privacy/SKILL.md +126 -0
- package/.mindforge/skills/database-patterns/SKILL.md +192 -0
- package/.mindforge/skills/documentation/SKILL.md +91 -0
- package/.mindforge/skills/incident-response/SKILL.md +180 -0
- package/.mindforge/skills/performance/SKILL.md +120 -0
- package/.mindforge/skills/security-review/SKILL.md +83 -0
- package/.mindforge/skills/testing-standards/SKILL.md +97 -0
- package/.mindforge/team/TEAM-PROFILE.md +42 -0
- package/.mindforge/team/multi-handoff.md +23 -0
- package/.mindforge/team/profiles/README.md +13 -0
- package/.mindforge/team/session-merger.md +18 -0
- package/.planning/ARCHITECTURE.md +0 -0
- package/.planning/AUDIT.jsonl +0 -0
- package/.planning/HANDOFF.json +28 -0
- package/.planning/PROJECT.md +33 -0
- package/.planning/RELEASE-CHECKLIST.md +68 -0
- package/.planning/REQUIREMENTS.md +0 -0
- package/.planning/ROADMAP.md +0 -0
- package/.planning/STATE.md +31 -0
- package/.planning/approvals/.gitkeep +1 -0
- package/.planning/archive/.gitkeep +1 -0
- package/.planning/audit-archive/.gitkeep +1 -0
- package/.planning/decisions/.gitkeep +0 -0
- package/.planning/decisions/ADR-001-handoff-tracking.md +41 -0
- package/.planning/decisions/ADR-002-markdown-commands.md +46 -0
- package/.planning/decisions/ADR-003-skills-trigger-model.md +37 -0
- package/.planning/decisions/ADR-004-wave-parallelism-model.md +45 -0
- package/.planning/decisions/ADR-005-append-only-audit-log.md +51 -0
- package/.planning/decisions/ADR-006-tiered-skills-system.md +22 -0
- package/.planning/decisions/ADR-007-trigger-keyword-model.md +22 -0
- package/.planning/decisions/ADR-008-just-in-time-skill-loading.md +29 -0
- package/.planning/decisions/ADR-009-enterprise-integration-retry-policy.md +8 -0
- package/.planning/decisions/ADR-010-governance-tier-escalation.md +8 -0
- package/.planning/decisions/ADR-011-multi-developer-handoff-contract.md +8 -0
- package/.planning/decisions/ADR-012-intelligence-feedback-loops.md +19 -0
- package/.planning/decisions/ADR-013-mindforge-md-constitution.md +16 -0
- package/.planning/decisions/ADR-014-metrics-as-signals-not-evaluation.md +15 -0
- package/.planning/decisions/ADR-015-npm-based-skill-registry.md +26 -0
- package/.planning/decisions/ADR-016-ci-exit-code-0-on-timeout.md +27 -0
- package/.planning/decisions/ADR-017-sdk-localhost-only.md +28 -0
- package/.planning/decisions/ADR-018-installer-self-install-detection.md +15 -0
- package/.planning/decisions/ADR-019-self-update-scope-preservation.md +14 -0
- package/.planning/decisions/ADR-020-v1.0.0-stable-interface-contract.md +23 -0
- package/.planning/jira-sync.json +9 -0
- package/.planning/milestones/.gitkeep +1 -0
- package/.planning/phases/day1/REVIEW-DAY1.md +50 -0
- package/.planning/phases/day1/SECURITY-REVIEW-DAY1.md +15 -0
- package/.planning/phases/day2/REVIEW-DAY2.md +521 -0
- package/.planning/phases/day3/REVIEW-DAY3.md +234 -0
- package/.planning/slack-threads.json +6 -0
- package/CHANGELOG.md +175 -0
- package/LICENSE +21 -0
- package/MINDFORGE.md +76 -0
- package/README.md +182 -0
- package/RELEASENOTES.md +41 -0
- package/SECURITY.md +4 -0
- package/bin/install.js +120 -0
- package/bin/installer-core.js +292 -0
- package/bin/migrations/0.1.0-to-0.5.0.js +37 -0
- package/bin/migrations/0.5.0-to-0.6.0.js +17 -0
- package/bin/migrations/0.6.0-to-1.0.0.js +100 -0
- package/bin/migrations/migrate.js +151 -0
- package/bin/migrations/schema-versions.js +64 -0
- package/bin/updater/changelog-fetcher.js +62 -0
- package/bin/updater/self-update.js +169 -0
- package/bin/updater/version-comparator.js +68 -0
- package/bin/validate-config.js +92 -0
- package/bin/wizard/config-generator.js +112 -0
- package/bin/wizard/environment-detector.js +76 -0
- package/bin/wizard/setup-wizard.js +237 -0
- package/docs/Context/Master-Context.md +701 -0
- package/docs/architecture/README.md +35 -0
- package/docs/architecture/decision-records-index.md +26 -0
- package/docs/ci-cd-integration.md +30 -0
- package/docs/ci-quickstart.md +78 -0
- package/docs/commands-reference.md +11 -0
- package/docs/contributing/CONTRIBUTING.md +38 -0
- package/docs/contributing/plugin-authoring.md +50 -0
- package/docs/contributing/skill-authoring.md +41 -0
- package/docs/enterprise-setup.md +25 -0
- package/docs/faq.md +38 -0
- package/docs/getting-started.md +36 -0
- package/docs/governance-guide.md +23 -0
- package/docs/mindforge-md-reference.md +53 -0
- package/docs/monorepo-guide.md +26 -0
- package/docs/persona-customisation.md +56 -0
- package/docs/quick-verify.md +33 -0
- package/docs/reference/audit-events.md +53 -0
- package/docs/reference/commands.md +82 -0
- package/docs/reference/config-reference.md +64 -0
- package/docs/reference/sdk-api.md +48 -0
- package/docs/reference/skills-api.md +57 -0
- package/docs/release-checklist-guide.md +37 -0
- package/docs/requirements.md +29 -0
- package/docs/sdk-reference.md +27 -0
- package/docs/security/SECURITY.md +42 -0
- package/docs/security/penetration-test-results.md +31 -0
- package/docs/security/threat-model.md +142 -0
- package/docs/skills-authoring-guide.md +119 -0
- package/docs/skills-publishing-guide.md +21 -0
- package/docs/team-setup-guide.md +21 -0
- package/docs/troubleshooting.md +119 -0
- package/docs/tutorial.md +195 -0
- package/docs/upgrade.md +44 -0
- package/docs/user-guide.md +131 -0
- package/docs/usp-features.md +214 -0
- package/eslint.config.mjs +31 -0
- package/examples/starter-project/.planning/AUDIT.jsonl +1 -0
- package/examples/starter-project/.planning/HANDOFF.json +23 -0
- package/examples/starter-project/.planning/PROJECT.md +27 -0
- package/examples/starter-project/.planning/STATE.md +10 -0
- package/examples/starter-project/MINDFORGE.md +40 -0
- package/examples/starter-project/README.md +14 -0
- package/implementation-roadmap/day-1-imp/DAY1-HARDEN.md +823 -0
- package/implementation-roadmap/day-1-imp/DAY1-IMPLEMENT.md +2459 -0
- package/implementation-roadmap/day-1-imp/DAY1-REVIEW.md +288 -0
- package/implementation-roadmap/day-2-imp/DAY2-HARDEN.md +954 -0
- package/implementation-roadmap/day-2-imp/DAY2-IMPLEMENT.md +2347 -0
- package/implementation-roadmap/day-2-imp/DAY2-REVIEW.md +422 -0
- package/implementation-roadmap/day-3-imp/DAY3-HARDEN.md +870 -0
- package/implementation-roadmap/day-3-imp/DAY3-IMPLEMENT.md +2798 -0
- package/implementation-roadmap/day-3-imp/DAY3-REVIEW.md +484 -0
- package/implementation-roadmap/day-4-imp/DAY4-HARDEN.md +1087 -0
- package/implementation-roadmap/day-4-imp/DAY4-IMPLEMENT.md +2874 -0
- package/implementation-roadmap/day-4-imp/DAY4-REVIEW.md +386 -0
- package/implementation-roadmap/day-5-imp/DAY5-HARDEN.md +1078 -0
- package/implementation-roadmap/day-5-imp/DAY5-IMPLEMENT.md +3151 -0
- package/implementation-roadmap/day-5-imp/DAY5-REVIEW.md +345 -0
- package/implementation-roadmap/day-6-imp/DAY6-COMPLETE.md +3919 -0
- package/implementation-roadmap/day-7-imp-prod/DAY7-PRODUCTION-FINAL.md +4513 -0
- package/package.json +31 -0
- package/sdk/README.md +69 -0
- package/sdk/eslint.config.mjs +34 -0
- package/sdk/package-lock.json +1507 -0
- package/sdk/package.json +30 -0
- package/sdk/src/client.ts +133 -0
- package/sdk/src/commands.ts +63 -0
- package/sdk/src/events.ts +166 -0
- package/sdk/src/index.ts +22 -0
- package/sdk/src/types.ts +87 -0
- package/sdk/tsconfig.json +13 -0
- package/tests/audit.test.js +206 -0
- package/tests/ci-mode.test.js +162 -0
- package/tests/compaction.test.js +161 -0
- package/tests/distribution.test.js +205 -0
- package/tests/e2e.test.js +618 -0
- package/tests/governance.test.js +130 -0
- package/tests/install.test.js +209 -0
- package/tests/integrations.test.js +128 -0
- package/tests/intelligence.test.js +117 -0
- package/tests/metrics.test.js +96 -0
- package/tests/migration.test.js +309 -0
- package/tests/production.test.js +416 -0
- package/tests/sdk.test.js +200 -0
- package/tests/skills-platform.test.js +403 -0
- package/tests/wave-engine.test.js +338 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
## Finding 1 — BLOCKING: Cursor pagination uses non-unique created_at only
|
|
2
|
+
|
|
3
|
+
**File:** .mindforge/skills/database-patterns/SKILL.md
|
|
4
|
+
**Category:** Data correctness
|
|
5
|
+
**Severity:** BLOCKING
|
|
6
|
+
|
|
7
|
+
**Issue:**
|
|
8
|
+
Cursor pagination example uses `created_at` only. This is ambiguous when multiple
|
|
9
|
+
records share the same timestamp, causing missing or duplicate rows.
|
|
10
|
+
|
|
11
|
+
**Recommendation:**
|
|
12
|
+
Use compound cursor `(created_at, id)` and document cursor encoding. See review
|
|
13
|
+
prompt for exact SQL replacement.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
## Finding 2 — MAJOR: MindForge version not bumped for Day 3 skills
|
|
17
|
+
|
|
18
|
+
**File:** package.json
|
|
19
|
+
**Category:** Compatibility
|
|
20
|
+
**Severity:** MAJOR
|
|
21
|
+
|
|
22
|
+
**Issue:**
|
|
23
|
+
`package.json` is still `0.1.0` while Day 3 skills require `min_mindforge_version: 0.3.0`.
|
|
24
|
+
This causes compatibility warnings on every task.
|
|
25
|
+
|
|
26
|
+
**Recommendation:**
|
|
27
|
+
Bump `package.json` version to `0.3.0`.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
## Finding 3 — MAJOR: Skills loader missing file-name matching and word-boundary rules
|
|
31
|
+
|
|
32
|
+
**File:** .mindforge/engine/skills/loader.md
|
|
33
|
+
**Category:** Skills Loader
|
|
34
|
+
**Severity:** MAJOR
|
|
35
|
+
|
|
36
|
+
**Issue:**
|
|
37
|
+
File path matching checks directory names only and does not check file names
|
|
38
|
+
(`login.ts`, `auth.ts`). Word-boundary matching for triggers is not explicit.
|
|
39
|
+
|
|
40
|
+
**Recommendation:**
|
|
41
|
+
Add file NAME matching rules and clarify word-boundary matching.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
## Finding 4 — MAJOR: Skills summarisation lacks strict budget and priority rules
|
|
45
|
+
|
|
46
|
+
**File:** .mindforge/engine/skills/loader.md
|
|
47
|
+
**Category:** Context Budget
|
|
48
|
+
**Severity:** MAJOR
|
|
49
|
+
|
|
50
|
+
**Issue:**
|
|
51
|
+
Summarisation guidance lacks maximum length and priority ordering.
|
|
52
|
+
|
|
53
|
+
**Recommendation:**
|
|
54
|
+
Add explicit 150-word cap per summarised skill and priority ordering (tier +
|
|
55
|
+
match count). Never summarise security-review.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
## Finding 5 — MAJOR: Conflict resolver can block on user input during wave execution
|
|
59
|
+
|
|
60
|
+
**File:** .mindforge/engine/skills/conflict-resolver.md
|
|
61
|
+
**Category:** Skills Loader
|
|
62
|
+
**Severity:** MAJOR
|
|
63
|
+
|
|
64
|
+
**Issue:**
|
|
65
|
+
Type 4 conflicts instruct "ask the user", which is impossible for subagents
|
|
66
|
+
in wave execution.
|
|
67
|
+
|
|
68
|
+
**Recommendation:**
|
|
69
|
+
If conflict cannot be resolved without user input during execution, load neither
|
|
70
|
+
skill, log to AUDIT, and defer to next interactive session.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
## Finding 6 — MAJOR: Registry lacks parsing guidance and missing-manifest behavior
|
|
74
|
+
|
|
75
|
+
**File:** .mindforge/engine/skills/registry.md
|
|
76
|
+
**Category:** Registry
|
|
77
|
+
**Severity:** MAJOR
|
|
78
|
+
|
|
79
|
+
**Issue:**
|
|
80
|
+
Registry specifies table contents but does not describe table parsing. It also
|
|
81
|
+
omits a path for when MANIFEST.md does not yet exist.
|
|
82
|
+
|
|
83
|
+
**Recommendation:**
|
|
84
|
+
Add explicit table parsing rules and an auto-create path for first install.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
## Finding 7 — MAJOR: Skills command missing safety and validation steps
|
|
88
|
+
|
|
89
|
+
**File:** .claude/commands/mindforge/skills.md
|
|
90
|
+
**Category:** Commands
|
|
91
|
+
**Severity:** MAJOR
|
|
92
|
+
|
|
93
|
+
**Issue:**
|
|
94
|
+
`list` does not show path; `validate` does not enforce self-check section;
|
|
95
|
+
`add` lacks confirmation of manifest entry; `update` does not run tests.
|
|
96
|
+
|
|
97
|
+
**Recommendation:**
|
|
98
|
+
Add path (or --verbose), enforce self-check, add confirmation preview, and run
|
|
99
|
+
skills-platform tests after update.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
## Finding 8 — MAJOR: Security scan patterns and redaction incomplete
|
|
103
|
+
|
|
104
|
+
**File:** .claude/commands/mindforge/security-scan.md
|
|
105
|
+
**Category:** Security
|
|
106
|
+
**Severity:** MAJOR
|
|
107
|
+
|
|
108
|
+
**Issue:**
|
|
109
|
+
SSRF detection only covers `req.body.url`; secret patterns miss Azure/GCP; and
|
|
110
|
+
redaction scope is unclear for reports.
|
|
111
|
+
|
|
112
|
+
**Recommendation:**
|
|
113
|
+
Expand SSRF patterns, add Azure/GCP secret patterns, and explicitly redact in
|
|
114
|
+
console AND report output.
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
## Finding 9 — MAJOR: Map-codebase scalability and DRAFT convention handling
|
|
118
|
+
|
|
119
|
+
**File:** .claude/commands/mindforge/map-codebase.md
|
|
120
|
+
**Category:** Commands
|
|
121
|
+
**Severity:** MAJOR
|
|
122
|
+
|
|
123
|
+
**Issue:**
|
|
124
|
+
Architecture subagent reads all files in large codebases; DRAFT conventions are
|
|
125
|
+
not warned in STATE.md; temp directory cleanup only at end.
|
|
126
|
+
|
|
127
|
+
**Recommendation:**
|
|
128
|
+
Add sampling for large repos, add DRAFT warning in STATE.md, clean temp at start.
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
## Finding 10 — MAJOR: Discuss-phase lacks multi-domain support and strong auto warning
|
|
132
|
+
|
|
133
|
+
**Files:** .claude/commands/mindforge/discuss-phase.md, .claude/commands/mindforge/plan-phase.md
|
|
134
|
+
**Category:** Commands
|
|
135
|
+
**Severity:** MAJOR
|
|
136
|
+
|
|
137
|
+
**Issue:**
|
|
138
|
+
Discuss-phase only covers primary domain; --auto warning too mild; plan-phase does
|
|
139
|
+
not resolve CONTEXT.md open questions.
|
|
140
|
+
|
|
141
|
+
**Recommendation:**
|
|
142
|
+
Support multi-domain question sets, strengthen auto warning, and update plan-phase
|
|
143
|
+
to read CONTEXT.md and resolve open questions before planning.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
## Finding 11 — MAJOR: Performance skill missing key guidance and caveats
|
|
147
|
+
|
|
148
|
+
**File:** .mindforge/skills/performance/SKILL.md
|
|
149
|
+
**Category:** Skill Content
|
|
150
|
+
**Severity:** MAJOR
|
|
151
|
+
|
|
152
|
+
**Issue:**
|
|
153
|
+
Missing DB result caching, pool sizing, SSR/SSG guidance. Latency targets and
|
|
154
|
+
cache TTLs are presented as universal instead of defaults.
|
|
155
|
+
|
|
156
|
+
**Recommendation:**
|
|
157
|
+
Add caveats and missing guidance.
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
## Finding 12 — MAJOR: Accessibility skill missing WCAG 2.2, focus order, reduced motion
|
|
161
|
+
|
|
162
|
+
**File:** .mindforge/skills/accessibility/SKILL.md
|
|
163
|
+
**Category:** Skill Content
|
|
164
|
+
**Severity:** MAJOR
|
|
165
|
+
|
|
166
|
+
**Issue:**
|
|
167
|
+
Missing WCAG 2.2 AA criteria, DOM vs visual focus order, ARIA required props
|
|
168
|
+
examples, and reduced-motion guidance.
|
|
169
|
+
|
|
170
|
+
**Recommendation:**
|
|
171
|
+
Add these sections and notes.
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
## Finding 13 — MAJOR: Data-privacy skill missing consent withdrawal and retention guidance
|
|
175
|
+
|
|
176
|
+
**File:** .mindforge/skills/data-privacy/SKILL.md
|
|
177
|
+
**Category:** Skill Content
|
|
178
|
+
**Severity:** MAJOR
|
|
179
|
+
|
|
180
|
+
**Issue:**
|
|
181
|
+
Missing consent withdrawal requirement, retention examples, erasure vs
|
|
182
|
+
anonymisation distinction, and language-agnostic note.
|
|
183
|
+
|
|
184
|
+
**Recommendation:**
|
|
185
|
+
Add these clarifications.
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
## Finding 14 — MAJOR: Incident-response skill missing author ownership and human approval
|
|
189
|
+
|
|
190
|
+
**File:** .mindforge/skills/incident-response/SKILL.md
|
|
191
|
+
**Category:** Skill Content
|
|
192
|
+
**Severity:** MAJOR
|
|
193
|
+
|
|
194
|
+
**Issue:**
|
|
195
|
+
Postmortem author ownership is unclear for AI draft; missing explicit human
|
|
196
|
+
approval for automated mitigations; monitoring section lacks instrumentation
|
|
197
|
+
placement.
|
|
198
|
+
|
|
199
|
+
**Recommendation:**
|
|
200
|
+
Clarify author ownership, require human approval for P0 automation, and
|
|
201
|
+
specify service-boundary instrumentation.
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
## Finding 15 — MAJOR: Database-patterns missing UUIDv7 guidance and SQL example
|
|
205
|
+
|
|
206
|
+
**File:** .mindforge/skills/database-patterns/SKILL.md
|
|
207
|
+
**Category:** Skill Content
|
|
208
|
+
**Severity:** MAJOR
|
|
209
|
+
|
|
210
|
+
**Issue:**
|
|
211
|
+
Missing UUIDv7/ULID guidance, no framework-agnostic SQL N+1 example, and no
|
|
212
|
+
transaction isolation guidance for financial operations.
|
|
213
|
+
|
|
214
|
+
**Recommendation:**
|
|
215
|
+
Add UUIDv7 guidance, SQL example, and SERIALIZABLE note.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
## Finding 16 — MAJOR: Tests missing stronger validations
|
|
219
|
+
|
|
220
|
+
**File:** tests/skills-platform.test.js
|
|
221
|
+
**Category:** Tests
|
|
222
|
+
**Severity:** MAJOR
|
|
223
|
+
|
|
224
|
+
**Issue:**
|
|
225
|
+
Trigger minimum too low, missing command content smoke tests, missing manifest
|
|
226
|
+
path validation, and missing loader ordering checks.
|
|
227
|
+
|
|
228
|
+
**Recommendation:**
|
|
229
|
+
Raise trigger minimum to 10, add content marker checks, add manifest path
|
|
230
|
+
resolution test, and add a loader ordering/priority check.
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
## Review Status
|
|
234
|
+
**NOT APPROVED** — fix BLOCKING and MAJOR findings above.
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to MindForge are documented here.
|
|
4
|
+
Format follows [Keep a Changelog](https://keepachangelog.com).
|
|
5
|
+
|
|
6
|
+
## [1.0.0] — v1.0.0 First Stable Public Release — 2026-03-22
|
|
7
|
+
|
|
8
|
+
🎉 **MindForge v1.0.0 — Enterprise Agentic Framework — First Stable Release**
|
|
9
|
+
Release published: v1.0.0 (GitHub Releases).
|
|
10
|
+
|
|
11
|
+
Built over 7 focused sprints, MindForge transforms Claude Code and Antigravity
|
|
12
|
+
from powerful-but-unstructured AI tools into production-grade engineering
|
|
13
|
+
partners with full governance, observability, and enterprise integration.
|
|
14
|
+
|
|
15
|
+
### What ships in v1.0.0
|
|
16
|
+
|
|
17
|
+
**36 commands** across 7 workflow categories
|
|
18
|
+
**10 core skill packs** with three-tier registry (Core/Org/Project)
|
|
19
|
+
**8 specialised agent personas** covering all engineering roles
|
|
20
|
+
**Wave-based parallel execution** with dependency graph and automatic compaction
|
|
21
|
+
**Enterprise integrations**: Jira, Confluence, Slack, GitHub, GitLab
|
|
22
|
+
**Three-tier governance**: Tier 1 (auto) / Tier 2 (peer review) / Tier 3 (compliance)
|
|
23
|
+
**Five non-bypassable compliance gates** (secret detection, CRITICAL findings, tests, CVEs, GDPR)
|
|
24
|
+
**Intelligence layer**: health engine, difficulty scorer, anti-pattern detector, team profiling
|
|
25
|
+
**Public skills registry**: npm-based `mindforge-skill-*` ecosystem
|
|
26
|
+
**CI/CD integration**: GitHub Actions, GitLab CI, Jenkins adapters
|
|
27
|
+
**@mindforge/sdk**: TypeScript SDK with client, event stream, and command builders
|
|
28
|
+
**Monorepo support**: npm/pnpm/Nx/Turborepo/Lerna workspace detection
|
|
29
|
+
**AI PR Review**: Claude API-powered code review with context loading
|
|
30
|
+
**Self-update mechanism**: version check, changelog diff, scope-preserving apply
|
|
31
|
+
**Version migration engine**: schema migration from v0.1.0 through v1.0.0
|
|
32
|
+
**Plugin system**: extensible via `mindforge-plugin-*` npm namespace
|
|
33
|
+
**Token usage optimiser**: profiling and efficiency strategies
|
|
34
|
+
**50-point production readiness checklist**: fully verified before this release
|
|
35
|
+
|
|
36
|
+
**20 Architecture Decision Records** documenting every major design choice
|
|
37
|
+
**15 test suites** with 3× consecutive run requirement
|
|
38
|
+
**Complete reference documentation**: commands, security, ADR index, threat model
|
|
39
|
+
|
|
40
|
+
### Stable interface contract
|
|
41
|
+
See ADR-020. All 36 commands, HANDOFF.json schema, AUDIT event types,
|
|
42
|
+
@mindforge/sdk exports, and plugin.json format are stable in 1.x.x.
|
|
43
|
+
|
|
44
|
+
### Breaking changes from 0.6.0
|
|
45
|
+
- VERIFY_PASS_RATE_WARNING_THRESHOLD in MINDFORGE.md is now 0.0-1.0 (was 0-100)
|
|
46
|
+
Run `/mindforge:migrate` to auto-convert
|
|
47
|
+
- AUDIT.jsonl session_id field is now required (auto-backfilled by migration)
|
|
48
|
+
- HANDOFF.json plugin_api_version field required for plugin compatibility
|
|
49
|
+
|
|
50
|
+
### Installation
|
|
51
|
+
```bash
|
|
52
|
+
npx mindforge-cc@latest
|
|
53
|
+
# or
|
|
54
|
+
npx mindforge-cc@1.0.0 --claude --global
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## [0.6.0] — Day 6 Distribution Platform
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
- Public skills registry: `npx mindforge-skills install/publish/search` (npm-based)
|
|
61
|
+
- Skill validator: 3-level validation schema (schema, content, quality)
|
|
62
|
+
- MINDFORGE.md JSON Schema: validation with non-overridable field markers
|
|
63
|
+
- MindForge CI mode: GitHub Actions / GitLab CI / Jenkins integration
|
|
64
|
+
- GitHub Actions workflow: health, security, quality, AI review jobs
|
|
65
|
+
- AI PR Review Engine: Claude API-powered code review with context loading
|
|
66
|
+
- Monorepo/workspace support: npm/pnpm/Nx/Turborepo/Lerna detection
|
|
67
|
+
- Cross-package planner: topological execution order for monorepo phases
|
|
68
|
+
- @mindforge/sdk: TypeScript SDK with client, event stream, and command builders
|
|
69
|
+
- SSE event stream: real-time progress events via Server-Sent Events
|
|
70
|
+
- /mindforge:init-org — organisation-wide MindForge setup command
|
|
71
|
+
- /mindforge:install-skill — install skill from public/private registry
|
|
72
|
+
- /mindforge:publish-skill — publish skill to npm registry
|
|
73
|
+
- /mindforge:pr-review — AI code review powered by Claude API
|
|
74
|
+
- /mindforge:workspace — monorepo workspace management
|
|
75
|
+
- /mindforge:benchmark — skill effectiveness benchmarking
|
|
76
|
+
- 3 new ADRs: ADR-015 npm registry, ADR-016 CI timeout, ADR-017 localhost SDK
|
|
77
|
+
|
|
78
|
+
### Hardened
|
|
79
|
+
- Registry: TOCTOU-safe temp directory (chmod 700), tarball size verification
|
|
80
|
+
- CI: timeout exits with code 0 (soft stop), clear Tier 3 block messages
|
|
81
|
+
- SDK: localhost-only SSE binding, Linux inotify fallback
|
|
82
|
+
- AI review: robust daily limit (parse error tolerant), file-based diff truncation
|
|
83
|
+
- Monorepo: affected package detection uses manifest paths (not depth assumption)
|
|
84
|
+
|
|
85
|
+
## [0.5.0] — Day 5 Intelligence Layer
|
|
86
|
+
|
|
87
|
+
### Added
|
|
88
|
+
- framework health engine with 7-category diagnostics and safe auto-repair guidance
|
|
89
|
+
- smart context compaction with Level 1/2/3 protocols and structured handoff extraction
|
|
90
|
+
- phase difficulty scorer with weighted composite and task-granularity feedback
|
|
91
|
+
- anti-pattern detection engine with false-positive controls for C01/B03/D01
|
|
92
|
+
- skill gap analyzer for pre-planning capability coverage checks
|
|
93
|
+
- team profile system and per-developer profile templates
|
|
94
|
+
- metrics schema and quality tracker (`session`, `phase`, `skill usage`, `compaction quality`)
|
|
95
|
+
- project constitution file: `MINDFORGE.md`
|
|
96
|
+
- setup wizard modules: environment detection, idempotent config generation, interactive flow
|
|
97
|
+
- 4 new commands: `/mindforge:health`, `/mindforge:retrospective`,
|
|
98
|
+
`/mindforge:profile-team`, `/mindforge:metrics`
|
|
99
|
+
- 3 ADRs: ADR-012, ADR-013, ADR-014
|
|
100
|
+
- new Day 5 test suites: `tests/intelligence.test.js`, `tests/metrics.test.js`
|
|
101
|
+
|
|
102
|
+
### Changed
|
|
103
|
+
- CLAUDE runtime contract now includes Day 5 intelligence behavior and
|
|
104
|
+
non-overridable MINDFORGE enforcement
|
|
105
|
+
- package entrypoint now points to setup wizard
|
|
106
|
+
|
|
107
|
+
### Fixed
|
|
108
|
+
- AUDIT corruption handling now quarantines invalid lines instead of deleting entries
|
|
109
|
+
- wizard reliability improvements: stdin TTY fallback, end-of-flow credential guidance,
|
|
110
|
+
and idempotent config replacement behavior
|
|
111
|
+
|
|
112
|
+
## [0.4.0] — Day 4 Enterprise Integrations and Governance
|
|
113
|
+
|
|
114
|
+
### Added
|
|
115
|
+
- enterprise integration specs for Jira, Confluence, Slack, GitHub, and GitLab
|
|
116
|
+
- integration connection manager with credential hygiene and retry guidance
|
|
117
|
+
- governance layer: change classification, approvals, and compliance gates
|
|
118
|
+
- multi-developer handoff and session merger protocols
|
|
119
|
+
- 6 new commands: `/mindforge:audit`, `/mindforge:milestone`,
|
|
120
|
+
`/mindforge:complete-milestone`, `/mindforge:approve`,
|
|
121
|
+
`/mindforge:sync-jira`, `/mindforge:sync-confluence`
|
|
122
|
+
- Day 4 test suites: `tests/integrations.test.js`, `tests/governance.test.js`
|
|
123
|
+
- enterprise setup and governance guide docs
|
|
124
|
+
|
|
125
|
+
### Changed
|
|
126
|
+
- README and CLAUDE entrypoint updated for enterprise governance workflows
|
|
127
|
+
- audit schema expanded for integration and governance events
|
|
128
|
+
|
|
129
|
+
### Fixed
|
|
130
|
+
- Jira transition handling now documents dynamic transition lookup instead of
|
|
131
|
+
hardcoded IDs
|
|
132
|
+
- governance tiering now covers code-content matches and audit-history escalation
|
|
133
|
+
|
|
134
|
+
## [0.3.0] — Day 3 Skills Platform
|
|
135
|
+
|
|
136
|
+
### Added
|
|
137
|
+
- 5 new core skill packs: performance, accessibility, data-privacy,
|
|
138
|
+
incident-response, database-patterns
|
|
139
|
+
- Skills distribution engine: registry, loader, versioning, conflict resolver
|
|
140
|
+
- 5 new commands: /mindforge:skills, /mindforge:review, /mindforge:security-scan,
|
|
141
|
+
/mindforge:map-codebase, /mindforge:discuss-phase
|
|
142
|
+
- Persona customisation override system (project and phase level)
|
|
143
|
+
- Skills Manifest (MANIFEST.md) with tier-based registration
|
|
144
|
+
- Skills Authoring Guide for creating org and project skills
|
|
145
|
+
- Injection guard for Tier 2/3 skill validation
|
|
146
|
+
|
|
147
|
+
### Changed
|
|
148
|
+
- execute-phase now uses multi-tier skills loading
|
|
149
|
+
- plan-phase now reads CONTEXT.md from discuss-phase if available
|
|
150
|
+
- CLAUDE.md updated with skills platform and new command awareness
|
|
151
|
+
|
|
152
|
+
### Fixed
|
|
153
|
+
- cursor pagination correctness in database-patterns skill (compound cursor)
|
|
154
|
+
|
|
155
|
+
## [0.2.0] — Day 2 Wave Engine
|
|
156
|
+
|
|
157
|
+
### Added
|
|
158
|
+
- Wave-based parallel execution engine
|
|
159
|
+
- Dependency parser and wave grouper
|
|
160
|
+
- Context injector with minimum-context principle
|
|
161
|
+
- Compaction protocol (automated at 70% context)
|
|
162
|
+
- AUDIT.jsonl append-only pipeline with full schema
|
|
163
|
+
- 4 new commands: /mindforge:next, /mindforge:quick, /mindforge:status, /mindforge:debug
|
|
164
|
+
|
|
165
|
+
## [0.1.0] — Day 1 Foundation
|
|
166
|
+
|
|
167
|
+
### Added
|
|
168
|
+
- Core directory scaffold
|
|
169
|
+
- CLAUDE.md agent entry point
|
|
170
|
+
- 8 agent persona definitions
|
|
171
|
+
- 5 initial core skill packs
|
|
172
|
+
- 6 slash commands: help, init-project, plan-phase, execute-phase, verify-phase, ship
|
|
173
|
+
- npm installer (npx mindforge-cc)
|
|
174
|
+
- State management: STATE.md, HANDOFF.json
|
|
175
|
+
- Org context templates: ORG.md, CONVENTIONS.md, SECURITY.md, TOOLS.md
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 [Your name]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/MINDFORGE.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# MINDFORGE.md — Project Constitution
|
|
2
|
+
|
|
3
|
+
## NON-OVERRIDABLE RULES (read-only — these cannot be changed in MINDFORGE.md)
|
|
4
|
+
|
|
5
|
+
The following CLAUDE.md behaviors are governance primitives and cannot be
|
|
6
|
+
disabled or overridden by MINDFORGE.md:
|
|
7
|
+
|
|
8
|
+
- Security auto-trigger for auth/payment/PII changes
|
|
9
|
+
- Plan-first rule (no implementation without a PLAN)
|
|
10
|
+
- Secret detection gate
|
|
11
|
+
- AUDIT writing requirement
|
|
12
|
+
- Critical security and secret-related quality gates
|
|
13
|
+
|
|
14
|
+
Any attempted override is ignored and logged.
|
|
15
|
+
|
|
16
|
+
## Parsing rule for multiline values
|
|
17
|
+
Values wrapped in triple quotes are parsed as a verbatim multi-line string from
|
|
18
|
+
the first `"""` to the next `"""`.
|
|
19
|
+
|
|
20
|
+
## Model validation
|
|
21
|
+
If a configured model is unavailable, fallback to `inherit` and warn.
|
|
22
|
+
|
|
23
|
+
## Project identity
|
|
24
|
+
NAME=MindForge
|
|
25
|
+
VERSION=1.0.0
|
|
26
|
+
DESCRIPTION=Enterprise agentic framework with intelligence and observability layer
|
|
27
|
+
MINDFORGE_VERSION_REQUIRED=1.0.0
|
|
28
|
+
|
|
29
|
+
## Model preferences
|
|
30
|
+
PLANNER_MODEL=claude-opus-4-5
|
|
31
|
+
EXECUTOR_MODEL=claude-sonnet-4-5
|
|
32
|
+
REVIEWER_MODEL=claude-sonnet-4-5
|
|
33
|
+
VERIFIER_MODEL=claude-sonnet-4-5
|
|
34
|
+
SECURITY_MODEL=claude-opus-4-5
|
|
35
|
+
DEBUG_MODEL=claude-opus-4-5
|
|
36
|
+
|
|
37
|
+
## Execution behavior
|
|
38
|
+
TIER1_AUTO_APPROVE=true
|
|
39
|
+
WAVE_CONFIRMATION_REQUIRED=false
|
|
40
|
+
AUTO_DISCUSS_PHASE=false
|
|
41
|
+
VERIFY_PASS_RATE_WARNING_THRESHOLD=0.75
|
|
42
|
+
COMPACTION_THRESHOLD_PCT=70
|
|
43
|
+
MAX_TASKS_PER_PHASE=15
|
|
44
|
+
|
|
45
|
+
## Quality standards
|
|
46
|
+
MIN_TEST_COVERAGE_PCT=80
|
|
47
|
+
MAX_FUNCTION_LINES=40
|
|
48
|
+
MAX_CYCLOMATIC_COMPLEXITY=10
|
|
49
|
+
REQUIRE_ADR_FOR_ALL_DECISIONS=false
|
|
50
|
+
BLOCK_ON_MEDIUM_SECURITY_FINDINGS=false
|
|
51
|
+
|
|
52
|
+
## Skills behavior
|
|
53
|
+
ALWAYS_LOAD_SKILLS=security-review
|
|
54
|
+
DISABLED_SKILLS=
|
|
55
|
+
MAX_FULL_SKILL_INJECTIONS=3
|
|
56
|
+
|
|
57
|
+
## Governance
|
|
58
|
+
DISCUSS_PHASE_REQUIRED_ABOVE_DIFFICULTY=3.5
|
|
59
|
+
ANTIPATTERN_SENSITIVITY=standard
|
|
60
|
+
BLOCK_ON_HIGH_ANTIPATTERNS=false
|
|
61
|
+
|
|
62
|
+
## Project-specific agent instructions
|
|
63
|
+
ADDITIONAL_AGENT_INSTRUCTIONS="""
|
|
64
|
+
- Check packages/shared before creating utilities.
|
|
65
|
+
- Backend middleware semantics follow Fastify conventions.
|
|
66
|
+
- Keep dependency direction one-way from frontend to backend APIs.
|
|
67
|
+
- Prefer date-fns for date manipulation.
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
## Project-specific forbidden patterns
|
|
71
|
+
PROJECT_FORBIDDEN_PATTERNS="""
|
|
72
|
+
- No direct DB access from frontend packages
|
|
73
|
+
- No synchronous I/O in API handlers
|
|
74
|
+
- No console.log in API services
|
|
75
|
+
- No TODO comments in committed code
|
|
76
|
+
"""
|
package/README.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# MindForge — Enterprise Agentic Framework (v1.0.0)
|
|
2
|
+
|
|
3
|
+
MindForge turns Claude Code and Antigravity into production-grade engineering
|
|
4
|
+
partners with governance, observability, and a disciplined workflow engine.
|
|
5
|
+
Release published: v1.0.0 (GitHub Releases).
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx mindforge-cc@latest
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Why MindForge
|
|
14
|
+
AI coding agents degrade over long sessions. Context fills up. Quality drops.
|
|
15
|
+
Decisions get forgotten. MindForge fixes that with:
|
|
16
|
+
|
|
17
|
+
- **Context engineering** — structured project state, always current
|
|
18
|
+
- **Role personas** — specialised agent modes for each task type
|
|
19
|
+
- **Skills** — just-in-time domain knowledge loaded on demand
|
|
20
|
+
- **Wave execution** — parallelism with dependency safety
|
|
21
|
+
- **Quality gates** — compliance and security are non-bypassable
|
|
22
|
+
- **Audit trail** — append-only history of every action
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Install
|
|
27
|
+
|
|
28
|
+
### Claude Code (global)
|
|
29
|
+
```bash
|
|
30
|
+
npx mindforge-cc@latest --claude --global
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Claude Code (local)
|
|
34
|
+
```bash
|
|
35
|
+
npx mindforge-cc@latest --claude --local
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Antigravity
|
|
39
|
+
```bash
|
|
40
|
+
npx mindforge-cc@latest --antigravity --global
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Both runtimes
|
|
44
|
+
```bash
|
|
45
|
+
npx mindforge-cc@latest --all --global
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Verify
|
|
51
|
+
Open Claude Code or Antigravity in your project directory and run:
|
|
52
|
+
```
|
|
53
|
+
/mindforge:health
|
|
54
|
+
```
|
|
55
|
+
If issues are found, run:
|
|
56
|
+
```
|
|
57
|
+
/mindforge:health --repair
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Quick start (new project)
|
|
63
|
+
```
|
|
64
|
+
/mindforge:init-project
|
|
65
|
+
/mindforge:plan-phase 1
|
|
66
|
+
/mindforge:execute-phase 1
|
|
67
|
+
/mindforge:verify-phase 1
|
|
68
|
+
/mindforge:ship 1
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Quick start (existing codebase)
|
|
72
|
+
```
|
|
73
|
+
/mindforge:map-codebase
|
|
74
|
+
/mindforge:plan-phase 1
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Core workflow
|
|
80
|
+
```
|
|
81
|
+
/ mindforge:init-project
|
|
82
|
+
→ Requirements interview
|
|
83
|
+
→ Creates PROJECT.md, REQUIREMENTS.md, STATE.md
|
|
84
|
+
|
|
85
|
+
/ mindforge:plan-phase 1
|
|
86
|
+
→ Discuss scope and decisions
|
|
87
|
+
→ Research domain (parallel)
|
|
88
|
+
→ Create atomic XML task plans
|
|
89
|
+
|
|
90
|
+
/ mindforge:execute-phase 1
|
|
91
|
+
→ Wave-based parallel execution
|
|
92
|
+
→ One commit per task
|
|
93
|
+
→ Automated verification
|
|
94
|
+
|
|
95
|
+
/ mindforge:verify-phase 1
|
|
96
|
+
→ Human acceptance testing
|
|
97
|
+
→ Debug agent on failures
|
|
98
|
+
→ UAT sign-off
|
|
99
|
+
|
|
100
|
+
/ mindforge:ship 1
|
|
101
|
+
→ Changelog generation
|
|
102
|
+
→ Final quality gates
|
|
103
|
+
→ PR creation
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Updates and migrations
|
|
109
|
+
```
|
|
110
|
+
/mindforge:update
|
|
111
|
+
/mindforge:update --apply
|
|
112
|
+
/mindforge:migrate --from v0.6.0 --to v1.0.0
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Plugin system (v1.0.0)
|
|
118
|
+
Plugins extend MindForge via the `mindforge-plugin-*` namespace.
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
/mindforge:plugins list
|
|
122
|
+
/mindforge:plugins install mindforge-plugin-<name>
|
|
123
|
+
/mindforge:plugins validate
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## Token usage profiling
|
|
129
|
+
```
|
|
130
|
+
/mindforge:tokens --profile
|
|
131
|
+
```
|
|
132
|
+
See `.mindforge/production/token-optimiser.md`.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Documentation
|
|
137
|
+
- **User Guide:** `docs/user-guide.md`
|
|
138
|
+
- **Troubleshooting:** `docs/troubleshooting.md`
|
|
139
|
+
- **CI Quickstart:** `docs/ci-quickstart.md`
|
|
140
|
+
- **Requirements:** `docs/requirements.md`
|
|
141
|
+
- **Quick verify:** `docs/quick-verify.md`
|
|
142
|
+
- **Upgrade guide:** `docs/upgrade.md`
|
|
143
|
+
- **FAQ:** `docs/faq.md`
|
|
144
|
+
- **Release notes:** `RELEASENOTES.md`
|
|
145
|
+
- **Release checklist guide:** `docs/release-checklist-guide.md`
|
|
146
|
+
- **USPs and features:** `docs/usp-features.md`
|
|
147
|
+
- **Full tutorial:** `docs/tutorial.md`
|
|
148
|
+
- **Commands:** `docs/reference/commands.md`
|
|
149
|
+
- **Config reference:** `docs/reference/config-reference.md`
|
|
150
|
+
- **SDK:** `docs/reference/sdk-api.md`
|
|
151
|
+
- **Skills:** `docs/reference/skills-api.md`
|
|
152
|
+
- **Audit events:** `docs/reference/audit-events.md`
|
|
153
|
+
- **Security:** `docs/security/SECURITY.md`
|
|
154
|
+
- **Threat model:** `docs/security/threat-model.md`
|
|
155
|
+
- **Architecture:** `docs/architecture/README.md`
|
|
156
|
+
- **Contributing:** `docs/contributing/CONTRIBUTING.md`
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## What ships in v1.0.0
|
|
161
|
+
- 36 commands across 7 workflow categories
|
|
162
|
+
- 10 core skill packs with a three-tier registry (Core/Org/Project)
|
|
163
|
+
- 8 specialised agent personas
|
|
164
|
+
- Wave-based execution with dependency graph and compaction
|
|
165
|
+
- Enterprise integrations: Jira, Confluence, Slack, GitHub, GitLab
|
|
166
|
+
- Three-tier governance with 5 non-bypassable compliance gates
|
|
167
|
+
- Intelligence layer: health engine, difficulty scoring, anti-pattern detection
|
|
168
|
+
- Public skills registry and plugin system
|
|
169
|
+
- @mindforge/sdk with event stream and command builders
|
|
170
|
+
- 15 test suites, production checklist, and threat model
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Security
|
|
175
|
+
MindForge never stores credentials in files. Review:
|
|
176
|
+
- `docs/security/SECURITY.md`
|
|
177
|
+
- `docs/security/threat-model.md`
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## License
|
|
182
|
+
MIT
|