@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.
- package/.agents/plugins/marketplace.json +20 -0
- package/.codex/hooks.json +1 -1
- package/.codex/prompts/enforcement.md +3 -3
- package/.codex/prompts/onboarding.md +29 -14
- package/README.md +512 -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 +419 -37
- package/docs/installed-sdk.md +60 -0
- package/docs/mcp-setup.md +3 -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.6.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 +17 -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 +24 -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 +17 -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 +24 -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 +6 -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
package/docs/onboarding.md
CHANGED
|
@@ -1,35 +1,65 @@
|
|
|
1
1
|
# Onboarding
|
|
2
2
|
|
|
3
|
-
This
|
|
4
|
-
understand the Codex-native Meta-Architect runtime model.
|
|
3
|
+
This is the shortest entrypoint for the real first-run Meta-Architect path.
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## Read first
|
|
7
6
|
|
|
8
7
|
1. `README.md`
|
|
9
8
|
2. `docs/getting-started.md`
|
|
10
|
-
3. `
|
|
11
|
-
4. `docs/
|
|
9
|
+
3. `example/usage-workflow.md`
|
|
10
|
+
4. `docs/release-spec.md`
|
|
12
11
|
5. `docs/skills-publishing.md`
|
|
13
12
|
|
|
14
|
-
##
|
|
13
|
+
## Canonical install and start
|
|
15
14
|
|
|
16
15
|
```bash
|
|
17
|
-
|
|
16
|
+
# Install
|
|
17
|
+
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
18
|
+
|
|
19
|
+
# Start Codex context if needed
|
|
18
20
|
ma --madmax --high
|
|
21
|
+
|
|
22
|
+
# Remove Meta-Architect only
|
|
23
|
+
npm uninstall -g @jstn-sdk/ma
|
|
24
|
+
|
|
25
|
+
# Remove Meta-Architect and Codex
|
|
26
|
+
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## First runtime action
|
|
30
|
+
|
|
31
|
+
Start with the structured `$arch` prompt from [example/usage-workflow.md](../example/usage-workflow.md):
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
$arch I want to build: [PROJECT IDEA]
|
|
19
35
|
```
|
|
20
36
|
|
|
21
|
-
|
|
22
|
-
- `$arch`
|
|
37
|
+
Then continue through:
|
|
23
38
|
- `$sage`
|
|
24
39
|
- `$flow`
|
|
25
40
|
- `$vet`
|
|
26
41
|
- `$vibe`
|
|
27
42
|
- `$build`
|
|
28
43
|
|
|
44
|
+
## Secondary helper path
|
|
45
|
+
|
|
46
|
+
Only use this when you need local repo scaffolding or scripted validation:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
ma setup
|
|
50
|
+
ma
|
|
51
|
+
ma idea "..."
|
|
52
|
+
ma run '$arch'
|
|
53
|
+
ma run '$sage'
|
|
54
|
+
ma run '$flow'
|
|
55
|
+
ma run '$vet'
|
|
56
|
+
ma run '$vibe'
|
|
57
|
+
ma run '$build'
|
|
58
|
+
```
|
|
59
|
+
|
|
29
60
|
## First safety rules
|
|
30
61
|
|
|
31
|
-
- Do not commit runtime `.
|
|
62
|
+
- Do not commit runtime `.ma` state.
|
|
32
63
|
- Do not bypass gates by editing status files manually.
|
|
33
64
|
- Do not assume a release channel succeeded without evidence.
|
|
34
65
|
- Do not treat fallback MCP docs mode as normal verified evidence.
|
|
35
|
-
- Do not present `ma setup` as the main daily workflow.
|
|
@@ -2,42 +2,62 @@
|
|
|
2
2
|
|
|
3
3
|
## Production bar
|
|
4
4
|
|
|
5
|
-
`v0.1.5` is production only when:
|
|
6
|
-
- the
|
|
7
|
-
- the runtime
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
`v0.1.5` is treated as production only when:
|
|
6
|
+
- the package installs cleanly from the canonical public install command
|
|
7
|
+
- the Codex-hosted runtime path works end to end
|
|
8
|
+
- the helper flow remains valid for scripted verification
|
|
9
|
+
- release docs, package metadata, and workflows all agree on `0.1.5`
|
|
10
|
+
|
|
11
|
+
Target release state:
|
|
12
|
+
- npm package: `@jstn-sdk/ma@0.1.5`
|
|
13
|
+
- npm registry state: pending publish
|
|
14
|
+
- publishability note: `0.1.4` is already published, so `0.1.5` is the next publishable package line
|
|
15
|
+
- git tag: `v0.1.5`
|
|
16
|
+
- GitHub release: pending publish for `v0.1.5`
|
|
17
|
+
|
|
18
|
+
## Production checklist
|
|
19
|
+
|
|
20
|
+
- skills-first product identity: PASS
|
|
21
|
+
- package/plugin identity aligned to `@jstn-sdk/ma`: PASS
|
|
22
|
+
- version/tag alignment `0.1.5` / `v0.1.5`: PASS
|
|
23
|
+
- install/uninstall docs aligned: PASS
|
|
24
|
+
- onboarding is concise and sequential: PASS
|
|
25
|
+
- helper command documented as secondary: PASS
|
|
26
|
+
- skills/prompts/manifests aligned: PASS
|
|
27
|
+
- packaging includes required assets: PASS
|
|
28
|
+
- tests pass: PASS
|
|
29
|
+
- package dry-run passes: PASS
|
|
30
|
+
- installed-package behavior passes: PASS
|
|
31
|
+
- workflow/release/provenance docs aligned: PASS
|
|
32
|
+
- no stale package names remain in tracked repo surfaces: PASS
|
|
33
|
+
- no conflicting CLI-first product story remains in tracked product docs: PASS
|
|
34
|
+
|
|
35
|
+
## Automated checks run
|
|
14
36
|
|
|
15
37
|
```bash
|
|
16
38
|
npm run release:check
|
|
17
39
|
```
|
|
18
40
|
|
|
19
|
-
|
|
20
|
-
- manifest generation
|
|
41
|
+
That must cover:
|
|
42
|
+
- skills manifest generation
|
|
21
43
|
- skill validation
|
|
22
|
-
- skill
|
|
23
|
-
-
|
|
24
|
-
- release doc/version/tag alignment
|
|
25
|
-
- workflow/provenance configuration validation
|
|
26
|
-
- Biome checks
|
|
44
|
+
- skill bundle packaging
|
|
45
|
+
- repo checks
|
|
27
46
|
- automated tests
|
|
28
47
|
- npm package dry-run inspection
|
|
29
48
|
|
|
30
|
-
##
|
|
49
|
+
## Manual/behavioral checks run
|
|
31
50
|
|
|
32
|
-
|
|
51
|
+
Canonical launch:
|
|
33
52
|
|
|
34
53
|
```bash
|
|
35
54
|
ma --madmax --high
|
|
36
55
|
```
|
|
37
56
|
|
|
38
|
-
|
|
57
|
+
Helper-path validation:
|
|
39
58
|
|
|
40
59
|
```bash
|
|
60
|
+
ma setup
|
|
41
61
|
ma idea "Build a demo app"
|
|
42
62
|
ma run '$arch'
|
|
43
63
|
ma run '$sage'
|
|
@@ -48,30 +68,12 @@ ma status
|
|
|
48
68
|
ma run '$build'
|
|
49
69
|
```
|
|
50
70
|
|
|
51
|
-
Expected
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
## Provenance checklist
|
|
57
|
-
|
|
58
|
-
- `.github/workflows/npm-publish.yml` uses GitHub Actions trusted publishing
|
|
59
|
-
- workflow permissions include `contents: read` and `id-token: write`
|
|
60
|
-
- publish command is `npm publish --provenance --access public`
|
|
61
|
-
- post-publish workflow verifies the published package version on npm
|
|
62
|
-
- post-publish workflow installs the published package in a clean directory and runs `npm audit signatures`
|
|
63
|
-
|
|
64
|
-
## Release artifact checklist
|
|
65
|
-
|
|
66
|
-
- `package.json` version is `0.1.5`
|
|
67
|
-
- `package-lock.json` version is `0.1.5`
|
|
68
|
-
- `CHANGELOG.md` contains `## v0.1.5`
|
|
69
|
-
- `RELEASE.md` title is `# Meta-Architect v0.1.5`
|
|
70
|
-
- `docs/release-spec.md` references `v0.1.5`
|
|
71
|
-
- `dist/meta-architect-skills.tgz` exists and is non-empty
|
|
71
|
+
Expected evidence:
|
|
72
|
+
- `.ma/release.json` remains the source of truth
|
|
73
|
+
- `.ma/decisions.json` records the helper-path activity
|
|
74
|
+
- `$build` stays blocked until upstream gates are green, then becomes ready
|
|
72
75
|
|
|
73
|
-
## Known
|
|
76
|
+
## Known limitations
|
|
74
77
|
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
- npm publish still requires the external trusted-publishing configuration on npm to be enabled for the repository
|
|
78
|
+
- interactive Codex conversation quality depends on the installed Codex host
|
|
79
|
+
- release publication still depends on npm ownership/authorization for the target package name
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Release Readiness 0.1.6
|
|
2
|
+
|
|
3
|
+
## Production bar
|
|
4
|
+
|
|
5
|
+
`v0.1.6` is treated as production only when:
|
|
6
|
+
- the package installs cleanly from the canonical public install command
|
|
7
|
+
- the Codex-hosted runtime path works end to end
|
|
8
|
+
- the helper flow remains valid for scripted verification
|
|
9
|
+
- release docs, package metadata, and workflows all agree on `0.1.6`
|
|
10
|
+
|
|
11
|
+
Target release state:
|
|
12
|
+
- npm package: `@jstn-sdk/ma@0.1.6`
|
|
13
|
+
- npm registry state: pending publish
|
|
14
|
+
- publishability note: `0.1.5` is already published, so `0.1.6` is the next publishable package line
|
|
15
|
+
- git tag: `v0.1.6`
|
|
16
|
+
- GitHub release: pending publish for `v0.1.6`
|
|
17
|
+
|
|
18
|
+
## Production checklist
|
|
19
|
+
|
|
20
|
+
- skills-first product identity: PASS
|
|
21
|
+
- package/plugin identity aligned to `@jstn-sdk/ma`: PASS
|
|
22
|
+
- version/tag alignment `0.1.6` / `v0.1.6`: PASS
|
|
23
|
+
- install/uninstall docs aligned: PASS
|
|
24
|
+
- onboarding is concise and sequential: PASS
|
|
25
|
+
- helper command documented as secondary: PASS
|
|
26
|
+
- skills/prompts/manifests aligned: PASS
|
|
27
|
+
- packaging includes required assets: PASS
|
|
28
|
+
- tests pass: PASS
|
|
29
|
+
- package dry-run passes: PASS
|
|
30
|
+
- installed-package behavior passes: PASS
|
|
31
|
+
- workflow/release/provenance docs aligned: PASS
|
|
32
|
+
- no stale package names remain in tracked repo surfaces: PASS
|
|
33
|
+
- no conflicting CLI-first product story remains in tracked product docs: PASS
|
|
34
|
+
|
|
35
|
+
## Automated checks run
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm run release:check
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
That must cover:
|
|
42
|
+
- skills manifest generation
|
|
43
|
+
- skill validation
|
|
44
|
+
- skill bundle packaging
|
|
45
|
+
- repo checks
|
|
46
|
+
- automated tests
|
|
47
|
+
- npm package dry-run inspection
|
|
48
|
+
|
|
49
|
+
## Manual/behavioral checks run
|
|
50
|
+
|
|
51
|
+
Canonical launch:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
ma --madmax --high
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Helper-path validation:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
ma setup
|
|
61
|
+
ma idea "Build a demo app"
|
|
62
|
+
ma run '$arch'
|
|
63
|
+
ma run '$sage'
|
|
64
|
+
ma run '$flow'
|
|
65
|
+
ma run '$vet'
|
|
66
|
+
ma run '$vibe'
|
|
67
|
+
ma status
|
|
68
|
+
ma run '$build'
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Expected evidence:
|
|
72
|
+
- `.ma/release.json` remains the source of truth
|
|
73
|
+
- `.ma/decisions.json` records the helper-path activity
|
|
74
|
+
- `$build` stays blocked until upstream gates are green, then becomes ready
|
|
75
|
+
|
|
76
|
+
## Known limitations
|
|
77
|
+
|
|
78
|
+
- interactive Codex conversation quality depends on the installed Codex host
|
|
79
|
+
- release publication still depends on npm ownership/authorization for the target package name
|
package/docs/release-spec.md
CHANGED
|
@@ -1,115 +1,93 @@
|
|
|
1
|
-
# v0.1.
|
|
1
|
+
# v0.1.6 Requirements & Rules
|
|
2
2
|
|
|
3
3
|
## Production definition
|
|
4
4
|
|
|
5
|
-
Meta-Architect `v0.1.
|
|
5
|
+
Meta-Architect `v0.1.6` is production only when:
|
|
6
|
+
1. the package/install surface works
|
|
7
|
+
2. the in-session skill workflow from `$arch` through `$build` works
|
|
8
|
+
3. the release evidence matches the actual package and git tag
|
|
6
9
|
|
|
7
|
-
1.
|
|
8
|
-
2. The public runtime, helper, and release contract is stable.
|
|
9
|
-
3. There is documented release evidence for the exact version and tag.
|
|
10
|
+
## What `v0.1.6` must have
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
### 1. Canonical package/runtime path
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
- The primary operating surface inside Codex is:
|
|
14
|
+
- install: `npm i -g @openai/codex@latest @jstn-sdk/ma@latest`
|
|
15
|
+
- optional helper launch: `ma --madmax --high`
|
|
16
|
+
- uninstall Meta-Architect only: `npm uninstall -g @jstn-sdk/ma`
|
|
17
|
+
- uninstall Meta-Architect and Codex: `npm uninstall -g @jstn-sdk/ma @openai/codex`
|
|
18
|
+
- runtime trigger surface:
|
|
19
19
|
- `$arch`
|
|
20
20
|
- `$sage`
|
|
21
21
|
- `$flow`
|
|
22
22
|
- `$vet`
|
|
23
23
|
- `$vibe`
|
|
24
24
|
- `$build`
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
- `
|
|
43
|
-
- `
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
- `
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
- `
|
|
53
|
-
-
|
|
54
|
-
- `
|
|
55
|
-
- `
|
|
56
|
-
- `
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- `
|
|
62
|
-
- `
|
|
63
|
-
- `
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
###
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
- `
|
|
92
|
-
- `
|
|
93
|
-
-
|
|
94
|
-
- npm trusted publishing configuration
|
|
95
|
-
- post-publish provenance verification
|
|
96
|
-
|
|
97
|
-
### 6. Required docs
|
|
98
|
-
|
|
99
|
-
- `README.md`
|
|
100
|
-
- `docs/getting-started.md`
|
|
101
|
-
- `docs/skills.md`
|
|
102
|
-
- `docs/mcp-setup.md`
|
|
103
|
-
- `docs/skills-publishing.md`
|
|
104
|
-
- `docs/release-spec.md`
|
|
105
|
-
- `docs/qa/release-readiness-0.1.5.md`
|
|
106
|
-
|
|
107
|
-
## Production rule
|
|
108
|
-
|
|
109
|
-
Meta-Architect `v0.1.5` is considered production-ready only if:
|
|
110
|
-
- a Codex session launches through `ma --madmax --high`
|
|
111
|
-
- the full `$arch -> $sage -> $flow -> $vet -> $vibe -> $build` contract works with gate enforcement
|
|
112
|
-
- package, docs, workflows, manifests, and release notes all agree on `v0.1.5`
|
|
113
|
-
- the skill distribution surfaces validate and package from a clean checkout
|
|
114
|
-
- the npm publish workflow is provenance-capable
|
|
115
|
-
- post-publish verification checks are defined and enforced
|
|
25
|
+
|
|
26
|
+
### 2. Secondary helper path
|
|
27
|
+
|
|
28
|
+
Helper commands remain available for setup and scripted validation:
|
|
29
|
+
- `ma setup`
|
|
30
|
+
- `ma idea`
|
|
31
|
+
- `ma run ...`
|
|
32
|
+
- `ma status`
|
|
33
|
+
- `ma merge`
|
|
34
|
+
- `ma release`
|
|
35
|
+
|
|
36
|
+
### 3. State and gate contract
|
|
37
|
+
|
|
38
|
+
Canonical runtime namespace:
|
|
39
|
+
- `.ma/`
|
|
40
|
+
|
|
41
|
+
Canonical state files:
|
|
42
|
+
- `.ma/decisions.json`
|
|
43
|
+
- `.ma/release.json`
|
|
44
|
+
- `.ma/evidence/*`
|
|
45
|
+
- `.ma/context/*`
|
|
46
|
+
- `.ma/specs/*`
|
|
47
|
+
- `.ma/plans/*`
|
|
48
|
+
- `.ma/runbook.md`
|
|
49
|
+
|
|
50
|
+
### 4. Required release evidence
|
|
51
|
+
|
|
52
|
+
- `package.json` version `0.1.6`
|
|
53
|
+
- git tag `v0.1.6`
|
|
54
|
+
- `RELEASE.md`
|
|
55
|
+
- `CHANGELOG.md`
|
|
56
|
+
- `docs/qa/release-readiness-0.1.6.md`
|
|
57
|
+
- green `npm run release:check`
|
|
58
|
+
|
|
59
|
+
### 5. Dist-tag discipline
|
|
60
|
+
|
|
61
|
+
- stable versions such as `0.1.2` publish to npm `latest`
|
|
62
|
+
- prerelease versions such as `0.2.0-beta.1` must publish with explicit tags such as `beta`
|
|
63
|
+
- recommended alternate lanes are `next`, `beta`, and `canary`
|
|
64
|
+
- prerelease publication must use `npm publish --tag <lane>`
|
|
65
|
+
- stable publication keeps scoped public access and provenance enabled
|
|
66
|
+
|
|
67
|
+
### 6. Canonical bump and publish flow
|
|
68
|
+
|
|
69
|
+
1. Run `npm version <version> --no-git-tag-version`
|
|
70
|
+
2. Update `CHANGELOG.md`
|
|
71
|
+
3. Update `RELEASE.md`
|
|
72
|
+
4. Update `docs/qa/release-readiness-<version>.md`
|
|
73
|
+
5. Run `npm run release:verify`
|
|
74
|
+
6. Run `npm run release:check`
|
|
75
|
+
7. Create and push tag `v<version>`
|
|
76
|
+
8. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
77
|
+
9. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
|
|
78
|
+
- Stable publish: `npm publish --access public`
|
|
79
|
+
- Prerelease publish: `npm publish --access public --tag <lane>`
|
|
80
|
+
10. Verify dist-tags with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
81
|
+
|
|
82
|
+
### 6.1 Release automation
|
|
83
|
+
|
|
84
|
+
- `npm run release:sync` updates the active release line when watched release-relevant files changed
|
|
85
|
+
- `npm run release:advance` force-bumps the next patch line after a completed release
|
|
86
|
+
- `.github/workflows/release-sync.yml` automates the sync path on `main`
|
|
87
|
+
- `.github/workflows/release-advance.yml` advances the repo to the next patch line after a published release
|
|
88
|
+
|
|
89
|
+
### 7. Provenance rule
|
|
90
|
+
|
|
91
|
+
- `npm publish --provenance` is valid only from a supported cloud CI/CD provider
|
|
92
|
+
- local shell publishes are expected to fail with `Automatic provenance generation not supported for provider: null`
|
|
93
|
+
- use the repository publish workflow when provenance is part of the release bar
|