@jstn-sdk/ma 0.1.13 → 0.14.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.
Files changed (253) hide show
  1. package/.agents/plugins/marketplace.json +0 -0
  2. package/.codex/agents/Architect.toml +1 -0
  3. package/.codex/agents/Auditor.toml +1 -0
  4. package/.codex/agents/Builder.toml +1 -0
  5. package/.codex/agents/Flow.toml +1 -0
  6. package/.codex/agents/Sage.toml +1 -0
  7. package/.codex/agents/Vibe.toml +1 -0
  8. package/.codex/hooks.json +12 -2
  9. package/.codex/prompts/enforcement.md +0 -0
  10. package/.codex/prompts/onboarding.md +6 -1
  11. package/.codex/prompts/release-rules.md +0 -0
  12. package/.codex/prompts/skill-contract.md +0 -0
  13. package/COVERAGE.md +7 -7
  14. package/DEMO.md +15 -6
  15. package/LICENSE +0 -0
  16. package/README.md +126 -793
  17. package/bin/ma.js +585 -97
  18. package/data/clone-data.ledger.json +0 -0
  19. package/data/clone-data.proof.json +0 -0
  20. package/data/clone-data.rvf +0 -0
  21. package/docs/README.md +8 -2
  22. package/docs/autonomous-tasks.md +46 -0
  23. package/docs/codex-integration.md +16 -0
  24. package/docs/getting-started.md +28 -4
  25. package/docs/installed-sdk.md +0 -0
  26. package/docs/mcp-setup.md +30 -1
  27. package/docs/qa/{release-issue-gates-0.1.13.json → release-issue-gates-0.14.0.json} +77 -77
  28. package/docs/qa/release-readiness-0.1.5.md +0 -0
  29. package/docs/qa/{release-readiness-0.1.13.md → release-readiness-0.14.0.md} +12 -12
  30. package/docs/quality.md +24 -0
  31. package/docs/reference/native-engineering-patterns.md +0 -0
  32. package/docs/reference/native-security-playbooks.md +0 -0
  33. package/docs/reference/native-source-selection.md +0 -0
  34. package/docs/reference/native-style-and-deslop.md +0 -0
  35. package/docs/release-spec.md +27 -14
  36. package/docs/skills.md +1 -1
  37. package/index.js +73 -0
  38. package/mcp/collections.json +0 -0
  39. package/mcp/fallback.json +0 -0
  40. package/mcp/local/code-intel.js +179 -41
  41. package/mcp/local/context.js +180 -0
  42. package/mcp/local/memory.js +17 -6
  43. package/mcp/local/playbooks.js +0 -0
  44. package/mcp/local/quality.js +39 -0
  45. package/mcp/local/state.js +7 -3
  46. package/mcp/local/team-run.js +8 -3
  47. package/mcp/local/trace.js +0 -0
  48. package/mcp/local-capabilities.json +9 -0
  49. package/mcp/native-playbooks.json +0 -0
  50. package/mcp/servers.json +0 -0
  51. package/package.json +26 -4
  52. package/plugins/meta-architect/.app.json +1 -1
  53. package/plugins/meta-architect/.codex-plugin/plugin.json +1 -1
  54. package/plugins/meta-architect/.mcp.json +1 -1
  55. package/plugins/meta-architect/README.md +2 -2
  56. package/plugins/meta-architect/obsidian/main.js +137 -4
  57. package/plugins/meta-architect/obsidian/manifest.json +1 -1
  58. package/plugins/meta-architect/obsidian/styles.css +0 -0
  59. package/plugins/meta-architect/skills/align/SKILL.md +0 -0
  60. package/plugins/meta-architect/skills/align/agents/openai.yaml +0 -0
  61. package/plugins/meta-architect/skills/align/references/shared-language.md +0 -0
  62. package/plugins/meta-architect/skills/arch/SKILL.md +0 -0
  63. package/plugins/meta-architect/skills/arch/agents/openai.yaml +0 -0
  64. package/plugins/meta-architect/skills/build/SKILL.md +0 -0
  65. package/plugins/meta-architect/skills/build/agents/openai.yaml +0 -0
  66. package/plugins/meta-architect/skills/cleanup/SKILL.md +0 -0
  67. package/plugins/meta-architect/skills/cleanup/agents/openai.yaml +0 -0
  68. package/plugins/meta-architect/skills/cleanup/references/style-and-deslop.md +0 -0
  69. package/plugins/meta-architect/skills/diagnose/SKILL.md +0 -0
  70. package/plugins/meta-architect/skills/diagnose/agents/openai.yaml +0 -0
  71. package/plugins/meta-architect/skills/flow/SKILL.md +0 -0
  72. package/plugins/meta-architect/skills/flow/agents/openai.yaml +0 -0
  73. package/plugins/meta-architect/skills/maestro/SKILL.md +0 -0
  74. package/plugins/meta-architect/skills/maestro/agents/openai.yaml +0 -0
  75. package/plugins/meta-architect/skills/maestro/references/core-release-rules.md +0 -0
  76. package/plugins/meta-architect/skills/maestro/references/native-ingest-map.md +0 -0
  77. package/plugins/meta-architect/skills/sage/SKILL.md +0 -0
  78. package/plugins/meta-architect/skills/sage/agents/openai.yaml +0 -0
  79. package/plugins/meta-architect/skills/sage/references/source-selection.md +0 -0
  80. package/plugins/meta-architect/skills/tdd/SKILL.md +0 -0
  81. package/plugins/meta-architect/skills/tdd/agents/openai.yaml +0 -0
  82. package/plugins/meta-architect/skills/vet/SKILL.md +0 -0
  83. package/plugins/meta-architect/skills/vet/agents/openai.yaml +0 -0
  84. package/plugins/meta-architect/skills/vet/references/security-playbooks.md +0 -0
  85. package/plugins/meta-architect/skills/vibe/SKILL.md +0 -0
  86. package/plugins/meta-architect/skills/vibe/agents/openai.yaml +0 -0
  87. package/schemas/autonomous-task-queue.schema.json +56 -0
  88. package/schemas/handoff-packet.schema.json +36 -0
  89. package/schemas/setup-receipt.schema.json +28 -0
  90. package/schemas/skill-frontmatter.schema.json +20 -0
  91. package/schemas/support-bundle.schema.json +37 -0
  92. package/schemas/task-contract.schema.json +31 -0
  93. package/scripts/active-autonomy-hook.mjs +141 -11
  94. package/scripts/biome-staged.js +0 -0
  95. package/scripts/build-linux-packages.mjs +7 -3
  96. package/scripts/cleanup-test-fixtures.sh +55 -0
  97. package/scripts/context-hydration-hook.mjs +89 -0
  98. package/scripts/demo-smoke.js +285 -0
  99. package/scripts/doctor.js +10 -8
  100. package/scripts/install.sh +33 -4
  101. package/scripts/install.sh.sha256 +1 -0
  102. package/scripts/linux-package-lib.mjs +0 -0
  103. package/scripts/linux-package-smoke.mjs +2 -2
  104. package/scripts/package-size-check.mjs +26 -0
  105. package/scripts/plugin-sync.js +83 -17
  106. package/scripts/postinstall.js +17 -10
  107. package/scripts/prepack.js +9 -0
  108. package/scripts/ralph/prompt.md +0 -0
  109. package/scripts/release-metadata.js +0 -0
  110. package/scripts/release-sync.js +72 -7
  111. package/scripts/release-verify.js +100 -7
  112. package/scripts/setup-npmrc.js +48 -23
  113. package/scripts/skills-install.js +9 -2
  114. package/scripts/skills-manifest.js +2 -21
  115. package/scripts/skills-pack.js +2 -2
  116. package/scripts/skills-validate.js +5 -55
  117. package/skills/align/SKILL.md +0 -0
  118. package/skills/align/agents/openai.yaml +0 -0
  119. package/skills/align/references/shared-language.md +0 -0
  120. package/skills/arch/SKILL.md +0 -0
  121. package/skills/arch/agents/openai.yaml +0 -0
  122. package/skills/build/SKILL.md +0 -0
  123. package/skills/build/agents/openai.yaml +0 -0
  124. package/skills/cleanup/SKILL.md +0 -0
  125. package/skills/cleanup/agents/openai.yaml +0 -0
  126. package/skills/cleanup/references/style-and-deslop.md +0 -0
  127. package/skills/diagnose/SKILL.md +0 -0
  128. package/skills/diagnose/agents/openai.yaml +0 -0
  129. package/skills/flow/SKILL.md +0 -0
  130. package/skills/flow/agents/openai.yaml +0 -0
  131. package/skills/index.json +0 -0
  132. package/skills/maestro/SKILL.md +0 -0
  133. package/skills/maestro/agents/openai.yaml +0 -0
  134. package/skills/maestro/references/core-release-rules.md +0 -0
  135. package/skills/maestro/references/native-ingest-map.md +0 -0
  136. package/skills/sage/SKILL.md +0 -0
  137. package/skills/sage/agents/openai.yaml +0 -0
  138. package/skills/sage/references/source-selection.md +0 -0
  139. package/skills/tdd/SKILL.md +0 -0
  140. package/skills/tdd/agents/openai.yaml +0 -0
  141. package/skills/vet/SKILL.md +0 -0
  142. package/skills/vet/agents/openai.yaml +0 -0
  143. package/skills/vet/references/security-playbooks.md +0 -0
  144. package/skills/vibe/SKILL.md +0 -0
  145. package/skills/vibe/agents/openai.yaml +0 -0
  146. package/sprint/00-idea.md +0 -0
  147. package/sprint/01-architecture.md +0 -0
  148. package/sprint/02-oss-evidence.md +0 -0
  149. package/sprint/03-logic.md +0 -0
  150. package/sprint/04-security.md +0 -0
  151. package/sprint/05-dx-ux.md +0 -0
  152. package/sprint/06-build-plan.md +0 -0
  153. package/sprint/07-release.md +0 -0
  154. package/src/agents.js +279 -0
  155. package/src/bootstrap.js +252 -63
  156. package/src/build-gate.js +0 -0
  157. package/src/codex-app-server.js +291 -0
  158. package/src/decision-log.js +0 -0
  159. package/src/fs-utils.js +175 -4
  160. package/src/launcher.js +24 -21
  161. package/src/mcp-config.js +9 -1
  162. package/src/mcp-live-client.js +140 -7
  163. package/src/paths.js +6 -1
  164. package/src/policy.js +2 -2
  165. package/src/prelaunch.js +189 -0
  166. package/src/quality/ai-quality-orchestrator.js +328 -0
  167. package/src/release-issue-gates.js +62 -0
  168. package/src/release-operations.js +62 -0
  169. package/src/release-state.js +0 -0
  170. package/src/runtime/active-autonomy-core.js +0 -0
  171. package/src/runtime/agent-compat.js +31 -0
  172. package/src/runtime/alignment-sentinel.js +0 -0
  173. package/src/runtime/architect-review.js +248 -10
  174. package/src/runtime/autonomous-tasks.js +408 -0
  175. package/src/runtime/build-readiness.js +0 -0
  176. package/src/runtime/code-graph-rehearse.js +0 -0
  177. package/src/runtime/codeburn-core.js +112 -0
  178. package/src/runtime/context-authority.js +40 -0
  179. package/src/runtime/context-economy-core.js +40 -0
  180. package/src/runtime/continuity-graph.js +201 -0
  181. package/src/runtime/continuity-notes.js +71 -26
  182. package/src/runtime/core-source-ingest.js +0 -0
  183. package/src/runtime/detached-provider.js +82 -14
  184. package/src/runtime/doctor-report.js +18 -0
  185. package/src/runtime/environment-awareness-core.js +0 -0
  186. package/src/runtime/exposure-catalog.js +0 -0
  187. package/src/runtime/graphify-core.js +167 -0
  188. package/src/runtime/guidance-stack.js +9 -2
  189. package/src/runtime/handoff-packets.js +92 -0
  190. package/src/runtime/headroom-core.js +104 -0
  191. package/src/runtime/helper-orchestration-core.js +0 -0
  192. package/src/runtime/hook-profiles.js +20 -0
  193. package/src/runtime/learning-loop-core.js +110 -4
  194. package/src/runtime/live-agent-verification.js +122 -0
  195. package/src/runtime/maestro-events.js +0 -0
  196. package/src/runtime/maestro-manager.js +0 -0
  197. package/src/runtime/maestro-output.js +58 -0
  198. package/src/runtime/maestro-state.js +0 -0
  199. package/src/runtime/managed-markdown.js +29 -0
  200. package/src/runtime/mcp-authority.js +147 -0
  201. package/src/runtime/mcp-policy.js +0 -0
  202. package/src/runtime/obsidian-integration-core.js +255 -17
  203. package/src/runtime/obsidian-plugin-bridge.js +344 -38
  204. package/src/runtime/orchestrator.js +0 -0
  205. package/src/runtime/pi-maestro-core.js +89 -0
  206. package/src/runtime/preferences.js +79 -0
  207. package/src/runtime/project-context.js +636 -0
  208. package/src/runtime/prompt-strategy-core.js +0 -0
  209. package/src/runtime/quorum-review.js +0 -0
  210. package/src/runtime/ralph-execution-core.js +0 -0
  211. package/src/runtime/redaction-gateway.js +218 -19
  212. package/src/runtime/runtime-state.js +94 -2
  213. package/src/runtime/schema-migrations.js +162 -0
  214. package/src/runtime/semantic-recording-core.js +0 -0
  215. package/src/runtime/signal-hooks.js +13 -0
  216. package/src/runtime/skills-registry-export.js +92 -8
  217. package/src/runtime/startup-path.js +0 -0
  218. package/src/runtime/task-contracts.js +83 -0
  219. package/src/runtime/universal-plugin-broker-core.js +373 -50
  220. package/src/runtime/workspace-intelligence-runtime.js +0 -0
  221. package/src/runtime/workspace-virtualizer.js +0 -0
  222. package/src/runtime/workspaces.js +0 -0
  223. package/src/runtime-artifacts.js +0 -0
  224. package/src/setup-lifecycle.js +359 -0
  225. package/src/skill-frontmatter.js +78 -0
  226. package/src/skill-installer.js +226 -71
  227. package/src/skills.js +297 -19
  228. package/src/state-sync.js +0 -0
  229. package/src/test-fixtures.js +543 -0
  230. package/src/tui/grid.js +67 -0
  231. package/src/tui/status-grid.js +23 -0
  232. package/support-bundle.json +114 -0
  233. package/templates/AGENTS.md +6 -2
  234. package/templates/catalog-manifest.json +0 -0
  235. package/templates/model-instructions/core.md +0 -0
  236. package/templates/model-instructions/release.md +0 -0
  237. package/templates/model-instructions/security.md +0 -0
  238. package/templates/quality/ai-quality-rules.yml +37 -0
  239. package/docs/assets/image/Screenshot(1).png +0 -0
  240. package/docs/assets/image/Screenshot(2).png +0 -0
  241. package/docs/assets/image/Screenshot(3).png +0 -0
  242. package/docs/assets/image/Screenshot(4).png +0 -0
  243. package/docs/assets/image/Screenshot(5).png +0 -0
  244. package/docs/assets/image/Screenshot(6).png +0 -0
  245. package/docs/assets/image/Screenshot(7).png +0 -0
  246. package/docs/assets/image/Screenshot(8).png +0 -0
  247. package/docs/assets/image/Screenshot(9).png +0 -0
  248. package/docs/assets/meta-architect-logo.png +0 -0
  249. package/docs/assets/meta-architect-logo.svg +0 -8
  250. package/docs/onboarding.md +0 -81
  251. package/docs/prompt-guidance-contract.md +0 -17
  252. package/docs/prompt-guidance-fragments/active-autonomy-core.md +0 -7
  253. package/docs/skills-publishing.md +0 -255
package/README.md CHANGED
@@ -1,13 +1,12 @@
1
1
  <div align="center">
2
- <img src="./docs/assets/meta-architect-logo.svg" alt="Meta-Architect logo" width="1024" height="240">
3
- <p>Production-grade Codex skills and plugin package for architecture, evidence-backed OSS selection, gate-driven review, and release-minded build guidance.</p>
2
+ <img src="https://raw.githubusercontent.com/JustineDevs/meta-architect/v0.14.0/docs/assets/meta-architect-logo.svg" alt="Meta-Architect: quality gates and evidence verification for AI coding agents" width="1024" height="240">
3
+ <h1>Meta-Architect</h1>
4
+ <p><strong>Quality gates and evidence verification for AI coding agents.</strong></p>
5
+ <p>Your agent writes code fast. Meta-Architect makes it prove each stage first. Design, evidence, logic, security, experience, build. Each gate stays locked until the one before it passes.</p>
4
6
  <p>
7
+ <img src="https://img.shields.io/github/v/release/JustineDevs/meta-architect?display_name=tag&sort=semver" alt="GitHub release">
5
8
  <img src="https://img.shields.io/npm/v/%40jstn-sdk%2Fma" alt="npm version">
6
- <img src="https://img.shields.io/badge/node-%3E%3D20-339933" alt="Node.js 20+">
7
- <img src="https://img.shields.io/github/v/release/JustineDevs/meta-architect" alt="GitHub release">
8
- <img src="https://img.shields.io/badge/license-MIT-16A34A" alt="MIT License">
9
- </p>
10
- <p>
9
+ <img src="https://img.shields.io/npm/dm/%40jstn-sdk%2Fma" alt="npm downloads">
11
10
  <a href="https://www.buymeacoffee.com/justinedevs">
12
11
  <img src="https://img.shields.io/badge/Buy%20Me%20A%20Coffee-ffdd00?style=flat-square&logo=buy-me-a-coffee&logoColor=black" alt="Buy Me A Coffee">
13
12
  </a>
@@ -15,468 +14,60 @@
15
14
  <img src="https://img.shields.io/badge/GitHub%20Sponsors-JustineDevs-1f6feb?style=flat-square&logo=githubsponsors&logoColor=white" alt="GitHub Sponsors">
16
15
  </a>
17
16
  </p>
17
+ <p><a href="#quick-start">Quick Start</a> · <a href="./DEMO.md">Demo</a> · <a href="./COVERAGE.md">Verified Coverage</a> · <a href="#how-do-i-contribute">Contributing</a> · <a href="https://github.com/JustineDevs/meta-architect/issues">Issues</a></p>
18
18
  </div>
19
19
 
20
- > [!IMPORTANT]
21
- > Meta-Architect `v0.1.13` is a production-grade skills line.
22
- > It is not a lightweight demo branch.
23
- > From `v0.1.13` onward, the package is expected to ship with stable skill contracts, deterministic packaging, explicit release gates, and honest install and publish surfaces.
24
-
25
- ## Navigate
26
-
27
- <table>
28
- <tr>
29
- <td><strong>Start</strong></td>
30
- <td><a href="#cli-install">CLI Install</a> · <a href="#quick-start">Quick Start</a> · <a href="#setup">Setup</a></td>
31
- </tr>
32
- <tr>
33
- <td><strong>Operate</strong></td>
34
- <td><a href="#skill-surface">Skill Surface</a> · <a href="#gated-lanes">Gated Lanes</a> · <a href="#gate-model">Gate Model</a> · <a href="#learning-loop-core">Learning Loop Core</a></td>
35
- </tr>
36
- <tr>
37
- <td><strong>Ship</strong></td>
38
- <td><a href="#release-and-packaging">Release and Packaging</a> · <a href="#package-surface">Package Surface</a> · <a href="#release-hygiene">Release Hygiene</a></td>
39
- </tr>
40
- <tr>
41
- <td><strong>Reference</strong></td>
42
- <td><a href="#repository-structure">Repository Structure</a> · <a href="#documentation">Documentation</a> · <a href="#core-maintainers">Core Maintainers</a></td>
43
- </tr>
44
- </table>
45
-
46
- ## Overview
47
-
48
- Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution.
49
-
50
- It adds:
51
-
52
- - an architecture-first lane before implementation
53
- - evidence-backed OSS selection through GitMCP-connected sources
54
- - explicit logic, security, and DX/UX review gates
55
- - a singular `$maestro` bounded autonomous manager plus non-gating helper skills for alignment, diagnosis, test-first work, and cleanup
56
- - installable skills and a reproducible package surface
57
-
58
20
  > [!NOTE]
21
+ > Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution.
59
22
  > Meta-Architect does not replace your coding runtime.
60
23
  > It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.
61
24
 
62
- ## Acknowledgement
63
-
64
- Meta-Architect was shaped in part by ideas surfaced through the `oh-my-codex` ecosystem.
65
- Acknowledgement is due for the inspiration around Codex-native workflow packaging, skill distribution, and practical delivery surfaces that helped inform this project.
66
-
67
- ## Support
68
-
69
- - [GitHub Sponsors](https://github.com/sponsors/JustineDevs)
70
- - [Buy Me A Coffee](https://www.buymeacoffee.com/justinedevs)
71
-
72
- <table>
73
- <tr>
74
- <td><strong>Linux-native packages</strong></td>
75
- <td><code>.deb</code> for Debian-family distros, <code>.pkg.tar.xz</code> for Arch-family distros, and <code>.rpm</code> for Fedora/openSUSE-style distros</td>
76
- </tr>
77
- <tr>
78
- <td><strong>npm package</strong></td>
79
- <td><code>@jstn-sdk/ma</code> (fallback install path)</td>
80
- </tr>
81
- <tr>
82
- <td><strong>Helper command</strong></td>
83
- <td><code>ma</code> (secondary support surface)</td>
84
- </tr>
85
- <tr>
86
- <td><strong>Runtime</strong></td>
87
- <td>Node.js <code>&gt;=20</code>, npm <code>@10</code></td>
88
- </tr>
89
- <tr>
90
- <td><strong>Release line</strong></td>
91
- <td><code>v0.1.13</code></td>
92
- </tr>
93
- <tr>
94
- <td><strong>License</strong></td>
95
- <td><a href="./LICENSE">MIT</a></td>
96
- </tr>
97
- </table>
98
-
99
- ## Screenshots
100
-
101
- <table>
102
- <tr>
103
- <td><img src="./docs/assets/image/Screenshot(1).png" alt="Meta-Architect screenshot 1" width="280"></td>
104
- <td><img src="./docs/assets/image/Screenshot(2).png" alt="Meta-Architect screenshot 2" width="280"></td>
105
- <td><img src="./docs/assets/image/Screenshot(3).png" alt="Meta-Architect screenshot 3" width="280"></td>
106
- </tr>
107
- <tr>
108
- <td><img src="./docs/assets/image/Screenshot(4).png" alt="Meta-Architect screenshot 4" width="280"></td>
109
- <td><img src="./docs/assets/image/Screenshot(5).png" alt="Meta-Architect screenshot 5" width="280"></td>
110
- <td><img src="./docs/assets/image/Screenshot(6).png" alt="Meta-Architect screenshot 6" width="280"></td>
111
- </tr>
112
- <tr>
113
- <td><img src="./docs/assets/image/Screenshot(7).png" alt="Meta-Architect screenshot 7" width="280"></td>
114
- <td><img src="./docs/assets/image/Screenshot(8).png" alt="Meta-Architect screenshot 8" width="280"></td>
115
- <td><img src="./docs/assets/image/Screenshot(9).png" alt="Meta-Architect screenshot 9" width="280"></td>
116
- </tr>
117
- </table>
118
-
119
- ## Prerequisites
120
-
121
- - Node.js `>=20`
122
- - npm `>=10`
123
- - Git
124
- - an MCP-capable coding runtime
125
- - Codex for the recommended package-first path
126
- - macOS, Linux, or WSL2 recommended
127
-
128
- > [!TIP]
129
- > The most reliable default environment is a Unix-like shell with Git, Node.js, and an MCP-capable runtime already configured.
130
-
131
- ## CLI Install
132
-
133
- macOS, Linux, WSL, and Git-Bash:
134
-
135
- ```bash
136
- # One-line install (POSIX shells only; see Windows note below)
137
- curl -fsSL https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@main/scripts/install.sh | sh
138
- ```
139
-
140
- This jsDelivr-backed installer runs the canonical package install:
141
-
142
- ```bash
143
- npm i -g @openai/codex@latest @jstn-sdk/ma@latest
144
- ```
145
-
146
- Then it seeds the local MA runtime with `ma setup`. Start with:
147
-
148
- ```bash
149
- ma --madmax --high
150
- ```
151
-
152
- Windows note: use WSL or Git-Bash for the one-line POSIX installer. In PowerShell, use the npm fallback command directly.
153
-
154
- ## Default Install Surfaces
155
-
156
- Meta-Architect is a Codex-native session workflow. The jsDelivr CLI installer is the recommended quick-start path for POSIX shells; Linux distro packages remain available for distro-managed installs.
25
+ <img src="https://raw.githubusercontent.com/JustineDevs/meta-architect/v0.14.0/docs/assets/DEMO_VIDEO.gif" alt="Meta-Architect demo video" width="800">
157
26
 
158
27
  <details>
159
- <summary><strong>Platform package commands</strong></summary>
160
-
161
- ### Debian, Ubuntu, Linux Mint, Pop!_OS
162
-
163
- Download the GitHub release `.deb` asset and install it with your normal package command:
164
-
165
- ```bash
166
- sudo apt install ./meta-architect_<version>_all.deb
167
- ```
168
-
169
- ### Arch, Manjaro, EndeavourOS
170
-
171
- Download the GitHub release pacman package asset and install it with:
172
-
173
- ```bash
174
- sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
175
- ```
176
-
177
- ### Fedora, RHEL-family, openSUSE
178
-
179
- Download the GitHub release RPM asset and install it with your distro-native command:
180
-
181
- ```bash
182
- sudo dnf install ./meta-architect-<version>-1.noarch.rpm
183
- # or
184
- sudo zypper install ./meta-architect-<version>-1.noarch.rpm
185
- ```
186
-
187
- These packages install the Meta-Architect payload and expose `ma` / `meta-architect`, but the product still runs inside a Codex-native session. They do not create a separate desktop or terminal product.
28
+ <summary><strong>🔌 All 33 plugins & features</strong></summary>
188
29
 
30
+ The plugin and feature inventory is maintained in the [support bundle manifest](./support-bundle.json) and [skills manifest](./skills/index.json), with verification in the [coverage documentation](./COVERAGE.md).
189
31
  </details>
190
32
 
191
- <details open>
192
- <summary><strong>npm fallback and runtime assumptions</strong></summary>
33
+ ## Why do AI coding agents need gates?
193
34
 
194
- ### npm fallback
35
+ Your agent writes code faster than you review it. Studies and dev surveys keep finding the same failures:
195
36
 
196
- ```bash
197
- # Install
198
- npm i -g @openai/codex@latest @jstn-sdk/ma@latest
199
-
200
- # Start Codex context if needed
201
- ma --madmax --high
202
-
203
- # Remove Meta-Architect only
204
- npm uninstall -g @jstn-sdk/ma
205
-
206
- # Remove Meta-Architect and Codex
207
- npm uninstall -g @jstn-sdk/ma @openai/codex
208
- ```
209
-
210
- What this assumes:
211
-
212
- - Codex is installed globally
213
- - Meta-Architect is installed globally as the skills/plugin package
214
- - Meta-Architect installs its published skill surface into the active Codex home
215
- - the product experience happens through the skill workflow inside Codex
216
-
217
- > [!IMPORTANT]
218
- > The jsDelivr installer is a POSIX-shell convenience wrapper around the canonical npm install. Use the distro packages when you specifically need distro-managed install assets.
219
-
220
- </details>
37
+ - Plausible code with wrong logic
38
+ - Imports of packages which don't exist
39
+ - Outdated APIs from training cutoffs
40
+ - "Done" claims with zero proof
221
41
 
222
- ## Repository Branch Strategy
223
-
224
- Meta-Architect’s repository workflow follows a stricter release posture focused on gated promotion:
225
-
226
- - `main` = release-facing protected branch
227
- - `development` = normal integration branch
228
- - `feature/*` = short-lived contribution branches
229
- - contributors branch from `development`
230
- - normal PRs target `development`
231
- - only curated promotions move `development` into `main`
232
-
233
- > [!CAUTION]
234
- > `main` is intended to be protected and exceptional.
235
- > Maintainers should stop bypass-pushing to `main` except for genuine emergency or admin recovery cases.
236
-
237
- ## Setup
238
-
239
- ### Package setup
240
-
241
- Debian-family install:
242
-
243
- ```bash
244
- sudo apt install ./meta-architect_<version>_all.deb
245
- ```
246
-
247
- Arch-family install:
248
-
249
- ```bash
250
- sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
251
- ```
252
-
253
- Fedora/openSUSE install:
254
-
255
- ```bash
256
- sudo dnf install ./meta-architect-<version>-1.noarch.rpm
257
- ```
258
-
259
- npm fallback:
260
-
261
- ```bash
262
- # Install
263
- npm i -g @openai/codex@latest @jstn-sdk/ma@latest
264
-
265
- # Launch
266
- ma --madmax --high
267
-
268
- # Remove Meta-Architect only
269
- npm uninstall -g @jstn-sdk/ma
270
-
271
- # Remove Meta-Architect and Codex
272
- npm uninstall -g @jstn-sdk/ma @openai/codex
273
- ```
274
-
275
- This gives you:
276
-
277
- - the installed Meta-Architect skill surface
278
- - the canonical Meta-Architect skill entrypoints inside a Codex session
279
- - the optional `ma` helper command when a guided start is useful
280
-
281
- ### Contributor setup: source checkout
282
-
283
- Use this path only if you want to work on Meta-Architect itself.
284
-
285
- ```bash
286
- git clone https://github.com/JustineDevs/meta-architect.git
287
- cd meta-architect
288
- npm install
289
- npm link
290
- ```
291
-
292
- `npm link` makes `ma` and `meta-architect` available from the local checkout.
293
-
294
- ## Quick Start
295
-
296
- ### 1. Start Codex context if needed
297
-
298
- ```bash
299
- ma --madmax --high
300
- ```
301
-
302
- ### 2. Start with the real usage-workflow prompt
303
-
304
- Use the same operator shape defined in [example/usage-workflow.md](./example/usage-workflow.md).
305
-
306
- Quick-start prompt:
307
-
308
- ```text
309
- $maestro
310
-
311
- Or start directly with:
312
-
313
- $arch I want to build: [PROJECT IDEA]
314
-
315
- Context:
316
- - Product type: [web app / mobile app / API / marketplace / agent system / internal tool]
317
- - Users: [who will use it]
318
- - Core problem: [what problem it solves]
319
- - Main features:
320
- 1. [feature one]
321
- 2. [feature two]
322
- 3. [feature three]
323
- - Constraints:
324
- - Budget: [low / medium / high]
325
- - Team size: [solo / small / medium]
326
- - Timeline: [e.g. 2 weeks MVP, 3 months beta]
327
- - Preferred stack: [optional]
328
- - Avoid: [optional]
329
- - Quality priorities:
330
- - [e.g. speed, low cost, security, DX, maintainability, scalability]
331
- - Deployment target:
332
- - [Vercel / Docker / VPS / AWS / GCP / local-first / hybrid]
333
-
334
- Required output:
335
- 1. Problem framing
336
- 2. Recommended architecture
337
- 3. Stack decision with justification
338
- 4. System components and responsibilities
339
- 5. Data model and storage choices
340
- 6. Auth/security considerations
341
- 7. DX/UX considerations
342
- 8. Delivery plan for v0.1.13
343
- 9. Risks and trade-offs
344
- 10. Decision log
345
- 11. Exact next trigger to run after this
346
- ```
42
+ Meta-Architect blocks each one:
347
43
 
348
- ### 3. Run the full trigger sequence inside Codex
44
+ - No architecture without a decision record. `$arch` writes the blueprint and the trade-offs.
45
+ - No stack claims without evidence. `$sage` grades every dependency claim VERIFIED, PARTIAL, or MISSING against upstream repos through GitMCP.
46
+ - No build while a gate is red. Logic, security, and DX reviews fail closed.
47
+ - No release claims without proof. Releases need issue-linked, production-verified evidence.
349
48
 
350
- The singular umbrella in-session entry point is `$maestro`. It is the bounded autonomous manager for the in-session workflow. The package does not ship a separate `$meta-architect` skill.
49
+ ## What is Meta-Architect?
351
50
 
352
- The release-gated sequence stays fixed:
51
+ An open-source workflow governor for AI coding agents. You install it as a skill package in your agent host. It adds six gated lanes plus `$maestro`, a bounded manager which routes your work through them. It doesn't replace your agent, runtime, or model. It governs what they produce.
353
52
 
354
- ```text
355
- $arch
356
- $sage
357
- $flow
358
- $vet
359
- $vibe
360
- $build
361
- ```
362
-
363
- Optional publishable non-gating helper skills available around that sequence:
364
-
365
- ```text
366
- $align
367
- $diagnose
368
- $tdd
369
- $cleanup
370
- ```
371
-
372
- See [example/usage-workflow.md](./example/usage-workflow.md) for the full prompt templates for each step.
373
-
374
- ### 4. Secondary helper path
375
-
376
- If you are working from a repository directly and need scaffolded local support files, use:
377
-
378
- ```bash
379
- ma bootstrap
380
- ma bootstrap --init-mcp
381
- ma doctor
382
- ma setup
383
- ma
384
- ```
53
+ | Fact | Value |
54
+ | --- | --- |
55
+ | Type | Skill and plugin package for AI coding agent hosts |
56
+ | Reference host | Codex (full support) |
57
+ | Compatibility scope | Codex, OpenCode, Gemini CLI, Amp, Claude Code, Goose, Hermes, Pi, Cursor, Windsurf, Cline, Continue, Roo, Kiro CLI, Junie, GitHub Copilot, and Antigravity ([coverage evidence](./docs/agent-compat-integration-report.md)) |
58
+ | Runtime | Node.js 20+ |
59
+ | Install | `npm i -g @jstn-sdk/ma` |
60
+ | Evidence sources | GitMCP / MCP endpoints |
61
+ | License | MIT |
385
62
 
386
- Recommended lazy-user path:
387
- - run `ma bootstrap` first to repair packaged assets, scaffold local runtime files, and verify the environment
388
- - add `--init-mcp` if you want starter GitMCP source files written into the local `mcp/` folder when it is empty or invalid
389
- - use `ma doctor` later when you want a check-only readiness report without changing files
63
+ ## How does it work?
390
64
 
391
- Expected output for `ma setup`:
65
+ State your intent once. `$maestro` picks the next safe step and stops when something fails.
392
66
 
393
67
  ```text
394
- meta-architect setup
395
- ====================
396
- ready: .codex/agents
397
- ready: .codex/prompts
398
- ready: .ma/skills
399
- ready: .ma/evidence
400
- ready: .ma/context
401
- ready: .ma/specs
402
- ready: .ma/plans
403
- ready: mcp
404
- ready: docs
405
- ready: docs/qa
406
- ready: sprint
407
- ```
408
-
409
- ### 5. Configure GitMCP sources
410
-
411
- Add real repository-backed endpoints in `mcp/servers.json`.
412
-
413
- Example:
414
-
415
- ```json
416
- {
417
- "category": "candidate",
418
- "repo": "owner/repo",
419
- "endpoint": "https://gitmcp.io/owner/repo"
420
- }
421
- ```
422
-
423
- Recommended source-selection posture:
424
-
425
- - use packaged native references to narrow candidate families first
426
- - map serious candidates to exact upstream GitMCP endpoints
427
- - verify final choices against upstream repos and official docs before approval
428
-
429
- Core discovery standard:
430
-
431
- - `https://ossium.live/home`
432
- - use Ossium to discover trending OSS, curated repos, YC-backed repos, GSoC orgs, and contribution opportunities faster
433
- - `https://trendshift.io/`
434
- - use Trendshift for rising GitHub engagement and topic-driven trend discovery
435
- - `https://devhunt.org/`
436
- - use Dev Hunt for recently launched developer tools and current dev-tool discovery
437
- - `https://libraries.io/`
438
- - use Libraries.io for package and dependency metadata, with caution because its public data is scraped and not validated/curated for accuracy
439
- - `https://openhub.net/`
440
- - use Open Hub for project activity, contributor, popularity, and comparison signals
441
- - `https://www.opensourceprojects.dev/`
442
- - use Open-source Projects for curated OSS discovery and detailed project writeups
443
- - treat all of these as discovery acceleration, then convert promising finds into exact upstream GitMCP mappings and official-doc checks for `$sage`
444
-
445
- Useful native references:
446
-
447
- - `skills/maestro/references/native-ingest-map.md`
448
- - `skills/sage/references/source-selection.md`
449
- - `skills/vet/references/security-playbooks.md`
450
-
451
- Canonical `$sage` order:
452
-
453
- 1. Start with the upstream repo and official docs if you already know them.
454
- 2. Use discovery accelerators only when you need help finding or narrowing candidates.
455
- 3. Map selected candidates to exact upstream GitMCP endpoints.
456
- 4. Verify against upstream repos and official docs before treating anything as approved evidence.
457
-
458
- > [!IMPORTANT]
459
- > Verified release evidence must come from repository-form GitMCP endpoints such as `https://gitmcp.io/{owner}/{repo}`.
460
- > A generic documentation endpoint such as `https://gitmcp.io/docs` does not count as VERIFIED evidence for build unlocking.
461
- > Discovery surfaces such as Ossium, Trendshift, Dev Hunt, Libraries.io, Open Hub, and Open-source Projects are not substitutes for upstream repo or official-doc verification.
462
-
463
- ### 6. Secondary helper flow outside Codex
464
-
465
- If you need scripted repo-local validation rather than the interactive runtime workflow:
466
-
467
- ```bash
468
- ma idea "Prepare Meta-Architect v0.1.13 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
469
- ma run '$arch'
470
- ma run '$sage'
471
- ma run '$flow'
472
- ma run '$vet'
473
- ma run '$vibe'
474
- ma status
475
- ma run '$build'
68
+ $maestro I want to build: a multi-tenant analytics API for logistics customers
476
69
  ```
477
70
 
478
- Expected status before the helper-path `$build`:
479
-
480
71
  ```text
481
72
  Meta-Architect Status
482
73
  =====================
@@ -487,387 +78,129 @@ Logic: GREEN
487
78
  Security: GREEN
488
79
  Experience: GREEN
489
80
  Build: LOCKED
490
- Next allowed triggers:
491
- $build
492
- ```
493
-
494
- Expected helper-path build output:
495
-
496
- ```text
497
- Build gate is green.
498
- Suggested branches:
499
- - feature/implementation
500
- - feature/verification
501
- Optional worktree commands:
502
- git worktree add ../implementation feature/implementation
503
- git worktree add ../verification feature/verification
504
- ```
505
-
506
- ### 7. Simple command guide
507
-
508
- Meta-Architect has two surfaces.
509
-
510
- - terminal helper commands
511
- - in-session skills
512
-
513
- The umbrella in-session entry point is `$maestro`. There is no separate shipped `$meta-architect` skill surface.
514
-
515
- Terminal commands are normal shell commands you run in the terminal:
516
-
517
- ```bash
518
- ma setup
519
- ma init
520
- ma idea "Build a product"
521
- ma status
522
- ma status --maestro-view
523
- ma verify --architect
524
- ma run '$arch'
525
- ma run '$maestro' --auto-heal --parallel
526
- ```
527
-
528
- In-session skills are prompts you use inside the Codex conversation after launch:
529
-
530
- ```text
531
- $maestro
532
- $arch
533
- $sage
534
- $flow
535
- $vet
536
- $vibe
537
- $build
538
- $align
539
- $diagnose
540
- $tdd
541
- $cleanup
542
81
  ```
543
82
 
544
- Plain-language difference:
545
- - `ma ...` = helper commands in the terminal
546
- - `$...` = the product experience inside Codex
547
-
548
- Autonomous-manager contract:
549
- - `$maestro` is the only umbrella in-session surface
550
- - it manages the next allowed step and lane handoff, but it does not replace the gated outputs owned by `$arch -> $sage -> $flow -> $vet -> $vibe -> $build`
551
- - `$align`, `$diagnose`, `$tdd`, and `$cleanup` are publishable helper skills that do not move release gates
552
-
553
- What `ma setup` and `ma init` do:
554
- - both currently do the same thing
555
- - they create the local support files and folders
556
- - they prepare `.ma/` runtime files such as context, specs, plans, evidence, and runbook files
557
- - they do not run the skill workflow by themselves
558
-
559
- What `ma bootstrap` does:
560
- - checks whether `codex` is callable
561
- - repairs installed skills and support-bundle assets when possible
562
- - runs local scaffold setup
563
- - can seed starter MCP files with `--init-mcp` when the local MCP config is empty or invalid
564
- - reports `READY`, `READY_WITH_WARNINGS`, or `BLOCKED`
565
-
566
- What `ma doctor` does:
567
- - runs the same environment checks without changing files
568
- - prints the current readiness state and exact next step
569
-
570
- What to use when:
571
- - use Codex and run the skills in-session
572
- - use `$maestro` when you want Meta-Architect to choose the best next step for you or act as the bounded autonomous manager for the umbrella workflow
573
- - use `$arch -> $sage -> $flow -> $vet -> $vibe -> $build` inside the Codex session
574
- - use `$align`, `$diagnose`, `$tdd`, or `$cleanup` when a helper is enough and the release gate should stay where it is
575
- - use `ma bootstrap` when you want the lazy-user setup path
576
- - use `ma doctor` when you want a check-only environment report
577
- - use `ma setup` or `ma init` only when you want local scaffolding or scripted helper automation from the terminal
578
- - use `ma sdk-path` when you need the exact installed support-bundle path for packaged prompts, MCP files, sprint files, scripts, plugin metadata, or templates
579
-
580
- ## Skill Surface
581
-
582
- > [!TIP]
583
- > Remember the surface as **manager -> gated lanes -> helpers**.
584
- > `$maestro` coordinates, gated lanes move release state, and helper skills support without unlocking build.
585
-
586
- Meta-Architect’s in-session surface has three layers:
587
-
588
- - umbrella autonomous manager: `$maestro`
589
- - fixed gated lanes: `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
590
- - non-gating helper skills: `$align`, `$diagnose`, `$tdd`, `$cleanup`
83
+ Build stays LOCKED until every upstream gate passes. Red stays red.
591
84
 
592
- Helper skills are publishable surfaces, but they do not own release-state transitions.
85
+ ## The six gates
593
86
 
594
- > [!NOTE]
595
- > MA also discovers existing repo-local skills, MCP configs, and plugin manifests through the Environment Awareness Core.
596
- > Discovered capabilities are `available_capability` context only: MA may select them when task-relevant, but it does not auto-run, mutate, or treat them as build evidence.
597
-
598
- > [!NOTE]
599
- > Universal Plugin Broker Core uses a hybrid model for cross-agent plugins: MCP stdio tooling for hosts that support MCP config injection, and `.agents/skills` context payloads for the broader supported-agent surface.
600
- > Plugin broker receipts are compatibility configuration, not build evidence or lane approval.
601
-
602
- ## Core Maintainers
603
-
604
- <table>
605
- <tr>
606
- <td><strong>Role</strong></td>
607
- <td><strong>Name</strong></td>
608
- <td><strong>GitHub</strong></td>
609
- </tr>
610
- <tr>
611
- <td>Creator / Maintainer</td>
612
- <td>JustineDevs</td>
613
- <td><a href="https://github.com/JustineDevs">@JustineDevs</a></td>
614
- </tr>
615
- </table>
616
-
617
- ## Gated Lanes
618
-
619
- > [!IMPORTANT]
620
- > Read this as a release runway: **design -> evidence -> logic -> security -> experience -> build**.
621
- > Do not skip lanes when the release gate is still locked.
622
-
623
- <details open>
624
- <summary><strong>Release-gated lane map</strong></summary>
625
-
626
- | Trigger | Purpose | Main output | Gate effect |
627
- | --- | --- | --- | --- |
628
- | `$arch` | Produce the first-pass architecture blueprint | decision entry | `architecture_status = APPROVED` |
629
- | `$sage` | Ground major choices in configured GitMCP evidence | evidence records | `evidence_status = VERIFIED | PARTIAL | MISSING` |
630
- | `$flow` | Review baseline logic and state transitions | logic review entry | `logic_status = PENDING | GREEN | RED` |
631
- | `$vet` | Run baseline security and dependency review | audit and CVE records | `security_status = PENDING | GREEN | RED` |
632
- | `$vibe` | Review developer and user experience implications | DX/UX outcome record | `experience_status = PENDING | GREEN | RED | WAIVED` |
633
- | `$build` | Run a bounded build-readiness loop | build-ready decision + `.ma/plans/build.md` | `build_status = READY | RUNNING | DONE` |
634
-
635
- </details>
636
-
637
- ## Helper Skills
638
-
639
- <details>
640
- <summary><strong>Non-gating helper skill map</strong></summary>
641
-
642
- | Trigger | Purpose | Gate effect |
87
+ | Lane | Question it answers | Gate |
643
88
  | --- | --- | --- |
644
- | `$align` | Normalize terminology, tighten scope, and improve prompt or docs clarity | none |
645
- | `$diagnose` | Decompose blocked-lane symptoms into hypotheses and next probes | none |
646
- | `$tdd` | Lock behavior with regression-first or test-first scaffolding | none |
647
- | `$cleanup` | Simplify noisy output and run a final-pass anti-slop cleanup | none |
89
+ | `$arch` | What are you building, and why this shape? | architecture_status |
90
+ | `$sage` | Do your stack choices trace to real upstream evidence? | evidence_status |
91
+ | `$flow` | Do the logic and state transitions hold? | logic_status |
92
+ | `$vet` | Does it survive security and dependency review? | security_status |
93
+ | `$vibe` | Will developers and users tolerate it? | experience_status |
94
+ | `$build` | What's the narrowest safe thing to build now? | build_status |
648
95
 
649
- > [!NOTE]
650
- > Helper skills are backed by `helper_orchestration_core`.
651
- > They write helper receipts, return authority to `$maestro` or the owning lane, and never record as gate approval.
96
+ Four helpers support the lanes without moving gates: `$align`, `$diagnose`, `$tdd`, `$cleanup`.
652
97
 
653
- </details>
98
+ ## How is it different from Spec Kit, BMAD, or Agent OS?
654
99
 
655
- ## Gate Model
100
+ Spec-driven tools structure what your agent writes. Meta-Architect enforces what your agent proves.
656
101
 
657
- Meta-Architect is intentionally fail-closed.
102
+ | | Spec Kit | BMAD | Agent OS | Meta-Architect |
103
+ | --- | --- | --- | --- | --- |
104
+ | Structured workflow | Yes | Yes | Yes | Yes |
105
+ | Gates which block | No | No | No | Yes |
106
+ | External evidence verification | No | No | No | Yes, GitMCP-graded |
107
+ | Learning loop with promotion rules | No | No | No | Yes |
108
+ | Multi-host | Yes | Yes | Yes | Codex today, expanding |
658
109
 
659
- > [!NOTE]
660
- > Green states allow the next safe move.
661
- > Red or locked states preserve the blocker instead of pretending the workflow is ready.
110
+ Already using a spec tool? Keep it. Their specs become inputs. MA's gates verify the execution.
662
111
 
663
- <details open>
664
- <summary><strong>Status vocabulary</strong></summary>
112
+ ## Quick start
665
113
 
666
- | Status | Meaning |
667
- | --- | --- |
668
- | `CLEAR` | enough input exists to proceed |
669
- | `APPROVED` | the architecture lane produced an acceptable first-pass blueprint |
670
- | `VERIFIED` | live evidence was grounded through approved GitMCP sources |
671
- | `PARTIAL` | evidence is configured but live proof is incomplete or unavailable |
672
- | `PENDING` | the lane has recorded interim review state but not final approval or rejection yet |
673
- | `GREEN` | the current baseline review passed |
674
- | `RED` | the lane is blocked or failed |
675
- | `WAIVED` | the lane was intentionally waived with a recorded reason |
676
- | `LOCKED` | downstream work is not allowed yet |
677
- | `READY` | the next bounded gated step is prepared |
678
- | `RUNNING` | the bounded build substep is active |
679
- | `DONE` | the current bounded build substep completed with recorded evidence |
114
+ ```bash
115
+ # 1. Install (macOS, Linux, WSL, Git-Bash)
116
+ curl -fsSLo install.sh https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@latest/scripts/install.sh && curl -fsSLo install.sh.sha256 https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@latest/scripts/install.sh.sha256 && sed 's#scripts/install.sh#install.sh#' install.sh.sha256 | sha256sum -c - && sh install.sh
680
117
 
681
- </details>
118
+ # 2. Launch Codex
119
+ ma --madmax --high
682
120
 
683
- > [!CAUTION]
684
- > `$build` must stay locked until the upstream release state in `.ma/release.json` satisfies the gate contract.
685
- > Meta-Architect is designed to stop on blockers rather than silently continue.
686
- > Rich runtime artifacts live in `.ma/context/`, `.ma/specs/`, `.ma/plans/`, and `.ma/runbook.md`.
121
+ # 3. State your intent inside the session
122
+ $maestro I want to build: [your project idea]
123
+ ```
687
124
 
688
- ## Learning Loop Core
125
+ ### AI agent installation prompt
689
126
 
690
- > [!NOTE]
691
- > Meta-Architect records learnings as candidates first.
692
- > A learning can influence future context only after it has source, evidence, authority, and a next verification path.
127
+ Copy and paste this prompt into your AI coding agent:
693
128
 
694
- <details open>
695
- <summary><strong>Reliability domains</strong></summary>
129
+ ```text
130
+ Install Meta-Architect for this project.
696
131
 
697
- | Domain | What improves over time |
698
- | --- | --- |
699
- | Core & Orchestration | manager runs, lane handoffs, and autonomous routing |
700
- | Memory & Knowledge | project notes, Obsidian vault context, and semantic receipts |
701
- | Intelligence & Learning | prompt strategy, context budgeting, and rehearsal outcomes |
702
- | Code Quality & Testing | test failures, build results, and execution learnings |
703
- | Security & Compliance | trust-boundary findings, exposure scans, and redaction receipts |
704
- | Architecture & Methodology | decisions, tradeoffs, and reusable patterns |
705
- | DevOps & Observability | release checks, package smokes, runtime traces, and hook audits |
706
- | Extensibility | skills, plugins, MCP policy, and host compatibility |
707
- | Domain-Specific | stack facts, project domain notes, and trusted source context |
132
+ 1. Detect the current AI host and its native project configuration surface.
133
+ 2. Install or update `@jstn-sdk/ma@latest` using the host's supported package manager.
134
+ 3. Set `MA_AGENT` to the detected host ID when a host-specific surface is available.
135
+ 4. Run `ma setup` and accept the detected project scope and targets.
136
+ 5. Verify the generated `.ma/` state and native host artifacts.
137
+ 6. Report the installed version, selected host, generated files, and any unsupported capabilities.
708
138
 
709
- </details>
139
+ Do not overwrite user-owned files, modify unrelated configuration, or claim a host is supported without verification.
140
+ ```
710
141
 
711
- ## Release and Packaging
142
+ Windows PowerShell: `npm i -g @openai/codex@latest @jstn-sdk/ma@latest`
143
+ More install options: [docs/getting-started.md](./docs/getting-started.md)
712
144
 
713
- Meta-Architect has three related but different distribution surfaces.
145
+ Uninstall Meta-Architect: `npm uninstall -g @jstn-sdk/ma`
146
+ Uninstall Meta-Architect and Codex: `npm uninstall -g @jstn-sdk/ma @openai/codex`
714
147
 
715
- > [!TIP]
716
- > Use **npm** for the public package, **Linux packages** for distro-managed installs, and **skills bundle** when only the skill payload is needed.
148
+ ### Install into an AI vendor host
717
149
 
718
- <details open>
719
- <summary><strong>Distribution surfaces</strong></summary>
150
+ Install Meta-Architect once, then select the host surface before launch. The
151
+ pre-launch step detects installed hosts and writes the selected scope and
152
+ targets to `.ma/prelaunch.json`.
720
153
 
721
- | Surface | Purpose | Produced by |
722
- | --- | --- | --- |
723
- | Linux native packages | distro-managed install assets for Debian-family and Arch-family environments | `npm run linux:packages:build` and GitHub release assets |
724
- | npm package | public package containing the installable Meta-Architect skills/plugin system, docs, scripts, and canonical skills | `npm publish` or `npm pack` |
725
- | skills bundle | narrower tarball containing `skills/` only | `npm run skills:pack` |
154
+ ```bash
155
+ # Codex (reference host)
156
+ npm i -g @openai/codex@latest @jstn-sdk/ma@latest
157
+ ma --madmax --high
726
158
 
727
- </details>
159
+ # Claude Code
160
+ MA_AGENT=claude-code npm i -g @jstn-sdk/ma@latest
161
+ MA_AGENT=claude-code ma --madmax --high
728
162
 
729
- Required packaging commands:
163
+ # Cursor
164
+ MA_AGENT=cursor npm i -g @jstn-sdk/ma@latest
165
+ MA_AGENT=cursor ma --madmax --high
730
166
 
731
- ```bash
732
- npm run skills:manifest
733
- npm run skills:validate
734
- npm run skills:pack
735
- npm run skills:install -- --path ./dist/installed-skills
736
- npm run linux:packages:build
737
- npm run release:assets
738
- npm run pack:inspect
167
+ # Any registered host surface
168
+ MA_AGENT=<host-id> npm i -g @jstn-sdk/ma@latest
169
+ MA_AGENT=<host-id> ma --madmax --high
739
170
  ```
740
171
 
741
- Pre-publish rules:
742
-
743
- - `skills/index.json` must be current
744
- - `npm run skills:validate` must pass
745
- - `dist/meta-architect-skills.tgz` must exist
746
- - `dist/meta-architect_<version>_all.deb` must exist for Debian-family installs
747
- - `dist/meta-architect-<version>-1-any.pkg.tar.xz` must exist for Arch-family installs
748
- - `dist/meta-architect-<version>-1.noarch.rpm` must exist for Fedora/openSUSE-style installs
749
- - `npm pack --dry-run` must show only intended public files
750
- - docs must match the real skills/plugin and release behavior
751
-
752
- Release lane discipline:
753
- - stable versions publish to npm `latest`
754
- - prerelease versions such as `0.2.0-beta.1` must publish with an explicit dist-tag such as `beta`
755
- - alternate lanes such as `next`, `beta`, and `canary` must never overwrite `latest`
756
-
757
- Maintainer version-bump flow:
758
- 1. Bump the package with `npm version <version> --no-git-tag-version`
759
- 2. Update `CHANGELOG.md`, `RELEASE.md`, and `docs/qa/release-readiness-<version>.md`
760
- 3. Run `npm run release:verify`
761
- 4. Run `npm run release:check`
762
- 5. Create and push tag `v<version>`
763
- 6. Build and smoke-check the Linux native packages with `npm run linux:packages:build`, `npm run linux:packages:smoke`, and `npm run release:assets` on Linux
764
- 7. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
765
- 7. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
766
- - Stable publish: `npm publish --access public`
767
- - Prerelease publish: `npm publish --access public --tag <lane>`
768
- 8. Verify publish state with `npm view @jstn-sdk/ma version dist-tags time --json`
769
- 9. Confirm the GitHub release includes `dist/meta-architect-skills.tgz`, `meta-architect_<version>_all.deb`, `meta-architect-<version>-1-any.pkg.tar.xz`, and `meta-architect-<version>-1.noarch.rpm`
770
-
771
- Provenance note:
772
- - `npm publish --provenance` requires a supported cloud CI/CD provider
773
- - a local shell publish will fail with `Automatic provenance generation not supported for provider: null`
774
- - use the repository publish workflow when provenance is required
775
-
776
- Release automation:
777
- - `npm run release:sync` bumps and synchronizes the active release line only when watched release-relevant files changed
778
- - `npm run release:advance` force-bumps the next patch line and rewrites the same version-bearing files
779
- - `.github/workflows/release-sync.yml` runs the sync path on `main` pushes that touch watched release-relevant paths
780
- - `.github/workflows/release-advance.yml` runs after a published GitHub release and advances the repo to the next patch line automatically
781
-
782
- > [!CAUTION]
783
- > Do not claim npm, GitHub release, or any other publish channel until that channel has actually succeeded.
784
- > Release documentation must match reality, not intent.
785
-
786
- ## Package Surface
787
-
788
- <table>
789
- <tr>
790
- <td><strong>Included</strong></td>
791
- <td><code>bin/</code>, <code>skills/</code>, <code>docs/</code>, <code>data/</code>, <code>scripts/</code>, <code>index.js</code>, <code>README.md</code>, <code>DEMO.md</code>, <code>COVERAGE.md</code>, <code>LICENSE</code></td>
792
- </tr>
793
- <tr>
794
- <td><strong>Excluded</strong></td>
795
- <td><code>.ma/</code> runtime state, context, specs, plans, logs, caches, and temp install outputs</td>
796
- </tr>
797
- </table>
798
-
799
- ## Repository Structure
172
+ MA installs or reuses the native skill/configuration surface for the selected
173
+ host and keeps the canonical workflow unchanged. See the [host compatibility
174
+ evidence](./docs/agent-compat-integration-report.md) and [skills publishing
175
+ guide](./docs/skills-publishing.md) for the complete registry and distribution
176
+ rules.
800
177
 
801
- > [!NOTE]
802
- > The repository is split by responsibility: runtime prompts, public skills, plugin distribution, docs, MCP evidence config, and release tooling stay in separate folders.
803
-
804
- <table>
805
- <tr>
806
- <td><strong>Path</strong></td>
807
- <td><strong>Responsibility</strong></td>
808
- </tr>
809
- <tr>
810
- <td><code>.codex/</code></td>
811
- <td>runtime prompts, hooks, and repo guidance</td>
812
- </tr>
813
- <tr>
814
- <td><code>skills/</code></td>
815
- <td>canonical public skill contracts</td>
816
- </tr>
817
- <tr>
818
- <td><code>plugins/meta-architect/</code></td>
819
- <td>plugin-oriented distribution surface</td>
820
- </tr>
821
- <tr>
822
- <td><code>docs/</code></td>
823
- <td>installation, publishing, and release documentation</td>
824
- </tr>
825
- <tr>
826
- <td><code>missions/</code></td>
827
- <td>reproducible scenario-driven workflows</td>
828
- </tr>
829
- <tr>
830
- <td><code>mcp/</code></td>
831
- <td>GitMCP endpoint and collection configuration</td>
832
- </tr>
833
- <tr>
834
- <td><code>scripts/</code></td>
835
- <td>validation, packing, and install helpers</td>
836
- </tr>
837
- <tr>
838
- <td><code>sprint/</code></td>
839
- <td>human-readable phased workflow documents</td>
840
- </tr>
841
- </table>
842
-
843
- ## Documentation
844
-
845
- <details open>
846
- <summary><strong>Primary docs and evidence surfaces</strong></summary>
847
-
848
- | Surface | Purpose |
849
- | --- | --- |
850
- | [Getting Started](./docs/getting-started.md) | end-to-end local onboarding |
851
- | [Skills Reference](./docs/skills.md) | trigger-by-trigger contract guide |
852
- | [Installed Support Bundle](./docs/installed-sdk.md) | standard packaged asset path for skills and helper flows |
853
- | [Skills Publishing](./docs/skills-publishing.md) | source-to-package pipeline |
854
- | [MCP Setup](./docs/mcp-setup.md) | evidence endpoint policy |
855
- | [Plugin README](./plugins/meta-architect/README.md) | plugin distribution surface |
856
- | [Production Demo Guide](./DEMO.md) | real MA release-hardening walkthrough |
857
- | [Coverage Matrix](./COVERAGE.md) | current verified capability and package proof map |
858
- | [Release Spec](./docs/release-spec.md) | release and gate policy |
859
- | [Release Readiness](./docs/qa/release-readiness-0.1.13.md) | QA evidence for the `v0.1.13` line |
178
+ ## Who is it for?
860
179
 
861
- </details>
180
+ - Solo builders shipping with AI agents who want release discipline without enterprise process
181
+ - OSS contributors who need stack decisions they defend in review
182
+ - Skip it if you want an unattended agent writing code. MA governs your agent. It isn't one.
183
+
184
+ ## How do I contribute?
862
185
 
863
- ## Release Hygiene
186
+ 1. Open an issue before a PR. It saves rework.
187
+ 2. Start here: [issues labeled `triage`](https://github.com/JustineDevs/meta-architect/issues)
188
+ 3. Branch from `development`. `main` is protected and release-facing.
189
+ 4. Run `npm test` before you submit. Follow [AGENTS.md](./AGENTS.md).
190
+ 5. AI-assisted PRs welcome. Explain every line you submit or expect a close.
864
191
 
865
- > [!WARNING]
866
- > Runtime `.ma` logs, state, tmp, and cache files must not be shipped.
867
- > Public docs must match actual package behavior.
868
- > Publish statements must match reality.
869
- > Skill contracts must stay aligned across canonical and plugin-facing copies.
192
+ ## Learn more
193
+
194
+ - [Getting Started](./docs/getting-started.md)
195
+ - [Skills Reference](./docs/skills.md)
196
+ - [Demo](./DEMO.md)
197
+ - [Coverage Matrix](./COVERAGE.md): the proof behind every claim on this page
198
+ - [Release Spec](./docs/release-spec.md)
199
+ - [Disk-Bounded Test and Review Runs](./docs/disk-optimization.md)
200
+ - [MCP Setup](./docs/mcp-setup.md)
870
201
 
871
202
  ## License
872
203
 
873
- [MIT](./LICENSE)
204
+ [MIT](./LICENSE). Built by [@JustineDevs](https://github.com/JustineDevs). Shaped by ideas from the `oh-my-codex` ecosystem.
205
+
206
+ Found a bad claim before it shipped? Star the repo. It helps other developers find it.