@jstn-sdk/ma 0.1.5 → 0.1.6

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 +3 -3
  4. package/.codex/prompts/onboarding.md +29 -14
  5. package/README.md +512 -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 +419 -37
  20. package/docs/installed-sdk.md +60 -0
  21. package/docs/mcp-setup.md +3 -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.6.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 +17 -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 +24 -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 +17 -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 +24 -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 +6 -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,98 +1,231 @@
1
1
  # Skills Publishing
2
2
 
3
- Meta-Architect publishes a Codex-native runtime package plus aligned skill-distribution surfaces. Publishable skills are product artifacts, not loose markdown.
3
+ Meta-Architect ships skills through a deliberate source-to-package pipeline. This repository treats publishable skills as product artifacts, not as raw markdown files.
4
4
 
5
- ## Provenance standard
5
+ ## Two skill surfaces
6
6
 
7
- Meta-Architect `v0.1.5` uses npm trusted publishing from GitHub Actions as the canonical publish path.
7
+ ### 1. Internal runtime surface
8
8
 
9
- Required release conditions:
10
- - public package name: `@jstn-sdk/ma`
11
- - canonical source repository: `https://github.com/JustineDevs/meta-architect`
12
- - GitHub Actions OIDC enabled with `id-token: write`
13
- - `npm publish --provenance --access public`
14
- - post-publish verification with npm metadata checks plus `npm audit signatures`
9
+ Location:
10
+ - `.ma/skills/`
15
11
 
16
- ## Distribution surfaces
12
+ Purpose:
13
+ - local runtime behavior
14
+ - internal command contracts
15
+ - generated or seeded operator surfaces
17
16
 
18
- Internal runtime surface:
19
- - `.omx/skills/`
17
+ ### 2. Publishable skill surface
20
18
 
21
- Publishable skill surface:
19
+ Location:
22
20
  - `skills/`
23
21
 
24
- Plugin-facing bundle:
25
- - `plugins/meta-architect/`
22
+ Purpose:
23
+ - installable Codex skill folders
24
+ - UI metadata via `agents/openai.yaml`
25
+ - versionable public skill contract
26
26
 
27
- The runtime story stays the same across all three surfaces:
28
- - install `@openai/codex` and `@jstn-sdk/ma`
29
- - launch `ma --madmax --high`
30
- - operate through `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
27
+ Do not confuse these two layers. The repo publishes `skills/`, not `.ma/`.
31
28
 
32
29
  ## Canonical packaging flow
33
30
 
31
+ ### Generate manifest
32
+
34
33
  ```bash
35
34
  npm run skills:manifest
35
+ ```
36
+
37
+ Expected effect:
38
+ - writes `skills/index.json`
39
+ - manifest entries should match the actual skill directories
40
+
41
+ ### Validate skills
42
+
43
+ ```bash
36
44
  npm run skills:validate
45
+ ```
46
+
47
+ Expected effect:
48
+ - every skill folder passes the validator
49
+ - missing or invalid frontmatter should fail the command
50
+ - missing or structurally incomplete `agents/openai.yaml` should fail the command
51
+
52
+ ### Sync plugin mirror
53
+
54
+ ```bash
55
+ npm run plugin:sync
56
+ npm run plugin:verify
57
+ ```
58
+
59
+ Expected effect:
60
+ - `plugins/meta-architect/skills/` mirrors the canonical `skills/` surface
61
+ - the local marketplace and plugin bundle remain aligned with the package skill contract
62
+ - plugin drift fails verification instead of surviving into release artifacts
63
+
64
+ ### Create bundle
65
+
66
+ ```bash
37
67
  npm run skills:pack
68
+ ```
69
+
70
+ Expected effect:
71
+ - creates `dist/meta-architect-skills.tgz`
72
+ - bundle should be non-empty
73
+
74
+ ### Smoke-test install
75
+
76
+ ```bash
38
77
  npm run skills:install -- --path ./dist/installed-skills
39
- npm run pack:inspect
40
78
  ```
41
79
 
42
- Expected outputs:
43
- - `skills/index.json`
44
- - `dist/meta-architect-skills.tgz`
45
- - installable skill folders under `dist/installed-skills/`
80
+ Expected effect:
81
+ - all publishable skill folders are copied to the target install path
82
+ - install target should contain:
83
+ - `meta-architect`
84
+ - `arch`
85
+ - `sage`
86
+ - `flow`
87
+ - `vet`
88
+ - `vibe`
89
+ - `build`
46
90
 
47
- ## Public npm package
91
+ ## Expected outputs
48
92
 
49
- The npm package should include only the intended public surfaces from `package.json > files`, including:
93
+ ### `skills/index.json`
94
+
95
+ Should contain:
96
+ - schema version
97
+ - skill names
98
+ - repo-local path mapping
99
+ - descriptions
100
+
101
+ ### `dist/meta-architect-skills.tgz`
102
+
103
+ Should contain:
104
+ - `skills/`
105
+ - each skill folder
106
+ - each `SKILL.md`
107
+ - each `agents/openai.yaml`
108
+ - any intended references/assets
109
+
110
+ It should **not** rely on hidden runtime state.
111
+
112
+ Important:
113
+ - `npm run skills:pack` creates the **skills bundle tarball only**
114
+ - it is not the same thing as the broader npm package tarball from `npm pack`
115
+ - the npm package surface is controlled separately by `package.json > files`
116
+
117
+ ## Source vs package contents
118
+
119
+ The npm package and tarball should stay explicit.
120
+
121
+ Current package intent:
122
+ - package name: `@jstn-sdk/ma`
123
+ - public publish config
124
+ - explicit `files` list in `package.json`
125
+
126
+ The publishable package should include:
50
127
  - `bin/`
51
- - `src/`
52
- - `.codex/`
53
- - `mcp/`
54
- - `prompts/`
55
128
  - `skills/`
56
129
  - `docs/`
57
- - `plugins/`
58
- - `templates/`
130
+ - `scripts/`
131
+ - `index.js`
59
132
  - `README.md`
60
133
  - `LICENSE`
61
134
 
62
- It must not include local runtime residue such as:
63
- - `.omx/logs/`
64
- - `.omx/state/`
65
- - `.omx/tmp/`
66
- - `.omx/cache/`
67
- - `.omx/metrics.json`
68
-
69
- ## Release verification
135
+ It should not include:
136
+ - runtime `.ma` state
137
+ - local logs
138
+ - temp install targets
139
+ - generated local caches
140
+
141
+ The `skills:pack` tarball is narrower than the npm package:
142
+ - `skills:pack` => `skills/` distribution bundle
143
+ - `npm pack` => public npm package with the explicit `files` list
144
+
145
+ ## Release and dist-tag discipline
146
+
147
+ Meta-Architect release behavior is lane-aware:
148
+ - stable versions publish to npm `latest`
149
+ - prerelease versions publish to explicit lanes such as `next`, `beta`, or `canary`
150
+ - prereleases must use `npm publish --tag <lane>`
151
+ - stable releases keep the default `latest` behavior and public scoped access
152
+
153
+ Before publish:
154
+ 1. bump version with `npm version <version> --no-git-tag-version`
155
+ 2. update changelog and release docs
156
+ 3. run `npm run release:verify`
157
+ 4. run `npm run release:check`
158
+ 5. create and push tag `v<version>`
159
+ 6. publish the package with the correct lane behavior
160
+ - preferred: run `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
161
+ - local fallback: omit `--provenance` and publish with `npm publish --access public` or `npm publish --access public --tag <lane>`
162
+ 7. verify the resulting dist-tags with `npm view @jstn-sdk/ma version dist-tags time --json`
163
+
164
+ ## Plugin relation
165
+
166
+ The plugin bundle in:
167
+ - `plugins/meta-architect/`
70
168
 
71
- Before a release is considered real:
72
- - `npm run release:check` passes
73
- - `skills/index.json` is current
74
- - `dist/meta-architect-skills.tgz` exists and is non-empty
75
- - package metadata matches the canonical repo identity
76
- - release notes, changelog, QA doc, and workflows all reference the same version/tag
77
- - publish workflow remains provenance-capable
169
+ is related but not identical to the npm/package skill bundle.
78
170
 
79
- ## Post-publish provenance verification
171
+ Relationship:
172
+ - `skills/` is the canonical publishable skill source
173
+ - `plugins/meta-architect/` is the plugin-installable consumer-facing bundle
174
+ - both should remain aligned in behavior and version intent
175
+ - `.agents/plugins/marketplace.json` advertises the local plugin source for discovery
176
+ - `plugins/meta-architect/.codex-plugin/plugin.json` is the plugin contract entrypoint
80
177
 
81
- After publish:
178
+ If a skill contract changes:
179
+ 1. update `skills/`
180
+ 2. regenerate manifest
181
+ 3. sync the plugin mirror
182
+ 4. validate skills
183
+ 5. ensure plugin-facing bundle still reflects the same product contract
82
184
 
83
- 1. Verify the published package version on npm.
84
- 2. Install `@jstn-sdk/ma@<version>` in a clean temp directory.
85
- 3. Run:
185
+ ## Real commands for a release-minded flow
86
186
 
87
187
  ```bash
88
- npm audit signatures
188
+ npm run skills:manifest
189
+ npm run plugin:sync
190
+ npm run skills:validate
191
+ npm run plugin:verify
192
+ npm run skills:pack
193
+ npm run skills:install -- --path ./dist/installed-skills
194
+ npm run pack:inspect
89
195
  ```
90
196
 
91
- 4. Confirm the npm package provenance points back to `JustineDevs/meta-architect` and the GitHub Actions publish workflow.
197
+ ## Expected failure modes
198
+
199
+ - manifest drift:
200
+ - `skills/index.json` does not match actual skill directories
201
+ - invalid skill:
202
+ - malformed frontmatter
203
+ - missing `SKILL.md`
204
+ - invalid `agents/openai.yaml`
205
+ - package drift:
206
+ - tarball includes files not intended for public distribution
207
+ - plugin drift:
208
+ - plugin bundle no longer matches the published skill contract
209
+
210
+ ## Release artifact expectations
211
+
212
+ Before a release is considered real:
213
+ - `skills/index.json` must be current
214
+ - `dist/meta-architect-skills.tgz` must exist
215
+ - install smoke test must pass
216
+ - package inspection must be sane
217
+ - docs must match the published behavior
92
218
 
93
219
  ## Related surfaces
94
220
 
95
221
  - [README.md](../README.md)
96
222
  - [docs/skills.md](./skills.md)
97
223
  - [plugins/meta-architect/README.md](../plugins/meta-architect/README.md)
224
+ - [plugins/meta-architect/.codex-plugin/plugin.json](../plugins/meta-architect/.codex-plugin/plugin.json)
225
+ - [../.agents/plugins/marketplace.json](../.agents/plugins/marketplace.json)
98
226
  - [package.json](../package.json)
227
+ - [scripts/skills-manifest.js](../scripts/skills-manifest.js)
228
+ - [scripts/plugin-sync.js](../scripts/plugin-sync.js)
229
+ - [scripts/skills-validate.js](../scripts/skills-validate.js)
230
+ - [scripts/skills-pack.js](../scripts/skills-pack.js)
231
+ - [scripts/skills-install.js](../scripts/skills-install.js)
package/docs/skills.md CHANGED
@@ -1,182 +1,123 @@
1
- # Skills Reference
1
+ # Skills
2
2
 
3
- Meta-Architect exposes six core runtime skills inside Codex. These skill tags are the main product surface.
3
+ Meta-Architect’s canonical Codex runtime surface is:
4
+ - `$maestro`
5
+ - `$arch`
6
+ - `$sage`
7
+ - `$flow`
8
+ - `$vet`
9
+ - `$vibe`
10
+ - `$build`
4
11
 
5
- ## Runtime-first rule
12
+ ## Real usage path
6
13
 
7
- Canonical runtime usage:
14
+ Install the package once, start Codex context if needed, and use the skills directly in-session.
8
15
 
9
16
  ```bash
10
- npm i -g @openai/codex @jstn-sdk/ma
17
+ # Install
18
+ npm i -g @openai/codex@latest @jstn-sdk/ma@latest
19
+
20
+ # Start Codex context if needed
11
21
  ma --madmax --high
12
- ```
13
22
 
14
- Then operate inside Codex with:
23
+ # Remove Meta-Architect only
24
+ npm uninstall -g @jstn-sdk/ma
15
25
 
16
- ```text
17
- $arch
18
- $sage
19
- $flow
20
- $vet
21
- $vibe
22
- $build
26
+ # Remove Meta-Architect and Codex
27
+ npm uninstall -g @jstn-sdk/ma @openai/codex
23
28
  ```
24
29
 
25
- Scripted helpers such as `ma idea`, `ma status`, and `ma run ...` exist for automation, smoke checks, and repo-local maintenance. They are not the primary story.
26
-
27
- ## Shared output contract
28
-
29
- Every lane must preserve this shape:
30
- - `decision`
31
- - `status`
32
- - `evidence`
33
- - `blockers`
34
- - `next_allowed_triggers`
30
+ Then inside the Codex session:
31
+ 1. Start with `$maestro` when you want Meta-Architect to choose the best next step
32
+ 2. Or start with `$arch` when you already know the architecture lane is next
33
+ 3. Continue through `$sage -> $flow -> $vet -> $vibe -> $build`
35
34
 
36
- Publishable skill folders live in [skills/](../skills/). Internal runtime logic lives in [src/skills.js](../src/skills.js).
35
+ ## Simple difference
37
36
 
38
- ## Skill overview
39
-
40
- | Skill | Trigger | Purpose | Status effect |
41
- | --- | --- | --- | --- |
42
- | Meta-Architect Arch | `$arch` | architecture blueprint and tradeoff framing | `architecture_status` |
43
- | Meta-Architect Sage | `$sage` | GitMCP-backed evidence binding | `evidence_status` |
44
- | Meta-Architect Flow | `$flow` | logic and state review | `logic_status` |
45
- | Meta-Architect Vet | `$vet` | security review | `security_status` |
46
- | Meta-Architect Vibe | `$vibe` | developer/user experience review | `experience_status` |
47
- | Meta-Architect Build | `$build` | build-gate evaluation and bounded branch planning | `build_status` |
48
-
49
- ## `$arch`
50
-
51
- Canonical trigger inside Codex:
52
- - `$arch`
37
+ Meta-Architect has two surfaces:
53
38
 
54
- Purpose:
55
- - produce the first architecture blueprint from the captured idea
56
- - define stack rationale, tradeoffs, and downstream evidence requirements
39
+ - terminal commands
40
+ - in-session skills
57
41
 
58
- Scripted helper path:
42
+ Terminal commands are run in the shell:
59
43
 
60
44
  ```bash
61
- ma idea "Build a SaaS billing dashboard"
45
+ ma setup
46
+ ma init
47
+ ma idea "Build a product"
48
+ ma status
62
49
  ma run '$arch'
63
50
  ```
64
51
 
65
- Expected result:
66
- - `.omx/decisions.json` records the architecture decision
67
- - `.omx/release.json` moves `architecture_status` to `APPROVED`
68
-
69
- ## `$sage`
70
-
71
- Canonical trigger inside Codex:
72
- - `$sage`
73
-
74
- Purpose:
75
- - bind major technical choices to approved GitMCP evidence
76
- - record verified vs partial vs missing evidence honestly
77
-
78
- Scripted helper path:
79
-
80
- ```bash
81
- ma run '$sage'
82
- ```
52
+ In-session skills are used inside the Codex conversation:
83
53
 
84
- Expected result:
85
- - `.omx/evidence/sources.json` records validated endpoints and live-probe metadata
86
- - `evidence_status` becomes `VERIFIED`, `PARTIAL`, or `MISSING`
87
-
88
- ## `$flow`
89
-
90
- Canonical trigger inside Codex:
91
- - `$flow`
92
-
93
- Purpose:
94
- - review logic, state transitions, and blockers
95
- - stop early if architecture or evidence prerequisites are not ready
96
-
97
- Scripted helper path:
98
-
99
- ```bash
100
- ma run '$flow'
54
+ ```text
55
+ $maestro
56
+ $arch
57
+ $sage
58
+ $flow
59
+ $vet
60
+ $vibe
61
+ $build
101
62
  ```
102
63
 
103
- Expected result:
104
- - `.omx/decisions.json` records the logic review
105
- - `logic_status` becomes `GREEN` or `RED`
64
+ Short rule:
65
+ - `ma ...` means "run a helper command in the terminal"
66
+ - `$...` means "run a Meta-Architect skill inside the Codex session"
106
67
 
107
- ## `$vet`
68
+ Important:
69
+ - `ma setup` and `ma init` currently do the same thing
70
+ - they only create local support files
71
+ - they do not replace the in-session skill flow
108
72
 
109
- Canonical trigger inside Codex:
110
- - `$vet`
73
+ ## Installed support bundle
111
74
 
112
- Purpose:
113
- - review security posture, dependency risk, and release-sensitive findings
75
+ Meta-Architect also installs a standard packaged support bundle for relevant files.
114
76
 
115
- Scripted helper path:
77
+ Default path:
116
78
 
117
- ```bash
118
- ma run '$vet'
79
+ ```text
80
+ ~/.codex/meta-architect-sdk/
119
81
  ```
120
82
 
121
- Expected result:
122
- - `.omx/evidence/audits.json` and `.omx/evidence/cves.json` are updated
123
- - `security_status` becomes `GREEN` or `RED`
124
-
125
- ## `$vibe`
126
-
127
- Canonical trigger inside Codex:
128
- - `$vibe`
129
-
130
- Purpose:
131
- - review developer experience and user experience before build planning
132
-
133
- Scripted helper path:
83
+ Use:
134
84
 
135
85
  ```bash
136
- ma run '$vibe'
137
- ma run '$vibe' --waive --reason "Accepted for this release line"
86
+ ma sdk-path
138
87
  ```
139
88
 
140
- Expected result:
141
- - `.omx/evidence/outcomes.json` is updated
142
- - `experience_status` becomes `GREEN`, `RED`, or `WAIVED`
89
+ when you want the exact active path.
143
90
 
144
- ## `$build`
91
+ Relevant packaged assets there include:
92
+ - `mcp/`
93
+ - `sprint/`
94
+ - `prompts/`
95
+ - `scripts/`
96
+ - `plugins/meta-architect/`
97
+ - `templates/`
145
98
 
146
- Canonical trigger inside Codex:
147
- - `$build`
99
+ This exists so Meta-Architect can use relevant packaged files without guessing paths.
148
100
 
149
- Purpose:
150
- - evaluate gate readiness
151
- - emit bounded `feature/*` branch suggestions and optional worktree commands
152
-
153
- Scripted helper path:
154
-
155
- ```bash
156
- ma status
157
- ma run '$build'
158
- ```
159
-
160
- Expected result:
161
- - blocked builds explain exactly why they are blocked
162
- - ready builds set `build_status = READY` and print suggested branch/worktree commands
101
+ ## Shared output contract
163
102
 
164
- ## Helper commands
103
+ Every skill result must include:
104
+ - `decision`
105
+ - `status`
106
+ - `evidence`
107
+ - `blockers`
108
+ - `next_allowed_triggers`
165
109
 
166
- Secondary helper commands:
167
- - `ma status`
168
- - `ma idea "..."`
169
- - `ma run '$arch'|'$sage'|'$flow'|'$vet'|'$vibe'|'$build'`
170
- - `ma merge`
171
- - `ma release`
172
- - `ma doctor`
173
- - `ma setup`
110
+ ## Status ownership
174
111
 
175
- These helpers support the runtime. They do not replace the Codex-hosted skill workflow.
112
+ - `$maestro` -> next-step recommendation
113
+ - project brief -> architecture input
114
+ - `$arch` -> `architecture_status`
115
+ - `$sage` -> `evidence_status`
116
+ - `$flow` -> `logic_status`
117
+ - `$vet` -> `security_status`
118
+ - `$vibe` -> `experience_status`
119
+ - `$build` -> `build_status`
176
120
 
177
- ## Related surfaces
121
+ ## Operator note
178
122
 
179
- - [docs/getting-started.md](./getting-started.md)
180
- - [docs/release-spec.md](./release-spec.md)
181
- - [docs/mcp-setup.md](./mcp-setup.md)
182
- - [plugins/meta-architect/README.md](../plugins/meta-architect/README.md)
123
+ The in-session skill surface is primary. The `ma` helper commands only exist to start Codex context and to provide repo-local state automation when scripted verification is needed.
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "1.0.0",
2
+ "schemaVersion": "0.1.0",
3
3
  "collections": {
4
4
  "arch": [
5
5
  "meta-list",
package/mcp/fallback.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "1.0.0",
2
+ "schemaVersion": "0.1.0",
3
3
  "fallback": {
4
4
  "endpoint": "https://gitmcp.io/docs",
5
5
  "policy": "Use only when no approved exact endpoint exists and log the exception as UNVERIFIED."
package/mcp/servers.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "1.0.0",
2
+ "schemaVersion": "0.1.0",
3
3
  "servers": [
4
4
  {
5
5
  "category": "meta-list",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jstn-sdk/ma",
3
- "version": "0.1.5",
4
- "description": "Codex-native runtime layer for architecture, evidence, security, DX, and build workflows.",
3
+ "version": "0.1.6",
4
+ "description": "Codex-native skills system for architecture, evidence, review, and gated build guidance.",
5
5
  "license": "MIT",
6
6
  "author": "JustineDevs",
7
7
  "homepage": "https://github.com/JustineDevs/meta-architect#readme",
@@ -15,33 +15,32 @@
15
15
  "keywords": [
16
16
  "meta-architect",
17
17
  "codex",
18
- "codex-native",
19
18
  "skills",
20
19
  "mcp",
21
20
  "gitmcp",
22
21
  "ai",
23
22
  "agent",
24
23
  "orchestration",
25
- "cli",
26
- "developer-tools"
24
+ "plugin",
25
+ "workflow-system"
27
26
  ],
28
27
  "type": "module",
29
28
  "main": "index.js",
30
29
  "bin": {
31
- "meta-architect": "bin/meta-architect.js",
32
- "ma": "bin/meta-architect.js"
30
+ "meta-architect": "bin/ma.js",
31
+ "ma": "bin/ma.js"
33
32
  },
34
33
  "files": [
35
34
  "bin/",
36
35
  "src/",
37
36
  ".codex/",
37
+ ".agents/plugins/",
38
38
  "mcp/",
39
- "prompts/",
40
- "sprint/",
39
+ "plugins/",
41
40
  "templates/",
41
+ "sprint/",
42
42
  "skills/",
43
43
  "docs/",
44
- "plugins/",
45
44
  "scripts/",
46
45
  "index.js",
47
46
  "README.md",
@@ -56,17 +55,21 @@
56
55
  },
57
56
  "scripts": {
58
57
  "prepare": "husky",
59
- "release": "npm publish --access public",
58
+ "postinstall": "node ./scripts/postinstall.js",
60
59
  "test": "node --test",
61
60
  "status": "node ./bin/ma.js status",
62
61
  "build:gate": "node ./bin/ma.js run '$build'",
63
- "release:check": "npm run skills:manifest && npm run skills:validate && npm run skills:pack && npm run validate:metadata && npm run validate:release && npm run check && npm test && npm run pack:inspect",
64
- "validate:metadata": "node ./.github/scripts/validate-package-metadata.js",
65
- "validate:release": "node ./.github/scripts/validate-release-assets.js && node ./.github/scripts/validate-release-config.js",
62
+ "release:meta": "node ./scripts/release-metadata.js",
63
+ "release:sync": "node ./scripts/release-sync.js",
64
+ "release:advance": "node ./scripts/release-sync.js --force --bump patch",
65
+ "release:verify": "node ./scripts/release-verify.js",
66
+ "release:check": "npm run release:verify && npm run skills:manifest && npm run plugin:sync && npm run skills:validate && npm run plugin:verify && npm run skills:pack && npm run check && npm test && npm run pack:inspect",
66
67
  "skills:manifest": "node ./scripts/skills-manifest.js",
67
68
  "skills:validate": "node ./scripts/skills-validate.js",
68
69
  "skills:install": "node ./scripts/skills-install.js",
69
70
  "skills:pack": "node ./scripts/skills-pack.js",
71
+ "plugin:sync": "node ./scripts/plugin-sync.js",
72
+ "plugin:verify": "node ./scripts/plugin-sync.js --check",
70
73
  "pack:inspect": "npm pack --dry-run --ignore-scripts --cache ./.npm-cache",
71
74
  "doctor": "node ./scripts/doctor.js",
72
75
  "lint": "biome lint .",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "meta-architect",
3
3
  "displayName": "Meta-Architect",
4
- "version": "0.1.0",
4
+ "version": "0.1.6",
5
5
  "description": "Programmatic architecture and verified engineering skills for Codex-native workflows.",
6
6
  "entry": "./README.md",
7
7
  "skillsDir": "./skills"