# Headron: full reference for agents Headron is a verification layer for AI coding agents, by HLIntel LLC (MIT open core). A repository declares, in atlas.yaml, which commands prove a change. Headron computes what proof a change owes from the change itself, runs or routes the declared checks, and can write a verification receipt for review. Verdicts are PASS, FAIL, SKIP and NOT RUN. A check that did not run is never counted as a pass, but the overall verdict can still be PASS when a check is skipped. Review skipped and unrun checks separately. ## Install - Python package: headron-software (PyPI). `pip install headron-software` - CLI entry points after install: `headron`, `atlas`, `headron-mcp` - MCP server, no install step: `uvx --from headron-software headron-mcp` (Bare `uvx headron-software` does not work; the binary is named headron-mcp.) - Set up a repository: `headron init` writes atlas.yaml plus agent wiring (AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, a pre-commit hook). `headron init --no-wiring` writes the contract only. - There is no npm package. Headron ships Python only. ## CLI surface - `headron commands` — every command and instrument, as text or a JSON record - `headron check` — run the whole contract; the exit code is the verdict - `headron verify` — every done gate once: PASS, FAIL or NOT RUN, by exit code - `headron route ` — which checks a file owes - `headron gate ` — the gate that decides whether a change to a file lands - `headron plan` — the proof plan for a declared change - `headron proof` — one deterministic agent result: scope, planned gates, measured verdicts - `headron steps` — the steps a process requires - `headron process ` — a named process: gates, artifacts, when to stop or escalate - `headron failures [--for ]` — recorded failure shapes and their lessons - `headron successes [--for ]` — moves that worked, and how to verify each - `headron invariants` — every hard invariant and the function that enforces it - `headron doctor` — local contract prerequisites and language tool probes - `headron index` — regenerate the generated documents, or show the drift - `headron find ` — search the project index; hits carry citations - `headron sweep` — map architectural tiers and shards ## atlas.yaml The contract lives at the repository root. It declares: - `version` — the contract version - `identity` — owner, project name and product names, declared once so a rename is one line - the checks, gates and routes that map files and languages to the commands that prove them - named processes with their gates, artifacts and escalation rules - `agent_failure_modes` — the failure ledger: named shapes, their tells, and the move that replaces each Generated documents (CHAT.md among them) are produced from atlas.yaml by `python scripts/atlas.py index --write`. Do not hand-edit generated files; edit the contract and regenerate. ## Local MCP (stdio) Server name in the official MCP Registry: io.github.HLIntel/headron Transport: stdio. Read-only. Requires HEADRON_ROOT, the path to a checkout whose atlas.yaml the server reads. Run: `uvx --from headron-software headron-mcp` Tools (14): headron, port, route, gate, steps, failures, successes, proof, mind_classify, mind_plan, mind_route, mind_health, mind_receipts, mind_search Generic MCP client config: ```json { "mcpServers": { "headron": { "command": "uvx", "args": ["--from", "headron-software", "headron-mcp"], "env": { "HEADRON_ROOT": "/absolute/path/to/your/checkout" } } } } ``` ## Hosted MCP and API (Headron Mind) Endpoint: https://headron.tech/mcp (Streamable HTTP) Trust and Pro are on sale at https://headron.tech/checkout, Pro with a 3-day free trial; Trust is charged at signup. - tools/list answers without a key, for discovery. - read_document is public: it serves the published documentation only. - plan_change requires an eligible plan and an OAuth token with the mind_api scope, a paired-device token, or a Headron Mind key. Missing or invalid credentials are refused. - OAuth discovery is published under /.well-known/ on headron.tech; the authorization server is headron.tech and the scope is mind_api. REST: - POST /api/mind/plan — plan a declared change. Missing or invalid key: HTTP 401. - GET /api/mind/capabilities — public list of the six Mind operations with input and result schemas (MCP: discover_capabilities). - POST /api/mind/invoke — run one operation: {"capability": "...", "input": {...}}. Same key as /plan. Answers are read from the pinned policy; nothing is executed. - POST /api/mind/verify — a key check, not a verification call. Send an EMPTY body with `Authorization: Bearer `. Returns 200 (active), 401 (invalid key) or 402 (no active plan). Any request body returns 400, by design. Retention: Mind requests are processed in memory. The only durable write is a monthly and per-minute call counter keyed by a hashed digest of the caller's key. No request payloads or documents are stored. ## Design MCP (Headronist, local) The headronist Python package (HLIntel/Headronist-Design) serves design contracts over a local MCP. Tools (7), all with the design_ prefix: design_discover, design_inspect, design_intake, design_recommend_assets, design_visual_prompt, design_graph_guidance, design_composition_check. Local only today; a combined door at headron.tech/mcp with Task (Mind) and Design (Headronist) pathways is in preparation and is not live yet. ## Receipts `headron verify --receipt ` writes a receipt with the base commit, input and policy digests, check states and verdict. Retain the head commit and CI logs separately. Receipts can optionally be signed with a detached SSH signature (manual step; a signature proves authorship, not truth). ## Links - Site and docs: https://headron.tech/ and https://headron.tech/docs.html - Short agent index: https://headron.tech/llms.txt - Chat entry point: https://github.com/HLIntel/Headron/blob/main/CHAT.md - Consuming guide: https://github.com/HLIntel/Headron/blob/main/docs/CONSUMING.md - Source: https://github.com/HLIntel/Headron - Registry: io.github.HLIntel/headron in the official MCP Registry