mindforge-cc 11.9.7 → 11.9.9

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.
Files changed (63) hide show
  1. package/.agent/mindforge/health.md +7 -4
  2. package/.agent/mindforge/help.md +9 -5
  3. package/.agent/mindforge/install-skill.md +8 -6
  4. package/.agent/mindforge/marketplace.md +6 -0
  5. package/.agent/mindforge/security-scan.md +9 -4
  6. package/.agent/mindforge/skills-index.md +1 -1
  7. package/.agent/mindforge/status.md +5 -4
  8. package/.agent/skills/mindforge-join-discord/SKILL.md +9 -6
  9. package/.claude/commands/mindforge/health.md +7 -4
  10. package/.claude/commands/mindforge/help.md +9 -5
  11. package/.claude/commands/mindforge/install-skill.md +8 -6
  12. package/.claude/commands/mindforge/marketplace.md +6 -0
  13. package/.claude/commands/mindforge/security-scan.md +9 -4
  14. package/.claude/commands/mindforge/skills-index.md +1 -1
  15. package/.claude/commands/mindforge/status.md +5 -4
  16. package/.mindforge/config.json +1 -1
  17. package/.mindforge/dynamic-workflows/scripts/feature-planner.js +12 -0
  18. package/.mindforge/dynamic-workflows/scripts/incident-response.js +6 -0
  19. package/.mindforge/dynamic-workflows/scripts/onboard-codebase.js +9 -0
  20. package/.mindforge/dynamic-workflows/scripts/perf-optimize.js +6 -0
  21. package/.mindforge/dynamic-workflows/scripts/refactor-plan.js +3 -0
  22. package/.mindforge/dynamic-workflows/scripts/release-prep.js +9 -0
  23. package/.mindforge/dynamic-workflows/scripts/tdd-sprint.js +12 -0
  24. package/.mindforge/dynamic-workflows/scripts/verification-loop.js +6 -0
  25. package/.mindforge/org/skills/MANIFEST.md +32 -0
  26. package/.mindforge/personas/mf-executor.md +1 -1
  27. package/.mindforge/personas/mf-memory.md +1 -1
  28. package/.mindforge/personas/mf-tool.md +1 -1
  29. package/.mindforge/personas/swarm-templates.json +10 -20
  30. package/CHANGELOG.md +108 -0
  31. package/MINDFORGE-AGENTIC-SECURITY.md +189 -0
  32. package/MINDFORGE.md +2 -2
  33. package/README.md +271 -80
  34. package/RELEASENOTES.md +57 -0
  35. package/SECURITY.md +3 -2
  36. package/bin/governance/audit-verifier.js +12 -3
  37. package/bin/installer/harness-adapter-compliance.js +1 -1
  38. package/bin/installer-core.js +65 -8
  39. package/bin/mindforge-cli.js +2 -2
  40. package/bin/verify-audit.js +7 -1
  41. package/bin/wizard/theme.js +1 -1
  42. package/changelogs/v11.9.8.md +51 -0
  43. package/changelogs/v11.9.9.md +59 -0
  44. package/docs/References/commands.md +2 -2
  45. package/docs/References/config-reference.md +20 -35
  46. package/docs/References/sdk-api.md +10 -4
  47. package/docs/References/skills-api.md +9 -7
  48. package/docs/commands-reference.md +2 -2
  49. package/docs/faq.md +10 -7
  50. package/docs/getting-started.md +10 -4
  51. package/docs/sdk-reference.md +3 -3
  52. package/docs/security/SECURITY.md +14 -0
  53. package/docs/security/ZTAI-OVERVIEW.md +53 -0
  54. package/docs/security/penetration-test-results.md +36 -0
  55. package/docs/security/threat-model.md +148 -0
  56. package/docs/troubleshooting.md +14 -10
  57. package/docs/user-guide.md +12 -8
  58. package/docs/usp-features.md +60 -0
  59. package/package.json +4 -1
  60. package/subagents/README.md +38 -0
  61. package/.agent/skills/godmode/SKILL.md +0 -396
  62. package/.agent/skills/godmode/references/jailbreak-templates.md +0 -128
  63. package/.agent/skills/godmode/references/refusal-detection.md +0 -142
@@ -0,0 +1,53 @@
1
+ # Zero-Trust Agentic Identity (ZTAI) Overview
2
+
3
+ > **STATUS: DESIGN DOCUMENT — NOT SHIPPED BEHAVIOUR.**
4
+ >
5
+ > Everything below describes an intended architecture. Measured against a live install:
6
+ >
7
+ > | Claim in this document | Reality |
8
+ > |---|---|
9
+ > | every agent action is cryptographically signed | **0 of 3116** audit entries carry a `signature` or `did` field |
10
+ > | per-persona Ed25519 keypairs at spawn | `ztai-manager.js` can generate them; nothing calls it in a normal run |
11
+ > | `.mindforge/identity` vault | not created by any install |
12
+ > | every 50 entries triggers a Merkle-root | not a Merkle root — a linear cumulative fold — and nothing triggers it: `.planning/audit-archive/` contains only `.gitkeep`, the archiver has no caller outside tests |
13
+ > | Merkle-root chain | `ztai-archiver.js:57` sets `merkleRoot: cumulativeHash` — a linear chain hash, not a hash tree |
14
+ >
15
+ > `ENABLE_ZTAI` has no readers in `bin/`. What IS real and independently verifiable is the SHA-256
16
+ > hash chain in `.planning/AUDIT.jsonl` — see `SECURITY.md` for its actual guarantees and its one
17
+ > documented gap. Treat this file as a roadmap, and `bin/` plus `tests/` as ground truth.
18
+
19
+ MindForge v4.2 introduces **ZTAI Enterprise Mode**, an enterprise-grade identity layer that ensures every agent action is cryptographically signed and non-repudiable.
20
+
21
+ ## 1. Asymmetric Identity Model
22
+ Every MindForge persona in the 32+ agent library is assigned a unique asymmetric key pair (Ed25519) upon project initialization or agent spawning.
23
+
24
+ - **Private Key**: Stored securely in the local `.mindforge/identity` vault (never exposed).
25
+ - **Public Key / DID**: Represented as a **Decentralized Identifier (DID)** in the format `did:mf:<key-fingerprint>`.
26
+
27
+ ## 2. Trust Tiers & Signing Requirements
28
+ MindForge enforces tiered signing based on the risk level of the persona's actions.
29
+
30
+ | Tier | Persona Examples | Signing Tech | Integrity Proof |
31
+ | :--- | :--- | :--- | :--- |
32
+ | **T0** | `mf-researcher`, `mf-query` | None | Audit log entry only. |
33
+ | **T1** | `mf-executor`, `mf-coder` | Ed25519 (Software) | Signed JSON payload. |
34
+ | **T2** | `security-auditor`, `ui-specialist` | Ed25519 (Software) | Signed Block + Peer Review. |
35
+ | **T3** | `mf-planner`, `system-architect` | **Secure Enclave (HSM)** | Enclave-attested signature. |
36
+
37
+ *Note: T3 agents utilize a simulated hardware-secured enclave (HSM) to ensure principal-level accountability.*
38
+
39
+ ## 3. Non-Repudiable Audit Manifests
40
+ The `ZTAIArchiver` generates high-fidelity integrity proofs for the session history.
41
+
42
+ - **Cumulative Chain Root**: Every 50 audit entries would trigger a cumulative SHA-256 chain hash over the block. It is a linear fold, not a Merkle tree — no hash tree, no inclusion proof — though `ztai-archiver.js:57` still names the field `merkleRoot`.
43
+ - **Manifest Finalization**: The cumulative root of all audit entries is signed by the **Principal Agent (T3)**.
44
+ - **Tamper Detection**: Inside a block a manifest covers, `verifyIntegrity()` fails closed. Mutating or reordering an entry changes the recomputed root (`ztai-archiver.js:156`), and adding, deleting, or truncating *into* the block trips the `entryCount` check (`ztai-archiver.js:148`) — measured: dropping 3 of 10 covered entries throws `block entry count mismatch`. What it does **not** cover is anything outside the block: the manifest selects entries by the `[blockStart, blockEnd]` timestamp window (`ztai-archiver.js:141`), so entries appended after the last finalized `blockEnd` are never selected, and truncating that uncovered tail is invisible — measured: dropping all 4 uncovered entries still returns valid. This is a **separate mechanism** from the `previous_hash` back-link chain in `.planning/AUDIT.jsonl`; the archiver contains zero references to `previous_hash`. `bin/verify-audit.js` has its own, different tail-truncation gap, for the unrelated reason that any prefix of a back-linked chain is itself a valid chain. Nothing raises an alert for either today — the archiver has no caller outside tests.
45
+
46
+ ## 4. Key Provider Abstraction
47
+ The `ZTAIManager` uses a pluggable `KeyProvider` architecture:
48
+ - `FileSystemProvider`: Standard key storage for T1/T2 agents.
49
+ - `SecureEnclaveProvider`: Simulates hardware-backed signing for T3 agents.
50
+ - `KMSProvider` (Future): Integration with AWS/GCP/Azure Key Management Services.
51
+
52
+ ## 5. Governance Integration
53
+ ZTAI identities are verified during the `/mindforge:verify-phase` and `/mindforge:ship` processes. High-tier changes will be BLOCKED if the cryptographic signatures are missing or invalid.
@@ -0,0 +1,36 @@
1
+ # MindForge v1.0.0 — Penetration Test Results
2
+
3
+ > **STATUS: HISTORICAL — scoped to the v1.0.0-era predecessor system, not the current v11.x
4
+ > architecture.** These findings have not been re-run against the live `bin/` runtime. Retained
5
+ > for historical reference only. For current security status, see the root
6
+ > [`SECURITY.md`](../../SECURITY.md).
7
+
8
+ **Date:** 2026-03-22
9
+ **Scope:** MindForge v1.0.0 threat model (7 threat actors)
10
+ **Method:** Manual adversarial review + targeted negative tests
11
+
12
+ ## Summary
13
+ - Critical findings: 0
14
+ - High findings: 0
15
+ - Medium findings: 2
16
+ - Low findings: 3
17
+
18
+ All findings were addressed or documented with explicit mitigations.
19
+
20
+ ## Findings
21
+ | ID | Severity | Area | Description | Status |
22
+ |---|---|---|---|---|
23
+ | PT-01 | MEDIUM | Plugin system | Malicious plugin can request `write_state` permission | Mitigated: allowlist (`ELEVATED_PLUGINS`) + user approval |
24
+ | PT-02 | MEDIUM | Skill registry | Injection patterns could bypass simple string match | Mitigated: injection guard + manual review guidance |
25
+ | PT-03 | LOW | SSE stream | Local process can subscribe to localhost stream | Accepted: localhost-only + no secrets in stream |
26
+ | PT-04 | LOW | Config | User-controlled git email for approvals | Accepted: governance assumption, documented |
27
+ | PT-05 | LOW | CI | Workflow modification could bypass gates | Accepted: branch protection required |
28
+
29
+ ## Retest notes
30
+ - Re-validated installer excludes `.env`, `.key`, `.pem` files
31
+ - Verified migration restores from backup on failure
32
+ - Confirmed plugin loader skips incompatible plugins and logs audit entry
33
+
34
+ ## Conclusion
35
+ MindForge v1.0.0 is fit for public release with known, documented trade-offs.
36
+ See `docs/security/threat-model.md` for full controls and residual risk.
@@ -0,0 +1,148 @@
1
+ # MindForge v1.0.0 — Threat Model
2
+
3
+ > **STATUS: HISTORICAL — scoped to the v1.0.0-era predecessor system (March 2026), not the
4
+ > current v11.x architecture.** File/asset paths, the plugin model, and the enumerated threat
5
+ > actors below describe that earlier, materially smaller system. It is retained for historical
6
+ > reference only and has not been re-reviewed against the live `bin/` runtime. For what is
7
+ > actually enforced today, see the root [`SECURITY.md`](../../SECURITY.md).
8
+
9
+ ## Scope
10
+ All attack surfaces introduced by MindForge across 7 days of development.
11
+ Last reviewed: v1.0.0 release (March 2026).
12
+
13
+ ## Assets being protected
14
+
15
+ | Asset | Classification | Location |
16
+ |---|---|---|
17
+ | API credentials | CRITICAL | Environment variables only (never in files) |
18
+ | HANDOFF.json | HIGH — project state, agent notes, decisions | `.planning/HANDOFF.json` |
19
+ | AUDIT.jsonl | HIGH — complete governance audit trail | `.planning/AUDIT.jsonl` |
20
+ | Approval files | HIGH — governance records | `.planning/approvals/*.json` |
21
+ | SECURITY.md | MEDIUM — security policy documentation | `.mindforge/org/SECURITY.md` |
22
+ | CLAUDE.md | MEDIUM — agent instructions that shape behaviour | `.claude/CLAUDE.md` |
23
+ | CONVENTIONS.md | LOW — coding standards | `.mindforge/org/CONVENTIONS.md` |
24
+
25
+ ## Threat Actor 1 — Malicious skill package author
26
+
27
+ **Goal:** Inject adversarial instructions via a published `mindforge-skill-*` npm package.
28
+ **Attack:** SKILL.md contains "IGNORE ALL PREVIOUS INSTRUCTIONS" or similar.
29
+ **Controls:**
30
+ - Injection guard in `loader.md` blocks known patterns at both install and load time
31
+ - Level 1/2/3 skill validation at install time
32
+ - TOCTOU-safe download (chmod 700 temp dir, tarball size check)
33
+ - User must explicitly run `/mindforge:install-skill` — no auto-install
34
+
35
+ **Residual risk:** MEDIUM — sophisticated injections that avoid simple string matching.
36
+ **Mitigation:** Community review of public registry skills; organisation vetting of org-tier skills.
37
+
38
+ ---
39
+
40
+ ## Threat Actor 2 — MINDFORGE.md governance bypass
41
+
42
+ **Goal:** Disable governance primitives via MINDFORGE.md settings.
43
+ **Attack:** Set `SECRET_DETECTION=false`, `SECURITY_AUTOTRIGGER=false`.
44
+ **Controls:**
45
+ - Non-overridable rules enforced in CLAUDE.md session start protocol
46
+ - MINDFORGE-SCHEMA.json marks these fields as `nonOverridable: true`
47
+ - `bin/validate-config.js` warns on attempts to override these fields
48
+
49
+ **Residual risk:** LOW — enforced at the agent instruction layer, not OS level.
50
+ **Note:** An agent that ignores its CLAUDE.md is an agent that ignores everything.
51
+
52
+ ---
53
+
54
+ ## Threat Actor 3 — Accidental credential exposure in project files
55
+
56
+ **Goal:** Not adversarial — developer accidentally commits a credential.
57
+ **Attack vectors:**
58
+ - Token pasted into HANDOFF.json
59
+ - API key in MINDFORGE.md ADDITIONAL_AGENT_INSTRUCTIONS
60
+ - Secret in AUDIT.jsonl via an error message
61
+
62
+ **Controls:**
63
+ - Gate 3 (secret detection) blocks ANY commit with credential patterns
64
+ - `_warning` field in every HANDOFF.json schema reminding devs not to store secrets
65
+ - Health engine (Category 7) scans .planning/ and root files for credential patterns
66
+ - installer-core.js skips .env and *.key files during copyDir
67
+
68
+ **Residual risk:** LOW — multiple detection layers with complementary coverage.
69
+
70
+ ---
71
+
72
+ ## Threat Actor 4 — TOCTOU attack on skill installation
73
+
74
+ **Goal:** Replace a valid SKILL.md with malicious content in the window between download and validation.
75
+ **Attack:** Race condition in temp directory.
76
+ **Controls:**
77
+ - `chmod 700` on temp directory (user-only access, blocks other OS users)
78
+ - Tarball size check (detects empty/corrupted downloads)
79
+ - Download → validate → install is a single-process, single-threaded operation
80
+
81
+ **Residual risk:** VERY LOW — requires local machine compromise and precise timing.
82
+
83
+ ---
84
+
85
+ ## Threat Actor 5 — Compromised CI environment
86
+
87
+ **Goal:** Bypass governance gates in CI to ship malicious code.
88
+ **Attack:** Modify GitHub Actions workflow or CI runner environment to skip MindForge checks.
89
+ **Controls:**
90
+ - Gates run as separate CI jobs with explicit dependencies
91
+ - Tier 3 changes always fail CI (cannot be configured away)
92
+ - AUDIT.jsonl writes all gate results — tampering would require audit log manipulation
93
+ - Branch protection rules on the repository (outside MindForge scope)
94
+
95
+ **Residual risk:** HIGH — an attacker with write access to the workflow file or CI secrets
96
+ can bypass. This is a threat to all CI systems, not MindForge specifically.
97
+ **Mitigation:** Protect the `main` branch with required status checks.
98
+
99
+ ---
100
+
101
+ ## Threat Actor 6 — SSE event stream eavesdropping
102
+
103
+ **Goal:** Read sensitive project state from the real-time event stream.
104
+ **Attack:** Connect to port 7337 from another local process.
105
+ **Controls:**
106
+ - localhost-only binding (127.0.0.1) — not accessible from network
107
+ - IP address check on every connection — non-localhost rejected with 403
108
+ - CORS exact-origin matching (not wildcard)
109
+ - Port only opens when the SDK's `MindForgeEventStream.start()` is explicitly called
110
+
111
+ **Residual risk:** LOW — any process running as the same OS user can connect to localhost.
112
+ **Mitigation:** The SSE stream exposes AUDIT entries, not credentials. Risk is information disclosure, not code execution.
113
+
114
+ ---
115
+
116
+ ## Threat Actor 7 — Plugin with elevated or undeclared permissions
117
+
118
+ **Goal:** Use a MindForge plugin to exfiltrate project state or modify governance.
119
+ **Attack:** Install a plugin that reads HANDOFF.json and sends it to an external server.
120
+ **Controls:**
121
+ - Permission model displayed to user at install time (requires explicit approval)
122
+ - Injection guard run against all plugin .md files
123
+ - All plugin-triggered actions logged with plugin name as agent in AUDIT.jsonl
124
+ - `ELEVATED_PLUGINS` allowlist required for `write_state: true` permission
125
+
126
+ **Residual risk:** MEDIUM — a user who installs a malicious plugin and approves its permissions.
127
+ **Mitigation:** Only install plugins from sources you trust. Review plugin commands before installing.
128
+ Treat MindForge plugins like VSCode extensions — they have significant project access.
129
+
130
+ ---
131
+
132
+ ## Controls summary matrix
133
+
134
+ | Control | Threat Actors Mitigated |
135
+ |---|---|
136
+ | Injection guard (loader.md) | TA1, TA7 |
137
+ | TOCTOU-safe download (chmod 700) | TA1, TA4 |
138
+ | Non-overridable governance primitives | TA2 |
139
+ | Gate 3 secret detection | TA3 |
140
+ | Health engine credential scan | TA3 |
141
+ | CI Tier 3 block | TA5 |
142
+ | SSE localhost-only binding | TA6 |
143
+ | Plugin permission model + AUDIT logging | TA7 |
144
+
145
+ ## Penetration test results
146
+
147
+ See `docs/security/penetration-test-results.md` for the adversarial review
148
+ conducted as part of the v1.0.0 production readiness process.
@@ -1,4 +1,4 @@
1
- # MindForge Troubleshooting (v11.9.7)
1
+ # MindForge Troubleshooting (v11.9.9)
2
2
 
3
3
  This page lists common issues and fast fixes. If you get stuck, start with
4
4
  `/mindforge:health`.
@@ -23,18 +23,20 @@ Look for `CLAUDE.md.backup-<timestamp>` and merge your content.
23
23
  **Fix:** Verify the install location:
24
24
  - Claude Code: `~/.claude/commands/mindforge/`
25
25
  - Antigravity: `~/.gemini/antigravity/mindforge/`
26
- Run `/mindforge:health --repair`.
26
+ `--repair` doesn't run an automated fix — it's a documented flag that isn't wired into the CLI
27
+ backing path, silently ignored (byte-identical output to plain `health`). Re-run the install
28
+ command with `--force` instead, or restore the missing directory from git/backup.
27
29
 
28
30
  ---
29
31
 
30
32
  ## 2. Health check failures
31
33
 
32
34
  ### CLAUDE.md drift detected
33
- **Fix:**
34
- ```
35
- /mindforge:health --repair
36
- ```
37
- This restores the canonical MindForge CLAUDE.md.
35
+ **Fix:** `/mindforge:health --repair` is documented in the command spec but not wired into the
36
+ CLI backing path — it's silently ignored, byte-identical output to plain `health`. No automated
37
+ repair exists today. Restore the canonical file yourself: look for a
38
+ `CLAUDE.md.backup-<timestamp>` the installer wrote on your last run, or re-run
39
+ `npx mindforge-cc@latest --claude --local --force`.
38
40
 
39
41
  ### Missing .planning files
40
42
  **Fix:**
@@ -101,7 +103,8 @@ rerun migration. See `.mindforge/audit/AUDIT-SCHEMA.md` for expected format.
101
103
  - Reduce file reads or limit to ranges
102
104
  - Keep PLAN `<action>` lean (150–400 words)
103
105
  - Limit full skill injections to 3
104
- - Use `/mindforge:tokens --profile`
106
+ - Use `/mindforge:tokens --optimise` (`--profile` doesn't exist; real flags are `--phase N`,
107
+ `--session ID`, `--window short|medium|long`, `--optimise`)
105
108
 
106
109
  ---
107
110
 
@@ -128,8 +131,9 @@ follow, not a command.
128
131
 
129
132
  ### Workspace isolation failure
130
133
  **Symptom:** Conflicts between feature branches or dirty worktree.
131
- **Fix:** Run `/mindforge:workspace` to inspect worktree state. Use `/mindforge:health --repair` if
132
- `.git/worktrees/` is corrupt.
134
+ **Fix:** Run `/mindforge:workspace` to inspect worktree state. `/mindforge:health --repair` does
135
+ not actually run an automated fix (the flag is silently ignored) — if `.git/worktrees/` is
136
+ corrupt, run `git worktree prune` and remove the affected worktree directory manually.
133
137
 
134
138
  ---
135
139
 
@@ -1,8 +1,8 @@
1
- # MindForge User Guide (v11.9.7)
1
+ # MindForge User Guide (v11.9.9)
2
2
 
3
3
  This guide gets you from install to productive, with the minimum needed to run MindForge in a real project.
4
4
 
5
- > **v11.9.7 Stats:** 35 workflows · 221 slash commands · 232 engine skills · 216 personas · 0 CVEs · 258/258 IQ200 checks passing
5
+ > **v11.9.9 Stats:** 35 workflows · 221 slash commands · 232 engine skills · 216 personas · 0 CVEs · 258/258 IQ200 checks passing
6
6
 
7
7
  ## Prerequisites
8
8
 
@@ -35,6 +35,11 @@ npx mindforge-cc --antigravity --local
35
35
  npx mindforge-cc --runtime <name>
36
36
  ```
37
37
 
38
+ If a `CLAUDE.md` already exists in the target directory, the installer backs it up
39
+ (`CLAUDE.md.backup-<timestamp>`) before writing its own — check that backup if you had custom
40
+ content there. Hooks are snapshotted by Claude Code at session start, so if the harness was
41
+ already open during install, restart it before expecting a newly-registered hook to fire.
42
+
38
43
  ### Post-Install: The `mindforge` CLI
39
44
 
40
45
  After installation, the `mindforge` binary is available for runtime commands:
@@ -44,7 +49,7 @@ mindforge health # Verify project integrity
44
49
  mindforge security-scan # Run security checks
45
50
  mindforge headless # Run agent in non-interactive mode
46
51
  mindforge --verbose ... # Enable verbose output for debugging
47
- mindforge --version # Print installed version (e.g. 11.9.7) and exit 0
52
+ mindforge --version # Print installed version (e.g. 11.9.9) and exit 0
48
53
  ```
49
54
 
50
55
  Use `--verbose` (or `-v`) on any command for detailed diagnostic output. Use `--version` (or `-V`) to print the installed version and exit.
@@ -59,11 +64,10 @@ Open your agentic runtime (Claude Code, Antigravity, etc.) in your project direc
59
64
  /mindforge:health
60
65
  ```
61
66
 
62
- If health reports issues, run:
63
-
64
- ```bash
65
- /mindforge:health --repair
66
- ```
67
+ If health reports issues: `--repair` is documented in the command spec but not wired into the
68
+ CLI backing path — it's silently ignored, byte-identical output to plain `health`. No automated
69
+ repair exists today; address what the health report flags manually, or re-run the install with
70
+ `--force`.
67
71
 
68
72
  ## 3. Initialize a New Project
69
73
 
@@ -0,0 +1,60 @@
1
+ # MindForge — Key Features
2
+
3
+ This page used to describe MindForge as a "Sovereign Agentic OS" with 16 "Pillars of Celestial
4
+ Intelligence," CADIA, PQAS, and hardware-attested biometric gates. None of that is real —
5
+ `SwarmController`, `PersonaFactory`, and `WaveExecutor` are role names in markdown specs, not
6
+ importable code; the "Post-Quantum Agentic Security" and "Sovereign Reason Enclave" modules are
7
+ explicitly self-labeled SIMULATED in their own source (`bin/governance/quantum-crypto.js`,
8
+ `bin/governance/ztai-manager.js`), gated off the live trust path by default; and no biometric or
9
+ HSM-backed gate exists anywhere in `bin/`. See *What is actually enforced* in the root
10
+ [README](../README.md) for the same honesty pass applied to the whole project.
11
+
12
+ What follows is what's actually shipped, in the same "measured, not asserted" spirit.
13
+
14
+ ## Governance you can verify
15
+
16
+ - **File-driven behavior.** Commands, skills, and personas are markdown the model reads and acts
17
+ on — advisory by design, auditable like any other file in the repo.
18
+ - **A real, tamper-evident audit log.** `.planning/AUDIT.jsonl` is a SHA-256 hash chain -- not a Merkle tree (no hash tree, no inclusion proof; that terminology has been retired),
19
+ verifiable with `node bin/verify-audit.js`.
20
+ It detects mutation and mid-file deletion; it does not detect tail truncation, and it is not
21
+ rotated (an earlier rotation mechanism broke the chain and was removed — the file grows
22
+ unbounded by design).
23
+ - **Hooks that can actually block a tool call, on Claude Code.** See *What is actually enforced*
24
+ in the README for the exact current state per install channel.
25
+ - **Real Ed25519 signing** for the parts of the trust chain that are live (`ztai-manager.js`).
26
+ Post-quantum signing is an explicitly-simulated, opt-in demo, not a production security
27
+ boundary.
28
+
29
+ ## Execution
30
+
31
+ - **Slash-command lifecycle**: `/mindforge:init-project` → `/mindforge:plan-phase` →
32
+ `/mindforge:execute-phase` → `/mindforge:verify-phase` → `/mindforge:ship`. Each step is a
33
+ markdown prompt the assistant follows using its own tools against `.planning/` state files.
34
+ - **35 dynamic multi-agent workflows** (`.mindforge/dynamic-workflows/`), invoked via the
35
+ `wf-*` slash commands or `node bin/mindforge-cli.js workflow run <name>` — these are real,
36
+ executable Node scripts, not prose.
37
+ - **A council command** (`/mindforge:council`) that runs a real 4-voice (architect/skeptic/
38
+ pragmatist/critic) model debate via `bin/engine/council-runtime.js`.
39
+
40
+ ## Memory
41
+
42
+ - **A local-first knowledge store and graph** (`bin/memory/`) with TF-IDF/BM25 retrieval and a
43
+ unified SQLite store (`sql.js`, zero native deps) for traces, skills, and remediations.
44
+ - **`mindforge-sdk`** exposes a standalone, dependency-free client for reading project state and
45
+ the knowledge graph (`MindForgeClient`, `MindForgeMemory`) — see
46
+ [docs/References/sdk-api.md](References/sdk-api.md).
47
+
48
+ ## Observability
49
+
50
+ - **A local dashboard** (`node bin/dashboard/server.js`, `127.0.0.1:7339`) — bearer-token
51
+ auth, rate-limited, CSP-hardened — showing audit stream, cost/token usage, and project health.
52
+
53
+ ## What's experimental or not wired up yet
54
+
55
+ Being direct about this rather than silent: the autonomous wave-execution engine
56
+ (`bin/autonomous/`), the FinOps/multi-cloud arbitrage layer, RBAC/ZTAI-archiver, and a few other
57
+ subsystems are fully built and unit-tested but not yet constructed from any live command path —
58
+ `/mindforge:auto` today is an LLM-interpreted markdown spec, not a call into that engine. If you
59
+ need one of these to be load-bearing, check `bin/` and the test suite before relying on it, or
60
+ open an issue.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindforge-cc",
3
- "version": "11.9.7",
3
+ "version": "11.9.9",
4
4
  "description": "Agentic intelligence framework for Claude Code and Antigravity: slash commands, subagents, skills, hooks, governance, memory, and cost-aware model routing for AI-driven development.",
5
5
  "bin": {
6
6
  "mindforge-cc": "bin/install.js",
@@ -47,10 +47,13 @@
47
47
  "docs/faq.md",
48
48
  "docs/References/",
49
49
  "docs/Templates/",
50
+ "docs/usp-features.md",
51
+ "docs/security/",
50
52
  "examples/",
51
53
  "CHANGELOG.md",
52
54
  "changelogs/",
53
55
  "LICENSE",
56
+ "MINDFORGE-AGENTIC-SECURITY.md",
54
57
  "MINDFORGE.md",
55
58
  "README.md",
56
59
  "RELEASENOTES.md",
@@ -0,0 +1,38 @@
1
+ # Subagents
2
+
3
+ 164 Claude-Code-native subagent definitions across 10 categories under `categories/`,
4
+ installable individually via the marketplace packs in `.claude-plugin/marketplace.json` or
5
+ by name via `bin/spawn-agent.js subagent <name>`.
6
+
7
+ ## Attribution
8
+
9
+ 152 of these 164 definitions are adapted from
10
+ [VoltAgent's `awesome-claude-code-subagents`](https://github.com/VoltAgent/awesome-claude-code-subagents),
11
+ used here under its MIT license:
12
+
13
+ > MIT License
14
+ >
15
+ > Copyright (c) 2025 VoltAgent
16
+ >
17
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ > of this software and associated documentation files (the "Software"), to deal
19
+ > in the Software without restriction, including without limitation the rights
20
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ > copies of the Software, and to permit persons to whom the Software is
22
+ > furnished to do so, subject to the following conditions:
23
+ >
24
+ > The above copyright notice and this permission notice shall be included in all
25
+ > copies or substantial portions of the Software.
26
+ >
27
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ > SOFTWARE.
34
+
35
+ 16 filenames were suffixed `-cc` on import to avoid colliding with MindForge's own
36
+ hand-authored personas of the same name (e.g. `api-designer-cc.md` alongside VoltAgent's
37
+ `api-designer.md`) — see `scripts/build-subagent-plugins.js`. The remaining 12 subagents
38
+ under `categories/` have no VoltAgent counterpart and are original MindForge content.