Menegakkan kontrak aturan dan memverifikasi perubahan file dengan memetakan perubahan tersebut ke pemeriksaan yang telah dideklarasikan dan automated gates.
Juga dikenal sebagai HLIntel/Headron, headron-software
- Stars
- 4
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- 3.62.0
- Commit terakhir
- 14 Nov 2026
- Lisensi
- MIT
Apa itu Headron MCP?
Headron adalah MCP server. Menegakkan kontrak aturan dan memverifikasi perubahan file dengan memetakan perubahan tersebut ke pemeriksaan yang telah dideklarasikan dan automated gates.
Ringkasan dibuat dari README proyek
Tentang Headron MCP server
Headron berfungsi sebagai rule contract dan command line interface yang menghubungkan perubahan file dengan pemeriksaan spesifik yang telah dideklarasikan. Alat ini dirancang untuk developer dan AI agent guna memastikan bahwa modifikasi pada codebase mematuhi gate yang telah ditetapkan. Dengan memetakan file yang berubah ke automated checks, sistem akan melaporkan apakah pemeriksaan tersebut berhasil, gagal, dilewati, atau tidak dijalankan. Hal ini memastikan bahwa pemeriksaan yang dilewati tidak akan dianggap sebagai keberhasilan secara keliru.
Pengguna dapat menginisialisasi repositori menggunakan headron init untuk menyiapkan file konfigurasi, git hooks, dan agent wiring. Tool ini bekerja secara lokal melalui CLI, namun juga menawarkan Mind API berbayar yang memerlukan API key untuk merencanakan perubahan yang dideklarasikan. Meskipun interface MCP bersifat read-only, sistem menyediakan berbagai command seperti headron verify untuk mengevaluasi perubahan dan headron port untuk menginformasikan persyaratan file kepada agent sebelum proses editing dimulai.
Apa yang bisa Anda lakukan dengannya
- 1Verifikasi perubahan file terhadap gateAI client dapat menjalankan command verifikasi untuk memeriksa apakah modifikasi terbaru telah memenuhi semua automated gates yang diperlukan.
- 2Menginformasikan kewajiban file kepada agentDeveloper dapat menggunakan command port untuk memberi tahu agent secara spesifik pemeriksaan apa saja yang harus dipenuhi oleh suatu file sebelum agent mencoba melakukan edit.
- 3Otomatisasi penegakan commitSistem dapat dikonfigurasi untuk menjalankan pemeriksaan secara otomatis sebelum developer atau agent melakukan commit kode ke dalam repositori.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal Headron MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal Headron MCP di Claude Code
$ claude mcp add --env 'HEADRON_ROOT=<HEADRON_ROOT>' headron -- uvx headron-softwareInstal Headron MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"headron": {
"command": "uvx",
"args": [
"headron-software"
],
"env": {
"HEADRON_ROOT": "<HEADRON_ROOT>"
}
}
}
}Instal Headron MCP di VS Code
.vscode/mcp.json
{
"servers": {
"headron": {
"type": "stdio",
"command": "uvx",
"args": [
"headron-software"
],
"env": {
"HEADRON_ROOT": "<HEADRON_ROOT>"
}
}
}
}Instal Headron MCP di VS Code CLI
$ code --add-mcp '{"name":"headron","type":"stdio","command":"uvx","args":["headron-software"],"env":{"HEADRON_ROOT":"<HEADRON_ROOT>"}}'Instal Headron MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"headron": {
"command": "uvx",
"args": [
"headron-software"
],
"env": {
"HEADRON_ROOT": "<HEADRON_ROOT>"
}
}
}
}Instal Headron MCP di Codex
$ codex mcp add headron --env 'HEADRON_ROOT=<HEADRON_ROOT>' -- uvx headron-softwareInstal Headron MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.headron] command = "uvx" args = ["headron-software"] [mcp_servers.headron.env] HEADRON_ROOT = "<HEADRON_ROOT>"
Instal Headron MCP di Gemini CLI
$ gemini mcp add -s user -e 'HEADRON_ROOT=<HEADRON_ROOT>' headron uvx -- headron-softwareInstal Headron MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"headron": {
"command": "uvx",
"args": [
"headron-software"
],
"env": {
"HEADRON_ROOT": "<HEADRON_ROOT>"
}
}
}
}Konfigurasi
HEADRON_ROOTWajibPath to a checkout of the Headron atlas (atlas.yaml) the tool reads.
| Nama | Deskripsi | Tipe |
|---|---|---|
| HEADRON_ROOT | Path to a checkout of the Headron atlas (atlas.yaml) the tool reads. | Wajib |
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerLolos
- Remote endpoint menggunakan HTTPSTidak diperiksa
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaLolos
README
Lihat di GitHubContract 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.
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: pytest
Quickstart
# 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 doctor
In 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 proof
With 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; 812 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 (699 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 │ ⠟183 │ ⌂scripts │ → headron brainstorm
$ headron port . --line
○ . │ ⠟211 ⠿4 ⠁1 │ → headron check
- Discover:
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 --receiptssummarizes the latest local verification record. - 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
- Agents: harness ·
.headron· runtimes - Why a rule:
headron why·headron failures· instruments - Companion 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.json - 181 harness Python files — every one held by
lint·format·typecheck - 3.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
Pertanyaan tentang Headron MCP
Bagaimana cara menambahkan Headron MCP ke Claude Code?
Jalankan claude mcp add --env 'HEADRON_ROOT=<HEADRON_ROOT>' headron -- uvx headron-software di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan Headron MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Apa itu Headron?
Headron adalah rule contract dan CLI yang memetakan file yang berubah ke pemeriksaan spesifik untuk melaporkan apakah pemeriksaan tersebut berhasil dijalankan.
Apakah Headron berfungsi sebagai coding agent?
Bukan, Headron bukan merupakan coding agent, model, atau test framework; melainkan sebuah lapisan verifikasi.
Bagaimana cara kerja Mind API?
Mind API adalah layanan berbayar berbasis cloud yang merencanakan perubahan yang dideklarasikan melalui command headron mind.
Bisakah saya menggunakan Headron tanpa Mind API?
Ya, command line interface dapat bekerja secara independen tanpa Mind API.