@jstn-sdk/ma 0.1.12 → 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/.agents/plugins/marketplace.json +0 -0
- 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 +159 -16
- package/bin/ma.js +219 -14
- 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 +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 +38 -22
- package/docs/installed-sdk.md +0 -0
- package/docs/mcp-setup.md +35 -0
- 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.12.md → release-readiness-0.1.13.md} +25 -9
- package/docs/qa/release-readiness-0.1.5.md +1 -1
- package/docs/reference/native-engineering-patterns.md +0 -0
- package/docs/reference/native-security-playbooks.md +6 -0
- package/docs/reference/native-source-selection.md +6 -0
- package/docs/reference/native-style-and-deslop.md +0 -0
- package/docs/release-spec.md +25 -9
- package/docs/skills.md +14 -1
- package/index.js +222 -2
- package/mcp/collections.json +23 -6
- package/mcp/local/code-intel.js +0 -0
- package/mcp/local/memory.js +0 -0
- package/mcp/local/playbooks.js +0 -0
- package/mcp/local/state.js +0 -0
- package/mcp/local/team-run.js +48 -1
- package/mcp/local/trace.js +0 -0
- package/mcp/local-capabilities.json +0 -0
- package/mcp/native-playbooks.json +0 -0
- package/mcp/servers.json +24 -0
- package/package.json +5 -2
- package/plugins/meta-architect/.app.json +1 -1
- package/plugins/meta-architect/.codex-plugin/plugin.json +1 -1
- package/plugins/meta-architect/.mcp.json +1 -1
- package/plugins/meta-architect/README.md +8 -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 +0 -0
- package/plugins/meta-architect/skills/align/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/align/references/shared-language.md +0 -0
- package/plugins/meta-architect/skills/arch/SKILL.md +2 -0
- package/plugins/meta-architect/skills/arch/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/build/SKILL.md +3 -0
- package/plugins/meta-architect/skills/build/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/cleanup/SKILL.md +0 -0
- package/plugins/meta-architect/skills/cleanup/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/cleanup/references/style-and-deslop.md +0 -0
- package/plugins/meta-architect/skills/diagnose/SKILL.md +0 -0
- package/plugins/meta-architect/skills/diagnose/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/flow/SKILL.md +2 -0
- package/plugins/meta-architect/skills/flow/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/maestro/SKILL.md +0 -0
- package/plugins/meta-architect/skills/maestro/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/maestro/references/core-release-rules.md +0 -0
- package/plugins/meta-architect/skills/maestro/references/native-ingest-map.md +0 -0
- package/plugins/meta-architect/skills/sage/SKILL.md +2 -0
- package/plugins/meta-architect/skills/sage/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/sage/references/source-selection.md +8 -0
- package/plugins/meta-architect/skills/tdd/SKILL.md +0 -0
- package/plugins/meta-architect/skills/tdd/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/vet/SKILL.md +2 -0
- package/plugins/meta-architect/skills/vet/agents/openai.yaml +0 -0
- package/plugins/meta-architect/skills/vet/references/security-playbooks.md +7 -0
- package/plugins/meta-architect/skills/vibe/SKILL.md +2 -0
- package/plugins/meta-architect/skills/vibe/agents/openai.yaml +0 -0
- package/scripts/active-autonomy-hook.mjs +96 -0
- package/scripts/biome-staged.js +0 -0
- package/scripts/build-linux-packages.mjs +0 -0
- package/scripts/doctor.js +17 -4
- package/scripts/install.sh +28 -0
- package/scripts/linux-package-lib.mjs +0 -0
- package/scripts/linux-package-smoke.mjs +0 -0
- package/scripts/plugin-sync.js +0 -0
- package/scripts/postinstall.js +0 -0
- package/scripts/ralph/prompt.md +35 -0
- package/scripts/release-metadata.js +0 -0
- package/scripts/release-sync.js +0 -0
- package/scripts/release-verify.js +166 -1
- package/scripts/setup-npmrc.js +0 -0
- package/skills/align/SKILL.md +0 -0
- package/skills/align/agents/openai.yaml +0 -0
- package/skills/align/references/shared-language.md +0 -0
- package/skills/arch/SKILL.md +2 -0
- package/skills/arch/agents/openai.yaml +0 -0
- package/skills/build/SKILL.md +3 -0
- package/skills/build/agents/openai.yaml +0 -0
- package/skills/cleanup/SKILL.md +0 -0
- package/skills/cleanup/agents/openai.yaml +0 -0
- package/skills/cleanup/references/style-and-deslop.md +0 -0
- package/skills/diagnose/SKILL.md +0 -0
- package/skills/diagnose/agents/openai.yaml +0 -0
- package/skills/flow/SKILL.md +2 -0
- package/skills/flow/agents/openai.yaml +0 -0
- package/skills/maestro/SKILL.md +0 -0
- package/skills/maestro/agents/openai.yaml +0 -0
- package/skills/maestro/references/core-release-rules.md +0 -0
- package/skills/maestro/references/native-ingest-map.md +0 -0
- package/skills/sage/SKILL.md +2 -0
- package/skills/sage/agents/openai.yaml +0 -0
- package/skills/sage/references/source-selection.md +8 -0
- package/skills/tdd/SKILL.md +0 -0
- package/skills/tdd/agents/openai.yaml +0 -0
- package/skills/vet/SKILL.md +2 -0
- package/skills/vet/agents/openai.yaml +0 -0
- package/skills/vet/references/security-playbooks.md +7 -0
- package/skills/vibe/SKILL.md +2 -0
- package/skills/vibe/agents/openai.yaml +0 -0
- package/src/bootstrap.js +17 -0
- package/src/build-gate.js +2 -2
- package/src/launcher.js +4 -0
- package/src/mcp-live-client.js +289 -3
- package/src/paths.js +4 -0
- package/src/policy.js +1 -1
- package/src/release-issue-gates.js +190 -0
- 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 +28 -4
- package/src/runtime/code-graph-rehearse.js +113 -0
- package/src/runtime/context-economy-core.js +276 -0
- package/src/runtime/continuity-notes.js +0 -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 +0 -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 +19 -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 +0 -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 +843 -2
- package/src/runtime/semantic-recording-core.js +147 -0
- package/src/runtime/signal-hooks.js +15 -0
- package/src/runtime/skills-registry-export.js +670 -0
- package/src/runtime/startup-path.js +0 -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 +0 -0
- package/src/runtime-artifacts.js +225 -62
- package/src/skill-installer.js +0 -0
- package/src/skills.js +876 -84
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"record_type": "clone_data_proof",
|
|
4
|
+
"product": "Meta-Architect",
|
|
5
|
+
"package": "@jstn-sdk/ma",
|
|
6
|
+
"release_version": "0.1.13",
|
|
7
|
+
"records_as": "production_evidence",
|
|
8
|
+
"build_evidence": true,
|
|
9
|
+
"subject": "clone data install and package proof contract",
|
|
10
|
+
"claims": [
|
|
11
|
+
{
|
|
12
|
+
"id": "jsdelivr_posix_installer",
|
|
13
|
+
"claim": "The recommended POSIX CLI install path is backed by a repository script addressable through jsDelivr.",
|
|
14
|
+
"evidence": [
|
|
15
|
+
"scripts/install.sh",
|
|
16
|
+
"README.md",
|
|
17
|
+
"docs/getting-started.md",
|
|
18
|
+
"docs/onboarding.md",
|
|
19
|
+
"docs/skills.md",
|
|
20
|
+
"plugins/meta-architect/README.md",
|
|
21
|
+
"docs/release-spec.md"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "clone_data_artifacts",
|
|
26
|
+
"claim": "Clone-data proof, ledger, and RVF artifacts exist as package-visible data files.",
|
|
27
|
+
"evidence": [
|
|
28
|
+
"data/clone-data.proof.json",
|
|
29
|
+
"data/clone-data.ledger.json",
|
|
30
|
+
"data/clone-data.rvf",
|
|
31
|
+
"package.json files includes data/"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "release_gate_contract",
|
|
36
|
+
"claim": "Release verification must preserve the jsDelivr installer and canonical npm install command in public install docs.",
|
|
37
|
+
"evidence": ["scripts/release-verify.js", "npm run release:check"]
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"verification_commands": [
|
|
41
|
+
"sh -n scripts/install.sh",
|
|
42
|
+
"node scripts/release-verify.js",
|
|
43
|
+
"node --test test/clone-data-artifacts.test.js",
|
|
44
|
+
"npm run release:check"
|
|
45
|
+
],
|
|
46
|
+
"authority_boundary": {
|
|
47
|
+
"may_mutate_release_state": false,
|
|
48
|
+
"authoritative_changes_return_through": "$maestro_or_owning_lane"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Clone Data RVF
|
|
2
|
+
|
|
3
|
+
schemaVersion: 1.0.0
|
|
4
|
+
record_type: clone_data_runtime_verification_file
|
|
5
|
+
product: Meta-Architect
|
|
6
|
+
package: @jstn-sdk/ma
|
|
7
|
+
release_version: 0.1.13
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
This RVF defines the pass criteria for the clone-data proof and ledger artifacts.
|
|
12
|
+
|
|
13
|
+
## Required Artifacts
|
|
14
|
+
|
|
15
|
+
- `data/clone-data.proof.json`
|
|
16
|
+
- `data/clone-data.ledger.json`
|
|
17
|
+
- `data/clone-data.rvf`
|
|
18
|
+
|
|
19
|
+
## Pass Criteria
|
|
20
|
+
|
|
21
|
+
- Proof JSON has `record_type: clone_data_proof`.
|
|
22
|
+
- Ledger JSON has `record_type: clone_data_ledger`.
|
|
23
|
+
- Both JSON files use `schemaVersion: 1.0.0`.
|
|
24
|
+
- Both JSON files record as `production_evidence`.
|
|
25
|
+
- Ledger entries reference all required clone-data artifacts.
|
|
26
|
+
- `package.json` includes `data/` so clone-data artifacts are visible in package dry-runs.
|
|
27
|
+
- `scripts/install.sh` remains POSIX-shell syntax valid.
|
|
28
|
+
- Public install docs preserve the jsDelivr one-line installer.
|
|
29
|
+
|
|
30
|
+
## Verification Commands
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
sh -n scripts/install.sh
|
|
34
|
+
node scripts/release-verify.js
|
|
35
|
+
node --test test/clone-data-artifacts.test.js
|
|
36
|
+
npm run release:check
|
|
37
|
+
```
|
package/docs/README.md
CHANGED
|
@@ -5,6 +5,8 @@ Meta-Architect documentation is organized by operator task.
|
|
|
5
5
|
## Start here
|
|
6
6
|
|
|
7
7
|
- [Getting Started](./getting-started.md)
|
|
8
|
+
- [Production Demo Guide](../DEMO.md)
|
|
9
|
+
- [Coverage Matrix](../COVERAGE.md)
|
|
8
10
|
- [Release Spec](./release-spec.md)
|
|
9
11
|
- [Skills Reference](./skills.md)
|
|
10
12
|
- umbrella, gated lanes, and helper skill distinctions live in the Skills Reference
|
|
@@ -20,7 +22,8 @@ Meta-Architect documentation is organized by operator task.
|
|
|
20
22
|
|
|
21
23
|
## QA and readiness
|
|
22
24
|
|
|
23
|
-
- [Release Readiness 0.1.
|
|
25
|
+
- [Release Readiness 0.1.13](./qa/release-readiness-0.1.13.md)
|
|
26
|
+
- [Release Issue Gates 0.1.13](./qa/release-issue-gates-0.1.13.json)
|
|
24
27
|
|
|
25
28
|
## Repo structure references
|
|
26
29
|
|
|
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
|
package/docs/getting-started.md
CHANGED
|
@@ -22,6 +22,15 @@ By the end of this guide you should be able to:
|
|
|
22
22
|
|
|
23
23
|
## 1. Default install and launch
|
|
24
24
|
|
|
25
|
+
Recommended CLI install for macOS, Linux, WSL, and Git-Bash:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# One-line install (POSIX shells only; use WSL/Git-Bash on Windows)
|
|
29
|
+
curl -fsSL https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@main/scripts/install.sh | sh
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The jsDelivr installer runs `npm i -g @openai/codex@latest @jstn-sdk/ma@latest`, then `ma setup`.
|
|
33
|
+
|
|
25
34
|
Debian-family install:
|
|
26
35
|
|
|
27
36
|
```bash
|
|
@@ -56,7 +65,7 @@ npm uninstall -g @jstn-sdk/ma
|
|
|
56
65
|
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
57
66
|
```
|
|
58
67
|
|
|
59
|
-
Linux-native distro packages
|
|
68
|
+
The jsDelivr CLI installer is the recommended quick-start path for POSIX shells. Linux-native distro packages remain supported release assets, and the npm path remains the canonical package install underneath the installer. The product experience is still the in-session skill workflow in [example/usage-workflow.md](../example/usage-workflow.md). The `ma` command is only a helper for starting or supporting that flow.
|
|
60
69
|
|
|
61
70
|
## 2. Real usage workflow
|
|
62
71
|
|
|
@@ -92,7 +101,7 @@ Required output:
|
|
|
92
101
|
5. Data model and storage choices
|
|
93
102
|
6. Auth/security considerations
|
|
94
103
|
7. DX/UX considerations
|
|
95
|
-
8. Delivery plan for v0.1.
|
|
104
|
+
8. Delivery plan for v0.1.13
|
|
96
105
|
9. Risks and trade-offs
|
|
97
106
|
10. Decision log
|
|
98
107
|
11. Exact next trigger to run after this
|
|
@@ -282,7 +291,7 @@ See [docs/mcp-setup.md](./mcp-setup.md) for endpoint policy and evidence semanti
|
|
|
282
291
|
## 6. Secondary helper flow
|
|
283
292
|
|
|
284
293
|
```bash
|
|
285
|
-
ma idea "
|
|
294
|
+
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."
|
|
286
295
|
```
|
|
287
296
|
|
|
288
297
|
Expected effects:
|
|
@@ -295,7 +304,7 @@ If this fails:
|
|
|
295
304
|
|
|
296
305
|
## 7. Run the helper skill sequence
|
|
297
306
|
|
|
298
|
-
###
|
|
307
|
+
### 7.1 Autonomous manager
|
|
299
308
|
|
|
300
309
|
```bash
|
|
301
310
|
ma run '$maestro'
|
|
@@ -320,7 +329,7 @@ Optional non-gating helper skills that can run before or between gated lanes:
|
|
|
320
329
|
- `$tdd` for regression-first execution setup
|
|
321
330
|
- `$cleanup` for simplification and final-pass polish
|
|
322
331
|
|
|
323
|
-
###
|
|
332
|
+
### 7.2 Architecture
|
|
324
333
|
|
|
325
334
|
```bash
|
|
326
335
|
ma run '$arch'
|
|
@@ -337,7 +346,7 @@ Generated or updated:
|
|
|
337
346
|
- `.ma/specs/architecture.md`
|
|
338
347
|
- `.ma/plans/implementation.md`
|
|
339
348
|
|
|
340
|
-
###
|
|
349
|
+
### 7.3 Evidence
|
|
341
350
|
|
|
342
351
|
```bash
|
|
343
352
|
ma run '$sage'
|
|
@@ -366,7 +375,7 @@ If this fails:
|
|
|
366
375
|
- verify network access
|
|
367
376
|
- rerun after correcting the endpoint or environment
|
|
368
377
|
|
|
369
|
-
###
|
|
378
|
+
### 7.4 Logic
|
|
370
379
|
|
|
371
380
|
```bash
|
|
372
381
|
ma run '$flow'
|
|
@@ -380,7 +389,7 @@ Expected effects:
|
|
|
380
389
|
Generated or updated:
|
|
381
390
|
- `.ma/specs/logic.md`
|
|
382
391
|
|
|
383
|
-
### 5
|
|
392
|
+
### 7.5 Security
|
|
384
393
|
|
|
385
394
|
```bash
|
|
386
395
|
ma run '$vet'
|
|
@@ -394,7 +403,7 @@ Expected effects:
|
|
|
394
403
|
Generated or updated:
|
|
395
404
|
- `.ma/specs/security.md`
|
|
396
405
|
|
|
397
|
-
###
|
|
406
|
+
### 7.6 Experience
|
|
398
407
|
|
|
399
408
|
```bash
|
|
400
409
|
ma run '$vibe'
|
|
@@ -463,11 +472,11 @@ If `$build` fails:
|
|
|
463
472
|
- fix the corresponding upstream lane
|
|
464
473
|
- rerun that lane, then rerun `$build`
|
|
465
474
|
|
|
466
|
-
## 10. Example walkthrough:
|
|
475
|
+
## 10. Example walkthrough: MA release hardening
|
|
467
476
|
|
|
468
477
|
```bash
|
|
469
478
|
ma setup
|
|
470
|
-
ma idea "
|
|
479
|
+
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."
|
|
471
480
|
ma run '$arch'
|
|
472
481
|
ma run '$sage'
|
|
473
482
|
ma run '$flow'
|
|
@@ -480,17 +489,17 @@ ma run '$build'
|
|
|
480
489
|
If you want an interactive Codex session during the walkthrough, start it separately with `ma`.
|
|
481
490
|
|
|
482
491
|
What should happen:
|
|
483
|
-
- `$arch` records
|
|
484
|
-
- `$sage` binds
|
|
485
|
-
- `$flow` records
|
|
486
|
-
- `$vet` records
|
|
487
|
-
- `$vibe` records
|
|
488
|
-
- `$build` suggests bounded
|
|
492
|
+
- `$arch` records the architecture and release-hardening blueprint
|
|
493
|
+
- `$sage` binds package, Obsidian, prompt-strategy, and MCP choices to configured evidence sources
|
|
494
|
+
- `$flow` records state-transition and gate-order review
|
|
495
|
+
- `$vet` records security, package exposure, and provider-bound context review
|
|
496
|
+
- `$vibe` records operator/demo/docs usability guidance
|
|
497
|
+
- `$build` suggests bounded implementation and verification branches after gates pass
|
|
489
498
|
|
|
490
|
-
|
|
491
|
-
- [
|
|
499
|
+
Canonical demo reference:
|
|
500
|
+
- [DEMO.md](../DEMO.md)
|
|
492
501
|
|
|
493
|
-
##
|
|
502
|
+
## 11. Merge and release path
|
|
494
503
|
|
|
495
504
|
After implementation work is complete:
|
|
496
505
|
|
|
@@ -507,7 +516,7 @@ Expected effects:
|
|
|
507
516
|
- `merge_status = MERGED_TO_DEVELOPMENT`
|
|
508
517
|
- `release_status = SHIPPED_TO_PROD`
|
|
509
518
|
|
|
510
|
-
##
|
|
519
|
+
## 12. Files generated or updated during a normal run
|
|
511
520
|
|
|
512
521
|
- `.ma/decisions.json`
|
|
513
522
|
- `.ma/release.json`
|
|
@@ -516,6 +525,13 @@ Expected effects:
|
|
|
516
525
|
- `.ma/evidence/cves.json`
|
|
517
526
|
- `.ma/evidence/outcomes.json`
|
|
518
527
|
- `.ma/context/project.md`
|
|
528
|
+
- `.ma/context/recording-core.json`
|
|
529
|
+
- `.ma/context/learning-loop-core.json`
|
|
530
|
+
- `.ma/context/workspace-context-pack.json`
|
|
531
|
+
- `.ma/context/workspace-effectiveness.json`
|
|
532
|
+
- `.ma/context/prompt-strategy-core.json`
|
|
533
|
+
- `.ma/context/context-economy-core.json`
|
|
534
|
+
- `.ma/context/obsidian-bridge.json`
|
|
519
535
|
- `.ma/specs/architecture.md`
|
|
520
536
|
- `.ma/specs/evidence.md`
|
|
521
537
|
- `.ma/specs/logic.md`
|
|
@@ -527,7 +543,7 @@ Expected effects:
|
|
|
527
543
|
|
|
528
544
|
These are local product artifacts created by the runtime. They are not a reason to bypass gate logic manually.
|
|
529
545
|
|
|
530
|
-
##
|
|
546
|
+
## 13. If a gate fails
|
|
531
547
|
|
|
532
548
|
Rule:
|
|
533
549
|
- do not edit statuses manually
|
package/docs/installed-sdk.md
CHANGED
|
File without changes
|
package/docs/mcp-setup.md
CHANGED
|
@@ -69,9 +69,44 @@ To move from discovery to VERIFIED evidence:
|
|
|
69
69
|
- map that repo to an exact `https://gitmcp.io/{owner}/{repo}` endpoint in `mcp/servers.json`
|
|
70
70
|
- validate the choice against the upstream repo and official docs through `$sage`
|
|
71
71
|
|
|
72
|
+
## Remote MCP transport
|
|
73
|
+
|
|
74
|
+
`$sage` opens configured GitMCP endpoints as live MCP servers. Some remote MCP hosts reject direct SSE probes with HTTP 405 and require a host-supported remote MCP bridge. Meta-Architect treats that as a transport blocker, not as verified evidence.
|
|
75
|
+
|
|
76
|
+
To enable bridge-backed live verification, configure a trusted local bridge command:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
export MA_MCP_REMOTE_BRIDGE_CMD="mcp-remote {url}"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The `{url}` placeholder is replaced with the exact repo endpoint from `mcp/servers.json`. Use a preinstalled, trusted bridge binary or wrapper; do not depend on automatic package downloads in production verification.
|
|
83
|
+
|
|
84
|
+
When no bridge is configured:
|
|
85
|
+
- direct-SSE-compatible MCP servers can still verify normally
|
|
86
|
+
- GitMCP 405 responses are recorded as bridge-required blockers
|
|
87
|
+
- `evidence_status` remains `PARTIAL`, so `$flow` and `$build` stay locked
|
|
88
|
+
|
|
72
89
|
## Separation of concerns
|
|
73
90
|
|
|
74
91
|
- `mcp/servers.json` remains for repo-specific GitMCP evidence sources
|
|
75
92
|
- `mcp/collections.json` remains GitMCP-oriented evidence categorization for this release
|
|
76
93
|
- `mcp/local-capabilities.json` is the first-party in-process capability registry
|
|
77
94
|
- `mcp/native-playbooks.json` is internal native curation metadata, not an upstream mirror or user-edited evidence source list
|
|
95
|
+
|
|
96
|
+
## Current semantic source routing
|
|
97
|
+
|
|
98
|
+
`mcp/collections.json` maps configured repository evidence into MA lanes.
|
|
99
|
+
The current release intentionally includes both broad discovery lists and core-specific upstream sources.
|
|
100
|
+
|
|
101
|
+
| Collection | Why it exists | Typical lanes |
|
|
102
|
+
| --- | --- | --- |
|
|
103
|
+
| `meta-list` and language collections | broad OSS candidate discovery before exact upstream selection | `$arch`, `$sage` |
|
|
104
|
+
| `system-design` | architecture and flow reasoning references | `$arch`, `$sage`, `$flow`, `$build` |
|
|
105
|
+
| `security` | trust-boundary and security review evidence | `$vet` |
|
|
106
|
+
| `obsidian-api-docs` | Obsidian API evidence for vault, metadata, workspace, and plugin behavior | `$arch`, `$sage`, `$vibe` |
|
|
107
|
+
| `obsidian-plugin-scaffold` | compatibility reference for MA's in-app Obsidian plugin surface | `$arch`, `$sage` |
|
|
108
|
+
| `context-economy` | context-budget and terse-output source evidence | `$sage`, `$vet`, `$vibe`, `$build` |
|
|
109
|
+
| `prompt-techniques` | prompt strategy source evidence for MA-owned prompt policies | `$arch`, `$sage`, `$flow`, `$vet`, `$vibe`, `$build` |
|
|
110
|
+
|
|
111
|
+
Obsidian-derived notes remain `vault_context`.
|
|
112
|
+
They do not count as `build_evidence` unless `$sage`, `$vet`, or another owning lane promotes a specific claim with source-backed proof.
|
package/docs/onboarding.md
CHANGED
|
@@ -12,6 +12,15 @@ This is the shortest entrypoint for the real first-run Meta-Architect path.
|
|
|
12
12
|
|
|
13
13
|
## Canonical install and start
|
|
14
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
|
+
|
|
22
|
+
The installer uses jsDelivr to fetch this repo's POSIX install script and runs the canonical npm install path.
|
|
23
|
+
|
|
15
24
|
```bash
|
|
16
25
|
# Install
|
|
17
26
|
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
@@ -28,7 +37,13 @@ npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
|
28
37
|
|
|
29
38
|
## First runtime action
|
|
30
39
|
|
|
31
|
-
Start with
|
|
40
|
+
Start with `$maestro` when you want MA to choose and drive the next safe lane:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
$maestro
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Use the structured `$arch` prompt from [example/usage-workflow.md](../example/usage-workflow.md) when you already know the project brief and want to begin directly with architecture:
|
|
32
47
|
|
|
33
48
|
```text
|
|
34
49
|
$arch I want to build: [PROJECT IDEA]
|
|
@@ -48,7 +63,8 @@ Only use this when you need local repo scaffolding or scripted validation:
|
|
|
48
63
|
```bash
|
|
49
64
|
ma setup
|
|
50
65
|
ma
|
|
51
|
-
ma idea "
|
|
66
|
+
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."
|
|
67
|
+
ma run '$maestro'
|
|
52
68
|
ma run '$arch'
|
|
53
69
|
ma run '$sage'
|
|
54
70
|
ma run '$flow'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Prompt Guidance Contract
|
|
2
|
+
|
|
3
|
+
Meta-Architect prompt surfaces must preserve the Active Autonomy Core contract.
|
|
4
|
+
|
|
5
|
+
## Required Patterns
|
|
6
|
+
|
|
7
|
+
1. `AUTO-CONTINUE` and `ASK` must be named explicitly.
|
|
8
|
+
2. The `ASK` list is closed: destructive, irreversible, credential-gated, external-production, materially scope-changing, or missing authority.
|
|
9
|
+
3. Permission-handoff phrasing is banned on AUTO-CONTINUE branches.
|
|
10
|
+
4. Skills and role prompts must describe completion as a loop with explicit stop conditions.
|
|
11
|
+
5. Workflow terminal replies must name an outcome: `finished`, `blocked`, `failed`, `cancelled`, or `askuserQuestion`.
|
|
12
|
+
6. Completion claims require fresh verification evidence or an explicit validation gap.
|
|
13
|
+
7. Runtime hook policy must include stall-pattern coverage for passive permission handoffs.
|
|
14
|
+
|
|
15
|
+
## Contributor Rule
|
|
16
|
+
|
|
17
|
+
Do not weaken the anti-passive contract when editing prompts, skills, hooks, or exported host payloads. If a prompt surface cannot execute safely, it must name the exact closed-list ASK reason instead of asking a vague permission question.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!-- ACTIVE AUTONOMY CORE - DO NOT REMOVE -->
|
|
2
|
+
- AUTO-CONTINUE: clear, already-requested, local/workspace-scoped, low-risk, reversible, non-destructive work with an available verification path. Continue executing, inspecting, editing, testing, and verifying without permission handoff.
|
|
3
|
+
- ASK only for destructive, irreversible, credential-gated, external-production, materially scope-changing actions, or when missing authority blocks progress.
|
|
4
|
+
- On AUTO-CONTINUE branches, do not say "Should I proceed?", "Would you like me to continue?", "If you want, I can ...", or equivalent permission-handoff phrasing. State the next action or evidence-backed result.
|
|
5
|
+
- Do not instruct humans to perform ordinary safe reversible workspace actions; execute them through MA/runtime tools and report evidence.
|
|
6
|
+
- Completion requires a terminal outcome (`finished`, `blocked`, `failed`, `cancelled`, or `askuserQuestion`) plus fresh verification evidence or an explicit validation gap.
|
|
7
|
+
<!-- END ACTIVE AUTONOMY CORE -->
|