@jstn-sdk/ma 0.1.3 → 0.1.5
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/config.toml +2 -0
- package/.codex/hooks.json +1 -1
- package/.codex/prompts/enforcement.md +3 -3
- package/.codex/prompts/onboarding.md +14 -29
- package/README.md +129 -466
- package/bin/ma.js +103 -54
- package/docs/README.md +1 -2
- package/docs/getting-started.md +37 -402
- package/docs/mcp-setup.md +134 -3
- package/docs/onboarding.md +11 -41
- package/docs/qa/release-readiness-0.1.5.md +77 -0
- package/docs/release-spec.md +103 -74
- package/docs/skills-publishing.md +54 -187
- package/docs/skills.md +141 -78
- package/mcp/collections.json +1 -1
- package/mcp/fallback.json +1 -1
- package/mcp/servers.json +1 -1
- package/package.json +14 -16
- package/plugins/meta-architect/.app.json +1 -1
- package/plugins/meta-architect/.mcp.json +1 -1
- package/plugins/meta-architect/README.md +10 -23
- package/plugins/meta-architect/skills/meta-architect/SKILL.md +23 -17
- package/plugins/meta-architect/skills/meta-architect-arch/SKILL.md +24 -0
- package/plugins/meta-architect/skills/meta-architect-build/SKILL.md +25 -0
- package/plugins/meta-architect/skills/meta-architect-flow/SKILL.md +23 -0
- package/plugins/meta-architect/skills/meta-architect-sage/SKILL.md +23 -0
- package/plugins/meta-architect/skills/meta-architect-vet/SKILL.md +23 -0
- package/plugins/meta-architect/skills/meta-architect-vibe/SKILL.md +24 -0
- package/prompts/architect.md +216 -0
- package/prompts/builder.md +10 -0
- package/prompts/flow.md +9 -0
- package/prompts/release-manager.md +10 -0
- package/prompts/sage.md +10 -0
- package/prompts/security-reviewer.md +10 -0
- package/prompts/verifier.md +10 -0
- package/prompts/vibe.md +10 -0
- package/scripts/doctor.js +0 -8
- package/scripts/skills-install.js +36 -4
- package/scripts/skills-manifest.js +1 -1
- package/scripts/skills-validate.js +40 -78
- package/skills/index.json +22 -22
- package/skills/meta-architect/SKILL.md +23 -17
- package/skills/meta-architect/agents/openai.yaml +3 -3
- package/skills/meta-architect/references/core-release-rules.md +2 -2
- package/skills/meta-architect-arch/SKILL.md +24 -0
- package/skills/meta-architect-arch/agents/openai.yaml +4 -0
- package/skills/meta-architect-build/SKILL.md +25 -0
- package/skills/meta-architect-build/agents/openai.yaml +4 -0
- package/skills/meta-architect-flow/SKILL.md +23 -0
- package/skills/meta-architect-flow/agents/openai.yaml +4 -0
- package/skills/meta-architect-sage/SKILL.md +23 -0
- package/skills/meta-architect-sage/agents/openai.yaml +4 -0
- package/skills/meta-architect-vet/SKILL.md +23 -0
- package/skills/meta-architect-vet/agents/openai.yaml +4 -0
- package/skills/meta-architect-vibe/SKILL.md +24 -0
- package/skills/meta-architect-vibe/agents/openai.yaml +4 -0
- package/sprint/00-idea.md +1 -1
- package/sprint/01-architecture.md +1 -1
- package/sprint/02-oss-evidence.md +1 -1
- package/sprint/03-logic.md +1 -1
- package/sprint/04-security.md +2 -2
- package/sprint/05-dx-ux.md +1 -1
- package/src/decision-log.js +4 -4
- package/src/doctor.js +30 -0
- package/src/launcher.js +17 -21
- package/src/mcp-live-client.js +1 -1
- package/src/paths.js +32 -8
- package/src/release-state.js +3 -3
- package/src/setup.js +375 -0
- package/src/skills.js +166 -309
- package/templates/AGENTS.md +6 -6
- package/templates/model-instructions/core.md +1 -1
- package/.agents/plugins/marketplace.json +0 -20
- package/docs/assets/meta-architect-logo.png +0 -0
- package/docs/assets/meta-architect-logo.svg +0 -8
- package/docs/installed-sdk.md +0 -60
- package/docs/qa/release-readiness-0.1.3.md +0 -79
- package/plugins/meta-architect/.codex-plugin/plugin.json +0 -23
- package/plugins/meta-architect/skills/arch/SKILL.md +0 -27
- package/plugins/meta-architect/skills/arch/agents/openai.yaml +0 -4
- package/plugins/meta-architect/skills/build/SKILL.md +0 -24
- package/plugins/meta-architect/skills/build/agents/openai.yaml +0 -4
- package/plugins/meta-architect/skills/flow/SKILL.md +0 -24
- package/plugins/meta-architect/skills/flow/agents/openai.yaml +0 -4
- package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +0 -4
- package/plugins/meta-architect/skills/meta-architect/references/core-release-rules.md +0 -13
- package/plugins/meta-architect/skills/sage/SKILL.md +0 -24
- package/plugins/meta-architect/skills/sage/agents/openai.yaml +0 -4
- package/plugins/meta-architect/skills/vet/SKILL.md +0 -25
- package/plugins/meta-architect/skills/vet/agents/openai.yaml +0 -4
- package/plugins/meta-architect/skills/vibe/SKILL.md +0 -24
- package/plugins/meta-architect/skills/vibe/agents/openai.yaml +0 -4
- package/scripts/plugin-sync.js +0 -92
- package/scripts/postinstall.js +0 -23
- package/scripts/release-metadata.js +0 -94
- package/scripts/release-sync.js +0 -348
- package/scripts/release-verify.js +0 -153
- package/scripts/setup-npmrc.js +0 -39
- package/skills/arch/SKILL.md +0 -27
- package/skills/arch/agents/openai.yaml +0 -4
- package/skills/build/SKILL.md +0 -24
- package/skills/build/agents/openai.yaml +0 -4
- package/skills/flow/SKILL.md +0 -24
- package/skills/flow/agents/openai.yaml +0 -4
- package/skills/sage/SKILL.md +0 -24
- package/skills/sage/agents/openai.yaml +0 -4
- package/skills/vet/SKILL.md +0 -25
- package/skills/vet/agents/openai.yaml +0 -4
- package/skills/vibe/SKILL.md +0 -24
- package/skills/vibe/agents/openai.yaml +0 -4
- package/src/runtime-artifacts.js +0 -363
- package/src/skill-installer.js +0 -198
package/README.md
CHANGED
|
@@ -1,285 +1,90 @@
|
|
|
1
|
-
|
|
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>
|
|
4
|
-
<p>
|
|
5
|
-
<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
|
-
</div>
|
|
11
|
-
|
|
12
|
-
> [!IMPORTANT]
|
|
13
|
-
> Meta-Architect `v0.1.3` is a production-grade skills line.
|
|
14
|
-
> It is not a lightweight demo branch.
|
|
15
|
-
> From `v0.1.3` onward, the package is expected to ship with stable skill contracts, deterministic packaging, explicit release gates, and honest install and publish surfaces.
|
|
16
|
-
|
|
17
|
-
## Overview
|
|
18
|
-
|
|
19
|
-
Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution.
|
|
20
|
-
|
|
21
|
-
It adds:
|
|
22
|
-
|
|
23
|
-
- an architecture-first lane before implementation
|
|
24
|
-
- evidence-backed OSS selection through GitMCP-connected sources
|
|
25
|
-
- explicit logic, security, and DX/UX review gates
|
|
26
|
-
- installable skills and a reproducible package surface
|
|
27
|
-
|
|
28
|
-
> [!NOTE]
|
|
29
|
-
> Meta-Architect does not replace your coding runtime.
|
|
30
|
-
> It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.
|
|
31
|
-
|
|
32
|
-
<table>
|
|
33
|
-
<tr>
|
|
34
|
-
<td><strong>npm package</strong></td>
|
|
35
|
-
<td><code>@jstn-sdk/ma</code></td>
|
|
36
|
-
</tr>
|
|
37
|
-
<tr>
|
|
38
|
-
<td><strong>Helper command</strong></td>
|
|
39
|
-
<td><code>ma</code> (secondary support surface)</td>
|
|
40
|
-
</tr>
|
|
41
|
-
<tr>
|
|
42
|
-
<td><strong>Runtime</strong></td>
|
|
43
|
-
<td>Node.js <code>>=20</code>, npm <code>@10</code></td>
|
|
44
|
-
</tr>
|
|
45
|
-
<tr>
|
|
46
|
-
<td><strong>Release line</strong></td>
|
|
47
|
-
<td><code>v0.1.3</code></td>
|
|
48
|
-
</tr>
|
|
49
|
-
<tr>
|
|
50
|
-
<td><strong>License</strong></td>
|
|
51
|
-
<td><a href="./LICENSE">MIT</a></td>
|
|
52
|
-
</tr>
|
|
53
|
-
</table>
|
|
54
|
-
|
|
55
|
-
## Prerequisites
|
|
56
|
-
|
|
57
|
-
- Node.js `>=20`
|
|
58
|
-
- npm `>=10`
|
|
59
|
-
- Git
|
|
60
|
-
- an MCP-capable coding runtime
|
|
61
|
-
- Codex for the recommended package-first path
|
|
62
|
-
- macOS, Linux, or WSL2 recommended
|
|
63
|
-
|
|
64
|
-
> [!TIP]
|
|
65
|
-
> The most reliable default environment is a Unix-like shell with Git, Node.js, and an MCP-capable runtime already configured.
|
|
66
|
-
|
|
67
|
-
## Recommended Default Flow
|
|
68
|
-
|
|
69
|
-
Meta-Architect is intended to be consumed as an installed package, not primarily as a git clone.
|
|
70
|
-
|
|
71
|
-
Primary product path:
|
|
1
|
+
# Meta-Architect
|
|
72
2
|
|
|
73
|
-
|
|
74
|
-
# Install
|
|
75
|
-
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
76
|
-
|
|
77
|
-
# Start Codex context if needed
|
|
78
|
-
ma --madmax --high
|
|
79
|
-
|
|
80
|
-
# Remove Meta-Architect only
|
|
81
|
-
npm uninstall -g @jstn-sdk/ma
|
|
82
|
-
|
|
83
|
-
# Remove Meta-Architect and Codex
|
|
84
|
-
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
What this assumes:
|
|
88
|
-
|
|
89
|
-
- Codex is installed globally
|
|
90
|
-
- Meta-Architect is installed globally as the skills/plugin package
|
|
91
|
-
- Meta-Architect installs its published skill surface into the active Codex home
|
|
92
|
-
- the product experience happens through the skill workflow inside Codex
|
|
93
|
-
|
|
94
|
-
> [!IMPORTANT]
|
|
95
|
-
> The recommended default flow is package-first.
|
|
96
|
-
> The git clone path is for contributors and maintainers, not the main user-facing install story.
|
|
97
|
-
|
|
98
|
-
## Repository Branch Strategy
|
|
99
|
-
|
|
100
|
-
Meta-Architect’s repository workflow follows a stricter release posture focused on gated promotion:
|
|
101
|
-
|
|
102
|
-
- `main` = release-facing protected branch
|
|
103
|
-
- `development` = normal integration branch
|
|
104
|
-
- `feature/*` = short-lived contribution branches
|
|
105
|
-
- contributors branch from `development`
|
|
106
|
-
- normal PRs target `development`
|
|
107
|
-
- only curated promotions move `development` into `main`
|
|
108
|
-
|
|
109
|
-
> [!CAUTION]
|
|
110
|
-
> `main` is intended to be protected and exceptional.
|
|
111
|
-
> Maintainers should stop bypass-pushing to `main` except for genuine emergency or admin recovery cases.
|
|
112
|
-
|
|
113
|
-
## Setup
|
|
114
|
-
|
|
115
|
-
### Package setup
|
|
116
|
-
|
|
117
|
-
Install the consumer package directly:
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
# Install
|
|
121
|
-
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
3
|
+
Meta-Architect is a Codex-native runtime layer. Codex is the host runtime. Meta-Architect extends Codex with skill-based architecture, evidence, logic, security, DX, and build workflows.
|
|
122
4
|
|
|
123
|
-
|
|
124
|
-
ma --madmax --high
|
|
125
|
-
|
|
126
|
-
# Remove Meta-Architect only
|
|
127
|
-
npm uninstall -g @jstn-sdk/ma
|
|
5
|
+
**Docs:** [Getting Started](./docs/getting-started.md) · [Skills](./docs/skills.md) · [MCP Setup](./docs/mcp-setup.md) · [Skills Publishing](./docs/skills-publishing.md) · [Release Spec](./docs/release-spec.md) · [Plugin](./plugins/meta-architect/README.md) · [Demo](./DEMO.md)
|
|
128
6
|
|
|
129
|
-
|
|
130
|
-
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
131
|
-
```
|
|
7
|
+
## v0.1.5 standard
|
|
132
8
|
|
|
133
|
-
|
|
9
|
+
Meta-Architect `v0.1.5` is the canonical production release line for this repository.
|
|
134
10
|
|
|
135
|
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
11
|
+
From `v0.1.5` onward, this repository expects:
|
|
12
|
+
- a Codex-hosted runtime-first product story
|
|
13
|
+
- deterministic skill packaging and release metadata
|
|
14
|
+
- strict gate enforcement and append-only decisions
|
|
15
|
+
- npm provenance-backed publishing from GitHub Actions trusted publishing
|
|
16
|
+
- release notes, QA evidence, manifests, and workflows that agree on one version and tag
|
|
138
17
|
|
|
139
|
-
|
|
18
|
+
## Install and launch
|
|
140
19
|
|
|
141
|
-
|
|
20
|
+
Canonical install:
|
|
142
21
|
|
|
143
22
|
```bash
|
|
144
|
-
|
|
145
|
-
cd meta-architect
|
|
146
|
-
npm install
|
|
147
|
-
npm link
|
|
23
|
+
npm i -g @openai/codex @jstn-sdk/ma
|
|
148
24
|
```
|
|
149
25
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
## Quick Start
|
|
153
|
-
|
|
154
|
-
### 1. Start Codex context if needed
|
|
26
|
+
Canonical launch:
|
|
155
27
|
|
|
156
28
|
```bash
|
|
157
29
|
ma --madmax --high
|
|
158
30
|
```
|
|
159
31
|
|
|
160
|
-
|
|
32
|
+
Canonical operating surface inside Codex:
|
|
33
|
+
- `$arch`
|
|
34
|
+
- `$sage`
|
|
35
|
+
- `$flow`
|
|
36
|
+
- `$vet`
|
|
37
|
+
- `$vibe`
|
|
38
|
+
- `$build`
|
|
161
39
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
Quick-start prompt:
|
|
165
|
-
|
|
166
|
-
```text
|
|
167
|
-
$arch I want to build: [PROJECT IDEA]
|
|
168
|
-
|
|
169
|
-
Context:
|
|
170
|
-
- Product type: [web app / mobile app / API / marketplace / agent system / internal tool]
|
|
171
|
-
- Users: [who will use it]
|
|
172
|
-
- Core problem: [what problem it solves]
|
|
173
|
-
- Main features:
|
|
174
|
-
1. [feature one]
|
|
175
|
-
2. [feature two]
|
|
176
|
-
3. [feature three]
|
|
177
|
-
- Constraints:
|
|
178
|
-
- Budget: [low / medium / high]
|
|
179
|
-
- Team size: [solo / small / medium]
|
|
180
|
-
- Timeline: [e.g. 2 weeks MVP, 3 months beta]
|
|
181
|
-
- Preferred stack: [optional]
|
|
182
|
-
- Avoid: [optional]
|
|
183
|
-
- Quality priorities:
|
|
184
|
-
- [e.g. speed, low cost, security, DX, maintainability, scalability]
|
|
185
|
-
- Deployment target:
|
|
186
|
-
- [Vercel / Docker / VPS / AWS / GCP / local-first / hybrid]
|
|
187
|
-
|
|
188
|
-
Required output:
|
|
189
|
-
1. Problem framing
|
|
190
|
-
2. Recommended architecture
|
|
191
|
-
3. Stack decision with justification
|
|
192
|
-
4. System components and responsibilities
|
|
193
|
-
5. Data model and storage choices
|
|
194
|
-
6. Auth/security considerations
|
|
195
|
-
7. DX/UX considerations
|
|
196
|
-
8. Delivery plan for v0.1.3
|
|
197
|
-
9. Risks and trade-offs
|
|
198
|
-
10. Decision log
|
|
199
|
-
11. Exact next trigger to run after this
|
|
200
|
-
```
|
|
40
|
+
Legacy `meta-architect` and `@jstn-sdk/meta-architect-skills` installs are compatibility-only references and should be replaced with `@jstn-sdk/ma`.
|
|
201
41
|
|
|
202
|
-
|
|
42
|
+
## Runtime model
|
|
203
43
|
|
|
204
|
-
|
|
44
|
+
- Codex is the host runtime.
|
|
45
|
+
- Meta-Architect is the runtime extension.
|
|
46
|
+
- Daily use happens through skill tags inside Codex.
|
|
47
|
+
- `ma` is the runtime entry posture plus a small maintenance/helper surface.
|
|
48
|
+
- `ma setup`, `ma doctor`, `ma status`, and `ma run ...` are subordinate maintenance or scripted-helper commands, not the primary product story.
|
|
205
49
|
|
|
206
|
-
|
|
207
|
-
$sage
|
|
208
|
-
$flow
|
|
209
|
-
$vet
|
|
210
|
-
$vibe
|
|
211
|
-
$build
|
|
212
|
-
```
|
|
50
|
+
## Gate model
|
|
213
51
|
|
|
214
|
-
|
|
52
|
+
Meta-Architect enforces a strict local release-state contract:
|
|
53
|
+
- `idea_status`
|
|
54
|
+
- `architecture_status`
|
|
55
|
+
- `evidence_status`
|
|
56
|
+
- `logic_status`
|
|
57
|
+
- `security_status`
|
|
58
|
+
- `experience_status`
|
|
59
|
+
- `build_status`
|
|
60
|
+
- `merge_status`
|
|
61
|
+
- `release_status`
|
|
215
62
|
|
|
216
|
-
|
|
63
|
+
`$build` stays locked unless:
|
|
64
|
+
- `idea_status = CLEAR`
|
|
65
|
+
- `architecture_status = APPROVED`
|
|
66
|
+
- `evidence_status = VERIFIED`
|
|
67
|
+
- `logic_status = GREEN`
|
|
68
|
+
- `security_status = GREEN`
|
|
69
|
+
- `experience_status ∈ { GREEN, WAIVED }`
|
|
70
|
+
- `build_status ∈ { LOCKED, READY }`
|
|
217
71
|
|
|
218
|
-
|
|
72
|
+
The normative contract is in [docs/release-spec.md](./docs/release-spec.md).
|
|
219
73
|
|
|
220
|
-
|
|
221
|
-
ma setup
|
|
222
|
-
ma
|
|
223
|
-
```
|
|
74
|
+
## Quickstart
|
|
224
75
|
|
|
225
|
-
|
|
76
|
+
Inside the Codex session launched with `ma --madmax --high`, use the runtime tags directly:
|
|
226
77
|
|
|
227
78
|
```text
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
ready: .ma/context
|
|
235
|
-
ready: .ma/specs
|
|
236
|
-
ready: .ma/plans
|
|
237
|
-
ready: mcp
|
|
238
|
-
ready: docs
|
|
239
|
-
ready: docs/qa
|
|
240
|
-
ready: sprint
|
|
79
|
+
$arch "Define architecture and stack boundaries"
|
|
80
|
+
$sage "Bind major choices to approved OSS evidence"
|
|
81
|
+
$flow "Review logic, states, and blockers"
|
|
82
|
+
$vet "Review security posture and dependency risk"
|
|
83
|
+
$vibe "Review developer and user experience"
|
|
84
|
+
$build "Evaluate gates and prepare bounded implementation work"
|
|
241
85
|
```
|
|
242
86
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
Add real repository-backed endpoints in `mcp/servers.json`.
|
|
246
|
-
|
|
247
|
-
Example:
|
|
248
|
-
|
|
249
|
-
```json
|
|
250
|
-
{
|
|
251
|
-
"category": "meta-list",
|
|
252
|
-
"repo": "sindresorhus/awesome",
|
|
253
|
-
"endpoint": "https://gitmcp.io/sindresorhus/awesome"
|
|
254
|
-
}
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
Recommended starter endpoints:
|
|
258
|
-
|
|
259
|
-
- `https://gitmcp.io/sindresorhus/awesome`
|
|
260
|
-
- `https://gitmcp.io/dzharii/awesome-typescript`
|
|
261
|
-
- `https://gitmcp.io/sbilly/awesome-security`
|
|
262
|
-
|
|
263
|
-
> [!IMPORTANT]
|
|
264
|
-
> Verified release evidence must come from repository-form GitMCP endpoints such as `https://gitmcp.io/{owner}/{repo}`.
|
|
265
|
-
> A generic documentation endpoint such as `https://gitmcp.io/docs` does not count as VERIFIED evidence for build unlocking.
|
|
266
|
-
|
|
267
|
-
### 6. Secondary helper flow outside Codex
|
|
268
|
-
|
|
269
|
-
If you need scripted repo-local validation rather than the interactive runtime workflow:
|
|
270
|
-
|
|
271
|
-
```bash
|
|
272
|
-
ma idea "Build a real-time collaborative whiteboard for product teams"
|
|
273
|
-
ma run '$arch'
|
|
274
|
-
ma run '$sage'
|
|
275
|
-
ma run '$flow'
|
|
276
|
-
ma run '$vet'
|
|
277
|
-
ma run '$vibe'
|
|
278
|
-
ma status
|
|
279
|
-
ma run '$build'
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
Expected status before the helper-path `$build`:
|
|
87
|
+
Expected `ma status` after the upstream review gates are green:
|
|
283
88
|
|
|
284
89
|
```text
|
|
285
90
|
Meta-Architect Status
|
|
@@ -295,7 +100,7 @@ Next allowed triggers:
|
|
|
295
100
|
$build
|
|
296
101
|
```
|
|
297
102
|
|
|
298
|
-
Expected helper
|
|
103
|
+
Expected scripted helper output for `ma run '$build'`:
|
|
299
104
|
|
|
300
105
|
```text
|
|
301
106
|
Build gate is green.
|
|
@@ -307,225 +112,83 @@ git worktree add ../ui feature/ui
|
|
|
307
112
|
git worktree add ../api feature/api
|
|
308
113
|
```
|
|
309
114
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
Meta-Architect has two surfaces.
|
|
115
|
+
## Maintenance and scripted helpers
|
|
313
116
|
|
|
314
|
-
-
|
|
315
|
-
- in-session skills
|
|
316
|
-
|
|
317
|
-
Terminal commands are normal shell commands you run in the terminal:
|
|
117
|
+
Use the CLI helpers only when you need repo-local scaffolding, diagnostics, or non-interactive verification:
|
|
318
118
|
|
|
319
119
|
```bash
|
|
320
|
-
ma setup
|
|
321
|
-
ma init
|
|
322
|
-
ma idea "Build a product"
|
|
323
120
|
ma status
|
|
121
|
+
ma idea "Build a collaborative whiteboard"
|
|
324
122
|
ma run '$arch'
|
|
123
|
+
ma run '$sage'
|
|
124
|
+
ma run '$flow'
|
|
125
|
+
ma run '$vet'
|
|
126
|
+
ma run '$vibe'
|
|
127
|
+
ma run '$build'
|
|
128
|
+
ma doctor
|
|
129
|
+
ma setup
|
|
325
130
|
```
|
|
326
131
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
-
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
-
|
|
345
|
-
-
|
|
346
|
-
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
351
|
-
-
|
|
352
|
-
-
|
|
353
|
-
|
|
354
|
-
##
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
| `APPROVED` | the architecture lane produced an acceptable first-pass blueprint |
|
|
388
|
-
| `VERIFIED` | live evidence was grounded through approved GitMCP sources |
|
|
389
|
-
| `PARTIAL` | evidence is configured but live proof is incomplete or unavailable |
|
|
390
|
-
| `GREEN` | the current baseline review passed |
|
|
391
|
-
| `RED` | the lane is blocked or failed |
|
|
392
|
-
| `WAIVED` | the lane was intentionally waived with a recorded reason |
|
|
393
|
-
| `LOCKED` | downstream work is not allowed yet |
|
|
394
|
-
| `READY` | the next gated step is allowed |
|
|
395
|
-
|
|
396
|
-
> [!CAUTION]
|
|
397
|
-
> `$build` must stay locked until the upstream release state in `.ma/release.json` satisfies the gate contract.
|
|
398
|
-
> Meta-Architect is designed to stop on blockers rather than silently continue.
|
|
399
|
-
> Rich runtime artifacts live in `.ma/context/`, `.ma/specs/`, `.ma/plans/`, and `.ma/runbook.md`.
|
|
400
|
-
|
|
401
|
-
## Release and Packaging
|
|
402
|
-
|
|
403
|
-
Meta-Architect has two related but different distribution surfaces.
|
|
404
|
-
|
|
405
|
-
| Surface | Purpose | Produced by |
|
|
406
|
-
| --- | --- | --- |
|
|
407
|
-
| npm package | public package containing the installable Meta-Architect skills/plugin system, docs, scripts, and canonical skills | `npm publish` or `npm pack` |
|
|
408
|
-
| skills bundle | narrower tarball containing `skills/` only | `npm run skills:pack` |
|
|
409
|
-
|
|
410
|
-
Required packaging commands:
|
|
411
|
-
|
|
412
|
-
```bash
|
|
413
|
-
npm run skills:manifest
|
|
414
|
-
npm run skills:validate
|
|
415
|
-
npm run skills:pack
|
|
416
|
-
npm run skills:install -- --path ./dist/installed-skills
|
|
417
|
-
npm run pack:inspect
|
|
418
|
-
```
|
|
419
|
-
|
|
420
|
-
Pre-publish rules:
|
|
421
|
-
|
|
422
|
-
- `skills/index.json` must be current
|
|
423
|
-
- `npm run skills:validate` must pass
|
|
424
|
-
- `dist/meta-architect-skills.tgz` must exist
|
|
425
|
-
- `npm pack --dry-run` must show only intended public files
|
|
426
|
-
- docs must match the real skills/plugin and release behavior
|
|
427
|
-
|
|
428
|
-
Release lane discipline:
|
|
429
|
-
- stable versions publish to npm `latest`
|
|
430
|
-
- prerelease versions such as `0.2.0-beta.1` must publish with an explicit dist-tag such as `beta`
|
|
431
|
-
- alternate lanes such as `next`, `beta`, and `canary` must never overwrite `latest`
|
|
432
|
-
|
|
433
|
-
Maintainer version-bump flow:
|
|
434
|
-
1. Bump the package with `npm version <version> --no-git-tag-version`
|
|
435
|
-
2. Update `CHANGELOG.md`, `RELEASE.md`, and `docs/qa/release-readiness-<version>.md`
|
|
436
|
-
3. Run `npm run release:verify`
|
|
437
|
-
4. Run `npm run release:check`
|
|
438
|
-
5. Create and push tag `v<version>`
|
|
439
|
-
6. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
440
|
-
7. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
|
|
441
|
-
- Stable publish: `npm publish --access public`
|
|
442
|
-
- Prerelease publish: `npm publish --access public --tag <lane>`
|
|
443
|
-
8. Verify publish state with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
444
|
-
|
|
445
|
-
Provenance note:
|
|
446
|
-
- `npm publish --provenance` requires a supported cloud CI/CD provider
|
|
447
|
-
- a local shell publish will fail with `Automatic provenance generation not supported for provider: null`
|
|
448
|
-
- use the repository publish workflow when provenance is required
|
|
449
|
-
|
|
450
|
-
> [!CAUTION]
|
|
451
|
-
> Do not claim npm, GitHub release, or any other publish channel until that channel has actually succeeded.
|
|
452
|
-
> Release documentation must match reality, not intent.
|
|
453
|
-
|
|
454
|
-
## Package Surface
|
|
455
|
-
|
|
456
|
-
<table>
|
|
457
|
-
<tr>
|
|
458
|
-
<td><strong>Included</strong></td>
|
|
459
|
-
<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>
|
|
460
|
-
</tr>
|
|
461
|
-
<tr>
|
|
462
|
-
<td><strong>Excluded</strong></td>
|
|
463
|
-
<td><code>.ma/</code> runtime state, context, specs, plans, logs, caches, and temp install outputs</td>
|
|
464
|
-
</tr>
|
|
465
|
-
</table>
|
|
466
|
-
|
|
467
|
-
## Repository Structure
|
|
468
|
-
|
|
469
|
-
<table>
|
|
470
|
-
<tr>
|
|
471
|
-
<td><strong>Path</strong></td>
|
|
472
|
-
<td><strong>Responsibility</strong></td>
|
|
473
|
-
</tr>
|
|
474
|
-
<tr>
|
|
475
|
-
<td><code>.codex/</code></td>
|
|
476
|
-
<td>runtime prompts, hooks, and repo guidance</td>
|
|
477
|
-
</tr>
|
|
478
|
-
<tr>
|
|
479
|
-
<td><code>skills/</code></td>
|
|
480
|
-
<td>canonical public skill contracts</td>
|
|
481
|
-
</tr>
|
|
482
|
-
<tr>
|
|
483
|
-
<td><code>plugins/meta-architect/</code></td>
|
|
484
|
-
<td>plugin-oriented distribution surface</td>
|
|
485
|
-
</tr>
|
|
486
|
-
<tr>
|
|
487
|
-
<td><code>docs/</code></td>
|
|
488
|
-
<td>installation, publishing, and release documentation</td>
|
|
489
|
-
</tr>
|
|
490
|
-
<tr>
|
|
491
|
-
<td><code>missions/</code></td>
|
|
492
|
-
<td>reproducible scenario-driven workflows</td>
|
|
493
|
-
</tr>
|
|
494
|
-
<tr>
|
|
495
|
-
<td><code>mcp/</code></td>
|
|
496
|
-
<td>GitMCP endpoint and collection configuration</td>
|
|
497
|
-
</tr>
|
|
498
|
-
<tr>
|
|
499
|
-
<td><code>scripts/</code></td>
|
|
500
|
-
<td>validation, packing, and install helpers</td>
|
|
501
|
-
</tr>
|
|
502
|
-
<tr>
|
|
503
|
-
<td><code>sprint/</code></td>
|
|
504
|
-
<td>human-readable phased workflow documents</td>
|
|
505
|
-
</tr>
|
|
506
|
-
</table>
|
|
507
|
-
|
|
508
|
-
## Documentation
|
|
509
|
-
|
|
510
|
-
| Surface | Purpose |
|
|
511
|
-
| --- | --- |
|
|
512
|
-
| [Getting Started](./docs/getting-started.md) | end-to-end local onboarding |
|
|
513
|
-
| [Skills Reference](./docs/skills.md) | trigger-by-trigger contract guide |
|
|
514
|
-
| [Installed Support Bundle](./docs/installed-sdk.md) | standard packaged asset path for skills and helper flows |
|
|
515
|
-
| [Skills Publishing](./docs/skills-publishing.md) | source-to-package pipeline |
|
|
516
|
-
| [MCP Setup](./docs/mcp-setup.md) | evidence endpoint policy |
|
|
517
|
-
| [Plugin README](./plugins/meta-architect/README.md) | plugin distribution surface |
|
|
518
|
-
| [Collaborative Whiteboard Mission](./missions/collaborative-whiteboard/mission.md) | concrete scenario walkthrough |
|
|
519
|
-
| [Release Spec](./docs/release-spec.md) | release and gate policy |
|
|
520
|
-
| [Release Readiness](./docs/qa/release-readiness-0.1.3.md) | QA evidence for the `v0.1.3` line |
|
|
521
|
-
|
|
522
|
-
## Release Hygiene
|
|
523
|
-
|
|
524
|
-
> [!WARNING]
|
|
525
|
-
> Runtime `.ma` logs, state, tmp, and cache files must not be shipped.
|
|
526
|
-
> Public docs must match actual package behavior.
|
|
527
|
-
> Publish statements must match reality.
|
|
528
|
-
> Skill contracts must stay aligned across canonical and plugin-facing copies.
|
|
132
|
+
These commands support the runtime; they are not the main experience.
|
|
133
|
+
|
|
134
|
+
## Merge and release posture
|
|
135
|
+
|
|
136
|
+
Supported branch semantics:
|
|
137
|
+
- `feature/*` for bounded task work
|
|
138
|
+
- `development` for integration
|
|
139
|
+
- optional approved `release/*` for stabilization
|
|
140
|
+
- `prod` for production release
|
|
141
|
+
|
|
142
|
+
Release policy:
|
|
143
|
+
- feature branches never promote directly to `prod`
|
|
144
|
+
- release evaluation is valid only from `development` or approved `release/*`
|
|
145
|
+
- release claims are only true after tag, GitHub release, and npm publish evidence all succeed
|
|
146
|
+
|
|
147
|
+
## Packaging and provenance
|
|
148
|
+
|
|
149
|
+
Meta-Architect publishes two aligned surfaces:
|
|
150
|
+
- the npm runtime package `@jstn-sdk/ma`
|
|
151
|
+
- the skills/plugin distribution surfaces under [skills/](./skills/) and [plugins/meta-architect/](./plugins/meta-architect/)
|
|
152
|
+
|
|
153
|
+
Required release bar:
|
|
154
|
+
- `npm run release:check` passes
|
|
155
|
+
- workflows are configured for GitHub Actions trusted publishing
|
|
156
|
+
- npm publish uses provenance
|
|
157
|
+
- post-publish verification checks npm metadata plus `npm audit signatures`
|
|
158
|
+
|
|
159
|
+
## Repository surfaces
|
|
160
|
+
|
|
161
|
+
High-value surfaces:
|
|
162
|
+
- [CONTRIBUTING.md](./CONTRIBUTING.md)
|
|
163
|
+
- [templates/AGENTS.md](./templates/AGENTS.md)
|
|
164
|
+
- [prompts/](./prompts/)
|
|
165
|
+
- [skills/](./skills/)
|
|
166
|
+
- [plugins/meta-architect/](./plugins/meta-architect/)
|
|
167
|
+
- [.github/workflows/](./.github/workflows/)
|
|
168
|
+
- [docs/qa/release-readiness-0.1.5.md](./docs/qa/release-readiness-0.1.5.md)
|
|
169
|
+
|
|
170
|
+
## Runtime hygiene
|
|
171
|
+
|
|
172
|
+
Local-only runtime residue must not be treated as public source:
|
|
173
|
+
- `.omx/logs/`
|
|
174
|
+
- `.omx/state/`
|
|
175
|
+
- `.omx/tmp/`
|
|
176
|
+
- `.omx/cache/`
|
|
177
|
+
- `.omx/metrics.json`
|
|
178
|
+
|
|
179
|
+
Committed contract files such as `.omx/release.json`, `.omx/decisions.json`, `.omx/evidence/`, and `.omx/skills/` remain part of the product contract.
|
|
180
|
+
|
|
181
|
+
## Documentation map
|
|
182
|
+
|
|
183
|
+
- [Getting Started](./docs/getting-started.md)
|
|
184
|
+
- [Skills Reference](./docs/skills.md)
|
|
185
|
+
- [MCP Setup](./docs/mcp-setup.md)
|
|
186
|
+
- [Skills Publishing](./docs/skills-publishing.md)
|
|
187
|
+
- [Release Spec](./docs/release-spec.md)
|
|
188
|
+
- [Plugin Bundle](./plugins/meta-architect/README.md)
|
|
189
|
+
- [QA / Release Readiness](./docs/qa/release-readiness-0.1.5.md)
|
|
190
|
+
- [Release Body](./RELEASE.md)
|
|
191
|
+
- [Changelog](./CHANGELOG.md)
|
|
529
192
|
|
|
530
193
|
## License
|
|
531
194
|
|