@jstn-sdk/ma 0.1.11 → 0.1.13
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/.codex/agents/Architect.toml +0 -2
- package/.codex/agents/Auditor.toml +0 -2
- package/.codex/agents/Builder.toml +0 -2
- package/.codex/agents/Flow.toml +0 -2
- package/.codex/agents/Sage.toml +0 -2
- package/.codex/agents/Vibe.toml +0 -2
- package/.codex/hooks.json +14 -13
- package/.codex/prompts/enforcement.md +4 -0
- package/.codex/prompts/skill-contract.md +4 -0
- package/COVERAGE.md +211 -0
- package/DEMO.md +265 -0
- package/README.md +287 -37
- package/bin/ma.js +232 -71
- package/data/clone-data.ledger.json +41 -0
- package/data/clone-data.proof.json +50 -0
- package/data/clone-data.rvf +37 -0
- package/docs/README.md +7 -1
- package/docs/getting-started.md +108 -37
- package/docs/installed-sdk.md +23 -0
- package/docs/mcp-setup.md +65 -1
- package/docs/onboarding.md +18 -2
- package/docs/prompt-guidance-contract.md +17 -0
- package/docs/prompt-guidance-fragments/active-autonomy-core.md +7 -0
- package/docs/qa/release-issue-gates-0.1.13.json +644 -0
- package/docs/qa/release-readiness-0.1.13.md +116 -0
- package/docs/qa/release-readiness-0.1.5.md +1 -1
- package/docs/reference/native-engineering-patterns.md +35 -0
- package/docs/reference/native-security-playbooks.md +27 -0
- package/docs/reference/native-source-selection.md +27 -0
- package/docs/reference/native-style-and-deslop.md +20 -0
- package/docs/release-spec.md +37 -10
- package/docs/skills-publishing.md +25 -1
- package/docs/skills.md +37 -12
- package/index.js +222 -2
- package/mcp/collections.json +23 -6
- 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 +113 -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 +34 -0
- package/package.json +8 -2
- 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 +34 -1
- package/plugins/meta-architect/obsidian/main.js +401 -0
- package/plugins/meta-architect/obsidian/manifest.json +9 -0
- package/plugins/meta-architect/obsidian/styles.css +7 -0
- 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 +2 -0
- package/plugins/meta-architect/skills/build/SKILL.md +3 -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 +2 -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/maestro/references/native-ingest-map.md +44 -0
- package/plugins/meta-architect/skills/sage/SKILL.md +5 -1
- package/plugins/meta-architect/skills/sage/references/source-selection.md +36 -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 +5 -1
- package/plugins/meta-architect/skills/vet/references/security-playbooks.md +30 -0
- package/plugins/meta-architect/skills/vibe/SKILL.md +2 -0
- package/scripts/active-autonomy-hook.mjs +96 -0
- package/scripts/build-linux-packages.mjs +328 -0
- package/scripts/doctor.js +36 -4
- package/scripts/install.sh +28 -0
- package/scripts/linux-package-lib.mjs +40 -0
- package/scripts/linux-package-smoke.mjs +103 -0
- package/scripts/ralph/prompt.md +35 -0
- package/scripts/release-sync.js +13 -6
- package/scripts/release-verify.js +166 -1
- 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 +2 -0
- package/skills/build/SKILL.md +3 -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 +2 -0
- package/skills/index.json +21 -6
- package/skills/maestro/SKILL.md +36 -3
- package/skills/maestro/agents/openai.yaml +2 -2
- package/skills/maestro/references/native-ingest-map.md +44 -0
- package/skills/sage/SKILL.md +5 -1
- package/skills/sage/references/source-selection.md +36 -0
- package/skills/tdd/SKILL.md +24 -0
- package/skills/tdd/agents/openai.yaml +4 -0
- package/skills/vet/SKILL.md +5 -1
- package/skills/vet/references/security-playbooks.md +30 -0
- package/skills/vibe/SKILL.md +2 -0
- package/src/bootstrap.js +141 -24
- package/src/build-gate.js +2 -2
- package/src/decision-log.js +12 -9
- package/src/launcher.js +4 -0
- package/src/mcp-config.js +130 -8
- package/src/mcp-live-client.js +289 -3
- package/src/paths.js +37 -1
- package/src/policy.js +1 -1
- package/src/release-issue-gates.js +190 -0
- package/src/release-state.js +30 -1
- package/src/runtime/active-autonomy-core.js +208 -0
- package/src/runtime/alignment-sentinel.js +165 -0
- package/src/runtime/architect-review.js +88 -0
- package/src/runtime/build-readiness.js +62 -0
- package/src/runtime/code-graph-rehearse.js +113 -0
- package/src/runtime/context-economy-core.js +276 -0
- package/src/runtime/continuity-notes.js +79 -0
- package/src/runtime/core-source-ingest.js +379 -0
- package/src/runtime/detached-provider.js +74 -0
- package/src/runtime/environment-awareness-core.js +460 -0
- package/src/runtime/exposure-catalog.js +276 -0
- package/src/runtime/guidance-stack.js +42 -0
- package/src/runtime/helper-orchestration-core.js +307 -0
- package/src/runtime/learning-loop-core.js +238 -0
- package/src/runtime/maestro-events.js +18 -0
- package/src/runtime/maestro-manager.js +605 -0
- package/src/runtime/maestro-state.js +125 -0
- package/src/runtime/mcp-policy.js +192 -0
- package/src/runtime/obsidian-integration-core.js +851 -0
- package/src/runtime/obsidian-plugin-bridge.js +739 -0
- package/src/runtime/orchestrator.js +158 -0
- package/src/runtime/prompt-strategy-core.js +230 -0
- package/src/runtime/quorum-review.js +90 -0
- package/src/runtime/ralph-execution-core.js +217 -0
- package/src/runtime/redaction-gateway.js +174 -0
- package/src/runtime/runtime-state.js +1223 -0
- package/src/runtime/semantic-recording-core.js +147 -0
- package/src/runtime/signal-hooks.js +67 -0
- package/src/runtime/skills-registry-export.js +670 -0
- package/src/runtime/startup-path.js +14 -0
- package/src/runtime/universal-plugin-broker-core.js +575 -0
- package/src/runtime/workspace-intelligence-runtime.js +674 -0
- package/src/runtime/workspace-virtualizer.js +102 -0
- package/src/runtime/workspaces.js +25 -0
- package/src/runtime-artifacts.js +407 -84
- package/src/skill-installer.js +53 -5
- package/src/skills.js +1454 -78
- package/src/state-sync.js +51 -8
- package/docs/qa/release-readiness-0.1.11.md +0 -79
- 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
- /package/plugins/meta-architect/skills/{meta-architect → maestro}/references/core-release-rules.md +0 -0
- /package/skills/{meta-architect → maestro}/references/core-release-rules.md +0 -0
package/README.md
CHANGED
|
@@ -18,9 +18,30 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
> [!IMPORTANT]
|
|
21
|
-
> Meta-Architect `v0.1.
|
|
21
|
+
> Meta-Architect `v0.1.13` is a production-grade skills line.
|
|
22
22
|
> It is not a lightweight demo branch.
|
|
23
|
-
> From `v0.1.
|
|
23
|
+
> From `v0.1.13` onward, the package is expected to ship with stable skill contracts, deterministic packaging, explicit release gates, and honest install and publish surfaces.
|
|
24
|
+
|
|
25
|
+
## Navigate
|
|
26
|
+
|
|
27
|
+
<table>
|
|
28
|
+
<tr>
|
|
29
|
+
<td><strong>Start</strong></td>
|
|
30
|
+
<td><a href="#cli-install">CLI Install</a> · <a href="#quick-start">Quick Start</a> · <a href="#setup">Setup</a></td>
|
|
31
|
+
</tr>
|
|
32
|
+
<tr>
|
|
33
|
+
<td><strong>Operate</strong></td>
|
|
34
|
+
<td><a href="#skill-surface">Skill Surface</a> · <a href="#gated-lanes">Gated Lanes</a> · <a href="#gate-model">Gate Model</a> · <a href="#learning-loop-core">Learning Loop Core</a></td>
|
|
35
|
+
</tr>
|
|
36
|
+
<tr>
|
|
37
|
+
<td><strong>Ship</strong></td>
|
|
38
|
+
<td><a href="#release-and-packaging">Release and Packaging</a> · <a href="#package-surface">Package Surface</a> · <a href="#release-hygiene">Release Hygiene</a></td>
|
|
39
|
+
</tr>
|
|
40
|
+
<tr>
|
|
41
|
+
<td><strong>Reference</strong></td>
|
|
42
|
+
<td><a href="#repository-structure">Repository Structure</a> · <a href="#documentation">Documentation</a> · <a href="#core-maintainers">Core Maintainers</a></td>
|
|
43
|
+
</tr>
|
|
44
|
+
</table>
|
|
24
45
|
|
|
25
46
|
## Overview
|
|
26
47
|
|
|
@@ -31,21 +52,31 @@ It adds:
|
|
|
31
52
|
- an architecture-first lane before implementation
|
|
32
53
|
- evidence-backed OSS selection through GitMCP-connected sources
|
|
33
54
|
- explicit logic, security, and DX/UX review gates
|
|
55
|
+
- a singular `$maestro` bounded autonomous manager plus non-gating helper skills for alignment, diagnosis, test-first work, and cleanup
|
|
34
56
|
- installable skills and a reproducible package surface
|
|
35
57
|
|
|
36
58
|
> [!NOTE]
|
|
37
59
|
> Meta-Architect does not replace your coding runtime.
|
|
38
60
|
> It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.
|
|
39
61
|
|
|
62
|
+
## Acknowledgement
|
|
63
|
+
|
|
64
|
+
Meta-Architect was shaped in part by ideas surfaced through the `oh-my-codex` ecosystem.
|
|
65
|
+
Acknowledgement is due for the inspiration around Codex-native workflow packaging, skill distribution, and practical delivery surfaces that helped inform this project.
|
|
66
|
+
|
|
40
67
|
## Support
|
|
41
68
|
|
|
42
69
|
- [GitHub Sponsors](https://github.com/sponsors/JustineDevs)
|
|
43
70
|
- [Buy Me A Coffee](https://www.buymeacoffee.com/justinedevs)
|
|
44
71
|
|
|
45
72
|
<table>
|
|
73
|
+
<tr>
|
|
74
|
+
<td><strong>Linux-native packages</strong></td>
|
|
75
|
+
<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>
|
|
76
|
+
</tr>
|
|
46
77
|
<tr>
|
|
47
78
|
<td><strong>npm package</strong></td>
|
|
48
|
-
<td><code>@jstn-sdk/ma</code
|
|
79
|
+
<td><code>@jstn-sdk/ma</code> (fallback install path)</td>
|
|
49
80
|
</tr>
|
|
50
81
|
<tr>
|
|
51
82
|
<td><strong>Helper command</strong></td>
|
|
@@ -57,7 +88,7 @@ It adds:
|
|
|
57
88
|
</tr>
|
|
58
89
|
<tr>
|
|
59
90
|
<td><strong>Release line</strong></td>
|
|
60
|
-
<td><code>v0.1.
|
|
91
|
+
<td><code>v0.1.13</code></td>
|
|
61
92
|
</tr>
|
|
62
93
|
<tr>
|
|
63
94
|
<td><strong>License</strong></td>
|
|
@@ -97,11 +128,70 @@ It adds:
|
|
|
97
128
|
> [!TIP]
|
|
98
129
|
> The most reliable default environment is a Unix-like shell with Git, Node.js, and an MCP-capable runtime already configured.
|
|
99
130
|
|
|
100
|
-
##
|
|
131
|
+
## CLI Install
|
|
132
|
+
|
|
133
|
+
macOS, Linux, WSL, and Git-Bash:
|
|
101
134
|
|
|
102
|
-
|
|
135
|
+
```bash
|
|
136
|
+
# One-line install (POSIX shells only; see Windows note below)
|
|
137
|
+
curl -fsSL https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@main/scripts/install.sh | sh
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
This jsDelivr-backed installer runs the canonical package install:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
144
|
+
```
|
|
103
145
|
|
|
104
|
-
|
|
146
|
+
Then it seeds the local MA runtime with `ma setup`. Start with:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
ma --madmax --high
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Windows note: use WSL or Git-Bash for the one-line POSIX installer. In PowerShell, use the npm fallback command directly.
|
|
153
|
+
|
|
154
|
+
## Default Install Surfaces
|
|
155
|
+
|
|
156
|
+
Meta-Architect is a Codex-native session workflow. The jsDelivr CLI installer is the recommended quick-start path for POSIX shells; Linux distro packages remain available for distro-managed installs.
|
|
157
|
+
|
|
158
|
+
<details>
|
|
159
|
+
<summary><strong>Platform package commands</strong></summary>
|
|
160
|
+
|
|
161
|
+
### Debian, Ubuntu, Linux Mint, Pop!_OS
|
|
162
|
+
|
|
163
|
+
Download the GitHub release `.deb` asset and install it with your normal package command:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
sudo apt install ./meta-architect_<version>_all.deb
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Arch, Manjaro, EndeavourOS
|
|
170
|
+
|
|
171
|
+
Download the GitHub release pacman package asset and install it with:
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Fedora, RHEL-family, openSUSE
|
|
178
|
+
|
|
179
|
+
Download the GitHub release RPM asset and install it with your distro-native command:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
sudo dnf install ./meta-architect-<version>-1.noarch.rpm
|
|
183
|
+
# or
|
|
184
|
+
sudo zypper install ./meta-architect-<version>-1.noarch.rpm
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
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.
|
|
188
|
+
|
|
189
|
+
</details>
|
|
190
|
+
|
|
191
|
+
<details open>
|
|
192
|
+
<summary><strong>npm fallback and runtime assumptions</strong></summary>
|
|
193
|
+
|
|
194
|
+
### npm fallback
|
|
105
195
|
|
|
106
196
|
```bash
|
|
107
197
|
# Install
|
|
@@ -125,8 +215,9 @@ What this assumes:
|
|
|
125
215
|
- the product experience happens through the skill workflow inside Codex
|
|
126
216
|
|
|
127
217
|
> [!IMPORTANT]
|
|
128
|
-
> The
|
|
129
|
-
|
|
218
|
+
> The jsDelivr installer is a POSIX-shell convenience wrapper around the canonical npm install. Use the distro packages when you specifically need distro-managed install assets.
|
|
219
|
+
|
|
220
|
+
</details>
|
|
130
221
|
|
|
131
222
|
## Repository Branch Strategy
|
|
132
223
|
|
|
@@ -147,7 +238,25 @@ Meta-Architect’s repository workflow follows a stricter release posture focuse
|
|
|
147
238
|
|
|
148
239
|
### Package setup
|
|
149
240
|
|
|
150
|
-
|
|
241
|
+
Debian-family install:
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
sudo apt install ./meta-architect_<version>_all.deb
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Arch-family install:
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
Fedora/openSUSE install:
|
|
254
|
+
|
|
255
|
+
```bash
|
|
256
|
+
sudo dnf install ./meta-architect-<version>-1.noarch.rpm
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
npm fallback:
|
|
151
260
|
|
|
152
261
|
```bash
|
|
153
262
|
# Install
|
|
@@ -230,7 +339,7 @@ Required output:
|
|
|
230
339
|
5. Data model and storage choices
|
|
231
340
|
6. Auth/security considerations
|
|
232
341
|
7. DX/UX considerations
|
|
233
|
-
8. Delivery plan for v0.1.
|
|
342
|
+
8. Delivery plan for v0.1.13
|
|
234
343
|
9. Risks and trade-offs
|
|
235
344
|
10. Decision log
|
|
236
345
|
11. Exact next trigger to run after this
|
|
@@ -238,10 +347,12 @@ Required output:
|
|
|
238
347
|
|
|
239
348
|
### 3. Run the full trigger sequence inside Codex
|
|
240
349
|
|
|
241
|
-
|
|
350
|
+
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.
|
|
351
|
+
|
|
352
|
+
The release-gated sequence stays fixed:
|
|
242
353
|
|
|
243
354
|
```text
|
|
244
|
-
$
|
|
355
|
+
$arch
|
|
245
356
|
$sage
|
|
246
357
|
$flow
|
|
247
358
|
$vet
|
|
@@ -249,6 +360,15 @@ $vibe
|
|
|
249
360
|
$build
|
|
250
361
|
```
|
|
251
362
|
|
|
363
|
+
Optional publishable non-gating helper skills available around that sequence:
|
|
364
|
+
|
|
365
|
+
```text
|
|
366
|
+
$align
|
|
367
|
+
$diagnose
|
|
368
|
+
$tdd
|
|
369
|
+
$cleanup
|
|
370
|
+
```
|
|
371
|
+
|
|
252
372
|
See [example/usage-workflow.md](./example/usage-workflow.md) for the full prompt templates for each step.
|
|
253
373
|
|
|
254
374
|
### 4. Secondary helper path
|
|
@@ -294,17 +414,17 @@ Example:
|
|
|
294
414
|
|
|
295
415
|
```json
|
|
296
416
|
{
|
|
297
|
-
"category": "
|
|
298
|
-
"repo": "
|
|
299
|
-
"endpoint": "https://gitmcp.io/
|
|
417
|
+
"category": "candidate",
|
|
418
|
+
"repo": "owner/repo",
|
|
419
|
+
"endpoint": "https://gitmcp.io/owner/repo"
|
|
300
420
|
}
|
|
301
421
|
```
|
|
302
422
|
|
|
303
|
-
Recommended
|
|
423
|
+
Recommended source-selection posture:
|
|
304
424
|
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
-
|
|
425
|
+
- use packaged native references to narrow candidate families first
|
|
426
|
+
- map serious candidates to exact upstream GitMCP endpoints
|
|
427
|
+
- verify final choices against upstream repos and official docs before approval
|
|
308
428
|
|
|
309
429
|
Core discovery standard:
|
|
310
430
|
|
|
@@ -322,6 +442,12 @@ Core discovery standard:
|
|
|
322
442
|
- use Open-source Projects for curated OSS discovery and detailed project writeups
|
|
323
443
|
- treat all of these as discovery acceleration, then convert promising finds into exact upstream GitMCP mappings and official-doc checks for `$sage`
|
|
324
444
|
|
|
445
|
+
Useful native references:
|
|
446
|
+
|
|
447
|
+
- `skills/maestro/references/native-ingest-map.md`
|
|
448
|
+
- `skills/sage/references/source-selection.md`
|
|
449
|
+
- `skills/vet/references/security-playbooks.md`
|
|
450
|
+
|
|
325
451
|
Canonical `$sage` order:
|
|
326
452
|
|
|
327
453
|
1. Start with the upstream repo and official docs if you already know them.
|
|
@@ -339,7 +465,7 @@ Canonical `$sage` order:
|
|
|
339
465
|
If you need scripted repo-local validation rather than the interactive runtime workflow:
|
|
340
466
|
|
|
341
467
|
```bash
|
|
342
|
-
ma idea "
|
|
468
|
+
ma idea "Prepare Meta-Architect v0.1.13 for a production package release with real install docs, Obsidian brain-context support, learning-loop reliability, and package proof artifacts."
|
|
343
469
|
ma run '$arch'
|
|
344
470
|
ma run '$sage'
|
|
345
471
|
ma run '$flow'
|
|
@@ -370,11 +496,11 @@ Expected helper-path build output:
|
|
|
370
496
|
```text
|
|
371
497
|
Build gate is green.
|
|
372
498
|
Suggested branches:
|
|
373
|
-
- feature/
|
|
374
|
-
- feature/
|
|
499
|
+
- feature/implementation
|
|
500
|
+
- feature/verification
|
|
375
501
|
Optional worktree commands:
|
|
376
|
-
git worktree add ../
|
|
377
|
-
git worktree add ../
|
|
502
|
+
git worktree add ../implementation feature/implementation
|
|
503
|
+
git worktree add ../verification feature/verification
|
|
378
504
|
```
|
|
379
505
|
|
|
380
506
|
### 7. Simple command guide
|
|
@@ -384,6 +510,8 @@ Meta-Architect has two surfaces.
|
|
|
384
510
|
- terminal helper commands
|
|
385
511
|
- in-session skills
|
|
386
512
|
|
|
513
|
+
The umbrella in-session entry point is `$maestro`. There is no separate shipped `$meta-architect` skill surface.
|
|
514
|
+
|
|
387
515
|
Terminal commands are normal shell commands you run in the terminal:
|
|
388
516
|
|
|
389
517
|
```bash
|
|
@@ -391,7 +519,10 @@ ma setup
|
|
|
391
519
|
ma init
|
|
392
520
|
ma idea "Build a product"
|
|
393
521
|
ma status
|
|
522
|
+
ma status --maestro-view
|
|
523
|
+
ma verify --architect
|
|
394
524
|
ma run '$arch'
|
|
525
|
+
ma run '$maestro' --auto-heal --parallel
|
|
395
526
|
```
|
|
396
527
|
|
|
397
528
|
In-session skills are prompts you use inside the Codex conversation after launch:
|
|
@@ -404,12 +535,21 @@ $flow
|
|
|
404
535
|
$vet
|
|
405
536
|
$vibe
|
|
406
537
|
$build
|
|
538
|
+
$align
|
|
539
|
+
$diagnose
|
|
540
|
+
$tdd
|
|
541
|
+
$cleanup
|
|
407
542
|
```
|
|
408
543
|
|
|
409
544
|
Plain-language difference:
|
|
410
545
|
- `ma ...` = helper commands in the terminal
|
|
411
546
|
- `$...` = the product experience inside Codex
|
|
412
547
|
|
|
548
|
+
Autonomous-manager contract:
|
|
549
|
+
- `$maestro` is the only umbrella in-session surface
|
|
550
|
+
- 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`
|
|
551
|
+
- `$align`, `$diagnose`, `$tdd`, and `$cleanup` are publishable helper skills that do not move release gates
|
|
552
|
+
|
|
413
553
|
What `ma setup` and `ma init` do:
|
|
414
554
|
- both currently do the same thing
|
|
415
555
|
- they create the local support files and folders
|
|
@@ -429,13 +569,36 @@ What `ma doctor` does:
|
|
|
429
569
|
|
|
430
570
|
What to use when:
|
|
431
571
|
- use Codex and run the skills in-session
|
|
432
|
-
- use `$maestro` when you want Meta-Architect to choose the best next step for you
|
|
572
|
+
- 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
573
|
- use `$arch -> $sage -> $flow -> $vet -> $vibe -> $build` inside the Codex session
|
|
574
|
+
- use `$align`, `$diagnose`, `$tdd`, or `$cleanup` when a helper is enough and the release gate should stay where it is
|
|
434
575
|
- use `ma bootstrap` when you want the lazy-user setup path
|
|
435
576
|
- use `ma doctor` when you want a check-only environment report
|
|
436
577
|
- use `ma setup` or `ma init` only when you want local scaffolding or scripted helper automation from the terminal
|
|
437
578
|
- 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
579
|
|
|
580
|
+
## Skill Surface
|
|
581
|
+
|
|
582
|
+
> [!TIP]
|
|
583
|
+
> Remember the surface as **manager -> gated lanes -> helpers**.
|
|
584
|
+
> `$maestro` coordinates, gated lanes move release state, and helper skills support without unlocking build.
|
|
585
|
+
|
|
586
|
+
Meta-Architect’s in-session surface has three layers:
|
|
587
|
+
|
|
588
|
+
- umbrella autonomous manager: `$maestro`
|
|
589
|
+
- fixed gated lanes: `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build`
|
|
590
|
+
- non-gating helper skills: `$align`, `$diagnose`, `$tdd`, `$cleanup`
|
|
591
|
+
|
|
592
|
+
Helper skills are publishable surfaces, but they do not own release-state transitions.
|
|
593
|
+
|
|
594
|
+
> [!NOTE]
|
|
595
|
+
> MA also discovers existing repo-local skills, MCP configs, and plugin manifests through the Environment Awareness Core.
|
|
596
|
+
> Discovered capabilities are `available_capability` context only: MA may select them when task-relevant, but it does not auto-run, mutate, or treat them as build evidence.
|
|
597
|
+
|
|
598
|
+
> [!NOTE]
|
|
599
|
+
> Universal Plugin Broker Core uses a hybrid model for cross-agent plugins: MCP stdio tooling for hosts that support MCP config injection, and `.agents/skills` context payloads for the broader supported-agent surface.
|
|
600
|
+
> Plugin broker receipts are compatibility configuration, not build evidence or lane approval.
|
|
601
|
+
|
|
439
602
|
## Core Maintainers
|
|
440
603
|
|
|
441
604
|
<table>
|
|
@@ -451,47 +614,118 @@ What to use when:
|
|
|
451
614
|
</tr>
|
|
452
615
|
</table>
|
|
453
616
|
|
|
454
|
-
##
|
|
617
|
+
## Gated Lanes
|
|
618
|
+
|
|
619
|
+
> [!IMPORTANT]
|
|
620
|
+
> Read this as a release runway: **design -> evidence -> logic -> security -> experience -> build**.
|
|
621
|
+
> Do not skip lanes when the release gate is still locked.
|
|
622
|
+
|
|
623
|
+
<details open>
|
|
624
|
+
<summary><strong>Release-gated lane map</strong></summary>
|
|
455
625
|
|
|
456
626
|
| Trigger | Purpose | Main output | Gate effect |
|
|
457
627
|
| --- | --- | --- | --- |
|
|
458
628
|
| `$arch` | Produce the first-pass architecture blueprint | decision entry | `architecture_status = APPROVED` |
|
|
459
629
|
| `$sage` | Ground major choices in configured GitMCP evidence | evidence records | `evidence_status = VERIFIED | PARTIAL | MISSING` |
|
|
460
|
-
| `$flow` | Review baseline logic and state transitions | logic review entry | `logic_status = GREEN | RED` |
|
|
461
|
-
| `$vet` | Run baseline security and dependency review | audit and CVE records | `security_status = GREEN | RED` |
|
|
462
|
-
| `$vibe` | Review developer and user experience implications | DX/UX outcome record | `experience_status = GREEN | RED | WAIVED` |
|
|
463
|
-
| `$build` |
|
|
630
|
+
| `$flow` | Review baseline logic and state transitions | logic review entry | `logic_status = PENDING | GREEN | RED` |
|
|
631
|
+
| `$vet` | Run baseline security and dependency review | audit and CVE records | `security_status = PENDING | GREEN | RED` |
|
|
632
|
+
| `$vibe` | Review developer and user experience implications | DX/UX outcome record | `experience_status = PENDING | GREEN | RED | WAIVED` |
|
|
633
|
+
| `$build` | Run a bounded build-readiness loop | build-ready decision + `.ma/plans/build.md` | `build_status = READY | RUNNING | DONE` |
|
|
634
|
+
|
|
635
|
+
</details>
|
|
636
|
+
|
|
637
|
+
## Helper Skills
|
|
638
|
+
|
|
639
|
+
<details>
|
|
640
|
+
<summary><strong>Non-gating helper skill map</strong></summary>
|
|
641
|
+
|
|
642
|
+
| Trigger | Purpose | Gate effect |
|
|
643
|
+
| --- | --- | --- |
|
|
644
|
+
| `$align` | Normalize terminology, tighten scope, and improve prompt or docs clarity | none |
|
|
645
|
+
| `$diagnose` | Decompose blocked-lane symptoms into hypotheses and next probes | none |
|
|
646
|
+
| `$tdd` | Lock behavior with regression-first or test-first scaffolding | none |
|
|
647
|
+
| `$cleanup` | Simplify noisy output and run a final-pass anti-slop cleanup | none |
|
|
648
|
+
|
|
649
|
+
> [!NOTE]
|
|
650
|
+
> Helper skills are backed by `helper_orchestration_core`.
|
|
651
|
+
> They write helper receipts, return authority to `$maestro` or the owning lane, and never record as gate approval.
|
|
652
|
+
|
|
653
|
+
</details>
|
|
464
654
|
|
|
465
655
|
## Gate Model
|
|
466
656
|
|
|
467
657
|
Meta-Architect is intentionally fail-closed.
|
|
468
658
|
|
|
659
|
+
> [!NOTE]
|
|
660
|
+
> Green states allow the next safe move.
|
|
661
|
+
> Red or locked states preserve the blocker instead of pretending the workflow is ready.
|
|
662
|
+
|
|
663
|
+
<details open>
|
|
664
|
+
<summary><strong>Status vocabulary</strong></summary>
|
|
665
|
+
|
|
469
666
|
| Status | Meaning |
|
|
470
667
|
| --- | --- |
|
|
471
668
|
| `CLEAR` | enough input exists to proceed |
|
|
472
669
|
| `APPROVED` | the architecture lane produced an acceptable first-pass blueprint |
|
|
473
670
|
| `VERIFIED` | live evidence was grounded through approved GitMCP sources |
|
|
474
671
|
| `PARTIAL` | evidence is configured but live proof is incomplete or unavailable |
|
|
672
|
+
| `PENDING` | the lane has recorded interim review state but not final approval or rejection yet |
|
|
475
673
|
| `GREEN` | the current baseline review passed |
|
|
476
674
|
| `RED` | the lane is blocked or failed |
|
|
477
675
|
| `WAIVED` | the lane was intentionally waived with a recorded reason |
|
|
478
676
|
| `LOCKED` | downstream work is not allowed yet |
|
|
479
|
-
| `READY` | the next gated step is
|
|
677
|
+
| `READY` | the next bounded gated step is prepared |
|
|
678
|
+
| `RUNNING` | the bounded build substep is active |
|
|
679
|
+
| `DONE` | the current bounded build substep completed with recorded evidence |
|
|
680
|
+
|
|
681
|
+
</details>
|
|
480
682
|
|
|
481
683
|
> [!CAUTION]
|
|
482
684
|
> `$build` must stay locked until the upstream release state in `.ma/release.json` satisfies the gate contract.
|
|
483
685
|
> Meta-Architect is designed to stop on blockers rather than silently continue.
|
|
484
686
|
> Rich runtime artifacts live in `.ma/context/`, `.ma/specs/`, `.ma/plans/`, and `.ma/runbook.md`.
|
|
485
687
|
|
|
688
|
+
## Learning Loop Core
|
|
689
|
+
|
|
690
|
+
> [!NOTE]
|
|
691
|
+
> Meta-Architect records learnings as candidates first.
|
|
692
|
+
> A learning can influence future context only after it has source, evidence, authority, and a next verification path.
|
|
693
|
+
|
|
694
|
+
<details open>
|
|
695
|
+
<summary><strong>Reliability domains</strong></summary>
|
|
696
|
+
|
|
697
|
+
| Domain | What improves over time |
|
|
698
|
+
| --- | --- |
|
|
699
|
+
| Core & Orchestration | manager runs, lane handoffs, and autonomous routing |
|
|
700
|
+
| Memory & Knowledge | project notes, Obsidian vault context, and semantic receipts |
|
|
701
|
+
| Intelligence & Learning | prompt strategy, context budgeting, and rehearsal outcomes |
|
|
702
|
+
| Code Quality & Testing | test failures, build results, and execution learnings |
|
|
703
|
+
| Security & Compliance | trust-boundary findings, exposure scans, and redaction receipts |
|
|
704
|
+
| Architecture & Methodology | decisions, tradeoffs, and reusable patterns |
|
|
705
|
+
| DevOps & Observability | release checks, package smokes, runtime traces, and hook audits |
|
|
706
|
+
| Extensibility | skills, plugins, MCP policy, and host compatibility |
|
|
707
|
+
| Domain-Specific | stack facts, project domain notes, and trusted source context |
|
|
708
|
+
|
|
709
|
+
</details>
|
|
710
|
+
|
|
486
711
|
## Release and Packaging
|
|
487
712
|
|
|
488
|
-
Meta-Architect has
|
|
713
|
+
Meta-Architect has three related but different distribution surfaces.
|
|
714
|
+
|
|
715
|
+
> [!TIP]
|
|
716
|
+
> Use **npm** for the public package, **Linux packages** for distro-managed installs, and **skills bundle** when only the skill payload is needed.
|
|
717
|
+
|
|
718
|
+
<details open>
|
|
719
|
+
<summary><strong>Distribution surfaces</strong></summary>
|
|
489
720
|
|
|
490
721
|
| Surface | Purpose | Produced by |
|
|
491
722
|
| --- | --- | --- |
|
|
723
|
+
| Linux native packages | distro-managed install assets for Debian-family and Arch-family environments | `npm run linux:packages:build` and GitHub release assets |
|
|
492
724
|
| npm package | public package containing the installable Meta-Architect skills/plugin system, docs, scripts, and canonical skills | `npm publish` or `npm pack` |
|
|
493
725
|
| skills bundle | narrower tarball containing `skills/` only | `npm run skills:pack` |
|
|
494
726
|
|
|
727
|
+
</details>
|
|
728
|
+
|
|
495
729
|
Required packaging commands:
|
|
496
730
|
|
|
497
731
|
```bash
|
|
@@ -499,6 +733,8 @@ npm run skills:manifest
|
|
|
499
733
|
npm run skills:validate
|
|
500
734
|
npm run skills:pack
|
|
501
735
|
npm run skills:install -- --path ./dist/installed-skills
|
|
736
|
+
npm run linux:packages:build
|
|
737
|
+
npm run release:assets
|
|
502
738
|
npm run pack:inspect
|
|
503
739
|
```
|
|
504
740
|
|
|
@@ -507,6 +743,9 @@ Pre-publish rules:
|
|
|
507
743
|
- `skills/index.json` must be current
|
|
508
744
|
- `npm run skills:validate` must pass
|
|
509
745
|
- `dist/meta-architect-skills.tgz` must exist
|
|
746
|
+
- `dist/meta-architect_<version>_all.deb` must exist for Debian-family installs
|
|
747
|
+
- `dist/meta-architect-<version>-1-any.pkg.tar.xz` must exist for Arch-family installs
|
|
748
|
+
- `dist/meta-architect-<version>-1.noarch.rpm` must exist for Fedora/openSUSE-style installs
|
|
510
749
|
- `npm pack --dry-run` must show only intended public files
|
|
511
750
|
- docs must match the real skills/plugin and release behavior
|
|
512
751
|
|
|
@@ -521,11 +760,13 @@ Maintainer version-bump flow:
|
|
|
521
760
|
3. Run `npm run release:verify`
|
|
522
761
|
4. Run `npm run release:check`
|
|
523
762
|
5. Create and push tag `v<version>`
|
|
524
|
-
6.
|
|
763
|
+
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
|
|
764
|
+
7. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
525
765
|
7. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
|
|
526
766
|
- Stable publish: `npm publish --access public`
|
|
527
767
|
- Prerelease publish: `npm publish --access public --tag <lane>`
|
|
528
768
|
8. Verify publish state with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
769
|
+
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
770
|
|
|
530
771
|
Provenance note:
|
|
531
772
|
- `npm publish --provenance` requires a supported cloud CI/CD provider
|
|
@@ -547,7 +788,7 @@ Release automation:
|
|
|
547
788
|
<table>
|
|
548
789
|
<tr>
|
|
549
790
|
<td><strong>Included</strong></td>
|
|
550
|
-
<td><code>bin/</code>, <code>skills/</code>, <code>docs/</code>, <code>scripts/</code>, <code>index.js</code>, <code>README.md</code>, <code>LICENSE</code></td>
|
|
791
|
+
<td><code>bin/</code>, <code>skills/</code>, <code>docs/</code>, <code>data/</code>, <code>scripts/</code>, <code>index.js</code>, <code>README.md</code>, <code>DEMO.md</code>, <code>COVERAGE.md</code>, <code>LICENSE</code></td>
|
|
551
792
|
</tr>
|
|
552
793
|
<tr>
|
|
553
794
|
<td><strong>Excluded</strong></td>
|
|
@@ -557,6 +798,9 @@ Release automation:
|
|
|
557
798
|
|
|
558
799
|
## Repository Structure
|
|
559
800
|
|
|
801
|
+
> [!NOTE]
|
|
802
|
+
> The repository is split by responsibility: runtime prompts, public skills, plugin distribution, docs, MCP evidence config, and release tooling stay in separate folders.
|
|
803
|
+
|
|
560
804
|
<table>
|
|
561
805
|
<tr>
|
|
562
806
|
<td><strong>Path</strong></td>
|
|
@@ -598,6 +842,9 @@ Release automation:
|
|
|
598
842
|
|
|
599
843
|
## Documentation
|
|
600
844
|
|
|
845
|
+
<details open>
|
|
846
|
+
<summary><strong>Primary docs and evidence surfaces</strong></summary>
|
|
847
|
+
|
|
601
848
|
| Surface | Purpose |
|
|
602
849
|
| --- | --- |
|
|
603
850
|
| [Getting Started](./docs/getting-started.md) | end-to-end local onboarding |
|
|
@@ -606,9 +853,12 @@ Release automation:
|
|
|
606
853
|
| [Skills Publishing](./docs/skills-publishing.md) | source-to-package pipeline |
|
|
607
854
|
| [MCP Setup](./docs/mcp-setup.md) | evidence endpoint policy |
|
|
608
855
|
| [Plugin README](./plugins/meta-architect/README.md) | plugin distribution surface |
|
|
609
|
-
| [
|
|
856
|
+
| [Production Demo Guide](./DEMO.md) | real MA release-hardening walkthrough |
|
|
857
|
+
| [Coverage Matrix](./COVERAGE.md) | current verified capability and package proof map |
|
|
610
858
|
| [Release Spec](./docs/release-spec.md) | release and gate policy |
|
|
611
|
-
| [Release Readiness](./docs/qa/release-readiness-0.1.
|
|
859
|
+
| [Release Readiness](./docs/qa/release-readiness-0.1.13.md) | QA evidence for the `v0.1.13` line |
|
|
860
|
+
|
|
861
|
+
</details>
|
|
612
862
|
|
|
613
863
|
## Release Hygiene
|
|
614
864
|
|