@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
package/docs/mcp-setup.md
CHANGED
|
@@ -1,136 +1,48 @@
|
|
|
1
1
|
# MCP / GitMCP Setup
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- `
|
|
21
|
-
-
|
|
22
|
-
- `
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
## Endpoint strategy
|
|
51
|
-
|
|
52
|
-
Preferred rule:
|
|
53
|
-
- use repo-specific `https://gitmcp.io/{owner}/{repo}` endpoints
|
|
54
|
-
- avoid generic discovery when an exact approved repo is already known
|
|
55
|
-
|
|
56
|
-
This keeps recommendations scoped and auditable.
|
|
57
|
-
|
|
58
|
-
## GitMCP collection examples
|
|
59
|
-
|
|
60
|
-
Useful committed examples:
|
|
61
|
-
- `sindresorhus/awesome`
|
|
62
|
-
- `dzharii/awesome-typescript`
|
|
63
|
-
- `rust-unofficial/awesome-rust`
|
|
64
|
-
- `sbilly/awesome-security`
|
|
65
|
-
- `awesome-selfhosted/awesome-selfhosted`
|
|
66
|
-
|
|
67
|
-
## How `$sage` uses live evidence
|
|
68
|
-
|
|
69
|
-
Current `$sage` behavior:
|
|
70
|
-
1. requires `architecture_status = APPROVED`
|
|
71
|
-
2. reads `mcp/servers.json`
|
|
72
|
-
3. validates endpoint shape
|
|
73
|
-
4. derives the query from the latest architecture summary
|
|
74
|
-
5. opens a live GitMCP SSE connection when live probing is enabled
|
|
75
|
-
6. negotiates the MCP message endpoint
|
|
76
|
-
7. runs `tools/list`
|
|
77
|
-
8. runs one repo-specific tool call
|
|
78
|
-
9. writes probe metadata into `.omx/evidence/sources.json`
|
|
79
|
-
|
|
80
|
-
This is enough to provide real runtime evidence for the first configured approved source. It is not a full multi-source reasoning engine yet.
|
|
81
|
-
|
|
82
|
-
## VERIFIED vs PARTIAL vs MISSING
|
|
83
|
-
|
|
84
|
-
### `VERIFIED`
|
|
85
|
-
- at least one approved endpoint is configured
|
|
86
|
-
- a real live probe succeeds
|
|
87
|
-
- usable evidence is written
|
|
88
|
-
|
|
89
|
-
### `PARTIAL`
|
|
90
|
-
- configured evidence exists
|
|
91
|
-
- but live proof is incomplete, disabled, or degraded
|
|
92
|
-
|
|
93
|
-
### `MISSING`
|
|
94
|
-
- no valid approved source exists
|
|
95
|
-
|
|
96
|
-
Do not silently mark evidence as verified when the live source did not succeed.
|
|
97
|
-
|
|
98
|
-
## What to do when MCP is unavailable
|
|
99
|
-
|
|
100
|
-
If MCP or GitMCP is unavailable:
|
|
101
|
-
- keep evidence partial or missing
|
|
102
|
-
- record the failure explicitly
|
|
103
|
-
- do not fabricate evidence
|
|
104
|
-
- fix the endpoint or network condition first
|
|
105
|
-
- rerun `$sage`
|
|
106
|
-
|
|
107
|
-
## How to keep committed MCP config honest
|
|
108
|
-
|
|
109
|
-
- commit real or intentionally documented example endpoints only
|
|
110
|
-
- do not leave fake placeholders in production config
|
|
111
|
-
- update this file if category policy changes
|
|
112
|
-
- treat endpoint drift as a release-sensitive change
|
|
113
|
-
|
|
114
|
-
## Example setup workflow
|
|
115
|
-
|
|
116
|
-
1. edit `mcp/servers.json`
|
|
117
|
-
2. confirm categories in `mcp/collections.json`
|
|
118
|
-
3. inspect fallback policy in `mcp/fallback.json`
|
|
119
|
-
4. ensure `$arch` already approved the architecture
|
|
120
|
-
5. run:
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
ma run '$sage'
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
6. inspect:
|
|
127
|
-
- `.omx/evidence/sources.json`
|
|
128
|
-
- `.omx/decisions.json`
|
|
129
|
-
- `.omx/release.json`
|
|
130
|
-
|
|
131
|
-
## Related surfaces
|
|
132
|
-
|
|
133
|
-
- [README.md](../README.md)
|
|
134
|
-
- [docs/skills.md](./skills.md)
|
|
135
|
-
- [docs/release-spec.md](./release-spec.md)
|
|
136
|
-
- [plugins/meta-architect/README.md](../plugins/meta-architect/README.md)
|
|
3
|
+
1. Use approved discovery accelerators when you need to find OSS candidates faster than browsing GitHub directly.
|
|
4
|
+
2. Add repo-specific GitMCP endpoints in `mcp/servers.json` for any project you want to treat as approved evidence.
|
|
5
|
+
3. Confirm categories in `mcp/collections.json`.
|
|
6
|
+
4. Use `https://gitmcp.io/docs` only when no approved exact endpoint exists.
|
|
7
|
+
|
|
8
|
+
## Discovery vs verification
|
|
9
|
+
|
|
10
|
+
Canonical `$sage` order:
|
|
11
|
+
|
|
12
|
+
1. If the upstream repository or official docs are already known, start there first.
|
|
13
|
+
2. If not, use approved discovery accelerators to build a candidate set quickly.
|
|
14
|
+
3. Convert promising candidates into exact upstream repository mappings in `mcp/servers.json`.
|
|
15
|
+
4. Verify the choice against the upstream repo and official docs.
|
|
16
|
+
5. Treat the result as `VERIFIED`, `PARTIAL`, or `UNVERIFIED` based on what was actually proven.
|
|
17
|
+
|
|
18
|
+
The following external discovery surfaces are part of the Meta-Architect discovery standard:
|
|
19
|
+
|
|
20
|
+
- `https://ossium.live/home`
|
|
21
|
+
- use for trending OSS, curated repositories, YC-backed repos, GSoC orgs, and contribution leads
|
|
22
|
+
- `https://trendshift.io/`
|
|
23
|
+
- use for rising GitHub repository engagement, topic-driven exploration, and trend signals
|
|
24
|
+
- `https://devhunt.org/`
|
|
25
|
+
- use for newly launched developer tools and discovery of current dev-tool products
|
|
26
|
+
- `https://libraries.io/`
|
|
27
|
+
- use for package, ecosystem, license, and dependency metadata
|
|
28
|
+
- caution: Libraries.io says its public data is scraped and "not validated, corrected, or curated for accuracy"
|
|
29
|
+
- `https://openhub.net/`
|
|
30
|
+
- use for project activity, contributor, popularity, and comparative OSS project signals
|
|
31
|
+
- `https://www.opensourceprojects.dev/`
|
|
32
|
+
- use for curated open-source project discovery, detailed project writeups, and higher-signal project scouting
|
|
33
|
+
|
|
34
|
+
Use it for:
|
|
35
|
+
- discovering candidate repositories
|
|
36
|
+
- spotting trending or actively curated OSS
|
|
37
|
+
- finding contribution-friendly projects and issue flows
|
|
38
|
+
- finding YC-linked or GSoC-linked OSS leads faster
|
|
39
|
+
- checking package-ecosystem metadata, maintenance signals, and dependency context
|
|
40
|
+
- checking project activity and contributor/comparison signals
|
|
41
|
+
- checking curated project writeups and hand-picked OSS recommendations
|
|
42
|
+
|
|
43
|
+
Do not treat any of these discovery surfaces alone as VERIFIED build-unlocking evidence.
|
|
44
|
+
|
|
45
|
+
To move from discovery to VERIFIED evidence:
|
|
46
|
+
- identify the upstream GitHub repository or official package/docs source from the discovery surface
|
|
47
|
+
- map that repo to an exact `https://gitmcp.io/{owner}/{repo}` endpoint in `mcp/servers.json`
|
|
48
|
+
- validate the choice against the upstream repo and official docs through `$sage`
|
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.7
|
|
2
|
+
|
|
3
|
+
## Production bar
|
|
4
|
+
|
|
5
|
+
`v0.1.7` 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.7`
|
|
10
|
+
|
|
11
|
+
Target release state:
|
|
12
|
+
- npm package: `@jstn-sdk/ma@0.1.7`
|
|
13
|
+
- npm registry state: pending publish
|
|
14
|
+
- publishability note: `0.1.6` is already published, so `0.1.7` is the next publishable package line
|
|
15
|
+
- git tag: `v0.1.7`
|
|
16
|
+
- GitHub release: pending publish for `v0.1.7`
|
|
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.7` / `v0.1.7`: 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.7 Requirements & Rules
|
|
2
2
|
|
|
3
3
|
## Production definition
|
|
4
4
|
|
|
5
|
-
Meta-Architect `v0.1.
|
|
5
|
+
Meta-Architect `v0.1.7` 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.7` 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.7`
|
|
53
|
+
- git tag `v0.1.7`
|
|
54
|
+
- `RELEASE.md`
|
|
55
|
+
- `CHANGELOG.md`
|
|
56
|
+
- `docs/qa/release-readiness-0.1.7.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
|