@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
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Release Readiness 0.1.13
|
|
2
|
+
|
|
3
|
+
## Production bar
|
|
4
|
+
|
|
5
|
+
`v0.1.13` is treated as production only when:
|
|
6
|
+
- the package installs cleanly from the canonical public install command
|
|
7
|
+
- the Codex-hosted runtime path works end to end
|
|
8
|
+
- the helper flow remains valid for scripted verification
|
|
9
|
+
- the singular `$maestro` umbrella and helper-skill contract stay coherent
|
|
10
|
+
- release docs, package metadata, and workflows all agree on `0.1.13`
|
|
11
|
+
|
|
12
|
+
Target release state:
|
|
13
|
+
- npm package: `@jstn-sdk/ma@0.1.13`
|
|
14
|
+
- npm registry state: pending publish
|
|
15
|
+
- publishability note: `0.1.12` is already published, so `0.1.13` is the next publishable package line
|
|
16
|
+
- git tag: `v0.1.13`
|
|
17
|
+
- GitHub release: pending publish for `v0.1.13`
|
|
18
|
+
|
|
19
|
+
## Production checklist
|
|
20
|
+
|
|
21
|
+
- skills-first product identity: PASS
|
|
22
|
+
- package/plugin identity aligned to `@jstn-sdk/ma`: PASS
|
|
23
|
+
- version/tag alignment `0.1.13` / `v0.1.13`: PASS
|
|
24
|
+
- install/uninstall docs aligned: PASS
|
|
25
|
+
- onboarding is concise and sequential: PASS
|
|
26
|
+
- helper command documented as secondary: PASS
|
|
27
|
+
- skills/prompts/manifests aligned: PASS
|
|
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
|
|
33
|
+
- tests pass: PASS
|
|
34
|
+
- package dry-run passes: PASS
|
|
35
|
+
- installed-package behavior passes: PASS
|
|
36
|
+
- workflow/release/provenance docs aligned: PASS
|
|
37
|
+
- no stale package names remain in tracked repo surfaces: PASS
|
|
38
|
+
- no conflicting CLI-first product story remains in tracked product docs: PASS
|
|
39
|
+
- issue proof gates for `v0.1.13`: PASS; `release-issue-gates-0.1.13.json` marks issues `#13-#29` passed with implementation, verification, and production evidence, so release verification can enforce the gate artifact instead of blocking on pending issue states
|
|
40
|
+
|
|
41
|
+
## Automated checks run
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm run release:check
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
That must cover:
|
|
48
|
+
- skills manifest generation
|
|
49
|
+
- skill validation
|
|
50
|
+
- skill bundle packaging
|
|
51
|
+
- repo checks
|
|
52
|
+
- automated tests
|
|
53
|
+
- npm package dry-run inspection
|
|
54
|
+
|
|
55
|
+
Linux-native release lane:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm run linux:packages:build
|
|
59
|
+
npm run linux:packages:smoke
|
|
60
|
+
npm run release:assets
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
That should prove:
|
|
64
|
+
- the Debian-family, Arch-family, and Fedora/openSUSE-style package artifacts are produced
|
|
65
|
+
- the extracted package payload exposes a working `ma` command
|
|
66
|
+
- the GitHub release asset set is complete
|
|
67
|
+
- the packaged support bundle contains the playbooks and reference assets expected by the runtime
|
|
68
|
+
|
|
69
|
+
## Issue proof gates
|
|
70
|
+
|
|
71
|
+
Issue gate artifact:
|
|
72
|
+
|
|
73
|
+
```text
|
|
74
|
+
docs/qa/release-issue-gates-0.1.13.json
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Every open issue assigned to `v0.1.13` must remain in this file until it is production-passed. A passed issue requires:
|
|
78
|
+
- implementation evidence
|
|
79
|
+
- verification evidence
|
|
80
|
+
- production evidence
|
|
81
|
+
|
|
82
|
+
If any issue is `pending`, `in_progress`, `blocked`, or `failed`, `npm run release:verify` must fail and the issue must continue through its recorded loop action.
|
|
83
|
+
|
|
84
|
+
## Manual/behavioral checks run
|
|
85
|
+
|
|
86
|
+
Canonical launch:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
ma --madmax --high
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Helper-path validation:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
ma setup
|
|
96
|
+
ma idea "Harden Meta-Architect v0.1.13 semantic core with Obsidian vault context, Ralph execution proof, context economy, and package-gated release evidence"
|
|
97
|
+
ma run '$arch'
|
|
98
|
+
ma run '$sage'
|
|
99
|
+
ma run '$flow'
|
|
100
|
+
ma run '$vet'
|
|
101
|
+
ma run '$vibe'
|
|
102
|
+
ma status
|
|
103
|
+
ma run '$build'
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Expected evidence:
|
|
107
|
+
- `.ma/release.json` remains the source of truth
|
|
108
|
+
- `.ma/decisions.json` records the helper-path activity
|
|
109
|
+
- `$maestro` remains the only umbrella surface
|
|
110
|
+
- helper skills remain non-gating
|
|
111
|
+
- `$build` stays blocked until upstream gates are green, then becomes ready
|
|
112
|
+
|
|
113
|
+
## Known limitations
|
|
114
|
+
|
|
115
|
+
- interactive Codex conversation quality depends on the installed Codex host
|
|
116
|
+
- release publication still depends on npm ownership/authorization for the target package name
|
|
@@ -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,27 @@
|
|
|
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.
|
|
22
|
+
|
|
23
|
+
## Adversarial hardening
|
|
24
|
+
|
|
25
|
+
- For higher-risk changes, run a bounded adversarial hardening pass before final approval.
|
|
26
|
+
- Keep the hardening work inside the private scratchpad/runtime layer.
|
|
27
|
+
- Return structured findings, not direct gate mutations.
|
|
@@ -0,0 +1,27 @@
|
|
|
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`
|
|
22
|
+
|
|
23
|
+
## Evidence grades
|
|
24
|
+
|
|
25
|
+
- `VERIFIED`: exact upstream mapping plus primary-source confirmation
|
|
26
|
+
- `PARTIAL`: candidate is mapped, but live proof or maturity proof is incomplete
|
|
27
|
+
- `MISSING`: no trustworthy exact upstream mapping yet
|
|
@@ -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.
|
package/docs/release-spec.md
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
# v0.1.
|
|
1
|
+
# v0.1.13 Requirements & Rules
|
|
2
2
|
|
|
3
3
|
## Production definition
|
|
4
4
|
|
|
5
|
-
Meta-Architect `v0.1.
|
|
5
|
+
Meta-Architect `v0.1.13` 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.
|
|
10
|
+
## What `v0.1.13` must have
|
|
11
11
|
|
|
12
12
|
### 1. Canonical package/runtime path
|
|
13
13
|
|
|
14
|
+
- recommended POSIX one-line install: `curl -fsSL https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@main/scripts/install.sh | sh`
|
|
14
15
|
- install: `npm i -g @openai/codex@latest @jstn-sdk/ma@latest`
|
|
15
16
|
- optional helper launch: `ma --madmax --high`
|
|
16
17
|
- uninstall Meta-Architect only: `npm uninstall -g @jstn-sdk/ma`
|
|
@@ -49,12 +50,19 @@ Canonical state files:
|
|
|
49
50
|
|
|
50
51
|
### 4. Required release evidence
|
|
51
52
|
|
|
52
|
-
- `package.json` version `0.1.
|
|
53
|
-
- git tag `v0.1.
|
|
53
|
+
- `package.json` version `0.1.13`
|
|
54
|
+
- git tag `v0.1.13`
|
|
54
55
|
- `RELEASE.md`
|
|
55
56
|
- `CHANGELOG.md`
|
|
56
|
-
- `docs/qa/release-readiness-0.1.
|
|
57
|
+
- `docs/qa/release-readiness-0.1.13.md`
|
|
58
|
+
- `docs/qa/release-issue-gates-0.1.13.json`
|
|
57
59
|
- green `npm run release:check`
|
|
60
|
+
- GitHub release asset `meta-architect_0.1.13_all.deb`
|
|
61
|
+
- GitHub release asset `meta-architect-0.1.13-1-any.pkg.tar.xz`
|
|
62
|
+
- GitHub release asset `meta-architect-0.1.13-1.noarch.rpm`
|
|
63
|
+
- green `npm run linux:packages:build`
|
|
64
|
+
- green `npm run linux:packages:smoke`
|
|
65
|
+
- green `npm run release:assets`
|
|
58
66
|
|
|
59
67
|
### 5. Dist-tag discipline
|
|
60
68
|
|
|
@@ -72,12 +80,17 @@ Canonical state files:
|
|
|
72
80
|
4. Update `docs/qa/release-readiness-<version>.md`
|
|
73
81
|
5. Run `npm run release:verify`
|
|
74
82
|
6. Run `npm run release:check`
|
|
75
|
-
7.
|
|
76
|
-
|
|
77
|
-
|
|
83
|
+
7. Build and smoke-check the Linux native packages on Linux:
|
|
84
|
+
- `npm run linux:packages:build`
|
|
85
|
+
- `npm run linux:packages:smoke`
|
|
86
|
+
- `npm run release:assets`
|
|
87
|
+
8. Create and push tag `v<version>`
|
|
88
|
+
9. Preferred publish path: publish from `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
89
|
+
10. Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
|
|
78
90
|
- Stable publish: `npm publish --access public`
|
|
79
91
|
- Prerelease publish: `npm publish --access public --tag <lane>`
|
|
80
|
-
|
|
92
|
+
11. Verify dist-tags with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
93
|
+
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
94
|
|
|
82
95
|
### 6.1 Release automation
|
|
83
96
|
|
|
@@ -86,6 +99,20 @@ Canonical state files:
|
|
|
86
99
|
- `.github/workflows/release-sync.yml` automates the sync path on `main`
|
|
87
100
|
- `.github/workflows/release-advance.yml` advances the repo to the next patch line after a published release
|
|
88
101
|
|
|
102
|
+
### 6.2 Issue proof gates
|
|
103
|
+
|
|
104
|
+
Every open next-release issue must be represented in `docs/qa/release-issue-gates-0.1.13.json`.
|
|
105
|
+
|
|
106
|
+
Production pass rule:
|
|
107
|
+
- issue status must be `passed`
|
|
108
|
+
- issue milestone must match `v0.1.13`
|
|
109
|
+
- implementation evidence must be present
|
|
110
|
+
- verification evidence must be present
|
|
111
|
+
- production evidence must be present
|
|
112
|
+
- pending, blocked, failed, or in-progress issues must continue through their loop action instead of being treated as release-ready
|
|
113
|
+
|
|
114
|
+
`npm run release:verify` enforces this file. If any issue is not production-passed, the release remains blocked.
|
|
115
|
+
|
|
89
116
|
### 7. Provenance rule
|
|
90
117
|
|
|
91
118
|
- `npm publish --provenance` is valid only from a supported cloud CI/CD provider
|
|
@@ -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
|
-
- `
|
|
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,18 +1,24 @@
|
|
|
1
1
|
# Skills
|
|
2
2
|
|
|
3
|
-
Meta-Architect
|
|
4
|
-
|
|
5
|
-
- `$
|
|
6
|
-
- `$sage`
|
|
7
|
-
- `$
|
|
8
|
-
|
|
9
|
-
- `$
|
|
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
|
|
|
14
13
|
Install the package once, start Codex context if needed, and use the skills directly in-session.
|
|
15
14
|
|
|
15
|
+
Recommended CLI install for macOS, Linux, WSL, and Git-Bash:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# One-line install (POSIX shells only; use WSL/Git-Bash on Windows)
|
|
19
|
+
curl -fsSL https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@main/scripts/install.sh | sh
|
|
20
|
+
```
|
|
21
|
+
|
|
16
22
|
```bash
|
|
17
23
|
# Install
|
|
18
24
|
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
@@ -28,11 +34,12 @@ npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
|
28
34
|
```
|
|
29
35
|
|
|
30
36
|
Then inside the Codex session:
|
|
31
|
-
1. Start with `$maestro` when you want Meta-Architect to
|
|
37
|
+
1. Start with `$maestro` when you want Meta-Architect to act as the bounded autonomous manager for the workflow
|
|
32
38
|
2. Or start with `$arch` when you already know the architecture lane is next
|
|
33
39
|
3. Continue through `$sage -> $flow -> $vet -> $vibe -> $build`
|
|
40
|
+
4. Use `$align`, `$diagnose`, `$tdd`, or `$cleanup` only as publishable non-gating helper skills around that gated path
|
|
34
41
|
|
|
35
|
-
##
|
|
42
|
+
## Two surfaces
|
|
36
43
|
|
|
37
44
|
Meta-Architect has two surfaces:
|
|
38
45
|
|
|
@@ -46,7 +53,10 @@ ma setup
|
|
|
46
53
|
ma init
|
|
47
54
|
ma idea "Build a product"
|
|
48
55
|
ma status
|
|
56
|
+
ma status --maestro-view
|
|
57
|
+
ma verify --architect
|
|
49
58
|
ma run '$arch'
|
|
59
|
+
ma run '$maestro' --auto-heal --parallel
|
|
50
60
|
```
|
|
51
61
|
|
|
52
62
|
In-session skills are used inside the Codex conversation:
|
|
@@ -59,6 +69,10 @@ $flow
|
|
|
59
69
|
$vet
|
|
60
70
|
$vibe
|
|
61
71
|
$build
|
|
72
|
+
$align
|
|
73
|
+
$diagnose
|
|
74
|
+
$tdd
|
|
75
|
+
$cleanup
|
|
62
76
|
```
|
|
63
77
|
|
|
64
78
|
Short rule:
|
|
@@ -70,6 +84,13 @@ Important:
|
|
|
70
84
|
- they only create local support files
|
|
71
85
|
- they do not replace the in-session skill flow
|
|
72
86
|
|
|
87
|
+
Manager contract:
|
|
88
|
+
- `$maestro` is the only umbrella in-session surface
|
|
89
|
+
- `$maestro` manages the next allowed step, but gated outputs still belong to `$arch -> $sage -> $flow -> $vet -> $vibe -> $build`
|
|
90
|
+
- helper skills are publishable mirrors that can assist a lane, but they do not move release gates
|
|
91
|
+
- `ma run '$maestro' --auto-heal --parallel` enables the bounded runtime repair path and records conductor state in the private scratchpad layer when eligible
|
|
92
|
+
- `ma verify --architect` runs an external architect reviewer command when `MA_ARCHITECT_REVIEW_CMD` is configured
|
|
93
|
+
|
|
73
94
|
## Installed support bundle
|
|
74
95
|
|
|
75
96
|
Meta-Architect also installs a standard packaged support bundle for relevant files.
|
|
@@ -95,6 +116,8 @@ Relevant packaged assets there include:
|
|
|
95
116
|
- `scripts/`
|
|
96
117
|
- `plugins/meta-architect/`
|
|
97
118
|
- `templates/`
|
|
119
|
+
- native skill references such as `skills/maestro/references/`, `skills/sage/references/`, `skills/vet/references/`, `skills/align/references/`, and `skills/cleanup/references/`
|
|
120
|
+
- runtime scratchpad state such as `.ma/state/manager-runs.json` and `.ma/state/maestro-state.json` when local execution is active
|
|
98
121
|
|
|
99
122
|
This exists so Meta-Architect can use relevant packaged files without guessing paths.
|
|
100
123
|
|
|
@@ -109,7 +132,7 @@ Every skill result must include:
|
|
|
109
132
|
|
|
110
133
|
## Status ownership
|
|
111
134
|
|
|
112
|
-
- `$maestro` -> next-step recommendation
|
|
135
|
+
- `$maestro` -> umbrella workflow management, next-step recommendation, and bounded helper/gate handoff
|
|
113
136
|
- project brief -> architecture input
|
|
114
137
|
- `$arch` -> `architecture_status`
|
|
115
138
|
- `$sage` -> `evidence_status`
|
|
@@ -118,6 +141,8 @@ Every skill result must include:
|
|
|
118
141
|
- `$vibe` -> `experience_status`
|
|
119
142
|
- `$build` -> `build_status`
|
|
120
143
|
|
|
144
|
+
`$maestro` may dispatch a gated lane, but it does not own that lane's artifact or release-state field. 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.
|
|
145
|
+
|
|
121
146
|
## Operator note
|
|
122
147
|
|
|
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.
|
|
148
|
+
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.
|