headron-software 3.63.0__tar.gz → 3.64.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: headron-software
3
- Version: 3.63.0
3
+ Version: 3.64.0
4
4
  Summary: Command line tool and rule contract for AI coding agents: each changed file maps to the checks it owes, and a commit whose file fails is refused.
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://headron.tech
@@ -33,39 +33,34 @@ Dynamic: license-file
33
33
  <!-- mcp-name: io.github.HLIntel/headron -->
34
34
  <div align="center">
35
35
  <img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
36
- alt="Headron Software: AI governance and verification"
36
+ alt="Headron: From Task to Trusted Results — Unified execution and verification system"
37
37
  width="992">
38
38
  <h1>Headron Software</h1>
39
+ <p><strong>The trust layer for agentic work: contract verification and receipts for autonomous agents</strong></p>
39
40
  </div>
40
41
 
41
42
  <!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
42
43
 
43
- **Contract 3.63.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
44
+ **Contract 3.64.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
44
45
 
45
46
  <!-- END generated: badges -->
46
47
 
47
48
  <!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
48
49
 
49
50
  - **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
50
- - **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.
51
- - **`headron init` writes:** AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .git/hooks/pre-commit. Use `--no-wiring` to skip hooks and configuration; `headron enforce uninstall` restores a displaced hook.
52
- - **Mind API:** hosted, paid, needs a key; plans a declared change. The command line works without it.
51
+ - **Is not:** a coding agent or model. An unrun check reports SKIP or NOT RUN, never a pass; hooks allow missing local tools (override: `--strict`), CI verifies all.
52
+ - **`headron init` writes:** AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .cursor/mcp.json, .git/hooks/pre-commit. `--dry-run` previews; `--no-wiring` skips hooks/config; `headron enforce uninstall` restores hooks.
53
+ - **Mind API:** optional hosted verifier. CLI and local MCP work 100% offline and free with no key or account.
53
54
 
54
55
  Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
55
56
 
56
57
  <!-- END generated: headline -->
57
58
 
58
- ## Why this exists
59
-
60
- Headron connects changed files to declared checks and reports whether those checks ran. A skipped
61
- check is not a pass. An optional Git hook can run checks before a commit, whether the change came
62
- from a developer or an agent.
63
-
64
59
  ## How it works
65
60
 
66
- `headron port <file>` tells an agent what a file owes before it edits. [`atlas.yaml`](atlas.yaml)
67
- holds those checks; the commit hook and CI report `PASS`, `FAIL`, `SKIP` or `NOT RUN`. The hosted
68
- [Mind API](https://headron.tech/mind-api.html) plans a declared change through `headron mind`.
61
+ `headron port <file>` tells an agent what a file owes before it edits; [`atlas.yaml`](atlas.yaml) holds
62
+ the checks. The hook and `headron verify` report `PASS`, `FAIL`, `SKIP` or `NOT RUN`: a skipped
63
+ check is never a pass, whoever wrote the change. `headron ci` runs CI locally.
69
64
 
70
65
  <!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
71
66
 
@@ -87,6 +82,18 @@ $ headron gate scripts/doctor.py
87
82
 
88
83
  <!-- END generated: gate-example -->
89
84
 
85
+ ## From task to proof
86
+
87
+ Done means every obligation is proven on the checked tree:
88
+
89
+ 1. **Owe:** `obligations.py extract <task> <contract>` binds each requirement to its check.
90
+ 2. **Check:** `headron verify --receipt verify.json` writes a receipt bound to the tree.
91
+ 3. **Seal:** `ronbundle.py pack <task> out.ron --receipt verify.json` writes a digest-named [`.ron` bundle](docs/HEADRON-LANGUAGE.md#what-a-finished-program-carries-the-ron-bundle).
92
+ 4. **Trust:** `headron mind --micro ron.verify out.ron`: `ok`, `refused` or `unknown`; only `ok` is acted on.
93
+
94
+ Tasks can also compile and checkpoint on git refs: `headron task compile|run|resume|inspect`.
95
+ Steps 1 and 3 run `python scripts/…` in a clone.
96
+
90
97
  ## Quickstart
91
98
 
92
99
  <!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
@@ -95,7 +102,7 @@ $ headron gate scripts/doctor.py
95
102
  # install
96
103
  uv tool install headron-software && headron doctor
97
104
  # editable, to change Headron itself
98
- git clone --depth 1 --branch v3.63.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
105
+ git clone --depth 1 --branch v3.64.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
99
106
  ```
100
107
 
101
108
  <!-- END generated: install -->
@@ -103,16 +110,11 @@ git clone --depth 1 --branch v3.63.0 https://github.com/HLIntel/Headron ~/headro
103
110
  In your repository:
104
111
 
105
112
  ```bash
106
- cd path/to/your-repo && headron init # finds your checks, wires your agents, installs the commit hook, runs once
113
+ cd path/to/your-repo && headron init # finds checks, wires agents, installs hook, runs once (--dry-run previews)
107
114
  headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proof
108
115
  ```
109
116
 
110
- With an impact map, `headron verify --changed` evaluates checks for modified files.
111
- 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.
112
-
113
- **Machines:** [bootstrap](.agent/bootstrap.json), [facts](.agent/facts.json), and [JSON schema](tools/atlas-output.schema.json).
114
- **Agents:** [adapters](models/README.md); the MCP interface is read-only.
115
- **Another repository:** [CONSUMING](docs/CONSUMING.md).
117
+ `headron verify --changed` checks only modified files (`--change <class>` narrows it); plain `headron verify` is the final verdict.
116
118
 
117
119
  ## Recorded results
118
120
 
@@ -123,23 +125,23 @@ See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove)
123
125
  <!-- prettier-ignore -->
124
126
  | Instrument | Recorded result |
125
127
  | :--- | :--- |
126
- | Enforcement | 31/31 breaks refused across 20 toolchains; **816** declared planted cases |
127
- | Failure ledger | 128 shapes, 220 sightings; 104 in-tree guarded, 24 host-only |
128
- | Field ledger | 940 verifications (136 clean); 1133 refusals; 394 landings; 711 lessons; 394 sessions |
128
+ | Enforcement | 31/31 breaks refused across 20 toolchains; **864** declared planted cases |
129
129
  | 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 |
130
130
  | Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
131
- | Language roles | 360 pairs: 110 runnable, 0 undeclared |
131
+ | Task bench, 3 Claude models (contract 2.29.0) | with Headron 137/138; blind 78/138; every task answered by both arms |
132
+ | Free-model screen, 18 lanes answered (contract 3.63.0, 22 tasks) | on the 138 tasks both arms answered: with Headron 115/138; blind 58/138 |
132
133
 
133
- Entry context: ~1,593 tokens. The 211 documents (708 KiB) load on demand; install: 10 KiB; hash lock with test tools: 8 packages.
134
- [Field records](benchmarks/field-latest.json). [Routing data](benchmarks/ab-latest.json). Measures can overlap.
134
+ Entry context: ~1,644 tokens; the rest loads on demand. Each row is its own record, contract version and task set: rows are never summed into one figure, and no run crowns a model.
135
+ [Routing data](benchmarks/ab-latest.json). [Task records](benchmarks/tasks-latest.json), [screen](benchmarks/screen-universal.json). [Per model, per record](docs/RESULTS.md).
135
136
 
136
137
  <!-- END generated: measured-benefits -->
137
138
 
138
139
  ## Where it fits
139
140
 
140
- - **Agents and runtimes:** [adapters](models/README.md) describe supported integrations.
141
- - **Headron-Harness:** a separate desktop dashboard and runtime; see [product boundaries](docs/PRODUCT-STRATEGY.md).
142
- - **Other repositories:** `headron init` sets up a repository; [CONSUMING](docs/CONSUMING.md) covers CI, the [GitHub Action](docs/CONSUMING.md#as-a-github-action) and the [hosted MCP](docs/CONSUMING.md#hosted-mind-api--mcp).
141
+ - **Agents and runtimes:** [adapters](models/README.md) describe integrations; local MCP is read-only.
142
+ - **Machines:** [bootstrap](.agent/bootstrap.json) (entry as JSON) · [facts](.agent/facts.json).
143
+ - **Architecture and boundaries:** [package architecture](docs/PRODUCT-STRATEGY.md) covers the five capabilities, open-core boundaries and keyless onboarding.
144
+ - **Other repositories:** `headron init` sets up repos; [CONSUMING](docs/CONSUMING.md) covers CI, [GitHub Action](docs/CONSUMING.md#as-a-github-action) and [hosted MCP](docs/CONSUMING.md#hosted-mind-api--mcp).
143
145
  - **Languages:** routes declare available checks and identify checks without a tool.
144
146
 
145
147
  ## Agent contract
@@ -150,50 +152,37 @@ Entry context: ~1,593 tokens. The 211 documents (708 KiB) load on demand; instal
150
152
  $ headron port scripts/doctor.py --line
151
153
  ◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
152
154
  $ headron port scripts --line
153
- ◎ scripts │ ⠟186 │ ⌂scripts │ → headron brainstorm
155
+ ◎ scripts │ ⠟224 │ ⌂scripts │ → headron brainstorm
154
156
  $ headron port . --line
155
- ○ . │ ⠟214 ⠿4 ⠁1 │ → headron check
157
+ ○ . │ ⠟250 ⠿3 ⠁1 │ → headron check
156
158
  ```
157
159
 
158
160
  <!-- END generated: port-example -->
159
161
 
160
- - **Discover:** `headron find <query>` searches paths, symbols and vocabulary; `headron sweep` maps topology. Search does not guarantee semantic recall.
161
- - **Route:** `headron port <file>`, or parse [.agent/bootstrap.json](.agent/bootstrap.json); load only its names.
162
- - **Processes:** `headron process [<id>] --json` lists workflows; with an id, its steps and gates.
163
- - **Mind:** `headron mind --route <file>` routes; `headron mind --receipts` summarizes the latest local verification record.
164
- - **Beliefs:** `headron revise` names what rests on a refuted claim; `headron propose` drafts each fix outside the tree.
165
- - **Automate:** add `--json`; records follow [the output schema](tools/atlas-output.schema.json).
166
- - **Before shell:** `headron shell --json "<cmd>"`; exit 3 means its verdict would be misread.
167
- - **Land:** `python scripts/branchstate.py --land`; check `headron landed <branch>` before deletion.
168
- - **Judge and report:** use the [judgment rungs](docs/systems/AGENT-HARNESS.md#judgment-rungs); file breaks with the [`headron` skill](skills/headron/SKILL.md).
162
+ - **Discover:** `headron find <query>` searches paths and symbols; `headron sweep` maps topology.
163
+ - **Route:** `headron port <file>` or parse [.agent/bootstrap.json](.agent/bootstrap.json); load only names.
164
+ - **Tasks:** `headron task compile|run|resume|inspect --json` checkpoints state under git refs.
165
+ - **Processes:** `headron process [<id>] --json` lists workflows, steps and gates.
166
+ - **Mind:** `headron mind --route <file>` routes; `--receipts` summarizes verification records.
167
+ - **Compute:** `headron mind --micro list` names [microprograms](docs/COMPUTATION.md) (status, evidence, receipt).
168
+ - **Beliefs:** `headron revise` names what rests on refuted claims; `headron propose` drafts fixes.
169
+ - **Automate:** add `--json`; records follow [output schema](tools/atlas-output.schema.json).
170
+ - **Before shell:** `headron shell --json "<cmd>"`; exit 3 means misread verdict.
171
+ - **Land:** `python scripts/branchstate.py --land`; check `headron landed <branch>` before delete.
172
+ - **Judge & report:** [judgment rungs](docs/systems/AGENT-HARNESS.md#judgment-rungs); report with [`headron` skill](skills/headron/SKILL.md).
169
173
 
170
174
  ## Find your way
171
175
 
172
- - **Every document:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
176
+ - **All documents:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
173
177
  - **Languages:** [atlas](languages/ATLAS.md) · [routing](docs/wiki/CODE-ROUTING.md) · [verification](docs/VERIFY.md)
174
178
  - **Agents:** [harness](docs/systems/AGENT-HARNESS.md) · [`.headron`](docs/HEADRON-LANGUAGE.md) · [runtimes](models/README.md)
175
179
  - **Why a rule:** `headron why` · `headron failures` · [instruments](docs/INSTRUMENTS.md)
176
180
  - **Companion products:** [desktop, web, enterprise](docs/CONSUMING.md#optional-hlintel-services)
177
181
  - **Security:** [policy](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
178
182
 
179
- ## Counts, computed
180
-
181
- Generated on every build; `check` refuses drift.
182
-
183
- <!-- BEGIN generated: repository-facts (python scripts/atlas.py index --write) -->
184
-
185
- - **52** hard invariants — enforced on every change, zero unowned
186
- - **368** agreement edges — each a file tied to the declaration it answers for
187
- - **95** instruments — each stating what it proves, what it does not, and what closes the gap
188
- - **385** tool entries — across 40 manifests and 5 kinds, validated against `tools/tools.schema.json`
189
- - **184** harness Python files — every one held by `lint` · `format` · `typecheck`
190
- - **3.63.0** contract version — `VERSION`, asserted in 10 other files
191
-
192
- <!-- END generated: repository-facts -->
193
-
194
183
  ## Project
195
184
 
196
185
  Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
197
186
  Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
198
187
 
199
- Updated: contract v3.63.0
188
+ Updated: contract v3.64.0
@@ -0,0 +1,158 @@
1
+ <!-- AGENTS: do not read this page breadth-first. Run `headron port <file>` (in a clone,
2
+ `python scripts/atlas.py port <file>`), or parse .agent/bootstrap.json. -->
3
+ <!-- mcp-name: io.github.HLIntel/headron -->
4
+ <div align="center">
5
+ <img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
6
+ alt="Headron: From Task to Trusted Results — Unified execution and verification system"
7
+ width="992">
8
+ <h1>Headron Software</h1>
9
+ <p><strong>The trust layer for agentic work: contract verification and receipts for autonomous agents</strong></p>
10
+ </div>
11
+
12
+ <!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
13
+
14
+ **Contract 3.64.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
15
+
16
+ <!-- END generated: badges -->
17
+
18
+ <!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
19
+
20
+ - **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
21
+ - **Is not:** a coding agent or model. An unrun check reports SKIP or NOT RUN, never a pass; hooks allow missing local tools (override: `--strict`), CI verifies all.
22
+ - **`headron init` writes:** AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .cursor/mcp.json, .git/hooks/pre-commit. `--dry-run` previews; `--no-wiring` skips hooks/config; `headron enforce uninstall` restores hooks.
23
+ - **Mind API:** optional hosted verifier. CLI and local MCP work 100% offline and free with no key or account.
24
+
25
+ Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
26
+
27
+ <!-- END generated: headline -->
28
+
29
+ ## How it works
30
+
31
+ `headron port <file>` tells an agent what a file owes before it edits; [`atlas.yaml`](atlas.yaml) holds
32
+ the checks. The hook and `headron verify` report `PASS`, `FAIL`, `SKIP` or `NOT RUN`: a skipped
33
+ check is never a pass, whoever wrote the change. `headron ci` runs CI locally.
34
+
35
+ <!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
36
+
37
+ <p align="center">
38
+ <img src="docs/media/headron-proof-flow.svg" width="900"
39
+ alt="Headron Architecture: contract, targeted evidence, integrity audit, unified verdict.">
40
+ </p>
41
+
42
+ <!-- END generated: proof-flow -->
43
+
44
+ <!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
45
+
46
+ ```console
47
+ $ headron gate scripts/doctor.py
48
+ 1. formatter: ruff format --check scripts/doctor.py
49
+ 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
50
+ 3. unit_tests: pytest
51
+ ```
52
+
53
+ <!-- END generated: gate-example -->
54
+
55
+ ## From task to proof
56
+
57
+ Done means every obligation is proven on the checked tree:
58
+
59
+ 1. **Owe:** `obligations.py extract <task> <contract>` binds each requirement to its check.
60
+ 2. **Check:** `headron verify --receipt verify.json` writes a receipt bound to the tree.
61
+ 3. **Seal:** `ronbundle.py pack <task> out.ron --receipt verify.json` writes a digest-named [`.ron` bundle](docs/HEADRON-LANGUAGE.md#what-a-finished-program-carries-the-ron-bundle).
62
+ 4. **Trust:** `headron mind --micro ron.verify out.ron`: `ok`, `refused` or `unknown`; only `ok` is acted on.
63
+
64
+ Tasks can also compile and checkpoint on git refs: `headron task compile|run|resume|inspect`.
65
+ Steps 1 and 3 run `python scripts/…` in a clone.
66
+
67
+ ## Quickstart
68
+
69
+ <!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
70
+
71
+ ```bash
72
+ # install
73
+ uv tool install headron-software && headron doctor
74
+ # editable, to change Headron itself
75
+ git clone --depth 1 --branch v3.64.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
76
+ ```
77
+
78
+ <!-- END generated: install -->
79
+
80
+ In your repository:
81
+
82
+ ```bash
83
+ cd path/to/your-repo && headron init # finds checks, wires agents, installs hook, runs once (--dry-run previews)
84
+ headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proof
85
+ ```
86
+
87
+ `headron verify --changed` checks only modified files (`--change <class>` narrows it); plain `headron verify` is the final verdict.
88
+
89
+ ## Recorded results
90
+
91
+ See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
92
+
93
+ <!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
94
+
95
+ <!-- prettier-ignore -->
96
+ | Instrument | Recorded result |
97
+ | :--- | :--- |
98
+ | Enforcement | 31/31 breaks refused across 20 toolchains; **864** declared planted cases |
99
+ | 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 |
100
+ | Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
101
+ | Task bench, 3 Claude models (contract 2.29.0) | with Headron 137/138; blind 78/138; every task answered by both arms |
102
+ | Free-model screen, 18 lanes answered (contract 3.63.0, 22 tasks) | on the 138 tasks both arms answered: with Headron 115/138; blind 58/138 |
103
+
104
+ Entry context: ~1,644 tokens; the rest loads on demand. Each row is its own record, contract version and task set: rows are never summed into one figure, and no run crowns a model.
105
+ [Routing data](benchmarks/ab-latest.json). [Task records](benchmarks/tasks-latest.json), [screen](benchmarks/screen-universal.json). [Per model, per record](docs/RESULTS.md).
106
+
107
+ <!-- END generated: measured-benefits -->
108
+
109
+ ## Where it fits
110
+
111
+ - **Agents and runtimes:** [adapters](models/README.md) describe integrations; local MCP is read-only.
112
+ - **Machines:** [bootstrap](.agent/bootstrap.json) (entry as JSON) · [facts](.agent/facts.json).
113
+ - **Architecture and boundaries:** [package architecture](docs/PRODUCT-STRATEGY.md) covers the five capabilities, open-core boundaries and keyless onboarding.
114
+ - **Other repositories:** `headron init` sets up repos; [CONSUMING](docs/CONSUMING.md) covers CI, [GitHub Action](docs/CONSUMING.md#as-a-github-action) and [hosted MCP](docs/CONSUMING.md#hosted-mind-api--mcp).
115
+ - **Languages:** routes declare available checks and identify checks without a tool.
116
+
117
+ ## Agent contract
118
+
119
+ <!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
120
+
121
+ ```console
122
+ $ headron port scripts/doctor.py --line
123
+ ◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
124
+ $ headron port scripts --line
125
+ ◎ scripts │ ⠟224 │ ⌂scripts │ → headron brainstorm
126
+ $ headron port . --line
127
+ ○ . │ ⠟250 ⠿3 ⠁1 │ → headron check
128
+ ```
129
+
130
+ <!-- END generated: port-example -->
131
+
132
+ - **Discover:** `headron find <query>` searches paths and symbols; `headron sweep` maps topology.
133
+ - **Route:** `headron port <file>` or parse [.agent/bootstrap.json](.agent/bootstrap.json); load only names.
134
+ - **Tasks:** `headron task compile|run|resume|inspect --json` checkpoints state under git refs.
135
+ - **Processes:** `headron process [<id>] --json` lists workflows, steps and gates.
136
+ - **Mind:** `headron mind --route <file>` routes; `--receipts` summarizes verification records.
137
+ - **Compute:** `headron mind --micro list` names [microprograms](docs/COMPUTATION.md) (status, evidence, receipt).
138
+ - **Beliefs:** `headron revise` names what rests on refuted claims; `headron propose` drafts fixes.
139
+ - **Automate:** add `--json`; records follow [output schema](tools/atlas-output.schema.json).
140
+ - **Before shell:** `headron shell --json "<cmd>"`; exit 3 means misread verdict.
141
+ - **Land:** `python scripts/branchstate.py --land`; check `headron landed <branch>` before delete.
142
+ - **Judge & report:** [judgment rungs](docs/systems/AGENT-HARNESS.md#judgment-rungs); report with [`headron` skill](skills/headron/SKILL.md).
143
+
144
+ ## Find your way
145
+
146
+ - **All documents:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
147
+ - **Languages:** [atlas](languages/ATLAS.md) · [routing](docs/wiki/CODE-ROUTING.md) · [verification](docs/VERIFY.md)
148
+ - **Agents:** [harness](docs/systems/AGENT-HARNESS.md) · [`.headron`](docs/HEADRON-LANGUAGE.md) · [runtimes](models/README.md)
149
+ - **Why a rule:** `headron why` · `headron failures` · [instruments](docs/INSTRUMENTS.md)
150
+ - **Companion products:** [desktop, web, enterprise](docs/CONSUMING.md#optional-hlintel-services)
151
+ - **Security:** [policy](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
152
+
153
+ ## Project
154
+
155
+ Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
156
+ Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
157
+
158
+ Updated: contract v3.64.0
@@ -0,0 +1 @@
1
+ 3.64.0
@@ -150,5 +150,4 @@ executionEnvironments = [
150
150
  { root = "examples/webhooks", extraPaths = ["examples/webhooks", "scripts"] },
151
151
  { root = "fuzz", extraPaths = ["fuzz", "scripts"] },
152
152
  { root = "scripts", extraPaths = ["scripts"] },
153
- { root = "benchmarks/agent/ratelimit", extraPaths = ["benchmarks/agent/ratelimit", "scripts"] },
154
153
  ]
@@ -18,6 +18,7 @@ import json
18
18
  import os
19
19
  import re
20
20
  import shutil
21
+ import subprocess
21
22
  import sys
22
23
  import tarfile
23
24
  import tempfile
@@ -88,6 +89,31 @@ def root_flag(argv: list[str]) -> tuple[str | None, int, int]:
88
89
  CALLER_ENV = dict(os.environ)
89
90
 
90
91
 
92
+ def _untrusted(base: Path, ref: str | None, home: Path) -> str:
93
+ """Why a pinned root is refused, else "": it must top its own git checkout, not its pinner's, at `ref` (3.64.0)."""
94
+ env = {k: v for k, v in os.environ.items() if k[:4] != "GIT_"} # a hook's GIT_DIR would answer instead
95
+ asks = (
96
+ (base, "--show-toplevel"),
97
+ (base, "HEAD"),
98
+ (base, "-q", "--verify", f"{ref}^{{commit}}"),
99
+ (home, "--show-toplevel"),
100
+ )
101
+ try:
102
+ top, head, want, own = (
103
+ subprocess.run(
104
+ ["git", "-C", d, "rev-parse", *a], capture_output=True, text=True, env=env, timeout=30
105
+ ).stdout.strip()
106
+ for d, *a in asks
107
+ )
108
+ except (OSError, subprocess.SubprocessError) as exc: # no git: refuse in the reply, never crash before it
109
+ return f"verifiable; git could not answer ({exc})"
110
+ if not top or Path(top).resolve() != base:
111
+ return "the top of its own git checkout; a tree copied into a project never runs"
112
+ if own and Path(own).resolve() == base:
113
+ return "a checkout apart from the project that pins it"
114
+ return f"checked out at its pinned ref {ref}" if ref and want != head else ""
115
+
116
+
91
117
  def resolve_root(argv: list[str], cwd: Path) -> tuple[Path, str]:
92
118
  """The atlas this invocation runs against, and the rule that decided it. In declared order."""
93
119
  value = root_flag(argv)[0]
@@ -98,8 +124,10 @@ def resolve_root(argv: list[str], cwd: Path) -> tuple[Path, str]:
98
124
  return Path(os.environ[var]).resolve(), f"{var} in the environment"
99
125
  config, where = _config(cwd)
100
126
  if where and config.get("root"):
101
- base = (where.parent / config["root"]).resolve()
102
- return base, f"root declared in {where.name} (ref {config.get('ref', 'unpinned')})"
127
+ base, rule = (where.parent / config["root"]).resolve(), f"root declared in {where.name}"
128
+ if why := _untrusted(base, config.get("ref"), where.parent):
129
+ raise ConfigError(f"{base} ({rule} at {where.parent}) is not {why}")
130
+ return base, f"{rule} (ref {config.get('ref', 'unpinned')})"
103
131
  return Path(__file__).resolve().parents[1], INSTALLED_FROM
104
132
 
105
133
 
@@ -178,7 +206,7 @@ def fetch_atlas(version: str) -> Path:
178
206
 
179
207
  def _resolved(argv: list[str]) -> tuple:
180
208
  try:
181
- root, rule = resolve_root(argv, Path.cwd())
209
+ root, rule = resolve_root(argv, Path(os.getenv("HEADRON_CLIENT_DIR", "")).resolve())
182
210
  if rule != INSTALLED_FROM or (root / "atlas.yaml").exists():
183
211
  return root, rule
184
212
  if os.environ.get("HEADRON_NO_FETCH") == "1":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: headron-software
3
- Version: 3.63.0
3
+ Version: 3.64.0
4
4
  Summary: Command line tool and rule contract for AI coding agents: each changed file maps to the checks it owes, and a commit whose file fails is refused.
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://headron.tech
@@ -33,39 +33,34 @@ Dynamic: license-file
33
33
  <!-- mcp-name: io.github.HLIntel/headron -->
34
34
  <div align="center">
35
35
  <img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
36
- alt="Headron Software: AI governance and verification"
36
+ alt="Headron: From Task to Trusted Results — Unified execution and verification system"
37
37
  width="992">
38
38
  <h1>Headron Software</h1>
39
+ <p><strong>The trust layer for agentic work: contract verification and receipts for autonomous agents</strong></p>
39
40
  </div>
40
41
 
41
42
  <!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
42
43
 
43
- **Contract 3.63.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
44
+ **Contract 3.64.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
44
45
 
45
46
  <!-- END generated: badges -->
46
47
 
47
48
  <!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
48
49
 
49
50
  - **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
50
- - **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.
51
- - **`headron init` writes:** AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .git/hooks/pre-commit. Use `--no-wiring` to skip hooks and configuration; `headron enforce uninstall` restores a displaced hook.
52
- - **Mind API:** hosted, paid, needs a key; plans a declared change. The command line works without it.
51
+ - **Is not:** a coding agent or model. An unrun check reports SKIP or NOT RUN, never a pass; hooks allow missing local tools (override: `--strict`), CI verifies all.
52
+ - **`headron init` writes:** AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .cursor/mcp.json, .git/hooks/pre-commit. `--dry-run` previews; `--no-wiring` skips hooks/config; `headron enforce uninstall` restores hooks.
53
+ - **Mind API:** optional hosted verifier. CLI and local MCP work 100% offline and free with no key or account.
53
54
 
54
55
  Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
55
56
 
56
57
  <!-- END generated: headline -->
57
58
 
58
- ## Why this exists
59
-
60
- Headron connects changed files to declared checks and reports whether those checks ran. A skipped
61
- check is not a pass. An optional Git hook can run checks before a commit, whether the change came
62
- from a developer or an agent.
63
-
64
59
  ## How it works
65
60
 
66
- `headron port <file>` tells an agent what a file owes before it edits. [`atlas.yaml`](atlas.yaml)
67
- holds those checks; the commit hook and CI report `PASS`, `FAIL`, `SKIP` or `NOT RUN`. The hosted
68
- [Mind API](https://headron.tech/mind-api.html) plans a declared change through `headron mind`.
61
+ `headron port <file>` tells an agent what a file owes before it edits; [`atlas.yaml`](atlas.yaml) holds
62
+ the checks. The hook and `headron verify` report `PASS`, `FAIL`, `SKIP` or `NOT RUN`: a skipped
63
+ check is never a pass, whoever wrote the change. `headron ci` runs CI locally.
69
64
 
70
65
  <!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
71
66
 
@@ -87,6 +82,18 @@ $ headron gate scripts/doctor.py
87
82
 
88
83
  <!-- END generated: gate-example -->
89
84
 
85
+ ## From task to proof
86
+
87
+ Done means every obligation is proven on the checked tree:
88
+
89
+ 1. **Owe:** `obligations.py extract <task> <contract>` binds each requirement to its check.
90
+ 2. **Check:** `headron verify --receipt verify.json` writes a receipt bound to the tree.
91
+ 3. **Seal:** `ronbundle.py pack <task> out.ron --receipt verify.json` writes a digest-named [`.ron` bundle](docs/HEADRON-LANGUAGE.md#what-a-finished-program-carries-the-ron-bundle).
92
+ 4. **Trust:** `headron mind --micro ron.verify out.ron`: `ok`, `refused` or `unknown`; only `ok` is acted on.
93
+
94
+ Tasks can also compile and checkpoint on git refs: `headron task compile|run|resume|inspect`.
95
+ Steps 1 and 3 run `python scripts/…` in a clone.
96
+
90
97
  ## Quickstart
91
98
 
92
99
  <!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
@@ -95,7 +102,7 @@ $ headron gate scripts/doctor.py
95
102
  # install
96
103
  uv tool install headron-software && headron doctor
97
104
  # editable, to change Headron itself
98
- git clone --depth 1 --branch v3.63.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
105
+ git clone --depth 1 --branch v3.64.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
99
106
  ```
100
107
 
101
108
  <!-- END generated: install -->
@@ -103,16 +110,11 @@ git clone --depth 1 --branch v3.63.0 https://github.com/HLIntel/Headron ~/headro
103
110
  In your repository:
104
111
 
105
112
  ```bash
106
- cd path/to/your-repo && headron init # finds your checks, wires your agents, installs the commit hook, runs once
113
+ cd path/to/your-repo && headron init # finds checks, wires agents, installs hook, runs once (--dry-run previews)
107
114
  headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proof
108
115
  ```
109
116
 
110
- With an impact map, `headron verify --changed` evaluates checks for modified files.
111
- 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.
112
-
113
- **Machines:** [bootstrap](.agent/bootstrap.json), [facts](.agent/facts.json), and [JSON schema](tools/atlas-output.schema.json).
114
- **Agents:** [adapters](models/README.md); the MCP interface is read-only.
115
- **Another repository:** [CONSUMING](docs/CONSUMING.md).
117
+ `headron verify --changed` checks only modified files (`--change <class>` narrows it); plain `headron verify` is the final verdict.
116
118
 
117
119
  ## Recorded results
118
120
 
@@ -123,23 +125,23 @@ See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove)
123
125
  <!-- prettier-ignore -->
124
126
  | Instrument | Recorded result |
125
127
  | :--- | :--- |
126
- | Enforcement | 31/31 breaks refused across 20 toolchains; **816** declared planted cases |
127
- | Failure ledger | 128 shapes, 220 sightings; 104 in-tree guarded, 24 host-only |
128
- | Field ledger | 940 verifications (136 clean); 1133 refusals; 394 landings; 711 lessons; 394 sessions |
128
+ | Enforcement | 31/31 breaks refused across 20 toolchains; **864** declared planted cases |
129
129
  | 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 |
130
130
  | Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
131
- | Language roles | 360 pairs: 110 runnable, 0 undeclared |
131
+ | Task bench, 3 Claude models (contract 2.29.0) | with Headron 137/138; blind 78/138; every task answered by both arms |
132
+ | Free-model screen, 18 lanes answered (contract 3.63.0, 22 tasks) | on the 138 tasks both arms answered: with Headron 115/138; blind 58/138 |
132
133
 
133
- Entry context: ~1,593 tokens. The 211 documents (708 KiB) load on demand; install: 10 KiB; hash lock with test tools: 8 packages.
134
- [Field records](benchmarks/field-latest.json). [Routing data](benchmarks/ab-latest.json). Measures can overlap.
134
+ Entry context: ~1,644 tokens; the rest loads on demand. Each row is its own record, contract version and task set: rows are never summed into one figure, and no run crowns a model.
135
+ [Routing data](benchmarks/ab-latest.json). [Task records](benchmarks/tasks-latest.json), [screen](benchmarks/screen-universal.json). [Per model, per record](docs/RESULTS.md).
135
136
 
136
137
  <!-- END generated: measured-benefits -->
137
138
 
138
139
  ## Where it fits
139
140
 
140
- - **Agents and runtimes:** [adapters](models/README.md) describe supported integrations.
141
- - **Headron-Harness:** a separate desktop dashboard and runtime; see [product boundaries](docs/PRODUCT-STRATEGY.md).
142
- - **Other repositories:** `headron init` sets up a repository; [CONSUMING](docs/CONSUMING.md) covers CI, the [GitHub Action](docs/CONSUMING.md#as-a-github-action) and the [hosted MCP](docs/CONSUMING.md#hosted-mind-api--mcp).
141
+ - **Agents and runtimes:** [adapters](models/README.md) describe integrations; local MCP is read-only.
142
+ - **Machines:** [bootstrap](.agent/bootstrap.json) (entry as JSON) · [facts](.agent/facts.json).
143
+ - **Architecture and boundaries:** [package architecture](docs/PRODUCT-STRATEGY.md) covers the five capabilities, open-core boundaries and keyless onboarding.
144
+ - **Other repositories:** `headron init` sets up repos; [CONSUMING](docs/CONSUMING.md) covers CI, [GitHub Action](docs/CONSUMING.md#as-a-github-action) and [hosted MCP](docs/CONSUMING.md#hosted-mind-api--mcp).
143
145
  - **Languages:** routes declare available checks and identify checks without a tool.
144
146
 
145
147
  ## Agent contract
@@ -150,50 +152,37 @@ Entry context: ~1,593 tokens. The 211 documents (708 KiB) load on demand; instal
150
152
  $ headron port scripts/doctor.py --line
151
153
  ◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
152
154
  $ headron port scripts --line
153
- ◎ scripts │ ⠟186 │ ⌂scripts │ → headron brainstorm
155
+ ◎ scripts │ ⠟224 │ ⌂scripts │ → headron brainstorm
154
156
  $ headron port . --line
155
- ○ . │ ⠟214 ⠿4 ⠁1 │ → headron check
157
+ ○ . │ ⠟250 ⠿3 ⠁1 │ → headron check
156
158
  ```
157
159
 
158
160
  <!-- END generated: port-example -->
159
161
 
160
- - **Discover:** `headron find <query>` searches paths, symbols and vocabulary; `headron sweep` maps topology. Search does not guarantee semantic recall.
161
- - **Route:** `headron port <file>`, or parse [.agent/bootstrap.json](.agent/bootstrap.json); load only its names.
162
- - **Processes:** `headron process [<id>] --json` lists workflows; with an id, its steps and gates.
163
- - **Mind:** `headron mind --route <file>` routes; `headron mind --receipts` summarizes the latest local verification record.
164
- - **Beliefs:** `headron revise` names what rests on a refuted claim; `headron propose` drafts each fix outside the tree.
165
- - **Automate:** add `--json`; records follow [the output schema](tools/atlas-output.schema.json).
166
- - **Before shell:** `headron shell --json "<cmd>"`; exit 3 means its verdict would be misread.
167
- - **Land:** `python scripts/branchstate.py --land`; check `headron landed <branch>` before deletion.
168
- - **Judge and report:** use the [judgment rungs](docs/systems/AGENT-HARNESS.md#judgment-rungs); file breaks with the [`headron` skill](skills/headron/SKILL.md).
162
+ - **Discover:** `headron find <query>` searches paths and symbols; `headron sweep` maps topology.
163
+ - **Route:** `headron port <file>` or parse [.agent/bootstrap.json](.agent/bootstrap.json); load only names.
164
+ - **Tasks:** `headron task compile|run|resume|inspect --json` checkpoints state under git refs.
165
+ - **Processes:** `headron process [<id>] --json` lists workflows, steps and gates.
166
+ - **Mind:** `headron mind --route <file>` routes; `--receipts` summarizes verification records.
167
+ - **Compute:** `headron mind --micro list` names [microprograms](docs/COMPUTATION.md) (status, evidence, receipt).
168
+ - **Beliefs:** `headron revise` names what rests on refuted claims; `headron propose` drafts fixes.
169
+ - **Automate:** add `--json`; records follow [output schema](tools/atlas-output.schema.json).
170
+ - **Before shell:** `headron shell --json "<cmd>"`; exit 3 means misread verdict.
171
+ - **Land:** `python scripts/branchstate.py --land`; check `headron landed <branch>` before delete.
172
+ - **Judge & report:** [judgment rungs](docs/systems/AGENT-HARNESS.md#judgment-rungs); report with [`headron` skill](skills/headron/SKILL.md).
169
173
 
170
174
  ## Find your way
171
175
 
172
- - **Every document:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
176
+ - **All documents:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
173
177
  - **Languages:** [atlas](languages/ATLAS.md) · [routing](docs/wiki/CODE-ROUTING.md) · [verification](docs/VERIFY.md)
174
178
  - **Agents:** [harness](docs/systems/AGENT-HARNESS.md) · [`.headron`](docs/HEADRON-LANGUAGE.md) · [runtimes](models/README.md)
175
179
  - **Why a rule:** `headron why` · `headron failures` · [instruments](docs/INSTRUMENTS.md)
176
180
  - **Companion products:** [desktop, web, enterprise](docs/CONSUMING.md#optional-hlintel-services)
177
181
  - **Security:** [policy](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
178
182
 
179
- ## Counts, computed
180
-
181
- Generated on every build; `check` refuses drift.
182
-
183
- <!-- BEGIN generated: repository-facts (python scripts/atlas.py index --write) -->
184
-
185
- - **52** hard invariants — enforced on every change, zero unowned
186
- - **368** agreement edges — each a file tied to the declaration it answers for
187
- - **95** instruments — each stating what it proves, what it does not, and what closes the gap
188
- - **385** tool entries — across 40 manifests and 5 kinds, validated against `tools/tools.schema.json`
189
- - **184** harness Python files — every one held by `lint` · `format` · `typecheck`
190
- - **3.63.0** contract version — `VERSION`, asserted in 10 other files
191
-
192
- <!-- END generated: repository-facts -->
193
-
194
183
  ## Project
195
184
 
196
185
  Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
197
186
  Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
198
187
 
199
- Updated: contract v3.63.0
188
+ Updated: contract v3.64.0
@@ -1,169 +0,0 @@
1
- <!-- AGENTS: do not read this page breadth-first. Run `headron port <file>` (in a clone,
2
- `python scripts/atlas.py port <file>`), or parse .agent/bootstrap.json. -->
3
- <!-- mcp-name: io.github.HLIntel/headron -->
4
- <div align="center">
5
- <img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
6
- alt="Headron Software: AI governance and verification"
7
- width="992">
8
- <h1>Headron Software</h1>
9
- </div>
10
-
11
- <!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
12
-
13
- **Contract 3.63.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
14
-
15
- <!-- END generated: badges -->
16
-
17
- <!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
18
-
19
- - **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
20
- - **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.
21
- - **`headron init` writes:** AGENTS.md, CLAUDE.md, .mcp.json, .codex/config.toml, .git/hooks/pre-commit. Use `--no-wiring` to skip hooks and configuration; `headron enforce uninstall` restores a displaced hook.
22
- - **Mind API:** hosted, paid, needs a key; plans a declared change. The command line works without it.
23
-
24
- Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
25
-
26
- <!-- END generated: headline -->
27
-
28
- ## Why this exists
29
-
30
- Headron connects changed files to declared checks and reports whether those checks ran. A skipped
31
- check is not a pass. An optional Git hook can run checks before a commit, whether the change came
32
- from a developer or an agent.
33
-
34
- ## How it works
35
-
36
- `headron port <file>` tells an agent what a file owes before it edits. [`atlas.yaml`](atlas.yaml)
37
- holds those checks; the commit hook and CI report `PASS`, `FAIL`, `SKIP` or `NOT RUN`. The hosted
38
- [Mind API](https://headron.tech/mind-api.html) plans a declared change through `headron mind`.
39
-
40
- <!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
41
-
42
- <p align="center">
43
- <img src="docs/media/headron-proof-flow.svg" width="900"
44
- alt="Headron Architecture: contract, targeted evidence, integrity audit, unified verdict.">
45
- </p>
46
-
47
- <!-- END generated: proof-flow -->
48
-
49
- <!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
50
-
51
- ```console
52
- $ headron gate scripts/doctor.py
53
- 1. formatter: ruff format --check scripts/doctor.py
54
- 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
55
- 3. unit_tests: pytest
56
- ```
57
-
58
- <!-- END generated: gate-example -->
59
-
60
- ## Quickstart
61
-
62
- <!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
63
-
64
- ```bash
65
- # install
66
- uv tool install headron-software && headron doctor
67
- # editable, to change Headron itself
68
- git clone --depth 1 --branch v3.63.0 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
69
- ```
70
-
71
- <!-- END generated: install -->
72
-
73
- In your repository:
74
-
75
- ```bash
76
- cd path/to/your-repo && headron init # finds your checks, wires your agents, installs the commit hook, runs once
77
- headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proof
78
- ```
79
-
80
- With an impact map, `headron verify --changed` evaluates checks for modified files.
81
- 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.
82
-
83
- **Machines:** [bootstrap](.agent/bootstrap.json), [facts](.agent/facts.json), and [JSON schema](tools/atlas-output.schema.json).
84
- **Agents:** [adapters](models/README.md); the MCP interface is read-only.
85
- **Another repository:** [CONSUMING](docs/CONSUMING.md).
86
-
87
- ## Recorded results
88
-
89
- See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
90
-
91
- <!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
92
-
93
- <!-- prettier-ignore -->
94
- | Instrument | Recorded result |
95
- | :--- | :--- |
96
- | Enforcement | 31/31 breaks refused across 20 toolchains; **816** declared planted cases |
97
- | Failure ledger | 128 shapes, 220 sightings; 104 in-tree guarded, 24 host-only |
98
- | Field ledger | 940 verifications (136 clean); 1133 refusals; 394 landings; 711 lessons; 394 sessions |
99
- | 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 |
100
- | Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
101
- | Language roles | 360 pairs: 110 runnable, 0 undeclared |
102
-
103
- Entry context: ~1,593 tokens. The 211 documents (708 KiB) load on demand; install: 10 KiB; hash lock with test tools: 8 packages.
104
- [Field records](benchmarks/field-latest.json). [Routing data](benchmarks/ab-latest.json). Measures can overlap.
105
-
106
- <!-- END generated: measured-benefits -->
107
-
108
- ## Where it fits
109
-
110
- - **Agents and runtimes:** [adapters](models/README.md) describe supported integrations.
111
- - **Headron-Harness:** a separate desktop dashboard and runtime; see [product boundaries](docs/PRODUCT-STRATEGY.md).
112
- - **Other repositories:** `headron init` sets up a repository; [CONSUMING](docs/CONSUMING.md) covers CI, the [GitHub Action](docs/CONSUMING.md#as-a-github-action) and the [hosted MCP](docs/CONSUMING.md#hosted-mind-api--mcp).
113
- - **Languages:** routes declare available checks and identify checks without a tool.
114
-
115
- ## Agent contract
116
-
117
- <!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
118
-
119
- ```console
120
- $ headron port scripts/doctor.py --line
121
- ◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
122
- $ headron port scripts --line
123
- ◎ scripts │ ⠟186 │ ⌂scripts │ → headron brainstorm
124
- $ headron port . --line
125
- ○ . │ ⠟214 ⠿4 ⠁1 │ → headron check
126
- ```
127
-
128
- <!-- END generated: port-example -->
129
-
130
- - **Discover:** `headron find <query>` searches paths, symbols and vocabulary; `headron sweep` maps topology. Search does not guarantee semantic recall.
131
- - **Route:** `headron port <file>`, or parse [.agent/bootstrap.json](.agent/bootstrap.json); load only its names.
132
- - **Processes:** `headron process [<id>] --json` lists workflows; with an id, its steps and gates.
133
- - **Mind:** `headron mind --route <file>` routes; `headron mind --receipts` summarizes the latest local verification record.
134
- - **Beliefs:** `headron revise` names what rests on a refuted claim; `headron propose` drafts each fix outside the tree.
135
- - **Automate:** add `--json`; records follow [the output schema](tools/atlas-output.schema.json).
136
- - **Before shell:** `headron shell --json "<cmd>"`; exit 3 means its verdict would be misread.
137
- - **Land:** `python scripts/branchstate.py --land`; check `headron landed <branch>` before deletion.
138
- - **Judge and report:** use the [judgment rungs](docs/systems/AGENT-HARNESS.md#judgment-rungs); file breaks with the [`headron` skill](skills/headron/SKILL.md).
139
-
140
- ## Find your way
141
-
142
- - **Every document:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
143
- - **Languages:** [atlas](languages/ATLAS.md) · [routing](docs/wiki/CODE-ROUTING.md) · [verification](docs/VERIFY.md)
144
- - **Agents:** [harness](docs/systems/AGENT-HARNESS.md) · [`.headron`](docs/HEADRON-LANGUAGE.md) · [runtimes](models/README.md)
145
- - **Why a rule:** `headron why` · `headron failures` · [instruments](docs/INSTRUMENTS.md)
146
- - **Companion products:** [desktop, web, enterprise](docs/CONSUMING.md#optional-hlintel-services)
147
- - **Security:** [policy](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
148
-
149
- ## Counts, computed
150
-
151
- Generated on every build; `check` refuses drift.
152
-
153
- <!-- BEGIN generated: repository-facts (python scripts/atlas.py index --write) -->
154
-
155
- - **52** hard invariants — enforced on every change, zero unowned
156
- - **368** agreement edges — each a file tied to the declaration it answers for
157
- - **95** instruments — each stating what it proves, what it does not, and what closes the gap
158
- - **385** tool entries — across 40 manifests and 5 kinds, validated against `tools/tools.schema.json`
159
- - **184** harness Python files — every one held by `lint` · `format` · `typecheck`
160
- - **3.63.0** contract version — `VERSION`, asserted in 10 other files
161
-
162
- <!-- END generated: repository-facts -->
163
-
164
- ## Project
165
-
166
- Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
167
- Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
168
-
169
- Updated: contract v3.63.0
@@ -1 +0,0 @@
1
- 3.63.0