@jstn-sdk/ma 0.1.12 → 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.
- package/.codex/agents/Architect.toml +1 -2
- package/.codex/agents/Auditor.toml +1 -2
- package/.codex/agents/Builder.toml +1 -2
- package/.codex/agents/Flow.toml +1 -2
- package/.codex/agents/Sage.toml +1 -2
- package/.codex/agents/Vibe.toml +1 -2
- package/.codex/hooks.json +24 -13
- package/.codex/prompts/enforcement.md +4 -0
- package/.codex/prompts/onboarding.md +6 -1
- package/.codex/prompts/release-rules.md +0 -0
- package/.codex/prompts/skill-contract.md +4 -0
- package/COVERAGE.md +211 -0
- package/DEMO.md +274 -0
- package/LICENSE +0 -0
- package/README.md +132 -656
- package/bin/ma.js +748 -55
- package/data/clone-data.ledger.json +41 -0
- package/data/clone-data.proof.json +50 -0
- package/data/clone-data.rvf +37 -0
- package/docs/README.md +10 -1
- package/docs/autonomous-tasks.md +46 -0
- package/docs/codex-integration.md +16 -0
- package/docs/getting-started.md +62 -22
- package/docs/mcp-setup.md +64 -0
- package/docs/qa/release-issue-gates-0.14.0.json +644 -0
- package/docs/qa/release-readiness-0.1.5.md +1 -1
- package/docs/qa/{release-readiness-0.1.12.md → release-readiness-0.14.0.md} +25 -9
- package/docs/quality.md +24 -0
- package/docs/reference/native-security-playbooks.md +6 -0
- package/docs/reference/native-source-selection.md +6 -0
- package/docs/release-spec.md +39 -10
- package/docs/skills.md +14 -1
- package/index.js +295 -2
- package/mcp/collections.json +23 -6
- package/mcp/fallback.json +0 -0
- package/mcp/local/code-intel.js +179 -41
- package/mcp/local/context.js +180 -0
- package/mcp/local/memory.js +17 -6
- package/mcp/local/quality.js +39 -0
- package/mcp/local/state.js +7 -3
- package/mcp/local/team-run.js +56 -4
- package/mcp/local-capabilities.json +9 -0
- package/mcp/servers.json +24 -0
- package/package.json +29 -4
- package/plugins/meta-architect/.app.json +1 -1
- package/plugins/meta-architect/.codex-plugin/plugin.json +1 -1
- package/plugins/meta-architect/.mcp.json +1 -1
- package/plugins/meta-architect/README.md +8 -1
- package/plugins/meta-architect/obsidian/main.js +534 -0
- package/plugins/meta-architect/obsidian/manifest.json +9 -0
- package/plugins/meta-architect/obsidian/styles.css +7 -0
- package/plugins/meta-architect/skills/arch/SKILL.md +2 -0
- package/plugins/meta-architect/skills/build/SKILL.md +3 -0
- package/plugins/meta-architect/skills/flow/SKILL.md +2 -0
- package/plugins/meta-architect/skills/sage/SKILL.md +2 -0
- package/plugins/meta-architect/skills/sage/references/source-selection.md +8 -0
- package/plugins/meta-architect/skills/vet/SKILL.md +2 -0
- package/plugins/meta-architect/skills/vet/references/security-playbooks.md +7 -0
- package/plugins/meta-architect/skills/vibe/SKILL.md +2 -0
- package/schemas/autonomous-task-queue.schema.json +56 -0
- package/schemas/handoff-packet.schema.json +36 -0
- package/schemas/setup-receipt.schema.json +28 -0
- package/schemas/skill-frontmatter.schema.json +20 -0
- package/schemas/support-bundle.schema.json +37 -0
- package/schemas/task-contract.schema.json +31 -0
- package/scripts/active-autonomy-hook.mjs +226 -0
- package/scripts/build-linux-packages.mjs +7 -3
- package/scripts/cleanup-test-fixtures.sh +55 -0
- package/scripts/context-hydration-hook.mjs +89 -0
- package/scripts/demo-smoke.js +285 -0
- package/scripts/doctor.js +27 -12
- package/scripts/install.sh +57 -0
- package/scripts/install.sh.sha256 +1 -0
- package/scripts/linux-package-smoke.mjs +2 -2
- package/scripts/package-size-check.mjs +26 -0
- package/scripts/plugin-sync.js +83 -17
- package/scripts/postinstall.js +17 -10
- package/scripts/prepack.js +9 -0
- package/scripts/ralph/prompt.md +35 -0
- package/scripts/release-sync.js +72 -7
- package/scripts/release-verify.js +260 -2
- package/scripts/setup-npmrc.js +48 -23
- package/scripts/skills-install.js +9 -2
- package/scripts/skills-manifest.js +2 -21
- package/scripts/skills-pack.js +2 -2
- package/scripts/skills-validate.js +5 -55
- package/skills/arch/SKILL.md +2 -0
- package/skills/build/SKILL.md +3 -0
- package/skills/flow/SKILL.md +2 -0
- package/skills/index.json +0 -0
- package/skills/sage/SKILL.md +2 -0
- package/skills/sage/references/source-selection.md +8 -0
- package/skills/vet/SKILL.md +2 -0
- package/skills/vet/references/security-playbooks.md +7 -0
- package/skills/vibe/SKILL.md +2 -0
- package/sprint/00-idea.md +0 -0
- package/sprint/01-architecture.md +0 -0
- package/sprint/02-oss-evidence.md +0 -0
- package/sprint/03-logic.md +0 -0
- package/sprint/04-security.md +0 -0
- package/sprint/05-dx-ux.md +0 -0
- package/sprint/06-build-plan.md +0 -0
- package/sprint/07-release.md +0 -0
- package/src/agents.js +279 -0
- package/src/bootstrap.js +268 -62
- package/src/build-gate.js +2 -2
- package/src/codex-app-server.js +291 -0
- package/src/decision-log.js +0 -0
- package/src/fs-utils.js +175 -4
- package/src/launcher.js +28 -21
- package/src/mcp-config.js +9 -1
- package/src/mcp-live-client.js +422 -3
- package/src/paths.js +10 -1
- package/src/policy.js +3 -3
- package/src/prelaunch.js +189 -0
- package/src/quality/ai-quality-orchestrator.js +328 -0
- package/src/release-issue-gates.js +252 -0
- package/src/release-operations.js +62 -0
- package/src/release-state.js +0 -0
- package/src/runtime/active-autonomy-core.js +208 -0
- package/src/runtime/agent-compat.js +31 -0
- package/src/runtime/alignment-sentinel.js +165 -0
- package/src/runtime/architect-review.js +326 -0
- package/src/runtime/autonomous-tasks.js +408 -0
- package/src/runtime/build-readiness.js +28 -4
- package/src/runtime/code-graph-rehearse.js +113 -0
- package/src/runtime/codeburn-core.js +112 -0
- package/src/runtime/context-authority.js +40 -0
- package/src/runtime/context-economy-core.js +316 -0
- package/src/runtime/continuity-graph.js +201 -0
- package/src/runtime/continuity-notes.js +71 -26
- package/src/runtime/core-source-ingest.js +379 -0
- package/src/runtime/detached-provider.js +142 -0
- package/src/runtime/doctor-report.js +18 -0
- package/src/runtime/environment-awareness-core.js +460 -0
- package/src/runtime/exposure-catalog.js +276 -0
- package/src/runtime/graphify-core.js +167 -0
- package/src/runtime/guidance-stack.js +9 -2
- package/src/runtime/handoff-packets.js +92 -0
- package/src/runtime/headroom-core.js +104 -0
- package/src/runtime/helper-orchestration-core.js +307 -0
- package/src/runtime/hook-profiles.js +20 -0
- package/src/runtime/learning-loop-core.js +344 -0
- package/src/runtime/live-agent-verification.js +122 -0
- package/src/runtime/maestro-events.js +18 -0
- package/src/runtime/maestro-manager.js +19 -0
- package/src/runtime/maestro-output.js +58 -0
- package/src/runtime/maestro-state.js +125 -0
- package/src/runtime/managed-markdown.js +29 -0
- package/src/runtime/mcp-authority.js +147 -0
- package/src/runtime/mcp-policy.js +192 -0
- package/src/runtime/obsidian-integration-core.js +1089 -0
- package/src/runtime/obsidian-plugin-bridge.js +1045 -0
- package/src/runtime/pi-maestro-core.js +89 -0
- package/src/runtime/preferences.js +79 -0
- package/src/runtime/project-context.js +636 -0
- package/src/runtime/prompt-strategy-core.js +230 -0
- package/src/runtime/quorum-review.js +90 -0
- package/src/runtime/ralph-execution-core.js +217 -0
- package/src/runtime/redaction-gateway.js +373 -0
- package/src/runtime/runtime-state.js +935 -2
- package/src/runtime/schema-migrations.js +162 -0
- package/src/runtime/semantic-recording-core.js +147 -0
- package/src/runtime/signal-hooks.js +28 -0
- package/src/runtime/skills-registry-export.js +754 -0
- package/src/runtime/task-contracts.js +83 -0
- package/src/runtime/universal-plugin-broker-core.js +898 -0
- package/src/runtime/workspace-intelligence-runtime.js +674 -0
- package/src/runtime/workspace-virtualizer.js +102 -0
- package/src/runtime-artifacts.js +225 -62
- package/src/setup-lifecycle.js +359 -0
- package/src/skill-frontmatter.js +78 -0
- package/src/skill-installer.js +226 -71
- package/src/skills.js +1166 -96
- package/src/state-sync.js +0 -0
- package/src/test-fixtures.js +543 -0
- package/src/tui/grid.js +67 -0
- package/src/tui/status-grid.js +23 -0
- package/support-bundle.json +114 -0
- package/templates/AGENTS.md +6 -2
- package/templates/catalog-manifest.json +0 -0
- package/templates/model-instructions/core.md +0 -0
- package/templates/model-instructions/release.md +0 -0
- package/templates/model-instructions/security.md +0 -0
- package/templates/quality/ai-quality-rules.yml +37 -0
- package/docs/assets/image/Screenshot(1).png +0 -0
- package/docs/assets/image/Screenshot(2).png +0 -0
- package/docs/assets/image/Screenshot(3).png +0 -0
- package/docs/assets/image/Screenshot(4).png +0 -0
- package/docs/assets/image/Screenshot(5).png +0 -0
- package/docs/assets/image/Screenshot(6).png +0 -0
- package/docs/assets/image/Screenshot(7).png +0 -0
- package/docs/assets/image/Screenshot(8).png +0 -0
- package/docs/assets/image/Screenshot(9).png +0 -0
- package/docs/assets/meta-architect-logo.png +0 -0
- package/docs/assets/meta-architect-logo.svg +0 -8
- package/docs/onboarding.md +0 -65
- package/docs/skills-publishing.md +0 -255
package/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="
|
|
3
|
-
<
|
|
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/
|
|
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,716 +14,193 @@
|
|
|
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.12` is a production-grade skills line.
|
|
22
|
-
> It is not a lightweight demo branch.
|
|
23
|
-
> From `v0.1.12` onward, the package is expected to ship with stable skill contracts, deterministic packaging, explicit release gates, and honest install and publish surfaces.
|
|
24
|
-
|
|
25
|
-
## Overview
|
|
26
|
-
|
|
27
|
-
Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution.
|
|
28
|
-
|
|
29
|
-
It adds:
|
|
30
|
-
|
|
31
|
-
- an architecture-first lane before implementation
|
|
32
|
-
- evidence-backed OSS selection through GitMCP-connected sources
|
|
33
|
-
- explicit logic, security, and DX/UX review gates
|
|
34
|
-
- a singular `$maestro` bounded autonomous manager plus non-gating helper skills for alignment, diagnosis, test-first work, and cleanup
|
|
35
|
-
- installable skills and a reproducible package surface
|
|
36
|
-
|
|
37
20
|
> [!NOTE]
|
|
21
|
+
> Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution.
|
|
38
22
|
> Meta-Architect does not replace your coding runtime.
|
|
39
23
|
> It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.
|
|
40
24
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- [GitHub Sponsors](https://github.com/sponsors/JustineDevs)
|
|
44
|
-
- [Buy Me A Coffee](https://www.buymeacoffee.com/justinedevs)
|
|
45
|
-
|
|
46
|
-
<table>
|
|
47
|
-
<tr>
|
|
48
|
-
<td><strong>Linux-native packages</strong></td>
|
|
49
|
-
<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>
|
|
50
|
-
</tr>
|
|
51
|
-
<tr>
|
|
52
|
-
<td><strong>npm package</strong></td>
|
|
53
|
-
<td><code>@jstn-sdk/ma</code> (fallback install path)</td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr>
|
|
56
|
-
<td><strong>Helper command</strong></td>
|
|
57
|
-
<td><code>ma</code> (secondary support surface)</td>
|
|
58
|
-
</tr>
|
|
59
|
-
<tr>
|
|
60
|
-
<td><strong>Runtime</strong></td>
|
|
61
|
-
<td>Node.js <code>>=20</code>, npm <code>@10</code></td>
|
|
62
|
-
</tr>
|
|
63
|
-
<tr>
|
|
64
|
-
<td><strong>Release line</strong></td>
|
|
65
|
-
<td><code>v0.1.12</code></td>
|
|
66
|
-
</tr>
|
|
67
|
-
<tr>
|
|
68
|
-
<td><strong>License</strong></td>
|
|
69
|
-
<td><a href="./LICENSE">MIT</a></td>
|
|
70
|
-
</tr>
|
|
71
|
-
</table>
|
|
72
|
-
|
|
73
|
-
## Screenshots
|
|
74
|
-
|
|
75
|
-
<table>
|
|
76
|
-
<tr>
|
|
77
|
-
<td><img src="./docs/assets/image/Screenshot(1).png" alt="Meta-Architect screenshot 1" width="280"></td>
|
|
78
|
-
<td><img src="./docs/assets/image/Screenshot(2).png" alt="Meta-Architect screenshot 2" width="280"></td>
|
|
79
|
-
<td><img src="./docs/assets/image/Screenshot(3).png" alt="Meta-Architect screenshot 3" width="280"></td>
|
|
80
|
-
</tr>
|
|
81
|
-
<tr>
|
|
82
|
-
<td><img src="./docs/assets/image/Screenshot(4).png" alt="Meta-Architect screenshot 4" width="280"></td>
|
|
83
|
-
<td><img src="./docs/assets/image/Screenshot(5).png" alt="Meta-Architect screenshot 5" width="280"></td>
|
|
84
|
-
<td><img src="./docs/assets/image/Screenshot(6).png" alt="Meta-Architect screenshot 6" width="280"></td>
|
|
85
|
-
</tr>
|
|
86
|
-
<tr>
|
|
87
|
-
<td><img src="./docs/assets/image/Screenshot(7).png" alt="Meta-Architect screenshot 7" width="280"></td>
|
|
88
|
-
<td><img src="./docs/assets/image/Screenshot(8).png" alt="Meta-Architect screenshot 8" width="280"></td>
|
|
89
|
-
<td><img src="./docs/assets/image/Screenshot(9).png" alt="Meta-Architect screenshot 9" width="280"></td>
|
|
90
|
-
</tr>
|
|
91
|
-
</table>
|
|
92
|
-
|
|
93
|
-
## Prerequisites
|
|
94
|
-
|
|
95
|
-
- Node.js `>=20`
|
|
96
|
-
- npm `>=10`
|
|
97
|
-
- Git
|
|
98
|
-
- an MCP-capable coding runtime
|
|
99
|
-
- Codex for the recommended package-first path
|
|
100
|
-
- macOS, Linux, or WSL2 recommended
|
|
101
|
-
|
|
102
|
-
> [!TIP]
|
|
103
|
-
> The most reliable default environment is a Unix-like shell with Git, Node.js, and an MCP-capable runtime already configured.
|
|
104
|
-
|
|
105
|
-
## Default Install Surfaces
|
|
106
|
-
|
|
107
|
-
Meta-Architect is a Codex-native session workflow. On Linux, the primary install surface is now distro-style package installation, not a standalone binary shell.
|
|
108
|
-
|
|
109
|
-
### Debian, Ubuntu, Linux Mint, Pop!_OS
|
|
110
|
-
|
|
111
|
-
Download the GitHub release `.deb` asset and install it with your normal package command:
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
sudo apt install ./meta-architect_<version>_all.deb
|
|
115
|
-
```
|
|
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">
|
|
116
26
|
|
|
117
|
-
|
|
27
|
+
<details>
|
|
28
|
+
<summary><strong>🔌 All 33 plugins & features</strong></summary>
|
|
118
29
|
|
|
119
|
-
|
|
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).
|
|
31
|
+
</details>
|
|
120
32
|
|
|
121
|
-
|
|
122
|
-
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
|
|
123
|
-
```
|
|
33
|
+
## Why do AI coding agents need gates?
|
|
124
34
|
|
|
125
|
-
|
|
35
|
+
Your agent writes code faster than you review it. Studies and dev surveys keep finding the same failures:
|
|
126
36
|
|
|
127
|
-
|
|
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
|
|
128
41
|
|
|
129
|
-
|
|
130
|
-
sudo dnf install ./meta-architect-<version>-1.noarch.rpm
|
|
131
|
-
# or
|
|
132
|
-
sudo zypper install ./meta-architect-<version>-1.noarch.rpm
|
|
133
|
-
```
|
|
42
|
+
Meta-Architect blocks each one:
|
|
134
43
|
|
|
135
|
-
|
|
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.
|
|
136
48
|
|
|
137
|
-
|
|
49
|
+
## What is Meta-Architect?
|
|
138
50
|
|
|
139
|
-
|
|
140
|
-
# Install
|
|
141
|
-
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
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.
|
|
142
52
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
What this assumes:
|
|
154
|
-
|
|
155
|
-
- Codex is installed globally
|
|
156
|
-
- Meta-Architect is installed globally as the skills/plugin package
|
|
157
|
-
- Meta-Architect installs its published skill surface into the active Codex home
|
|
158
|
-
- the product experience happens through the skill workflow inside Codex
|
|
159
|
-
|
|
160
|
-
> [!IMPORTANT]
|
|
161
|
-
> On Linux, distro-native package install is the default surface.
|
|
162
|
-
> npm remains available as a fallback path.
|
|
163
|
-
|
|
164
|
-
## Repository Branch Strategy
|
|
165
|
-
|
|
166
|
-
Meta-Architect’s repository workflow follows a stricter release posture focused on gated promotion:
|
|
167
|
-
|
|
168
|
-
- `main` = release-facing protected branch
|
|
169
|
-
- `development` = normal integration branch
|
|
170
|
-
- `feature/*` = short-lived contribution branches
|
|
171
|
-
- contributors branch from `development`
|
|
172
|
-
- normal PRs target `development`
|
|
173
|
-
- only curated promotions move `development` into `main`
|
|
174
|
-
|
|
175
|
-
> [!CAUTION]
|
|
176
|
-
> `main` is intended to be protected and exceptional.
|
|
177
|
-
> Maintainers should stop bypass-pushing to `main` except for genuine emergency or admin recovery cases.
|
|
178
|
-
|
|
179
|
-
## Setup
|
|
180
|
-
|
|
181
|
-
### Package setup
|
|
182
|
-
|
|
183
|
-
Debian-family install:
|
|
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 |
|
|
184
62
|
|
|
185
|
-
|
|
186
|
-
sudo apt install ./meta-architect_<version>_all.deb
|
|
187
|
-
```
|
|
63
|
+
## How does it work?
|
|
188
64
|
|
|
189
|
-
|
|
65
|
+
State your intent once. `$maestro` picks the next safe step and stops when something fails.
|
|
190
66
|
|
|
191
|
-
```
|
|
192
|
-
|
|
67
|
+
```text
|
|
68
|
+
$maestro I want to build: a multi-tenant analytics API for logistics customers
|
|
193
69
|
```
|
|
194
70
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
71
|
+
```text
|
|
72
|
+
Meta-Architect Status
|
|
73
|
+
=====================
|
|
74
|
+
Idea: CLEAR
|
|
75
|
+
Architecture: APPROVED
|
|
76
|
+
Evidence: VERIFIED
|
|
77
|
+
Logic: GREEN
|
|
78
|
+
Security: GREEN
|
|
79
|
+
Experience: GREEN
|
|
80
|
+
Build: LOCKED
|
|
199
81
|
```
|
|
200
82
|
|
|
201
|
-
|
|
83
|
+
Build stays LOCKED until every upstream gate passes. Red stays red.
|
|
202
84
|
|
|
203
|
-
|
|
204
|
-
# Install
|
|
205
|
-
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
85
|
+
## The six gates
|
|
206
86
|
|
|
207
|
-
|
|
208
|
-
|
|
87
|
+
| Lane | Question it answers | Gate |
|
|
88
|
+
| --- | --- | --- |
|
|
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 |
|
|
209
95
|
|
|
210
|
-
|
|
211
|
-
npm uninstall -g @jstn-sdk/ma
|
|
96
|
+
Four helpers support the lanes without moving gates: `$align`, `$diagnose`, `$tdd`, `$cleanup`.
|
|
212
97
|
|
|
213
|
-
|
|
214
|
-
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
215
|
-
```
|
|
98
|
+
## How is it different from Spec Kit, BMAD, or Agent OS?
|
|
216
99
|
|
|
217
|
-
|
|
100
|
+
Spec-driven tools structure what your agent writes. Meta-Architect enforces what your agent proves.
|
|
218
101
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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 |
|
|
222
109
|
|
|
223
|
-
|
|
110
|
+
Already using a spec tool? Keep it. Their specs become inputs. MA's gates verify the execution.
|
|
224
111
|
|
|
225
|
-
|
|
112
|
+
## Quick start
|
|
226
113
|
|
|
227
114
|
```bash
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
npm install
|
|
231
|
-
npm link
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
`npm link` makes `ma` and `meta-architect` available from the local checkout.
|
|
235
|
-
|
|
236
|
-
## Quick Start
|
|
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
|
|
237
117
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
```bash
|
|
118
|
+
# 2. Launch Codex
|
|
241
119
|
ma --madmax --high
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
### 2. Start with the real usage-workflow prompt
|
|
245
120
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
Quick-start prompt:
|
|
249
|
-
|
|
250
|
-
```text
|
|
251
|
-
$maestro
|
|
252
|
-
|
|
253
|
-
Or start directly with:
|
|
254
|
-
|
|
255
|
-
$arch I want to build: [PROJECT IDEA]
|
|
256
|
-
|
|
257
|
-
Context:
|
|
258
|
-
- Product type: [web app / mobile app / API / marketplace / agent system / internal tool]
|
|
259
|
-
- Users: [who will use it]
|
|
260
|
-
- Core problem: [what problem it solves]
|
|
261
|
-
- Main features:
|
|
262
|
-
1. [feature one]
|
|
263
|
-
2. [feature two]
|
|
264
|
-
3. [feature three]
|
|
265
|
-
- Constraints:
|
|
266
|
-
- Budget: [low / medium / high]
|
|
267
|
-
- Team size: [solo / small / medium]
|
|
268
|
-
- Timeline: [e.g. 2 weeks MVP, 3 months beta]
|
|
269
|
-
- Preferred stack: [optional]
|
|
270
|
-
- Avoid: [optional]
|
|
271
|
-
- Quality priorities:
|
|
272
|
-
- [e.g. speed, low cost, security, DX, maintainability, scalability]
|
|
273
|
-
- Deployment target:
|
|
274
|
-
- [Vercel / Docker / VPS / AWS / GCP / local-first / hybrid]
|
|
275
|
-
|
|
276
|
-
Required output:
|
|
277
|
-
1. Problem framing
|
|
278
|
-
2. Recommended architecture
|
|
279
|
-
3. Stack decision with justification
|
|
280
|
-
4. System components and responsibilities
|
|
281
|
-
5. Data model and storage choices
|
|
282
|
-
6. Auth/security considerations
|
|
283
|
-
7. DX/UX considerations
|
|
284
|
-
8. Delivery plan for v0.1.12
|
|
285
|
-
9. Risks and trade-offs
|
|
286
|
-
10. Decision log
|
|
287
|
-
11. Exact next trigger to run after this
|
|
121
|
+
# 3. State your intent inside the session
|
|
122
|
+
$maestro I want to build: [your project idea]
|
|
288
123
|
```
|
|
289
124
|
|
|
290
|
-
###
|
|
125
|
+
### AI agent installation prompt
|
|
291
126
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
The release-gated sequence stays fixed:
|
|
295
|
-
|
|
296
|
-
```text
|
|
297
|
-
$arch
|
|
298
|
-
$sage
|
|
299
|
-
$flow
|
|
300
|
-
$vet
|
|
301
|
-
$vibe
|
|
302
|
-
$build
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
Optional publishable non-gating helper skills available around that sequence:
|
|
127
|
+
Copy and paste this prompt into your AI coding agent:
|
|
306
128
|
|
|
307
129
|
```text
|
|
308
|
-
|
|
309
|
-
$diagnose
|
|
310
|
-
$tdd
|
|
311
|
-
$cleanup
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
See [example/usage-workflow.md](./example/usage-workflow.md) for the full prompt templates for each step.
|
|
315
|
-
|
|
316
|
-
### 4. Secondary helper path
|
|
130
|
+
Install Meta-Architect for this project.
|
|
317
131
|
|
|
318
|
-
|
|
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.
|
|
319
138
|
|
|
320
|
-
|
|
321
|
-
ma bootstrap
|
|
322
|
-
ma bootstrap --init-mcp
|
|
323
|
-
ma doctor
|
|
324
|
-
ma setup
|
|
325
|
-
ma
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
Recommended lazy-user path:
|
|
329
|
-
- run `ma bootstrap` first to repair packaged assets, scaffold local runtime files, and verify the environment
|
|
330
|
-
- add `--init-mcp` if you want starter GitMCP source files written into the local `mcp/` folder when it is empty or invalid
|
|
331
|
-
- use `ma doctor` later when you want a check-only readiness report without changing files
|
|
332
|
-
|
|
333
|
-
Expected output for `ma setup`:
|
|
334
|
-
|
|
335
|
-
```text
|
|
336
|
-
meta-architect setup
|
|
337
|
-
====================
|
|
338
|
-
ready: .codex/agents
|
|
339
|
-
ready: .codex/prompts
|
|
340
|
-
ready: .ma/skills
|
|
341
|
-
ready: .ma/evidence
|
|
342
|
-
ready: .ma/context
|
|
343
|
-
ready: .ma/specs
|
|
344
|
-
ready: .ma/plans
|
|
345
|
-
ready: mcp
|
|
346
|
-
ready: docs
|
|
347
|
-
ready: docs/qa
|
|
348
|
-
ready: sprint
|
|
139
|
+
Do not overwrite user-owned files, modify unrelated configuration, or claim a host is supported without verification.
|
|
349
140
|
```
|
|
350
141
|
|
|
351
|
-
|
|
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)
|
|
352
144
|
|
|
353
|
-
|
|
145
|
+
Uninstall Meta-Architect: `npm uninstall -g @jstn-sdk/ma`
|
|
146
|
+
Uninstall Meta-Architect and Codex: `npm uninstall -g @jstn-sdk/ma @openai/codex`
|
|
354
147
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
```json
|
|
358
|
-
{
|
|
359
|
-
"category": "candidate",
|
|
360
|
-
"repo": "owner/repo",
|
|
361
|
-
"endpoint": "https://gitmcp.io/owner/repo"
|
|
362
|
-
}
|
|
363
|
-
```
|
|
148
|
+
### Install into an AI vendor host
|
|
364
149
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
- map serious candidates to exact upstream GitMCP endpoints
|
|
369
|
-
- verify final choices against upstream repos and official docs before approval
|
|
370
|
-
|
|
371
|
-
Core discovery standard:
|
|
372
|
-
|
|
373
|
-
- `https://ossium.live/home`
|
|
374
|
-
- use Ossium to discover trending OSS, curated repos, YC-backed repos, GSoC orgs, and contribution opportunities faster
|
|
375
|
-
- `https://trendshift.io/`
|
|
376
|
-
- use Trendshift for rising GitHub engagement and topic-driven trend discovery
|
|
377
|
-
- `https://devhunt.org/`
|
|
378
|
-
- use Dev Hunt for recently launched developer tools and current dev-tool discovery
|
|
379
|
-
- `https://libraries.io/`
|
|
380
|
-
- use Libraries.io for package and dependency metadata, with caution because its public data is scraped and not validated/curated for accuracy
|
|
381
|
-
- `https://openhub.net/`
|
|
382
|
-
- use Open Hub for project activity, contributor, popularity, and comparison signals
|
|
383
|
-
- `https://www.opensourceprojects.dev/`
|
|
384
|
-
- use Open-source Projects for curated OSS discovery and detailed project writeups
|
|
385
|
-
- treat all of these as discovery acceleration, then convert promising finds into exact upstream GitMCP mappings and official-doc checks for `$sage`
|
|
386
|
-
|
|
387
|
-
Useful native references:
|
|
388
|
-
|
|
389
|
-
- `skills/maestro/references/native-ingest-map.md`
|
|
390
|
-
- `skills/sage/references/source-selection.md`
|
|
391
|
-
- `skills/vet/references/security-playbooks.md`
|
|
392
|
-
|
|
393
|
-
Canonical `$sage` order:
|
|
394
|
-
|
|
395
|
-
1. Start with the upstream repo and official docs if you already know them.
|
|
396
|
-
2. Use discovery accelerators only when you need help finding or narrowing candidates.
|
|
397
|
-
3. Map selected candidates to exact upstream GitMCP endpoints.
|
|
398
|
-
4. Verify against upstream repos and official docs before treating anything as approved evidence.
|
|
399
|
-
|
|
400
|
-
> [!IMPORTANT]
|
|
401
|
-
> Verified release evidence must come from repository-form GitMCP endpoints such as `https://gitmcp.io/{owner}/{repo}`.
|
|
402
|
-
> A generic documentation endpoint such as `https://gitmcp.io/docs` does not count as VERIFIED evidence for build unlocking.
|
|
403
|
-
> 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.
|
|
404
|
-
|
|
405
|
-
### 6. Secondary helper flow outside Codex
|
|
406
|
-
|
|
407
|
-
If you need scripted repo-local validation rather than the interactive runtime workflow:
|
|
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`.
|
|
408
153
|
|
|
409
154
|
```bash
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
ma
|
|
413
|
-
ma run '$flow'
|
|
414
|
-
ma run '$vet'
|
|
415
|
-
ma run '$vibe'
|
|
416
|
-
ma status
|
|
417
|
-
ma run '$build'
|
|
418
|
-
```
|
|
419
|
-
|
|
420
|
-
Expected status before the helper-path `$build`:
|
|
421
|
-
|
|
422
|
-
```text
|
|
423
|
-
Meta-Architect Status
|
|
424
|
-
=====================
|
|
425
|
-
Idea: CLEAR
|
|
426
|
-
Architecture: APPROVED
|
|
427
|
-
Evidence: VERIFIED
|
|
428
|
-
Logic: GREEN
|
|
429
|
-
Security: GREEN
|
|
430
|
-
Experience: GREEN
|
|
431
|
-
Build: LOCKED
|
|
432
|
-
Next allowed triggers:
|
|
433
|
-
$build
|
|
434
|
-
```
|
|
435
|
-
|
|
436
|
-
Expected helper-path build output:
|
|
437
|
-
|
|
438
|
-
```text
|
|
439
|
-
Build gate is green.
|
|
440
|
-
Suggested branches:
|
|
441
|
-
- feature/implementation
|
|
442
|
-
- feature/verification
|
|
443
|
-
Optional worktree commands:
|
|
444
|
-
git worktree add ../implementation feature/implementation
|
|
445
|
-
git worktree add ../verification feature/verification
|
|
446
|
-
```
|
|
447
|
-
|
|
448
|
-
### 7. Simple command guide
|
|
449
|
-
|
|
450
|
-
Meta-Architect has two surfaces.
|
|
451
|
-
|
|
452
|
-
- terminal helper commands
|
|
453
|
-
- in-session skills
|
|
155
|
+
# Codex (reference host)
|
|
156
|
+
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
157
|
+
ma --madmax --high
|
|
454
158
|
|
|
455
|
-
|
|
159
|
+
# Claude Code
|
|
160
|
+
MA_AGENT=claude-code npm i -g @jstn-sdk/ma@latest
|
|
161
|
+
MA_AGENT=claude-code ma --madmax --high
|
|
456
162
|
|
|
457
|
-
|
|
163
|
+
# Cursor
|
|
164
|
+
MA_AGENT=cursor npm i -g @jstn-sdk/ma@latest
|
|
165
|
+
MA_AGENT=cursor ma --madmax --high
|
|
458
166
|
|
|
459
|
-
|
|
460
|
-
ma
|
|
461
|
-
ma
|
|
462
|
-
ma idea "Build a product"
|
|
463
|
-
ma status
|
|
464
|
-
ma run '$arch'
|
|
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
|
|
465
170
|
```
|
|
466
171
|
|
|
467
|
-
|
|
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.
|
|
468
177
|
|
|
469
|
-
|
|
470
|
-
$maestro
|
|
471
|
-
$arch
|
|
472
|
-
$sage
|
|
473
|
-
$flow
|
|
474
|
-
$vet
|
|
475
|
-
$vibe
|
|
476
|
-
$build
|
|
477
|
-
$align
|
|
478
|
-
$diagnose
|
|
479
|
-
$tdd
|
|
480
|
-
$cleanup
|
|
481
|
-
```
|
|
178
|
+
## Who is it for?
|
|
482
179
|
|
|
483
|
-
|
|
484
|
-
-
|
|
485
|
-
-
|
|
486
|
-
|
|
487
|
-
Autonomous-manager contract:
|
|
488
|
-
- `$maestro` is the only umbrella in-session surface
|
|
489
|
-
- 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`
|
|
490
|
-
- `$align`, `$diagnose`, `$tdd`, and `$cleanup` are publishable helper skills that do not move release gates
|
|
491
|
-
|
|
492
|
-
What `ma setup` and `ma init` do:
|
|
493
|
-
- both currently do the same thing
|
|
494
|
-
- they create the local support files and folders
|
|
495
|
-
- they prepare `.ma/` runtime files such as context, specs, plans, evidence, and runbook files
|
|
496
|
-
- they do not run the skill workflow by themselves
|
|
497
|
-
|
|
498
|
-
What `ma bootstrap` does:
|
|
499
|
-
- checks whether `codex` is callable
|
|
500
|
-
- repairs installed skills and support-bundle assets when possible
|
|
501
|
-
- runs local scaffold setup
|
|
502
|
-
- can seed starter MCP files with `--init-mcp` when the local MCP config is empty or invalid
|
|
503
|
-
- reports `READY`, `READY_WITH_WARNINGS`, or `BLOCKED`
|
|
504
|
-
|
|
505
|
-
What `ma doctor` does:
|
|
506
|
-
- runs the same environment checks without changing files
|
|
507
|
-
- prints the current readiness state and exact next step
|
|
508
|
-
|
|
509
|
-
What to use when:
|
|
510
|
-
- use Codex and run the skills in-session
|
|
511
|
-
- 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
|
|
512
|
-
- use `$arch -> $sage -> $flow -> $vet -> $vibe -> $build` inside the Codex session
|
|
513
|
-
- use `$align`, `$diagnose`, `$tdd`, or `$cleanup` when a helper is enough and the release gate should stay where it is
|
|
514
|
-
- use `ma bootstrap` when you want the lazy-user setup path
|
|
515
|
-
- use `ma doctor` when you want a check-only environment report
|
|
516
|
-
- use `ma setup` or `ma init` only when you want local scaffolding or scripted helper automation from the terminal
|
|
517
|
-
- 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
|
|
518
|
-
|
|
519
|
-
## Skill Surface
|
|
520
|
-
|
|
521
|
-
Meta-Architect’s in-session surface has three layers:
|
|
522
|
-
|
|
523
|
-
- umbrella autonomous manager: `$maestro`
|
|
524
|
-
- fixed gated lanes: `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
|
|
525
|
-
- non-gating helper skills: `$align`, `$diagnose`, `$tdd`, `$cleanup`
|
|
526
|
-
|
|
527
|
-
Helper skills are publishable surfaces, but they do not own release-state transitions.
|
|
528
|
-
|
|
529
|
-
## Core Maintainers
|
|
530
|
-
|
|
531
|
-
<table>
|
|
532
|
-
<tr>
|
|
533
|
-
<td><strong>Role</strong></td>
|
|
534
|
-
<td><strong>Name</strong></td>
|
|
535
|
-
<td><strong>GitHub</strong></td>
|
|
536
|
-
</tr>
|
|
537
|
-
<tr>
|
|
538
|
-
<td>Creator / Maintainer</td>
|
|
539
|
-
<td>JustineDevs</td>
|
|
540
|
-
<td><a href="https://github.com/JustineDevs">@JustineDevs</a></td>
|
|
541
|
-
</tr>
|
|
542
|
-
</table>
|
|
543
|
-
|
|
544
|
-
## Gated Lanes
|
|
545
|
-
|
|
546
|
-
| Trigger | Purpose | Main output | Gate effect |
|
|
547
|
-
| --- | --- | --- | --- |
|
|
548
|
-
| `$arch` | Produce the first-pass architecture blueprint | decision entry | `architecture_status = APPROVED` |
|
|
549
|
-
| `$sage` | Ground major choices in configured GitMCP evidence | evidence records | `evidence_status = VERIFIED | PARTIAL | MISSING` |
|
|
550
|
-
| `$flow` | Review baseline logic and state transitions | logic review entry | `logic_status = GREEN | RED` |
|
|
551
|
-
| `$vet` | Run baseline security and dependency review | audit and CVE records | `security_status = GREEN | RED` |
|
|
552
|
-
| `$vibe` | Review developer and user experience implications | DX/UX outcome record | `experience_status = GREEN | RED | WAIVED` |
|
|
553
|
-
| `$build` | Unlock bounded build planning | build-ready decision + `.ma/plans/build.md` | `build_status = READY` |
|
|
554
|
-
|
|
555
|
-
## Helper Skills
|
|
556
|
-
|
|
557
|
-
| Trigger | Purpose | Gate effect |
|
|
558
|
-
| --- | --- | --- |
|
|
559
|
-
| `$align` | Normalize terminology, tighten scope, and improve prompt or docs clarity | none |
|
|
560
|
-
| `$diagnose` | Decompose blocked-lane symptoms into hypotheses and next probes | none |
|
|
561
|
-
| `$tdd` | Lock behavior with regression-first or test-first scaffolding | none |
|
|
562
|
-
| `$cleanup` | Simplify noisy output and run a final-pass anti-slop cleanup | none |
|
|
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.
|
|
563
183
|
|
|
564
|
-
##
|
|
184
|
+
## How do I contribute?
|
|
565
185
|
|
|
566
|
-
|
|
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.
|
|
567
191
|
|
|
568
|
-
|
|
569
|
-
| --- | --- |
|
|
570
|
-
| `CLEAR` | enough input exists to proceed |
|
|
571
|
-
| `APPROVED` | the architecture lane produced an acceptable first-pass blueprint |
|
|
572
|
-
| `VERIFIED` | live evidence was grounded through approved GitMCP sources |
|
|
573
|
-
| `PARTIAL` | evidence is configured but live proof is incomplete or unavailable |
|
|
574
|
-
| `GREEN` | the current baseline review passed |
|
|
575
|
-
| `RED` | the lane is blocked or failed |
|
|
576
|
-
| `WAIVED` | the lane was intentionally waived with a recorded reason |
|
|
577
|
-
| `LOCKED` | downstream work is not allowed yet |
|
|
578
|
-
| `READY` | the next gated step is allowed |
|
|
579
|
-
|
|
580
|
-
> [!CAUTION]
|
|
581
|
-
> `$build` must stay locked until the upstream release state in `.ma/release.json` satisfies the gate contract.
|
|
582
|
-
> Meta-Architect is designed to stop on blockers rather than silently continue.
|
|
583
|
-
> Rich runtime artifacts live in `.ma/context/`, `.ma/specs/`, `.ma/plans/`, and `.ma/runbook.md`.
|
|
584
|
-
|
|
585
|
-
## Release and Packaging
|
|
586
|
-
|
|
587
|
-
Meta-Architect has three related but different distribution surfaces.
|
|
588
|
-
|
|
589
|
-
| Surface | Purpose | Produced by |
|
|
590
|
-
| --- | --- | --- |
|
|
591
|
-
| Linux native packages | distro-managed install assets for Debian-family and Arch-family environments | `npm run linux:packages:build` and GitHub release assets |
|
|
592
|
-
| npm package | public package containing the installable Meta-Architect skills/plugin system, docs, scripts, and canonical skills | `npm publish` or `npm pack` |
|
|
593
|
-
| skills bundle | narrower tarball containing `skills/` only | `npm run skills:pack` |
|
|
594
|
-
|
|
595
|
-
Required packaging commands:
|
|
192
|
+
## Learn more
|
|
596
193
|
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
npm run pack:inspect
|
|
605
|
-
```
|
|
606
|
-
|
|
607
|
-
Pre-publish rules:
|
|
608
|
-
|
|
609
|
-
- `skills/index.json` must be current
|
|
610
|
-
- `npm run skills:validate` must pass
|
|
611
|
-
- `dist/meta-architect-skills.tgz` must exist
|
|
612
|
-
- `dist/meta-architect_<version>_all.deb` must exist for Debian-family installs
|
|
613
|
-
- `dist/meta-architect-<version>-1-any.pkg.tar.xz` must exist for Arch-family installs
|
|
614
|
-
- `dist/meta-architect-<version>-1.noarch.rpm` must exist for Fedora/openSUSE-style installs
|
|
615
|
-
- `npm pack --dry-run` must show only intended public files
|
|
616
|
-
- docs must match the real skills/plugin and release behavior
|
|
617
|
-
|
|
618
|
-
Release lane discipline:
|
|
619
|
-
- stable versions publish to npm `latest`
|
|
620
|
-
- prerelease versions such as `0.2.0-beta.1` must publish with an explicit dist-tag such as `beta`
|
|
621
|
-
- alternate lanes such as `next`, `beta`, and `canary` must never overwrite `latest`
|
|
622
|
-
|
|
623
|
-
Maintainer version-bump flow:
|
|
624
|
-
1. Bump the package with `npm version <version> --no-git-tag-version`
|
|
625
|
-
2. Update `CHANGELOG.md`, `RELEASE.md`, and `docs/qa/release-readiness-<version>.md`
|
|
626
|
-
3. Run `npm run release:verify`
|
|
627
|
-
4. Run `npm run release:check`
|
|
628
|
-
5. Create and push tag `v<version>`
|
|
629
|
-
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
|
|
630
|
-
7. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
631
|
-
7. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
|
|
632
|
-
- Stable publish: `npm publish --access public`
|
|
633
|
-
- Prerelease publish: `npm publish --access public --tag <lane>`
|
|
634
|
-
8. Verify publish state with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
635
|
-
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`
|
|
636
|
-
|
|
637
|
-
Provenance note:
|
|
638
|
-
- `npm publish --provenance` requires a supported cloud CI/CD provider
|
|
639
|
-
- a local shell publish will fail with `Automatic provenance generation not supported for provider: null`
|
|
640
|
-
- use the repository publish workflow when provenance is required
|
|
641
|
-
|
|
642
|
-
Release automation:
|
|
643
|
-
- `npm run release:sync` bumps and synchronizes the active release line only when watched release-relevant files changed
|
|
644
|
-
- `npm run release:advance` force-bumps the next patch line and rewrites the same version-bearing files
|
|
645
|
-
- `.github/workflows/release-sync.yml` runs the sync path on `main` pushes that touch watched release-relevant paths
|
|
646
|
-
- `.github/workflows/release-advance.yml` runs after a published GitHub release and advances the repo to the next patch line automatically
|
|
647
|
-
|
|
648
|
-
> [!CAUTION]
|
|
649
|
-
> Do not claim npm, GitHub release, or any other publish channel until that channel has actually succeeded.
|
|
650
|
-
> Release documentation must match reality, not intent.
|
|
651
|
-
|
|
652
|
-
## Package Surface
|
|
653
|
-
|
|
654
|
-
<table>
|
|
655
|
-
<tr>
|
|
656
|
-
<td><strong>Included</strong></td>
|
|
657
|
-
<td><code>bin/</code>, <code>skills/</code>, <code>docs/</code>, <code>scripts/</code>, <code>index.js</code>, <code>README.md</code>, <code>LICENSE</code></td>
|
|
658
|
-
</tr>
|
|
659
|
-
<tr>
|
|
660
|
-
<td><strong>Excluded</strong></td>
|
|
661
|
-
<td><code>.ma/</code> runtime state, context, specs, plans, logs, caches, and temp install outputs</td>
|
|
662
|
-
</tr>
|
|
663
|
-
</table>
|
|
664
|
-
|
|
665
|
-
## Repository Structure
|
|
666
|
-
|
|
667
|
-
<table>
|
|
668
|
-
<tr>
|
|
669
|
-
<td><strong>Path</strong></td>
|
|
670
|
-
<td><strong>Responsibility</strong></td>
|
|
671
|
-
</tr>
|
|
672
|
-
<tr>
|
|
673
|
-
<td><code>.codex/</code></td>
|
|
674
|
-
<td>runtime prompts, hooks, and repo guidance</td>
|
|
675
|
-
</tr>
|
|
676
|
-
<tr>
|
|
677
|
-
<td><code>skills/</code></td>
|
|
678
|
-
<td>canonical public skill contracts</td>
|
|
679
|
-
</tr>
|
|
680
|
-
<tr>
|
|
681
|
-
<td><code>plugins/meta-architect/</code></td>
|
|
682
|
-
<td>plugin-oriented distribution surface</td>
|
|
683
|
-
</tr>
|
|
684
|
-
<tr>
|
|
685
|
-
<td><code>docs/</code></td>
|
|
686
|
-
<td>installation, publishing, and release documentation</td>
|
|
687
|
-
</tr>
|
|
688
|
-
<tr>
|
|
689
|
-
<td><code>missions/</code></td>
|
|
690
|
-
<td>reproducible scenario-driven workflows</td>
|
|
691
|
-
</tr>
|
|
692
|
-
<tr>
|
|
693
|
-
<td><code>mcp/</code></td>
|
|
694
|
-
<td>GitMCP endpoint and collection configuration</td>
|
|
695
|
-
</tr>
|
|
696
|
-
<tr>
|
|
697
|
-
<td><code>scripts/</code></td>
|
|
698
|
-
<td>validation, packing, and install helpers</td>
|
|
699
|
-
</tr>
|
|
700
|
-
<tr>
|
|
701
|
-
<td><code>sprint/</code></td>
|
|
702
|
-
<td>human-readable phased workflow documents</td>
|
|
703
|
-
</tr>
|
|
704
|
-
</table>
|
|
705
|
-
|
|
706
|
-
## Documentation
|
|
707
|
-
|
|
708
|
-
| Surface | Purpose |
|
|
709
|
-
| --- | --- |
|
|
710
|
-
| [Getting Started](./docs/getting-started.md) | end-to-end local onboarding |
|
|
711
|
-
| [Skills Reference](./docs/skills.md) | trigger-by-trigger contract guide |
|
|
712
|
-
| [Installed Support Bundle](./docs/installed-sdk.md) | standard packaged asset path for skills and helper flows |
|
|
713
|
-
| [Skills Publishing](./docs/skills-publishing.md) | source-to-package pipeline |
|
|
714
|
-
| [MCP Setup](./docs/mcp-setup.md) | evidence endpoint policy |
|
|
715
|
-
| [Plugin README](./plugins/meta-architect/README.md) | plugin distribution surface |
|
|
716
|
-
| [Collaborative Whiteboard Mission](./missions/collaborative-whiteboard/mission.md) | concrete scenario walkthrough |
|
|
717
|
-
| [Release Spec](./docs/release-spec.md) | release and gate policy |
|
|
718
|
-
| [Release Readiness](./docs/qa/release-readiness-0.1.12.md) | QA evidence for the `v0.1.12` line |
|
|
719
|
-
|
|
720
|
-
## Release Hygiene
|
|
721
|
-
|
|
722
|
-
> [!WARNING]
|
|
723
|
-
> Runtime `.ma` logs, state, tmp, and cache files must not be shipped.
|
|
724
|
-
> Public docs must match actual package behavior.
|
|
725
|
-
> Publish statements must match reality.
|
|
726
|
-
> Skill contracts must stay aligned across canonical and plugin-facing copies.
|
|
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)
|
|
727
201
|
|
|
728
202
|
## License
|
|
729
203
|
|
|
730
|
-
[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.
|