@jstn-sdk/ma 0.1.11 → 0.1.12

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 (133) hide show
  1. package/.agents/plugins/marketplace.json +0 -0
  2. package/README.md +136 -29
  3. package/bin/ma.js +23 -67
  4. package/docs/README.md +4 -1
  5. package/docs/assets/image/Screenshot(1).png +0 -0
  6. package/docs/assets/image/Screenshot(2).png +0 -0
  7. package/docs/assets/image/Screenshot(3).png +0 -0
  8. package/docs/assets/image/Screenshot(4).png +0 -0
  9. package/docs/assets/image/Screenshot(5).png +0 -0
  10. package/docs/assets/image/Screenshot(6).png +0 -0
  11. package/docs/assets/image/Screenshot(7).png +0 -0
  12. package/docs/assets/image/Screenshot(8).png +0 -0
  13. package/docs/assets/image/Screenshot(9).png +0 -0
  14. package/docs/assets/meta-architect-logo.png +0 -0
  15. package/docs/assets/meta-architect-logo.svg +0 -0
  16. package/docs/getting-started.md +74 -19
  17. package/docs/installed-sdk.md +23 -0
  18. package/docs/mcp-setup.md +30 -1
  19. package/docs/qa/{release-readiness-0.1.11.md → release-readiness-0.1.12.md} +29 -8
  20. package/docs/qa/release-readiness-0.1.5.md +0 -0
  21. package/docs/reference/native-engineering-patterns.md +35 -0
  22. package/docs/reference/native-security-playbooks.md +21 -0
  23. package/docs/reference/native-source-selection.md +21 -0
  24. package/docs/reference/native-style-and-deslop.md +20 -0
  25. package/docs/release-spec.md +21 -10
  26. package/docs/skills-publishing.md +25 -1
  27. package/docs/skills.md +24 -12
  28. package/mcp/local/code-intel.js +113 -0
  29. package/mcp/local/memory.js +46 -0
  30. package/mcp/local/playbooks.js +168 -0
  31. package/mcp/local/state.js +71 -0
  32. package/mcp/local/team-run.js +66 -0
  33. package/mcp/local/trace.js +60 -0
  34. package/mcp/local-capabilities.json +56 -0
  35. package/mcp/native-playbooks.json +117 -0
  36. package/mcp/servers.json +10 -0
  37. package/package.json +4 -1
  38. package/plugins/meta-architect/.app.json +1 -1
  39. package/plugins/meta-architect/.codex-plugin/plugin.json +4 -4
  40. package/plugins/meta-architect/.mcp.json +1 -1
  41. package/plugins/meta-architect/README.md +27 -1
  42. package/plugins/meta-architect/skills/align/SKILL.md +24 -0
  43. package/plugins/meta-architect/skills/align/agents/openai.yaml +4 -0
  44. package/plugins/meta-architect/skills/align/references/shared-language.md +24 -0
  45. package/plugins/meta-architect/skills/arch/SKILL.md +0 -0
  46. package/plugins/meta-architect/skills/arch/agents/openai.yaml +0 -0
  47. package/plugins/meta-architect/skills/build/SKILL.md +0 -0
  48. package/plugins/meta-architect/skills/build/agents/openai.yaml +0 -0
  49. package/plugins/meta-architect/skills/cleanup/SKILL.md +23 -0
  50. package/plugins/meta-architect/skills/cleanup/agents/openai.yaml +4 -0
  51. package/plugins/meta-architect/skills/cleanup/references/style-and-deslop.md +18 -0
  52. package/plugins/meta-architect/skills/diagnose/SKILL.md +24 -0
  53. package/plugins/meta-architect/skills/diagnose/agents/openai.yaml +4 -0
  54. package/plugins/meta-architect/skills/flow/SKILL.md +0 -0
  55. package/plugins/meta-architect/skills/flow/agents/openai.yaml +0 -0
  56. package/plugins/meta-architect/skills/maestro/SKILL.md +36 -3
  57. package/plugins/meta-architect/skills/maestro/agents/openai.yaml +2 -2
  58. package/plugins/meta-architect/skills/{meta-architect → maestro}/references/core-release-rules.md +0 -0
  59. package/plugins/meta-architect/skills/maestro/references/native-ingest-map.md +44 -0
  60. package/plugins/meta-architect/skills/sage/SKILL.md +3 -1
  61. package/plugins/meta-architect/skills/sage/agents/openai.yaml +0 -0
  62. package/plugins/meta-architect/skills/sage/references/source-selection.md +28 -0
  63. package/plugins/meta-architect/skills/tdd/SKILL.md +24 -0
  64. package/plugins/meta-architect/skills/tdd/agents/openai.yaml +4 -0
  65. package/plugins/meta-architect/skills/vet/SKILL.md +3 -1
  66. package/plugins/meta-architect/skills/vet/agents/openai.yaml +0 -0
  67. package/plugins/meta-architect/skills/vet/references/security-playbooks.md +23 -0
  68. package/plugins/meta-architect/skills/vibe/SKILL.md +0 -0
  69. package/plugins/meta-architect/skills/vibe/agents/openai.yaml +0 -0
  70. package/scripts/biome-staged.js +0 -0
  71. package/scripts/build-linux-packages.mjs +328 -0
  72. package/scripts/doctor.js +19 -0
  73. package/scripts/linux-package-lib.mjs +40 -0
  74. package/scripts/linux-package-smoke.mjs +103 -0
  75. package/scripts/plugin-sync.js +0 -0
  76. package/scripts/postinstall.js +0 -0
  77. package/scripts/release-metadata.js +0 -0
  78. package/scripts/release-sync.js +13 -6
  79. package/scripts/release-verify.js +0 -0
  80. package/scripts/setup-npmrc.js +0 -0
  81. package/skills/align/SKILL.md +24 -0
  82. package/skills/align/agents/openai.yaml +4 -0
  83. package/skills/align/references/shared-language.md +24 -0
  84. package/skills/arch/SKILL.md +0 -0
  85. package/skills/arch/agents/openai.yaml +0 -0
  86. package/skills/build/SKILL.md +0 -0
  87. package/skills/build/agents/openai.yaml +0 -0
  88. package/skills/cleanup/SKILL.md +23 -0
  89. package/skills/cleanup/agents/openai.yaml +4 -0
  90. package/skills/cleanup/references/style-and-deslop.md +18 -0
  91. package/skills/diagnose/SKILL.md +24 -0
  92. package/skills/diagnose/agents/openai.yaml +4 -0
  93. package/skills/flow/SKILL.md +0 -0
  94. package/skills/flow/agents/openai.yaml +0 -0
  95. package/skills/index.json +21 -6
  96. package/skills/maestro/SKILL.md +36 -3
  97. package/skills/maestro/agents/openai.yaml +2 -2
  98. package/skills/{meta-architect → maestro}/references/core-release-rules.md +0 -0
  99. package/skills/maestro/references/native-ingest-map.md +44 -0
  100. package/skills/sage/SKILL.md +3 -1
  101. package/skills/sage/agents/openai.yaml +0 -0
  102. package/skills/sage/references/source-selection.md +28 -0
  103. package/skills/tdd/SKILL.md +24 -0
  104. package/skills/tdd/agents/openai.yaml +4 -0
  105. package/skills/vet/SKILL.md +3 -1
  106. package/skills/vet/agents/openai.yaml +0 -0
  107. package/skills/vet/references/security-playbooks.md +23 -0
  108. package/skills/vibe/SKILL.md +0 -0
  109. package/skills/vibe/agents/openai.yaml +0 -0
  110. package/src/bootstrap.js +124 -24
  111. package/src/decision-log.js +12 -9
  112. package/src/launcher.js +0 -0
  113. package/src/mcp-config.js +130 -8
  114. package/src/mcp-live-client.js +1 -1
  115. package/src/paths.js +33 -1
  116. package/src/release-state.js +30 -1
  117. package/src/runtime/build-readiness.js +38 -0
  118. package/src/runtime/continuity-notes.js +79 -0
  119. package/src/runtime/guidance-stack.js +42 -0
  120. package/src/runtime/maestro-manager.js +586 -0
  121. package/src/runtime/orchestrator.js +158 -0
  122. package/src/runtime/runtime-state.js +382 -0
  123. package/src/runtime/signal-hooks.js +52 -0
  124. package/src/runtime/startup-path.js +14 -0
  125. package/src/runtime/workspaces.js +25 -0
  126. package/src/runtime-artifacts.js +190 -30
  127. package/src/skill-installer.js +53 -5
  128. package/src/skills.js +633 -49
  129. package/src/state-sync.js +51 -8
  130. package/plugins/meta-architect/skills/meta-architect/SKILL.md +0 -32
  131. package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +0 -4
  132. package/skills/meta-architect/SKILL.md +0 -32
  133. package/skills/meta-architect/agents/openai.yaml +0 -4
@@ -20,9 +20,27 @@ By the end of this guide you should be able to:
20
20
  - an MCP-capable runtime
21
21
  - network access if you want live `$sage` verification against a real GitMCP server
22
22
 
23
- ## 1. Canonical install and launch
23
+ ## 1. Default install and launch
24
24
 
25
- Canonical public install:
25
+ Debian-family install:
26
+
27
+ ```bash
28
+ sudo apt install ./meta-architect_<version>_all.deb
29
+ ```
30
+
31
+ Arch-family install:
32
+
33
+ ```bash
34
+ sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
35
+ ```
36
+
37
+ Fedora/openSUSE install:
38
+
39
+ ```bash
40
+ sudo dnf install ./meta-architect-<version>-1.noarch.rpm
41
+ ```
42
+
43
+ Default supported npm fallback:
26
44
 
27
45
  ```bash
28
46
  # Install
@@ -38,11 +56,11 @@ npm uninstall -g @jstn-sdk/ma
38
56
  npm uninstall -g @jstn-sdk/ma @openai/codex
39
57
  ```
40
58
 
41
- That is the default product path. The product experience is the in-session skill workflow in [example/usage-workflow.md](../example/usage-workflow.md). The `ma` command is only a helper for starting or supporting that flow.
59
+ Linux-native distro packages are the default install surface. The npm path remains a supported fallback. The product experience is still the in-session skill workflow in [example/usage-workflow.md](../example/usage-workflow.md). The `ma` command is only a helper for starting or supporting that flow.
42
60
 
43
61
  ## 2. Real usage workflow
44
62
 
45
- Start with the structured `$arch` prompt:
63
+ Start with `$maestro` when you want the bounded autonomous manager to inspect the workflow state and choose the next step. Start with the structured `$arch` prompt when you already know architecture is the next gated lane:
46
64
 
47
65
  ```text
48
66
  $arch I want to build: [PROJECT IDEA]
@@ -74,7 +92,7 @@ Required output:
74
92
  5. Data model and storage choices
75
93
  6. Auth/security considerations
76
94
  7. DX/UX considerations
77
- 8. Delivery plan for v0.1.11
95
+ 8. Delivery plan for v0.1.12
78
96
  9. Risks and trade-offs
79
97
  10. Decision log
80
98
  11. Exact next trigger to run after this
@@ -92,6 +110,17 @@ $build
92
110
 
93
111
  Use the full prompt blocks from [example/usage-workflow.md](../example/usage-workflow.md) when you want the exact handoff format between lanes.
94
112
 
113
+ Optional helper skills around that path:
114
+
115
+ ```text
116
+ $align
117
+ $diagnose
118
+ $tdd
119
+ $cleanup
120
+ ```
121
+
122
+ These helpers are publishable skills, but they do not change gate ownership, move release states, or replace the fixed release sequence.
123
+
95
124
  ## 3. Contributor clone and link
96
125
 
97
126
  ```bash
@@ -150,6 +179,8 @@ Meta-Architect works in two simple ways:
150
179
  - terminal commands
151
180
  - in-session skills
152
181
 
182
+ The umbrella in-session entry point is `$maestro`. The package does not ship a separate `$meta-architect` skill surface.
183
+
153
184
  Terminal commands are normal shell commands:
154
185
 
155
186
  ```bash
@@ -170,12 +201,22 @@ $flow
170
201
  $vet
171
202
  $vibe
172
203
  $build
204
+ $align
205
+ $diagnose
206
+ $tdd
207
+ $cleanup
173
208
  ```
174
209
 
175
210
  Easy rule:
176
211
  - `ma ...` = terminal helper command
177
212
  - `$...` = in-session skill
178
213
 
214
+ Contract split:
215
+ - terminal helper commands support setup, local state, and scripted verification
216
+ - in-session skills are the product workflow surface
217
+ - `$maestro` is the only umbrella surface inside the session
218
+ - `$align`, `$diagnose`, `$tdd`, and `$cleanup` stay publishable but non-gating
219
+
179
220
  `ma setup` and `ma init` currently do the same thing:
180
221
  - they create local `.ma/` support files
181
222
  - they prepare context, specs, plans, evidence, and runbook files
@@ -205,16 +246,16 @@ Minimum live example:
205
246
 
206
247
  ```json
207
248
  {
208
- "category": "meta-list",
209
- "repo": "sindresorhus/awesome",
210
- "endpoint": "https://gitmcp.io/sindresorhus/awesome"
249
+ "category": "candidate",
250
+ "repo": "owner/repo",
251
+ "endpoint": "https://gitmcp.io/owner/repo"
211
252
  }
212
253
  ```
213
254
 
214
- Recommended first set:
215
- - `sindresorhus/awesome`
216
- - `dzharii/awesome-typescript`
217
- - `sbilly/awesome-security`
255
+ Recommended source-selection posture:
256
+ - use the packaged native references to narrow candidate families first
257
+ - map serious candidates to exact upstream GitMCP repo endpoints
258
+ - verify final choices against upstream repos and official docs before treating them as approved evidence
218
259
 
219
260
  Core discovery standard:
220
261
  - use `https://ossium.live/home` to find trending OSS, curated repos, YC-backed repos, GSoC orgs, and contribution leads faster than browsing GitHub directly
@@ -225,6 +266,11 @@ Core discovery standard:
225
266
  - use `https://www.opensourceprojects.dev/` to inspect curated OSS selections and detailed project writeups
226
267
  - move any promising discovery result into `mcp/servers.json` as an exact upstream GitMCP repo endpoint before treating it as VERIFIED evidence
227
268
 
269
+ Useful native reference packs:
270
+ - `skills/maestro/references/native-ingest-map.md`
271
+ - `skills/sage/references/source-selection.md`
272
+ - `skills/vet/references/security-playbooks.md`
273
+
228
274
  Canonical `$sage` order:
229
275
  - known upstream repo/docs first
230
276
  - discovery accelerators second
@@ -249,7 +295,7 @@ If this fails:
249
295
 
250
296
  ## 7. Run the helper skill sequence
251
297
 
252
- ### 5.0 Workflow manager
298
+ ### 5.0 Autonomous manager
253
299
 
254
300
  ```bash
255
301
  ma run '$maestro'
@@ -257,7 +303,10 @@ ma run '$maestro'
257
303
 
258
304
  Expected effects:
259
305
  - reads the current gate state
260
- - recommends the best next step
306
+ - acts as the bounded umbrella in-session workflow manager
307
+ - recommends the best next step or lane assignment
308
+ - can hand work to a publishable non-gating helper skill when that is enough
309
+ - does not move release gates by itself
261
310
  - writes `.ma/plans/maestro.md`
262
311
  - records an advisory decision entry
263
312
 
@@ -265,6 +314,12 @@ Generated or updated:
265
314
  - `.ma/decisions.json`
266
315
  - `.ma/plans/maestro.md`
267
316
 
317
+ Optional non-gating helper skills that can run before or between gated lanes:
318
+ - `$align` for scope/language cleanup
319
+ - `$diagnose` for blocked-lane triage
320
+ - `$tdd` for regression-first execution setup
321
+ - `$cleanup` for simplification and final-pass polish
322
+
268
323
  ### 5.1 Architecture
269
324
 
270
325
  ```bash
@@ -395,11 +450,11 @@ Expected output shape:
395
450
  ```text
396
451
  Build gate is green.
397
452
  Suggested branches:
398
- - feature/ui
399
- - feature/api
453
+ - feature/implementation
454
+ - feature/verification
400
455
  Optional worktree commands:
401
- git worktree add ../ui feature/ui
402
- git worktree add ../api feature/api
456
+ git worktree add ../implementation feature/implementation
457
+ git worktree add ../verification feature/verification
403
458
  ```
404
459
 
405
460
  If `$build` fails:
@@ -430,7 +485,7 @@ What should happen:
430
485
  - `$flow` records the kernel’s baseline state review for the mission
431
486
  - `$vet` records a baseline security review
432
487
  - `$vibe` records baseline DX/UX guidance
433
- - `$build` suggests bounded concerns like `feature/ui` and `feature/api`
488
+ - `$build` suggests bounded concerns like `feature/implementation` and `feature/verification`
434
489
 
435
490
  Related mission:
436
491
  - [missions/collaborative-whiteboard/mission.md](../missions/collaborative-whiteboard/mission.md)
@@ -7,6 +7,8 @@ Meta-Architect installs two things into the active Codex home:
7
7
 
8
8
  The support bundle exists so skills and helper paths can use relevant packaged files without guessing where they live.
9
9
 
10
+ The singular umbrella in-session skill is `maestro`. It is the bounded autonomous manager for the in-session workflow, and the installed skill set does not include a separate `meta-architect` skill folder.
11
+
10
12
  ## Canonical support bundle path
11
13
 
12
14
  Default:
@@ -30,12 +32,15 @@ ma sdk-path
30
32
  ## What is installed there
31
33
 
32
34
  - `mcp/`
35
+ - `mcp/native-playbooks.json`
36
+ - `mcp/local/playbooks.js`
33
37
  - `sprint/`
34
38
  - `prompts/`
35
39
  - `scripts/`
36
40
  - `plugins/meta-architect/`
37
41
  - `templates/`
38
42
  - `docs/README.md`
43
+ - `docs/reference/` when packaged native reference packs are present
39
44
  - `asset-manifest.json`
40
45
 
41
46
  ## Why this exists
@@ -51,10 +56,28 @@ When Meta-Architect needs packaged support files, prefer the installed support b
51
56
 
52
57
  Examples:
53
58
  - MCP starter files -> `meta-architect-sdk/mcp/`
59
+ - native playbooks manifest -> `meta-architect-sdk/mcp/native-playbooks.json`
60
+ - read-only playbooks capability module -> `meta-architect-sdk/mcp/local/playbooks.js`
54
61
  - sprint references -> `meta-architect-sdk/sprint/`
55
62
  - Codex prompt assets -> `meta-architect-sdk/prompts/`
56
63
  - helper scripts -> `meta-architect-sdk/scripts/`
57
64
  - plugin metadata -> `meta-architect-sdk/plugins/meta-architect/`
58
65
  - templates -> `meta-architect-sdk/templates/`
66
+ - bundled reference packs -> `meta-architect-sdk/docs/reference/`
59
67
 
60
68
  The in-session skill flow is still primary. This bundle only standardizes packaged asset access.
69
+
70
+ Surface split:
71
+ - in-session skills consume these packaged assets as product workflow inputs
72
+ - terminal helper commands may inspect or scaffold against the same bundle, but they remain secondary support tooling
73
+ - helper skills remain publishable and installable, but they do not own release-gate transitions
74
+
75
+ ## Playbooks contract
76
+
77
+ `playbooks` is a first-party read-only local capability. Its packaged inputs live in the support bundle:
78
+
79
+ - `mcp/native-playbooks.json` is the repo-owned curation manifest
80
+ - `mcp/local/playbooks.js` is the packaged read-only resource surface
81
+ - `docs/reference/` is where bundled native reference packs land when the release includes them
82
+
83
+ Readiness should treat those assets as package-owned bundle contents, not as repo-local user setup steps or upstream mirrors.
package/docs/mcp-setup.md CHANGED
@@ -3,7 +3,29 @@
3
3
  1. Use approved discovery accelerators when you need to find OSS candidates faster than browsing GitHub directly.
4
4
  2. Add repo-specific GitMCP endpoints in `mcp/servers.json` for any project you want to treat as approved evidence.
5
5
  3. Confirm categories in `mcp/collections.json`.
6
- 4. Use `https://gitmcp.io/docs` only when no approved exact endpoint exists.
6
+ 4. Do not add `https://gitmcp.io/docs` to `mcp/servers.json`; verified evidence requires exact repo-form GitMCP endpoints only.
7
+
8
+ ## First-party local capabilities
9
+
10
+ `mcp/local-capabilities.json` is separate from `mcp/servers.json`. It is the allowlist for Meta-Architect's packaged local capabilities:
11
+
12
+ - `_state`
13
+ - `memory`
14
+ - `trace`
15
+ - `team_run`
16
+ - `code_intel`
17
+ - `playbooks`
18
+
19
+ `playbooks` is a read-only packaged capability. It does not point at external MCP servers and it does not repurpose `mcp/collections.json`.
20
+
21
+ Its contract for this release is:
22
+
23
+ - manifest: `mcp/native-playbooks.json`
24
+ - module: `mcp/local/playbooks.js`
25
+ - transport: `inproc`
26
+ - behavior: packaged resource reads only, no mutating local tools
27
+
28
+ If bootstrap or doctor reports a `playbooks` readiness warning, repair the packaged support bundle inputs rather than adding more GitMCP sources.
7
29
 
8
30
  ## Discovery vs verification
9
31
 
@@ -46,3 +68,10 @@ To move from discovery to VERIFIED evidence:
46
68
  - identify the upstream GitHub repository or official package/docs source from the discovery surface
47
69
  - map that repo to an exact `https://gitmcp.io/{owner}/{repo}` endpoint in `mcp/servers.json`
48
70
  - validate the choice against the upstream repo and official docs through `$sage`
71
+
72
+ ## Separation of concerns
73
+
74
+ - `mcp/servers.json` remains for repo-specific GitMCP evidence sources
75
+ - `mcp/collections.json` remains GitMCP-oriented evidence categorization for this release
76
+ - `mcp/local-capabilities.json` is the first-party in-process capability registry
77
+ - `mcp/native-playbooks.json` is internal native curation metadata, not an upstream mirror or user-edited evidence source list
@@ -1,30 +1,35 @@
1
- # Release Readiness 0.1.11
1
+ # Release Readiness 0.1.12
2
2
 
3
3
  ## Production bar
4
4
 
5
- `v0.1.11` is treated as production only when:
5
+ `v0.1.12` is treated as production only when:
6
6
  - the package installs cleanly from the canonical public install command
7
7
  - the Codex-hosted runtime path works end to end
8
8
  - the helper flow remains valid for scripted verification
9
- - release docs, package metadata, and workflows all agree on `0.1.11`
9
+ - the singular `$maestro` umbrella and helper-skill contract stay coherent
10
+ - release docs, package metadata, and workflows all agree on `0.1.12`
10
11
 
11
12
  Target release state:
12
- - npm package: `@jstn-sdk/ma@0.1.11`
13
+ - npm package: `@jstn-sdk/ma@0.1.12`
13
14
  - npm registry state: pending publish
14
- - publishability note: `0.1.10` is already published, so `0.1.11` is the next publishable package line
15
- - git tag: `v0.1.11`
16
- - GitHub release: pending publish for `v0.1.11`
15
+ - publishability note: this branch is prepared for the next publishable package line, `0.1.12`
16
+ - git tag: `v0.1.12`
17
+ - GitHub release: pending publish for `v0.1.12`
17
18
 
18
19
  ## Production checklist
19
20
 
20
21
  - skills-first product identity: PASS
21
22
  - package/plugin identity aligned to `@jstn-sdk/ma`: PASS
22
- - version/tag alignment `0.1.11` / `v0.1.11`: PASS
23
+ - version/tag alignment `0.1.12` / `v0.1.12`: PASS
23
24
  - install/uninstall docs aligned: PASS
24
25
  - onboarding is concise and sequential: PASS
25
26
  - helper command documented as secondary: PASS
26
27
  - skills/prompts/manifests aligned: PASS
27
28
  - packaging includes required assets: PASS
29
+ - Linux native package release lane wired: PASS
30
+ - singular `$maestro` umbrella surface: PASS
31
+ - helper skill family shipped but non-gating: PASS
32
+ - native playbooks and support-bundle reference assets aligned: PASS
28
33
  - tests pass: PASS
29
34
  - package dry-run passes: PASS
30
35
  - installed-package behavior passes: PASS
@@ -46,6 +51,20 @@ That must cover:
46
51
  - automated tests
47
52
  - npm package dry-run inspection
48
53
 
54
+ Linux-native release lane:
55
+
56
+ ```bash
57
+ npm run linux:packages:build
58
+ npm run linux:packages:smoke
59
+ npm run release:assets
60
+ ```
61
+
62
+ That should prove:
63
+ - the Debian-family, Arch-family, and Fedora/openSUSE-style package artifacts are produced
64
+ - the extracted package payload exposes a working `ma` command
65
+ - the GitHub release asset set is complete
66
+ - the packaged support bundle contains the playbooks and reference assets expected by the runtime
67
+
49
68
  ## Manual/behavioral checks run
50
69
 
51
70
  Canonical launch:
@@ -71,6 +90,8 @@ ma run '$build'
71
90
  Expected evidence:
72
91
  - `.ma/release.json` remains the source of truth
73
92
  - `.ma/decisions.json` records the helper-path activity
93
+ - `$maestro` remains the only umbrella surface
94
+ - helper skills remain non-gating
74
95
  - `$build` stays blocked until upstream gates are green, then becomes ready
75
96
 
76
97
  ## Known limitations
File without changes
@@ -0,0 +1,35 @@
1
+ # Native Engineering Patterns
2
+
3
+ Meta-Architect internalizes recurring engineering patterns as native product guidance rather than shipping upstream catalogs as first-class surfaces.
4
+
5
+ ## Helper-skill mapping
6
+
7
+ - `align`
8
+ - shared language
9
+ - ambiguity reduction
10
+ - documentation clarity
11
+ - `diagnose`
12
+ - failure slicing
13
+ - blocked-lane triage
14
+ - root-cause decomposition
15
+ - `tdd`
16
+ - regression-first execution
17
+ - failing-test-first loops
18
+ - behavior locking
19
+ - `cleanup`
20
+ - anti-slop cleanup
21
+ - prose tightening
22
+ - behavior-preserving simplification
23
+
24
+ ## Gated-lane mapping
25
+
26
+ - `$maestro`
27
+ - umbrella routing and next-step synthesis
28
+ - `$sage`
29
+ - evidence-backed selection and source quality
30
+ - `$vet`
31
+ - security and trust-boundary playbooks
32
+
33
+ ## Product rule
34
+
35
+ These patterns are Meta-Architect-native. They are not exposed as raw upstream repo identities or mirror-style catalogs.
@@ -0,0 +1,21 @@
1
+ # Native Security Playbooks
2
+
3
+ Security-oriented external patterns are absorbed into Meta-Architect as `$vet` guidance and packaged playbooks.
4
+
5
+ ## Review slices
6
+
7
+ - identity and session boundaries
8
+ - authorization and tenancy
9
+ - secret handling
10
+ - dependency and supply-chain risk
11
+ - input validation and output exposure
12
+ - abuse cases and operational failure modes
13
+
14
+ ## Routing
15
+
16
+ - `$vet` remains the only security gate
17
+ - playbooks deepen `$vet`; they do not create a second security umbrella
18
+
19
+ ## Product rule
20
+
21
+ Meta-Architect can absorb security arsenal patterns aggressively while still presenting them only as native guidance and packaged references.
@@ -0,0 +1,21 @@
1
+ # Native Source Selection
2
+
3
+ Meta-Architect uses external discovery surfaces as inputs to native source-selection guidance, not as first-class product faces.
4
+
5
+ ## Evidence ladder
6
+
7
+ 1. known upstream repo and official docs
8
+ 2. discovery accelerators for narrowing candidates
9
+ 3. exact upstream repo mapping
10
+ 4. upstream and official-doc verification before approval
11
+
12
+ ## Product rule
13
+
14
+ - discovery lists help candidate selection
15
+ - verification still depends on primary sources
16
+ - packaged references should explain the selection posture in Meta-Architect language
17
+
18
+ ## Routing
19
+
20
+ - `$sage` owns source selection and evidence quality
21
+ - helper skills can support preparation, but they do not replace `$sage`
@@ -0,0 +1,20 @@
1
+ # Native Style And Deslop
2
+
3
+ Meta-Architect treats prose cleanup and anti-slop work as helper behavior, not as a separate umbrella workflow.
4
+
5
+ ## Core rules
6
+
7
+ - prefer deletion over addition
8
+ - preserve behavior while simplifying
9
+ - remove generic AI filler from user-facing docs
10
+ - keep naming concise and Meta-Architect-native
11
+ - lock behavior with tests before cleanup when code paths are involved
12
+
13
+ ## Routing
14
+
15
+ - use `$cleanup` for final-pass simplification and prose cleanup
16
+ - return to `$maestro` or the owning gated lane after cleanup decisions are made
17
+
18
+ ## Non-goal
19
+
20
+ Do not ship raw third-party “humanizer” or “stop-slop” identities as first-class product surfaces.
@@ -1,13 +1,13 @@
1
- # v0.1.11 Requirements & Rules
1
+ # v0.1.12 Requirements & Rules
2
2
 
3
3
  ## Production definition
4
4
 
5
- Meta-Architect `v0.1.11` is production only when:
5
+ Meta-Architect `v0.1.12` is production only when:
6
6
  1. the package/install surface works
7
7
  2. the in-session skill workflow from `$arch` through `$build` works
8
8
  3. the release evidence matches the actual package and git tag
9
9
 
10
- ## What `v0.1.11` must have
10
+ ## What `v0.1.12` must have
11
11
 
12
12
  ### 1. Canonical package/runtime path
13
13
 
@@ -49,12 +49,18 @@ Canonical state files:
49
49
 
50
50
  ### 4. Required release evidence
51
51
 
52
- - `package.json` version `0.1.11`
53
- - git tag `v0.1.11`
52
+ - `package.json` version `0.1.12`
53
+ - git tag `v0.1.12`
54
54
  - `RELEASE.md`
55
55
  - `CHANGELOG.md`
56
- - `docs/qa/release-readiness-0.1.11.md`
56
+ - `docs/qa/release-readiness-0.1.12.md`
57
57
  - green `npm run release:check`
58
+ - GitHub release asset `meta-architect_0.1.12_all.deb`
59
+ - GitHub release asset `meta-architect-0.1.12-1-any.pkg.tar.xz`
60
+ - GitHub release asset `meta-architect-0.1.12-1.noarch.rpm`
61
+ - green `npm run linux:packages:build`
62
+ - green `npm run linux:packages:smoke`
63
+ - green `npm run release:assets`
58
64
 
59
65
  ### 5. Dist-tag discipline
60
66
 
@@ -72,12 +78,17 @@ Canonical state files:
72
78
  4. Update `docs/qa/release-readiness-<version>.md`
73
79
  5. Run `npm run release:verify`
74
80
  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:
81
+ 7. Build and smoke-check the Linux native packages on Linux:
82
+ - `npm run linux:packages:build`
83
+ - `npm run linux:packages:smoke`
84
+ - `npm run release:assets`
85
+ 8. Create and push tag `v<version>`
86
+ 9. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
87
+ 10. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
78
88
  - Stable publish: `npm publish --access public`
79
89
  - Prerelease publish: `npm publish --access public --tag <lane>`
80
- 10. Verify dist-tags with `npm view @jstn-sdk/ma version dist-tags time --json`
90
+ 11. Verify dist-tags with `npm view @jstn-sdk/ma version dist-tags time --json`
91
+ 12. Verify the GitHub release contains `dist/meta-architect-skills.tgz`, `meta-architect_<version>_all.deb`, `meta-architect-<version>-1-any.pkg.tar.xz`, and `meta-architect-<version>-1.noarch.rpm`
81
92
 
82
93
  ### 6.1 Release automation
83
94
 
@@ -26,6 +26,16 @@ Purpose:
26
26
 
27
27
  Do not confuse these two layers. The repo publishes `skills/`, not `.ma/`.
28
28
 
29
+ ## Published surface types
30
+
31
+ The publishable `skills/` surface contains:
32
+ - one umbrella autonomous manager: `$maestro`
33
+ - fixed gated lanes: `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
34
+ - non-gating helper skills: `$align`, `$diagnose`, `$tdd`, `$cleanup`
35
+
36
+ Only `$maestro` is the umbrella surface. Helper skills are intentionally publishable but non-gating.
37
+ The `ma` terminal helper command is part of the npm package surface, not the publishable skill contract.
38
+
29
39
  ## Canonical packaging flow
30
40
 
31
41
  ### Generate manifest
@@ -80,13 +90,19 @@ npm run skills:install -- --path ./dist/installed-skills
80
90
  Expected effect:
81
91
  - all publishable skill folders are copied to the target install path
82
92
  - install target should contain:
83
- - `meta-architect`
93
+ - `align`
94
+ - `maestro`
84
95
  - `arch`
85
96
  - `sage`
86
97
  - `flow`
98
+ - `diagnose`
99
+ - `tdd`
100
+ - `cleanup`
87
101
  - `vet`
88
102
  - `vibe`
89
103
  - `build`
104
+ - install target should not contain:
105
+ - `meta-architect`
90
106
 
91
107
  ## Expected outputs
92
108
 
@@ -97,6 +113,8 @@ Should contain:
97
113
  - skill names
98
114
  - repo-local path mapping
99
115
  - descriptions
116
+ - only native Meta-Architect skill identities
117
+ - a `maestro` description that matches the bounded autonomous-manager contract
100
118
 
101
119
  ### `dist/meta-architect-skills.tgz`
102
120
 
@@ -174,6 +192,9 @@ Relationship:
174
192
  - both should remain aligned in behavior and version intent
175
193
  - `.agents/plugins/marketplace.json` advertises the local plugin source for discovery
176
194
  - `plugins/meta-architect/.codex-plugin/plugin.json` is the plugin contract entrypoint
195
+ - the umbrella in-session entry point is `$maestro`; there is no separately shipped `$meta-architect` skill
196
+ - `$maestro` is the bounded autonomous manager, not a second terminal runtime
197
+ - helper skills remain publishable mirrors, but they do not add release gates or alternate umbrella entry points
177
198
 
178
199
  If a skill contract changes:
179
200
  1. update `skills/`
@@ -212,6 +233,9 @@ npm run pack:inspect
212
233
  Before a release is considered real:
213
234
  - `skills/index.json` must be current
214
235
  - `dist/meta-architect-skills.tgz` must exist
236
+ - `dist/meta-architect_<version>_all.deb` must exist for the Debian-family release lane
237
+ - `dist/meta-architect-<version>-1-any.pkg.tar.xz` must exist for the Arch-family release lane
238
+ - `dist/meta-architect-<version>-1.noarch.rpm` must exist for the Fedora/openSUSE-style release lane
215
239
  - install smoke test must pass
216
240
  - package inspection must be sane
217
241
  - docs must match the published behavior
package/docs/skills.md CHANGED
@@ -1,13 +1,12 @@
1
1
  # Skills
2
2
 
3
- Meta-Architect’s canonical Codex runtime surface is:
4
- - `$maestro`
5
- - `$arch`
6
- - `$sage`
7
- - `$flow`
8
- - `$vet`
9
- - `$vibe`
10
- - `$build`
3
+ Meta-Architect ships three in-session skill layers:
4
+
5
+ - umbrella autonomous manager: `$maestro`
6
+ - fixed gated lanes: `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
7
+ - non-gating helper skills: `$align`, `$diagnose`, `$tdd`, `$cleanup`
8
+
9
+ The package does not ship a separate `$meta-architect` in-session skill. `$maestro` is the umbrella contract for next-step management, bounded lane handoff, and fixed-sequence supervision.
11
10
 
12
11
  ## Real usage path
13
12
 
@@ -28,11 +27,12 @@ npm uninstall -g @jstn-sdk/ma @openai/codex
28
27
  ```
29
28
 
30
29
  Then inside the Codex session:
31
- 1. Start with `$maestro` when you want Meta-Architect to choose the best next step
30
+ 1. Start with `$maestro` when you want Meta-Architect to act as the bounded autonomous manager for the workflow
32
31
  2. Or start with `$arch` when you already know the architecture lane is next
33
32
  3. Continue through `$sage -> $flow -> $vet -> $vibe -> $build`
33
+ 4. Use `$align`, `$diagnose`, `$tdd`, or `$cleanup` only as publishable non-gating helper skills around that gated path
34
34
 
35
- ## Simple difference
35
+ ## Two surfaces
36
36
 
37
37
  Meta-Architect has two surfaces:
38
38
 
@@ -59,6 +59,10 @@ $flow
59
59
  $vet
60
60
  $vibe
61
61
  $build
62
+ $align
63
+ $diagnose
64
+ $tdd
65
+ $cleanup
62
66
  ```
63
67
 
64
68
  Short rule:
@@ -70,6 +74,11 @@ Important:
70
74
  - they only create local support files
71
75
  - they do not replace the in-session skill flow
72
76
 
77
+ Manager contract:
78
+ - `$maestro` is the only umbrella in-session surface
79
+ - `$maestro` manages the next allowed step, but gated outputs still belong to `$arch -> $sage -> $flow -> $vet -> $vibe -> $build`
80
+ - helper skills are publishable mirrors that can assist a lane, but they do not move release gates
81
+
73
82
  ## Installed support bundle
74
83
 
75
84
  Meta-Architect also installs a standard packaged support bundle for relevant files.
@@ -95,6 +104,7 @@ Relevant packaged assets there include:
95
104
  - `scripts/`
96
105
  - `plugins/meta-architect/`
97
106
  - `templates/`
107
+ - native skill references such as `skills/maestro/references/`, `skills/sage/references/`, `skills/vet/references/`, `skills/align/references/`, and `skills/cleanup/references/`
98
108
 
99
109
  This exists so Meta-Architect can use relevant packaged files without guessing paths.
100
110
 
@@ -109,7 +119,7 @@ Every skill result must include:
109
119
 
110
120
  ## Status ownership
111
121
 
112
- - `$maestro` -> next-step recommendation
122
+ - `$maestro` -> umbrella workflow management, next-step recommendation, and bounded helper/gate handoff
113
123
  - project brief -> architecture input
114
124
  - `$arch` -> `architecture_status`
115
125
  - `$sage` -> `evidence_status`
@@ -118,6 +128,8 @@ Every skill result must include:
118
128
  - `$vibe` -> `experience_status`
119
129
  - `$build` -> `build_status`
120
130
 
131
+ Helper skills do not own release-state fields. They are publishable but non-gating, so they support the current lane and then hand work back to `$maestro` or the gated lane that owns the decision.
132
+
121
133
  ## Operator note
122
134
 
123
- The in-session skill surface is primary. The `ma` helper commands only exist to start Codex context and to provide repo-local state automation when scripted verification is needed.
135
+ The in-session skill surface is primary. The `ma` terminal helper commands only exist to start Codex context and to provide repo-local state automation when scripted verification is needed.