@jstn-sdk/ma 0.1.5 → 0.1.7

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 (125) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.codex/hooks.json +1 -1
  3. package/.codex/prompts/enforcement.md +13 -3
  4. package/.codex/prompts/onboarding.md +29 -14
  5. package/README.md +536 -129
  6. package/bin/ma.js +61 -103
  7. package/docs/README.md +2 -1
  8. package/docs/assets/image/Screenshot(1).png +0 -0
  9. package/docs/assets/image/Screenshot(2).png +0 -0
  10. package/docs/assets/image/Screenshot(3).png +0 -0
  11. package/docs/assets/image/Screenshot(4).png +0 -0
  12. package/docs/assets/image/Screenshot(5).png +0 -0
  13. package/docs/assets/image/Screenshot(6).png +0 -0
  14. package/docs/assets/image/Screenshot(7).png +0 -0
  15. package/docs/assets/image/Screenshot(8).png +0 -0
  16. package/docs/assets/image/Screenshot(9).png +0 -0
  17. package/docs/assets/meta-architect-logo.png +0 -0
  18. package/docs/assets/meta-architect-logo.svg +8 -0
  19. package/docs/getting-started.md +434 -37
  20. package/docs/installed-sdk.md +60 -0
  21. package/docs/mcp-setup.md +46 -134
  22. package/docs/onboarding.md +41 -11
  23. package/docs/qa/release-readiness-0.1.5.md +46 -44
  24. package/docs/qa/release-readiness-0.1.7.md +79 -0
  25. package/docs/release-spec.md +81 -103
  26. package/docs/skills-publishing.md +187 -54
  27. package/docs/skills.md +82 -141
  28. package/mcp/collections.json +1 -1
  29. package/mcp/fallback.json +1 -1
  30. package/mcp/servers.json +1 -1
  31. package/package.json +17 -14
  32. package/plugins/meta-architect/.app.json +1 -1
  33. package/plugins/meta-architect/.codex-plugin/plugin.json +23 -0
  34. package/plugins/meta-architect/.mcp.json +1 -1
  35. package/plugins/meta-architect/README.md +23 -10
  36. package/plugins/meta-architect/skills/arch/SKILL.md +27 -0
  37. package/plugins/meta-architect/skills/arch/agents/openai.yaml +4 -0
  38. package/plugins/meta-architect/skills/build/SKILL.md +24 -0
  39. package/plugins/meta-architect/skills/build/agents/openai.yaml +4 -0
  40. package/plugins/meta-architect/skills/flow/SKILL.md +24 -0
  41. package/plugins/meta-architect/skills/flow/agents/openai.yaml +4 -0
  42. package/plugins/meta-architect/skills/maestro/SKILL.md +25 -0
  43. package/plugins/meta-architect/skills/maestro/agents/openai.yaml +4 -0
  44. package/plugins/meta-architect/skills/meta-architect/SKILL.md +19 -23
  45. package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +4 -0
  46. package/plugins/meta-architect/skills/meta-architect/references/core-release-rules.md +13 -0
  47. package/plugins/meta-architect/skills/sage/SKILL.md +37 -0
  48. package/plugins/meta-architect/skills/sage/agents/openai.yaml +4 -0
  49. package/plugins/meta-architect/skills/vet/SKILL.md +25 -0
  50. package/plugins/meta-architect/skills/vet/agents/openai.yaml +4 -0
  51. package/plugins/meta-architect/skills/vibe/SKILL.md +24 -0
  52. package/plugins/meta-architect/skills/vibe/agents/openai.yaml +4 -0
  53. package/scripts/doctor.js +8 -0
  54. package/scripts/plugin-sync.js +93 -0
  55. package/scripts/postinstall.js +23 -0
  56. package/scripts/release-metadata.js +94 -0
  57. package/scripts/release-sync.js +359 -0
  58. package/scripts/release-verify.js +153 -0
  59. package/scripts/setup-npmrc.js +39 -0
  60. package/scripts/skills-install.js +4 -36
  61. package/scripts/skills-manifest.js +1 -1
  62. package/scripts/skills-validate.js +78 -40
  63. package/skills/arch/SKILL.md +27 -0
  64. package/skills/arch/agents/openai.yaml +4 -0
  65. package/skills/build/SKILL.md +24 -0
  66. package/skills/build/agents/openai.yaml +4 -0
  67. package/skills/flow/SKILL.md +24 -0
  68. package/skills/flow/agents/openai.yaml +4 -0
  69. package/skills/index.json +27 -22
  70. package/skills/maestro/SKILL.md +25 -0
  71. package/skills/maestro/agents/openai.yaml +4 -0
  72. package/skills/meta-architect/SKILL.md +19 -23
  73. package/skills/meta-architect/agents/openai.yaml +3 -3
  74. package/skills/meta-architect/references/core-release-rules.md +2 -2
  75. package/skills/sage/SKILL.md +37 -0
  76. package/skills/sage/agents/openai.yaml +4 -0
  77. package/skills/vet/SKILL.md +25 -0
  78. package/skills/vet/agents/openai.yaml +4 -0
  79. package/skills/vibe/SKILL.md +24 -0
  80. package/skills/vibe/agents/openai.yaml +4 -0
  81. package/sprint/00-idea.md +1 -1
  82. package/sprint/01-architecture.md +1 -1
  83. package/sprint/02-oss-evidence.md +1 -1
  84. package/sprint/03-logic.md +1 -1
  85. package/sprint/04-security.md +2 -2
  86. package/sprint/05-dx-ux.md +1 -1
  87. package/src/decision-log.js +4 -4
  88. package/src/launcher.js +21 -17
  89. package/src/mcp-live-client.js +1 -1
  90. package/src/paths.js +8 -32
  91. package/src/release-state.js +3 -3
  92. package/src/runtime-artifacts.js +411 -0
  93. package/src/skill-installer.js +198 -0
  94. package/src/skills.js +473 -166
  95. package/templates/AGENTS.md +23 -6
  96. package/templates/model-instructions/core.md +1 -1
  97. package/.codex/config.toml +0 -2
  98. package/plugins/meta-architect/skills/meta-architect-arch/SKILL.md +0 -24
  99. package/plugins/meta-architect/skills/meta-architect-build/SKILL.md +0 -25
  100. package/plugins/meta-architect/skills/meta-architect-flow/SKILL.md +0 -23
  101. package/plugins/meta-architect/skills/meta-architect-sage/SKILL.md +0 -23
  102. package/plugins/meta-architect/skills/meta-architect-vet/SKILL.md +0 -23
  103. package/plugins/meta-architect/skills/meta-architect-vibe/SKILL.md +0 -24
  104. package/prompts/architect.md +0 -216
  105. package/prompts/builder.md +0 -10
  106. package/prompts/flow.md +0 -9
  107. package/prompts/release-manager.md +0 -10
  108. package/prompts/sage.md +0 -10
  109. package/prompts/security-reviewer.md +0 -10
  110. package/prompts/verifier.md +0 -10
  111. package/prompts/vibe.md +0 -10
  112. package/skills/meta-architect-arch/SKILL.md +0 -24
  113. package/skills/meta-architect-arch/agents/openai.yaml +0 -4
  114. package/skills/meta-architect-build/SKILL.md +0 -25
  115. package/skills/meta-architect-build/agents/openai.yaml +0 -4
  116. package/skills/meta-architect-flow/SKILL.md +0 -23
  117. package/skills/meta-architect-flow/agents/openai.yaml +0 -4
  118. package/skills/meta-architect-sage/SKILL.md +0 -23
  119. package/skills/meta-architect-sage/agents/openai.yaml +0 -4
  120. package/skills/meta-architect-vet/SKILL.md +0 -23
  121. package/skills/meta-architect-vet/agents/openai.yaml +0 -4
  122. package/skills/meta-architect-vibe/SKILL.md +0 -24
  123. package/skills/meta-architect-vibe/agents/openai.yaml +0 -4
  124. package/src/doctor.js +0 -30
  125. package/src/setup.js +0 -375
@@ -1,24 +1,169 @@
1
1
  # Getting Started
2
2
 
3
- Meta-Architect is a Codex-native runtime layer. Install Codex, install Meta-Architect, launch the runtime posture, then operate through skill tags inside Codex.
3
+ This guide takes Meta-Architect from install to a green-gated skill workflow on a real project.
4
4
 
5
- ## Canonical path
5
+ ## Goal
6
6
 
7
- Install:
7
+ By the end of this guide you should be able to:
8
+ - install Meta-Architect
9
+ - configure MCP/GitMCP sources
10
+ - run the full architecture-to-build sequence
11
+ - understand how each gate moves
12
+ - diagnose blocked gates
13
+ - use the merge/release path safely
14
+
15
+ ## Prerequisites
16
+
17
+ - Node.js 20+
18
+ - npm 10+
19
+ - Git 2.30+
20
+ - an MCP-capable runtime
21
+ - network access if you want live `$sage` verification against a real GitMCP server
22
+
23
+ ## 1. Canonical install and launch
24
+
25
+ Canonical public install:
8
26
 
9
27
  ```bash
10
- npm i -g @openai/codex @jstn-sdk/ma
28
+ # Install
29
+ npm i -g @openai/codex@latest @jstn-sdk/ma@latest
30
+
31
+ # Launch
32
+ ma --madmax --high
33
+
34
+ # Remove Meta-Architect only
35
+ npm uninstall -g @jstn-sdk/ma
36
+
37
+ # Remove Meta-Architect and Codex
38
+ npm uninstall -g @jstn-sdk/ma @openai/codex
11
39
  ```
12
40
 
13
- Launch:
41
+ That is the default product path. The product experience is the in-session skill workflow in [example/usage-workflow.md](../example/usage-workflow.md). The `ma` command is only a helper for starting or supporting that flow.
42
+
43
+ ## 2. Real usage workflow
44
+
45
+ Start with the structured `$arch` prompt:
46
+
47
+ ```text
48
+ $arch I want to build: [PROJECT IDEA]
49
+
50
+ Context:
51
+ - Product type: [web app / mobile app / API / marketplace / agent system / internal tool]
52
+ - Users: [who will use it]
53
+ - Core problem: [what problem it solves]
54
+ - Main features:
55
+ 1. [feature one]
56
+ 2. [feature two]
57
+ 3. [feature three]
58
+ - Constraints:
59
+ - Budget: [low / medium / high]
60
+ - Team size: [solo / small / medium]
61
+ - Timeline: [e.g. 2 weeks MVP, 3 months beta]
62
+ - Preferred stack: [optional]
63
+ - Avoid: [optional]
64
+ - Quality priorities:
65
+ - [e.g. speed, low cost, security, DX, maintainability, scalability]
66
+ - Deployment target:
67
+ - [Vercel / Docker / VPS / AWS / GCP / local-first / hybrid]
68
+
69
+ Required output:
70
+ 1. Problem framing
71
+ 2. Recommended architecture
72
+ 3. Stack decision with justification
73
+ 4. System components and responsibilities
74
+ 5. Data model and storage choices
75
+ 6. Auth/security considerations
76
+ 7. DX/UX considerations
77
+ 8. Delivery plan for v0.1.7
78
+ 9. Risks and trade-offs
79
+ 10. Decision log
80
+ 11. Exact next trigger to run after this
81
+ ```
82
+
83
+ Then continue with:
84
+
85
+ ```text
86
+ $sage
87
+ $flow
88
+ $vet
89
+ $vibe
90
+ $build
91
+ ```
92
+
93
+ Use the full prompt blocks from [example/usage-workflow.md](../example/usage-workflow.md) when you want the exact handoff format between lanes.
94
+
95
+ ## 3. Contributor clone and link
14
96
 
15
97
  ```bash
16
- ma --madmax --high
98
+ git clone https://github.com/JustineDevs/meta-architect.git
99
+ cd meta-architect
100
+ npm install
101
+ npm link
102
+ ```
103
+
104
+ Why `npm link` matters:
105
+ - it makes the local helper command available without requiring a global publish step
106
+
107
+ ## 4. Secondary repository setup flow
108
+
109
+ ```bash
110
+ ma setup
111
+ ```
112
+
113
+ Optional interactive session:
114
+
115
+ ```bash
116
+ ma
17
117
  ```
18
118
 
19
- Operate inside Codex with:
119
+ Expected effects:
120
+ - `.codex/agents/` exists
121
+ - `.codex/prompts/` exists
122
+ - local `.ma/skills/`, `.ma/evidence/`, `.ma/context/`, `.ma/specs/`, `.ma/plans/`, and `.ma/runbook.md` are seeded
123
+ - `mcp/`, `docs/`, and `sprint/` surfaces exist
124
+ - `ma` opens Codex with the Meta-Architect helper posture when run with no arguments
125
+
126
+ Expected output:
20
127
 
21
128
  ```text
129
+ meta-architect setup
130
+ ====================
131
+ ready: .codex/agents
132
+ ready: .codex/prompts
133
+ ready: .ma/skills
134
+ ready: .ma/evidence
135
+ ready: .ma/context
136
+ ready: .ma/specs
137
+ ready: .ma/plans
138
+ ready: mcp
139
+ ready: docs
140
+ ready: docs/qa
141
+ ready: sprint
142
+ ```
143
+
144
+ This setup path is secondary to the canonical in-session skill workflow. Use it when you need local repo scaffolding.
145
+
146
+ ## 4.1 Understand the two surfaces
147
+
148
+ Meta-Architect works in two simple ways:
149
+
150
+ - terminal commands
151
+ - in-session skills
152
+
153
+ Terminal commands are normal shell commands:
154
+
155
+ ```bash
156
+ ma setup
157
+ ma init
158
+ ma sdk-path
159
+ ma status
160
+ ma run '$arch'
161
+ ```
162
+
163
+ In-session skills are prompts used after you are already inside Codex:
164
+
165
+ ```text
166
+ $maestro
22
167
  $arch
23
168
  $sage
24
169
  $flow
@@ -27,62 +172,314 @@ $vibe
27
172
  $build
28
173
  ```
29
174
 
30
- ## Runtime expectations
175
+ Easy rule:
176
+ - `ma ...` = terminal helper command
177
+ - `$...` = in-session skill
31
178
 
32
- - Codex is the host runtime.
33
- - Meta-Architect is the runtime extension.
34
- - The skill tags are the primary product surface.
35
- - `ma` is a runtime launcher plus a small maintenance/helper interface.
179
+ `ma setup` and `ma init` currently do the same thing:
180
+ - they create local `.ma/` support files
181
+ - they prepare context, specs, plans, evidence, and runbook files
182
+ - they do not automatically run the skill workflow
36
183
 
37
- ## When to use helper commands
184
+ `ma sdk-path` prints the installed packaged support-bundle root for relevant files such as prompts, MCP files, sprint files, scripts, plugin metadata, and templates.
38
185
 
39
- Use helper commands only when you need scripted repo validation or repo-local scaffolding:
186
+ ## 5. Configure MCP / GitMCP
187
+
188
+ Edit:
189
+ - `mcp/servers.json`
190
+ - `mcp/collections.json`
191
+ - `mcp/fallback.json`
192
+
193
+ Minimum live example:
194
+
195
+ ```json
196
+ {
197
+ "category": "meta-list",
198
+ "repo": "sindresorhus/awesome",
199
+ "endpoint": "https://gitmcp.io/sindresorhus/awesome"
200
+ }
201
+ ```
202
+
203
+ Recommended first set:
204
+ - `sindresorhus/awesome`
205
+ - `dzharii/awesome-typescript`
206
+ - `sbilly/awesome-security`
207
+
208
+ Core discovery standard:
209
+ - use `https://ossium.live/home` to find trending OSS, curated repos, YC-backed repos, GSoC orgs, and contribution leads faster than browsing GitHub directly
210
+ - use `https://trendshift.io/` to spot repositories with rising engagement and topic momentum
211
+ - use `https://devhunt.org/` to discover newly launched developer tools
212
+ - use `https://libraries.io/` to inspect package/dependency metadata, while remembering its public data is scraped and not validated/curated for accuracy
213
+ - use `https://openhub.net/` to inspect project activity, contributor, popularity, and comparison signals
214
+ - use `https://www.opensourceprojects.dev/` to inspect curated OSS selections and detailed project writeups
215
+ - move any promising discovery result into `mcp/servers.json` as an exact upstream GitMCP repo endpoint before treating it as VERIFIED evidence
216
+
217
+ Canonical `$sage` order:
218
+ - known upstream repo/docs first
219
+ - discovery accelerators second
220
+ - exact GitMCP repo mapping third
221
+ - upstream repo + official-doc verification last
222
+
223
+ See [docs/mcp-setup.md](./mcp-setup.md) for endpoint policy and evidence semantics.
224
+
225
+ ## 6. Secondary helper flow
226
+
227
+ ```bash
228
+ ma idea "Build a real-time collaborative whiteboard for product teams"
229
+ ```
230
+
231
+ Expected effects:
232
+ - an idea decision entry is appended to `.ma/decisions.json`
233
+ - `idea_status = CLEAR`
234
+
235
+ If this fails:
236
+ - ensure the idea text is not empty
237
+ - inspect `.ma/decisions.json` for malformed local data
238
+
239
+ ## 7. Run the helper skill sequence
240
+
241
+ ### 5.0 Workflow manager
242
+
243
+ ```bash
244
+ ma run '$maestro'
245
+ ```
246
+
247
+ Expected effects:
248
+ - reads the current gate state
249
+ - recommends the best next step
250
+ - writes `.ma/plans/maestro.md`
251
+ - records an advisory decision entry
252
+
253
+ Generated or updated:
254
+ - `.ma/decisions.json`
255
+ - `.ma/plans/maestro.md`
256
+
257
+ ### 5.1 Architecture
40
258
 
41
259
  ```bash
42
- ma status
43
- ma idea "Build a real-time collaborative whiteboard"
44
260
  ma run '$arch'
261
+ ```
262
+
263
+ Expected effects:
264
+ - a structured first-pass architecture blueprint is appended
265
+ - `architecture_status = APPROVED`
266
+
267
+ Generated or updated:
268
+ - `.ma/decisions.json`
269
+ - `.ma/release.json`
270
+ - `.ma/context/project.md`
271
+ - `.ma/specs/architecture.md`
272
+ - `.ma/plans/implementation.md`
273
+
274
+ ### 5.2 Evidence
275
+
276
+ ```bash
45
277
  ma run '$sage'
278
+ ```
279
+
280
+ Expected effects:
281
+ - `architecture_status` must already be approved
282
+ - configured GitMCP endpoints are validated
283
+ - the latest architecture summary is used as the probe query basis
284
+ - the first configured live source is probed when live mode is enabled
285
+ - `.ma/evidence/sources.json` is updated
286
+ - `evidence_status` becomes:
287
+ - `VERIFIED` on a real successful live probe
288
+ - `PARTIAL` when configured evidence exists but live proof is incomplete or disabled
289
+ - `MISSING` when no usable approved source exists
290
+
291
+ Generated or updated:
292
+ - `.ma/evidence/sources.json`
293
+ - `.ma/decisions.json`
294
+ - `.ma/release.json`
295
+ - `.ma/specs/evidence.md`
296
+
297
+ If this fails:
298
+ - check endpoint URLs in `mcp/servers.json`
299
+ - ensure architecture was approved first
300
+ - verify network access
301
+ - rerun after correcting the endpoint or environment
302
+
303
+ ### 5.3 Logic
304
+
305
+ ```bash
46
306
  ma run '$flow'
307
+ ```
308
+
309
+ Expected effects:
310
+ - a structured first-pass logic/state review is appended
311
+ - `logic_status = GREEN` when current prerequisites and transition modeling are acceptable
312
+ - `logic_status = RED` when prerequisite gates are not ready
313
+
314
+ Generated or updated:
315
+ - `.ma/specs/logic.md`
316
+
317
+ ### 5.4 Security
318
+
319
+ ```bash
47
320
  ma run '$vet'
321
+ ```
322
+
323
+ Expected effects:
324
+ - `.ma/evidence/audits.json` and `.ma/evidence/cves.json` are updated
325
+ - `security_status = GREEN` on a baseline pass
326
+ - `security_status = RED` when prerequisite gates are not ready
327
+
328
+ Generated or updated:
329
+ - `.ma/specs/security.md`
330
+
331
+ ### 5.5 Experience
332
+
333
+ ```bash
48
334
  ma run '$vibe'
335
+ ma run '$vibe' --waive --reason "Accepted for this release line"
336
+ ```
337
+
338
+ Expected effects:
339
+ - `.ma/evidence/outcomes.json` is updated
340
+ - `experience_status = GREEN` on a baseline pass
341
+ - `experience_status = RED` when prerequisite gates are not ready
342
+ - `experience_status = WAIVED` when the waiver path is used explicitly
343
+
344
+ Generated or updated:
345
+ - `.ma/specs/experience.md`
346
+
347
+ ## 8. Inspect gate status
348
+
349
+ ```bash
350
+ ma status
351
+ ```
352
+
353
+ Expected green-state output:
354
+
355
+ ```text
356
+ Meta-Architect Status
357
+ =====================
358
+ Idea: CLEAR
359
+ Architecture: APPROVED
360
+ Evidence: VERIFIED
361
+ Logic: GREEN
362
+ Security: GREEN
363
+ Experience: GREEN
364
+ Build: LOCKED
365
+ Next allowed triggers:
366
+ $build
367
+ ```
368
+
369
+ ## 9. Unlock and run build planning
370
+
371
+ ```bash
49
372
  ma run '$build'
50
- ma doctor
373
+ ```
374
+
375
+ Expected effects:
376
+ - build gate is evaluated
377
+ - if allowed, `build_status = READY`
378
+ - branch suggestions are printed
379
+ - worktree commands are suggested
380
+ - `.ma/plans/build.md` is updated
381
+
382
+ Expected output shape:
383
+
384
+ ```text
385
+ Build gate is green.
386
+ Suggested branches:
387
+ - feature/ui
388
+ - feature/api
389
+ Optional worktree commands:
390
+ git worktree add ../ui feature/ui
391
+ git worktree add ../api feature/api
392
+ ```
393
+
394
+ If `$build` fails:
395
+ - run `ma status`
396
+ - read the blocking statuses
397
+ - fix the corresponding upstream lane
398
+ - rerun that lane, then rerun `$build`
399
+
400
+ ## 10. Example walkthrough: collaborative whiteboard
401
+
402
+ ```bash
51
403
  ma setup
404
+ ma idea "Build a collaborative whiteboard with live cursors and shared boards"
405
+ ma run '$arch'
406
+ ma run '$sage'
407
+ ma run '$flow'
408
+ ma run '$vet'
409
+ ma run '$vibe'
410
+ ma status
411
+ ma run '$build'
52
412
  ```
53
413
 
54
- `ma setup` repairs or seeds repo-local support files such as:
55
- - `AGENTS.md`
56
- - `.codex/`
57
- - `.omx/`
58
- - `mcp/`
59
- - `templates/`
414
+ If you want an interactive Codex session during the walkthrough, start it separately with `ma`.
60
415
 
61
- That path is secondary. The main experience remains the Codex session launched with `ma --madmax --high`.
416
+ What should happen:
417
+ - `$arch` records a structured first-pass blueprint
418
+ - `$sage` binds major choices to configured GitMCP-backed sources
419
+ - `$flow` records the kernel’s baseline state review for the mission
420
+ - `$vet` records a baseline security review
421
+ - `$vibe` records baseline DX/UX guidance
422
+ - `$build` suggests bounded concerns like `feature/ui` and `feature/api`
62
423
 
63
- ## MCP / GitMCP
424
+ Related mission:
425
+ - [missions/collaborative-whiteboard/mission.md](../missions/collaborative-whiteboard/mission.md)
64
426
 
65
- Meta-Architect expects approved GitMCP endpoints for evidence-heavy lanes such as `$sage`.
427
+ ## 9. Merge and release path
66
428
 
67
- Edit:
68
- - `mcp/servers.json`
69
- - `mcp/collections.json`
70
- - `mcp/fallback.json`
429
+ After implementation work is complete:
430
+
431
+ ```bash
432
+ ma merge feature/ui development
433
+ ma release development prod
434
+ ```
435
+
436
+ Expected effects:
437
+ - merge only succeeds for `feature/* -> development`
438
+ - release only succeeds for `development|release/* -> prod`
439
+ - final statuses advance to:
440
+ - `build_status = DONE`
441
+ - `merge_status = MERGED_TO_DEVELOPMENT`
442
+ - `release_status = SHIPPED_TO_PROD`
443
+
444
+ ## 10. Files generated or updated during a normal run
445
+
446
+ - `.ma/decisions.json`
447
+ - `.ma/release.json`
448
+ - `.ma/evidence/sources.json`
449
+ - `.ma/evidence/audits.json`
450
+ - `.ma/evidence/cves.json`
451
+ - `.ma/evidence/outcomes.json`
452
+ - `.ma/context/project.md`
453
+ - `.ma/specs/architecture.md`
454
+ - `.ma/specs/evidence.md`
455
+ - `.ma/specs/logic.md`
456
+ - `.ma/specs/security.md`
457
+ - `.ma/specs/experience.md`
458
+ - `.ma/plans/implementation.md`
459
+ - `.ma/plans/build.md`
460
+ - `.ma/runbook.md`
71
461
 
72
- See [docs/mcp-setup.md](./mcp-setup.md) for exact-endpoint policy and fallback rules.
462
+ These are local product artifacts created by the runtime. They are not a reason to bypass gate logic manually.
73
463
 
74
- ## Release-aware usage
464
+ ## 11. If a gate fails
75
465
 
76
- `$build` is locked until all upstream review gates are green or explicitly waived by policy.
466
+ Rule:
467
+ - do not edit statuses manually
468
+ - rerun the correct upstream command
469
+ - use `ma status` as the authority
77
470
 
78
- Before claiming a release is ready, make sure:
79
- - `npm run release:check` passes
80
- - [docs/release-spec.md](./release-spec.md) still matches behavior
81
- - [docs/qa/release-readiness-0.1.5.md](./qa/release-readiness-0.1.5.md) matches the actual release line
471
+ Common examples:
472
+ - `evidence_status = MISSING` -> fix `mcp/servers.json`, rerun `$sage`
473
+ - `logic_status = RED` -> fix upstream evidence/architecture issues, rerun `$flow`
474
+ - `security_status = RED` -> resolve issues surfaced by `$vet`
475
+ - `experience_status = RED` -> rerun `$vibe` after clearing prerequisites
476
+ - `experience_status = WAIVED` -> verify the waiver reason recorded in `.ma/release.json`
82
477
 
83
478
  ## Related docs
84
479
 
480
+ - [README.md](../README.md)
85
481
  - [Skills Reference](./skills.md)
86
482
  - [MCP Setup](./mcp-setup.md)
87
483
  - [Release Spec](./release-spec.md)
484
+ - [Skills Publishing](./skills-publishing.md)
88
485
  - [Plugin Bundle](../plugins/meta-architect/README.md)
@@ -0,0 +1,60 @@
1
+ # Installed Support Bundle
2
+
3
+ Meta-Architect installs two things into the active Codex home:
4
+
5
+ 1. skills under `CODEX_HOME/skills/`
6
+ 2. a support bundle under `CODEX_HOME/meta-architect-sdk/`
7
+
8
+ The support bundle exists so skills and helper paths can use relevant packaged files without guessing where they live.
9
+
10
+ ## Canonical support bundle path
11
+
12
+ Default:
13
+
14
+ ```text
15
+ ~/.codex/meta-architect-sdk/
16
+ ```
17
+
18
+ If `CODEX_HOME` is set, use:
19
+
20
+ ```text
21
+ $CODEX_HOME/meta-architect-sdk/
22
+ ```
23
+
24
+ You can print the exact active path with:
25
+
26
+ ```bash
27
+ ma sdk-path
28
+ ```
29
+
30
+ ## What is installed there
31
+
32
+ - `mcp/`
33
+ - `sprint/`
34
+ - `prompts/`
35
+ - `scripts/`
36
+ - `plugins/meta-architect/`
37
+ - `templates/`
38
+ - `docs/README.md`
39
+ - `asset-manifest.json`
40
+
41
+ ## Why this exists
42
+
43
+ - skills can rely on a standard installed asset root
44
+ - helper paths can repair missing support assets automatically
45
+ - packaged references do not depend on a source checkout
46
+ - the product can use relevant packaged files without path guessing
47
+
48
+ ## Contract
49
+
50
+ When Meta-Architect needs packaged support files, prefer the installed support bundle first.
51
+
52
+ Examples:
53
+ - MCP starter files -> `meta-architect-sdk/mcp/`
54
+ - sprint references -> `meta-architect-sdk/sprint/`
55
+ - Codex prompt assets -> `meta-architect-sdk/prompts/`
56
+ - helper scripts -> `meta-architect-sdk/scripts/`
57
+ - plugin metadata -> `meta-architect-sdk/plugins/meta-architect/`
58
+ - templates -> `meta-architect-sdk/templates/`
59
+
60
+ The in-session skill flow is still primary. This bundle only standardizes packaged asset access.