@jstn-sdk/ma
v0.1.12
Published
Codex-native skills system for architecture, evidence, review, and gated build guidance.
Maintainers
Readme
[!IMPORTANT] Meta-Architect
v0.1.12is a production-grade skills line. It is not a lightweight demo branch. Fromv0.1.12onward, the package is expected to ship with stable skill contracts, deterministic packaging, explicit release gates, and honest install and publish surfaces.
Overview
Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution.
It adds:
- an architecture-first lane before implementation
- evidence-backed OSS selection through GitMCP-connected sources
- explicit logic, security, and DX/UX review gates
- a singular
$maestrobounded autonomous manager plus non-gating helper skills for alignment, diagnosis, test-first work, and cleanup - installable skills and a reproducible package surface
[!NOTE] Meta-Architect does not replace your coding runtime. It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.
Support
Screenshots
Prerequisites
- Node.js
>=20 - npm
>=10 - Git
- an MCP-capable coding runtime
- Codex for the recommended package-first path
- macOS, Linux, or WSL2 recommended
[!TIP] The most reliable default environment is a Unix-like shell with Git, Node.js, and an MCP-capable runtime already configured.
Default Install Surfaces
Meta-Architect is a Codex-native session workflow. On Linux, the primary install surface is now distro-style package installation, not a standalone binary shell.
Debian, Ubuntu, Linux Mint, Pop!_OS
Download the GitHub release .deb asset and install it with your normal package command:
sudo apt install ./meta-architect_<version>_all.debArch, Manjaro, EndeavourOS
Download the GitHub release pacman package asset and install it with:
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xzFedora, RHEL-family, openSUSE
Download the GitHub release RPM asset and install it with your distro-native command:
sudo dnf install ./meta-architect-<version>-1.noarch.rpm
# or
sudo zypper install ./meta-architect-<version>-1.noarch.rpmThese 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.
npm fallback
# Install
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
# Start Codex context if needed
ma --madmax --high
# Remove Meta-Architect only
npm uninstall -g @jstn-sdk/ma
# Remove Meta-Architect and Codex
npm uninstall -g @jstn-sdk/ma @openai/codexWhat this assumes:
- Codex is installed globally
- Meta-Architect is installed globally as the skills/plugin package
- Meta-Architect installs its published skill surface into the active Codex home
- the product experience happens through the skill workflow inside Codex
[!IMPORTANT] On Linux, distro-native package install is the default surface. npm remains available as a fallback path.
Repository Branch Strategy
Meta-Architect’s repository workflow follows a stricter release posture focused on gated promotion:
main= release-facing protected branchdevelopment= normal integration branchfeature/*= short-lived contribution branches- contributors branch from
development - normal PRs target
development - only curated promotions move
developmentintomain
[!CAUTION]
mainis intended to be protected and exceptional. Maintainers should stop bypass-pushing tomainexcept for genuine emergency or admin recovery cases.
Setup
Package setup
Debian-family install:
sudo apt install ./meta-architect_<version>_all.debArch-family install:
sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xzFedora/openSUSE install:
sudo dnf install ./meta-architect-<version>-1.noarch.rpmnpm fallback:
# Install
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
# Launch
ma --madmax --high
# Remove Meta-Architect only
npm uninstall -g @jstn-sdk/ma
# Remove Meta-Architect and Codex
npm uninstall -g @jstn-sdk/ma @openai/codexThis gives you:
- the installed Meta-Architect skill surface
- the canonical Meta-Architect skill entrypoints inside a Codex session
- the optional
mahelper command when a guided start is useful
Contributor setup: source checkout
Use this path only if you want to work on Meta-Architect itself.
git clone https://github.com/JustineDevs/meta-architect.git
cd meta-architect
npm install
npm linknpm link makes ma and meta-architect available from the local checkout.
Quick Start
1. Start Codex context if needed
ma --madmax --high2. Start with the real usage-workflow prompt
Use the same operator shape defined in example/usage-workflow.md.
Quick-start prompt:
$maestro
Or start directly with:
$arch I want to build: [PROJECT IDEA]
Context:
- Product type: [web app / mobile app / API / marketplace / agent system / internal tool]
- Users: [who will use it]
- Core problem: [what problem it solves]
- Main features:
1. [feature one]
2. [feature two]
3. [feature three]
- Constraints:
- Budget: [low / medium / high]
- Team size: [solo / small / medium]
- Timeline: [e.g. 2 weeks MVP, 3 months beta]
- Preferred stack: [optional]
- Avoid: [optional]
- Quality priorities:
- [e.g. speed, low cost, security, DX, maintainability, scalability]
- Deployment target:
- [Vercel / Docker / VPS / AWS / GCP / local-first / hybrid]
Required output:
1. Problem framing
2. Recommended architecture
3. Stack decision with justification
4. System components and responsibilities
5. Data model and storage choices
6. Auth/security considerations
7. DX/UX considerations
8. Delivery plan for v0.1.12
9. Risks and trade-offs
10. Decision log
11. Exact next trigger to run after this3. Run the full trigger sequence inside Codex
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.
The release-gated sequence stays fixed:
$arch
$sage
$flow
$vet
$vibe
$buildOptional publishable non-gating helper skills available around that sequence:
$align
$diagnose
$tdd
$cleanupSee example/usage-workflow.md for the full prompt templates for each step.
4. Secondary helper path
If you are working from a repository directly and need scaffolded local support files, use:
ma bootstrap
ma bootstrap --init-mcp
ma doctor
ma setup
maRecommended lazy-user path:
- run
ma bootstrapfirst to repair packaged assets, scaffold local runtime files, and verify the environment - add
--init-mcpif you want starter GitMCP source files written into the localmcp/folder when it is empty or invalid - use
ma doctorlater when you want a check-only readiness report without changing files
Expected output for ma setup:
meta-architect setup
====================
ready: .codex/agents
ready: .codex/prompts
ready: .ma/skills
ready: .ma/evidence
ready: .ma/context
ready: .ma/specs
ready: .ma/plans
ready: mcp
ready: docs
ready: docs/qa
ready: sprint5. Configure GitMCP sources
Add real repository-backed endpoints in mcp/servers.json.
Example:
{
"category": "candidate",
"repo": "owner/repo",
"endpoint": "https://gitmcp.io/owner/repo"
}Recommended source-selection posture:
- use packaged native references to narrow candidate families first
- map serious candidates to exact upstream GitMCP endpoints
- verify final choices against upstream repos and official docs before approval
Core discovery standard:
https://ossium.live/home- use Ossium to discover trending OSS, curated repos, YC-backed repos, GSoC orgs, and contribution opportunities faster
https://trendshift.io/- use Trendshift for rising GitHub engagement and topic-driven trend discovery
https://devhunt.org/- use Dev Hunt for recently launched developer tools and current dev-tool discovery
https://libraries.io/- use Libraries.io for package and dependency metadata, with caution because its public data is scraped and not validated/curated for accuracy
https://openhub.net/- use Open Hub for project activity, contributor, popularity, and comparison signals
https://www.opensourceprojects.dev/- use Open-source Projects for curated OSS discovery and detailed project writeups
- treat all of these as discovery acceleration, then convert promising finds into exact upstream GitMCP mappings and official-doc checks for
$sage
Useful native references:
skills/maestro/references/native-ingest-map.mdskills/sage/references/source-selection.mdskills/vet/references/security-playbooks.md
Canonical $sage order:
- Start with the upstream repo and official docs if you already know them.
- Use discovery accelerators only when you need help finding or narrowing candidates.
- Map selected candidates to exact upstream GitMCP endpoints.
- Verify against upstream repos and official docs before treating anything as approved evidence.
[!IMPORTANT] Verified release evidence must come from repository-form GitMCP endpoints such as
https://gitmcp.io/{owner}/{repo}. A generic documentation endpoint such ashttps://gitmcp.io/docsdoes not count as VERIFIED evidence for build unlocking. Discovery surfaces such as Ossium, Trendshift, Dev Hunt, Libraries.io, Open Hub, and Open-source Projects are not substitutes for upstream repo or official-doc verification.
6. Secondary helper flow outside Codex
If you need scripted repo-local validation rather than the interactive runtime workflow:
ma idea "Build a real-time collaborative whiteboard for product teams"
ma run '$arch'
ma run '$sage'
ma run '$flow'
ma run '$vet'
ma run '$vibe'
ma status
ma run '$build'Expected status before the helper-path $build:
Meta-Architect Status
=====================
Idea: CLEAR
Architecture: APPROVED
Evidence: VERIFIED
Logic: GREEN
Security: GREEN
Experience: GREEN
Build: LOCKED
Next allowed triggers:
$buildExpected helper-path build output:
Build gate is green.
Suggested branches:
- feature/implementation
- feature/verification
Optional worktree commands:
git worktree add ../implementation feature/implementation
git worktree add ../verification feature/verification7. Simple command guide
Meta-Architect has two surfaces.
- terminal helper commands
- in-session skills
The umbrella in-session entry point is $maestro. There is no separate shipped $meta-architect skill surface.
Terminal commands are normal shell commands you run in the terminal:
ma setup
ma init
ma idea "Build a product"
ma status
ma run '$arch'In-session skills are prompts you use inside the Codex conversation after launch:
$maestro
$arch
$sage
$flow
$vet
$vibe
$build
$align
$diagnose
$tdd
$cleanupPlain-language difference:
ma ...= helper commands in the terminal$...= the product experience inside Codex
Autonomous-manager contract:
$maestrois the only umbrella in-session surface- 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 $align,$diagnose,$tdd, and$cleanupare publishable helper skills that do not move release gates
What ma setup and ma init do:
- both currently do the same thing
- they create the local support files and folders
- they prepare
.ma/runtime files such as context, specs, plans, evidence, and runbook files - they do not run the skill workflow by themselves
What ma bootstrap does:
- checks whether
codexis callable - repairs installed skills and support-bundle assets when possible
- runs local scaffold setup
- can seed starter MCP files with
--init-mcpwhen the local MCP config is empty or invalid - reports
READY,READY_WITH_WARNINGS, orBLOCKED
What ma doctor does:
- runs the same environment checks without changing files
- prints the current readiness state and exact next step
What to use when:
- use Codex and run the skills in-session
- use
$maestrowhen you want Meta-Architect to choose the best next step for you or act as the bounded autonomous manager for the umbrella workflow - use
$arch -> $sage -> $flow -> $vet -> $vibe -> $buildinside the Codex session - use
$align,$diagnose,$tdd, or$cleanupwhen a helper is enough and the release gate should stay where it is - use
ma bootstrapwhen you want the lazy-user setup path - use
ma doctorwhen you want a check-only environment report - use
ma setuporma initonly when you want local scaffolding or scripted helper automation from the terminal - use
ma sdk-pathwhen you need the exact installed support-bundle path for packaged prompts, MCP files, sprint files, scripts, plugin metadata, or templates
Skill Surface
Meta-Architect’s in-session surface has three layers:
- umbrella autonomous manager:
$maestro - fixed gated lanes:
$arch,$sage,$flow,$vet,$vibe,$build - non-gating helper skills:
$align,$diagnose,$tdd,$cleanup
Helper skills are publishable surfaces, but they do not own release-state transitions.
Core Maintainers
Gated Lanes
| Trigger | Purpose | Main output | Gate effect |
| --- | --- | --- | --- |
| $arch | Produce the first-pass architecture blueprint | decision entry | architecture_status = APPROVED |
| $sage | Ground major choices in configured GitMCP evidence | evidence records | evidence_status = VERIFIED | PARTIAL | MISSING |
| $flow | Review baseline logic and state transitions | logic review entry | logic_status = GREEN | RED |
| $vet | Run baseline security and dependency review | audit and CVE records | security_status = GREEN | RED |
| $vibe | Review developer and user experience implications | DX/UX outcome record | experience_status = GREEN | RED | WAIVED |
| $build | Unlock bounded build planning | build-ready decision + .ma/plans/build.md | build_status = READY |
Helper Skills
| Trigger | Purpose | Gate effect |
| --- | --- | --- |
| $align | Normalize terminology, tighten scope, and improve prompt or docs clarity | none |
| $diagnose | Decompose blocked-lane symptoms into hypotheses and next probes | none |
| $tdd | Lock behavior with regression-first or test-first scaffolding | none |
| $cleanup | Simplify noisy output and run a final-pass anti-slop cleanup | none |
Gate Model
Meta-Architect is intentionally fail-closed.
| Status | Meaning |
| --- | --- |
| CLEAR | enough input exists to proceed |
| APPROVED | the architecture lane produced an acceptable first-pass blueprint |
| VERIFIED | live evidence was grounded through approved GitMCP sources |
| PARTIAL | evidence is configured but live proof is incomplete or unavailable |
| GREEN | the current baseline review passed |
| RED | the lane is blocked or failed |
| WAIVED | the lane was intentionally waived with a recorded reason |
| LOCKED | downstream work is not allowed yet |
| READY | the next gated step is allowed |
[!CAUTION]
$buildmust stay locked until the upstream release state in.ma/release.jsonsatisfies the gate contract. Meta-Architect is designed to stop on blockers rather than silently continue. Rich runtime artifacts live in.ma/context/,.ma/specs/,.ma/plans/, and.ma/runbook.md.
Release and Packaging
Meta-Architect has three related but different distribution surfaces.
| Surface | Purpose | Produced by |
| --- | --- | --- |
| Linux native packages | distro-managed install assets for Debian-family and Arch-family environments | npm run linux:packages:build and GitHub release assets |
| npm package | public package containing the installable Meta-Architect skills/plugin system, docs, scripts, and canonical skills | npm publish or npm pack |
| skills bundle | narrower tarball containing skills/ only | npm run skills:pack |
Required packaging commands:
npm run skills:manifest
npm run skills:validate
npm run skills:pack
npm run skills:install -- --path ./dist/installed-skills
npm run linux:packages:build
npm run release:assets
npm run pack:inspectPre-publish rules:
skills/index.jsonmust be currentnpm run skills:validatemust passdist/meta-architect-skills.tgzmust existdist/meta-architect_<version>_all.debmust exist for Debian-family installsdist/meta-architect-<version>-1-any.pkg.tar.xzmust exist for Arch-family installsdist/meta-architect-<version>-1.noarch.rpmmust exist for Fedora/openSUSE-style installsnpm pack --dry-runmust show only intended public files- docs must match the real skills/plugin and release behavior
Release lane discipline:
- stable versions publish to npm
latest - prerelease versions such as
0.2.0-beta.1must publish with an explicit dist-tag such asbeta - alternate lanes such as
next,beta, andcanarymust never overwritelatest
Maintainer version-bump flow:
- Bump the package with
npm version <version> --no-git-tag-version - Update
CHANGELOG.md,RELEASE.md, anddocs/qa/release-readiness-<version>.md - Run
npm run release:verify - Run
npm run release:check - Create and push tag
v<version> - Build and smoke-check the Linux native packages with
npm run linux:packages:build,npm run linux:packages:smoke, andnpm run release:assetson Linux - Preferred publish path: publish from
.github/workflows/npm-publish.ymlon a supported cloud runner so provenance can be generated - Local shell fallback when not publishing from GitHub Actions or GitLab CI/CD:
- Stable publish:
npm publish --access public - Prerelease publish:
npm publish --access public --tag <lane>
- Stable publish:
- Verify publish state with
npm view @jstn-sdk/ma version dist-tags time --json - Confirm the GitHub release includes
dist/meta-architect-skills.tgz,meta-architect_<version>_all.deb,meta-architect-<version>-1-any.pkg.tar.xz, andmeta-architect-<version>-1.noarch.rpm
Provenance note:
npm publish --provenancerequires a supported cloud CI/CD provider- a local shell publish will fail with
Automatic provenance generation not supported for provider: null - use the repository publish workflow when provenance is required
Release automation:
npm run release:syncbumps and synchronizes the active release line only when watched release-relevant files changednpm run release:advanceforce-bumps the next patch line and rewrites the same version-bearing files.github/workflows/release-sync.ymlruns the sync path onmainpushes that touch watched release-relevant paths.github/workflows/release-advance.ymlruns after a published GitHub release and advances the repo to the next patch line automatically
[!CAUTION] Do not claim npm, GitHub release, or any other publish channel until that channel has actually succeeded. Release documentation must match reality, not intent.
Package Surface
Repository Structure
Documentation
| Surface | Purpose |
| --- | --- |
| Getting Started | end-to-end local onboarding |
| Skills Reference | trigger-by-trigger contract guide |
| Installed Support Bundle | standard packaged asset path for skills and helper flows |
| Skills Publishing | source-to-package pipeline |
| MCP Setup | evidence endpoint policy |
| Plugin README | plugin distribution surface |
| Collaborative Whiteboard Mission | concrete scenario walkthrough |
| Release Spec | release and gate policy |
| Release Readiness | QA evidence for the v0.1.12 line |
Release Hygiene
[!WARNING] Runtime
.malogs, state, tmp, and cache files must not be shipped. Public docs must match actual package behavior. Publish statements must match reality. Skill contracts must stay aligned across canonical and plugin-facing copies.
