New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@jstn-sdk/ma

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jstn-sdk/ma

Codex-native skills system for architecture, evidence, review, and gated build guidance.

latest
Source
npmnpm
Version
0.15.2
Version published
Weekly downloads
522
10340%
Maintainers
1
Weekly downloads
 
Created
Source
Meta-Architect: quality gates and evidence verification for AI coding agents

Meta-Architect

Quality gates and evidence verification for AI coding agents.

Your agent writes code fast. Meta-Architect makes it prove each stage first. Design, evidence, logic, security, experience, build. Each gate stays locked until the one before it passes.

GitHub release npm version npm downloads Socket security Snyk security Buy Me A Coffee GitHub Sponsors

Quick Start · Demo · Verified Coverage · Security · Contributing · Issues

[!NOTE] Meta-Architect is a workflow layer for teams that want architecture, evidence, review, and release discipline before build execution. Meta-Architect does not replace your coding runtime. It wraps that runtime with architecture, evidence, gate enforcement, and release-sensitive workflow control.

Meta-Architect demo video

🧩 Quick start

Install and start

Requires Node.js 20+ and a TypeSafe API key for autonomous Maestro routing.

npm install --global @jstn-sdk/ma@latest
ma auth typesafe
# Enter the key once when prompted. It is stored owner-only at
# ~/.config/meta-architect/provider.env (or $XDG_CONFIG_HOME/meta-architect/provider.env).
ma setup
ma --madmax --high

For a project-local dotenv setup, create .env.local in the project root:

TYPESAFE_API_KEY=jv_live_your_key

Keep .env.local out of version control. Meta-Architect reads .env.local, then .env, then the global credential file; explicit environment variables still take precedence. The default jev-latest model is selected automatically; no model setting is required. Check the resolved source without revealing the key:

ma auth typesafe --status

Then give Maestro the project goal inside your AI coding agent:

$maestro I want to build: [your project idea]

ma setup detects the active host, installs the compatible Meta-Architect surface, and writes project state to .ma/. The credential is never written to .ma/, receipts, logs, or generated context.

End-to-end example

After setup, the normal workflow is one goal, not a manually selected lane sequence:

ma setup
ma --madmax --high

Inside the AI coding agent, state the goal once:

$maestro Build a multi-tenant analytics API with authentication and tests.

When the local Maestro runtime is running with the live provider configured, Maestro reads the current .ma/ state, asks Jev to choose the next eligible action, dispatches the owning lane, records evidence, and repeats the decision-execute-verify loop. The user does not need to manually run $arch, $sage, $flow, $vet, $vibe, or $build.

Loading $maestro as an in-session skill alone does not call Jev. Report provider use: not verified unless a successful local Maestro receipt records the provider decision.

$maestro
  -> selects the next eligible lane
  -> executes the lane
  -> verifies the result
  -> records evidence
  -> continues until complete or blocked

Inspect the current state at any time:

ma status
ma doctor

Maestro stops for missing credentials, destructive operations, deployments, or explicit approval gates. Interrupted work resumes from the persisted .ma/ state.

✅ Recommended🧰 All available installation commands
Use the signed jsDelivr installer on macOS, Linux, WSL, or Git Bash.

curl -fsSLo install.sh https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@latest/scripts/install.sh

curl -fsSLo install.sh.sha256 https://cdn.jsdelivr.net/gh/JustineDevs/meta-architect@latest/scripts/install.sh.sha256

sed 's#scripts/install.sh#install.sh#' install.sh.sha256 | sha256sum -c -

sh install.sh

ma --madmax --high

$maestro I want to build: [your project idea]
npm global

npm i -g @openai/codex@latest @jstn-sdk/ma@latest

Meta-Architect only

npm i -g @jstn-sdk/ma@latest

Windows PowerShell

npm i -g @openai/codex@latest @jstn-sdk/ma@latest

Debian / Ubuntu

sudo apt install ./meta-architect_<version>_all.deb

Arch Linux

sudo pacman -U ./meta-architect-<version>-1-any.pkg.tar.xz

Fedora / openSUSE

sudo dnf install ./meta-architect-<version>-1.noarch.rpm

AI agent installation prompt

Copy and paste this prompt into your AI coding agent:

Install Meta-Architect for this project.

1. Detect the current AI host and its native project configuration surface.
2. Install or update `@jstn-sdk/ma@latest` using the host's supported package manager.
3. Set `MA_AGENT` to the detected host ID when a host-specific surface is available.
4. Run `ma setup` and accept the detected project scope and targets.
5. Verify the generated `.ma/` state and native host artifacts.
6. Report the installed version, selected host, generated files, and any unsupported capabilities.

Do not overwrite user-owned files, modify unrelated configuration, or claim a host is supported without verification.

More install options: docs/getting-started.md

Security reporting and OpenSSF evidence: SECURITY.md and the OpenSSF Best Practices evidence matrix.

Uninstall Meta-Architect: npm uninstall -g @jstn-sdk/ma Uninstall Meta-Architect and Codex: npm uninstall -g @jstn-sdk/ma @openai/codex

Install into an AI vendor host

Install Meta-Architect once, then select the host surface before launch. The pre-launch step detects installed hosts and writes the selected scope and targets to .ma/prelaunch.json.

# Codex (reference host)
npm i -g @openai/codex@latest @jstn-sdk/ma@latest
ma --madmax --high

# Claude Code
MA_AGENT=claude-code npm i -g @jstn-sdk/ma@latest
MA_AGENT=claude-code ma --madmax --high

# Cursor
MA_AGENT=cursor npm i -g @jstn-sdk/ma@latest
MA_AGENT=cursor ma --madmax --high

# Any registered host surface
MA_AGENT=<host-id> npm i -g @jstn-sdk/ma@latest
MA_AGENT=<host-id> ma --madmax --high

MA installs or reuses the native skill/configuration surface for the selected host and keeps the canonical workflow unchanged. See the host compatibility evidence for supported surfaces.

Claude Code marketplace

The repository includes a hosted Claude Code marketplace for the existing plugins/meta-architect bundle:

/plugin marketplace add JustineDevs/meta-architect
/plugin install meta-architect@meta-architect

ChatGPT Desktop local marketplace

ChatGPT Desktop cannot resolve a direct link to a local Codex skill such as [$maestro](/home/justine/.codex/skills/maestro/SKILL.md). Install the portable plugin through the repository marketplace instead:

npm run plugin:validate
codex plugin marketplace add ./

Restart ChatGPT Desktop, open Plugins, select the local Meta-Architect marketplace, and install Meta-Architect. Use the installed plugin or its available @ mention with a normal request such as:

Use Meta-Architect Maestro to choose the next safe workflow step for this task.

The Desktop plugin packages the skills only. Live local ma and Jev execution still requires the local Codex/Node runtime; hosted ChatGPT Work execution requires a separately deployed authenticated MCP app. See the ChatGPT integration guide.

🔌 All 33 plugins & features

The plugin and feature inventory is maintained in the support bundle manifest and skills manifest, with verification in the coverage documentation.

Why do AI coding agents need gates?

Your agent writes code faster than you review it. Studies and dev surveys keep finding the same failures:

  • Plausible code with wrong logic
  • Imports of packages which don't exist
  • Outdated APIs from training cutoffs
  • "Done" claims with zero proof

Meta-Architect blocks each one:

  • No architecture without a decision record. $arch writes the blueprint and the trade-offs.
  • No stack claims without evidence. $sage grades every dependency claim VERIFIED, PARTIAL, or MISSING against upstream repos through GitMCP.
  • No build while a gate is red. Logic, security, and DX reviews fail closed.
  • No release claims without proof. Releases need issue-linked, production-verified evidence.

What is Meta-Architect?

An open-source workflow governor for AI coding agents. You install it as a skill package in your agent host. It adds six gated lanes plus $maestro, a bounded manager which routes your work through them. It doesn't replace your agent, runtime, or model. It governs what they produce.

FactValue
TypeSkill and plugin package for AI coding agent hosts
Reference hostCodex (full support)
Compatibility scopeCodex, OpenCode, Gemini CLI, Amp, Claude Code, Goose, Hermes, Pi, Cursor, Windsurf, Cline, Continue, Roo, Kiro CLI, Junie, GitHub Copilot, and Antigravity (coverage evidence)
RuntimeNode.js 20+
Installnpm i -g @jstn-sdk/ma
Evidence sourcesGitMCP / MCP endpoints
LicenseMIT

How does it work?

State your intent once. $maestro picks the next safe step and stops when something fails.

$maestro I want to build: a multi-tenant analytics API for logistics customers
Meta-Architect Status
=====================
Idea: CLEAR
Architecture: APPROVED
Evidence: VERIFIED
Logic: GREEN
Security: GREEN
Experience: GREEN
Build: LOCKED

Build stays LOCKED until every upstream gate passes. Red stays red.

The six gates

LaneQuestion it answersGate
$archWhat are you building, and why this shape?architecture_status
$sageDo your stack choices trace to real upstream evidence?evidence_status
$flowDo the logic and state transitions hold?logic_status
$vetDoes it survive security and dependency review?security_status
$vibeWill developers and users tolerate it?experience_status
$buildWhat's the narrowest safe thing to build now?build_status

Four helpers support the lanes without moving gates: $align, $diagnose, $tdd, $cleanup.

How is it different from Spec Kit, BMAD, or Agent OS?

Spec-driven tools structure what your agent writes. Meta-Architect enforces what your agent proves.

Spec KitBMADAgent OSMeta-Architect
Structured workflowYesYesYesYes
Gates which blockNoNoNoYes
External evidence verificationNoNoNoYes, GitMCP-graded
Learning loop with promotion rulesNoNoNoYes
Multi-hostYesYesYesCodex today, expanding

Already using a spec tool? Keep it. Their specs become inputs. MA's gates verify the execution.

Who is it for?

  • Solo builders shipping with AI agents who want release discipline without enterprise process
  • OSS contributors who need stack decisions they defend in review
  • Skip it if you want an unattended agent writing code. MA governs your agent. It isn't one.

How do I contribute?

  • Open an issue before a PR. It saves rework.
  • Start here: issues labeled triage
  • Branch from dev. main is protected and release-facing.
  • Run npm test before you submit. Follow CONTRIBUTING.md.
  • AI-assisted PRs welcome. Explain every line you submit or expect a close.

See the Code of Conduct and security policy for participation and private vulnerability reporting.

Learn more

License

MIT. Built by @JustineDevs. Shaped by ideas from the oh-my-codex ecosystem.

Found a bad claim before it shipped? Star the repo. It helps other developers find it.

Keywords

meta-architect

FAQs

Package last updated on 27 Sep 2026

Related posts