@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.
- package/.agents/plugins/marketplace.json +20 -0
- package/.codex/hooks.json +1 -1
- package/.codex/prompts/enforcement.md +13 -3
- package/.codex/prompts/onboarding.md +29 -14
- package/README.md +536 -129
- package/bin/ma.js +61 -103
- package/docs/README.md +2 -1
- package/docs/assets/image/Screenshot(1).png +0 -0
- package/docs/assets/image/Screenshot(2).png +0 -0
- package/docs/assets/image/Screenshot(3).png +0 -0
- package/docs/assets/image/Screenshot(4).png +0 -0
- package/docs/assets/image/Screenshot(5).png +0 -0
- package/docs/assets/image/Screenshot(6).png +0 -0
- package/docs/assets/image/Screenshot(7).png +0 -0
- package/docs/assets/image/Screenshot(8).png +0 -0
- package/docs/assets/image/Screenshot(9).png +0 -0
- package/docs/assets/meta-architect-logo.png +0 -0
- package/docs/assets/meta-architect-logo.svg +8 -0
- package/docs/getting-started.md +434 -37
- package/docs/installed-sdk.md +60 -0
- package/docs/mcp-setup.md +46 -134
- package/docs/onboarding.md +41 -11
- package/docs/qa/release-readiness-0.1.5.md +46 -44
- package/docs/qa/release-readiness-0.1.7.md +79 -0
- package/docs/release-spec.md +81 -103
- package/docs/skills-publishing.md +187 -54
- package/docs/skills.md +82 -141
- package/mcp/collections.json +1 -1
- package/mcp/fallback.json +1 -1
- package/mcp/servers.json +1 -1
- package/package.json +17 -14
- package/plugins/meta-architect/.app.json +1 -1
- package/plugins/meta-architect/.codex-plugin/plugin.json +23 -0
- package/plugins/meta-architect/.mcp.json +1 -1
- package/plugins/meta-architect/README.md +23 -10
- package/plugins/meta-architect/skills/arch/SKILL.md +27 -0
- package/plugins/meta-architect/skills/arch/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/build/SKILL.md +24 -0
- package/plugins/meta-architect/skills/build/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/flow/SKILL.md +24 -0
- package/plugins/meta-architect/skills/flow/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/maestro/SKILL.md +25 -0
- package/plugins/meta-architect/skills/maestro/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/meta-architect/SKILL.md +19 -23
- package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/meta-architect/references/core-release-rules.md +13 -0
- package/plugins/meta-architect/skills/sage/SKILL.md +37 -0
- package/plugins/meta-architect/skills/sage/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/vet/SKILL.md +25 -0
- package/plugins/meta-architect/skills/vet/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/vibe/SKILL.md +24 -0
- package/plugins/meta-architect/skills/vibe/agents/openai.yaml +4 -0
- package/scripts/doctor.js +8 -0
- package/scripts/plugin-sync.js +93 -0
- package/scripts/postinstall.js +23 -0
- package/scripts/release-metadata.js +94 -0
- package/scripts/release-sync.js +359 -0
- package/scripts/release-verify.js +153 -0
- package/scripts/setup-npmrc.js +39 -0
- package/scripts/skills-install.js +4 -36
- package/scripts/skills-manifest.js +1 -1
- package/scripts/skills-validate.js +78 -40
- package/skills/arch/SKILL.md +27 -0
- package/skills/arch/agents/openai.yaml +4 -0
- package/skills/build/SKILL.md +24 -0
- package/skills/build/agents/openai.yaml +4 -0
- package/skills/flow/SKILL.md +24 -0
- package/skills/flow/agents/openai.yaml +4 -0
- package/skills/index.json +27 -22
- package/skills/maestro/SKILL.md +25 -0
- package/skills/maestro/agents/openai.yaml +4 -0
- package/skills/meta-architect/SKILL.md +19 -23
- package/skills/meta-architect/agents/openai.yaml +3 -3
- package/skills/meta-architect/references/core-release-rules.md +2 -2
- package/skills/sage/SKILL.md +37 -0
- package/skills/sage/agents/openai.yaml +4 -0
- package/skills/vet/SKILL.md +25 -0
- package/skills/vet/agents/openai.yaml +4 -0
- package/skills/vibe/SKILL.md +24 -0
- package/skills/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/launcher.js +21 -17
- package/src/mcp-live-client.js +1 -1
- package/src/paths.js +8 -32
- package/src/release-state.js +3 -3
- package/src/runtime-artifacts.js +411 -0
- package/src/skill-installer.js +198 -0
- package/src/skills.js +473 -166
- package/templates/AGENTS.md +23 -6
- package/templates/model-instructions/core.md +1 -1
- package/.codex/config.toml +0 -2
- package/plugins/meta-architect/skills/meta-architect-arch/SKILL.md +0 -24
- package/plugins/meta-architect/skills/meta-architect-build/SKILL.md +0 -25
- package/plugins/meta-architect/skills/meta-architect-flow/SKILL.md +0 -23
- package/plugins/meta-architect/skills/meta-architect-sage/SKILL.md +0 -23
- package/plugins/meta-architect/skills/meta-architect-vet/SKILL.md +0 -23
- package/plugins/meta-architect/skills/meta-architect-vibe/SKILL.md +0 -24
- package/prompts/architect.md +0 -216
- package/prompts/builder.md +0 -10
- package/prompts/flow.md +0 -9
- package/prompts/release-manager.md +0 -10
- package/prompts/sage.md +0 -10
- package/prompts/security-reviewer.md +0 -10
- package/prompts/verifier.md +0 -10
- package/prompts/vibe.md +0 -10
- package/skills/meta-architect-arch/SKILL.md +0 -24
- package/skills/meta-architect-arch/agents/openai.yaml +0 -4
- package/skills/meta-architect-build/SKILL.md +0 -25
- package/skills/meta-architect-build/agents/openai.yaml +0 -4
- package/skills/meta-architect-flow/SKILL.md +0 -23
- package/skills/meta-architect-flow/agents/openai.yaml +0 -4
- package/skills/meta-architect-sage/SKILL.md +0 -23
- package/skills/meta-architect-sage/agents/openai.yaml +0 -4
- package/skills/meta-architect-vet/SKILL.md +0 -23
- package/skills/meta-architect-vet/agents/openai.yaml +0 -4
- package/skills/meta-architect-vibe/SKILL.md +0 -24
- package/skills/meta-architect-vibe/agents/openai.yaml +0 -4
- package/src/doctor.js +0 -30
- package/src/setup.js +0 -375
|
@@ -1,98 +1,231 @@
|
|
|
1
1
|
# Skills Publishing
|
|
2
2
|
|
|
3
|
-
Meta-Architect
|
|
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
|
-
##
|
|
5
|
+
## Two skill surfaces
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### 1. Internal runtime surface
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
-
|
|
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
|
-
|
|
12
|
+
Purpose:
|
|
13
|
+
- local runtime behavior
|
|
14
|
+
- internal command contracts
|
|
15
|
+
- generated or seeded operator surfaces
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
- `.omx/skills/`
|
|
17
|
+
### 2. Publishable skill surface
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
Location:
|
|
22
20
|
- `skills/`
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
-
|
|
22
|
+
Purpose:
|
|
23
|
+
- installable Codex skill folders
|
|
24
|
+
- UI metadata via `agents/openai.yaml`
|
|
25
|
+
- versionable public skill contract
|
|
26
26
|
|
|
27
|
-
|
|
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
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
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
|
-
##
|
|
91
|
+
## Expected outputs
|
|
48
92
|
|
|
49
|
-
|
|
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
|
-
- `
|
|
58
|
-
- `
|
|
130
|
+
- `scripts/`
|
|
131
|
+
- `index.js`
|
|
59
132
|
- `README.md`
|
|
60
133
|
- `LICENSE`
|
|
61
134
|
|
|
62
|
-
It
|
|
63
|
-
- `.
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
1
|
+
# Skills
|
|
2
2
|
|
|
3
|
-
Meta-Architect
|
|
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
|
-
##
|
|
12
|
+
## Real usage path
|
|
6
13
|
|
|
7
|
-
|
|
14
|
+
Install the package once, start Codex context if needed, and use the skills directly in-session.
|
|
8
15
|
|
|
9
16
|
```bash
|
|
10
|
-
|
|
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
|
-
|
|
23
|
+
# Remove Meta-Architect only
|
|
24
|
+
npm uninstall -g @jstn-sdk/ma
|
|
15
25
|
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
35
|
+
## Simple difference
|
|
37
36
|
|
|
38
|
-
|
|
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
|
-
|
|
55
|
-
-
|
|
56
|
-
- define stack rationale, tradeoffs, and downstream evidence requirements
|
|
39
|
+
- terminal commands
|
|
40
|
+
- in-session skills
|
|
57
41
|
|
|
58
|
-
|
|
42
|
+
Terminal commands are run in the shell:
|
|
59
43
|
|
|
60
44
|
```bash
|
|
61
|
-
ma
|
|
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
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
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
|
-
|
|
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
|
-
|
|
110
|
-
- `$vet`
|
|
73
|
+
## Installed support bundle
|
|
111
74
|
|
|
112
|
-
|
|
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
|
-
|
|
77
|
+
Default path:
|
|
116
78
|
|
|
117
|
-
```
|
|
118
|
-
|
|
79
|
+
```text
|
|
80
|
+
~/.codex/meta-architect-sdk/
|
|
119
81
|
```
|
|
120
82
|
|
|
121
|
-
|
|
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
|
|
137
|
-
ma run '$vibe' --waive --reason "Accepted for this release line"
|
|
86
|
+
ma sdk-path
|
|
138
87
|
```
|
|
139
88
|
|
|
140
|
-
|
|
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
|
-
|
|
91
|
+
Relevant packaged assets there include:
|
|
92
|
+
- `mcp/`
|
|
93
|
+
- `sprint/`
|
|
94
|
+
- `prompts/`
|
|
95
|
+
- `scripts/`
|
|
96
|
+
- `plugins/meta-architect/`
|
|
97
|
+
- `templates/`
|
|
145
98
|
|
|
146
|
-
|
|
147
|
-
- `$build`
|
|
99
|
+
This exists so Meta-Architect can use relevant packaged files without guessing paths.
|
|
148
100
|
|
|
149
|
-
|
|
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
|
-
|
|
103
|
+
Every skill result must include:
|
|
104
|
+
- `decision`
|
|
105
|
+
- `status`
|
|
106
|
+
- `evidence`
|
|
107
|
+
- `blockers`
|
|
108
|
+
- `next_allowed_triggers`
|
|
165
109
|
|
|
166
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
121
|
+
## Operator note
|
|
178
122
|
|
|
179
|
-
-
|
|
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.
|
package/mcp/collections.json
CHANGED
package/mcp/fallback.json
CHANGED
package/mcp/servers.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jstn-sdk/ma",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Codex-native
|
|
3
|
+
"version": "0.1.7",
|
|
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
|
-
"
|
|
26
|
-
"
|
|
24
|
+
"plugin",
|
|
25
|
+
"workflow-system"
|
|
27
26
|
],
|
|
28
27
|
"type": "module",
|
|
29
28
|
"main": "index.js",
|
|
30
29
|
"bin": {
|
|
31
|
-
"meta-architect": "bin/
|
|
32
|
-
"ma": "bin/
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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:
|
|
64
|
-
"
|
|
65
|
-
"
|
|
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.
|
|
4
|
+
"version": "0.1.7",
|
|
5
5
|
"description": "Programmatic architecture and verified engineering skills for Codex-native workflows.",
|
|
6
6
|
"entry": "./README.md",
|
|
7
7
|
"skillsDir": "./skills"
|