@jstn-sdk/ma 0.1.0
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 +20 -0
- package/.codex/agents/Architect.toml +4 -0
- package/.codex/agents/Auditor.toml +4 -0
- package/.codex/agents/Builder.toml +4 -0
- package/.codex/agents/Flow.toml +4 -0
- package/.codex/agents/Sage.toml +4 -0
- package/.codex/agents/Vibe.toml +4 -0
- package/.codex/hooks.json +15 -0
- package/.codex/prompts/enforcement.md +59 -0
- package/.codex/prompts/onboarding.md +41 -0
- package/.codex/prompts/release-rules.md +28 -0
- package/.codex/prompts/skill-contract.md +41 -0
- package/LICENSE +21 -0
- package/README.md +532 -0
- package/bin/ma.js +300 -0
- package/bin/meta-architect.js +3 -0
- package/docs/README.md +24 -0
- package/docs/assets/meta-architect-logo.png +0 -0
- package/docs/assets/meta-architect-logo.svg +8 -0
- package/docs/getting-started.md +451 -0
- package/docs/mcp-setup.md +5 -0
- package/docs/onboarding.md +65 -0
- package/docs/qa/release-readiness-0.1.0.md +62 -0
- package/docs/release-spec.md +86 -0
- package/docs/skills-publishing.md +231 -0
- package/docs/skills.md +91 -0
- package/index.js +28 -0
- package/mcp/collections.json +21 -0
- package/mcp/fallback.json +7 -0
- package/mcp/servers.json +55 -0
- package/package.json +84 -0
- package/plugins/meta-architect/.app.json +8 -0
- package/plugins/meta-architect/.codex-plugin/plugin.json +23 -0
- package/plugins/meta-architect/.mcp.json +12 -0
- package/plugins/meta-architect/README.md +121 -0
- package/plugins/meta-architect/skills/arch/SKILL.md +27 -0
- package/plugins/meta-architect/skills/arch/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/build/SKILL.md +24 -0
- package/plugins/meta-architect/skills/build/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/flow/SKILL.md +24 -0
- package/plugins/meta-architect/skills/flow/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/meta-architect/SKILL.md +30 -0
- package/plugins/meta-architect/skills/meta-architect/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/meta-architect/references/core-release-rules.md +13 -0
- package/plugins/meta-architect/skills/sage/SKILL.md +24 -0
- package/plugins/meta-architect/skills/sage/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/vet/SKILL.md +25 -0
- package/plugins/meta-architect/skills/vet/agents/openai.yaml +4 -0
- package/plugins/meta-architect/skills/vibe/SKILL.md +24 -0
- package/plugins/meta-architect/skills/vibe/agents/openai.yaml +4 -0
- package/scripts/doctor.js +37 -0
- package/scripts/plugin-sync.js +92 -0
- package/scripts/postinstall.js +19 -0
- package/scripts/release-metadata.js +94 -0
- package/scripts/release-verify.js +153 -0
- package/scripts/setup-npmrc.js +39 -0
- package/scripts/skills-install.js +29 -0
- package/scripts/skills-manifest.js +61 -0
- package/scripts/skills-pack.js +54 -0
- package/scripts/skills-validate.js +118 -0
- package/skills/arch/SKILL.md +27 -0
- package/skills/arch/agents/openai.yaml +4 -0
- package/skills/build/SKILL.md +24 -0
- package/skills/build/agents/openai.yaml +4 -0
- package/skills/flow/SKILL.md +24 -0
- package/skills/flow/agents/openai.yaml +4 -0
- package/skills/index.json +40 -0
- package/skills/meta-architect/SKILL.md +30 -0
- package/skills/meta-architect/agents/openai.yaml +4 -0
- package/skills/meta-architect/references/core-release-rules.md +13 -0
- package/skills/sage/SKILL.md +24 -0
- package/skills/sage/agents/openai.yaml +4 -0
- package/skills/vet/SKILL.md +25 -0
- package/skills/vet/agents/openai.yaml +4 -0
- package/skills/vibe/SKILL.md +24 -0
- package/skills/vibe/agents/openai.yaml +4 -0
- package/sprint/00-idea.md +27 -0
- package/sprint/01-architecture.md +26 -0
- package/sprint/02-oss-evidence.md +26 -0
- package/sprint/03-logic.md +25 -0
- package/sprint/04-security.md +25 -0
- package/sprint/05-dx-ux.md +24 -0
- package/sprint/06-build-plan.md +26 -0
- package/sprint/07-release.md +26 -0
- package/src/build-gate.js +52 -0
- package/src/decision-log.js +40 -0
- package/src/fs-utils.js +25 -0
- package/src/launcher.js +55 -0
- package/src/mcp-config.js +30 -0
- package/src/mcp-live-client.js +186 -0
- package/src/paths.js +26 -0
- package/src/policy.js +23 -0
- package/src/release-state.js +59 -0
- package/src/runtime-artifacts.js +363 -0
- package/src/skill-installer.js +49 -0
- package/src/skills.js +507 -0
- package/src/state-sync.js +15 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# Skills Publishing
|
|
2
|
+
|
|
3
|
+
Meta-Architect ships skills through a deliberate source-to-package pipeline. This repository treats publishable skills as product artifacts, not as raw markdown files.
|
|
4
|
+
|
|
5
|
+
## Two skill surfaces
|
|
6
|
+
|
|
7
|
+
### 1. Internal runtime surface
|
|
8
|
+
|
|
9
|
+
Location:
|
|
10
|
+
- `.ma/skills/`
|
|
11
|
+
|
|
12
|
+
Purpose:
|
|
13
|
+
- local runtime behavior
|
|
14
|
+
- internal command contracts
|
|
15
|
+
- generated or seeded operator surfaces
|
|
16
|
+
|
|
17
|
+
### 2. Publishable skill surface
|
|
18
|
+
|
|
19
|
+
Location:
|
|
20
|
+
- `skills/`
|
|
21
|
+
|
|
22
|
+
Purpose:
|
|
23
|
+
- installable Codex skill folders
|
|
24
|
+
- UI metadata via `agents/openai.yaml`
|
|
25
|
+
- versionable public skill contract
|
|
26
|
+
|
|
27
|
+
Do not confuse these two layers. The repo publishes `skills/`, not `.ma/`.
|
|
28
|
+
|
|
29
|
+
## Canonical packaging flow
|
|
30
|
+
|
|
31
|
+
### Generate manifest
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm run skills:manifest
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Expected effect:
|
|
38
|
+
- writes `skills/index.json`
|
|
39
|
+
- manifest entries should match the actual skill directories
|
|
40
|
+
|
|
41
|
+
### Validate skills
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm run skills:validate
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Expected effect:
|
|
48
|
+
- every skill folder passes the validator
|
|
49
|
+
- missing or invalid frontmatter should fail the command
|
|
50
|
+
- missing or structurally incomplete `agents/openai.yaml` should fail the command
|
|
51
|
+
|
|
52
|
+
### Sync plugin mirror
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npm run plugin:sync
|
|
56
|
+
npm run plugin:verify
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Expected effect:
|
|
60
|
+
- `plugins/meta-architect/skills/` mirrors the canonical `skills/` surface
|
|
61
|
+
- the local marketplace and plugin bundle remain aligned with the package skill contract
|
|
62
|
+
- plugin drift fails verification instead of surviving into release artifacts
|
|
63
|
+
|
|
64
|
+
### Create bundle
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
npm run skills:pack
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Expected effect:
|
|
71
|
+
- creates `dist/meta-architect-skills.tgz`
|
|
72
|
+
- bundle should be non-empty
|
|
73
|
+
|
|
74
|
+
### Smoke-test install
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npm run skills:install -- --path ./dist/installed-skills
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Expected effect:
|
|
81
|
+
- all publishable skill folders are copied to the target install path
|
|
82
|
+
- install target should contain:
|
|
83
|
+
- `meta-architect`
|
|
84
|
+
- `arch`
|
|
85
|
+
- `sage`
|
|
86
|
+
- `flow`
|
|
87
|
+
- `vet`
|
|
88
|
+
- `vibe`
|
|
89
|
+
- `build`
|
|
90
|
+
|
|
91
|
+
## Expected outputs
|
|
92
|
+
|
|
93
|
+
### `skills/index.json`
|
|
94
|
+
|
|
95
|
+
Should contain:
|
|
96
|
+
- schema version
|
|
97
|
+
- skill names
|
|
98
|
+
- repo-local path mapping
|
|
99
|
+
- descriptions
|
|
100
|
+
|
|
101
|
+
### `dist/meta-architect-skills.tgz`
|
|
102
|
+
|
|
103
|
+
Should contain:
|
|
104
|
+
- `skills/`
|
|
105
|
+
- each skill folder
|
|
106
|
+
- each `SKILL.md`
|
|
107
|
+
- each `agents/openai.yaml`
|
|
108
|
+
- any intended references/assets
|
|
109
|
+
|
|
110
|
+
It should **not** rely on hidden runtime state.
|
|
111
|
+
|
|
112
|
+
Important:
|
|
113
|
+
- `npm run skills:pack` creates the **skills bundle tarball only**
|
|
114
|
+
- it is not the same thing as the broader npm package tarball from `npm pack`
|
|
115
|
+
- the npm package surface is controlled separately by `package.json > files`
|
|
116
|
+
|
|
117
|
+
## Source vs package contents
|
|
118
|
+
|
|
119
|
+
The npm package and tarball should stay explicit.
|
|
120
|
+
|
|
121
|
+
Current package intent:
|
|
122
|
+
- package name: `@jstn-sdk/ma`
|
|
123
|
+
- public publish config
|
|
124
|
+
- explicit `files` list in `package.json`
|
|
125
|
+
|
|
126
|
+
The publishable package should include:
|
|
127
|
+
- `bin/`
|
|
128
|
+
- `skills/`
|
|
129
|
+
- `docs/`
|
|
130
|
+
- `scripts/`
|
|
131
|
+
- `index.js`
|
|
132
|
+
- `README.md`
|
|
133
|
+
- `LICENSE`
|
|
134
|
+
|
|
135
|
+
It should not include:
|
|
136
|
+
- runtime `.ma` state
|
|
137
|
+
- local logs
|
|
138
|
+
- temp install targets
|
|
139
|
+
- generated local caches
|
|
140
|
+
|
|
141
|
+
The `skills:pack` tarball is narrower than the npm package:
|
|
142
|
+
- `skills:pack` => `skills/` distribution bundle
|
|
143
|
+
- `npm pack` => public npm package with the explicit `files` list
|
|
144
|
+
|
|
145
|
+
## Release and dist-tag discipline
|
|
146
|
+
|
|
147
|
+
Meta-Architect release behavior is lane-aware:
|
|
148
|
+
- stable versions publish to npm `latest`
|
|
149
|
+
- prerelease versions publish to explicit lanes such as `next`, `beta`, or `canary`
|
|
150
|
+
- prereleases must use `npm publish --tag <lane>`
|
|
151
|
+
- stable releases keep the default `latest` behavior and public scoped access
|
|
152
|
+
|
|
153
|
+
Before publish:
|
|
154
|
+
1. bump version with `npm version <version> --no-git-tag-version`
|
|
155
|
+
2. update changelog and release docs
|
|
156
|
+
3. run `npm run release:verify`
|
|
157
|
+
4. run `npm run release:check`
|
|
158
|
+
5. create and push tag `v<version>`
|
|
159
|
+
6. publish the package with the correct lane behavior
|
|
160
|
+
- preferred: run `.github/workflows/npm-publish.yml` on a supported cloud runner so provenance can be generated
|
|
161
|
+
- local fallback: omit `--provenance` and publish with `npm publish --access public` or `npm publish --access public --tag <lane>`
|
|
162
|
+
7. verify the resulting dist-tags with `npm view @jstn-sdk/ma version dist-tags time --json`
|
|
163
|
+
|
|
164
|
+
## Plugin relation
|
|
165
|
+
|
|
166
|
+
The plugin bundle in:
|
|
167
|
+
- `plugins/meta-architect/`
|
|
168
|
+
|
|
169
|
+
is related but not identical to the npm/package skill bundle.
|
|
170
|
+
|
|
171
|
+
Relationship:
|
|
172
|
+
- `skills/` is the canonical publishable skill source
|
|
173
|
+
- `plugins/meta-architect/` is the plugin-installable consumer-facing bundle
|
|
174
|
+
- both should remain aligned in behavior and version intent
|
|
175
|
+
- `.agents/plugins/marketplace.json` advertises the local plugin source for discovery
|
|
176
|
+
- `plugins/meta-architect/.codex-plugin/plugin.json` is the plugin contract entrypoint
|
|
177
|
+
|
|
178
|
+
If a skill contract changes:
|
|
179
|
+
1. update `skills/`
|
|
180
|
+
2. regenerate manifest
|
|
181
|
+
3. sync the plugin mirror
|
|
182
|
+
4. validate skills
|
|
183
|
+
5. ensure plugin-facing bundle still reflects the same product contract
|
|
184
|
+
|
|
185
|
+
## Real commands for a release-minded flow
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
npm run skills:manifest
|
|
189
|
+
npm run plugin:sync
|
|
190
|
+
npm run skills:validate
|
|
191
|
+
npm run plugin:verify
|
|
192
|
+
npm run skills:pack
|
|
193
|
+
npm run skills:install -- --path ./dist/installed-skills
|
|
194
|
+
npm run pack:inspect
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Expected failure modes
|
|
198
|
+
|
|
199
|
+
- manifest drift:
|
|
200
|
+
- `skills/index.json` does not match actual skill directories
|
|
201
|
+
- invalid skill:
|
|
202
|
+
- malformed frontmatter
|
|
203
|
+
- missing `SKILL.md`
|
|
204
|
+
- invalid `agents/openai.yaml`
|
|
205
|
+
- package drift:
|
|
206
|
+
- tarball includes files not intended for public distribution
|
|
207
|
+
- plugin drift:
|
|
208
|
+
- plugin bundle no longer matches the published skill contract
|
|
209
|
+
|
|
210
|
+
## Release artifact expectations
|
|
211
|
+
|
|
212
|
+
Before a release is considered real:
|
|
213
|
+
- `skills/index.json` must be current
|
|
214
|
+
- `dist/meta-architect-skills.tgz` must exist
|
|
215
|
+
- install smoke test must pass
|
|
216
|
+
- package inspection must be sane
|
|
217
|
+
- docs must match the published behavior
|
|
218
|
+
|
|
219
|
+
## Related surfaces
|
|
220
|
+
|
|
221
|
+
- [README.md](../README.md)
|
|
222
|
+
- [docs/skills.md](./skills.md)
|
|
223
|
+
- [plugins/meta-architect/README.md](../plugins/meta-architect/README.md)
|
|
224
|
+
- [plugins/meta-architect/.codex-plugin/plugin.json](../plugins/meta-architect/.codex-plugin/plugin.json)
|
|
225
|
+
- [../.agents/plugins/marketplace.json](../.agents/plugins/marketplace.json)
|
|
226
|
+
- [package.json](../package.json)
|
|
227
|
+
- [scripts/skills-manifest.js](../scripts/skills-manifest.js)
|
|
228
|
+
- [scripts/plugin-sync.js](../scripts/plugin-sync.js)
|
|
229
|
+
- [scripts/skills-validate.js](../scripts/skills-validate.js)
|
|
230
|
+
- [scripts/skills-pack.js](../scripts/skills-pack.js)
|
|
231
|
+
- [scripts/skills-install.js](../scripts/skills-install.js)
|
package/docs/skills.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Skills
|
|
2
|
+
|
|
3
|
+
Meta-Architect’s canonical Codex runtime surface is:
|
|
4
|
+
- `$arch`
|
|
5
|
+
- `$sage`
|
|
6
|
+
- `$flow`
|
|
7
|
+
- `$vet`
|
|
8
|
+
- `$vibe`
|
|
9
|
+
- `$build`
|
|
10
|
+
|
|
11
|
+
## Real usage path
|
|
12
|
+
|
|
13
|
+
Install the package once, launch through `ma`, and use the skills directly in-session.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Install
|
|
17
|
+
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
18
|
+
|
|
19
|
+
# Launch
|
|
20
|
+
ma --madmax --high
|
|
21
|
+
|
|
22
|
+
# Remove Meta-Architect only
|
|
23
|
+
npm uninstall -g @jstn-sdk/ma
|
|
24
|
+
|
|
25
|
+
# Remove Meta-Architect and Codex
|
|
26
|
+
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Then inside the Codex session:
|
|
30
|
+
1. Start with the structured `$arch` prompt
|
|
31
|
+
2. Continue through `$sage -> $flow -> $vet -> $vibe -> $build`
|
|
32
|
+
|
|
33
|
+
## Simple difference
|
|
34
|
+
|
|
35
|
+
Meta-Architect has two surfaces:
|
|
36
|
+
|
|
37
|
+
- terminal commands
|
|
38
|
+
- in-session skills
|
|
39
|
+
|
|
40
|
+
Terminal commands are run in the shell:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
ma setup
|
|
44
|
+
ma init
|
|
45
|
+
ma idea "Build a product"
|
|
46
|
+
ma status
|
|
47
|
+
ma run '$arch'
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
In-session skills are used inside the Codex conversation:
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
$arch
|
|
54
|
+
$sage
|
|
55
|
+
$flow
|
|
56
|
+
$vet
|
|
57
|
+
$vibe
|
|
58
|
+
$build
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Short rule:
|
|
62
|
+
- `ma ...` means "run a helper command in the terminal"
|
|
63
|
+
- `$...` means "run a Meta-Architect skill inside the Codex session"
|
|
64
|
+
|
|
65
|
+
Important:
|
|
66
|
+
- `ma setup` and `ma init` currently do the same thing
|
|
67
|
+
- they only create local support files
|
|
68
|
+
- they do not replace the in-session skill flow
|
|
69
|
+
|
|
70
|
+
## Shared output contract
|
|
71
|
+
|
|
72
|
+
Every skill result must include:
|
|
73
|
+
- `decision`
|
|
74
|
+
- `status`
|
|
75
|
+
- `evidence`
|
|
76
|
+
- `blockers`
|
|
77
|
+
- `next_allowed_triggers`
|
|
78
|
+
|
|
79
|
+
## Status ownership
|
|
80
|
+
|
|
81
|
+
- project brief -> architecture input
|
|
82
|
+
- `$arch` -> `architecture_status`
|
|
83
|
+
- `$sage` -> `evidence_status`
|
|
84
|
+
- `$flow` -> `logic_status`
|
|
85
|
+
- `$vet` -> `security_status`
|
|
86
|
+
- `$vibe` -> `experience_status`
|
|
87
|
+
- `$build` -> `build_status`
|
|
88
|
+
|
|
89
|
+
## Operator note
|
|
90
|
+
|
|
91
|
+
The runtime trigger surface is primary. The `ma` helper commands exist to launch Codex with Meta-Architect attached and to provide repo-local state automation when scripted verification is needed.
|
package/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export {
|
|
2
|
+
evaluateBuildGate,
|
|
3
|
+
formatBuildBlockers,
|
|
4
|
+
formatNextAllowedTriggers,
|
|
5
|
+
} from "./src/build-gate.js";
|
|
6
|
+
export {
|
|
7
|
+
appendDecision,
|
|
8
|
+
loadDecisionLog,
|
|
9
|
+
updateDecisionStatuses,
|
|
10
|
+
} from "./src/decision-log.js";
|
|
11
|
+
export { isValidGitMcpEndpoint, loadMcpServers, validateMcpServers } from "./src/mcp-config.js";
|
|
12
|
+
export {
|
|
13
|
+
canMarkBuildDone,
|
|
14
|
+
rejectsDirectProdPromotion,
|
|
15
|
+
validateMergeTarget,
|
|
16
|
+
validateReleaseOrigin,
|
|
17
|
+
} from "./src/policy.js";
|
|
18
|
+
export { loadReleaseState, saveReleaseState, validateReleaseState } from "./src/release-state.js";
|
|
19
|
+
export {
|
|
20
|
+
listSkills,
|
|
21
|
+
runArch,
|
|
22
|
+
runFlow,
|
|
23
|
+
runIdea,
|
|
24
|
+
runInit,
|
|
25
|
+
runSage,
|
|
26
|
+
runVet,
|
|
27
|
+
runVibe,
|
|
28
|
+
} from "./src/skills.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "0.1.0",
|
|
3
|
+
"collections": {
|
|
4
|
+
"arch": [
|
|
5
|
+
"meta-list",
|
|
6
|
+
"typescript",
|
|
7
|
+
"rust",
|
|
8
|
+
"go",
|
|
9
|
+
"python",
|
|
10
|
+
"java",
|
|
11
|
+
"dotnet",
|
|
12
|
+
"self-hosted",
|
|
13
|
+
"system-design"
|
|
14
|
+
],
|
|
15
|
+
"sage": ["meta-list", "typescript", "rust", "go", "python", "java", "dotnet", "self-hosted"],
|
|
16
|
+
"vet": ["security"],
|
|
17
|
+
"flow": [],
|
|
18
|
+
"vibe": [],
|
|
19
|
+
"build": []
|
|
20
|
+
}
|
|
21
|
+
}
|
package/mcp/servers.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "0.1.0",
|
|
3
|
+
"servers": [
|
|
4
|
+
{
|
|
5
|
+
"category": "meta-list",
|
|
6
|
+
"repo": "sindresorhus/awesome",
|
|
7
|
+
"endpoint": "https://gitmcp.io/sindresorhus/awesome"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"category": "typescript",
|
|
11
|
+
"repo": "dzharii/awesome-typescript",
|
|
12
|
+
"endpoint": "https://gitmcp.io/dzharii/awesome-typescript"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"category": "rust",
|
|
16
|
+
"repo": "rust-unofficial/awesome-rust",
|
|
17
|
+
"endpoint": "https://gitmcp.io/rust-unofficial/awesome-rust"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"category": "go",
|
|
21
|
+
"repo": "avelino/awesome-go",
|
|
22
|
+
"endpoint": "https://gitmcp.io/avelino/awesome-go"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"category": "python",
|
|
26
|
+
"repo": "vinta/awesome-python",
|
|
27
|
+
"endpoint": "https://gitmcp.io/vinta/awesome-python"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"category": "java",
|
|
31
|
+
"repo": "akullpp/awesome-java",
|
|
32
|
+
"endpoint": "https://gitmcp.io/akullpp/awesome-java"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"category": "dotnet",
|
|
36
|
+
"repo": "quozd/awesome-dotnet",
|
|
37
|
+
"endpoint": "https://gitmcp.io/quozd/awesome-dotnet"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"category": "security",
|
|
41
|
+
"repo": "sbilly/awesome-security",
|
|
42
|
+
"endpoint": "https://gitmcp.io/sbilly/awesome-security"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"category": "self-hosted",
|
|
46
|
+
"repo": "awesome-selfhosted/awesome-selfhosted",
|
|
47
|
+
"endpoint": "https://gitmcp.io/awesome-selfhosted/awesome-selfhosted"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"category": "system-design",
|
|
51
|
+
"repo": "checkcheckzz/system-design-interview",
|
|
52
|
+
"endpoint": "https://gitmcp.io/checkcheckzz/system-design-interview"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jstn-sdk/ma",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Codex-native runtime layer for architecture, evidence, review, and gated build workflows.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "JustineDevs",
|
|
7
|
+
"homepage": "https://github.com/JustineDevs/meta-architect#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/JustineDevs/meta-architect.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/JustineDevs/meta-architect/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"meta-architect",
|
|
17
|
+
"codex",
|
|
18
|
+
"skills",
|
|
19
|
+
"mcp",
|
|
20
|
+
"gitmcp",
|
|
21
|
+
"ai",
|
|
22
|
+
"agent",
|
|
23
|
+
"orchestration",
|
|
24
|
+
"cli",
|
|
25
|
+
"developer-tools"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "index.js",
|
|
29
|
+
"bin": {
|
|
30
|
+
"meta-architect": "bin/ma.js",
|
|
31
|
+
"ma": "bin/ma.js"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"bin/",
|
|
35
|
+
"src/",
|
|
36
|
+
".codex/",
|
|
37
|
+
".agents/plugins/",
|
|
38
|
+
"mcp/",
|
|
39
|
+
"plugins/",
|
|
40
|
+
"sprint/",
|
|
41
|
+
"skills/",
|
|
42
|
+
"docs/",
|
|
43
|
+
"scripts/",
|
|
44
|
+
"index.js",
|
|
45
|
+
"README.md",
|
|
46
|
+
"LICENSE"
|
|
47
|
+
],
|
|
48
|
+
"exports": {
|
|
49
|
+
".": "./index.js",
|
|
50
|
+
"./package.json": "./package.json"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"prepare": "husky",
|
|
57
|
+
"postinstall": "node ./scripts/postinstall.js",
|
|
58
|
+
"test": "node --test",
|
|
59
|
+
"status": "node ./bin/ma.js status",
|
|
60
|
+
"build:gate": "node ./bin/ma.js run '$build'",
|
|
61
|
+
"release:meta": "node ./scripts/release-metadata.js",
|
|
62
|
+
"release:verify": "node ./scripts/release-verify.js",
|
|
63
|
+
"release:check": "npm run release:verify && npm run skills:manifest && npm run plugin:sync && npm run skills:validate && npm run plugin:verify && npm run skills:pack && npm run check && npm test && npm run pack:inspect",
|
|
64
|
+
"skills:manifest": "node ./scripts/skills-manifest.js",
|
|
65
|
+
"skills:validate": "node ./scripts/skills-validate.js",
|
|
66
|
+
"skills:install": "node ./scripts/skills-install.js",
|
|
67
|
+
"skills:pack": "node ./scripts/skills-pack.js",
|
|
68
|
+
"plugin:sync": "node ./scripts/plugin-sync.js",
|
|
69
|
+
"plugin:verify": "node ./scripts/plugin-sync.js --check",
|
|
70
|
+
"pack:inspect": "npm pack --dry-run --ignore-scripts --cache ./.npm-cache",
|
|
71
|
+
"doctor": "node ./scripts/doctor.js",
|
|
72
|
+
"lint": "biome lint .",
|
|
73
|
+
"format": "biome format .",
|
|
74
|
+
"check": "biome check ."
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=20"
|
|
78
|
+
},
|
|
79
|
+
"packageManager": "npm@10",
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@biomejs/biome": "^2.4.13",
|
|
82
|
+
"husky": "^9.1.7"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "meta-architect",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Skills-first workflow layer for Codex with architecture, evidence, review, and gated build guidance.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "JustineDevs",
|
|
7
|
+
"url": "https://github.com/JustineDevs"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/JustineDevs/meta-architect",
|
|
10
|
+
"repository": "https://github.com/JustineDevs/meta-architect.git",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": ["codex", "skills", "architecture", "workflow", "review"],
|
|
13
|
+
"skills": "./skills/",
|
|
14
|
+
"mcpServers": "./.mcp.json",
|
|
15
|
+
"apps": "./.app.json",
|
|
16
|
+
"interface": {
|
|
17
|
+
"displayName": "Meta-Architect",
|
|
18
|
+
"shortDescription": "Architecture-first skill bundle for Codex workflows.",
|
|
19
|
+
"longDescription": "Plugin = Meta-Architect skill discovery plus plugin-scoped MCP and app metadata. Runtime = the ma launcher plus .ma state, release gates, and scripted helper commands when a repository needs local workflow state.",
|
|
20
|
+
"developerName": "JustineDevs",
|
|
21
|
+
"category": "Developer Tools"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "meta-architect",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"collections": [
|
|
5
|
+
"sindresorhus/awesome",
|
|
6
|
+
"dzharii/awesome-typescript",
|
|
7
|
+
"rust-unofficial/awesome-rust",
|
|
8
|
+
"sbilly/awesome-security",
|
|
9
|
+
"awesome-selfhosted/awesome-selfhosted"
|
|
10
|
+
],
|
|
11
|
+
"notes": "Replace with repo-specific gitmcp.io endpoints in consuming environments."
|
|
12
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# Meta-Architect Plugin Bundle
|
|
2
|
+
|
|
3
|
+
This plugin bundle packages the Meta-Architect skill surfaces for consumers that want an installable plugin-style distribution instead of working directly from the source repository.
|
|
4
|
+
|
|
5
|
+
## What the plugin contains
|
|
6
|
+
|
|
7
|
+
- plugin metadata:
|
|
8
|
+
- `.codex-plugin/plugin.json`
|
|
9
|
+
- `.app.json`
|
|
10
|
+
- `.mcp.json`
|
|
11
|
+
- bundled Meta-Architect skill surfaces under `skills/`
|
|
12
|
+
- a release-scoped version line aligned to the repo
|
|
13
|
+
|
|
14
|
+
## What the plugin does not contain
|
|
15
|
+
|
|
16
|
+
This plugin is **not** the full source repository.
|
|
17
|
+
|
|
18
|
+
It does not attempt to ship:
|
|
19
|
+
- repository `.github/` workflows
|
|
20
|
+
- contributor-facing repo templates
|
|
21
|
+
- local runtime `.ma` state
|
|
22
|
+
- every source file in the repository
|
|
23
|
+
- the entire release engineering toolchain
|
|
24
|
+
|
|
25
|
+
It is an installable skill bundle, not a complete clone of the repo.
|
|
26
|
+
|
|
27
|
+
## How it differs from core repo source
|
|
28
|
+
|
|
29
|
+
Core repo source contains:
|
|
30
|
+
- implementation code
|
|
31
|
+
- packaging scripts
|
|
32
|
+
- CI/release workflows
|
|
33
|
+
- contributor docs
|
|
34
|
+
- missions
|
|
35
|
+
- templates
|
|
36
|
+
|
|
37
|
+
Plugin bundle contains:
|
|
38
|
+
- the installable skill-facing product layer
|
|
39
|
+
- plugin metadata that describes the bundle to consumers
|
|
40
|
+
|
|
41
|
+
Use the core repo when you want to develop Meta-Architect itself. Use the plugin bundle when you want to consume the packaged skill surface.
|
|
42
|
+
|
|
43
|
+
## Install and use
|
|
44
|
+
|
|
45
|
+
The plugin-facing bundle should be consumed alongside the repository’s documented packaging/install flow.
|
|
46
|
+
|
|
47
|
+
Canonical package/runtime path:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Install
|
|
51
|
+
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
|
|
52
|
+
|
|
53
|
+
# Launch
|
|
54
|
+
ma --madmax --high
|
|
55
|
+
|
|
56
|
+
# Remove Meta-Architect only
|
|
57
|
+
npm uninstall -g @jstn-sdk/ma
|
|
58
|
+
|
|
59
|
+
# Remove Meta-Architect and Codex
|
|
60
|
+
npm uninstall -g @jstn-sdk/ma @openai/codex
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Use the plugin bundle when you need installable skill metadata or local marketplace discovery. Use the package and launcher when you want the full Meta-Architect runtime posture.
|
|
64
|
+
|
|
65
|
+
Primary related surfaces:
|
|
66
|
+
- [docs/skills-publishing.md](../../docs/skills-publishing.md)
|
|
67
|
+
- [skills/](../../skills/)
|
|
68
|
+
|
|
69
|
+
If you are working from the repository directly, validate and package with:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npm run skills:manifest
|
|
73
|
+
npm run plugin:sync
|
|
74
|
+
npm run skills:validate
|
|
75
|
+
npm run plugin:verify
|
|
76
|
+
npm run skills:pack
|
|
77
|
+
npm run skills:install -- --path ./dist/installed-skills
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Consumer expectation:
|
|
81
|
+
- the plugin ships the same public skill contracts as the canonical `skills/` directory
|
|
82
|
+
- it does not define a looser or simplified product contract
|
|
83
|
+
|
|
84
|
+
## MCP wiring expectations
|
|
85
|
+
|
|
86
|
+
The plugin metadata in `.mcp.json` is only a starting point.
|
|
87
|
+
|
|
88
|
+
Consumers are expected to:
|
|
89
|
+
- replace placeholder or generic collection notes with real repo-specific GitMCP endpoints
|
|
90
|
+
- align MCP wiring with their own environment
|
|
91
|
+
- preserve the same evidence policy used by the core repo
|
|
92
|
+
|
|
93
|
+
Do not assume the plugin alone provides a fully wired live MCP environment.
|
|
94
|
+
|
|
95
|
+
## Safe consumer guidance
|
|
96
|
+
|
|
97
|
+
When consuming the plugin:
|
|
98
|
+
- use committed `skills/` content as the contract source
|
|
99
|
+
- validate installed skill folders
|
|
100
|
+
- do not treat local runtime `.ma` state as part of the distributable plugin
|
|
101
|
+
- preserve the gate/evidence semantics documented in the repo
|
|
102
|
+
|
|
103
|
+
## Version and release relation
|
|
104
|
+
|
|
105
|
+
The plugin version should track the release scope of the core repo.
|
|
106
|
+
|
|
107
|
+
For this repository:
|
|
108
|
+
- plugin scope is aligned to Meta-Architect `v0.1.0`
|
|
109
|
+
- any breaking contract change should be versioned intentionally
|
|
110
|
+
|
|
111
|
+
The plugin is one distribution surface of the same product, not a separate product line.
|
|
112
|
+
|
|
113
|
+
## Related surfaces
|
|
114
|
+
|
|
115
|
+
- [README.md](../../README.md)
|
|
116
|
+
- [docs/skills.md](../../docs/skills.md)
|
|
117
|
+
- [docs/skills-publishing.md](../../docs/skills-publishing.md)
|
|
118
|
+
- [docs/mcp-setup.md](../../docs/mcp-setup.md)
|
|
119
|
+
- [.app.json](./.app.json)
|
|
120
|
+
- [.codex-plugin/plugin.json](./.codex-plugin/plugin.json)
|
|
121
|
+
- [.mcp.json](./.mcp.json)
|