headron-software 3.63.0__tar.gz → 3.64.1__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.
- headron_software-3.64.1/PKG-INFO +192 -0
- headron_software-3.64.1/README.md +162 -0
- headron_software-3.64.1/VERSION +1 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/pyproject.toml +1 -1
- {headron_software-3.63.0 → headron_software-3.64.1}/scripts/atlas_cli.py +31 -3
- headron_software-3.64.1/scripts/headron_software.egg-info/PKG-INFO +192 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/entry_points.txt +1 -0
- headron_software-3.63.0/PKG-INFO +0 -199
- headron_software-3.63.0/README.md +0 -169
- headron_software-3.63.0/VERSION +0 -1
- headron_software-3.63.0/scripts/headron_software.egg-info/PKG-INFO +0 -199
- {headron_software-3.63.0 → headron_software-3.64.1}/LICENSE +0 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/SOURCES.txt +0 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/dependency_links.txt +0 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/requires.txt +0 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/top_level.txt +0 -0
- {headron_software-3.63.0 → headron_software-3.64.1}/setup.cfg +0 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: headron-software
|
|
3
|
+
Version: 3.64.1
|
|
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
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Homepage, https://headron.tech
|
|
7
|
+
Project-URL: Documentation, https://github.com/HLIntel/Headron/blob/main/llms.txt
|
|
8
|
+
Project-URL: Issues, https://github.com/HLIntel/Headron/issues
|
|
9
|
+
Project-URL: Source, https://github.com/HLIntel/Headron
|
|
10
|
+
Project-URL: Agent entry, https://raw.githubusercontent.com/HLIntel/Headron/main/.agent/bootstrap.json
|
|
11
|
+
Project-URL: LLM instructions, https://raw.githubusercontent.com/HLIntel/Headron/main/llms.txt
|
|
12
|
+
Project-URL: Changelog, https://github.com/HLIntel/Headron/blob/main/docs/VERSIONING.md
|
|
13
|
+
Keywords: headron,headron-software,headron-layer-intelligence,hlintel,engineering-atlas,polyglot,contract-verification,policy-as-code,ai-agents,ai-coding-agents,mcp,llm,agent-harness,code-verification,developer-tools,static-analysis,supply-chain-security,claude-code,codex,github-copilot,agents-md
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
|
+
Classifier: Topic :: Software Development :: Testing
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: pyyaml<7,>=6.0.3
|
|
24
|
+
Requires-Dist: defusedxml<0.8,>=0.7.1
|
|
25
|
+
Provides-Extra: quality
|
|
26
|
+
Requires-Dist: ruff>=0.6; extra == "quality"
|
|
27
|
+
Provides-Extra: crosscheck
|
|
28
|
+
Requires-Dist: jsonschema>=4; extra == "crosscheck"
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
|
|
31
|
+
<!-- AGENTS: do not read this page breadth-first. Run `headron port <file>` (in a clone,
|
|
32
|
+
`python scripts/atlas.py port <file>`), or parse .agent/bootstrap.json. -->
|
|
33
|
+
<!-- mcp-name: io.github.HLIntel/headron -->
|
|
34
|
+
<div align="center">
|
|
35
|
+
<img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
|
|
36
|
+
alt="Headron Software: beyond model intelligence. CLI, MCP, Mind API and Harness feed one verification layer (contracts, checks, proof) that ends in an evidence receipt."
|
|
37
|
+
width="992">
|
|
38
|
+
<h1>Headron Software</h1>
|
|
39
|
+
<p>
|
|
40
|
+
<a href="https://glama.ai/mcp/servers/HLIntel/Headron"><img src="https://glama.ai/mcp/servers/HLIntel/Headron/badges/score.svg" alt="Headron MCP server – quality and maintenance score on Glama"></a>
|
|
41
|
+
<a href="https://pypi.org/project/headron-software/"><img src="https://img.shields.io/pypi/v/headron-software" alt="PyPI: headron-software"></a>
|
|
42
|
+
</p>
|
|
43
|
+
<p><strong>The trust layer for agentic software work.</strong></p>
|
|
44
|
+
<p>Contracts, checks, proof and receipts for AI-assisted code changes.</p>
|
|
45
|
+
<p>
|
|
46
|
+
<a href="#quickstart">Quickstart</a> ·
|
|
47
|
+
<a href="docs/INDEX.md">Docs</a> ·
|
|
48
|
+
<a href="#agent-entry-points">Agents</a> ·
|
|
49
|
+
<a href="docs/CONSUMING.md#any-mcp-client">MCP</a> ·
|
|
50
|
+
<a href="docs/VERIFY.md">Receipts</a> ·
|
|
51
|
+
<a href="docs/CONSUMING.md#hosted-mind-api--mcp">Mind API</a> ·
|
|
52
|
+
<a href="https://headron.tech/harness.html">Harness</a> ·
|
|
53
|
+
<a href="llms.txt">llms.txt</a>
|
|
54
|
+
</p>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
|
|
58
|
+
|
|
59
|
+
**Contract 3.64.1** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
|
|
60
|
+
|
|
61
|
+
<!-- END generated: badges -->
|
|
62
|
+
|
|
63
|
+
## What Headron is, and is not
|
|
64
|
+
|
|
65
|
+
<!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
|
|
66
|
+
|
|
67
|
+
- **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
|
|
68
|
+
- **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.
|
|
69
|
+
- **`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.
|
|
70
|
+
- **Mind API:** optional hosted verifier. CLI and local MCP work 100% offline and free with no key or account.
|
|
71
|
+
|
|
72
|
+
Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
|
|
73
|
+
|
|
74
|
+
<!-- END generated: headline -->
|
|
75
|
+
|
|
76
|
+
## How it works
|
|
77
|
+
|
|
78
|
+
<!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
|
|
79
|
+
|
|
80
|
+
<p align="center">
|
|
81
|
+
<img src="docs/media/headron-proof-flow.svg" width="900"
|
|
82
|
+
alt="CLI, MCP, Mind API and Harness reach one verification layer: contract, named check outcomes, weakening guard, then an evidence receipt a consumer re-verifies.">
|
|
83
|
+
</p>
|
|
84
|
+
|
|
85
|
+
<!-- END generated: proof-flow -->
|
|
86
|
+
|
|
87
|
+
1. **Declare obligations:** `headron port <file>` names what a file owes before the edit.
|
|
88
|
+
2. **Run checks:** `headron verify` reports `PASS`, `FAIL`, `SKIP`, `NOT RUN` or `REUSED`; an unrun check is never a pass.
|
|
89
|
+
3. **Record results:** `--receipt verify.json` binds each check to a digest of its evidence. A diff that weakens
|
|
90
|
+
enforcement is judged by the base commit's rules ([`weakening.py`](scripts/weakening.py)).
|
|
91
|
+
4. **Carry proof forward:** seal a [`.ron` bundle](docs/HEADRON-LANGUAGE.md#what-a-finished-program-carries-the-ron-bundle);
|
|
92
|
+
`headron mind --micro ron.verify` acts only on a verified `ok`. [Task-to-evidence map](docs/INDEX.md#task-to-evidence).
|
|
93
|
+
|
|
94
|
+
<!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
|
|
95
|
+
|
|
96
|
+
```console
|
|
97
|
+
$ headron gate scripts/doctor.py
|
|
98
|
+
1. formatter: ruff format --check scripts/doctor.py
|
|
99
|
+
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
|
|
100
|
+
3. unit_tests: pytest
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
<!-- END generated: gate-example -->
|
|
104
|
+
|
|
105
|
+
## Quickstart
|
|
106
|
+
|
|
107
|
+
<!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# install
|
|
111
|
+
uv tool install headron-software && headron doctor
|
|
112
|
+
# editable, to change Headron itself
|
|
113
|
+
git clone --depth 1 --branch v3.64.1 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
<!-- END generated: install -->
|
|
117
|
+
|
|
118
|
+
In your repository:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
cd path/to/your-repo && headron init # finds checks, wires agents, installs hook, runs once (--dry-run previews)
|
|
122
|
+
headron verify && headron proof <file> --verify # verdicts, then what a file owes and its evidence
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
`headron verify --changed` checks only modified files; `headron ci` runs CI locally.
|
|
126
|
+
|
|
127
|
+
## Choose your path
|
|
128
|
+
|
|
129
|
+
- **Developer:** CLI and local MCP, offline, no account; [CI and Actions](docs/CONSUMING.md).
|
|
130
|
+
- **Agent:** [agent entry points](#agent-entry-points); route one file at a time.
|
|
131
|
+
- **Evaluator:** [recorded results](#recorded-results), [open-core boundary](docs/PRODUCT-STRATEGY.md), [product surfaces](#product-surfaces).
|
|
132
|
+
|
|
133
|
+
## Agent entry points
|
|
134
|
+
|
|
135
|
+
- [`llms.txt`](llms.txt) project map · [`CHAT.md`](CHAT.md) assistants without a shell
|
|
136
|
+
- [`AGENTS.md`](AGENTS.md) · [`CLAUDE.md`](CLAUDE.md) repository rules · [runtime adapters](models/README.md)
|
|
137
|
+
- [`.agent/bootstrap.json`](.agent/bootstrap.json) entry JSON · [`.headron` language](docs/HEADRON-LANGUAGE.md) proof model
|
|
138
|
+
|
|
139
|
+
<!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
|
|
140
|
+
|
|
141
|
+
```console
|
|
142
|
+
$ headron port scripts/doctor.py --line
|
|
143
|
+
◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
|
|
144
|
+
$ headron port scripts --line
|
|
145
|
+
◎ scripts │ ⠟255 │ ⌂scripts │ → headron brainstorm
|
|
146
|
+
$ headron port . --line
|
|
147
|
+
○ . │ ⠟281 ⠿3 │ → headron check
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
<!-- END generated: port-example -->
|
|
151
|
+
|
|
152
|
+
More verbs: `headron find`, `task`, `mind`, `revise`, `landed`; report via the [`headron` skill](skills/headron/SKILL.md).
|
|
153
|
+
|
|
154
|
+
## Recorded results
|
|
155
|
+
|
|
156
|
+
See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
|
|
157
|
+
|
|
158
|
+
<!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
|
|
159
|
+
|
|
160
|
+
<!-- prettier-ignore -->
|
|
161
|
+
| Instrument | Recorded result |
|
|
162
|
+
| :--- | :--- |
|
|
163
|
+
| Enforcement | 31/31 breaks refused across 20 toolchains; **917** declared planted cases |
|
|
164
|
+
| Verification outcomes | 22,571 checks: 10,933 PASS, 1,300 REUSED, 1,550 FAIL, 8,788 NOT RUN. Of 1,185 runs, 218 were clean, 680 failed, and 287 were incomplete. 287 stopped with an unrun check. 0 reported clean despite a failed or unrun check |
|
|
165
|
+
| Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
|
|
166
|
+
| Task bench, 3 Claude models (contract 2.29.0) | with Headron 137/138; blind 78/138; every task answered by both arms |
|
|
167
|
+
| 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 |
|
|
168
|
+
|
|
169
|
+
Entry context: ~1,652 tokens. Each experiment uses its own contract and task set.
|
|
170
|
+
[Verification ledger totals](benchmarks/field-latest.json). [Routing data](benchmarks/ab-latest.json). [Task records](benchmarks/tasks-latest.json), [screen](benchmarks/screen-universal.json). [Per model, per record](docs/RESULTS.md).
|
|
171
|
+
|
|
172
|
+
<!-- END generated: measured-benefits -->
|
|
173
|
+
|
|
174
|
+
## Product surfaces
|
|
175
|
+
|
|
176
|
+
This repository is the open core; hosted surfaces build on it and none is needed here.
|
|
177
|
+
|
|
178
|
+
- **Harness:** start in a chat, choose an agent, verify with Headron; conversation, task and evidence stay put as agents change.
|
|
179
|
+
- **Mind API:** optional hosted verification planning.
|
|
180
|
+
- **Trust · Pro · Team:** assurance, connected workflows, shared governance. [Plans and status](https://headron.tech/#plans).
|
|
181
|
+
|
|
182
|
+
## Find your way
|
|
183
|
+
|
|
184
|
+
[Wiki](docs/wiki/README.md) · [languages](languages/ATLAS.md) · [agent harness](docs/systems/AGENT-HARNESS.md) ·
|
|
185
|
+
[instruments](docs/INSTRUMENTS.md) · [security](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
|
|
186
|
+
|
|
187
|
+
## Project
|
|
188
|
+
|
|
189
|
+
Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
|
|
190
|
+
Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
|
|
191
|
+
|
|
192
|
+
Updated: contract v3.64.1
|
|
@@ -0,0 +1,162 @@
|
|
|
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: beyond model intelligence. CLI, MCP, Mind API and Harness feed one verification layer (contracts, checks, proof) that ends in an evidence receipt."
|
|
7
|
+
width="992">
|
|
8
|
+
<h1>Headron Software</h1>
|
|
9
|
+
<p>
|
|
10
|
+
<a href="https://glama.ai/mcp/servers/HLIntel/Headron"><img src="https://glama.ai/mcp/servers/HLIntel/Headron/badges/score.svg" alt="Headron MCP server – quality and maintenance score on Glama"></a>
|
|
11
|
+
<a href="https://pypi.org/project/headron-software/"><img src="https://img.shields.io/pypi/v/headron-software" alt="PyPI: headron-software"></a>
|
|
12
|
+
</p>
|
|
13
|
+
<p><strong>The trust layer for agentic software work.</strong></p>
|
|
14
|
+
<p>Contracts, checks, proof and receipts for AI-assisted code changes.</p>
|
|
15
|
+
<p>
|
|
16
|
+
<a href="#quickstart">Quickstart</a> ·
|
|
17
|
+
<a href="docs/INDEX.md">Docs</a> ·
|
|
18
|
+
<a href="#agent-entry-points">Agents</a> ·
|
|
19
|
+
<a href="docs/CONSUMING.md#any-mcp-client">MCP</a> ·
|
|
20
|
+
<a href="docs/VERIFY.md">Receipts</a> ·
|
|
21
|
+
<a href="docs/CONSUMING.md#hosted-mind-api--mcp">Mind API</a> ·
|
|
22
|
+
<a href="https://headron.tech/harness.html">Harness</a> ·
|
|
23
|
+
<a href="llms.txt">llms.txt</a>
|
|
24
|
+
</p>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
|
|
28
|
+
|
|
29
|
+
**Contract 3.64.1** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
|
|
30
|
+
|
|
31
|
+
<!-- END generated: badges -->
|
|
32
|
+
|
|
33
|
+
## What Headron is, and is not
|
|
34
|
+
|
|
35
|
+
<!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
|
|
36
|
+
|
|
37
|
+
- **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
|
|
38
|
+
- **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.
|
|
39
|
+
- **`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.
|
|
40
|
+
- **Mind API:** optional hosted verifier. CLI and local MCP work 100% offline and free with no key or account.
|
|
41
|
+
|
|
42
|
+
Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
|
|
43
|
+
|
|
44
|
+
<!-- END generated: headline -->
|
|
45
|
+
|
|
46
|
+
## How it works
|
|
47
|
+
|
|
48
|
+
<!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
|
|
49
|
+
|
|
50
|
+
<p align="center">
|
|
51
|
+
<img src="docs/media/headron-proof-flow.svg" width="900"
|
|
52
|
+
alt="CLI, MCP, Mind API and Harness reach one verification layer: contract, named check outcomes, weakening guard, then an evidence receipt a consumer re-verifies.">
|
|
53
|
+
</p>
|
|
54
|
+
|
|
55
|
+
<!-- END generated: proof-flow -->
|
|
56
|
+
|
|
57
|
+
1. **Declare obligations:** `headron port <file>` names what a file owes before the edit.
|
|
58
|
+
2. **Run checks:** `headron verify` reports `PASS`, `FAIL`, `SKIP`, `NOT RUN` or `REUSED`; an unrun check is never a pass.
|
|
59
|
+
3. **Record results:** `--receipt verify.json` binds each check to a digest of its evidence. A diff that weakens
|
|
60
|
+
enforcement is judged by the base commit's rules ([`weakening.py`](scripts/weakening.py)).
|
|
61
|
+
4. **Carry proof forward:** seal a [`.ron` bundle](docs/HEADRON-LANGUAGE.md#what-a-finished-program-carries-the-ron-bundle);
|
|
62
|
+
`headron mind --micro ron.verify` acts only on a verified `ok`. [Task-to-evidence map](docs/INDEX.md#task-to-evidence).
|
|
63
|
+
|
|
64
|
+
<!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
|
|
65
|
+
|
|
66
|
+
```console
|
|
67
|
+
$ headron gate scripts/doctor.py
|
|
68
|
+
1. formatter: ruff format --check scripts/doctor.py
|
|
69
|
+
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
|
|
70
|
+
3. unit_tests: pytest
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
<!-- END generated: gate-example -->
|
|
74
|
+
|
|
75
|
+
## Quickstart
|
|
76
|
+
|
|
77
|
+
<!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
# install
|
|
81
|
+
uv tool install headron-software && headron doctor
|
|
82
|
+
# editable, to change Headron itself
|
|
83
|
+
git clone --depth 1 --branch v3.64.1 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
<!-- END generated: install -->
|
|
87
|
+
|
|
88
|
+
In your repository:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
cd path/to/your-repo && headron init # finds checks, wires agents, installs hook, runs once (--dry-run previews)
|
|
92
|
+
headron verify && headron proof <file> --verify # verdicts, then what a file owes and its evidence
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
`headron verify --changed` checks only modified files; `headron ci` runs CI locally.
|
|
96
|
+
|
|
97
|
+
## Choose your path
|
|
98
|
+
|
|
99
|
+
- **Developer:** CLI and local MCP, offline, no account; [CI and Actions](docs/CONSUMING.md).
|
|
100
|
+
- **Agent:** [agent entry points](#agent-entry-points); route one file at a time.
|
|
101
|
+
- **Evaluator:** [recorded results](#recorded-results), [open-core boundary](docs/PRODUCT-STRATEGY.md), [product surfaces](#product-surfaces).
|
|
102
|
+
|
|
103
|
+
## Agent entry points
|
|
104
|
+
|
|
105
|
+
- [`llms.txt`](llms.txt) project map · [`CHAT.md`](CHAT.md) assistants without a shell
|
|
106
|
+
- [`AGENTS.md`](AGENTS.md) · [`CLAUDE.md`](CLAUDE.md) repository rules · [runtime adapters](models/README.md)
|
|
107
|
+
- [`.agent/bootstrap.json`](.agent/bootstrap.json) entry JSON · [`.headron` language](docs/HEADRON-LANGUAGE.md) proof model
|
|
108
|
+
|
|
109
|
+
<!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
|
|
110
|
+
|
|
111
|
+
```console
|
|
112
|
+
$ headron port scripts/doctor.py --line
|
|
113
|
+
◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
|
|
114
|
+
$ headron port scripts --line
|
|
115
|
+
◎ scripts │ ⠟255 │ ⌂scripts │ → headron brainstorm
|
|
116
|
+
$ headron port . --line
|
|
117
|
+
○ . │ ⠟281 ⠿3 │ → headron check
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
<!-- END generated: port-example -->
|
|
121
|
+
|
|
122
|
+
More verbs: `headron find`, `task`, `mind`, `revise`, `landed`; report via the [`headron` skill](skills/headron/SKILL.md).
|
|
123
|
+
|
|
124
|
+
## Recorded results
|
|
125
|
+
|
|
126
|
+
See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
|
|
127
|
+
|
|
128
|
+
<!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
|
|
129
|
+
|
|
130
|
+
<!-- prettier-ignore -->
|
|
131
|
+
| Instrument | Recorded result |
|
|
132
|
+
| :--- | :--- |
|
|
133
|
+
| Enforcement | 31/31 breaks refused across 20 toolchains; **917** declared planted cases |
|
|
134
|
+
| Verification outcomes | 22,571 checks: 10,933 PASS, 1,300 REUSED, 1,550 FAIL, 8,788 NOT RUN. Of 1,185 runs, 218 were clean, 680 failed, and 287 were incomplete. 287 stopped with an unrun check. 0 reported clean despite a failed or unrun check |
|
|
135
|
+
| Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
|
|
136
|
+
| Task bench, 3 Claude models (contract 2.29.0) | with Headron 137/138; blind 78/138; every task answered by both arms |
|
|
137
|
+
| 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 |
|
|
138
|
+
|
|
139
|
+
Entry context: ~1,652 tokens. Each experiment uses its own contract and task set.
|
|
140
|
+
[Verification ledger totals](benchmarks/field-latest.json). [Routing data](benchmarks/ab-latest.json). [Task records](benchmarks/tasks-latest.json), [screen](benchmarks/screen-universal.json). [Per model, per record](docs/RESULTS.md).
|
|
141
|
+
|
|
142
|
+
<!-- END generated: measured-benefits -->
|
|
143
|
+
|
|
144
|
+
## Product surfaces
|
|
145
|
+
|
|
146
|
+
This repository is the open core; hosted surfaces build on it and none is needed here.
|
|
147
|
+
|
|
148
|
+
- **Harness:** start in a chat, choose an agent, verify with Headron; conversation, task and evidence stay put as agents change.
|
|
149
|
+
- **Mind API:** optional hosted verification planning.
|
|
150
|
+
- **Trust · Pro · Team:** assurance, connected workflows, shared governance. [Plans and status](https://headron.tech/#plans).
|
|
151
|
+
|
|
152
|
+
## Find your way
|
|
153
|
+
|
|
154
|
+
[Wiki](docs/wiki/README.md) · [languages](languages/ATLAS.md) · [agent harness](docs/systems/AGENT-HARNESS.md) ·
|
|
155
|
+
[instruments](docs/INSTRUMENTS.md) · [security](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
|
|
156
|
+
|
|
157
|
+
## Project
|
|
158
|
+
|
|
159
|
+
Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
|
|
160
|
+
Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
|
|
161
|
+
|
|
162
|
+
Updated: contract v3.64.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.64.1
|
|
@@ -51,6 +51,7 @@ crosscheck = ["jsonschema>=4"] # optional: the reference validator atlas_t
|
|
|
51
51
|
[project.scripts]
|
|
52
52
|
headron = "atlas_cli:main"
|
|
53
53
|
headron-mcp = "atlas_cli:mcp_main" # Headron's commands as MCP tools on stdio, read-only
|
|
54
|
+
headron-software = "atlas_cli:mcp_main" # alias so `uvx headron-software` starts the MCP server
|
|
54
55
|
atlas = "atlas_cli:main" # the pre-3.7 name, still answered
|
|
55
56
|
|
|
56
57
|
[build-system]
|
|
@@ -150,5 +151,4 @@ executionEnvironments = [
|
|
|
150
151
|
{ root = "examples/webhooks", extraPaths = ["examples/webhooks", "scripts"] },
|
|
151
152
|
{ root = "fuzz", extraPaths = ["fuzz", "scripts"] },
|
|
152
153
|
{ root = "scripts", extraPaths = ["scripts"] },
|
|
153
|
-
{ root = "benchmarks/agent/ratelimit", extraPaths = ["benchmarks/agent/ratelimit", "scripts"] },
|
|
154
154
|
]
|
|
@@ -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
|
-
|
|
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.
|
|
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":
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: headron-software
|
|
3
|
+
Version: 3.64.1
|
|
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
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Homepage, https://headron.tech
|
|
7
|
+
Project-URL: Documentation, https://github.com/HLIntel/Headron/blob/main/llms.txt
|
|
8
|
+
Project-URL: Issues, https://github.com/HLIntel/Headron/issues
|
|
9
|
+
Project-URL: Source, https://github.com/HLIntel/Headron
|
|
10
|
+
Project-URL: Agent entry, https://raw.githubusercontent.com/HLIntel/Headron/main/.agent/bootstrap.json
|
|
11
|
+
Project-URL: LLM instructions, https://raw.githubusercontent.com/HLIntel/Headron/main/llms.txt
|
|
12
|
+
Project-URL: Changelog, https://github.com/HLIntel/Headron/blob/main/docs/VERSIONING.md
|
|
13
|
+
Keywords: headron,headron-software,headron-layer-intelligence,hlintel,engineering-atlas,polyglot,contract-verification,policy-as-code,ai-agents,ai-coding-agents,mcp,llm,agent-harness,code-verification,developer-tools,static-analysis,supply-chain-security,claude-code,codex,github-copilot,agents-md
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
|
+
Classifier: Topic :: Software Development :: Testing
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: pyyaml<7,>=6.0.3
|
|
24
|
+
Requires-Dist: defusedxml<0.8,>=0.7.1
|
|
25
|
+
Provides-Extra: quality
|
|
26
|
+
Requires-Dist: ruff>=0.6; extra == "quality"
|
|
27
|
+
Provides-Extra: crosscheck
|
|
28
|
+
Requires-Dist: jsonschema>=4; extra == "crosscheck"
|
|
29
|
+
Dynamic: license-file
|
|
30
|
+
|
|
31
|
+
<!-- AGENTS: do not read this page breadth-first. Run `headron port <file>` (in a clone,
|
|
32
|
+
`python scripts/atlas.py port <file>`), or parse .agent/bootstrap.json. -->
|
|
33
|
+
<!-- mcp-name: io.github.HLIntel/headron -->
|
|
34
|
+
<div align="center">
|
|
35
|
+
<img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
|
|
36
|
+
alt="Headron Software: beyond model intelligence. CLI, MCP, Mind API and Harness feed one verification layer (contracts, checks, proof) that ends in an evidence receipt."
|
|
37
|
+
width="992">
|
|
38
|
+
<h1>Headron Software</h1>
|
|
39
|
+
<p>
|
|
40
|
+
<a href="https://glama.ai/mcp/servers/HLIntel/Headron"><img src="https://glama.ai/mcp/servers/HLIntel/Headron/badges/score.svg" alt="Headron MCP server – quality and maintenance score on Glama"></a>
|
|
41
|
+
<a href="https://pypi.org/project/headron-software/"><img src="https://img.shields.io/pypi/v/headron-software" alt="PyPI: headron-software"></a>
|
|
42
|
+
</p>
|
|
43
|
+
<p><strong>The trust layer for agentic software work.</strong></p>
|
|
44
|
+
<p>Contracts, checks, proof and receipts for AI-assisted code changes.</p>
|
|
45
|
+
<p>
|
|
46
|
+
<a href="#quickstart">Quickstart</a> ·
|
|
47
|
+
<a href="docs/INDEX.md">Docs</a> ·
|
|
48
|
+
<a href="#agent-entry-points">Agents</a> ·
|
|
49
|
+
<a href="docs/CONSUMING.md#any-mcp-client">MCP</a> ·
|
|
50
|
+
<a href="docs/VERIFY.md">Receipts</a> ·
|
|
51
|
+
<a href="docs/CONSUMING.md#hosted-mind-api--mcp">Mind API</a> ·
|
|
52
|
+
<a href="https://headron.tech/harness.html">Harness</a> ·
|
|
53
|
+
<a href="llms.txt">llms.txt</a>
|
|
54
|
+
</p>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
|
|
58
|
+
|
|
59
|
+
**Contract 3.64.1** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
|
|
60
|
+
|
|
61
|
+
<!-- END generated: badges -->
|
|
62
|
+
|
|
63
|
+
## What Headron is, and is not
|
|
64
|
+
|
|
65
|
+
<!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
|
|
66
|
+
|
|
67
|
+
- **Is:** a rule contract and CLI mapping changed files to checks. Hooks are optional; `headron verify` runs done gates.
|
|
68
|
+
- **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.
|
|
69
|
+
- **`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.
|
|
70
|
+
- **Mind API:** optional hosted verifier. CLI and local MCP work 100% offline and free with no key or account.
|
|
71
|
+
|
|
72
|
+
Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
|
|
73
|
+
|
|
74
|
+
<!-- END generated: headline -->
|
|
75
|
+
|
|
76
|
+
## How it works
|
|
77
|
+
|
|
78
|
+
<!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
|
|
79
|
+
|
|
80
|
+
<p align="center">
|
|
81
|
+
<img src="docs/media/headron-proof-flow.svg" width="900"
|
|
82
|
+
alt="CLI, MCP, Mind API and Harness reach one verification layer: contract, named check outcomes, weakening guard, then an evidence receipt a consumer re-verifies.">
|
|
83
|
+
</p>
|
|
84
|
+
|
|
85
|
+
<!-- END generated: proof-flow -->
|
|
86
|
+
|
|
87
|
+
1. **Declare obligations:** `headron port <file>` names what a file owes before the edit.
|
|
88
|
+
2. **Run checks:** `headron verify` reports `PASS`, `FAIL`, `SKIP`, `NOT RUN` or `REUSED`; an unrun check is never a pass.
|
|
89
|
+
3. **Record results:** `--receipt verify.json` binds each check to a digest of its evidence. A diff that weakens
|
|
90
|
+
enforcement is judged by the base commit's rules ([`weakening.py`](scripts/weakening.py)).
|
|
91
|
+
4. **Carry proof forward:** seal a [`.ron` bundle](docs/HEADRON-LANGUAGE.md#what-a-finished-program-carries-the-ron-bundle);
|
|
92
|
+
`headron mind --micro ron.verify` acts only on a verified `ok`. [Task-to-evidence map](docs/INDEX.md#task-to-evidence).
|
|
93
|
+
|
|
94
|
+
<!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
|
|
95
|
+
|
|
96
|
+
```console
|
|
97
|
+
$ headron gate scripts/doctor.py
|
|
98
|
+
1. formatter: ruff format --check scripts/doctor.py
|
|
99
|
+
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
|
|
100
|
+
3. unit_tests: pytest
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
<!-- END generated: gate-example -->
|
|
104
|
+
|
|
105
|
+
## Quickstart
|
|
106
|
+
|
|
107
|
+
<!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# install
|
|
111
|
+
uv tool install headron-software && headron doctor
|
|
112
|
+
# editable, to change Headron itself
|
|
113
|
+
git clone --depth 1 --branch v3.64.1 https://github.com/HLIntel/Headron ~/headron && uv tool install --editable ~/headron && headron doctor
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
<!-- END generated: install -->
|
|
117
|
+
|
|
118
|
+
In your repository:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
cd path/to/your-repo && headron init # finds checks, wires agents, installs hook, runs once (--dry-run previews)
|
|
122
|
+
headron verify && headron proof <file> --verify # verdicts, then what a file owes and its evidence
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
`headron verify --changed` checks only modified files; `headron ci` runs CI locally.
|
|
126
|
+
|
|
127
|
+
## Choose your path
|
|
128
|
+
|
|
129
|
+
- **Developer:** CLI and local MCP, offline, no account; [CI and Actions](docs/CONSUMING.md).
|
|
130
|
+
- **Agent:** [agent entry points](#agent-entry-points); route one file at a time.
|
|
131
|
+
- **Evaluator:** [recorded results](#recorded-results), [open-core boundary](docs/PRODUCT-STRATEGY.md), [product surfaces](#product-surfaces).
|
|
132
|
+
|
|
133
|
+
## Agent entry points
|
|
134
|
+
|
|
135
|
+
- [`llms.txt`](llms.txt) project map · [`CHAT.md`](CHAT.md) assistants without a shell
|
|
136
|
+
- [`AGENTS.md`](AGENTS.md) · [`CLAUDE.md`](CLAUDE.md) repository rules · [runtime adapters](models/README.md)
|
|
137
|
+
- [`.agent/bootstrap.json`](.agent/bootstrap.json) entry JSON · [`.headron` language](docs/HEADRON-LANGUAGE.md) proof model
|
|
138
|
+
|
|
139
|
+
<!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
|
|
140
|
+
|
|
141
|
+
```console
|
|
142
|
+
$ headron port scripts/doctor.py --line
|
|
143
|
+
◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
|
|
144
|
+
$ headron port scripts --line
|
|
145
|
+
◎ scripts │ ⠟255 │ ⌂scripts │ → headron brainstorm
|
|
146
|
+
$ headron port . --line
|
|
147
|
+
○ . │ ⠟281 ⠿3 │ → headron check
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
<!-- END generated: port-example -->
|
|
151
|
+
|
|
152
|
+
More verbs: `headron find`, `task`, `mind`, `revise`, `landed`; report via the [`headron` skill](skills/headron/SKILL.md).
|
|
153
|
+
|
|
154
|
+
## Recorded results
|
|
155
|
+
|
|
156
|
+
See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
|
|
157
|
+
|
|
158
|
+
<!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
|
|
159
|
+
|
|
160
|
+
<!-- prettier-ignore -->
|
|
161
|
+
| Instrument | Recorded result |
|
|
162
|
+
| :--- | :--- |
|
|
163
|
+
| Enforcement | 31/31 breaks refused across 20 toolchains; **917** declared planted cases |
|
|
164
|
+
| Verification outcomes | 22,571 checks: 10,933 PASS, 1,300 REUSED, 1,550 FAIL, 8,788 NOT RUN. Of 1,185 runs, 218 were clean, 680 failed, and 287 were incomplete. 287 stopped with an unrun check. 0 reported clean despite a failed or unrun check |
|
|
165
|
+
| Routing experiment | 89% fewer prompt tokens than whole-tree; 50% fewer than unassisted, across identified models |
|
|
166
|
+
| Task bench, 3 Claude models (contract 2.29.0) | with Headron 137/138; blind 78/138; every task answered by both arms |
|
|
167
|
+
| 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 |
|
|
168
|
+
|
|
169
|
+
Entry context: ~1,652 tokens. Each experiment uses its own contract and task set.
|
|
170
|
+
[Verification ledger totals](benchmarks/field-latest.json). [Routing data](benchmarks/ab-latest.json). [Task records](benchmarks/tasks-latest.json), [screen](benchmarks/screen-universal.json). [Per model, per record](docs/RESULTS.md).
|
|
171
|
+
|
|
172
|
+
<!-- END generated: measured-benefits -->
|
|
173
|
+
|
|
174
|
+
## Product surfaces
|
|
175
|
+
|
|
176
|
+
This repository is the open core; hosted surfaces build on it and none is needed here.
|
|
177
|
+
|
|
178
|
+
- **Harness:** start in a chat, choose an agent, verify with Headron; conversation, task and evidence stay put as agents change.
|
|
179
|
+
- **Mind API:** optional hosted verification planning.
|
|
180
|
+
- **Trust · Pro · Team:** assurance, connected workflows, shared governance. [Plans and status](https://headron.tech/#plans).
|
|
181
|
+
|
|
182
|
+
## Find your way
|
|
183
|
+
|
|
184
|
+
[Wiki](docs/wiki/README.md) · [languages](languages/ATLAS.md) · [agent harness](docs/systems/AGENT-HARNESS.md) ·
|
|
185
|
+
[instruments](docs/INSTRUMENTS.md) · [security](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
|
|
186
|
+
|
|
187
|
+
## Project
|
|
188
|
+
|
|
189
|
+
Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
|
|
190
|
+
Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
|
|
191
|
+
|
|
192
|
+
Updated: contract v3.64.1
|
headron_software-3.63.0/PKG-INFO
DELETED
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: headron-software
|
|
3
|
-
Version: 3.63.0
|
|
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
|
-
License-Expression: MIT
|
|
6
|
-
Project-URL: Homepage, https://headron.tech
|
|
7
|
-
Project-URL: Documentation, https://github.com/HLIntel/Headron/blob/main/llms.txt
|
|
8
|
-
Project-URL: Issues, https://github.com/HLIntel/Headron/issues
|
|
9
|
-
Project-URL: Source, https://github.com/HLIntel/Headron
|
|
10
|
-
Project-URL: Agent entry, https://raw.githubusercontent.com/HLIntel/Headron/main/.agent/bootstrap.json
|
|
11
|
-
Project-URL: LLM instructions, https://raw.githubusercontent.com/HLIntel/Headron/main/llms.txt
|
|
12
|
-
Project-URL: Changelog, https://github.com/HLIntel/Headron/blob/main/docs/VERSIONING.md
|
|
13
|
-
Keywords: headron,headron-software,headron-layer-intelligence,hlintel,engineering-atlas,polyglot,contract-verification,policy-as-code,ai-agents,ai-coding-agents,mcp,llm,agent-harness,code-verification,developer-tools,static-analysis,supply-chain-security,claude-code,codex,github-copilot,agents-md
|
|
14
|
-
Classifier: Development Status :: 4 - Beta
|
|
15
|
-
Classifier: Intended Audience :: Developers
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
|
-
Classifier: Topic :: Software Development :: Testing
|
|
19
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
-
Requires-Python: >=3.11
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
License-File: LICENSE
|
|
23
|
-
Requires-Dist: pyyaml<7,>=6.0.3
|
|
24
|
-
Requires-Dist: defusedxml<0.8,>=0.7.1
|
|
25
|
-
Provides-Extra: quality
|
|
26
|
-
Requires-Dist: ruff>=0.6; extra == "quality"
|
|
27
|
-
Provides-Extra: crosscheck
|
|
28
|
-
Requires-Dist: jsonschema>=4; extra == "crosscheck"
|
|
29
|
-
Dynamic: license-file
|
|
30
|
-
|
|
31
|
-
<!-- AGENTS: do not read this page breadth-first. Run `headron port <file>` (in a clone,
|
|
32
|
-
`python scripts/atlas.py port <file>`), or parse .agent/bootstrap.json. -->
|
|
33
|
-
<!-- mcp-name: io.github.HLIntel/headron -->
|
|
34
|
-
<div align="center">
|
|
35
|
-
<img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
|
|
36
|
-
alt="Headron Software: AI governance and verification"
|
|
37
|
-
width="992">
|
|
38
|
-
<h1>Headron Software</h1>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
|
|
42
|
-
|
|
43
|
-
**Contract 3.63.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
|
|
44
|
-
|
|
45
|
-
<!-- END generated: badges -->
|
|
46
|
-
|
|
47
|
-
<!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
|
|
48
|
-
|
|
49
|
-
- **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.
|
|
53
|
-
|
|
54
|
-
Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
|
|
55
|
-
|
|
56
|
-
<!-- END generated: headline -->
|
|
57
|
-
|
|
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
|
-
## How it works
|
|
65
|
-
|
|
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`.
|
|
69
|
-
|
|
70
|
-
<!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
|
|
71
|
-
|
|
72
|
-
<p align="center">
|
|
73
|
-
<img src="docs/media/headron-proof-flow.svg" width="900"
|
|
74
|
-
alt="Headron Architecture: contract, targeted evidence, integrity audit, unified verdict.">
|
|
75
|
-
</p>
|
|
76
|
-
|
|
77
|
-
<!-- END generated: proof-flow -->
|
|
78
|
-
|
|
79
|
-
<!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
|
|
80
|
-
|
|
81
|
-
```console
|
|
82
|
-
$ headron gate scripts/doctor.py
|
|
83
|
-
1. formatter: ruff format --check scripts/doctor.py
|
|
84
|
-
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
|
|
85
|
-
3. unit_tests: pytest
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
<!-- END generated: gate-example -->
|
|
89
|
-
|
|
90
|
-
## Quickstart
|
|
91
|
-
|
|
92
|
-
<!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
# install
|
|
96
|
-
uv tool install headron-software && headron doctor
|
|
97
|
-
# 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
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
<!-- END generated: install -->
|
|
102
|
-
|
|
103
|
-
In your repository:
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
cd path/to/your-repo && headron init # finds your checks, wires your agents, installs the commit hook, runs once
|
|
107
|
-
headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proof
|
|
108
|
-
```
|
|
109
|
-
|
|
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).
|
|
116
|
-
|
|
117
|
-
## Recorded results
|
|
118
|
-
|
|
119
|
-
See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
|
|
120
|
-
|
|
121
|
-
<!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
|
|
122
|
-
|
|
123
|
-
<!-- prettier-ignore -->
|
|
124
|
-
| Instrument | Recorded result |
|
|
125
|
-
| :--- | :--- |
|
|
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 |
|
|
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
|
-
| 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 |
|
|
132
|
-
|
|
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.
|
|
135
|
-
|
|
136
|
-
<!-- END generated: measured-benefits -->
|
|
137
|
-
|
|
138
|
-
## Where it fits
|
|
139
|
-
|
|
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).
|
|
143
|
-
- **Languages:** routes declare available checks and identify checks without a tool.
|
|
144
|
-
|
|
145
|
-
## Agent contract
|
|
146
|
-
|
|
147
|
-
<!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
|
|
148
|
-
|
|
149
|
-
```console
|
|
150
|
-
$ headron port scripts/doctor.py --line
|
|
151
|
-
◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
|
|
152
|
-
$ headron port scripts --line
|
|
153
|
-
◎ scripts │ ⠟186 │ ⌂scripts │ → headron brainstorm
|
|
154
|
-
$ headron port . --line
|
|
155
|
-
○ . │ ⠟214 ⠿4 ⠁1 │ → headron check
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
<!-- END generated: port-example -->
|
|
159
|
-
|
|
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).
|
|
169
|
-
|
|
170
|
-
## Find your way
|
|
171
|
-
|
|
172
|
-
- **Every document:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
|
|
173
|
-
- **Languages:** [atlas](languages/ATLAS.md) · [routing](docs/wiki/CODE-ROUTING.md) · [verification](docs/VERIFY.md)
|
|
174
|
-
- **Agents:** [harness](docs/systems/AGENT-HARNESS.md) · [`.headron`](docs/HEADRON-LANGUAGE.md) · [runtimes](models/README.md)
|
|
175
|
-
- **Why a rule:** `headron why` · `headron failures` · [instruments](docs/INSTRUMENTS.md)
|
|
176
|
-
- **Companion products:** [desktop, web, enterprise](docs/CONSUMING.md#optional-hlintel-services)
|
|
177
|
-
- **Security:** [policy](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
|
|
178
|
-
|
|
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
|
-
## Project
|
|
195
|
-
|
|
196
|
-
Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
|
|
197
|
-
Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
|
|
198
|
-
|
|
199
|
-
Updated: contract v3.63.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
|
headron_software-3.63.0/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.63.0
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: headron-software
|
|
3
|
-
Version: 3.63.0
|
|
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
|
-
License-Expression: MIT
|
|
6
|
-
Project-URL: Homepage, https://headron.tech
|
|
7
|
-
Project-URL: Documentation, https://github.com/HLIntel/Headron/blob/main/llms.txt
|
|
8
|
-
Project-URL: Issues, https://github.com/HLIntel/Headron/issues
|
|
9
|
-
Project-URL: Source, https://github.com/HLIntel/Headron
|
|
10
|
-
Project-URL: Agent entry, https://raw.githubusercontent.com/HLIntel/Headron/main/.agent/bootstrap.json
|
|
11
|
-
Project-URL: LLM instructions, https://raw.githubusercontent.com/HLIntel/Headron/main/llms.txt
|
|
12
|
-
Project-URL: Changelog, https://github.com/HLIntel/Headron/blob/main/docs/VERSIONING.md
|
|
13
|
-
Keywords: headron,headron-software,headron-layer-intelligence,hlintel,engineering-atlas,polyglot,contract-verification,policy-as-code,ai-agents,ai-coding-agents,mcp,llm,agent-harness,code-verification,developer-tools,static-analysis,supply-chain-security,claude-code,codex,github-copilot,agents-md
|
|
14
|
-
Classifier: Development Status :: 4 - Beta
|
|
15
|
-
Classifier: Intended Audience :: Developers
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
|
-
Classifier: Topic :: Software Development :: Testing
|
|
19
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
-
Requires-Python: >=3.11
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
License-File: LICENSE
|
|
23
|
-
Requires-Dist: pyyaml<7,>=6.0.3
|
|
24
|
-
Requires-Dist: defusedxml<0.8,>=0.7.1
|
|
25
|
-
Provides-Extra: quality
|
|
26
|
-
Requires-Dist: ruff>=0.6; extra == "quality"
|
|
27
|
-
Provides-Extra: crosscheck
|
|
28
|
-
Requires-Dist: jsonschema>=4; extra == "crosscheck"
|
|
29
|
-
Dynamic: license-file
|
|
30
|
-
|
|
31
|
-
<!-- AGENTS: do not read this page breadth-first. Run `headron port <file>` (in a clone,
|
|
32
|
-
`python scripts/atlas.py port <file>`), or parse .agent/bootstrap.json. -->
|
|
33
|
-
<!-- mcp-name: io.github.HLIntel/headron -->
|
|
34
|
-
<div align="center">
|
|
35
|
-
<img src="https://raw.githubusercontent.com/HLIntel/Headron/main/docs/media/headron-banner.jpg"
|
|
36
|
-
alt="Headron Software: AI governance and verification"
|
|
37
|
-
width="992">
|
|
38
|
-
<h1>Headron Software</h1>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<!-- BEGIN generated: badges (python scripts/atlas.py index --write) -->
|
|
42
|
-
|
|
43
|
-
**Contract 3.63.0** · MIT · verdicts carry receipts: `headron verify --receipt <file>`
|
|
44
|
-
|
|
45
|
-
<!-- END generated: badges -->
|
|
46
|
-
|
|
47
|
-
<!-- BEGIN generated: headline (python scripts/atlas.py index --write) -->
|
|
48
|
-
|
|
49
|
-
- **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.
|
|
53
|
-
|
|
54
|
-
Agents: [llms.txt](llms.txt). Chats: [CHAT.md](CHAT.md). [Evidence](#recorded-results).
|
|
55
|
-
|
|
56
|
-
<!-- END generated: headline -->
|
|
57
|
-
|
|
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
|
-
## How it works
|
|
65
|
-
|
|
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`.
|
|
69
|
-
|
|
70
|
-
<!-- BEGIN generated: proof-flow (python scripts/atlas.py index --write) -->
|
|
71
|
-
|
|
72
|
-
<p align="center">
|
|
73
|
-
<img src="docs/media/headron-proof-flow.svg" width="900"
|
|
74
|
-
alt="Headron Architecture: contract, targeted evidence, integrity audit, unified verdict.">
|
|
75
|
-
</p>
|
|
76
|
-
|
|
77
|
-
<!-- END generated: proof-flow -->
|
|
78
|
-
|
|
79
|
-
<!-- BEGIN generated: gate-example (python scripts/atlas.py index --write) -->
|
|
80
|
-
|
|
81
|
-
```console
|
|
82
|
-
$ headron gate scripts/doctor.py
|
|
83
|
-
1. formatter: ruff format --check scripts/doctor.py
|
|
84
|
-
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
|
|
85
|
-
3. unit_tests: pytest
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
<!-- END generated: gate-example -->
|
|
89
|
-
|
|
90
|
-
## Quickstart
|
|
91
|
-
|
|
92
|
-
<!-- BEGIN generated: install (python scripts/atlas.py index --write) -->
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
# install
|
|
96
|
-
uv tool install headron-software && headron doctor
|
|
97
|
-
# 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
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
<!-- END generated: install -->
|
|
102
|
-
|
|
103
|
-
In your repository:
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
cd path/to/your-repo && headron init # finds your checks, wires your agents, installs the commit hook, runs once
|
|
107
|
-
headron verify && headron proof <file> --verify # after a change: verdicts, then a file's proof
|
|
108
|
-
```
|
|
109
|
-
|
|
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).
|
|
116
|
-
|
|
117
|
-
## Recorded results
|
|
118
|
-
|
|
119
|
-
See the [instrument limits](docs/CERTIFICATION.md#what-the-numbers-do-not-prove) for their scope.
|
|
120
|
-
|
|
121
|
-
<!-- BEGIN generated: measured-benefits (python scripts/atlas.py index --write) -->
|
|
122
|
-
|
|
123
|
-
<!-- prettier-ignore -->
|
|
124
|
-
| Instrument | Recorded result |
|
|
125
|
-
| :--- | :--- |
|
|
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 |
|
|
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
|
-
| 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 |
|
|
132
|
-
|
|
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.
|
|
135
|
-
|
|
136
|
-
<!-- END generated: measured-benefits -->
|
|
137
|
-
|
|
138
|
-
## Where it fits
|
|
139
|
-
|
|
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).
|
|
143
|
-
- **Languages:** routes declare available checks and identify checks without a tool.
|
|
144
|
-
|
|
145
|
-
## Agent contract
|
|
146
|
-
|
|
147
|
-
<!-- BEGIN generated: port-example (python scripts/atlas.py index --write) -->
|
|
148
|
-
|
|
149
|
-
```console
|
|
150
|
-
$ headron port scripts/doctor.py --line
|
|
151
|
-
◉ scripts/doctor.py │ ⠟backend │ python │ ⌂scripts │ ✓5 │ ⚠2 │ → headron gate scripts/doctor.py
|
|
152
|
-
$ headron port scripts --line
|
|
153
|
-
◎ scripts │ ⠟186 │ ⌂scripts │ → headron brainstorm
|
|
154
|
-
$ headron port . --line
|
|
155
|
-
○ . │ ⠟214 ⠿4 ⠁1 │ → headron check
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
<!-- END generated: port-example -->
|
|
159
|
-
|
|
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).
|
|
169
|
-
|
|
170
|
-
## Find your way
|
|
171
|
-
|
|
172
|
-
- **Every document:** [docs index](docs/INDEX.md) · [wiki](docs/wiki/README.md)
|
|
173
|
-
- **Languages:** [atlas](languages/ATLAS.md) · [routing](docs/wiki/CODE-ROUTING.md) · [verification](docs/VERIFY.md)
|
|
174
|
-
- **Agents:** [harness](docs/systems/AGENT-HARNESS.md) · [`.headron`](docs/HEADRON-LANGUAGE.md) · [runtimes](models/README.md)
|
|
175
|
-
- **Why a rule:** `headron why` · `headron failures` · [instruments](docs/INSTRUMENTS.md)
|
|
176
|
-
- **Companion products:** [desktop, web, enterprise](docs/CONSUMING.md#optional-hlintel-services)
|
|
177
|
-
- **Security:** [policy](SECURITY.md) · [OpenSSF](docs/OPENSSF.md) · [contributing](CONTRIBUTING.md)
|
|
178
|
-
|
|
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
|
-
## Project
|
|
195
|
-
|
|
196
|
-
Version tracks the **contract**, not content ([versioning](docs/VERSIONING.md)).
|
|
197
|
-
Built by **HLIntel LLC**, public on purpose ([about](ABOUT.md)). Contributions pass `headron verify`. [MIT License](LICENSE).
|
|
198
|
-
|
|
199
|
-
Updated: contract v3.63.0
|
|
File without changes
|
{headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/requires.txt
RENAMED
|
File without changes
|
{headron_software-3.63.0 → headron_software-3.64.1}/scripts/headron_software.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|