Headron
A read-only MCP interface to Headron that maps changed files to the checks they owe and reports verdicts (exit code is the verdict).
Run any single Headron verb as argv (e.g.
["gate", "app.py", "--json"]), or a validated read-only batch of up to 8 commands, optionally in parallel.port— start here before editing: a file's route, tier, applicable gates, lessons and next commands.route— explain which pack, card, manifest and rule resolved a path.gate— show the one command a named gate runs for a file, without running it.steps— get an ordered implementation plan for a file, tuned by tier/change class/runtime.proof— get the deterministic scope of a change to a file: change class, planned gates and tools.failures— look up agent mistakes for a file, a shape id, or an error text, with the guard that stops each.successes— look up the moves that replaced recorded failures and how each is proved.Mind tools (
mind_classify,mind_plan,mind_route,mind_health,mind_receipts,mind_search) — classify changes by class/risk, generate verification plans, pick an authorized agent/model tier, show API health, verify audit receipts, and search the repo code index for symbols, paths or phrases.
Provides the same adapter-based integration for Google Antigravity agents, keeping native tooling intact while enforcing identical deterministic boundaries: targeted evidence lookup, proof obligations per file kind, and refusal verdicts before landing.
Connects Headron's read-only MCP surface to OpenAI Codex agents, letting them look up file-to-check routing, retrieve repository facts and instruments, and read the same deterministic verdicts that the commit hook enforces, so autonomous changes are gated by one sovereign contract.
Contract 3.62.0 · MIT · verdicts carry receipts: headron verify --receipt <file>
Is: a rule contract and CLI mapping changed files to checks. Hooks are optional;
headron verifyruns done gates.Is not: a coding agent, model, test framework, or proof code is correct. A check that cannot run reports SKIP or NOT RUN, never a pass; the hook lets that commit through.
headron initwrites: AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .git/hooks/pre-commit. Use--no-wiringto skip hooks and configuration;headron enforce uninstallrestores a displaced hook.Mind API: hosted, paid, needs a key; plans a declared change. The command line works without it.
Agents: llms.txt. Chats: CHAT.md. Evidence.
Why this exists
Headron connects changed files to declared checks and reports whether those checks ran. A skipped check is not a pass. An optional Git hook can run checks before a commit, whether the change came from a developer or an agent.
Related MCP server: spec-drift-mcp
How it works
headron port <file> tells an agent what a file owes before it edits. atlas.yaml
holds those checks; the commit hook and CI report PASS, FAIL, SKIP or NOT RUN. The hosted
Mind API plans a declared change through headron mind.
$ headron gate scripts/doctor.py
1. formatter: ruff format --check scripts/doctor.py
2. compiler_or_typechecker: python3 -c 'import ast,sys; [ast.parse(open(f, encoding="utf-8").read(), f) for f in sys.argv[1:]]' scripts/doctor.py
3. unit_tests: pytestQuickstart
# install
uv tool install headron-software && headron doctor
# editable, to change Headron itself
git clone --depth 1 --branch v3.62.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctorIn your repository:
cd path/to/your-repo && headron init # finds your checks, wires your agents, installs the commit hook, runs once
headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proofWith an impact map, headron verify --changed evaluates checks for modified files.
Target a specific profile with headron verify --changed --change <class> (e.g. source_change, api_change, security_sensitive); headron verify remains the final full verdict.
Machines: bootstrap, facts, and JSON schema. Agents: adapters; the MCP interface is read-only. Another repository: CONSUMING.
Recorded results
See the instrument limits for their scope.
Instrument | Recorded result |
Enforcement | 31/31 breaks refused across 20 toolchains; 806 declared planted cases |
Failure ledger | 124 shapes, 212 sightings; 101 in-tree guarded, 23 host-only |
Field ledger | 940 verifications (136 clean); 1133 refusals; 394 landings; 711 lessons; 394 sessions |
Verification outcomes | 17,397 checks: 7,357 PASS, 1,097 REUSED, 1,278 FAIL, 7,665 NOT RUN. 533 runs failed; 271 stopped with an unrun check; 0 reported clean despite a failed or unrun check |
Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
Language roles | 360 pairs: 110 runnable, 0 undeclared |
Entry context: ~1,593 tokens. The 211 documents (697 KiB) load on demand; install: 10 KiB; hash lock with test tools: 8 packages. Field records. Routing data. Measures can overlap.
Where it fits
Agents and runtimes: adapters describe supported integrations.
Headron-Harness: a separate desktop dashboard and runtime; see product boundaries.
Other repositories:
headron initsets up a repository; CONSUMING covers CI.Languages: routes declare available checks and identify checks without a tool.
Agent contract
$ headron port scripts/doctor.py --line
◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠1 │ → headron gate scripts/doctor.py
$ headron port scripts --line
◎ scripts │ ⠟182 │ ⌂scripts │ → headron brainstorm
$ headron port . --line
○ . │ ⠟210 ⠿4 ⠁1 │ → headron checkDiscover:
headron find <query>searches paths, symbols and vocabulary;headron sweepmaps topology. Search does not guarantee semantic recall.Route:
headron port <file>, or parse .agent/bootstrap.json; load only its names.Processes:
headron process [<id>] --jsonlists workflows; with an id, its steps and gates.Mind:
headron mind --route <file>routes;headron mind --receiptslists audit trails.Beliefs:
headron revisenames what rests on a refuted claim;headron proposedrafts each fix outside the tree.Automate: add
--json; records follow the output schema.Before shell:
headron shell --json "<cmd>"; exit 3 means its verdict would be misread.Land:
python scripts/branchstate.py --land; checkheadron landed <branch>before deletion.Judge and report: use the judgment rungs; file breaks with the
headronskill.
Find your way
Every document: docs index · wiki
Languages: atlas · routing · verification
Why a rule:
headron why·headron failures· instrumentsCompanion products: desktop, web, enterprise
Security: policy · OpenSSF · contributing
Counts, computed
Generated on every build; check refuses drift.
52 hard invariants — enforced on every change, zero unowned
363 agreement edges — each a file tied to the declaration it answers for
95 instruments — each stating what it proves, what it does not, and what closes the gap
385 tool entries — across 40 manifests and 5 kinds, validated against
tools/tools.schema.json180 harness Python files — every one held by
lint·format·typecheck3.62.0 contract version —
VERSION, asserted in 10 other files
Project
Version tracks the contract, not content (versioning).
Built by HLIntel LLC, public on purpose (about). Contributions pass headron verify. MIT License.
Updated: contract v3.62.0
Available Tools
14 toolsfailuresARead-onlyIdempotent
Mistakes agents made with a file (for) or with an error text (match), each with the guard that stops it. The whole ledger is not offered: scope it with for, match or one shape's id. Read-only; the exit code is the verdict.
Inputs: id, for, limit, match.
gateBRead-onlyIdempotent
The one command a named gate runs for a file, as argv, with its state. It shows the command and does not run it. Read-only; the exit code is the verdict.
Inputs: path (required), gate, change.
headronBRead-onlyIdempotent
One read-only headron command as argv, e.g. ["gate", "app.py", "--json"]. Verbs: commands, check, proof, invariants, doctor, index, learn, process, index-search, find, do, pick, decide, decide-engine, pipeline, judge, links, model, intake, shell, delegate, handoff, cadence, schedtargets, mind, sweep, role, resume, steps, failures, successes, md, landed, brainstorm, inspect, data, port, why, gate, route, compile, plan. ["commands", "--json"] lists each with its arguments; the exit code is the verdict.
Inputs: argv, batch, parallel.
mind_classifyBRead-onlyIdempotent
Classify file changes by change class and risk level using Mind API.
Inputs: files.
mind_healthARead-onlyIdempotent
Show Mind API health telemetry, cache statistics, and system status.
Inputs: no named parameters.
mind_planBRead-onlyIdempotent
Generate a verification plan for classified changes, listing gates and isolation needs.
Inputs: files.
mind_receiptsCRead-onlyIdempotent
Gather and verify audit receipts from Mind operations over time.
Inputs: limit.
mind_routeARead-onlyIdempotent
Select an authorized agent and model tier for classified changes based on capabilities and permissions.
Inputs: files.
mind_searchARead-onlyIdempotent
Search this repository's code index for a symbol, path or phrase; returns ranked file hits.
Inputs: query (required).
portARead-onlyIdempotent
START HERE before editing a file: its route, tier, the gates to run, the lessons that apply, and the next commands. Read-only; the exit code is the verdict.
Inputs: target (required), runtime.
proofARead-onlyIdempotent
Deterministic scope of a change to one file: its change class, planned gates and tools. Measured verification (--verify) runs gates and stays on the CLI. Read-only; the exit code is the verdict.
Inputs: path (required), task, change.
routeCRead-onlyIdempotent
Which pack, card, manifest and rule resolved a path, and what else decides it. Read-only; the exit code is the verdict.
Inputs: path (required).
stepsCRead-onlyIdempotent
The ordered implementation plan for one file, to its return point. Read-only; the exit code is the verdict.
Inputs: path (required), tier, change, runtime.
successesCRead-onlyIdempotent
The moves that replaced recorded failures, for a file (for) or one move (id), and how each is proved. Read-only; the exit code is the verdict.
Inputs: id, for, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
The core read-only tools (port, proof, route, gate, steps) all describe the same thing—metadata about how a file's path/gates/plan resolve—and require careful reading of descriptions to separate. Worse, `route` vs `mind_route`, `steps` vs `mind_plan`, and `proof` vs `mind_classify` appear to be parallel concepts split across two namespaces, and `headron` is a catch-all dispatcher whose verb list (gate, proof, steps, failures, successes, port, route, plan, mind...) overlaps almost every other tool in the set.
All names are lowercase snake_case single tokens, so the surface formatting is consistent, but the conventions are split: six tools carry a `mind_` prefix and seven sibling tools do not, even where they cover the same concept. `headron` is an opaque, non-descriptive name, and no verb_noun pattern exists anywhere in the set.
Fourteen explicit tools is a reasonable headline count for a verification/governance server. However, `headron` alone exposes roughly 40 verbs that duplicate most of the named tools, so the effective surface is much larger than 14 and contains substantial redundancy.
The read-only advisory domain is well covered: routing, gating, proof/classification, ordered plans, failure/success ledgers, search, receipts and health all have entries, and the deliberate exclusion of mutation/execution ("stays on the CLI") is a stated design choice rather than a gap. Minor gaps exist around explanation/why and direct verification execution, both of which are only reachable indirectly through `headron`.
Maintenance
Related MCP Connectors
The AI orchestration agent for modern software teams.
QA platform for agents: coverage signals, in-repo test plans, verified tests and release governance.
Change-aware CI validation and affected-test guidance for coding agents.
Browser-based QA for AI-built software. Test pages with real browsers via agents.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides AI coding agents with dependency analysis, impact detection, and build verification tools.14-
- AlicenseAqualityDmaintenanceEnables AI coding agents to verify code against YAML specifications, detecting missing fields, extra fields, and type mismatches to prevent silent drift before commits.3MIT
- AlicenseNot gradedqualityCmaintenanceA verification layer that lets AI agents safely delete code in large codebases by assessing usage paths and providing risk statuses.7MIT
- AlicenseNot gradedqualityCmaintenanceMagga lets coding agents prove their changes before claiming they’re done by building the code and verifying that newly added tests fail before the fix and pass after it. It returns evidence-backed verdicts through the verify_change tool and supports 16 languages, including Rust, Go, Python, Solidity, and C/C++.8 npmApache 2.0