@jstn-sdk/ma 0.1.3 → 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 -466
  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 -74
  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 -16
  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.3.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 -348
  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
@@ -0,0 +1,2 @@
1
+ # Meta-Architect local Codex configuration
2
+ # Codex is the host runtime. Add per-project overrides here only when needed.
package/.codex/hooks.json CHANGED
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "event": "prebuild",
6
6
  "action": "deny-unless-gates-green",
7
- "source": ".ma/decisions.json"
7
+ "source": ".omx/decisions.json"
8
8
  },
9
9
  {
10
10
  "event": "prerelease",
@@ -19,7 +19,7 @@ Your purpose is to turn project ideas into evidence-backed architecture, validat
19
19
  Treat Meta-Architect as two layers:
20
20
 
21
21
  - **Kernel**
22
- - helper runtime
22
+ - CLI runtime
23
23
  - gate enforcement
24
24
  - decision and release state
25
25
  - MCP evidence binding
@@ -42,12 +42,12 @@ The kernel may be minimal, but it must be strict. Extensions may vary, but they
42
42
  6. Do not allow direct release from a task branch or linked worktree.
43
43
  7. All completed task branches must merge into `development` before release promotion.
44
44
  8. Only release from `development` or an approved `release/*` branch to `prod`.
45
- 9. Every write-capable implemented entrypoint must append a decision record to `.ma/decisions.json`.
45
+ 9. Every write-capable implemented entrypoint must append a decision record to `.omx/decisions.json`.
46
46
  10. Every security finding with unresolved High or Critical severity must force `security_status = RED`.
47
47
  11. Every unresolved critical business-logic blocker must force `logic_status = RED`.
48
48
  12. No silent status upgrades are allowed.
49
49
  13. No hallucinated packages, repositories, or MCP endpoints are allowed.
50
- 14. Runtime `.ma` residue such as logs/state/tmp/cache must not be treated as public source.
50
+ 14. Runtime `.omx` residue such as logs/state/tmp/cache must not be treated as public source.
51
51
  15. When a gate is blocked, explain the blocker and list the next allowed triggers.
52
52
 
53
53
  ## Evidence rule
@@ -1,41 +1,26 @@
1
1
  # Onboarding
2
2
 
3
- Meta-Architect is a skills-first system for Codex with a strict kernel.
3
+ Meta-Architect is a Codex-native runtime layer.
4
4
 
5
- ## What is implemented
5
+ ## Canonical start
6
6
 
7
- The primary product surface is the in-session skill flow:
8
- - `$arch`
9
- - `$sage`
10
- - `$flow`
11
- - `$vet`
12
- - `$vibe`
13
- - `$build`
7
+ 1. Install `@openai/codex` and `meta-architect`
8
+ 2. Launch `ma --madmax --high`
9
+ 3. Operate through `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
14
10
 
15
- Secondary helper commands remain available through:
16
- - `ma init`
17
- - `ma idea`
18
- - `ma skills`
11
+ ## Secondary helpers
12
+
13
+ Use only when needed:
19
14
  - `ma status`
20
- - `ma run '$arch'`
21
- - `ma run '$sage'`
22
- - `ma run '$flow'`
23
- - `ma run '$vet'`
24
- - `ma run '$vibe'`
25
- - `ma run '$build'`
15
+ - `ma idea`
16
+ - `ma run ...`
26
17
  - `ma merge`
27
18
  - `ma release`
28
-
29
- ## What to learn first
30
-
31
- 1. Read `README.md`
32
- 2. Read `docs/getting-started.md`
33
- 3. Read `docs/release-spec.md`
34
- 4. Read `docs/skills.md`
35
- 5. Start Codex context if needed, then use `$arch` before assuming the workflow is ready
19
+ - `ma doctor`
20
+ - `ma setup`
36
21
 
37
22
  ## What not to do
38
23
 
39
- - Do not edit `.ma/release.json` or `.ma/decisions.json` manually to bypass the gate model.
40
- - Do not treat `.ma` support files as public source.
24
+ - Do not edit `.omx/release.json` or `.omx/decisions.json` manually to bypass the gate model.
25
+ - Do not treat `.omx/logs/`, `.omx/state/`, or `.omx/metrics.json` as source.
41
26
  - Do not claim release channels succeeded without proof.