interplane.Get Omega
Read in your language

hive-not-swarm

aien-dev/hive-not-swarm

Brought by drakestapleton

branch master Branches Tags History

hive-not-swarm / README.md

69 lines · 5246 bytes Raw Blame History Rendered
1# Hive, not swarm: control, flow and collapse in human-directed coding-agent teams
2
3[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.23766141.svg)](https://doi.org/10.5281/zenodo.23766141)
4
5Drake Stapleton <a href="https://orcid.org/0009-0002-6890-7111"><img src="https://orcid.org/assets/vectors/orcid.logo.icon.svg" alt="ORCID iD" width="16" height="16"></a> [0009-0002-6890-7111](https://orcid.org/0009-0002-6890-7111) · AIEN · Revision 3, 29 October 2026
6
7Archived at Zenodo: [doi:10.5281/zenodo.23766141](https://doi.org/10.5281/zenodo.23766141) (all versions; preprint, CC BY 4.0). Version 2, [10.5281/zenodo.23768573](https://doi.org/10.5281/zenodo.23768573), adds the LaTeX edition; version 1, [10.5281/zenodo.23766142](https://doi.org/10.5281/zenodo.23766142), holds the Word-built PDF only.
8
9Revision 3 of the manuscript first prepared as *Human directed hive orchestration: a controlled build for evidence qualified engineering*. It covers four things:
10
11- how a hive of coding agents differs structurally from a swarm;
12- how the hive is controlled and how work flows through it;
13- how it degrades into swarm-like behavior when disrupted, using a dated, hashed operational record;
14- how restoration works.
15
16The constrained concurrency model, its equations and all of its numbers are unchanged from Revision 2. The article has not been peer reviewed.
17
18## Contents
19
20- `Hive_Not_Swarm.docx`: the editable article. The five display equations are native Word OMML.
21- `Hive_Not_Swarm.pdf`: an 18-page LibreOffice export of the same document.
22- `paper.tex`, `paper.pdf`: the LaTeX edition (22 pages), in the same house style as the author's other papers. `build_latex.py` generates it from the DOCX with pandoc: numbered equations, `\cite` links into a `thebibliography` in first-citation order, and the same figures. The text is identical to the DOCX.
23- `build_article.py`: builds the article and figures with python-docx, NumPy and Matplotlib. References are numbered automatically in order of first citation, and the build fails on any uncited reference.
24- `reference_order.json`: the reference numbers and URLs produced by the build.
25- `figures/`: SVG sources and PNGs for the six figures.
26 - 01: two-loop architecture.
27 - 02: hive and swarm structures.
28 - 03: issue-to-receipt lifecycle.
29 - 04: hive-to-swarm transition.
30 - 05: constrained cost.
31 - 06: sensitivity.
32- `model_grid.csv`, `sensitivity_grid.csv`, `verify_model.py`, `model_verification.json`: the hypothetical concurrency model and an independent exact-rational verifier.
33- `sources/operational_record_extract.md`: the operational-record lines that Section 6 relies on. It includes:
34 - each quoted line's file, line number and SHA-256;
35 - the SHA-256 of each full private source file.
36
37 Lines that reveal how a credential or signing key is protected are excluded; home paths, account names and a private repository name are redacted in place.
38- `sources/repository_pr_links.json` and `sources/count_pr_links.py`: the GitHub pull-request data and recount script behind the Section 4.1 counts.
39- `sources/ISSUE_FIRST_DELIVERY_c6512a4.md`: a pinned copy of the issue-first protocol.
40- `sources/verify_main_model.wl`, `sources/wolfram_verification_receipt.json`: the Wolfram Language check of the model (Revision 2).
41- `sources/build_environment.json`: the toolchain versions used.
42- `assets/orcid_id_icon.svg`, `assets/orcid_id_icon.png`: the official ORCID iD icon, used on the author line.
43- `CITATION.cff`, `.zenodo.json`, `publication.json`: citation, archive and publication metadata.
44- `LICENSE`: Creative Commons Attribution 4.0 International, covering the article, figures, data and scripts.
45
46## Reproduce
47
48Requirements: Python with python-docx, NumPy and Matplotlib, plus the Liberation Serif and DejaVu Sans fonts. Run from this folder:
49
50```sh
51python build_article.py
52python verify_model.py
53python sources/count_pr_links.py
54soffice --headless --convert-to pdf Hive_Not_Swarm.docx
55python build_latex.py # needs pandoc and tectonic
56```
57
58`publication.json` holds the reserved DOI and the repository URL. When it is present, the build prints the DOI on the title block and in the footer, and adds the archive and repository links to the data-availability statement. Without it, the build produces no DOI line.
59
60## Evidentiary boundaries
61
62- **Model inputs.** All model parameters are hypothetical. None was fitted to AIEN, CUDA++ or agent telemetry. The six-agent optimum depends on those inputs.
63- **The operational record.**
64 - It is retrospective, selected by the author and mostly written by AI agents.
65 - It has no denominators and no comparison period.
66 - It supports a taxonomy of mechanisms and testable hypotheses, not causal claims.
67- **Biology and physics.** Results on honeybees, collective motion and phase transitions are used as analogies only. In particular, biological swarming is normal colony reproduction, not failure.
68- **Policy versus enforcement.** Documented policy is not proof of compliance. Table 2 of the article states which control levers are technically enforced.
69- **HDAE.** HDAE is attributed to Gregory M. Kurtzer's single-agent case study. The extension to many lanes is this article's own, and no priority is claimed.