@jstn-sdk/ma 0.1.10 → 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.
- package/.agents/plugins/marketplace.json +0 -0
- package/README.md +136 -29
- package/bin/ma.js +23 -67
- package/docs/README.md +4 -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 +0 -0
- package/docs/getting-started.md +74 -19
- package/docs/installed-sdk.md +23 -0
- package/docs/mcp-setup.md +30 -1
- package/docs/qa/{release-readiness-0.1.10.md → release-readiness-0.1.12.md} +29 -8
- package/docs/qa/release-readiness-0.1.5.md +0 -0
- package/docs/reference/native-engineering-patterns.md +35 -0
- package/docs/reference/native-security-playbooks.md +21 -0
- package/docs/reference/native-source-selection.md +21 -0
- package/docs/reference/native-style-and-deslop.md +20 -0
- package/docs/release-spec.md +21 -10
- package/docs/skills-publishing.md +25 -1
- package/docs/skills.md +24 -12
- package/mcp/local/code-intel.js +113 -0
- package/mcp/local/memory.js +46 -0
- package/mcp/local/playbooks.js +168 -0
- package/mcp/local/state.js +71 -0
- package/mcp/local/team-run.js +66 -0
- package/mcp/local/trace.js +60 -0
- package/mcp/local-capabilities.json +56 -0
- package/mcp/native-playbooks.json +117 -0
- package/mcp/servers.json +10 -0
- package/package.json +4 -1
- package/plugins/meta-architect/.app.json +1 -1
- package/plugins/meta-architect/.codex-plugin/plugin.json +4 -4
- package/plugins/meta-architect/.mcp.json +1 -1
- package/plugins/meta-architect/README.md +27 -1
- package/plugins/meta-architect/skills/align/SKILL.md +24 -0
- package/plugins/meta-architect/skills/align/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/align/references/shared-language.md +24 -0
- package/plugins/meta-architect/skills/arch/SKILL.md +0 -0
- package/plugins/meta-architect/skills/arch/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/build/SKILL.md +0 -0
- package/plugins/meta-architect/skills/build/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/cleanup/SKILL.md +23 -0
- package/plugins/meta-architect/skills/cleanup/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/cleanup/references/style-and-deslop.md +18 -0
- package/plugins/meta-architect/skills/diagnose/SKILL.md +24 -0
- package/plugins/meta-architect/skills/diagnose/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/flow/SKILL.md +0 -0
- package/plugins/meta-architect/skills/flow/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/maestro/SKILL.md +36 -3
- package/plugins/meta-architect/skills/maestro/agents/openai.yaml +2 -2
- package/plugins/meta-architect/skills/{meta-architect → maestro}/references/core-release-rules.md +0 -0
- package/plugins/meta-architect/skills/maestro/references/native-ingest-map.md +44 -0
- package/plugins/meta-architect/skills/sage/SKILL.md +3 -1
- package/plugins/meta-architect/skills/sage/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/sage/references/source-selection.md +28 -0
- package/plugins/meta-architect/skills/tdd/SKILL.md +24 -0
- package/plugins/meta-architect/skills/tdd/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/vet/SKILL.md +3 -1
- package/plugins/meta-architect/skills/vet/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/vet/references/security-playbooks.md +23 -0
- package/plugins/meta-architect/skills/vibe/SKILL.md +0 -0
- package/plugins/meta-architect/skills/vibe/agents/openai.yaml +0 -0
- package/scripts/biome-staged.js +0 -0
- package/scripts/build-linux-packages.mjs +328 -0
- package/scripts/doctor.js +19 -0
- package/scripts/linux-package-lib.mjs +40 -0
- package/scripts/linux-package-smoke.mjs +103 -0
- package/scripts/plugin-sync.js +0 -0
- package/scripts/postinstall.js +0 -0
- package/scripts/release-metadata.js +0 -0
- package/scripts/release-sync.js +13 -6
- package/scripts/release-verify.js +0 -0
- package/scripts/setup-npmrc.js +0 -0
- package/skills/align/SKILL.md +24 -0
- package/skills/align/agents/openai.yaml +4 -0
- package/skills/align/references/shared-language.md +24 -0
- package/skills/arch/SKILL.md +0 -0
- package/skills/arch/agents/openai.yaml +0 -0
- package/skills/build/SKILL.md +0 -0
- package/skills/build/agents/openai.yaml +0 -0
- package/skills/cleanup/SKILL.md +23 -0
- package/skills/cleanup/agents/openai.yaml +4 -0
- package/skills/cleanup/references/style-and-deslop.md +18 -0
- package/skills/diagnose/SKILL.md +24 -0
- package/skills/diagnose/agents/openai.yaml +4 -0
- package/skills/flow/SKILL.md +0 -0
- package/skills/flow/agents/openai.yaml +0 -0
- package/skills/index.json +21 -6
- package/skills/maestro/SKILL.md +36 -3
- package/skills/maestro/agents/openai.yaml +2 -2
- package/skills/{meta-architect → maestro}/references/core-release-rules.md +0 -0
- package/skills/maestro/references/native-ingest-map.md +44 -0
- package/skills/sage/SKILL.md +3 -1
- package/skills/sage/agents/openai.yaml +0 -0
- package/skills/sage/references/source-selection.md +28 -0
- package/skills/tdd/SKILL.md +24 -0
- package/skills/tdd/agents/openai.yaml +4 -0
- package/skills/vet/SKILL.md +3 -1
- package/skills/vet/agents/openai.yaml +0 -0
- package/skills/vet/references/security-playbooks.md +23 -0
- package/skills/vibe/SKILL.md +0 -0
- package/skills/vibe/agents/openai.yaml +0 -0
- package/src/bootstrap.js +124 -24
- package/src/decision-log.js +12 -9
- package/src/launcher.js +0 -0
- package/src/mcp-config.js +130 -8
- package/src/mcp-live-client.js +1 -1
- package/src/paths.js +33 -1
- package/src/release-state.js +30 -1
- package/src/runtime/build-readiness.js +38 -0
- package/src/runtime/continuity-notes.js +79 -0
- package/src/runtime/guidance-stack.js +42 -0
- package/src/runtime/maestro-manager.js +586 -0
- package/src/runtime/orchestrator.js +158 -0
- package/src/runtime/runtime-state.js +382 -0
- package/src/runtime/signal-hooks.js +52 -0
- package/src/runtime/startup-path.js +14 -0
- package/src/runtime/workspaces.js +25 -0
- package/src/runtime-artifacts.js +190 -30
- package/src/skill-installer.js +53 -5
- package/src/skills.js +633 -49
- package/src/state-sync.js +51 -8
- package/plugins/meta-architect/skills/meta-architect/SKILL.md +0 -32
- package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +0 -4
- package/skills/meta-architect/SKILL.md +0 -32
- package/skills/meta-architect/agents/openai.yaml +0 -4
|
File without changes
|
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
> [!IMPORTANT]
|
|
21
|
-
> Meta-Architect `v0.1.
|
|
21
|
+
> Meta-Architect `v0.1.12` is a production-grade skills line.
|
|
22
22
|
> It is not a lightweight demo branch.
|
|
23
|
-
> From `v0.1.
|
|
23
|
+
> From `v0.1.12` onward, the package is expected to ship with stable skill contracts, deterministic packaging, explicit release gates, and honest install and publish surfaces.
|
|
24
24
|
|
|
25
25
|
## Overview
|
|
26
26
|
|
|
@@ -31,6 +31,7 @@ It adds:
|
|
|
31
31
|
- an architecture-first lane before implementation
|
|
32
32
|
- evidence-backed OSS selection through GitMCP-connected sources
|
|
33
33
|
- explicit logic, security, and DX/UX review gates
|
|
34
|
+
- a singular `$maestro` bounded autonomous manager plus non-gating helper skills for alignment, diagnosis, test-first work, and cleanup
|
|
34
35
|
- installable skills and a reproducible package surface
|
|
35
36
|
|
|
36
37
|
> [!NOTE]
|
|
@@ -43,9 +44,13 @@ It adds:
|
|
|
43
44
|
- [Buy Me A Coffee](https://www.buymeacoffee.com/justinedevs)
|
|
44
45
|
|
|
45
46
|
<table>
|
|
47
|
+
<tr>
|
|
48
|
+
<td><strong>Linux-native packages</strong></td>
|
|
49
|
+
<td><code>.deb</code> for Debian-family distros, <code>.pkg.tar.xz</code> for Arch-family distros, and <code>.rpm</code> for Fedora/openSUSE-style distros</td>
|
|
50
|
+
</tr>
|
|
46
51
|
<tr>
|
|
47
52
|
<td><strong>npm package</strong></td>
|
|
48
|
-
<td><code>@jstn-sdk/ma</code
|
|
53
|
+
<td><code>@jstn-sdk/ma</code> (fallback install path)</td>
|
|
49
54
|
</tr>
|
|
50
55
|
<tr>
|
|
51
56
|
<td><strong>Helper command</strong></td>
|
|
@@ -57,7 +62,7 @@ It adds:
|
|
|
57
62
|
</tr>
|
|
58
63
|
<tr>
|
|
59
64
|
<td><strong>Release line</strong></td>
|
|
60
|
-
<td><code>v0.1.
|
|
65
|
+
<td><code>v0.1.12</code></td>
|
|
61
66
|
</tr>
|
|
62
67
|
<tr>
|
|
63
68
|
<td><strong>License</strong></td>
|
|
@@ -97,11 +102,39 @@ It adds:
|
|
|
97
102
|
> [!TIP]
|
|
98
103
|
> The most reliable default environment is a Unix-like shell with Git, Node.js, and an MCP-capable runtime already configured.
|
|
99
104
|
|
|
100
|
-
##
|
|
105
|
+
## Default Install Surfaces
|
|
106
|
+
|
|
107
|
+
Meta-Architect is a Codex-native session workflow. On Linux, the primary install surface is now distro-style package installation, not a standalone binary shell.
|
|
108
|
+
|
|
109
|
+
### Debian, Ubuntu, Linux Mint, Pop!_OS
|
|
110
|
+
|
|
111
|
+
Download the GitHub release `.deb` asset and install it with your normal package command:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
sudo apt install ./meta-architect_<version>_all.deb
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Arch, Manjaro, EndeavourOS
|
|
118
|
+
|
|
119
|
+
Download the GitHub release pacman package asset and install it with:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Fedora, RHEL-family, openSUSE
|
|
126
|
+
|
|
127
|
+
Download the GitHub release RPM asset and install it with your distro-native command:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
sudo dnf install ./meta-architect-<version>-1.noarch.rpm
|
|
131
|
+
# or
|
|
132
|
+
sudo zypper install ./meta-architect-<version>-1.noarch.rpm
|
|
133
|
+
```
|
|
101
134
|
|
|
102
|
-
Meta-Architect
|
|
135
|
+
These packages install the Meta-Architect payload and expose `ma` / `meta-architect`, but the product still runs inside a Codex-native session. They do not create a separate desktop or terminal product.
|
|
103
136
|
|
|
104
|
-
|
|
137
|
+
### npm fallback
|
|
105
138
|
|
|
106
139
|
```bash
|
|
107
140
|
# Install
|
|
@@ -125,8 +158,8 @@ What this assumes:
|
|
|
125
158
|
- the product experience happens through the skill workflow inside Codex
|
|
126
159
|
|
|
127
160
|
> [!IMPORTANT]
|
|
128
|
-
>
|
|
129
|
-
>
|
|
161
|
+
> On Linux, distro-native package install is the default surface.
|
|
162
|
+
> npm remains available as a fallback path.
|
|
130
163
|
|
|
131
164
|
## Repository Branch Strategy
|
|
132
165
|
|
|
@@ -147,7 +180,25 @@ Meta-Architect’s repository workflow follows a stricter release posture focuse
|
|
|
147
180
|
|
|
148
181
|
### Package setup
|
|
149
182
|
|
|
150
|
-
|
|
183
|
+
Debian-family install:
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
sudo apt install ./meta-architect_<version>_all.deb
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Arch-family install:
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Fedora/openSUSE install:
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
sudo dnf install ./meta-architect-<version>-1.noarch.rpm
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
npm fallback:
|
|
151
202
|
|
|
152
203
|
```bash
|
|
153
204
|
# Install
|
|
@@ -230,7 +281,7 @@ Required output:
|
|
|
230
281
|
5. Data model and storage choices
|
|
231
282
|
6. Auth/security considerations
|
|
232
283
|
7. DX/UX considerations
|
|
233
|
-
8. Delivery plan for v0.1.
|
|
284
|
+
8. Delivery plan for v0.1.12
|
|
234
285
|
9. Risks and trade-offs
|
|
235
286
|
10. Decision log
|
|
236
287
|
11. Exact next trigger to run after this
|
|
@@ -238,10 +289,12 @@ Required output:
|
|
|
238
289
|
|
|
239
290
|
### 3. Run the full trigger sequence inside Codex
|
|
240
291
|
|
|
241
|
-
|
|
292
|
+
The singular umbrella in-session entry point is `$maestro`. It is the bounded autonomous manager for the in-session workflow. The package does not ship a separate `$meta-architect` skill.
|
|
293
|
+
|
|
294
|
+
The release-gated sequence stays fixed:
|
|
242
295
|
|
|
243
296
|
```text
|
|
244
|
-
$
|
|
297
|
+
$arch
|
|
245
298
|
$sage
|
|
246
299
|
$flow
|
|
247
300
|
$vet
|
|
@@ -249,6 +302,15 @@ $vibe
|
|
|
249
302
|
$build
|
|
250
303
|
```
|
|
251
304
|
|
|
305
|
+
Optional publishable non-gating helper skills available around that sequence:
|
|
306
|
+
|
|
307
|
+
```text
|
|
308
|
+
$align
|
|
309
|
+
$diagnose
|
|
310
|
+
$tdd
|
|
311
|
+
$cleanup
|
|
312
|
+
```
|
|
313
|
+
|
|
252
314
|
See [example/usage-workflow.md](./example/usage-workflow.md) for the full prompt templates for each step.
|
|
253
315
|
|
|
254
316
|
### 4. Secondary helper path
|
|
@@ -294,17 +356,17 @@ Example:
|
|
|
294
356
|
|
|
295
357
|
```json
|
|
296
358
|
{
|
|
297
|
-
"category": "
|
|
298
|
-
"repo": "
|
|
299
|
-
"endpoint": "https://gitmcp.io/
|
|
359
|
+
"category": "candidate",
|
|
360
|
+
"repo": "owner/repo",
|
|
361
|
+
"endpoint": "https://gitmcp.io/owner/repo"
|
|
300
362
|
}
|
|
301
363
|
```
|
|
302
364
|
|
|
303
|
-
Recommended
|
|
365
|
+
Recommended source-selection posture:
|
|
304
366
|
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
-
|
|
367
|
+
- use packaged native references to narrow candidate families first
|
|
368
|
+
- map serious candidates to exact upstream GitMCP endpoints
|
|
369
|
+
- verify final choices against upstream repos and official docs before approval
|
|
308
370
|
|
|
309
371
|
Core discovery standard:
|
|
310
372
|
|
|
@@ -322,6 +384,12 @@ Core discovery standard:
|
|
|
322
384
|
- use Open-source Projects for curated OSS discovery and detailed project writeups
|
|
323
385
|
- treat all of these as discovery acceleration, then convert promising finds into exact upstream GitMCP mappings and official-doc checks for `$sage`
|
|
324
386
|
|
|
387
|
+
Useful native references:
|
|
388
|
+
|
|
389
|
+
- `skills/maestro/references/native-ingest-map.md`
|
|
390
|
+
- `skills/sage/references/source-selection.md`
|
|
391
|
+
- `skills/vet/references/security-playbooks.md`
|
|
392
|
+
|
|
325
393
|
Canonical `$sage` order:
|
|
326
394
|
|
|
327
395
|
1. Start with the upstream repo and official docs if you already know them.
|
|
@@ -370,11 +438,11 @@ Expected helper-path build output:
|
|
|
370
438
|
```text
|
|
371
439
|
Build gate is green.
|
|
372
440
|
Suggested branches:
|
|
373
|
-
- feature/
|
|
374
|
-
- feature/
|
|
441
|
+
- feature/implementation
|
|
442
|
+
- feature/verification
|
|
375
443
|
Optional worktree commands:
|
|
376
|
-
git worktree add ../
|
|
377
|
-
git worktree add ../
|
|
444
|
+
git worktree add ../implementation feature/implementation
|
|
445
|
+
git worktree add ../verification feature/verification
|
|
378
446
|
```
|
|
379
447
|
|
|
380
448
|
### 7. Simple command guide
|
|
@@ -384,6 +452,8 @@ Meta-Architect has two surfaces.
|
|
|
384
452
|
- terminal helper commands
|
|
385
453
|
- in-session skills
|
|
386
454
|
|
|
455
|
+
The umbrella in-session entry point is `$maestro`. There is no separate shipped `$meta-architect` skill surface.
|
|
456
|
+
|
|
387
457
|
Terminal commands are normal shell commands you run in the terminal:
|
|
388
458
|
|
|
389
459
|
```bash
|
|
@@ -404,12 +474,21 @@ $flow
|
|
|
404
474
|
$vet
|
|
405
475
|
$vibe
|
|
406
476
|
$build
|
|
477
|
+
$align
|
|
478
|
+
$diagnose
|
|
479
|
+
$tdd
|
|
480
|
+
$cleanup
|
|
407
481
|
```
|
|
408
482
|
|
|
409
483
|
Plain-language difference:
|
|
410
484
|
- `ma ...` = helper commands in the terminal
|
|
411
485
|
- `$...` = the product experience inside Codex
|
|
412
486
|
|
|
487
|
+
Autonomous-manager contract:
|
|
488
|
+
- `$maestro` is the only umbrella in-session surface
|
|
489
|
+
- it manages the next allowed step and lane handoff, but it does not replace the gated outputs owned by `$arch -> $sage -> $flow -> $vet -> $vibe -> $build`
|
|
490
|
+
- `$align`, `$diagnose`, `$tdd`, and `$cleanup` are publishable helper skills that do not move release gates
|
|
491
|
+
|
|
413
492
|
What `ma setup` and `ma init` do:
|
|
414
493
|
- both currently do the same thing
|
|
415
494
|
- they create the local support files and folders
|
|
@@ -429,13 +508,24 @@ What `ma doctor` does:
|
|
|
429
508
|
|
|
430
509
|
What to use when:
|
|
431
510
|
- use Codex and run the skills in-session
|
|
432
|
-
- use `$maestro` when you want Meta-Architect to choose the best next step for you
|
|
511
|
+
- use `$maestro` when you want Meta-Architect to choose the best next step for you or act as the bounded autonomous manager for the umbrella workflow
|
|
433
512
|
- use `$arch -> $sage -> $flow -> $vet -> $vibe -> $build` inside the Codex session
|
|
513
|
+
- use `$align`, `$diagnose`, `$tdd`, or `$cleanup` when a helper is enough and the release gate should stay where it is
|
|
434
514
|
- use `ma bootstrap` when you want the lazy-user setup path
|
|
435
515
|
- use `ma doctor` when you want a check-only environment report
|
|
436
516
|
- use `ma setup` or `ma init` only when you want local scaffolding or scripted helper automation from the terminal
|
|
437
517
|
- use `ma sdk-path` when you need the exact installed support-bundle path for packaged prompts, MCP files, sprint files, scripts, plugin metadata, or templates
|
|
438
518
|
|
|
519
|
+
## Skill Surface
|
|
520
|
+
|
|
521
|
+
Meta-Architect’s in-session surface has three layers:
|
|
522
|
+
|
|
523
|
+
- umbrella autonomous manager: `$maestro`
|
|
524
|
+
- fixed gated lanes: `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
|
|
525
|
+
- non-gating helper skills: `$align`, `$diagnose`, `$tdd`, `$cleanup`
|
|
526
|
+
|
|
527
|
+
Helper skills are publishable surfaces, but they do not own release-state transitions.
|
|
528
|
+
|
|
439
529
|
## Core Maintainers
|
|
440
530
|
|
|
441
531
|
<table>
|
|
@@ -451,7 +541,7 @@ What to use when:
|
|
|
451
541
|
</tr>
|
|
452
542
|
</table>
|
|
453
543
|
|
|
454
|
-
##
|
|
544
|
+
## Gated Lanes
|
|
455
545
|
|
|
456
546
|
| Trigger | Purpose | Main output | Gate effect |
|
|
457
547
|
| --- | --- | --- | --- |
|
|
@@ -462,6 +552,15 @@ What to use when:
|
|
|
462
552
|
| `$vibe` | Review developer and user experience implications | DX/UX outcome record | `experience_status = GREEN | RED | WAIVED` |
|
|
463
553
|
| `$build` | Unlock bounded build planning | build-ready decision + `.ma/plans/build.md` | `build_status = READY` |
|
|
464
554
|
|
|
555
|
+
## Helper Skills
|
|
556
|
+
|
|
557
|
+
| Trigger | Purpose | Gate effect |
|
|
558
|
+
| --- | --- | --- |
|
|
559
|
+
| `$align` | Normalize terminology, tighten scope, and improve prompt or docs clarity | none |
|
|
560
|
+
| `$diagnose` | Decompose blocked-lane symptoms into hypotheses and next probes | none |
|
|
561
|
+
| `$tdd` | Lock behavior with regression-first or test-first scaffolding | none |
|
|
562
|
+
| `$cleanup` | Simplify noisy output and run a final-pass anti-slop cleanup | none |
|
|
563
|
+
|
|
465
564
|
## Gate Model
|
|
466
565
|
|
|
467
566
|
Meta-Architect is intentionally fail-closed.
|
|
@@ -485,10 +584,11 @@ Meta-Architect is intentionally fail-closed.
|
|
|
485
584
|
|
|
486
585
|
## Release and Packaging
|
|
487
586
|
|
|
488
|
-
Meta-Architect has
|
|
587
|
+
Meta-Architect has three related but different distribution surfaces.
|
|
489
588
|
|
|
490
589
|
| Surface | Purpose | Produced by |
|
|
491
590
|
| --- | --- | --- |
|
|
591
|
+
| Linux native packages | distro-managed install assets for Debian-family and Arch-family environments | `npm run linux:packages:build` and GitHub release assets |
|
|
492
592
|
| npm package | public package containing the installable Meta-Architect skills/plugin system, docs, scripts, and canonical skills | `npm publish` or `npm pack` |
|
|
493
593
|
| skills bundle | narrower tarball containing `skills/` only | `npm run skills:pack` |
|
|
494
594
|
|
|
@@ -499,6 +599,8 @@ npm run skills:manifest
|
|
|
499
599
|
npm run skills:validate
|
|
500
600
|
npm run skills:pack
|
|
501
601
|
npm run skills:install -- --path ./dist/installed-skills
|
|
602
|
+
npm run linux:packages:build
|
|
603
|
+
npm run release:assets
|
|
502
604
|
npm run pack:inspect
|
|
503
605
|
```
|
|
504
606
|
|
|
@@ -507,6 +609,9 @@ Pre-publish rules:
|
|
|
507
609
|
- `skills/index.json` must be current
|
|
508
610
|
- `npm run skills:validate` must pass
|
|
509
611
|
- `dist/meta-architect-skills.tgz` must exist
|
|
612
|
+
- `dist/meta-architect_<version>_all.deb` must exist for Debian-family installs
|
|
613
|
+
- `dist/meta-architect-<version>-1-any.pkg.tar.xz` must exist for Arch-family installs
|
|
614
|
+
- `dist/meta-architect-<version>-1.noarch.rpm` must exist for Fedora/openSUSE-style installs
|
|
510
615
|
- `npm pack --dry-run` must show only intended public files
|
|
511
616
|
- docs must match the real skills/plugin and release behavior
|
|
512
617
|
|
|
@@ -521,11 +626,13 @@ Maintainer version-bump flow:
|
|
|
521
626
|
3. Run `npm run release:verify`
|
|
522
627
|
4. Run `npm run release:check`
|
|
523
628
|
5. Create and push tag `v<version>`
|
|
524
|
-
6.
|
|
629
|
+
6. Build and smoke-check the Linux native packages with `npm run linux:packages:build`, `npm run linux:packages:smoke`, and `npm run release:assets` on Linux
|
|
630
|
+
7. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
525
631
|
7. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
|
|
526
632
|
- Stable publish: `npm publish --access public`
|
|
527
633
|
- Prerelease publish: `npm publish --access public --tag <lane>`
|
|
528
634
|
8. Verify publish state with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
635
|
+
9. Confirm the GitHub release includes `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`
|
|
529
636
|
|
|
530
637
|
Provenance note:
|
|
531
638
|
- `npm publish --provenance` requires a supported cloud CI/CD provider
|
|
@@ -608,7 +715,7 @@ Release automation:
|
|
|
608
715
|
| [Plugin README](./plugins/meta-architect/README.md) | plugin distribution surface |
|
|
609
716
|
| [Collaborative Whiteboard Mission](./missions/collaborative-whiteboard/mission.md) | concrete scenario walkthrough |
|
|
610
717
|
| [Release Spec](./docs/release-spec.md) | release and gate policy |
|
|
611
|
-
| [Release Readiness](./docs/qa/release-readiness-0.1.
|
|
718
|
+
| [Release Readiness](./docs/qa/release-readiness-0.1.12.md) | QA evidence for the `v0.1.12` line |
|
|
612
719
|
|
|
613
720
|
## Release Hygiene
|
|
614
721
|
|
package/bin/ma.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { runBootstrap, runDoctor } from "../src/bootstrap.js";
|
|
4
|
-
import {
|
|
5
|
-
evaluateBuildGate,
|
|
6
|
-
formatBuildBlockers,
|
|
7
|
-
formatNextAllowedTriggers,
|
|
8
|
-
} from "../src/build-gate.js";
|
|
9
4
|
import { appendDecision } from "../src/decision-log.js";
|
|
10
5
|
import { runCodex, shouldDelegateToCodex } from "../src/launcher.js";
|
|
11
6
|
import {
|
|
@@ -15,7 +10,8 @@ import {
|
|
|
15
10
|
validateReleaseOrigin,
|
|
16
11
|
} from "../src/policy.js";
|
|
17
12
|
import { loadReleaseState } from "../src/release-state.js";
|
|
18
|
-
import {
|
|
13
|
+
import { evaluateRuntimeBuildReadiness } from "../src/runtime/build-readiness.js";
|
|
14
|
+
import { createRuntimeSummary, loadRuntimeSnapshot } from "../src/runtime/runtime-state.js";
|
|
19
15
|
import {
|
|
20
16
|
ensureSkillsInstalled,
|
|
21
17
|
ensureSupportBundleInstalled,
|
|
@@ -24,6 +20,7 @@ import {
|
|
|
24
20
|
import {
|
|
25
21
|
listSkills,
|
|
26
22
|
runArch,
|
|
23
|
+
runBuildLane,
|
|
27
24
|
runFlow,
|
|
28
25
|
runIdea,
|
|
29
26
|
runInit,
|
|
@@ -50,7 +47,7 @@ function printUsage() {
|
|
|
50
47
|
console.error(" ma release <origin-branch> <target-branch>");
|
|
51
48
|
}
|
|
52
49
|
|
|
53
|
-
function printStatus(releaseState) {
|
|
50
|
+
async function printStatus(releaseState) {
|
|
54
51
|
console.log("Meta-Architect Status");
|
|
55
52
|
console.log("=====================");
|
|
56
53
|
console.log(`Idea: ${releaseState.idea_status}`);
|
|
@@ -61,9 +58,10 @@ function printStatus(releaseState) {
|
|
|
61
58
|
console.log(`Experience: ${releaseState.experience_status}`);
|
|
62
59
|
console.log(`Build: ${releaseState.build_status}`);
|
|
63
60
|
|
|
64
|
-
const
|
|
61
|
+
const runtimeSummary = createRuntimeSummary(await loadRuntimeSnapshot());
|
|
62
|
+
const evaluation = evaluateRuntimeBuildReadiness(releaseState, runtimeSummary);
|
|
65
63
|
console.log("Next allowed triggers:");
|
|
66
|
-
const triggers =
|
|
64
|
+
const triggers = evaluation.nextTriggers;
|
|
67
65
|
if (triggers.length === 0) {
|
|
68
66
|
console.log("$build");
|
|
69
67
|
return;
|
|
@@ -74,71 +72,26 @@ function printStatus(releaseState) {
|
|
|
74
72
|
}
|
|
75
73
|
}
|
|
76
74
|
|
|
77
|
-
async function runBuild(
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
if (!evaluation.allowed) {
|
|
81
|
-
const blockers = formatBuildBlockers(evaluation);
|
|
82
|
-
await writeBuildPlanArtifact({
|
|
83
|
-
allowed: false,
|
|
84
|
-
blockers,
|
|
85
|
-
nextTriggers: formatNextAllowedTriggers(evaluation),
|
|
86
|
-
});
|
|
87
|
-
await appendDecision({
|
|
88
|
-
decision: "Blocked build execution",
|
|
89
|
-
status: "BLOCKED",
|
|
90
|
-
evidence: [
|
|
91
|
-
{
|
|
92
|
-
kind: "release-state",
|
|
93
|
-
path: ".ma/release.json",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
blockers,
|
|
97
|
-
next_allowed_triggers: formatNextAllowedTriggers(evaluation),
|
|
98
|
-
});
|
|
99
|
-
|
|
75
|
+
async function runBuild() {
|
|
76
|
+
const result = await runBuildLane();
|
|
77
|
+
if (result.status !== "READY") {
|
|
100
78
|
console.error("Build is locked.");
|
|
101
|
-
for (const blocker of blockers) {
|
|
79
|
+
for (const blocker of result.blockers) {
|
|
102
80
|
console.error(`- ${blocker}`);
|
|
103
81
|
}
|
|
104
82
|
process.exitCode = 1;
|
|
105
83
|
return;
|
|
106
84
|
}
|
|
107
85
|
|
|
108
|
-
const suggestedBranches = [
|
|
109
|
-
await writeBuildPlanArtifact({
|
|
110
|
-
allowed: true,
|
|
111
|
-
blockers: [],
|
|
112
|
-
nextTriggers: ["$build"],
|
|
113
|
-
suggestedBranches,
|
|
114
|
-
});
|
|
115
|
-
await appendDecision({
|
|
116
|
-
kind: "skill",
|
|
117
|
-
skill: "$build",
|
|
118
|
-
decision: "Build gate ready",
|
|
119
|
-
status: "READY",
|
|
120
|
-
evidence: [
|
|
121
|
-
{
|
|
122
|
-
kind: "release-state",
|
|
123
|
-
path: ".ma/release.json",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
branches: ["feature/ui", "feature/api"],
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
blockers: [],
|
|
130
|
-
next_allowed_triggers: ["$build"],
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
await syncStatusUpdates({ build_status: "READY" });
|
|
134
|
-
|
|
86
|
+
const suggestedBranches = result.suggestedBranches ?? [];
|
|
135
87
|
console.log("Build gate is green.");
|
|
136
88
|
console.log("Suggested branches:");
|
|
137
|
-
|
|
138
|
-
|
|
89
|
+
for (const branch of suggestedBranches) {
|
|
90
|
+
console.log(`- ${branch}`);
|
|
91
|
+
}
|
|
139
92
|
console.log("Optional worktree commands:");
|
|
140
|
-
console.log("git worktree add ../
|
|
141
|
-
console.log("git worktree add ../
|
|
93
|
+
console.log("git worktree add ../implementation feature/implementation");
|
|
94
|
+
console.log("git worktree add ../verification feature/verification");
|
|
142
95
|
}
|
|
143
96
|
|
|
144
97
|
async function runMerge(sourceBranch, targetBranch) {
|
|
@@ -266,7 +219,7 @@ async function main() {
|
|
|
266
219
|
|
|
267
220
|
if (command === "status") {
|
|
268
221
|
const releaseState = await loadReleaseState();
|
|
269
|
-
printStatus(releaseState);
|
|
222
|
+
await printStatus(releaseState);
|
|
270
223
|
return;
|
|
271
224
|
}
|
|
272
225
|
|
|
@@ -288,9 +241,12 @@ async function main() {
|
|
|
288
241
|
return;
|
|
289
242
|
}
|
|
290
243
|
|
|
244
|
+
if (command === "run" && arg === "$meta-architect") {
|
|
245
|
+
throw new Error("$meta-architect has been removed as a separate surface; use $maestro");
|
|
246
|
+
}
|
|
247
|
+
|
|
291
248
|
if (command === "run" && arg === "$build") {
|
|
292
|
-
|
|
293
|
-
await runBuild(releaseState);
|
|
249
|
+
await runBuild();
|
|
294
250
|
return;
|
|
295
251
|
}
|
|
296
252
|
|
package/docs/README.md
CHANGED
|
@@ -7,17 +7,20 @@ Meta-Architect documentation is organized by operator task.
|
|
|
7
7
|
- [Getting Started](./getting-started.md)
|
|
8
8
|
- [Release Spec](./release-spec.md)
|
|
9
9
|
- [Skills Reference](./skills.md)
|
|
10
|
+
- umbrella, gated lanes, and helper skill distinctions live in the Skills Reference
|
|
10
11
|
- [Installed Support Bundle](./installed-sdk.md)
|
|
11
12
|
|
|
12
13
|
## Packaging and installation
|
|
13
14
|
|
|
14
15
|
- [Skills Publishing](./skills-publishing.md)
|
|
16
|
+
- published helper-skill and plugin-mirror expectations live in Skills Publishing
|
|
17
|
+
- Linux-native distro package expectations live in the Release Spec and release-readiness docs
|
|
15
18
|
- [MCP Setup](./mcp-setup.md)
|
|
16
19
|
- [Plugin Bundle](../plugins/meta-architect/README.md)
|
|
17
20
|
|
|
18
21
|
## QA and readiness
|
|
19
22
|
|
|
20
|
-
- [Release Readiness 0.1.
|
|
23
|
+
- [Release Readiness 0.1.12](./qa/release-readiness-0.1.12.md)
|
|
21
24
|
|
|
22
25
|
## Repo structure references
|
|
23
26
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|