@jstn-sdk/ma 0.14.0 → 0.14.1

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 (52) hide show
  1. package/COVERAGE.md +9 -9
  2. package/DEMO.md +4 -4
  3. package/README.md +80 -70
  4. package/bin/ma.js +6 -8
  5. package/docs/README.md +2 -2
  6. package/docs/assets/banner.png +0 -0
  7. package/docs/getting-started.md +9 -9
  8. package/docs/qa/{release-issue-gates-0.14.0.json → release-issue-gates-0.14.1.json} +77 -77
  9. package/docs/qa/{release-readiness-0.14.0.md → release-readiness-0.14.1.md} +12 -12
  10. package/docs/release-spec.md +12 -12
  11. package/docs/vendor-plugin-publishing.md +49 -0
  12. package/mcp/local/code-intel.js +9 -3
  13. package/package.json +12 -3
  14. package/plugins/meta-architect/.app.json +1 -1
  15. package/plugins/meta-architect/.claude-plugin/plugin.json +12 -0
  16. package/plugins/meta-architect/.codex-plugin/plugin.json +1 -1
  17. package/plugins/meta-architect/.mcp.json +1 -1
  18. package/plugins/meta-architect/README.md +13 -1
  19. package/plugins/meta-architect/obsidian/manifest.json +1 -1
  20. package/plugins/meta-architect/skills/maestro/SKILL.md +17 -1
  21. package/plugins/meta-architect/skills/maestro/references/core-release-rules.md +2 -2
  22. package/schemas/autonomous-task-queue.schema.json +2 -0
  23. package/scripts/install.sh +1 -1
  24. package/scripts/install.sh.sha256 +1 -1
  25. package/scripts/plugin-build.js +314 -0
  26. package/scripts/plugin-publish.js +77 -0
  27. package/scripts/release-sync.js +11 -0
  28. package/scripts/release-verify.js +35 -4
  29. package/skills/maestro/SKILL.md +17 -1
  30. package/skills/maestro/references/core-release-rules.md +2 -2
  31. package/sprint/07-release.md +2 -2
  32. package/src/agents.js +4 -2
  33. package/src/bootstrap.js +20 -2
  34. package/src/codex-app-server.js +4 -4
  35. package/src/launcher.js +2 -2
  36. package/src/mcp-live-client.js +2 -2
  37. package/src/prelaunch.js +34 -0
  38. package/src/process-utils.js +62 -0
  39. package/src/quality/ai-quality-orchestrator.js +2 -2
  40. package/src/release-operations.js +14 -4
  41. package/src/runtime/architect-review.js +2 -2
  42. package/src/runtime/autonomous-tasks.js +220 -43
  43. package/src/runtime/codeburn-core.js +9 -3
  44. package/src/runtime/core-source-ingest.js +2 -2
  45. package/src/runtime/detached-provider.js +17 -8
  46. package/src/runtime/live-agent-verification.js +2 -2
  47. package/src/runtime/project-context.js +2 -2
  48. package/src/runtime/skills-registry-export.js +7 -3
  49. package/src/skills.js +12 -12
  50. package/src/test-fixtures.js +4 -4
  51. package/support-bundle.json +1 -1
  52. package/scripts/postinstall.js +0 -30
package/COVERAGE.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Meta-Architect Coverage Matrix
2
2
 
3
- Target release: `v0.14.0`
3
+ Target release: `v0.14.1`
4
4
  Last verified: 2026-06-03
5
- Package: `@jstn-sdk/ma@0.14.0`
5
+ Package: `@jstn-sdk/ma@0.14.1`
6
6
 
7
7
  This file is the canonical operator-facing coverage map for the current release line.
8
8
  It records what MA can prove today through repository tests, runtime artifacts, package dry-runs, and release gates.
@@ -21,7 +21,7 @@ It records what MA can prove today through repository tests, runtime artifacts,
21
21
  | Core skill surface | DONE | `skills/`, `skills/index.json`, `npm run skills:validate` |
22
22
  | Helper skill surface | DONE | `$align`, `$diagnose`, `$tdd`, `$cleanup` contracts in `skills/`, plugin mirror, and Helper Orchestration Core |
23
23
  | Build gate enforcement | DONE | `src/build-gate.js`, `test/build-gate.test.js`, `test/cli-smoke.test.js` |
24
- | Release issue gates | DONE | `src/release-issue-gates.js`, `docs/qa/release-issue-gates-0.14.0.json`, `test/release-issue-gates.test.js` |
24
+ | Release issue gates | DONE | `src/release-issue-gates.js`, `docs/qa/release-issue-gates-0.14.1.json`, `test/release-issue-gates.test.js` |
25
25
  | Live GitMCP probe support | DONE | `src/mcp-live-client.js`, `src/skills.js`, `test/mcp-config.test.js` |
26
26
  | MCP policy and exposure control | DONE | `src/runtime/mcp-policy.js`, `src/runtime/exposure-catalog.js`, `test/mcp-policy.test.js`, `test/exposure-catalog.test.js` |
27
27
  | Plugin mirror discipline | DONE | `scripts/plugin-sync.js`, `npm run plugin:verify`, package dry-run |
@@ -105,7 +105,7 @@ Coverage state:
105
105
  - source skill contracts in `skills/`: DONE
106
106
  - generated manifest in `skills/index.json`: DONE
107
107
  - plugin-mirrored skill contracts in `plugins/meta-architect/skills/`: DONE
108
- - installable package skill surface via `postinstall`: DONE
108
+ - installable package skill surface via first-launch host selection: DONE
109
109
 
110
110
  ## Test coverage actually present
111
111
 
@@ -130,7 +130,7 @@ Coverage state:
130
130
  | `test/obsidian-integration-core.test.js` | vault-context indexing and graph-link behavior |
131
131
  | `test/obsidian-plugin-bridge.test.js` | in-app plugin bridge, metadata, queue, frontmatter, attachments, protocol helpers |
132
132
  | `test/package-exports.test.js` | public package API exports core runtime capabilities |
133
- | `test/package-install-smoke.test.js` | packed npm install, postinstall skill installation, launcher behavior, helper flow |
133
+ | `test/package-install-smoke.test.js` | packed npm install, first-launch skill installation, launcher behavior, helper flow |
134
134
  | `test/policy.test.js` | merge/release branch policy enforcement |
135
135
  | `test/prompt-strategy-core.test.js` | prompt strategy policy and high-risk preservation |
136
136
  | `test/quorum-review.test.js` | review vote confidence and minority reports |
@@ -154,7 +154,7 @@ Current automated verification count:
154
154
 
155
155
  | Surface | Status | Mechanism |
156
156
  | --- | --- | --- |
157
- | npm package identity | DONE | `@jstn-sdk/ma@0.14.0` |
157
+ | npm package identity | DONE | `@jstn-sdk/ma@0.14.1` |
158
158
  | public scoped package config | DONE | `publishConfig.access = public` |
159
159
  | package files allowlist | DONE | `package.json > files` |
160
160
  | production ignore policy | DONE | `.npmignore` plus `npm pack --dry-run` |
@@ -176,8 +176,8 @@ Current automated verification count:
176
176
  | `docs/getting-started.md` onboarding | DONE | source checkout, helper path, gates, runtime artifacts |
177
177
  | `docs/skills.md` skill reference | DONE | trigger-by-trigger contract guide |
178
178
  | `docs/mcp-setup.md` evidence policy | DONE | GitMCP endpoint semantics and bridge guidance |
179
- | `docs/release-spec.md` release policy | DONE | `v0.14.0` aligned |
180
- | `docs/qa/release-readiness-0.14.0.md` | DONE | current QA evidence |
179
+ | `docs/release-spec.md` release policy | DONE | `v0.14.1` aligned |
180
+ | `docs/qa/release-readiness-0.14.1.md` | DONE | current QA evidence |
181
181
  | `scripts/release-verify.js` | DONE | checks install docs, demo doc, issue gates, package metadata, `.npmignore` |
182
182
 
183
183
  ## Known limits
@@ -192,7 +192,7 @@ These are explicit operating limits, not stale gaps:
192
192
 
193
193
  ## Current truth statement
194
194
 
195
- Meta-Architect currently covers the `v0.14.0` release bar for:
195
+ Meta-Architect currently covers the `v0.14.1` release bar for:
196
196
 
197
197
  - canonical install and launch
198
198
  - Codex-hosted runtime entry
package/DEMO.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Meta-Architect Demo Guide
2
2
 
3
3
  Last verified: 2026-06-03
4
- Release line: `v0.14.0`
4
+ Release line: `v0.14.1`
5
5
  Package: `@jstn-sdk/ma`
6
6
 
7
7
  This demo uses a real existing project: this Meta-Architect repository.
@@ -96,7 +96,7 @@ Scenario: make this repository release-ready without bypassing architecture, evi
96
96
  Terminal helper path:
97
97
 
98
98
  ```bash
99
- ma idea "Prepare Meta-Architect v0.14.0 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
99
+ ma idea "Prepare Meta-Architect v0.14.1 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
100
100
  ma run '$maestro'
101
101
  ma status --maestro-view
102
102
  ```
@@ -217,7 +217,7 @@ npm pack --dry-run --ignore-scripts --cache ./.npm-cache
217
217
  Expected package proof:
218
218
 
219
219
  - package name is `@jstn-sdk/ma`
220
- - version line is `0.14.0`
220
+ - version line is `0.14.1`
221
221
  - `npm run demo:smoke` creates a realistic Northstar Logistics workspace and Obsidian vault under `/tmp/ma-real-demo-*`
222
222
  - the smoke writes `.ma/evidence/real-demo-smoke-proof.json` in that temporary workspace
223
223
  - `DEMO.md` is included
@@ -252,7 +252,7 @@ What it proves:
252
252
 
253
253
  | Surface | Current reality |
254
254
  | --- | --- |
255
- | Release line | `v0.14.0` |
255
+ | Release line | `v0.14.1` |
256
256
  | Package | `@jstn-sdk/ma` |
257
257
  | Public skills | 11 (`maestro`, `arch`, `sage`, `flow`, `vet`, `vibe`, `build`, `align`, `diagnose`, `tdd`, `cleanup`) |
258
258
  | Runtime namespace | `.ma/` |
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
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">
2
+ <img src="./docs/assets/banner.png" alt="Meta-Architect: quality gates and evidence verification for AI coding agents" width="1000">
3
3
  <h1>Meta-Architect</h1>
4
4
  <p><strong>Quality gates and evidence verification for AI coding agents.</strong></p>
5
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>
@@ -7,6 +7,12 @@
7
7
  <img src="https://img.shields.io/github/v/release/JustineDevs/meta-architect?display_name=tag&sort=semver" alt="GitHub release">
8
8
  <img src="https://img.shields.io/npm/v/%40jstn-sdk%2Fma" alt="npm version">
9
9
  <img src="https://img.shields.io/npm/dm/%40jstn-sdk%2Fma" alt="npm downloads">
10
+ <a href="https://badge.socket.dev/npm/package/@jstn-sdk/ma/0.14.1">
11
+ <img src="https://badge.socket.dev/npm/package/@jstn-sdk/ma/0.14.1" alt="Socket security">
12
+ </a>
13
+ <a href="https://security.snyk.io/package/npm/%252540jstn-sdk%25252Fma">
14
+ <img src="https://snyk.io/test/npm/%40jstn-sdk%2Fma/badge.svg" alt="Snyk security">
15
+ </a>
10
16
  <a href="https://www.buymeacoffee.com/justinedevs">
11
17
  <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">
12
18
  </a>
@@ -22,7 +28,73 @@
22
28
  > Meta-Architect does not replace your coding runtime.
23
29
  > It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.
24
30
 
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">
31
+ <img src="https://raw.githubusercontent.com/JustineDevs/meta-architect/v0.14.1/docs/assets/DEMO_VIDEO.gif" alt="Meta-Architect demo video" width="800">
32
+
33
+ ## 🧩 Quick start
34
+
35
+ | ✅ Recommended | 🧰 All available installation commands |
36
+ | --- | --- |
37
+ | Use the signed jsDelivr installer on macOS, Linux, WSL, or Git Bash.<br><br>`curl -fsSLo install.sh https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@latest/scripts/install.sh`<br><br>`curl -fsSLo install.sh.sha256 https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@latest/scripts/install.sh.sha256`<br><br>`sed 's#scripts/install.sh#install.sh#' install.sh.sha256 \| sha256sum -c -`<br><br>`sh install.sh`<br><br>`ma --madmax --high`<br><br>`$maestro I want to build: [your project idea]` | **npm global**<br><br>`npm i -g @openai/codex@latest @jstn-sdk/ma@latest`<br><br>**Meta-Architect only**<br><br>`npm i -g @jstn-sdk/ma@latest`<br><br>**Windows PowerShell**<br><br>`npm i -g @openai/codex@latest @jstn-sdk/ma@latest`<br><br>**Debian / Ubuntu**<br><br>`sudo apt install ./meta-architect_&lt;version&gt;_all.deb`<br><br>**Arch Linux**<br><br>`sudo pacman -U ./meta-architect-&lt;version&gt;-1-any.pkg.tar.xz`<br><br>**Fedora / openSUSE**<br><br>`sudo dnf install ./meta-architect-&lt;version&gt;-1.noarch.rpm` |
38
+
39
+ ### AI agent installation prompt
40
+
41
+ Copy and paste this prompt into your AI coding agent:
42
+
43
+ ```text
44
+ Install Meta-Architect for this project.
45
+
46
+ 1. Detect the current AI host and its native project configuration surface.
47
+ 2. Install or update `@jstn-sdk/ma@latest` using the host's supported package manager.
48
+ 3. Set `MA_AGENT` to the detected host ID when a host-specific surface is available.
49
+ 4. Run `ma setup` and accept the detected project scope and targets.
50
+ 5. Verify the generated `.ma/` state and native host artifacts.
51
+ 6. Report the installed version, selected host, generated files, and any unsupported capabilities.
52
+
53
+ Do not overwrite user-owned files, modify unrelated configuration, or claim a host is supported without verification.
54
+ ```
55
+
56
+ More install options: [docs/getting-started.md](./docs/getting-started.md)
57
+
58
+ Uninstall Meta-Architect: `npm uninstall -g @jstn-sdk/ma`
59
+ Uninstall Meta-Architect and Codex: `npm uninstall -g @jstn-sdk/ma @openai/codex`
60
+
61
+ ### Install into an AI vendor host
62
+
63
+ Install Meta-Architect once, then select the host surface before launch. The
64
+ pre-launch step detects installed hosts and writes the selected scope and
65
+ targets to `.ma/prelaunch.json`.
66
+
67
+ ```bash
68
+ # Codex (reference host)
69
+ npm i -g @openai/codex@latest @jstn-sdk/ma@latest
70
+ ma --madmax --high
71
+
72
+ # Claude Code
73
+ MA_AGENT=claude-code npm i -g @jstn-sdk/ma@latest
74
+ MA_AGENT=claude-code ma --madmax --high
75
+
76
+ # Cursor
77
+ MA_AGENT=cursor npm i -g @jstn-sdk/ma@latest
78
+ MA_AGENT=cursor ma --madmax --high
79
+
80
+ # Any registered host surface
81
+ MA_AGENT=<host-id> npm i -g @jstn-sdk/ma@latest
82
+ MA_AGENT=<host-id> ma --madmax --high
83
+ ```
84
+
85
+ MA installs or reuses the native skill/configuration surface for the selected
86
+ host and keeps the canonical workflow unchanged. See the [host compatibility
87
+ evidence](./docs/agent-compat-integration-report.md) for supported surfaces.
88
+
89
+ ### Claude Code marketplace
90
+
91
+ The repository includes a hosted Claude Code marketplace for the existing
92
+ `plugins/meta-architect` bundle:
93
+
94
+ ```text
95
+ /plugin marketplace add JustineDevs/meta-architect
96
+ /plugin install meta-architect@meta-architect
97
+ ```
26
98
 
27
99
  <details>
28
100
  <summary><strong>🔌 All 33 plugins & features</strong></summary>
@@ -30,7 +102,8 @@
30
102
  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
103
  </details>
32
104
 
33
- ## Why do AI coding agents need gates?
105
+ <details>
106
+ <summary><strong>Why do AI coding agents need gates?</strong></summary>
34
107
 
35
108
  Your agent writes code faster than you review it. Studies and dev surveys keep finding the same failures:
36
109
 
@@ -95,7 +168,7 @@ Build stays LOCKED until every upstream gate passes. Red stays red.
95
168
 
96
169
  Four helpers support the lanes without moving gates: `$align`, `$diagnose`, `$tdd`, `$cleanup`.
97
170
 
98
- ## How is it different from Spec Kit, BMAD, or Agent OS?
171
+ ### How is it different from Spec Kit, BMAD, or Agent OS?
99
172
 
100
173
  Spec-driven tools structure what your agent writes. Meta-Architect enforces what your agent proves.
101
174
 
@@ -109,71 +182,7 @@ Spec-driven tools structure what your agent writes. Meta-Architect enforces what
109
182
 
110
183
  Already using a spec tool? Keep it. Their specs become inputs. MA's gates verify the execution.
111
184
 
112
- ## Quick start
113
-
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
117
-
118
- # 2. Launch Codex
119
- ma --madmax --high
120
-
121
- # 3. State your intent inside the session
122
- $maestro I want to build: [your project idea]
123
- ```
124
-
125
- ### AI agent installation prompt
126
-
127
- Copy and paste this prompt into your AI coding agent:
128
-
129
- ```text
130
- Install Meta-Architect for this project.
131
-
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.
138
-
139
- Do not overwrite user-owned files, modify unrelated configuration, or claim a host is supported without verification.
140
- ```
141
-
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)
144
-
145
- Uninstall Meta-Architect: `npm uninstall -g @jstn-sdk/ma`
146
- Uninstall Meta-Architect and Codex: `npm uninstall -g @jstn-sdk/ma @openai/codex`
147
-
148
- ### Install into an AI vendor host
149
-
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`.
153
-
154
- ```bash
155
- # Codex (reference host)
156
- npm i -g @openai/codex@latest @jstn-sdk/ma@latest
157
- ma --madmax --high
158
-
159
- # Claude Code
160
- MA_AGENT=claude-code npm i -g @jstn-sdk/ma@latest
161
- MA_AGENT=claude-code ma --madmax --high
162
-
163
- # Cursor
164
- MA_AGENT=cursor npm i -g @jstn-sdk/ma@latest
165
- MA_AGENT=cursor ma --madmax --high
166
-
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
170
- ```
171
-
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.
185
+ </details>
177
186
 
178
187
  ## Who is it for?
179
188
 
@@ -185,7 +194,7 @@ rules.
185
194
 
186
195
  1. Open an issue before a PR. It saves rework.
187
196
  2. Start here: [issues labeled `triage`](https://github.com/JustineDevs/meta-architect/issues)
188
- 3. Branch from `development`. `main` is protected and release-facing.
197
+ 3. Branch from `dev`. `main` is protected and release-facing.
189
198
  4. Run `npm test` before you submit. Follow [AGENTS.md](./AGENTS.md).
190
199
  5. AI-assisted PRs welcome. Explain every line you submit or expect a close.
191
200
 
@@ -198,6 +207,7 @@ rules.
198
207
  - [Release Spec](./docs/release-spec.md)
199
208
  - [Disk-Bounded Test and Review Runs](./docs/disk-optimization.md)
200
209
  - [MCP Setup](./docs/mcp-setup.md)
210
+ - [ChatGPT Integration](./docs/chatgpt-integration.md): deployment requirements and publication boundary
201
211
 
202
212
  ## License
203
213
 
package/bin/ma.js CHANGED
@@ -346,7 +346,7 @@ async function printStatus(releaseState, { json = false } = {}) {
346
346
  releaseState.merge_status !== "MERGED_TO_DEVELOPMENT"
347
347
  ) {
348
348
  console.log("Next allowed triggers:");
349
- console.log("ma merge <feature/*> development");
349
+ console.log("ma merge <feature/*> dev");
350
350
  return;
351
351
  }
352
352
  console.log("Next allowed triggers:");
@@ -402,14 +402,14 @@ async function runBuild() {
402
402
  }
403
403
 
404
404
  console.log("Build gate completed the bounded execution substep.");
405
- console.log("Next step: ma merge <feature/*> development");
405
+ console.log("Next step: ma merge <feature/*> dev");
406
406
  }
407
407
 
408
408
  async function runMerge(sourceBranch, targetBranch, mode = "approval") {
409
409
  const releaseState = await loadReleaseState();
410
410
 
411
411
  if (!validateMergeTarget(sourceBranch, targetBranch)) {
412
- throw new Error("Merge policy violation: only feature/* -> development is allowed");
412
+ throw new Error("Merge policy violation: only feature/* -> dev is allowed");
413
413
  }
414
414
 
415
415
  if (!canMarkBuildDone(releaseState)) {
@@ -458,14 +458,12 @@ async function runMerge(sourceBranch, targetBranch, mode = "approval") {
458
458
  async function runRelease(originBranch, targetBranch, mode = "approval") {
459
459
  const releaseState = await loadReleaseState();
460
460
 
461
- if (targetBranch !== "prod") {
462
- throw new Error("Release policy violation: target branch must be prod");
461
+ if (targetBranch !== "main") {
462
+ throw new Error("Release policy violation: target branch must be main");
463
463
  }
464
464
 
465
465
  if (rejectsDirectProdPromotion(originBranch) || !validateReleaseOrigin(originBranch)) {
466
- throw new Error(
467
- "Release policy violation: only development or approved release/* can promote to prod",
468
- );
466
+ throw new Error("Release policy violation: only dev or approved release/* can promote to main");
469
467
  }
470
468
 
471
469
  if (releaseState.merge_status !== "MERGED_TO_DEVELOPMENT") {
package/docs/README.md CHANGED
@@ -28,8 +28,8 @@ Meta-Architect documentation is organized by operator task.
28
28
 
29
29
  ## QA and readiness
30
30
 
31
- - [Release Readiness 0.14.0](./qa/release-readiness-0.14.0.md)
32
- - [Release Issue Gates 0.14.0](./qa/release-issue-gates-0.14.0.json)
31
+ - [Release Readiness 0.14.1](./qa/release-readiness-0.14.1.md)
32
+ - [Release Issue Gates 0.14.1](./qa/release-issue-gates-0.14.1.json)
33
33
 
34
34
  ## Repo structure references
35
35
 
Binary file
@@ -33,8 +33,8 @@ The jsDelivr installer runs `npm i -g @openai/codex@latest @jstn-sdk/ma@latest`,
33
33
  Use `sh install.sh --dry-run` to inspect the plan, `--no-setup` to skip local
34
34
  runtime writes, or `--no-skills` to skip skill/support-bundle writes. The
35
35
  installer prints Node/npm/Codex versions and an uninstall command after a real
36
- install. Package postinstall supports `MA_SKIP_AUTO_INSTALL=1`,
37
- `MA_SKIP_SKILLS=1`, and `MA_POSTINSTALL_DRY_RUN=1`.
36
+ install. npm installation is side-effect free; host selection and skill
37
+ installation happen explicitly during the first interactive `ma` launch.
38
38
 
39
39
  Debian-family install:
40
40
 
@@ -111,7 +111,7 @@ Required output:
111
111
  5. Data model and storage choices
112
112
  6. Auth/security considerations
113
113
  7. DX/UX considerations
114
- 8. Delivery plan for v0.14.0
114
+ 8. Delivery plan for v0.14.1
115
115
  9. Risks and trade-offs
116
116
  10. Decision log
117
117
  11. Exact next trigger to run after this
@@ -310,7 +310,7 @@ See [docs/mcp-setup.md](./mcp-setup.md) for endpoint policy and evidence semanti
310
310
  ## 6. Secondary helper flow
311
311
 
312
312
  ```bash
313
- ma idea "Prepare Meta-Architect v0.14.0 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
313
+ ma idea "Prepare Meta-Architect v0.14.1 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
314
314
  ```
315
315
 
316
316
  Expected effects:
@@ -495,7 +495,7 @@ If `$build` fails:
495
495
 
496
496
  ```bash
497
497
  ma setup
498
- ma idea "Prepare Meta-Architect v0.14.0 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
498
+ ma idea "Prepare Meta-Architect v0.14.1 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
499
499
  ma run '$arch'
500
500
  ma run '$sage'
501
501
  ma run '$flow'
@@ -523,8 +523,8 @@ Canonical demo reference:
523
523
  After implementation work is complete:
524
524
 
525
525
  ```bash
526
- ma merge feature/ui development
527
- ma release development prod
526
+ ma merge feature/ui dev
527
+ ma release dev main
528
528
  ```
529
529
 
530
530
  These commands record approval by default; they do not execute Git. Use
@@ -533,8 +533,8 @@ state, or `--execute` to run the checked, explicit merge on the target branch.
533
533
  Both modes require a clean worktree and a valid source branch.
534
534
 
535
535
  Expected effects:
536
- - merge only succeeds for `feature/* -> development`
537
- - release only succeeds for `development|release/* -> prod`
536
+ - merge only succeeds for `feature/* -> dev`
537
+ - release only succeeds for `dev|release/* -> main`
538
538
  - final statuses advance to:
539
539
  - `build_status = DONE`
540
540
  - `merge_status = MERGED_TO_DEVELOPMENT`