# HIVEMIND: Role-Bound Agent Swarms for Enterprise Continuity — Institutional Memory, Knowledge Commons, and Coordinated Intelligence Under Clearance: history

13 versions, 2026-03-17 to 2026-07-29. Newest first. Clone: https://sprintpaper.com/git/corporate-swarm.git

## v2.4 · 2026-07-29

21,492 words, +646 / −405 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/2.4.md

**Claims toned down; restart deadlock lesson added**

The abstract is shortened by a third and many claims are softened: "talent retention becomes a non-issue" becomes "role knowledge can persist through turnover", and onboarding "can become" inheritance. Offboarding is no longer said to be free; access still has to be removed with care.

- From an incident noted on 21 July: a gateway restart waited more than four hours for "no active work" because dead tasks still looked alive. The failure section now states that a recovery path must not depend on the health of what it recovers, and that new work is paused while a restart drains.
- Small additions to the risk table, the rollout's first phase and the limitations.

## v2.3 · 2026-06-19

21,251 words, +1,641 / −303 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/2.3.md

**Agents acting on shared data at once; a caution on leak detectors**

Two items from the improvement notes go in.

- A new section on agents changing the same shared data at the same time: work is prepared in parallel, then applied under short locks per object, each agent in its own copy that is merged back.
- The compliance sweep gains a measured warning: a leak detector trained on top of a frozen sentence-embedding model works poorly, so it should not be built that way.
- The pre-execution gate (AEGIS) is described as an enforced block rather than advice.
- Short additions on curious agents, agents persuading each other, and model differences. The author's own internal papers leave the reference list.

## v2.2 · 2026-06-18

19,913 words, +8,158 / −6,099 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/2.2.md

**Rewritten around one shared agent per job; new title**

The paper changes its thesis. It used to be about secure knowledge management with one agent per employee. Now it is about continuity: the most expensive failure in a mid-sized company is a senior person leaving, so knowledge should live in one agent per job function, shared by everyone who holds that job, which outlives any of them. The title becomes "Role-Bound Agent Swarms for Enterprise Continuity". About 38 % of the text changed.

- New opening on resignations as the costliest loss, and the continuity thesis.
- A knowledge commons: a shared, version-controlled set of Markdown files every agent mounts, kept by former trainers who become knowledge stewards.
- The sales example is rebuilt: customer ownership is settled inside one shared sales agent, and a full customer history becomes simple.
- Offboarding and the right to be forgotten become small events, since no personal agent needs to be migrated.
- New sections on how the agents connect along several axes, on governance (users ask IT, they do not run the system themselves), and on whose jobs win.
- The separate related-work chapter is folded into a shorter positioning section.

## v1.8 · 2026-06-14

17,854 words, +3,498 / −96 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.8.md

**Reversible compression under clearance and a test for leaks**

About 3,400 words added, from items the improvement notes collected on 13 June. The theme is leakage: how to keep and compress memories without breaking clearance, and how to measure what a redacted summary still gives away.

- Related work on memory-compression tools that keep the originals (Compress-Cache-Retrieve), and why they assume a single trust level.
- How to keep originals under clearance without opening a path around it.
- A test that measures how much restricted information survives redaction.
- A "doubt reviewer": a fresh agent that never sees the source tries to guess the hidden facts from a summary, which turns a quality check into a leak test.
- The security model now says that a pre-execution gate (AEGIS) blocks out-of-clearance tool calls, a second layer next to file permissions.

## v1.7 · 2026-06-02

14,452 words, +17 / −8 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.7.md

**Wording and figure files only**

Wording only, plus the figures now point to PNG files instead of PDF ones.

## v1.6 · 2026-06-02

14,443 words, +482 / −140 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.6.md

**Cost section counts the nightly work every agent does**

The improvement notes asked what the whole system would cost per month. The cost section nearly triples. It now counts the background work that grows with the number of agents rather than with use: each agent's nightly reflection, rebuilding search indexes, and group deliberations. The capability table is also sharpened.

Figures referenced but not on disk:
- images/fig-hierarchy.pdf
- images/fig-history-flow.pdf

## v1.5 · 2026-06-02

14,101 words, +1 / −4 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.5.md

**Wording only**

Wording only: a few words in the customer-history example and the version line.

Figures referenced but not on disk:
- images/fig-hierarchy.pdf
- images/fig-history-flow.pdf

## v1.4 · 2026-06-02

14,104 words, +94 / −114 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.4.md

**Wording only; names of the author's other papers replaced by plain terms**

Wording only. References to the author's other papers by series number are replaced by plain descriptions of what they do, so the paper reads on its own, and two internal working papers leave the reference list.

Figures referenced but not on disk:
- images/fig-hierarchy.pdf
- images/fig-history-flow.pdf

## v1.3 · 2026-06-02

14,124 words, +469 / −47 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.3.md

**A three-agent prototype is proposed**

The improvement notes said the paper was only architecture and that even a small prototype would help. This version describes a three-agent reference prototype (sales, IT, management) with real clearance checks, as the first thing to build. The customer-history example gains detail, and the title moves into a metadata header.

Figures referenced but not on disk:
- images/fig-hierarchy.pdf
- images/fig-history-flow.pdf

## v1.2 · 2026-06-02

13,702 words, +3,050 / −235 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.2.md

**Which capabilities each agent runs, related work, memory across agents**

Two and a half months later the paper grew by about 2,800 words. The improvement notes asked which capabilities each agent tier gets, how memory is shared across agents, how clearance works with a memory that never deletes, and how this compares with other agent systems.

- A table of the capabilities each agent tier runs: memory, retrieval, persona, self-improvement, group deliberation, security.
- A new related-work chapter: three ways to organise agents (fan out and merge, one coordinator with workers, an org chart), with Paperclip as the open-source org-chart example.
- How clearance applies to an append-only event store, where old records are compacted but never erased.
- How one agent can retrieve memories held by another without breaking clearance.
- A cheaper option for small firms: one agent that switches roles.

Figures referenced but not on disk:
- images/fig-hierarchy.pdf

## v1.1 · 2026-03-17

10,887 words, +1,147 / −1 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.1.md

**Limits of the formal model, a message schema, and an evaluation plan**

A second review the same day asked for more engagement with security models beyond Bell-LaPadula and for a way to test the design. This version adds three sections and leaves the rest almost untouched.

- Why Bell-LaPadula is needed but not enough: it protects secrecy but not integrity, and it does not stop leaks by implication.
- A fixed format for messages between agents, with a confidence value that changes over the life of a piece of information.
- An evaluation agenda to run before a full rollout.
- The nightly compliance sweep is described in more detail.

## v1.0.1 · 2026-03-17

9,741 words, +5,345 / −4,454 words. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.0.1.md

**Rebuilt after the first review; formal security model, cost, rollout plan**

About half of the text was rewritten the same day, after a first review scored the paper 7.5 out of 10 and asked for formal grounding, cost, failure recovery, user adoption and an honest limits section. The paper grew from 58 to 79 sections.

- New formal security model based on Bell-LaPadula, the classic "no read up, no write down" rule.
- New sections on the EU AI Act, a data protection impact assessment, and how staff will adopt the system.
- New operations chapters: the protocol between agents, process isolation, debugging, version control of settings, backups.
- New failure modes, model updates that change behaviour, and real-time channels.
- A phased rollout plan, from one department with low-risk data to the whole company, with success measures.
- First cost estimates and a limitations section.

## v1.0 · 2026-03-17

8,850 words, first version. Text: https://sprintpaper.com/papers/corporate-swarm/v/1.0.md

**A design for company-wide AI agents that respect who may see what**

The paper asks how a company can give every employee a capable AI assistant without the assistant of a junior salesperson ever reaching salary data, merger plans or system passwords. Its answer, HIVEMIND, is a design for agent teams on OpenClaw/TinkerClaw with five levels of data sensitivity mapped onto ordinary Linux file permissions.

- Three levels of agents: one per employee, one per department, one for the executives. Information may only flow down.
- A worked example in a sales team: who owns a customer, how a full customer history is assembled, and how restricted details are replaced by short redacted summaries.
- Compliance built in: every message between agents is logged, a nightly sweep looks for leaks, and suspect material is quarantined for a human.
- Sections on GDPR, the right to be forgotten, and a list of risks such as curious agents and agents talking each other into sharing.
- It is a design paper: nothing has been built or measured yet.
