The meta-harness for AI software engineering

Stop prompting one assistant.
Install an engineering organization.

A model gives you raw intelligence. A coding harness gives you one generalist assistant. engsys is the meta-harness above both — installing 15 specialized agents, 24 stack packs, Adaptive Spec-Driven Development, compounding repo memory, and an optional autonomous fleet into Claude Code, GitHub Copilot CLI, or Google Antigravity.

Claude Code · Copilot CLI · Antigravity 15 Specialists · 24 Stack Packs · 51 Curated Lessons Start in 3 min — no daemons required
Fifteen specialists. Three coding harnesses. One declarative install.
1 · The Mental Model

Model vs. Coding Harness vs. Meta-Harness

When people talk about “AI coding agents,” three completely different layers get blurred together. Understanding where each stops is the whole story of engsys.

Layer 1 · The Brain

The Model

Raw reasoning and code generation. Brilliant in a single turn, but stateless — it wakes up with amnesia, has no terminal or filesystem on its own, and knows nothing about your team’s engineering process.

Examples: Claude Opus 4.8 & Sonnet · GPT / Codex · Gemini · Grok · DeepSeek
Layer 2 · The Workbench

The Coding Harness

Wraps a model in an interactive CLI or IDE runtime with bash execution, file editing, subagents, MCP servers, and lifecycle hooks. Great for driving one assistant — but out of the box it has no org chart, no role boundaries, and no cross-PR memory.

Supported Harnesses: Claude Code (claude) · GitHub Copilot CLI (copilot) · Google Antigravity (agy)
Layer 3 · The Engineering Org

The Meta-Harness (engsys)

Sits above your coding harness and across models. Defines who does the work (15 personas), which stack rules apply (24 packs), how work moves (spec → worktree → review → merge), and what the team remembers — then compiles that system into whichever harness you run.

One config: engsys.config.yaml → materializes into Claude Code, Copilot CLI, or Antigravity
⇄
One team, three harnessesUniversal hook adapter (harness-io.mjs)
Switch the target harness → see what engsys install --into . materializes:
2 · The Core Design (3-Part File Taxonomy)

Persona, capability pack, project facts

Inside engsys, a three-part file taxonomy keeps your setup portable across every repository: who does the work, which stack they target, and what is true about this repo — kept ruthlessly separate so you swap packs instead of rewriting prompts.

Persona — who

Stable everywhere

Voice, first-principles diagnostic checklists, least-privilege tool allowlists, and handback schemas that never change from repo to repo.

Capability — which stack

24 detachable packs

Adapting to a repo means selecting aws vs azure or typescript vs swift in YAML — never hand-editing agent prose. Mixed stacks compose cleanly.

Project facts — this repo

Generated + naturalized

Services, build commands, and house invariants rendered into your harness instructions (CLAUDE.md / GEMINI.md) and filled once via /naturalize.

MelvinCloud architect — same person, every cloud
Pick the project’s cloud → he loads the matching capability pack. His persona file never changes.
3 · The Roster

Fifteen specialists, one install

Not one generalist prompt wearing hats — fifteen distinct specialists with scoped tool permissions, domain skills, and structured handback contracts.

4 · How Work Moves

Adaptive Spec to Closeout, on rails

Workflows route work through the specialists in order: risk-adaptive specs (/spec), isolated worktree implementation, cross-family code & security review, preflighted merge, and automated lesson harvesting.

5 · Compounding Agentic Memory

It gets smarter every PR — without prompt-injection risk

Dumping raw GitHub comments into an agent’s prompt wastes context and invites prompt injection. engsys separates trusted instructions from untrusted repo evidence and compiles a targeted ≤ 2 KB brief at every SubagentStart.

Class A · Trusted Instructions

Curated Lessons (origin/HEAD)

51 bundled cross-project lessons plus your repo’s local lessons, each tagged with YAML frontmatter (stacks, paths, roles, security: true). Loaded strictly from reviewed git refs — never unreviewed working-tree edits.

Guarantee: security: true lessons are always injected first and never dropped by token budgets.
Class B · Historical Repo Evidence

Git Ref Store (refs/engsys/memory/*)

Merged PR outcomes, review findings, and issue history synced via memory-sync into an append-only custom Git ref with CAS retry, mandatory secret scanning, bot databaseId verification, and spoofing quarantine.

Safety: Only compact 1-line pointers are pushed at startup; full text is fetched on demand inside an untrusted envelope.
Runtime · Subagent Injection

SQLite FTS5 + PreToolUse Stash

When an orchestrator dispatches a subagent, PreToolUse stashes the task prompt and target file paths. At SubagentStart, memory-brief scores Class A lessons (BM25 + path/role) and Class B pointers in milliseconds.

Loop closure: At /project-closeout, harvest-findings clusters recurring PR review comments into new Class A lesson drafts.
6 · Start Small, Graduate When Ready

How do you deploy this without the complexity?

90% of users start at Stage 1 in under 3 minutes. You do not need background “monsters,” an always-on machine, or a GitHub App to get the team, the stack packs, Adaptive SDD, and the memory library. Click a stage to see how adoption scales from a solo laptop to an organization-wide fleet:

7 · Stage 3 & 4 Deep Dive: The Always-On Fleet

When you want the team to keep shipping while you sleep

Once you graduate to Stage 3 or 4, long-running “monsters” own the loops humans drop: Merge Monster pilots every ready PR through CI to merge, Maintenance Monster triages Dependabot/CodeQL and operates the Fleet Health Desk, and Resource Broker pools heavy host hardware. Click any layer of the safety stack:

each layer trusts only the one below
recovery flows upward

How the autonomous roles compose

Producer / consumer with separate GitHub-ref CAS batons (refs/engsys/leases/baton-*): Maintenance Monster triages alerts, tracks upstream outages on the Fleet Health Desk board, and hands verified fix PRs to Merge Monster. Underneath, a deterministic launchd supervisor relaunches rotated or crashed sessions and verifies host & plugin integrity against GitHub.

ship flow (Merge Monster) security & weather flow (Maintenance Monster + Fleet Health Desk) deterministic supervision & integrity verification (no LLM)
8 · Install & Use

Deploy by hand — or hand DEPLOY.md to your agent

A deterministic zero-dependency Node CLI writes the folders and merges settings faithfully. Your model only fills in project facts afterward via /naturalize.

Fastest path: let your coding harness deploy Stage 1 for you
Paste this prompt into Claude Code, GitHub Copilot CLI, or Google Antigravity:
Read https://raw.githubusercontent.com/eric-sabe/engsys/main/DEPLOY.md and deploy Stage 1 into this repository.
Get the CLI

Install globally from npm — or git clone https://github.com/eric-sabe/engsys. Zero-dependency Node (≥20.11); runs identically on macOS, Linux, and Windows.

npm install -g engsys
Scaffold engsys.config.yaml

Pick your coding harness (claude | copilot | antigravity | all), stack packs (cloud / iac / lang / platform / db), and optional specialists.

engsys init
Materialize into your project

Writes your harness directories, renders instructions + settings, and seeds the 51-lesson library. Existing setup? It adopts and backs it up so engsys uninstall can restore byte-for-byte.

engsys install --into .
Naturalize project facts

Open the repo in your harness and run /naturalize. It fills the fenced PROJECT-FACTS region and project-brief-overlay.md — the one model-driven step.

/naturalize
Verify & evolve

Check drift against the lockfile, enable external review providers (codex,grok,deepseek), update packs, or roll back cleanly.

engsys verify --into .  ·  engsys update --into .  ·  engsys uninstall --into .

A config like the left materializes the multi-harness surface on the right:

Dropping into an existing repo?
engsys install adopts your existing CLAUDE.md, GEMINI.md, settings, and custom agents instead of overwriting them, snapshots Copilot/Cursor rules for /naturalize to fold in, and engsys uninstall --into . restores everything byte-for-byte. Full details in install-scenarios.md and DEPLOY.md.
Open DEPLOY.md Playbook ↗ Browse Source on GitHub ↗ MIT licensed · zero-dependency installer · README
9 · Design Principles

Architectural rules you can steal for any agent system

Your next project already has an engineering org waiting

Start at Stage 1 in three minutes.

Pick your harness and stack packs, run the installer, naturalize the project facts. Scale to autonomous fleets only when you need them.
$ engsys install --into .
DEPLOY.md Runbook ↗