@jstn-sdk/ma 0.1.4 → 0.1.5

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 (112) hide show
  1. package/.codex/config.toml +2 -0
  2. package/.codex/hooks.json +1 -1
  3. package/.codex/prompts/enforcement.md +3 -3
  4. package/.codex/prompts/onboarding.md +14 -29
  5. package/README.md +129 -472
  6. package/bin/ma.js +103 -54
  7. package/docs/README.md +1 -2
  8. package/docs/getting-started.md +37 -402
  9. package/docs/mcp-setup.md +134 -3
  10. package/docs/onboarding.md +11 -41
  11. package/docs/qa/release-readiness-0.1.5.md +77 -0
  12. package/docs/release-spec.md +103 -81
  13. package/docs/skills-publishing.md +54 -187
  14. package/docs/skills.md +141 -78
  15. package/mcp/collections.json +1 -1
  16. package/mcp/fallback.json +1 -1
  17. package/mcp/servers.json +1 -1
  18. package/package.json +14 -17
  19. package/plugins/meta-architect/.app.json +1 -1
  20. package/plugins/meta-architect/.mcp.json +1 -1
  21. package/plugins/meta-architect/README.md +10 -23
  22. package/plugins/meta-architect/skills/meta-architect/SKILL.md +23 -17
  23. package/plugins/meta-architect/skills/meta-architect-arch/SKILL.md +24 -0
  24. package/plugins/meta-architect/skills/meta-architect-build/SKILL.md +25 -0
  25. package/plugins/meta-architect/skills/meta-architect-flow/SKILL.md +23 -0
  26. package/plugins/meta-architect/skills/meta-architect-sage/SKILL.md +23 -0
  27. package/plugins/meta-architect/skills/meta-architect-vet/SKILL.md +23 -0
  28. package/plugins/meta-architect/skills/meta-architect-vibe/SKILL.md +24 -0
  29. package/prompts/architect.md +216 -0
  30. package/prompts/builder.md +10 -0
  31. package/prompts/flow.md +9 -0
  32. package/prompts/release-manager.md +10 -0
  33. package/prompts/sage.md +10 -0
  34. package/prompts/security-reviewer.md +10 -0
  35. package/prompts/verifier.md +10 -0
  36. package/prompts/vibe.md +10 -0
  37. package/scripts/doctor.js +0 -8
  38. package/scripts/skills-install.js +36 -4
  39. package/scripts/skills-manifest.js +1 -1
  40. package/scripts/skills-validate.js +40 -78
  41. package/skills/index.json +22 -22
  42. package/skills/meta-architect/SKILL.md +23 -17
  43. package/skills/meta-architect/agents/openai.yaml +3 -3
  44. package/skills/meta-architect/references/core-release-rules.md +2 -2
  45. package/skills/meta-architect-arch/SKILL.md +24 -0
  46. package/skills/meta-architect-arch/agents/openai.yaml +4 -0
  47. package/skills/meta-architect-build/SKILL.md +25 -0
  48. package/skills/meta-architect-build/agents/openai.yaml +4 -0
  49. package/skills/meta-architect-flow/SKILL.md +23 -0
  50. package/skills/meta-architect-flow/agents/openai.yaml +4 -0
  51. package/skills/meta-architect-sage/SKILL.md +23 -0
  52. package/skills/meta-architect-sage/agents/openai.yaml +4 -0
  53. package/skills/meta-architect-vet/SKILL.md +23 -0
  54. package/skills/meta-architect-vet/agents/openai.yaml +4 -0
  55. package/skills/meta-architect-vibe/SKILL.md +24 -0
  56. package/skills/meta-architect-vibe/agents/openai.yaml +4 -0
  57. package/sprint/00-idea.md +1 -1
  58. package/sprint/01-architecture.md +1 -1
  59. package/sprint/02-oss-evidence.md +1 -1
  60. package/sprint/03-logic.md +1 -1
  61. package/sprint/04-security.md +2 -2
  62. package/sprint/05-dx-ux.md +1 -1
  63. package/src/decision-log.js +4 -4
  64. package/src/doctor.js +30 -0
  65. package/src/launcher.js +17 -21
  66. package/src/mcp-live-client.js +1 -1
  67. package/src/paths.js +32 -8
  68. package/src/release-state.js +3 -3
  69. package/src/setup.js +375 -0
  70. package/src/skills.js +166 -309
  71. package/templates/AGENTS.md +6 -6
  72. package/templates/model-instructions/core.md +1 -1
  73. package/.agents/plugins/marketplace.json +0 -20
  74. package/docs/assets/meta-architect-logo.png +0 -0
  75. package/docs/assets/meta-architect-logo.svg +0 -8
  76. package/docs/installed-sdk.md +0 -60
  77. package/docs/qa/release-readiness-0.1.4.md +0 -79
  78. package/plugins/meta-architect/.codex-plugin/plugin.json +0 -23
  79. package/plugins/meta-architect/skills/arch/SKILL.md +0 -27
  80. package/plugins/meta-architect/skills/arch/agents/openai.yaml +0 -4
  81. package/plugins/meta-architect/skills/build/SKILL.md +0 -24
  82. package/plugins/meta-architect/skills/build/agents/openai.yaml +0 -4
  83. package/plugins/meta-architect/skills/flow/SKILL.md +0 -24
  84. package/plugins/meta-architect/skills/flow/agents/openai.yaml +0 -4
  85. package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +0 -4
  86. package/plugins/meta-architect/skills/meta-architect/references/core-release-rules.md +0 -13
  87. package/plugins/meta-architect/skills/sage/SKILL.md +0 -24
  88. package/plugins/meta-architect/skills/sage/agents/openai.yaml +0 -4
  89. package/plugins/meta-architect/skills/vet/SKILL.md +0 -25
  90. package/plugins/meta-architect/skills/vet/agents/openai.yaml +0 -4
  91. package/plugins/meta-architect/skills/vibe/SKILL.md +0 -24
  92. package/plugins/meta-architect/skills/vibe/agents/openai.yaml +0 -4
  93. package/scripts/plugin-sync.js +0 -92
  94. package/scripts/postinstall.js +0 -23
  95. package/scripts/release-metadata.js +0 -94
  96. package/scripts/release-sync.js +0 -359
  97. package/scripts/release-verify.js +0 -153
  98. package/scripts/setup-npmrc.js +0 -39
  99. package/skills/arch/SKILL.md +0 -27
  100. package/skills/arch/agents/openai.yaml +0 -4
  101. package/skills/build/SKILL.md +0 -24
  102. package/skills/build/agents/openai.yaml +0 -4
  103. package/skills/flow/SKILL.md +0 -24
  104. package/skills/flow/agents/openai.yaml +0 -4
  105. package/skills/sage/SKILL.md +0 -24
  106. package/skills/sage/agents/openai.yaml +0 -4
  107. package/skills/vet/SKILL.md +0 -25
  108. package/skills/vet/agents/openai.yaml +0 -4
  109. package/skills/vibe/SKILL.md +0 -24
  110. package/skills/vibe/agents/openai.yaml +0 -4
  111. package/src/runtime-artifacts.js +0 -363
  112. package/src/skill-installer.js +0 -198
package/docs/skills.md CHANGED
@@ -1,119 +1,182 @@
1
- # Skills
1
+ # Skills Reference
2
2
 
3
- Meta-Architect’s canonical Codex runtime surface is:
4
- - `$arch`
5
- - `$sage`
6
- - `$flow`
7
- - `$vet`
8
- - `$vibe`
9
- - `$build`
3
+ Meta-Architect exposes six core runtime skills inside Codex. These skill tags are the main product surface.
10
4
 
11
- ## Real usage path
5
+ ## Runtime-first rule
12
6
 
13
- Install the package once, start Codex context if needed, and use the skills directly in-session.
7
+ Canonical runtime usage:
14
8
 
15
9
  ```bash
16
- # Install
17
- npm i -g @openai/codex@latest @jstn-sdk/ma@latest
18
-
19
- # Start Codex context if needed
10
+ npm i -g @openai/codex @jstn-sdk/ma
20
11
  ma --madmax --high
12
+ ```
21
13
 
22
- # Remove Meta-Architect only
23
- npm uninstall -g @jstn-sdk/ma
14
+ Then operate inside Codex with:
24
15
 
25
- # Remove Meta-Architect and Codex
26
- npm uninstall -g @jstn-sdk/ma @openai/codex
16
+ ```text
17
+ $arch
18
+ $sage
19
+ $flow
20
+ $vet
21
+ $vibe
22
+ $build
27
23
  ```
28
24
 
29
- Then inside the Codex session:
30
- 1. Start with the structured `$arch` prompt
31
- 2. Continue through `$sage -> $flow -> $vet -> $vibe -> $build`
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`
32
35
 
33
- ## Simple difference
36
+ Publishable skill folders live in [skills/](../skills/). Internal runtime logic lives in [src/skills.js](../src/skills.js).
34
37
 
35
- Meta-Architect has two surfaces:
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`
36
53
 
37
- - terminal commands
38
- - in-session skills
54
+ Purpose:
55
+ - produce the first architecture blueprint from the captured idea
56
+ - define stack rationale, tradeoffs, and downstream evidence requirements
39
57
 
40
- Terminal commands are run in the shell:
58
+ Scripted helper path:
41
59
 
42
60
  ```bash
43
- ma setup
44
- ma init
45
- ma idea "Build a product"
46
- ma status
61
+ ma idea "Build a SaaS billing dashboard"
47
62
  ma run '$arch'
48
63
  ```
49
64
 
50
- In-session skills are used inside the Codex conversation:
65
+ Expected result:
66
+ - `.omx/decisions.json` records the architecture decision
67
+ - `.omx/release.json` moves `architecture_status` to `APPROVED`
51
68
 
52
- ```text
53
- $arch
54
- $sage
55
- $flow
56
- $vet
57
- $vibe
58
- $build
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'
59
82
  ```
60
83
 
61
- Short rule:
62
- - `ma ...` means "run a helper command in the terminal"
63
- - `$...` means "run a Meta-Architect skill inside the Codex session"
84
+ Expected result:
85
+ - `.omx/evidence/sources.json` records validated endpoints and live-probe metadata
86
+ - `evidence_status` becomes `VERIFIED`, `PARTIAL`, or `MISSING`
64
87
 
65
- Important:
66
- - `ma setup` and `ma init` currently do the same thing
67
- - they only create local support files
68
- - they do not replace the in-session skill flow
88
+ ## `$flow`
69
89
 
70
- ## Installed support bundle
90
+ Canonical trigger inside Codex:
91
+ - `$flow`
71
92
 
72
- Meta-Architect also installs a standard packaged support bundle for relevant files.
93
+ Purpose:
94
+ - review logic, state transitions, and blockers
95
+ - stop early if architecture or evidence prerequisites are not ready
73
96
 
74
- Default path:
97
+ Scripted helper path:
75
98
 
76
- ```text
77
- ~/.codex/meta-architect-sdk/
99
+ ```bash
100
+ ma run '$flow'
78
101
  ```
79
102
 
80
- Use:
103
+ Expected result:
104
+ - `.omx/decisions.json` records the logic review
105
+ - `logic_status` becomes `GREEN` or `RED`
106
+
107
+ ## `$vet`
108
+
109
+ Canonical trigger inside Codex:
110
+ - `$vet`
111
+
112
+ Purpose:
113
+ - review security posture, dependency risk, and release-sensitive findings
114
+
115
+ Scripted helper path:
81
116
 
82
117
  ```bash
83
- ma sdk-path
118
+ ma run '$vet'
84
119
  ```
85
120
 
86
- when you want the exact active path.
121
+ Expected result:
122
+ - `.omx/evidence/audits.json` and `.omx/evidence/cves.json` are updated
123
+ - `security_status` becomes `GREEN` or `RED`
87
124
 
88
- Relevant packaged assets there include:
89
- - `mcp/`
90
- - `sprint/`
91
- - `prompts/`
92
- - `scripts/`
93
- - `plugins/meta-architect/`
94
- - `templates/`
125
+ ## `$vibe`
95
126
 
96
- This exists so Meta-Architect can use relevant packaged files without guessing paths.
127
+ Canonical trigger inside Codex:
128
+ - `$vibe`
97
129
 
98
- ## Shared output contract
130
+ Purpose:
131
+ - review developer experience and user experience before build planning
99
132
 
100
- Every skill result must include:
101
- - `decision`
102
- - `status`
103
- - `evidence`
104
- - `blockers`
105
- - `next_allowed_triggers`
133
+ Scripted helper path:
134
+
135
+ ```bash
136
+ ma run '$vibe'
137
+ ma run '$vibe' --waive --reason "Accepted for this release line"
138
+ ```
139
+
140
+ Expected result:
141
+ - `.omx/evidence/outcomes.json` is updated
142
+ - `experience_status` becomes `GREEN`, `RED`, or `WAIVED`
143
+
144
+ ## `$build`
145
+
146
+ Canonical trigger inside Codex:
147
+ - `$build`
148
+
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
163
+
164
+ ## Helper commands
106
165
 
107
- ## Status ownership
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`
108
174
 
109
- - project brief -> architecture input
110
- - `$arch` -> `architecture_status`
111
- - `$sage` -> `evidence_status`
112
- - `$flow` -> `logic_status`
113
- - `$vet` -> `security_status`
114
- - `$vibe` -> `experience_status`
115
- - `$build` -> `build_status`
175
+ These helpers support the runtime. They do not replace the Codex-hosted skill workflow.
116
176
 
117
- ## Operator note
177
+ ## Related surfaces
118
178
 
119
- 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.
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)
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "0.1.0",
2
+ "schemaVersion": "1.0.0",
3
3
  "collections": {
4
4
  "arch": [
5
5
  "meta-list",
package/mcp/fallback.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "schemaVersion": "0.1.0",
2
+ "schemaVersion": "1.0.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": "0.1.0",
2
+ "schemaVersion": "1.0.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.4",
4
- "description": "Codex-native skills system for architecture, evidence, review, and gated build guidance.",
3
+ "version": "0.1.5",
4
+ "description": "Codex-native runtime layer for architecture, evidence, security, DX, and build workflows.",
5
5
  "license": "MIT",
6
6
  "author": "JustineDevs",
7
7
  "homepage": "https://github.com/JustineDevs/meta-architect#readme",
@@ -15,32 +15,33 @@
15
15
  "keywords": [
16
16
  "meta-architect",
17
17
  "codex",
18
+ "codex-native",
18
19
  "skills",
19
20
  "mcp",
20
21
  "gitmcp",
21
22
  "ai",
22
23
  "agent",
23
24
  "orchestration",
24
- "plugin",
25
- "workflow-system"
25
+ "cli",
26
+ "developer-tools"
26
27
  ],
27
28
  "type": "module",
28
29
  "main": "index.js",
29
30
  "bin": {
30
- "meta-architect": "bin/ma.js",
31
- "ma": "bin/ma.js"
31
+ "meta-architect": "bin/meta-architect.js",
32
+ "ma": "bin/meta-architect.js"
32
33
  },
33
34
  "files": [
34
35
  "bin/",
35
36
  "src/",
36
37
  ".codex/",
37
- ".agents/plugins/",
38
38
  "mcp/",
39
- "plugins/",
40
- "templates/",
39
+ "prompts/",
41
40
  "sprint/",
41
+ "templates/",
42
42
  "skills/",
43
43
  "docs/",
44
+ "plugins/",
44
45
  "scripts/",
45
46
  "index.js",
46
47
  "README.md",
@@ -55,21 +56,17 @@
55
56
  },
56
57
  "scripts": {
57
58
  "prepare": "husky",
58
- "postinstall": "node ./scripts/postinstall.js",
59
+ "release": "npm publish --access public",
59
60
  "test": "node --test",
60
61
  "status": "node ./bin/ma.js status",
61
62
  "build:gate": "node ./bin/ma.js run '$build'",
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",
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",
67
66
  "skills:manifest": "node ./scripts/skills-manifest.js",
68
67
  "skills:validate": "node ./scripts/skills-validate.js",
69
68
  "skills:install": "node ./scripts/skills-install.js",
70
69
  "skills:pack": "node ./scripts/skills-pack.js",
71
- "plugin:sync": "node ./scripts/plugin-sync.js",
72
- "plugin:verify": "node ./scripts/plugin-sync.js --check",
73
70
  "pack:inspect": "npm pack --dry-run --ignore-scripts --cache ./.npm-cache",
74
71
  "doctor": "node ./scripts/doctor.js",
75
72
  "lint": "biome lint .",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "meta-architect",
3
3
  "displayName": "Meta-Architect",
4
- "version": "0.1.4",
4
+ "version": "0.1.0",
5
5
  "description": "Programmatic architecture and verified engineering skills for Codex-native workflows.",
6
6
  "entry": "./README.md",
7
7
  "skillsDir": "./skills"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-architect",
3
- "version": "0.1.4",
3
+ "version": "0.1.0",
4
4
  "collections": [
5
5
  "sindresorhus/awesome",
6
6
  "dzharii/awesome-typescript",
@@ -1,11 +1,10 @@
1
1
  # Meta-Architect Plugin Bundle
2
2
 
3
- This plugin bundle packages the Meta-Architect skill surfaces for consumers that want an installable plugin-style distribution instead of working directly from the source repository.
3
+ This plugin bundle packages the Meta-Architect Codex-native skill surface.
4
4
 
5
5
  ## What the plugin contains
6
6
 
7
7
  - plugin metadata:
8
- - `.codex-plugin/plugin.json`
9
8
  - `.app.json`
10
9
  - `.mcp.json`
11
10
  - bundled Meta-Architect skill surfaces under `skills/`
@@ -18,7 +17,7 @@ This plugin is **not** the full source repository.
18
17
  It does not attempt to ship:
19
18
  - repository `.github/` workflows
20
19
  - contributor-facing repo templates
21
- - local runtime `.ma` state
20
+ - local runtime `.omx` state
22
21
  - every source file in the repository
23
22
  - the entire release engineering toolchain
24
23
 
@@ -38,30 +37,20 @@ Plugin bundle contains:
38
37
  - the installable skill-facing product layer
39
38
  - plugin metadata that describes the bundle to consumers
40
39
 
41
- Use the core repo when you want to develop Meta-Architect itself. Use the plugin bundle when you want to consume the packaged skill surface.
40
+ Use the core repo when you want to develop Meta-Architect itself. Use the plugin bundle when you
41
+ want the packaged Codex runtime layer.
42
42
 
43
43
  ## Install and use
44
44
 
45
- The plugin-facing bundle should be consumed alongside the repository’s documented packaging/install flow.
45
+ The plugin-facing bundle is meant to be consumed alongside the Codex-hosted runtime flow.
46
46
 
47
- Canonical package/runtime path:
47
+ Primary runtime posture:
48
48
 
49
49
  ```bash
50
- # Install
51
- npm i -g @openai/codex@latest @jstn-sdk/ma@latest
52
-
53
- # Launch
50
+ npm i -g @openai/codex @jstn-sdk/ma
54
51
  ma --madmax --high
55
-
56
- # Remove Meta-Architect only
57
- npm uninstall -g @jstn-sdk/ma
58
-
59
- # Remove Meta-Architect and Codex
60
- npm uninstall -g @jstn-sdk/ma @openai/codex
61
52
  ```
62
53
 
63
- Use the plugin bundle when you need installable skill metadata or local marketplace discovery. Use the package and Codex skill flow when you want the full Meta-Architect product experience.
64
-
65
54
  Primary related surfaces:
66
55
  - [docs/skills-publishing.md](../../docs/skills-publishing.md)
67
56
  - [skills/](../../skills/)
@@ -70,9 +59,7 @@ If you are working from the repository directly, validate and package with:
70
59
 
71
60
  ```bash
72
61
  npm run skills:manifest
73
- npm run plugin:sync
74
62
  npm run skills:validate
75
- npm run plugin:verify
76
63
  npm run skills:pack
77
64
  npm run skills:install -- --path ./dist/installed-skills
78
65
  ```
@@ -80,6 +67,7 @@ npm run skills:install -- --path ./dist/installed-skills
80
67
  Consumer expectation:
81
68
  - the plugin ships the same public skill contracts as the canonical `skills/` directory
82
69
  - it does not define a looser or simplified product contract
70
+ - the main operating surface remains runtime skill tags inside Codex
83
71
 
84
72
  ## MCP wiring expectations
85
73
 
@@ -97,7 +85,7 @@ Do not assume the plugin alone provides a fully wired live MCP environment.
97
85
  When consuming the plugin:
98
86
  - use committed `skills/` content as the contract source
99
87
  - validate installed skill folders
100
- - do not treat local runtime `.ma` state as part of the distributable plugin
88
+ - do not treat local runtime `.omx` state as part of the distributable plugin
101
89
  - preserve the gate/evidence semantics documented in the repo
102
90
 
103
91
  ## Version and release relation
@@ -105,7 +93,7 @@ When consuming the plugin:
105
93
  The plugin version should track the release scope of the core repo.
106
94
 
107
95
  For this repository:
108
- - plugin scope is aligned to Meta-Architect `v0.1.4`
96
+ - plugin scope is aligned to Meta-Architect `v0.1.5`
109
97
  - any breaking contract change should be versioned intentionally
110
98
 
111
99
  The plugin is one distribution surface of the same product, not a separate product line.
@@ -117,5 +105,4 @@ The plugin is one distribution surface of the same product, not a separate produ
117
105
  - [docs/skills-publishing.md](../../docs/skills-publishing.md)
118
106
  - [docs/mcp-setup.md](../../docs/mcp-setup.md)
119
107
  - [.app.json](./.app.json)
120
- - [.codex-plugin/plugin.json](./.codex-plugin/plugin.json)
121
108
  - [.mcp.json](./.mcp.json)
@@ -1,30 +1,36 @@
1
1
  ---
2
2
  name: meta-architect
3
- description: "Use when the user wants the full Meta-Architect workflow inside Codex: architecture-first planning, evidence-backed OSS selection, logic review, security review, DX/UX review, and build readiness without leaving the Codex session."
3
+ description: "Use when Codex needs the full Meta-Architect runtime layer in this repo: architecture, evidence, logic, security, experience, and build workflows operating through skill tags inside Codex. Trigger for requests about Meta-Architect orchestration, build gating, GitMCP-backed evidence, branch/worktree planning, or releasing through `development` and `prod`."
4
4
  ---
5
5
 
6
6
  # Meta-Architect
7
7
 
8
- ## Overview
8
+ Meta-Architect is the umbrella runtime skill for the Codex-hosted workflow in this repository.
9
9
 
10
- Run the full Meta-Architect workflow inside Codex. Use this skill when the user wants the gated design-and-review sequence rather than a single specialist lane.
10
+ ## Canonical runtime usage
11
11
 
12
- ## Workflow
12
+ 1. Install `@openai/codex` and `meta-architect`
13
+ 2. Launch `ma --madmax --high`
14
+ 3. Operate through `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
13
15
 
14
- 1. Start with `$arch` and turn the user's goal into a concrete architecture brief.
15
- 2. Continue with `$sage` to validate core stack choices against official docs or approved repo-backed sources.
16
- 3. Run `$flow` to map states, transitions, invariants, and blockers.
17
- 4. Run `$vet` to review trust boundaries, auth, data handling, and abuse paths.
18
- 5. Run `$vibe` to review developer and user experience quality.
19
- 6. Finish with `$build` to decide whether implementation is ready, what remains blocked, and what the exact next execution step should be.
16
+ ## Secondary helper usage
20
17
 
21
- ## Rules
18
+ Use helper commands only for scripted validation, diagnostics, or repo-local maintenance:
19
+ - `ma status`
20
+ - `ma idea "..."`
21
+ - `ma run ...`
22
+ - `ma merge`
23
+ - `ma release`
24
+ - `ma doctor`
25
+ - `ma setup`
22
26
 
23
- - Stay inside Codex unless the user explicitly asks for repo-local helper commands.
24
- - Keep the workflow architecture-first. Do not jump into code before the architecture and review lanes are grounded.
25
- - Prefer official docs, upstream repos, and repo-configured GitMCP sources when validating tooling choices.
26
- - End each lane with a clear result shape: decision, evidence, blockers, and exact next trigger.
27
+ ## Expected outputs
27
28
 
28
- ## References
29
+ - appended decisions in `.omx/decisions.json`
30
+ - gate updates in `.omx/release.json`
31
+ - evidence updates under `.omx/evidence/`
32
+ - explicit blockers and next allowed triggers when work is blocked
29
33
 
30
- - For release gates and branch policy, read `references/core-release-rules.md`.
34
+ ## Contract rule
35
+
36
+ Do not treat helper commands as the primary story. The primary story is always the Codex session launched with `ma --madmax --high`.
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: meta-architect-arch
3
+ description: "Use when Codex needs to run or explain the Meta-Architect `$arch` lane for architecture, stack rationale, subsystem layout, and blueprint decisions. Trigger for requests about architecture design inside a Meta-Architect-managed repo or for producing the first design artifact after the idea is captured."
4
+ ---
5
+
6
+ # Meta-Architect Arch
7
+
8
+ Use `$arch` inside the Codex-hosted Meta-Architect runtime to produce the first architecture blueprint.
9
+
10
+ ## Canonical trigger
11
+
12
+ - `$arch`
13
+
14
+ ## Secondary helper path
15
+
16
+ ```bash
17
+ ma idea "Build a fintech operations dashboard"
18
+ ma run '$arch'
19
+ ```
20
+
21
+ ## Expected result
22
+
23
+ - architecture decision appended to `.omx/decisions.json`
24
+ - `architecture_status = APPROVED` in `.omx/release.json`
@@ -0,0 +1,25 @@
1
+ ---
2
+ name: meta-architect-build
3
+ description: "Use when Codex needs to run or inspect the Meta-Architect `$build` lane for gate evaluation, branch suggestions, worktree planning, and build readiness. Trigger for requests about whether the build is unlocked, which gate is blocking, or what feature branches and worktree commands should be used next."
4
+ ---
5
+
6
+ # Meta-Architect Build
7
+
8
+ Use `$build` inside the Codex-hosted Meta-Architect runtime to evaluate gate readiness and prepare bounded implementation work.
9
+
10
+ ## Canonical trigger
11
+
12
+ - `$build`
13
+
14
+ ## Secondary helper path
15
+
16
+ ```bash
17
+ ma status
18
+ ma run '$build'
19
+ ```
20
+
21
+ ## Expected result
22
+
23
+ - blocked builds explain the exact gate failures
24
+ - ready builds set `build_status = READY`
25
+ - suggested `feature/*` branches and optional worktree commands are printed
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: meta-architect-flow
3
+ description: "Use when Codex needs to run or inspect the Meta-Architect `$flow` lane for business logic, state transitions, and blockers. Trigger for requests about logic maps, dead ends, state validation, or whether the workflow is ready to proceed to security review."
4
+ ---
5
+
6
+ # Meta-Architect Flow
7
+
8
+ Use `$flow` inside the Codex-hosted Meta-Architect runtime to review logic, state transitions, and blockers.
9
+
10
+ ## Canonical trigger
11
+
12
+ - `$flow`
13
+
14
+ ## Secondary helper path
15
+
16
+ ```bash
17
+ ma run '$flow'
18
+ ```
19
+
20
+ ## Expected result
21
+
22
+ - logic review appended to `.omx/decisions.json`
23
+ - `logic_status` becomes `GREEN` or `RED`
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: meta-architect-sage
3
+ description: "Use when Codex needs to run or inspect the Meta-Architect `$sage` lane for OSS evidence binding through GitMCP and MCP. Trigger for requests about verifying repos, collecting evidence from configured GitMCP endpoints, or checking whether a recommendation is VERIFIED, PARTIAL, or MISSING."
4
+ ---
5
+
6
+ # Meta-Architect Sage
7
+
8
+ Use `$sage` inside the Codex-hosted Meta-Architect runtime to bind architecture choices to approved GitMCP evidence.
9
+
10
+ ## Canonical trigger
11
+
12
+ - `$sage`
13
+
14
+ ## Secondary helper path
15
+
16
+ ```bash
17
+ ma run '$sage'
18
+ ```
19
+
20
+ ## Expected result
21
+
22
+ - `.omx/evidence/sources.json` records validated endpoints and live-probe metadata
23
+ - `evidence_status` moves to `VERIFIED`, `PARTIAL`, or `MISSING`
@@ -0,0 +1,23 @@
1
+ ---
2
+ name: meta-architect-vet
3
+ description: "Use when Codex needs to run or inspect the Meta-Architect `$vet` lane for security review, risk logging, and CVE-style findings. Trigger for requests about security posture, safer alternatives, audit evidence, or whether the build should stay blocked on security grounds."
4
+ ---
5
+
6
+ # Meta-Architect Vet
7
+
8
+ Use `$vet` inside the Codex-hosted Meta-Architect runtime to review security posture and release-sensitive findings.
9
+
10
+ ## Canonical trigger
11
+
12
+ - `$vet`
13
+
14
+ ## Secondary helper path
15
+
16
+ ```bash
17
+ ma run '$vet'
18
+ ```
19
+
20
+ ## Expected result
21
+
22
+ - `.omx/evidence/audits.json` and `.omx/evidence/cves.json` are updated
23
+ - `security_status` becomes `GREEN` or `RED`