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,288 @@
|
|
|
1
|
+
# MindForge — Day 1 Review Prompt
|
|
2
|
+
# Branch: `feat/mindforge-core-scaffold`
|
|
3
|
+
# Run this AFTER DAY1-IMPLEMENT.md is complete
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## CONTEXT
|
|
8
|
+
|
|
9
|
+
You are performing a **Day 1 Code & Architecture Review** of the MindForge enterprise
|
|
10
|
+
agentic framework foundation. This is not a quick scan. This is a thorough, adversarial
|
|
11
|
+
review that catches problems before they become load-bearing architectural mistakes.
|
|
12
|
+
|
|
13
|
+
Activate the **`architect.md` + `qa-engineer.md` + `security-reviewer.md`** personas
|
|
14
|
+
simultaneously for this review. Think as all three at once.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## REVIEW SCOPE
|
|
19
|
+
|
|
20
|
+
Every file created in Day 1:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
.claude/CLAUDE.md
|
|
24
|
+
.agent/CLAUDE.md
|
|
25
|
+
.claude/commands/mindforge/*.md (6 files)
|
|
26
|
+
.agent/mindforge/*.md (6 files)
|
|
27
|
+
.mindforge/personas/*.md (8 files)
|
|
28
|
+
.mindforge/skills/*/SKILL.md (5 files)
|
|
29
|
+
.mindforge/org/*.md (4 files)
|
|
30
|
+
.planning/STATE.md
|
|
31
|
+
.planning/HANDOFF.json
|
|
32
|
+
bin/install.js
|
|
33
|
+
package.json
|
|
34
|
+
README.md
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## REVIEW PASS 1 — Structural Integrity
|
|
40
|
+
|
|
41
|
+
Answer every question. If the answer is "no" or "unclear", flag it as a finding.
|
|
42
|
+
|
|
43
|
+
### Directory structure
|
|
44
|
+
- [ ] Does every directory from the scaffold exist exactly as specified?
|
|
45
|
+
- [ ] Are `.claude/commands/mindforge/` and `.agent/mindforge/` identical in content?
|
|
46
|
+
- [ ] Is `.planning/` structured so it will not be accidentally committed with sensitive data?
|
|
47
|
+
- [ ] Are all 8 persona files present in `.mindforge/personas/`?
|
|
48
|
+
- [ ] Are all 5 skill packs present with `SKILL.md` files in `.mindforge/skills/`?
|
|
49
|
+
|
|
50
|
+
### CLAUDE.md — agent entry point
|
|
51
|
+
Read `.claude/CLAUDE.md` completely. Verify:
|
|
52
|
+
- [ ] **Session start protocol** lists exactly the right files in the right order
|
|
53
|
+
- [ ] **Skills discovery** section explains how trigger matching works
|
|
54
|
+
- [ ] **Persona activation table** covers all 8 personas with no gaps
|
|
55
|
+
- [ ] **Plan-first rule** is unambiguous — is there any path to skip it?
|
|
56
|
+
- [ ] **Execution rules** are numbered and actionable (not vague)
|
|
57
|
+
- [ ] **Context window management** explains the 70% threshold clearly
|
|
58
|
+
- [ ] **Quality gates** are checkboxes that agents can verify mechanically
|
|
59
|
+
- [ ] **Security auto-trigger** list is comprehensive (does it miss any sensitive category?)
|
|
60
|
+
- [ ] **State artifacts table** maps every artifact to its update condition precisely
|
|
61
|
+
- [ ] The file reads as a system prompt, not as documentation — is the voice directive?
|
|
62
|
+
|
|
63
|
+
Flag any sentence that is ambiguous. An agent must be able to follow every
|
|
64
|
+
instruction without asking for clarification.
|
|
65
|
+
|
|
66
|
+
### Persona files
|
|
67
|
+
Read all 8 persona files. For each, verify:
|
|
68
|
+
- [ ] **Identity** — clear, specific role with domain expertise stated
|
|
69
|
+
- [ ] **Cognitive mode** — does it meaningfully differentiate from default AI behaviour?
|
|
70
|
+
- [ ] **Pre-task checklist** — are all items actually checkable before starting?
|
|
71
|
+
- [ ] **Execution standards** — are these specific enough to enforce? (No "good quality" vagueness)
|
|
72
|
+
- [ ] **Primary outputs** — are file paths specified precisely?
|
|
73
|
+
- [ ] **Definition of done** — is it binary? (Pass/fail, not "mostly done")
|
|
74
|
+
- [ ] **Escalation conditions** — does the persona know when to stop vs. continue?
|
|
75
|
+
|
|
76
|
+
Specific checks:
|
|
77
|
+
- `developer.md`: Does it forbid scope expansion explicitly?
|
|
78
|
+
- `security-reviewer.md`: Does the OWASP checklist cover all 10 categories?
|
|
79
|
+
- `debug-specialist.md`: Is the debug protocol linear enough to follow without judgment calls?
|
|
80
|
+
- `release-manager.md`: Does it block releases with open CRITICAL findings?
|
|
81
|
+
|
|
82
|
+
### Skill pack files
|
|
83
|
+
Read all 5 `SKILL.md` files. For each, verify:
|
|
84
|
+
- [ ] Frontmatter has `name:`, `version:`, and `triggers:` fields
|
|
85
|
+
- [ ] Trigger keywords are comprehensive (would they catch the common invocations?)
|
|
86
|
+
- [ ] The skill's mandatory actions are step-by-step, not principles-only
|
|
87
|
+
- [ ] Code examples in skills are syntactically correct
|
|
88
|
+
- [ ] Skills do not contradict each other (e.g., two skills giving conflicting guidance)
|
|
89
|
+
|
|
90
|
+
### Slash command files
|
|
91
|
+
Read all 6 command files. For each, verify:
|
|
92
|
+
- [ ] Every command has a pre-check that prevents execution in the wrong state
|
|
93
|
+
- [ ] Commands produce artefacts (files) — not just output to the terminal
|
|
94
|
+
- [ ] `init-project` creates all required `.planning/` files
|
|
95
|
+
- [ ] `plan-phase` creates properly-structured XML plan files
|
|
96
|
+
- [ ] `execute-phase` handles the case where plans have dependencies
|
|
97
|
+
- [ ] `verify-phase` has an explicit path for handling failures (not just happy path)
|
|
98
|
+
- [ ] `ship` runs actual quality gates and stops if any fail
|
|
99
|
+
- [ ] Every command updates `STATE.md` as its final step
|
|
100
|
+
|
|
101
|
+
**Specific gap check for `execute-phase`:**
|
|
102
|
+
Does it handle these edge cases?
|
|
103
|
+
- [ ] What happens if a plan's `<verify>` step fails midway through a phase?
|
|
104
|
+
- [ ] What happens if a plan file has malformed XML?
|
|
105
|
+
- [ ] What happens if the test suite does not exist yet?
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## REVIEW PASS 2 — Content Quality
|
|
110
|
+
|
|
111
|
+
### CLAUDE.md — instruction quality audit
|
|
112
|
+
Read every instruction in CLAUDE.md and flag any that are:
|
|
113
|
+
|
|
114
|
+
**Too vague** (cannot be mechanically followed):
|
|
115
|
+
- Example of vague: "Write high quality code"
|
|
116
|
+
- Example of specific: "Functions must be ≤ 40 lines. Extract sub-functions if longer."
|
|
117
|
+
|
|
118
|
+
**Conflicting** (two instructions that can produce different behaviour):
|
|
119
|
+
- Check: does the "plan-first rule" conflict with the `quick` command flow?
|
|
120
|
+
- Check: does "context compaction at 70%" conflict with any other session management rule?
|
|
121
|
+
|
|
122
|
+
**Missing** (a scenario an agent will encounter that no instruction covers):
|
|
123
|
+
- What does the agent do if HANDOFF.json is corrupt or unreadable?
|
|
124
|
+
- What does the agent do if a PLAN file references a file that does not exist?
|
|
125
|
+
- What does the agent do if the user asks it to skip a quality gate?
|
|
126
|
+
|
|
127
|
+
### Persona coherence check
|
|
128
|
+
For each persona, ask: "Would two different AI agents reading this persona file
|
|
129
|
+
behave the same way on the same task?"
|
|
130
|
+
|
|
131
|
+
If the answer is "probably not", the persona is underspecified. Flag it with
|
|
132
|
+
specific lines that need more precision.
|
|
133
|
+
|
|
134
|
+
### Org template completeness
|
|
135
|
+
Read `.mindforge/org/ORG.md`, `CONVENTIONS.md`, `SECURITY.md`, `TOOLS.md`.
|
|
136
|
+
|
|
137
|
+
- [ ] Are placeholder comments clear enough that a new team could fill them in 30 minutes?
|
|
138
|
+
- [ ] Does `SECURITY.md` cover all the categories that `security-reviewer.md` checks against?
|
|
139
|
+
- [ ] Does `CONVENTIONS.md` forbid patterns that `developer.md` promises to forbid?
|
|
140
|
+
- [ ] Does `TOOLS.md` reference the same libraries used in skill pack examples?
|
|
141
|
+
|
|
142
|
+
If there is a mismatch between any persona/skill and the org templates — flag it.
|
|
143
|
+
These files must be internally consistent.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## REVIEW PASS 3 — Security Review
|
|
148
|
+
|
|
149
|
+
Activate `security-reviewer.md` persona fully for this pass.
|
|
150
|
+
|
|
151
|
+
### CLAUDE.md security review
|
|
152
|
+
- [ ] Does the security auto-trigger list include all OWASP A01-A10 relevant categories?
|
|
153
|
+
- [ ] Does the quality gate list include secret detection explicitly?
|
|
154
|
+
- [ ] Is there any instruction in CLAUDE.md that could be used to bypass a security check?
|
|
155
|
+
(e.g., "skip verification if pressed for time" — this must not exist anywhere)
|
|
156
|
+
|
|
157
|
+
### `bin/install.js` security review
|
|
158
|
+
Read the installer code. Check:
|
|
159
|
+
- [ ] Does it validate that source paths exist before copying?
|
|
160
|
+
- [ ] Does it handle `process.env.HOME` being undefined (Windows)?
|
|
161
|
+
- [ ] Does it avoid `eval()`, `exec()`, or shell injection vectors?
|
|
162
|
+
- [ ] Does it print what it will do before doing it (no silent mutations)?
|
|
163
|
+
- [ ] Does it handle the case where the target directory has different permissions?
|
|
164
|
+
- [ ] Are there any path traversal risks? (e.g., if `--target` flag is added later)
|
|
165
|
+
|
|
166
|
+
### `HANDOFF.json` schema review
|
|
167
|
+
- [ ] Does the schema include a `schema_version` field for future migration?
|
|
168
|
+
- [ ] Are all fields typed clearly in the template?
|
|
169
|
+
- [ ] Could sensitive data (tokens, passwords) accidentally end up in this file?
|
|
170
|
+
If yes: add an explicit note in the schema that secrets must never be written here.
|
|
171
|
+
|
|
172
|
+
### `.gitignore` review
|
|
173
|
+
- [ ] Does it exclude `.env` and `.env.*`?
|
|
174
|
+
- [ ] Does it exclude `node_modules/`?
|
|
175
|
+
- [ ] Does it exclude any `*.key` or `*.pem` patterns?
|
|
176
|
+
- [ ] Should `.planning/HANDOFF.json` be gitignored? (It may contain session-specific data)
|
|
177
|
+
Decision needed: should HANDOFF.json be tracked (for team continuity) or gitignored
|
|
178
|
+
(for privacy)? Recommend a position and add to `.planning/decisions/ADR-001-handoff-tracking.md`.
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## REVIEW PASS 4 — Installer Quality
|
|
183
|
+
|
|
184
|
+
Read `bin/install.js` end-to-end.
|
|
185
|
+
|
|
186
|
+
- [ ] Does it correctly identify global vs local install paths for both runtimes?
|
|
187
|
+
- [ ] Does it handle Windows paths correctly? (`path.join` should do this — verify)
|
|
188
|
+
- [ ] Does it mirror `.claude/commands/mindforge/` to `.agent/mindforge/` correctly?
|
|
189
|
+
- [ ] Does the uninstall path only remove MindForge files, not the user's existing config?
|
|
190
|
+
(Check: it should only remove `CLAUDE.md` if it contains the MindForge marker)
|
|
191
|
+
- [ ] Does it print clear, actionable output so the user knows what happened?
|
|
192
|
+
- [ ] Does the "next steps" output match the actual first commands the user should run?
|
|
193
|
+
|
|
194
|
+
Test the installer mentally for these scenarios:
|
|
195
|
+
1. Fresh install on a machine with no `.claude/` directory
|
|
196
|
+
2. Install in a project that already has a `.claude/CLAUDE.md` from another framework
|
|
197
|
+
3. Re-install after already installed (should it overwrite? merge? skip?)
|
|
198
|
+
4. Uninstall when nothing is installed
|
|
199
|
+
|
|
200
|
+
For any scenario without a clear answer in the code: flag it.
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## REVIEW PASS 5 — README and Docs
|
|
205
|
+
|
|
206
|
+
- [ ] Can a developer who has never heard of MindForge install and run it in under 5 minutes
|
|
207
|
+
by following only the README?
|
|
208
|
+
- [ ] Does the README explain WHY MindForge exists (the problem), not just WHAT it does?
|
|
209
|
+
- [ ] Are all command examples in the README actually correct?
|
|
210
|
+
- [ ] Does the "How it works" section accurately reflect what the commands actually do?
|
|
211
|
+
- [ ] Is there a section covering how to configure `.mindforge/org/ORG.md`?
|
|
212
|
+
(If not: this is a missing step — first-time users will not know to do this)
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## REVIEW PASS 6 — Git History Quality
|
|
217
|
+
|
|
218
|
+
Run: `git log --oneline`
|
|
219
|
+
|
|
220
|
+
Verify:
|
|
221
|
+
- [ ] Every commit message follows Conventional Commits format
|
|
222
|
+
- [ ] Commit messages describe WHAT changed, not HOW ("add 8 persona files"
|
|
223
|
+
not "created files in personas directory")
|
|
224
|
+
- [ ] There are no "WIP", "temp", "fix", or "update" commits
|
|
225
|
+
- [ ] The number of commits matches the number of tasks (roughly 1 commit per task)
|
|
226
|
+
- [ ] No commit contains changes to files from a different task's scope
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## REVIEW OUTPUT FORMAT
|
|
231
|
+
|
|
232
|
+
For each finding, write it in this format:
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
## Finding [N] — [Severity]: [Short title]
|
|
236
|
+
|
|
237
|
+
**File:** [path/to/file.md line N]
|
|
238
|
+
**Category:** [Structural / Content / Security / Installer / Docs / Git]
|
|
239
|
+
**Severity:** BLOCKING | MAJOR | MINOR | SUGGESTION
|
|
240
|
+
|
|
241
|
+
**Issue:**
|
|
242
|
+
[What is wrong or missing. Be specific.]
|
|
243
|
+
|
|
244
|
+
**Impact:**
|
|
245
|
+
[What will break or go wrong if this is not fixed.]
|
|
246
|
+
|
|
247
|
+
**Recommendation:**
|
|
248
|
+
[Exact change to make. Be prescriptive.]
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Severity definitions:
|
|
252
|
+
- **BLOCKING** — Must be fixed before any work continues. Framework will not function correctly.
|
|
253
|
+
- **MAJOR** — Must be fixed before Day 1 branch is merged. Significant quality or security issue.
|
|
254
|
+
- **MINOR** — Should be fixed in Day 1 or Day 2. Improvement but not blocking.
|
|
255
|
+
- **SUGGESTION** — Optional improvement. Flag for backlog.
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## REVIEW SUMMARY
|
|
260
|
+
|
|
261
|
+
After all findings, write a summary table:
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
## Review Summary
|
|
265
|
+
|
|
266
|
+
| Category | BLOCKING | MAJOR | MINOR | SUGGESTION |
|
|
267
|
+
|-------------|----------|-------|-------|------------|
|
|
268
|
+
| Structural | | | | |
|
|
269
|
+
| Content | | | | |
|
|
270
|
+
| Security | | | | |
|
|
271
|
+
| Installer | | | | |
|
|
272
|
+
| Docs | | | | |
|
|
273
|
+
| Git History | | | | |
|
|
274
|
+
| **TOTAL** | | | | |
|
|
275
|
+
|
|
276
|
+
## Verdict
|
|
277
|
+
[ ] ✅ APPROVED — No blocking or major findings. Proceed to DAY1-HARDEN.md.
|
|
278
|
+
[ ] ⚠️ APPROVED WITH CONDITIONS — [N] major findings. Fix before hardening.
|
|
279
|
+
[ ] ❌ NOT APPROVED — [N] blocking findings. Fix and re-review.
|
|
280
|
+
|
|
281
|
+
## Estimated fix time
|
|
282
|
+
[Realistic time estimate to resolve all BLOCKING and MAJOR findings]
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
**Branch:** `feat/mindforge-core-scaffold`
|
|
288
|
+
**After review is complete and all BLOCKING items resolved: proceed to DAY1-HARDEN.md.**
|