ReadPrintedHistoryCompareGraphs

v1.8 → v2.2

What changed from v1.8 to v2.2

From v1.8 (14 Jun) to v2.2 (18 Jun): 17,854 words to 19,913 words, 8,158 words in new or rewritten paragraphs and 6,099 taken out, 421 paragraphs changed.

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 · 14 June 2026v2.2 · 18 June 2026
v1.8 · Top**A Design Paper on Deploying Multi-Agent AI Systems in Corporate Environments with Strict Information Boundaries**
removed in v2.2
not in v1.8
v2.2 · Top**A Design Paper on Deploying Multi-Agent AI Systems That Outlive the People Who Use Them**

··· 2 unchanged paragraphs folded ···

v1.8 · AbstractConversational AI assistants have proven effective for individual productivity, but enterprise deployment introduces a fundamentally different class of problem: how do you give every employee a powerful AI assistant while ensuring that the assistant for a junior salesperson cannot, even inadvertently, access salary data, merger plans, or infrastructure credentials? This paper presents **HIVEMIND** — a hierarchical agent swarm architecture designed for corporate deployment on OpenClaw/TinkerClaw infrastructure. We describe a five-tier data classification model mapped to Linux filesystem permissions and formally grounded in the Bell-LaPadula security model, a three-level agent hierarchy (employee, department, executive), and structured inter-agent communication protocols that enforce information flow strictly downward. We ground the architecture in a detailed case study: a mid-sized family business (~50–200 employees) with Sales, IT, HR, Finance, and Production departments, each with distinct clearance requirements. We present the Sales Coordination Model as a worked example of cross-agent collaboration under clearance constraints, including customer ownership routing, redacted summary generation with template-based leakage controls, and competitive intelligence aggregation. We strengthen the declassification boundary with a fresh-context adversarial "doubt reviewer" that, by running across a clearance boundary, turns a quality check into a sound information-flow test for implication-leakage, and we specify a seeded-corpus eval that measures residual leakage directly. We show that clearance-domain memory compaction can be made reversible without breaking the lattice — a Compress-Cache-Retrieve-Under-Clearance variant in which the retrieve step *is* the clearance gate — and we update the enforcement model to reflect that the application layer now has a pre-execution gate that *denies* violating tool-calls rather than merely logging them, giving HIVEMIND two independent enforcing layers. We address privacy and legal considerations (GDPR, EU AI Act, employee transparency, right-to-be-forgotten), compliance architecture (nightly audit cron jobs, communication logging, automated quarantine), and a comprehensive risk model covering curious agents, inter-agent social engineering, memory contamination, and model capability variance. We include performance estimates, failure recovery procedures, a phased deployment strategy, and a sketch-level inter-agent protocol specification. We also distinguish clearly between what is proposed, what is operationally specified, and what remains to be empirically validated, framing HIVEMIND as an architectural design paper rather than a deployment evaluation. We conclude with future directions toward federated enterprise agent networks.
removed in v2.2
not in v1.8
v2.2 · AbstractThe most expensive failure in a mid-sized company is not a data breach — it is a resignation. When a senior salesperson leaves after seven years, the relationship history, the negotiation instincts, and the undocumented customer quirks walk out with them, and the replacement spends months rebuilding what was never written down. This paper presents **HIVEMIND** — a multi-agent AI architecture for corporate deployment on OpenClaw/TinkerClaw infrastructure whose central design commitment is **organizational continuity**: the institutional knowledge lives in the agents, and the agents outlive the humans who use them. The key architectural move is **role-bound agents** — one canonical agent per job function (a single *sales rep* agent, a single *field engineer* agent), shared by every human who holds that role, rather than a personalized agent per individual. This decision makes talent retention a non-issue (the agent never resigns), collapses cross-department coordination to one channel per function, and reduces onboarding to a single sentence: the new hire tells the agent which territory they now own. Knowledge enters the swarm through a **knowledge cascade** — a centralized, version-controlled Markdown vault (company canon, industry context, customer-relationship model, product catalog) that agents mount via symlinks, authored and maintained by former trainers reborn as **knowledge stewards** who now train the AI once instead of each hire repeatedly. Security is the enabling constraint, not the headline: we retain a five-tier data classification model mapped to Linux filesystem permissions and formally grounded in the Bell-LaPadula model, now applied at role granularity, with a controlled declassification pipeline, nightly compliance sweeps, and human-in-the-loop quarantine. We ground the architecture in a mid-sized family business (~50–200 employees) and a rewritten Sales Coordination case study in which customer ownership is resolved contextually by a single shared agent rather than through inter-agent email routing. We address GDPR and the EU AI Act, a comprehensive risk model, bounded-autonomy operational governance (end users signal IT rather than self-administer their gateway), failure recovery, and a phased deployment strategy. We frame HIVEMIND as an architectural design paper, distinguishing what is proposed, what is operationally specified, and what remains to be empirically validated.
v1.8 · Abstract**Keywords:** multi-agent systems, enterprise AI, information security, clearance models, OpenClaw, agent swarms, GDPR, EU AI Act, knowledge management, corporate AI, hierarchical agents, Bell-LaPadula
v2.2 · Abstract**Keywords:** multi-agent systems, enterprise AI, organizational continuity, institutional memory, knowledge management, role-bound agents, knowledge commons, OpenClaw, agent swarms, GDPR, EU AI Act, clearance models, Bell-LaPadula

··· 2 unchanged paragraphs folded ···

v1.8 · 1.1 From Individual Agents to Organizational Deployment### 1.1 From Individual Agents to Organizational Deployment
removed in v2.2
v1.8 · 1.1 From Individual Agents to Organizational DeploymentA single neuron is useless. A hundred neurons form a reflex arc. A hundred billion neurons, organized into specialized regions that communicate through defined pathways, produce a mind. The leap from individual capability to collective intelligence is not about adding more units — it is about organizing their communication. The same pattern holds outside the skull: a single ant is nearly blind and incapable of complex behavior, yet a colony builds bridges from its own bodies, farms fungus, and wages coordinated war. The intelligence lives in the structure of the interactions, not in any one participant.
removed in v2.2
v1.8 · 1.1 From Individual Agents to Organizational DeploymentHIVEMIND is our attempt to reproduce that emergence for AI: take individual agents, each capable in isolation, and organize them into a corporate structure where the whole becomes more capable than the sum of its parts — without letting the added connectivity become an added attack surface.
removed in v2.2
not in v1.8
v2.2 · 1.1 The Most Expensive Problem in a Mid-Sized Company### 1.1 The Most Expensive Problem in a Mid-Sized Company
v1.8 · 1.1 The Most Expensive Problem in a Mid-Sized CompanyThe first generation of practical AI assistants is personal. OpenClaw, TinkerClaw, and comparable platforms are designed around a single operator — one human, one agent, one workspace. The agent accumulates contextual memory, learns preferences, and acts as a trusted extension of that individual's cognition. The individual model is now reasonably mature: persistent memory, curiosity-driven self-improvement, and trust tiers governing tool access have each been worked out for the single-operator case.
v2.2 · 1.1 The Most Expensive Problem in a Mid-Sized CompanyThe first generation of practical AI assistants is personal. OpenClaw, TinkerClaw, and comparable platforms are designed around a single operator — one human, one agent, one workspace. The agent accumulates contextual memory, learns preferences, and acts as a trusted extension of that individual's cognition. Prior J-series papers have explored this individual model in depth: memory architecture (J1), curiosity and self-improvement (J8), and trust tiers governing tool access (J3). The individual agent is now a reasonably mature design.
v1.8 · 1.1 From Individual Agents to Organizational DeploymentBut the individual agent paradigm has a ceiling. That ceiling is the organization.
removed in v2.2
v1.8 · 1.2 The Organizational Need### 1.2 The Organizational Need
removed in v2.2
v1.8 · 1.2 The Organizational NeedConsider a family business with 120 employees — a mid-sized industrial supply distributor operating for thirty years. Its collective knowledge lives in spreadsheets, email threads, the memories of senior employees, and folders on a shared server nobody has reorganized since 2011. Now imagine giving every employee their own AI assistant: María in sales gets LUNA, Pedro in sales gets ATLAS, the IT manager gets CIPHER, the HR director gets ARBOR, the CEO gets STRATEGOS.
removed in v2.2
v1.8 · 1.2 The Organizational NeedThe moment these agents operate in the same corporate ecosystem, three problems emerge:
removed in v2.2
v1.8 · 1.2 The Organizational Need- **Information leakage.** María asks LUNA to "find everything about the González account." LUNA, eager to help, discovers an email thread between the CEO and CFO discussing whether González's margins justify continued service. María now knows something she wasn't supposed to know.
removed in v2.2
v1.8 · 1.2 The Organizational Need- **Coordination failures.** A new email from a González contact lands in Pedro's inbox — the contact is registered to his territory, though María has been the primary relationship holder for two years. ATLAS drafts a reply from scratch, unaware of the relationship history. Two agents, same customer, divergent responses.
removed in v2.2
not in v1.8
v2.2 · 1.1 The Most Expensive Problem in a Mid-Sized CompanyBut the individual agent paradigm has a ceiling, and that ceiling is the organization. The interesting enterprise problem is not "how do I give one person a better assistant." It is a set of problems that have nothing to do with individual productivity and everything to do with how knowledge moves — and fails to move — through a company over time:
not in v1.8
v2.2 · 1.1 The Most Expensive Problem in a Mid-Sized Company- **The talent leak.** A senior salesperson with seven years of relationship history resigns. The replacement inherits a CRM full of names and none of the context: which customer never answers the phone before noon, which one always asks for a discount and never takes it, which contract has an unwritten handshake behind it. Months of productivity evaporate, and the same loss recurs with every departure. This is the single most expensive recurring failure in a mid-sized company, and no wiki has ever solved it, because the knowledge was never the kind that gets written down.
v1.8 · 1.1 The Most Expensive Problem in a Mid-Sized Company- **Knowledge silos.** Pedro learns in a client meeting that a competitor has launched a new product. ATLAS files this in Pedro's memory. The sales director never hears about it. The intelligence dies in a silo.
v2.2 · 1.1 The Most Expensive Problem in a Mid-Sized Company- **Knowledge silos.** A rep learns in a client meeting that a competitor launched a new product. It lands in a personal notebook. The sales director never hears it. The intelligence dies where it was born.
v1.8 · 1.2 The Organizational NeedThese are the daily reality of knowledge management in mid-sized companies.
removed in v2.2
not in v1.8
v2.2 · 1.1 The Most Expensive Problem in a Mid-Sized Company- **Onboarding cost.** Every new hire is trained from near-zero by someone whose actual job is something else. The training is repeated per hire, lost on turnover, and inconsistent across trainers.
not in v1.8
v2.2 · 1.2 The Continuity Thesis### 1.2 The Continuity Thesis
not in v1.8
v2.2 · 1.2 The Continuity ThesisHIVEMIND's central commitment is **organizational continuity**: the institutional knowledge lives in the agents, and the agents outlive the humans who use them.
not in v1.8
v2.2 · 1.2 The Continuity ThesisThe architectural move that delivers this is **role-bound agents**. Instead of a personalized agent per individual — María gets LUNA, Pedro gets ATLAS — there is *one* canonical agent per job function: a single **sales rep agent**, shared by every salesperson; a single **field engineer agent**, shared by every engineer. The human is a transient occupant of a role; the agent is the durable holder of the role's accumulated knowledge.
not in v1.8
v2.2 · 1.2 The Continuity ThesisThis one decision cascades into three properties that a per-person design cannot offer:
not in v1.8
v2.2 · 1.2 The Continuity Thesis1. **Talent retention becomes a non-issue.** The agent never resigns. When a salesperson leaves, nothing is snapshotted, migrated, or scrubbed — the agent simply keeps serving the next occupant. Offboarding collapses to a single edit: the new hire tells the agent "I now cover the northern territory," and a workload-division file is updated.
not in v1.8
v2.2 · 1.2 The Continuity Thesis2. **Cross-department coordination collapses to one channel per function.** With one sales agent and one engineering agent, a sales-to-engineering handoff is a single, stable, auditable channel — not an N×M mesh of personal agents that has to be re-wired every time someone joins or leaves.
not in v1.8
v2.2 · 1.2 The Continuity Thesis3. **Onboarding becomes inheritance.** A new hire does not start from zero. They start from everything the role has ever learned, and contribute back to it.

··· 1 unchanged paragraph folded ···

v1.8 · 1.3 The Core TensionThe central challenge is a tension between two legitimate needs:
removed in v2.2
not in v1.8
v2.2 · 1.3 The Core TensionContinuity and coordination create value only if they do not also create exposure. The central engineering tension is between two legitimate needs:
v1.8 · 1.3 The Core Tension**The need for integration.** The more an agent knows about the company, the better it can help its user. A sales agent that knows the customer's full history — every touchpoint, complaint, and special arrangement — is far more effective than one that only knows its user's portion.
v2.2 · 1.3 The Core Tension**The need for integration.** The more an agent knows about the company, the better it serves. A sales agent that holds the *whole team's* customer history — every touchpoint, complaint, and special arrangement — is vastly more effective than one scoped to a single person's slice. Role-bound agents maximize this by construction: the shared agent already holds everything the role knows.
v1.8 · 1.3 The Core Tension**The need for boundaries.** Salary data, M&A strategy, infrastructure credentials, legal proceedings — these must be protected. An AI agent that leaks this information is worse than having no agent, because the leak is invisible, scalable, and hard to attribute.
v2.2 · 1.3 The Core Tension**The need for boundaries.** Salary data, M&A strategy, infrastructure credentials, legal proceedings — these must be protected across role and tier boundaries. An AI agent that leaks this is worse than no agent, because the leak is invisible, scalable, and hard to attribute.
v1.8 · 1.3 The Core TensionHIVEMIND resolves this tension through deep integration with strict clearance-based boundaries enforced at the infrastructure level, not merely at the prompt level.
v2.2 · 1.3 The Core TensionHIVEMIND resolves this tension through deep, role-level integration with clearance-based boundaries enforced at the infrastructure level, not merely at the prompt level. Security is the enabling constraint that makes the continuity architecture deployable — it is not the headline, and a deployment that led with it would be solving the wrong problem first.

··· 2 unchanged paragraphs folded ···

v1.8 · 1.4 Architecture Overview![Figure 1. HIVEMIND three-level agent hierarchy. Employee agents (L1) sit under one department agent (L2) per function; all department agents report to a single executive agent, STRATEGOS (L3). Each level carries a clearance ceiling, and every inter-level edge is gated by the gateway's topology and clearance rules.](images/fig-hierarchy.png)
removed in v2.2
not in v1.8
v2.2 · 1.4 Architecture Overview![Figure 1. HIVEMIND's three-level agent hierarchy. A single **executive** agent (L3-EXEC, T5) sits over one **department** agent per function (L2-SALES / L2-IT / L2-HR, T4), each over a **role** agent shared by everyone who holds that job function (L1-SALES-REP / L1-FIELD-ENGR / L1-SUPPORT, T3). Queries flow downward only; structured intelligence pushes flow upward; lateral traffic between role agents is mediated by the department agent — and every inter-level edge is gated by the clearance lattice, enforced by the Linux kernel, not the model.](images/fig-architecture.png){width=70%}
not in v1.8
v2.2 · 1.4 Architecture OverviewA role agent is shared by every human who holds that role. Where a department contains a single role (e.g., a sales floor of identically-scoped reps), Level 1 and Level 2 may merge: the role agent *is* the department agent. The three-level structure is retained for departments with multiple distinct roles at different scopes.

··· 1 unchanged paragraph folded ···

v1.8 · 1.5 The Per-Agent Cognitive StackSingle-agent cognition has, over the past few years, been tackled one problem at a time: persistent memory, fast retrieval, stable identity, self-improvement, multi-model deliberation, and layered security each have well-understood solutions for the one-human-one-agent case. HIVEMIND runs all of them at once, across many agents, and stress-tests their assumptions under concurrency and clearance constraints. Each agent in the swarm is not a thin role wrapper around a model — it is a full cognitive stack of six named subsystems used throughout this paper:
v2.2 · 1.5 The Per-Agent Cognitive StackSingle-agent cognition has, over the past few years, been tackled one problem at a time: persistent memory, fast retrieval, stable identity, self-improvement, multi-model deliberation, and layered security each have well-understood solutions for the one-human-one-agent case. HIVEMIND runs all of them at once, across many agents, under concurrency and clearance constraints. Each agent in the swarm is not a thin role wrapper around a model — it is a full cognitive stack of six named subsystems referenced throughout this paper:
v1.8 · 1.5 The Per-Agent Cognitive Stack- **Append-only memory (the memory subsystem).** Each agent stores interactions as append-only timestamped events, with older events automatically compressed into lightweight summaries — giving every agent effectively unlimited memory within bounded storage. - **Personal retrieval index (the retrieval subsystem).** Each agent maintains a retrieval index that maps topic keywords to memory segments, enabling sub-second lookup across its full interaction history. - **Stable persona (the identity subsystem).** Each agent reads a persona definition at session start and holds a distinct, stable identity — a sales agent behaves differently from an IT agent because their persona files encode different values, communication styles, and domain knowledge. - **Nightly self-improvement (the reflection subsystem).** Each agent runs a nightly cycle that reviews the day's errors and adjusts its own behavioral rules, so the swarm improves over time without centralized retraining. - **Multi-model deliberation (the deliberation subsystem).** Complex cross-department decisions trigger several models debating the issue and synthesizing a consensus, so no single model's blind spot drives a critical business decision. - **Layered security (the security subsystem).** A layered framework enforces clearance levels and defends against prompt-injection that could compromise one agent and cascade through the swarm.
v2.2 · 1.5 The Per-Agent Cognitive Stack- **Append-only memory (the memory subsystem).** Interactions are stored as append-only timestamped events, with older events compressed into lightweight summaries — effectively unlimited memory within bounded storage (Section 2.9). - **Retrieval index (the retrieval subsystem).** A topic-keyword index over memory segments enabling sub-second lookup across the full interaction history (Section 3.6). - **Stable persona (the identity subsystem).** A persona definition read at session start gives each agent a distinct, stable identity — a sales agent behaves differently from an IT agent because their persona files encode different values, vocabulary, and domain knowledge. - **Self-improvement (the reflection subsystem).** A nightly cycle reviews the day's errors and adjusts behavioral rules, so the swarm improves without centralized retraining. - **Multi-model deliberation (the deliberation subsystem).** Complex cross-department decisions trigger several models debating and synthesizing a consensus, so no single model's blind spot drives a critical decision. - **Layered security (the security subsystem).** A framework enforcing clearance and defending against prompt-injection that could compromise one agent and cascade through the swarm.
v1.8 · 1.5 The Per-Agent Cognitive StackFor brevity, the rest of the paper refers to these subsystems by short names — ENGRAM (memory), HIPPOCAMPUS (retrieval), CORTEX (identity), CEREBELLUM (reflection), SYNAPSE (deliberation), and AEGIS (security) — purely as labels for the six functions just defined.
v2.2 · 1.5 The Per-Agent Cognitive StackFor brevity the paper refers to these by short names — ENGRAM (memory), HIPPOCAMPUS (retrieval), CORTEX (identity), CEREBELLUM (reflection), SYNAPSE (deliberation), and AEGIS (security) — purely as labels for the six functions above, each developed in depth in its own J-series paper.
v1.8 · 1.5 The Per-Agent Cognitive StackRunning the full stack on every one of 85+ agents would be wasteful, so HIVEMIND tiers it (Table 1). The principle is that cognitive cost should track decision consequence: an agent that only drafts emails does not need multi-model deliberation, and an agent that never coordinates does not need its own retrieval index over shared knowledge.
removed in v2.2
not in v1.8
v2.2 · 1.5 The Per-Agent Cognitive StackRunning the full stack on every agent would be wasteful, so HIVEMIND tiers it (Table 1): cognitive cost should track decision consequence.
v1.8 · 1.5 The Per-Agent Cognitive Stack**Table 1. Cognitive stack by agent tier.**
v2.2 · 1.5 The Per-Agent Cognitive Stack**Table 1. Cognitive stack by agent tier (under role-binding).**
v1.8 · 1.5 The Per-Agent Cognitive Stack| Capability | Employee (L1) | Department (L2) | Executive (L3) | | ----------------------------- | ------------------------------- | ---------------------------------- | ------------------------------- | | Memory (ENGRAM) | full, private | full + department aggregate | full + organization-wide read | | Retrieval (HIPPOCAMPUS) | personal index | personal + mediated cross-agent | personal + all-department read | | Persona (CORTEX) | per-employee, template-derived | per-department | bespoke (single agent) | | Self-improvement (CEREBELLUM) | shared department rule-base | department-level reflection | full reflection | | Deliberation (SYNAPSE) | off (escalate instead) | on for cross-employee decisions | on for cross-department/strategic | | Security (AEGIS) | clearance ceiling T2–T3 | T4 + clearance validator | T5 + dead switch + two-person rule |
v2.2 · 1.5 The Per-Agent Cognitive Stack| Capability | Role agent (L1) | Department (L2) | Executive (L3) | | ----------------------------- | ---------------------------------- | ---------------------------------- | ------------------------------- | | Memory (ENGRAM) | shared role memory | full + department aggregate | full + organization-wide read | | Retrieval (HIPPOCAMPUS) | role index | role + mediated cross-role | + all-department read | | Persona (CORTEX) | per-role template + thin per-person layer | per-department | bespoke (single agent) | | Self-improvement (CEREBELLUM) | shared role rule-base | department-level reflection | full reflection | | Deliberation (SYNAPSE) | off (escalate instead) | on for cross-role decisions | on for cross-department/strategic | | Security (AEGIS) | clearance ceiling T2–T3 | T4 + clearance validator | T5 + dead switch + two-person rule |
v1.8 · 1.5 The Per-Agent Cognitive StackTwo design choices in Table 1 are deliberate and are developed later in the paper. First, employee agents do not run SYNAPSE deliberation: when a decision is consequential enough to need multiple models arguing, it is consequential enough to escalate to the department agent (Section 4.3). Running independent deliberation on a junior agent would also multiply token cost without a clear payoff (Section 11.6). Second, self-improvement at the employee tier writes to a *shared department rule-base* rather than a fully private one, so that a lesson one salesperson's agent learns ("this customer always disputes the first invoice") becomes available to the team without leaking the underlying confidential interaction — the rule is declassified through the same pipeline as any other downward flow (Section 5.4).
v2.2 · 1.5 The Per-Agent Cognitive StackTwo choices are deliberate. First, role agents do not run SYNAPSE deliberation: a decision consequential enough to need multiple models arguing is consequential enough to escalate to the department agent (Section 3.3). Second, role-tier self-improvement writes to a *shared role rule-base* — which under role-binding is not a special case but the default: a lesson the sales agent learns ("this customer always disputes the first invoice") is immediately available to every salesperson, declassified through the same pipeline as any downward flow (Section 4.4). Role-binding and a shared rule-base are the same idea applied to behavior rather than knowledge.
not in v1.8
v2.2 · 1.6 Related Work and Positioning### 1.6 Related Work and Positioning
not in v1.8
v2.2 · 1.6 Related Work and PositioningThe organizational framing of multi-agent systems is not unique to this paper; over the past year, academic, open-source, and industrial efforts have independently converged on organizational structure as the coordination model for multiple agents. Three coordination topologies are now visible: **fan-out-and-synthesize** (a coordinator dispatches one problem to several models and merges answers — no persistent roles); **coordinator-with-workers** (a single prompt spawns tool-restricted workers communicating through shared files — Claude Code's coordinator mode is the industrial exemplar); and **org-chart** (persistent hierarchical roles, work distributed as tickets, per-agent budget tracking). These are points on a spectrum of persistence and structure, not competitors. HIVEMIND sits at the high-structure end and adds the two things the leaner topologies omit: a clearance lattice enforced below the model, and the full per-agent cognitive stack of Section 1.5.
not in v1.8
v2.2 · 1.6 Related Work and Positioning- **Paperclip** (open-source "zero-human company" orchestration) mirrors HIVEMIND's structural thesis closely — each role is a separate agent, work flows through tickets, per-agent budgets are tracked centrally — and is direct evidence the org-chart paradigm works. What it lacks is exactly HIVEMIND's subject: no clearance or information-flow model (any agent reads anything), no governed shared memory, no persona persistence. HIVEMIND can be read as Paperclip with a Bell-LaPadula spine and a full cognitive stack — and role-binding goes one step further than Paperclip's per-role agents by making the role agent *shared across occupants* for continuity. - **Coordinator/teammate execution models** contribute useful vocabulary: a *teammate* in a separate context communicating through a file-based mailbox maps naturally onto HIVEMIND's clearance-filtered channels (Section 3.3) — every message is a file with owner, group, and permission bits, which is precisely the enforcement substrate. **Single-agent role-switching** (e.g., GStack: one process, multiple role prompts) marks the low-cost end of the design space and is a legitimate small-organization alternative (Section 10). - **headroom** (Chopra, 2026; ~24.7k★, Apache-2.0) is a production context-compression system built on **Compress-Cache-Retrieve (CCR)**: it caches originals and retrieves them on demand, reporting 60–95% token savings at near-zero accuracy delta with a runnable eval. It bears directly on HIVEMIND's memory subsystem and creates one tension and one template — reversible retrieval collides with the lattice (Section 2.10), while its shipped accuracy-delta eval is the discipline HIVEMIND borrows for its redaction-fidelity eval (Section 4.4.2). - **addyosmani/agent-skills** (~56.8k★) contributes a **doubt-driven-development** loop whose reusable kernel — a *fresh-context adversarial reviewer denied the source* — maps onto HIVEMIND's hardest problem, implication-leakage at the declassification boundary. Section 4.4.1 re-purposes it as a leakage oracle: run across a clearance boundary, a quality check becomes an information-flow test.
not in v1.8
v2.2 · 1.6 Related Work and Positioning**The convergence argument.** That organizational coordination patterns emerged independently across academic, open-source, and industrial work suggests corporate structure is not merely a convenient metaphor for multi-agent systems — it may be the natural coordination topology. Companies already encode "who may know what" and "who reports to whom" in org charts and filesystem permissions; mapping agents onto that structure is less an invention than a recognition. What distinguishes HIVEMIND is the claim that this same structure, taken seriously, *is* the security model — the org chart is the access-control graph, not a layer on top of it.
v1.8 · 1.7 Paper Organization### 1.6 Paper Organization
v2.2 · 1.7 Paper Organization### 1.7 Paper Organization
v1.8 · 1.7 Paper OrganizationSection 2 surveys related multi-agent orchestration paradigms and positions HIVEMIND among them. Section 3 defines the information architecture and formal security model. Section 4 presents the agent hierarchy. Section 5 details the Sales Coordination case study. Section 6 addresses privacy and legal considerations — GDPR and the EU AI Act — which motivate the compliance architecture in Section 7. Section 8 covers technical implementation on OpenClaw/TinkerClaw infrastructure, including an inter-agent protocol specification. Section 9 analyzes risks and mitigations. Section 10 presents a phased deployment strategy. Section 11 sketches future directions. Section 12 collects limitations. Section 13 concludes.
v2.2 · 1.7 Paper OrganizationSection 2 defines the information architecture, the formal security model, the knowledge-commons cascade, and the clearance-aware memory model. Section 3 presents the role-agent hierarchy, the naming convention, the multiple orthogonal axes along which the network operates (clearance, supervision, bottleneck reduction, workload sharing, self-modification, knowledge propagation), and cross-role retrieval. Section 4 details the Sales Coordination case study under contextual ownership, including the doubt reviewer and the redaction-fidelity eval. Section 5 addresses privacy and legal considerations — GDPR and the EU AI Act — which motivate the compliance architecture in Section 6. Section 7 covers technical implementation, including an inter-agent protocol specification and operational governance. Section 8 analyzes risks and mitigations. Section 9 presents a phased deployment strategy. Section 10 sketches future directions. Section 11 collects limitations. Section 12 concludes.

··· 1 unchanged paragraph folded ···

v1.8 · 2. Related Work — Multi-Agent Orchestration Paradigms## 2. Related Work — Multi-Agent Orchestration Paradigms
removed in v2.2
v1.8 · 2. Related Work — Multi-Agent Orchestration ParadigmsThe organizational framing of multi-agent systems is not unique to this paper. Over the past year, three independent efforts — academic, open-source, and industrial — have converged on organizational structure as the coordination model for multiple agents. Surveying them clarifies what HIVEMIND contributes and what it borrows.
removed in v2.2
v1.8 · 2.1 Three Coordination Topologies### 2.1 Three Coordination Topologies
removed in v2.2
v1.8 · 2.1 Three Coordination TopologiesThree distinct paradigms are now visible in practice:
removed in v2.2
v1.8 · 2.1 Three Coordination Topologies1. **Fan-out and synthesize.** A coordinator dispatches the same problem to several models and merges their answers (the CORF pattern in OpenClaw; broadly, the multi-model deliberation style discussed in Section 1.5). There is no persistent role structure — the parallelism is per-query. 2. **Coordinator-with-workers.** A single coordinator prompt spawns workers with restricted tool sets; the orchestration lives in the prompt rather than an external framework, and workers communicate through tool results and a shared filesystem. Claude Code's coordinator mode is the clearest industrial example. It is the leanest topology: prompt-only, little persistent state. 3. **Org-chart.** Persistent, hierarchical roles (CEO, department heads, individual contributors), work distributed as tickets rather than prompt chains, with per-agent budget tracking. Paperclip is the open-source exemplar; HIVEMIND is the security-and-cognition-complete version.
removed in v2.2
v1.8 · 2.1 Three Coordination TopologiesThese are points on a spectrum of *persistence* and *structure*, not competitors. HIVEMIND sits at the high-structure end and adds the two things the leaner topologies omit: a clearance lattice enforced below the model, and the full per-agent cognitive stack of Section 1.5.
removed in v2.2
v1.8 · 2.2 Paperclip — Open-Source Organizational Agents### 2.2 Paperclip — Open-Source Organizational Agents
removed in v2.2
v1.8 · 2.2 Paperclip — Open-Source Organizational AgentsPaperclip is an open-source orchestration framework for "zero-human companies" that mirrors HIVEMIND's structural thesis closely: each role (CEO, CMO, CTO, engineers) is a separate agent; work is distributed through a ticketing system rather than prompt chains; tasks are atomic and trackable; per-agent token/budget usage is monitored from a central dashboard; agents can be different models; and all agents reference operator-set company goals.
removed in v2.2
v1.8 · 2.2 Paperclip — Open-Source Organizational AgentsPaperclip is direct evidence that the org-chart paradigm works in practice — role-based specialization scales, and centralized goal-setting with decentralized execution is viable. What it lacks is exactly the layer HIVEMIND is about. Paperclip has no clearance or information-flow model (any agent can read anything), no self-improvement loop, no governed shared memory, no cross-department deliberation protocol, and no persona persistence across sessions. In other words, Paperclip validates HIVEMIND's *structure* while leaving open the *cognitive architecture and security model* that would make such a structure safe to point at real corporate data. HIVEMIND can be read as Paperclip with a full per-agent cognitive stack and a Bell-LaPadula spine.
removed in v2.2
v1.8 · 2.3 Coordinator Mode and Sub-Agent Execution Models### 2.3 Coordinator Mode and Sub-Agent Execution Models
removed in v2.2
v1.8 · 2.3 Coordinator Mode and Sub-Agent Execution ModelsClaude Code's coordinator mode demonstrates that meaningful multi-agent orchestration can be defined entirely in a prompt: a coordinator spawns workers with restricted tool sets, and they coordinate through tool results and shared files. The same body of work distinguishes three sub-agent execution models that are useful vocabulary for HIVEMIND's implementation: a *fork* that inherits parent context (cache-efficient), a *teammate* in a separate execution context that communicates through a file-based mailbox (asynchronous, persistent), and a *worktree* isolated on its own branch.
removed in v2.2
v1.8 · 2.3 Coordinator Mode and Sub-Agent Execution ModelsThe teammate model maps most naturally onto HIVEMIND. Department coordination is asynchronous and persistent, and a file-based mailbox is a concrete, auditable realization of the clearance-filtered message channels described in Section 4.3 — every message is a file with owner, group, and permission bits, which is precisely the enforcement substrate HIVEMIND relies on.
removed in v2.2
v1.8 · 2.4 Single-Agent Role Switching### 2.4 Single-Agent Role Switching
removed in v2.2
v1.8 · 2.4 Single-Agent Role SwitchingNot every deployment needs separate processes. GStack uses a single agent with multiple role-specific prompt files (CEO, engineering manager, designer, debugger) — multi-perspective rather than multi-agent, and far cheaper because there is one process and one context to maintain. This marks the low-cost end of the design space and is a legitimate alternative for small organizations; we return to the cost trade-off explicitly in Section 11.4.
removed in v2.2
v1.8 · 2.5 Memory-Compression Systems — Reversible Caching and the Single-Trust-Domain Assumption### 2.5 Memory-Compression Systems — Reversible Caching and the Single-Trust-Domain Assumption
removed in v2.2
v1.8 · 2.5 Memory-Compression Systems — Reversible Caching and the Single-Trust-Domain AssumptionThe related work above concerns *coordination topology*; a separate line of contemporaneous work concerns the *cognition layer* HIVEMIND runs on every agent, and one project in particular bears directly on the memory subsystem of Section 1.5. headroom (Chopra, 2026; chopratejas/headroom, ~24.7k stars, Apache-2.0) is a production context-compression system built on a primitive it calls **CCR — Compress-Cache-Retrieve**. Where HIVEMIND's ENGRAM compaction is *lossy by design* (a summary stands in for many original events, originals shunted to cold storage, and a compacted pointer is explicitly "not a capability"; Section 3.7), headroom does the opposite: it *caches the originals* and lets the model *retrieve them on demand*, with per-content-type compressors — statistical crushing of JSON arrays, AST-aware code compression via tree-sitter, and dedicated log/diff/text handlers — reporting 60–95% token savings at near-zero accuracy delta on standard benchmarks (GSM8K, TruthfulQA, SQuAD, BFCL), and shipping a runnable evaluation harness together with a trained compression model.
removed in v2.2
v1.8 · 2.5 Memory-Compression Systems — Reversible Caching and the Single-Trust-Domain Assumptionheadroom matters to HIVEMIND for two reasons, one a tension and one a template. The tension: reversibility collides head-on with the lattice. A *reversible* summary is precisely the "compacted pointer that, when dereferenced, returns content above the holder's tier" that Section 3.7 names as the dangerous confused-deputy failure. headroom optimizes token economy and, by construction, assumes a *single trust domain* — retrieval is always permitted to whoever holds the cache. HIVEMIND cannot make that assumption, and Section 3.8 develops the clearance-aware variant that resolves the collision. The template: headroom is an existence proof that an agent-memory transform can ship with a *reproducible accuracy-delta eval*, which is exactly the artifact HIVEMIND's Limitations 2 and 10 admit it lacks. We borrow the discipline (a runnable eval over a named corpus) while rejecting the trust-domain assumption (every compression output must be a first-class classified object, not a freely retrievable cache).
removed in v2.2
v1.8 · 2.6 Engineering-Discipline Systems — Adversarial Review with Stripped Context### 2.6 Engineering-Discipline Systems — Adversarial Review with Stripped Context
removed in v2.2
v1.8 · 2.6 Engineering-Discipline Systems — Adversarial Review with Stripped ContextA second open-source body of work targets *review discipline* rather than coordination or memory, and one mechanism within it maps unexpectedly well onto HIVEMIND's hardest unsolved problem — implication-leakage at the declassification boundary. addyosmani/agent-skills (Osmani, 2026; ~56.8k stars) is a disciplined-engineering plugin whose **doubt-driven-development** loop runs CLAIM → EXTRACT (produce an artifact whose originating reasoning is stripped, leaving only the contract/output) → DOUBT (a *fresh-context* adversarial reviewer that sees only the artifact, never the source or the reasoning that produced it) → RECONCILE (classify findings against the artifact text) → STOP (explicit trivial-findings / cycle-limit / override criteria). Most of this is a code-review loop and is not what HIVEMIND borrows. The reusable kernel is the *fresh-context-adversarial-reviewer-with-stripped-context* primitive: a reviewer deliberately denied the source can only reason from the artifact, which is the correct threat model for a recipient who is likewise denied the source. Section 5.4.1 re-purposes this primitive as a leakage oracle at the clearance boundary. The honest differentiation: addyosmani's loop is a *quality* check (does the artifact meet its contract); run across a clearance boundary it becomes an *information-flow* test (can a party without clearance infer the secret from the artifact alone). The repository's broader authoring conventions — every skill declares a "When NOT to use" anti-trigger and a "Loading Constraints" scope — are good practice we note but do not depend on.
removed in v2.2
v1.8 · 2.7 The Convergence Argument### 2.7 The Convergence Argument
removed in v2.2
v1.8 · 2.7 The Convergence ArgumentThe independent emergence of organizational coordination patterns across academic (HIVEMIND), open-source (Paperclip), and industrial (Claude Code coordinator) work suggests that corporate structure is not merely a convenient metaphor for multi-agent systems — it may be the natural coordination topology for complex, heterogeneous agent deployments. Companies already encode "who may know what" and "who reports to whom" in their org charts and filesystem permissions; mapping agents onto that existing structure is less an invention than a recognition. What distinguishes HIVEMIND is the claim that this same structure, taken seriously, is also the *security* model — that the org chart is the access-control graph, not a layer on top of it.
removed in v2.2
v1.8 · 2.7 The Convergence Argument---
removed in v2.2
v1.8 · 2. Information Architecture — The Corporate Filesystem Model## 3. Information Architecture — The Corporate Filesystem Model
v2.2 · 2. Information Architecture — The Corporate Filesystem Model## 2. Information Architecture — The Corporate Filesystem Model
v1.8 · 2.1 The Shared Server as Mental Model### 3.1 The Shared Server as Mental Model
v2.2 · 2.1 The Shared Server as Mental Model### 2.1 The Shared Server as Mental Model

··· 2 unchanged paragraphs folded ···

v1.8 · 2.1 The Shared Server as Mental Model1. **Familiarity.** IT administrators understand filesystem permissions without learning a new access control paradigm. 2. **Auditability.** Filesystem access is loggable, diff-able, and understood by existing compliance tools. 3. **Trust.** Employees already accept IT-controlled data access. Extending this to AI agents feels less invasive than a new control plane. 4. **Enforcement.** Linux filesystem permissions are enforced by the kernel, not by a language model's good intentions. This is a critical distinction we return to in Section 9.
v2.2 · 2.1 The Shared Server as Mental Model1. **Familiarity.** IT administrators understand filesystem permissions without learning a new access control paradigm. 2. **Auditability.** Filesystem access is loggable, diff-able, and understood by existing compliance tools. 3. **Trust.** Employees already accept IT-controlled data access. Extending this to AI agents feels less invasive than a new control plane. 4. **Enforcement.** Linux filesystem permissions are enforced by the kernel, not by a language model's good intentions. This is a critical distinction we return to in Section 8.
v1.8 · 2.2 Data Classification Tiers### 3.2 Data Classification Tiers
v2.2 · 2.2 Data Classification Tiers### 2.2 Data Classification Tiers

··· 1 unchanged paragraph folded ···

v1.8 · 2.2 Data Classification Tiers| Tier | Label | Examples | Default Access | | ---- | ---------------- | ----------------------------------------------------------------------------------- | --------------------------------------------- | | T1 | **PUBLIC** | Company website, product brochure, public pricing, press releases | All agents, external systems | | T2 | **INTERNAL** | Procedures, internal manuals, product specifications, org chart | All employee agents | | T3 | **CONFIDENTIAL** | Client data, contracts, email correspondence, CRM records | Role-relevant agents only | | T4 | **RESTRICTED** | Salaries, infrastructure passwords, M&A plans, margin data, HR records | Senior management + relevant department heads | | T5 | **SECRET** | Board-level strategy, legal proceedings, acquisition targets, whistleblower reports | Executive agents only |
v2.2 · 2.2 Data Classification Tiers| Tier | Label | Examples | Default Access | | ---- | ---------------- | ----------------------------------------------------------------------------------- | --------------------------------------------- | | T1 | **PUBLIC** | Company website, product brochure, public pricing, press releases | All agents, external systems | | T2 | **INTERNAL** | Procedures, internal manuals, product specifications, org chart | All role agents | | T3 | **CONFIDENTIAL** | Client data, contracts, email correspondence, CRM records | Role-relevant agents only | | T4 | **RESTRICTED** | Salaries, infrastructure passwords, M&A plans, margin data, HR records | Senior management + relevant department heads | | T5 | **SECRET** | Board-level strategy, legal proceedings, acquisition targets, whistleblower reports | Executive agents only |

··· 1 unchanged paragraph folded ···

v1.8 · 2.2 Data Classification Tiers``` /corporate/ |-- public/ # directory: 0755, files: 0644 |-- internal/ # directory: 0750, group: all-employees; files: 0640 |-- confidential/ # directory: 0750, per-department group; files: 0640 |-- restricted/ # directory: 0750, group: management; files: 0640 + per-dept ACLs \-- secret/ # directory: 0700, owner: agent_strategos; files: 0600 ```
v2.2 · 2.2 Data Classification Tiers``` /corporate/ ├── public/ # directory: 0755, files: 0644 ├── internal/ # directory: 0750, group: all-employees; files: 0640 ├── confidential/ # directory: 0750, per-department group; files: 0640 ├── restricted/ # directory: 0750, group: management; files: 0640 + per-dept ACLs └── secret/ # directory: 0700, owner: agent_strategos; files: 0600 ```

··· 2 unchanged paragraphs folded ···

v1.8 · 2.3 The "Need to Know" Principle### 3.3 The "Need to Know" Principle
v2.2 · 2.3 The "Need to Know" Principle### 2.3 The "Need to Know" Principle

··· 2 unchanged paragraphs folded ···

v1.8 · 2.4 Formal Security Model### 3.4 Formal Security Model
v2.2 · 2.4 Formal Security Model### 2.4 Formal Security Model

··· 6 unchanged paragraphs folded ···

v1.8 · 2.4 Formal Security Model**Declassification Exception.** The *-property creates a practical problem: department agents (T4) need to send filtered summaries to employee agents (T3). We handle this through a controlled declassification mechanism. A Level 2+ agent may generate a *new\* data object $o'$ with $\ell(o') < \ell(o)$ under these constraints:
v2.2 · 2.4 Formal Security Model**Declassification Exception.** The *-property creates a practical problem: department agents (T4) need to send filtered summaries to role agents (T3). We handle this through a controlled declassification mechanism. A Level 2+ agent may generate a *new\* data object $o'$ with $\ell(o') < \ell(o)$ under these constraints:
v1.8 · 2.4 Formal Security Model1. The declassification is explicitly invoked (not implicit in normal operation). 2. The output $o'$ passes through a template-based redaction pipeline (see Section 5.4) or receives human approval. 3. A declassification event is logged with: source object hash, output object hash, classification change, agent ID, timestamp, and redaction method used. 4. The original object $o$ is not modified.
v2.2 · 2.4 Formal Security Model1. The declassification is explicitly invoked (not implicit in normal operation). 2. The output $o'$ passes through a template-based redaction pipeline (see Section 4.4) or receives human approval. 3. A declassification event is logged with: source object hash, output object hash, classification change, agent ID, timestamp, and redaction method used. 4. The original object $o$ is not modified.

··· 1 unchanged paragraph folded ···

v1.8 · 3.4 Formal Security Model**Enforcement layers.** The BLP properties are enforced at two independent layers, and a recent capability change sharpens what "two layers" buys. Earlier versions of this architecture treated the application layer as pure advisory defense-in-depth — useful for logging, but bypassable by model error, with only the kernel able to actually *prevent* a violation. That asymmetry has narrowed: a pre-execution tool-call gate (AEGIS, the security subsystem of Section 1.5) can now *deny* an action before it runs, even under a permissive host configuration, by returning a hard block decision that the runtime honors rather than merely a logged warning. HIVEMIND therefore has **two independent layers that can each prevent, not merely record, a violation**:
removed in v2.2
v1.8 · 3.4 Formal Security Model- **Kernel-level enforcement.** Linux filesystem permissions and POSIX ACLs enforce the Simple Security Property. The \*-property is enforced by restricting write permissions: agent users have write access only to their own workspace and approved output directories at or above their classification level. The kernel denies an out-of-clearance *read*. - **Tool-boundary enforcement (application-level).** Gateway routing rules and the AEGIS pre-execution clearance gate deny the out-of-clearance *tool-call* — the action that would synthesize or launder restricted content even when every constituent read was individually authorized. This layer is no longer assumed bypassable: a denied tool-call does not execute. Agent system prompts and the clearance validators of Section 9.2 remain genuinely advisory (a model can phrase its way around an instruction), and that softer sub-layer is still treated as defense-in-depth — but the AEGIS gate itself is enforcing.
removed in v2.2
v1.8 · 3.4 Formal Security ModelThe two enforcing layers are complementary, not redundant: the kernel stops the read; AEGIS stops the action that would aggregate or exfiltrate across authorized reads (Section 9.1) and the social-engineering response that a prompt instruction alone might not (Section 9.2). The earlier framing — application-layer enforcement is an observe-only "physics limit" of the runtime — proved to be a configuration assumption rather than a hard constraint, and the architecture is stronger for retiring it.
removed in v2.2
not in v1.8
v2.2 · 2.4 Formal Security Model**Enforcement layers.** The BLP properties are enforced at two independent layers:
not in v1.8
v2.2 · 2.4 Formal Security Model- **Primary (kernel-level):** Linux filesystem permissions and POSIX ACLs enforce the Simple Security Property. The \*-property is enforced by restricting write permissions: agent users have write access only to their own workspace and approved output directories at or above their classification level. - **Secondary (application-level):** Gateway routing rules, agent system prompts, and clearance validators provide defense-in-depth. These can be bypassed by model errors; the kernel layer cannot.
v1.8 · 2.5 Information Flow as a Directed Graph### 3.5 Information Flow as a Directed Graph
v2.2 · 2.5 Information Flow as a Directed Graph### 2.5 Information Flow as a Directed Graph

··· 4 unchanged paragraphs folded ···

v1.8 · 2.5 Information Flow as a Directed GraphNo agent may receive data classified above its clearance tier or outside its role scope. Upward information requests are structurally prohibited (Section 4.3). Downward flows require controlled declassification (Section 3.4).
v2.2 · 2.5 Information Flow as a Directed GraphNo agent may receive data classified above its clearance tier or outside its role scope. Upward information requests are structurally prohibited (Section 3.3). Downward flows require controlled declassification (Section 2.4).
v1.8 · 2.6 Why Bell-LaPadula Is Necessary but Not Sufficient### 3.6 Why Bell-LaPadula Is Necessary but Not Sufficient
v2.2 · 2.6 Why Bell-LaPadula Is Necessary but Not Sufficient### 2.6 Why Bell-LaPadula Is Necessary but Not Sufficient
v1.8 · 2.6 Why Bell-LaPadula Is Necessary but Not SufficientBell-LaPadula is the right primary model because HIVEMIND's dominant enterprise risk is **confidentiality failure**: the wrong employee agent learning about salaries, credentials, legal matters, or board strategy. But Bell-LaPadula is not the only relevant security model, and the design is stronger when that is stated explicitly.
v2.2 · 2.6 Why Bell-LaPadula Is Necessary but Not SufficientBell-LaPadula is the right primary model because HIVEMIND's dominant enterprise risk is **confidentiality failure**: the wrong role agent learning about salaries, credentials, legal matters, or board strategy. But Bell-LaPadula is not the only relevant security model, and the design is stronger when that is stated explicitly.

··· 2 unchanged paragraphs folded ···

v1.8 · 3.7 Clearance and the Append-Only Event Store### 3.7 Clearance and the Append-Only Event Store
removed in v2.2
v1.8 · 3.7 Clearance and the Append-Only Event StoreOne interaction between the clearance lattice and the per-agent memory model deserves explicit treatment, because it is a genuine edge case rather than a clean consequence of Bell-LaPadula. Each agent's memory (ENGRAM) is an append-only event store in which older events are periodically compacted into lightweight summary objects. Compaction is lossy by design — a summary stands in for many original events — and it is performed *within* an agent's own clearance domain. That domain confinement is what keeps the interaction safe, but it is worth stating the invariants so an implementer does not break them:
removed in v2.2
v1.8 · 3.7 Clearance and the Append-Only Event Store- **Compaction never crosses tiers.** A summary inherits the maximum classification of the events it compresses. The compactor may read T4 events in a T4 store and produce a T4 summary; it may not produce a lower-tier summary as a side effect. Downgrading is reserved for the explicit declassification pipeline (Section 3.4), never the compactor. - **A compacted pointer must not become a confused-deputy.** If a summary is referenced by a higher-tier agent (e.g., STRATEGOS reads SALES-AGENT's compacted department history), the reference is resolved under the *reader's* clearance against the *summary's* classification — exactly the Simple Security Property. The dangerous failure would be a low-clearance agent holding a pointer that, when dereferenced by a privileged service on its behalf, returns content above its tier. HIVEMIND forbids server-side dereferencing of memory pointers on behalf of a requester: an agent can only follow pointers into stores it could already read directly. Pointers are not capabilities. - **Compaction is itself an audited write.** Because summaries replace originals in the working set (the originals are retained in cold storage for the retention period), each compaction event is logged with input event hashes, output summary hash, and classification — so the nightly sweep can verify that no compaction silently changed an object's tier.
removed in v2.2
v1.8 · 3.7 Clearance and the Append-Only Event StoreThe general lesson is that an append-only store plus lossy compaction does not by itself violate the lattice, but it introduces *new objects* (summaries) and *new references* (pointers) that must each be assigned a classification and resolved under the reader's clearance. Treating compaction output as a first-class classified object closes the gap.
removed in v2.2
v1.8 · 3.8 Compress-Cache-Retrieve Under Clearance — Keeping Originals Without Breaking the Lattice### 3.8 Compress-Cache-Retrieve Under Clearance — Keeping Originals Without Breaking the Lattice
removed in v2.2
v1.8 · 3.8 Compress-Cache-Retrieve Under Clearance — Keeping Originals Without Breaking the LatticeSection 3.7 reached its safety by *throwing originals away*: compaction is lossy, the cold-storage copy is dereferenced only for retention/audit, and a pointer is deliberately not a capability. That is the conservative choice, and it pays a price — every compaction permanently degrades what the agent can later recall. A contemporaneous production system suggests the price may be avoidable. headroom's Compress-Cache-Retrieve (Section 2.5) keeps the originals in a cache and *retrieves them on demand*, recovering most of the lost fidelity at 60–95% token savings. The obvious question is whether HIVEMIND can adopt reversibility without reintroducing the confused-deputy hazard §3.7 was built to avoid.
removed in v2.2
v1.8 · 3.8 Compress-Cache-Retrieve Under Clearance — Keeping Originals Without Breaking the LatticeIt can, but only by making one substitution: **the retrieve step must be the clearance gate.** We call the variant **Compress-Cache-Retrieve-Under-Clearance (CCR-UC)**, and it is governed by two invariants that mirror the lattice rather than the single-trust-domain assumption headroom is free to make:
removed in v2.2
v1.8 · 3.8 Compress-Cache-Retrieve Under Clearance — Keeping Originals Without Breaking the Lattice- **The cache inherits the maximum classification of what it compressed.** A cache built from T4 events is a T4 object. There is no such thing as a "low-tier cache of high-tier originals" — that object would be precisely the reversible pointer that launders a tier on dereference. - **Retrieve resolves under the *reader's* clearance against the *cache's* classification — the Simple Security Property, unchanged.** A holder of a CCR-UC pointer can expand it only into stores it could already read directly. Expansion on behalf of a lower-clearance requester is forbidden for exactly the reason server-side pointer dereferencing is forbidden in §3.7: a capability that returns content above the requester's tier is a leak regardless of how compactly it was encoded.
removed in v2.2
v1.8 · 3.8 Compress-Cache-Retrieve Under Clearance — Keeping Originals Without Breaking the LatticeUnder these invariants, CCR-UC is not a new exception to Bell-LaPadula; it is the §4.5 mediated-retrieval machinery pointed inward at an agent's own compacted memory. The retrieve request is a clearance-checked query, not a grant — and when a privileged agent expands a cache whose contents span tiers for delivery to a lower-clearance reader, the expansion passes through the same template-based declassification pipeline (Section 5.4) as any other downward flow. The reframing is worth stating plainly because it strengthens the design: §3.7 said "we throw originals away to stay safe"; CCR-UC says "we can keep originals and stay safe *if and only if* the retrieve gate is the clearance gate." The honest boundary against headroom is that headroom ships this transform with a runnable accuracy-delta eval and a trained compressor and has no notion of classification; HIVEMIND adds the classification semantics and the clearance-checked retrieve but, as Section 12 concedes, has not yet shipped the eval. Section 3.9 specifies the eval that would close that gap.
removed in v2.2
v1.8 · 3.9 A Redaction-Fidelity Eval — Measuring Residual Leakage Directly### 3.9 A Redaction-Fidelity Eval — Measuring Residual Leakage Directly
removed in v2.2
v1.8 · 3.9 A Redaction-Fidelity Eval — Measuring Residual Leakage Directlyheadroom demonstrates that an agent-memory transform can be shipped with a reproducible benchmark; HIVEMIND should hold its declassification transforms to the analogous standard. The quantity to measure is *not* task accuracy — the redaction pipeline's job is the opposite of fidelity-preservation — but **residual leakage**: how much a reader can recover about the restricted source from the redacted output alone. We specify a seeded-corpus eval with three parts:
removed in v2.2
v1.8 · 3.9 A Redaction-Fidelity Eval — Measuring Residual Leakage Directly1. **A seeded leakage corpus.** A synthetic set of source records spanning the §5.4 template categories (pricing authority, legal status, margin data, personnel information), each paired with the restricted fact it must conceal and a set of "forbidden inferences" (existence, direction, magnitude of an authorization; identity of a party to a legal matter). 2. **The measured quantity — residual mutual information.** For each template category, estimate the mutual information between the redacted output and the restricted source fact, operationalized via a fresh-context inference test (Section 5.4.1): the fraction of forbidden inferences a clearance-blind reviewer recovers from the redacted text. A perfect template scores zero; the §5.4 worked failure ("the CFO has authorized significant flexibility…") scores high on the *direction* inference even though it leaks no restricted token. 3. **Acceptance thresholds per category.** Each template category gets a published residual-leakage ceiling; a template that exceeds it is rejected and returned to the compliance authors before it can enter the pipeline.
removed in v2.2
v1.8 · 3.9 A Redaction-Fidelity Eval — Measuring Residual Leakage DirectlyThis is the artifact Limitations 2 and 10 call for, narrowed to the property HIVEMIND actually cares about. It does not establish information-theoretic *bounds* — that remains open — but it replaces an untested claim of leakage control with a measured one, and it makes redaction templates regression-testable after every model or rule change, exactly as headroom's eval makes a compressor regression-testable.
removed in v2.2
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model### 2.7 The Knowledge Commons and the Cascade Model
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade ModelThe clearance filesystem of Sections 2.2–2.6 answers *what an agent is permitted to read*. It does not answer the prior question: *what should every agent simply know?* A sales agent that has clearance to read the product catalog but has never been told what industry the company operates in, what kind of customers it serves, or how the company expects its people to talk to those customers is technically secure and practically useless. HIVEMIND therefore introduces a second information structure alongside the clearance lattice: a **knowledge commons** — a centralized, version-controlled corpus of Markdown documents that encodes the company's shared, teachable knowledge, mounted into each agent's workspace by symlink.
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade ModelThe commons is deliberately mostly low-tier (T1/T2). It is not where secrets live; it is where *context* lives — the body of knowledge a human trainer would once have transferred to a new hire over their first weeks.
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model**The cascade.** An agent's effective knowledge is assembled from four layers, in order of decreasing breadth and increasing specificity — analogous to a CSS cascade or to inherited configuration files:
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model``` company canon → role slice → workload map → per-person layer (T1/T2, all agents) (T2, this role) (T2/T3, this role) (thin, current human) "who we are" "how this job works" "who covers what" "who am I serving now" ```
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model1. **Company canon (T1/T2, mounted by every agent).** Who the company is and how it operates. Proposed taxonomy: - *Company canon* — history, mission, values, org chart. - *Industry & market* — the sector, its regulations, the competitive landscape, the domain terminology a newcomer would not know. - *Customer-relationship model* — whether the company sells B2B, B2C, B2B2C, or a mix; the buyer personas; the shape and length of the sales cycle; the norms of the relationship (a B2B supplier nurturing a ten-year account behaves nothing like a B2C brand optimizing a checkout). - *Product/service catalog* — what the company makes or delivers, specifications, positioning. - *Process & SOPs* — how recurring work is done. - *Glossary / ontology* — company-specific acronyms and terms. - *Voice & communication standards* — how the company talks to customers and to itself.
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model2. **Role slice (T2, mounted by the role agent).** The job-specific layer: a sales rep's qualification methodology, objection-handling playbook, and pricing-approval ladder; a field engineer's safety procedures and equipment manuals. This is the layer that makes one role agent canonical across all its occupants — every salesperson's agent reads the *same* sales playbook.
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model3. **Workload map (T2/T3).** A `workload-division.md` recording who currently owns what — which rep covers which territory or account set, which engineer is on which project. This is operational data, not a secrecy boundary (all reps share the same clearance and could in principle see all accounts; the map records *responsibility*, not *permission*). It is the file a new hire edits on their first day and the mechanism by which offboarding becomes a one-line change (Section 5.7).
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model4. **Per-person interaction layer (thin).** A role agent is shared, so it holds no per-person *memory store*. But it does keep a small, non-sensitive profile of each human it serves — name, role tenure, communication preferences ("prefers bullet points," "wants the number first") — enough to address each person appropriately without fragmenting the shared knowledge into per-person silos. This is the deliberate compromise between usefulness and simplicity: shared knowledge, personalized manners.
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model**Why symlinks, and why they are safe.** Each agent workspace mounts the relevant commons paths by symbolic link rather than by copy. This gives a single source of truth: a steward edits one canonical file and the change is visible to every agent that links it, with zero copy-drift. Crucially, symlinks introduce no clearance hole. On Linux, opening a symlink resolves to the target and the kernel checks permissions on the *target* (and traversal on its resolved path components), not on the link. A symlink placed in a T3 workspace pointing at a higher-tier file therefore grants nothing — the agent's UID still fails the target's permissions. Since the commons is T1/T2, every agent already has read access to it; the symlink merely makes shared knowledge appear in-workspace without weakening any boundary.
not in v1.8
v2.2 · 2.7 The Knowledge Commons and the Cascade Model``` /corporate/knowledge/ # the commons: dir 0755, files 0644 (T1/T2) ├── canon/ # company identity, values, org chart ├── industry/ # sector, regulation, competitors, terms ├── customers/ # B2B/B2C model, personas, relationship norms ├── catalog/ # products / services, specs, positioning ├── process/ # SOPs ├── glossary/ # acronyms, ontology ├── voice/ # communication standards └── roles/ ├── sales-rep/ # role slice: playbooks, pricing ladder │ └── workload-division.md # who covers what (T2/T3) ├── field-engineer/ └── support/
not in v1.8
v2.2 · A sales-rep agent's workspace links the slices it needs: /agents/sales-rep/workspace/knowledge/canon -> /corporate/knowledge/canon /agents/sales-rep/workspace/knowledge/customers -> /corporate/knowledge/customers /agents/sales-rep/workspace/knowledge/role -> /corporate/knowledge/roles/sales-rep ```# A sales-rep agent's workspace links the slices it needs: /agents/sales-rep/workspace/knowledge/canon -> /corporate/knowledge/canon /agents/sales-rep/workspace/knowledge/customers -> /corporate/knowledge/customers /agents/sales-rep/workspace/knowledge/role -> /corporate/knowledge/roles/sales-rep ```
not in v1.8
v2.2 · 2.8 Knowledge Freshness and Provenance### 2.8 Knowledge Freshness and Provenance
not in v1.8
v2.2 · 2.8 Knowledge Freshness and ProvenanceA commons maintained by humans rots. Stale industry knowledge is more dangerous than absent knowledge, because the agent states it with the same confidence as the truth. Each commons document therefore carries review metadata in its frontmatter:
not in v1.8
v2.2 · 2.8 Knowledge Freshness and Provenance```yaml --- owner: knowledge-steward-sales # who is accountable for this file last_reviewed: 2026-05-01 review_cadence: quarterly # how often it must be re-verified classification: T2 --- ```
not in v1.8
v2.2 · 2.8 Knowledge Freshness and ProvenanceA scheduled job (Section 7.6) flags any document past its review cadence and routes it to its owning steward. This makes knowledge staleness a tracked, owned, auditable property rather than a silent decay — the same discipline a living-documentation system applies to code. Write access to the commons is scoped: stewards hold write permission on their owned paths, gated through the Git review workflow of Section 7.8. Agents read the commons; they do not write to it directly.
not in v1.8
v2.2 · 2.9 Clearance and the Append-Only Event Store### 2.9 Clearance and the Append-Only Event Store
not in v1.8
v2.2 · 2.9 Clearance and the Append-Only Event StoreOne interaction between the clearance lattice and the per-agent memory model (ENGRAM, Section 1.5) deserves explicit treatment, because it is a genuine edge case rather than a clean consequence of Bell-LaPadula. Each role agent's memory is an append-only event store in which older events are periodically compacted into lightweight summary objects. Compaction is lossy by design — a summary stands in for many original events — and it is performed *within* an agent's own clearance domain. That domain confinement keeps the interaction safe, but the invariants are worth stating so an implementer does not break them:
not in v1.8
v2.2 · 2.9 Clearance and the Append-Only Event Store- **Compaction never crosses tiers.** A summary inherits the maximum classification of the events it compresses. The compactor may read T4 events in a T4 store and produce a T4 summary; it may not produce a lower-tier summary as a side effect. Downgrading is reserved for the explicit declassification pipeline (Section 2.4), never the compactor. - **A compacted pointer must not become a confused-deputy.** If a summary is referenced by a higher-tier agent (e.g., `L3-EXEC` reads `L2-SALES`'s compacted history), the reference is resolved under the *reader's* clearance against the *summary's* classification — exactly the Simple Security Property (Section 2.4). The dangerous failure would be a low-clearance agent holding a pointer that, when dereferenced by a privileged service on its behalf, returns content above its tier. HIVEMIND forbids server-side dereferencing of memory pointers on behalf of a requester: an agent can only follow pointers into stores it could already read directly. Pointers are not capabilities. - **Compaction is itself an audited write.** Each compaction event is logged with input event hashes, output summary hash, and classification, so the nightly sweep (Section 6.3) can verify no compaction silently changed an object's tier.
not in v1.8
v2.2 · 2.9 Clearance and the Append-Only Event StoreThe general lesson: an append-only store plus lossy compaction does not by itself violate the lattice, but it introduces *new objects* (summaries) and *new references* (pointers) that must each be assigned a classification and resolved under the reader's clearance. Treating compaction output as a first-class classified object closes the gap.
not in v1.8
v2.2 · 2.10 Compress-Cache-Retrieve Under Clearance### 2.10 Compress-Cache-Retrieve Under Clearance
not in v1.8
v2.2 · 2.10 Compress-Cache-Retrieve Under ClearanceSection 2.9 reached safety by *throwing originals away*: compaction is lossy and a pointer is deliberately not a capability. That is conservative, and it pays a price — every compaction permanently degrades what the agent can later recall. A contemporaneous production system (headroom's Compress-Cache-Retrieve, Section 1.6) suggests the price may be avoidable: it keeps originals in a cache and retrieves them on demand, recovering most lost fidelity at 60–95% token savings. Can HIVEMIND adopt reversibility without reintroducing the confused-deputy hazard?
not in v1.8
v2.2 · 2.10 Compress-Cache-Retrieve Under ClearanceIt can, but only by one substitution: **the retrieve step must be the clearance gate.** We call the variant **Compress-Cache-Retrieve-Under-Clearance (CCR-UC)**, governed by two invariants that mirror the lattice rather than headroom's single-trust-domain assumption:
not in v1.8
v2.2 · 2.10 Compress-Cache-Retrieve Under Clearance- **The cache inherits the maximum classification of what it compressed.** A cache built from T4 events is a T4 object. There is no "low-tier cache of high-tier originals" — that object would be precisely the reversible pointer that launders a tier on dereference. - **Retrieve resolves under the reader's clearance against the cache's classification — the Simple Security Property, unchanged.** A holder of a CCR-UC pointer can expand it only into stores it could already read directly; expansion on behalf of a lower-clearance requester is forbidden.
not in v1.8
v2.2 · 2.10 Compress-Cache-Retrieve Under ClearanceUnder these invariants CCR-UC is not a new exception to Bell-LaPadula — it is the cross-role mediated-retrieval machinery (Section 3.6) pointed inward at an agent's own compacted memory. When a privileged agent expands a cache spanning tiers for delivery to a lower-clearance reader, the expansion passes through the same template-based declassification pipeline (Section 4.4) as any downward flow. The honest boundary against headroom: headroom ships this transform with a runnable accuracy-delta eval and has no notion of classification; HIVEMIND adds the classification semantics and the clearance-checked retrieve, and Section 4.4.2 specifies the eval that would close the remaining gap.

··· 1 unchanged paragraph folded ···

v1.8 · 3. Agent Hierarchy Architecture## 4. Agent Hierarchy Architecture
v2.2 · 3. Agent Hierarchy Architecture## 3. Agent Hierarchy Architecture
v1.8 · 3.1 Three-Level Structure### 4.1 Three-Level Structure
v2.2 · 3.1 Three-Level Structure### 3.1 Three-Level Structure
v1.8 · 4.1 Three-Level Structure**Level 1 — Employee Agents.** One per employee. Personalized name, calibrated personality, deep role context. Clearance matches their human user's access level. Workspace scoped to that employee's data access.
removed in v2.2
not in v1.8
v2.2 · 3.1 Three-Level Structure**Naming convention.** To keep the cast legible, every agent is named `L<level>-<SCOPE>`: the leading `L1`/`L2`/`L3` states its level at a glance, and the scope names its function. So `L1-SALES-REP` is unambiguously a Level 1 role agent for sales; `L2-SALES` is the sales department agent; `L3-EXEC` is the executive agent. The reader never has to remember whether "ATLAS" or "STRATEGOS" sat at which tier — the name carries the answer. (System user accounts use the lowercase form `agent_salesrep`, `agent_sales`, `agent_exec`; the `L<level>-<SCOPE>` label is the human-readable alias used throughout this paper.)
not in v1.8
v2.2 · 3.1 Three-Level Structure**Level 1 — Role Agents.** One per job function, *shared by every human who holds that role*. A single sales rep agent (`L1-SALES-REP`) serves all salespeople; a single field engineer agent (`L1-FIELD-ENGR`) serves all engineers. Calibrated personality and deep role knowledge; clearance set at the role level (all occupants of a role share one clearance). The agent is the durable holder of the role's accumulated knowledge — it persists across the people who come and go.
v1.8 · 3.1 Three-Level Structure**Level 2 — Department Agents.** One per department (SALES-AGENT, IT-AGENT, HR-AGENT, etc.). Elevated clearance (typically T4, T5 for executive department). Coordinate employee agents, aggregate intelligence, enforce department policies, and gate inter-level communication.
v2.2 · 3.1 Three-Level Structure**Level 2 — Department Agents.** One per department (L2-SALES, L2-IT, L2-HR, etc.). Elevated clearance (typically T4, T5 for the executive department). Coordinate the role agents beneath them, aggregate intelligence, enforce department policies, and gate inter-level communication. Where a department contains a single role, the department agent and the role agent are the same entity.
v1.8 · 3.1 Three-Level Structure**Level 3 — Executive Agent (STRATEGOS).** Single top-level agent with T5 clearance and read access to all department agent workspaces. Serves the CEO and senior management. The only agent that sees the complete organizational picture.
v2.2 · 3.1 Three-Level Structure**Level 3 — Executive Agent (L3-EXEC).** Single top-level agent with T5 clearance and read access to all department agent workspaces. Serves the CEO and senior management. The only agent that sees the complete organizational picture.
v1.8 · 4.2 Employee Agent Design### 4.2 Employee Agent Design
removed in v2.2
not in v1.8
v2.2 · 3.2 Role Agent Design### 3.2 Role Agent Design
v1.8 · 3.2 Role Agent DesignEach employee agent is a full OpenClaw/TinkerClaw deployment with:
v2.2 · 3.2 Role Agent DesignEach role agent is a full OpenClaw/TinkerClaw deployment with:
v1.8 · 4.2 Employee Agent Design- **Custom persona.** LUNA knows she works with María on the González account; ATLAS knows Pedro's clients prefer phone calls. The agent is useful from the first interaction because it already knows the work. - **Scoped workspace.** Contains only files the employee can access. Memory files are readable by the department agent. - **Role context injection.** System prompt includes job description, department procedures, assigned clients/projects, and communication norms. - **Tool access scoped by role.** A salesperson's agent can access CRM, email, calendar, and product catalog. It cannot access payroll, infrastructure tools, or HR records. Explicit DENIED entries for out-of-scope systems.
removed in v2.2
v1.8 · 4.2 Employee Agent Design**Provisioning personas at scale.** CORTEX was designed for a single agent with a hand-authored persona. Eighty-five distinct personas cannot be hand-written and kept consistent. HIVEMIND provisions them in three layers, from generic to specific:
removed in v2.2
v1.8 · 4.2 Employee Agent Design1. **Role template.** A per-role base persona (sales rep, IT technician, HR specialist) captures the communication norms, domain vocabulary, escalation defaults, and tool expectations shared by everyone in that role. Templates are version-controlled artifacts authored once by the department and compliance teams. 2. **Org-derived parameters.** Concrete attributes — the employee's name, manager, department, assigned accounts or systems, clearance tier — are filled from existing HR and directory systems (Active Directory / LDAP, the CRM ownership registry). No human re-types what the org already knows. 3. **Earned personalization.** The genuinely individual texture (María's clients prefer email, Pedro's prefer phone) accumulates over time through ENGRAM memory and CEREBELLUM reflection rather than being specified up front. The persona file at provisioning time is deliberately thin; it thickens with use.
removed in v2.2
v1.8 · 4.2 Employee Agent DesignThis keeps persona authorship to a small number of role templates while letting each agent diverge naturally. It also makes offboarding clean: revoke directory membership and the parameter layer evaporates, leaving only the role template and an archived memory store (Section 6.7).
removed in v2.2
not in v1.8
v2.2 · 3.2 Role Agent Design- **Standardized build, canonical across occupants.** There is one sales rep agent build — one persona, one skill set, one mounted role slice — stamped once and shared, not reinvented per hire. Every salesperson talks to an agent that has read the same playbook and holds the same team-wide customer history. Personalization is a *thin* per-person interaction layer (Section 2.7): the agent addresses María and Pedro differently in tone and format, but draws on the same shared knowledge. - **Shared, role-scoped workspace.** Contains the files the role can access plus the symlinked commons slices it needs. Because the agent is shared, there is no per-person memory store to fragment or migrate; institutional memory accrues to the role. - **Knowledge via cascade, not injection.** Rather than baking assigned clients and procedures into one person's system prompt, the agent reads them from the commons (company canon, role slice) and the `workload-division.md` (who currently owns what). Updating the company's knowledge updates every agent at once. - **Tool access scoped by role.** A sales rep agent can access CRM, email, calendar, and product catalog. It cannot access payroll, infrastructure tools, or HR records. Explicit DENIED entries for out-of-scope systems.
not in v1.8
v2.2 · 3.2 Role Agent DesignThis design is what makes talent retention a non-issue. There is nothing to offboard when a person leaves and nothing to build from scratch when one arrives — only a `workload-division.md` to edit. The new occupant inherits, on day one, everything the role has ever learned.
v1.8 · 3.3 Information Flow Rules### 4.3 Information Flow Rules
v2.2 · 3.3 Information Flow Rules### 3.3 Information Flow Rules

··· 1 unchanged paragraph folded ···

v1.8 · 3.3 Information Flow Rules**Rule 2: Upward queries are structurally prohibited.** Level 1 agents cannot initiate queries to Level 2 or Level 3. This is enforced by the gateway's session routing topology: employee agent sessions are not registered as valid targets for upward message addressing.
v2.2 · 3.3 Information Flow Rules**Rule 2: Upward queries are structurally prohibited.** Level 1 agents cannot initiate queries to Level 2 or Level 3. This is enforced by the gateway's session routing topology: role agent sessions are not registered as valid targets for upward message addressing.
v1.8 · 3.3 Information Flow Rules**Rule 2a: Upward intelligence push is permitted through structured channels.** This is a controlled exception to Rule 2. Employee agents may push data _upward_ to their department agent, but only through pre-defined structured channels with these constraints:
v2.2 · 3.3 Information Flow Rules**Rule 2a: Upward intelligence push is permitted through structured channels.** This is a controlled exception to Rule 2. Role agents may push data _upward_ to their department agent, but only through pre-defined structured channels with these constraints:
v1.8 · 3.3 Information Flow Rules- Each channel has a fixed schema (message type, required fields, classification ceiling). - The employee agent can only push data classified at or below its own clearance tier — it cannot push data it shouldn't have. - Push channels are defined in the department agent's configuration and cannot be created or modified by employee agents. - The department agent validates all incoming pushes against the channel schema before processing. - All pushes are logged with sender, channel, content hash, and timestamp.
v2.2 · 3.3 Information Flow Rules- Each channel has a fixed schema (message type, required fields, classification ceiling). - The role agent can only push data classified at or below its own clearance tier — it cannot push data it shouldn't have. - Push channels are defined in the department agent's configuration and cannot be created or modified by role agents. - The department agent validates all incoming pushes against the channel schema before processing. - All pushes are logged with sender, channel, content hash, and timestamp.
v1.8 · 3.3 Information Flow RulesThe distinction from a query is structural: a push deposits information and returns no response. The employee agent learns nothing new from the act of pushing. This prevents push channels from being used as covert query mechanisms. See Section 9.2 for abuse analysis.
v2.2 · 3.3 Information Flow RulesThe distinction from a query is structural: a push deposits information and returns no response. The role agent learns nothing new from the act of pushing. This prevents push channels from being used as covert query mechanisms. See Section 8.2 for abuse analysis.
v1.8 · 4.3 Information Flow Rules**Rule 3: Lateral communication is mediated.** Peer Level 1 agents do not communicate directly. LUNA-to-ATLAS communication routes through SALES-AGENT, which applies clearance filtering before forwarding.
removed in v2.2
not in v1.8
v2.2 · 3.3 Information Flow Rules**Rule 3: Lateral communication is mediated, and role-binding shrinks it.** Because all occupants of a role share one agent, intra-role peer communication — the old LUNA-to-ATLAS problem — no longer exists as an inter-agent flow; it is internal to a single shared agent. The remaining lateral flow is *cross-role* (sales rep agent to field engineer agent), and role-binding collapses it to one stable channel per function pair rather than an N×M mesh of personal agents. Cross-role communication still routes through the department/topology layer, which applies clearance filtering before forwarding.
v1.8 · 3.3 Information Flow Rules**Rule 4: Structured data sharing creates approved channels.** Pre-approved data sharing patterns (e.g., customer ownership registry) bypass mediation for specific, predefined data types defined in the department agent's configuration.
v2.2 · 3.3 Information Flow Rules**Rule 4: Structured data sharing creates approved channels.** Pre-approved data sharing patterns (e.g., the workload-division map or a cross-role handoff schema) bypass mediation for specific, predefined data types defined in the department agent's configuration.
v1.8 · 3.4 The Department Agent as Coordinator### 4.4 The Department Agent as Coordinator
v2.2 · 3.4 The Department Agent as Coordinator### 3.4 The Department Agent as Coordinator

··· 1 unchanged paragraph folded ···

v1.8 · 3.4 The Department Agent as Coordinator- **A supervisor.** Reads, writes, and audits employee agent memory files. Can modify context, correct errors, inject directives. - **An aggregator.** Synthesizes cross-employee information for department-level queries. What is the total pipeline value for Q2? Which customers have open complaints? - **A gatekeeper.** All cross-agent and cross-level communication routes through it. Applies clearance filtering before forwarding. - **A memory keeper.** Maintains institutional knowledge transcending any individual employee.
v2.2 · 3.4 The Department Agent as Coordinator- **A supervisor.** Reads, writes, and audits role agent memory files. Can modify context, correct errors, inject directives. - **An aggregator.** Synthesizes cross-employee information for department-level queries. What is the total pipeline value for Q2? Which customers have open complaints? - **A gatekeeper.** All cross-agent and cross-level communication routes through it. Applies clearance filtering before forwarding. - **A memory keeper.** Maintains institutional knowledge transcending any individual employee.
v1.8 · 3.4 The Department Agent as CoordinatorThe department agent runs on a persistent schedule with hooks into communications infrastructure. It monitors data streams and proactively updates employee agents' context when relevant events occur.
v2.2 · 3.4 The Department Agent as CoordinatorThe department agent runs on a persistent schedule with hooks into communications infrastructure. It monitors data streams and proactively updates role agents' context when relevant events occur.
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the Swarm### 4.5 Inter-Agent Retrieval — Memory Across the Swarm
removed in v2.2
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the SwarmEach agent's retrieval index (HIPPOCAMPUS) is private by construction: it maps that agent's own keywords to that agent's own memory segments. But department coordination requires reaching *across* indexes — when LUNA assembles a González briefing, the relevant touchpoints may live in ATLAS's memory, not hers. The question this raises is architecturally novel: can one agent query another agent's memory, and if so, under what control?
removed in v2.2
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the SwarmHIVEMIND's answer is that **cross-agent retrieval is never direct; it is always mediated and clearance-filtered by the department agent.** Three properties make this tractable:
removed in v2.2
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the Swarm1. **Indexes are federated, not merged.** There is no global index that any agent can search. Each agent keeps its own. The department agent holds a *catalog* — for each subordinate index, the set of topics it covers and the classification ceiling of each topic — without holding the underlying segments. The catalog is enough to route a query ("who has González material?") without itself being a leak.
removed in v2.2
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the Swarm2. **Retrieval is a query, not a grant.** When LUNA needs cross-agent context, she issues a Customer History Request to SALES-AGENT (Section 5.3). SALES-AGENT fans the request out to the indexes its catalog flags as relevant, collects the matching segments, applies the same clearance filtering and template-based redaction as any other downward flow (Section 5.4), and returns a synthesized package. LUNA never receives raw access to ATLAS's index, and ATLAS's index gains nothing about LUNA. The result respects the requester's clearance, not the source's.
removed in v2.2
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the Swarm3. **Provenance survives the hop.** Each retrieved segment carries its source agent, classification, and content hash into the audit log, so a later compliance sweep can reconstruct exactly which memory crossed which boundary. Cross-agent retrieval is therefore one of the most heavily logged operations in the system — appropriately, since it is where one agent's private knowledge becomes another's.
removed in v2.2
v1.8 · 4.5 Inter-Agent Retrieval — Memory Across the SwarmThis makes the swarm's collective memory queryable without making it flat. The coordination dividend of Section 5 depends on it: an agent can draw on the whole team's history, but only through a gate that enforces who is entitled to what.
removed in v2.2
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes### 3.5 The Agent Network Along Multiple Axes
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple AxesIt is tempting to read HIVEMIND as a single clearance hierarchy, because the level structure (L1/L2/L3) and the security model dominate the early sections. But clearance is only *one projection* of the network. The same set of agents and channels is better understood as one graph viewed along several orthogonal axes, each answering a different organizational question and each carrying its own mechanisms. Most design mistakes come from optimizing one axis while silently degrading another; naming the axes makes the trade-offs explicit.
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes![Figure 3. The whole-paper synthesis: one agent network, six axes. The same org chart of role-bound agents (L1 role agents shared across occupants, under L2 department agents, under L3-EXEC) carries six orthogonal flows, each drawn as a differently-colored path — clearance (red, downward), supervision (purple), knowledge propagation (green, from the commons to every occupant at once), self-modification (blue, users → L2-IT → rollout), workload sharing (orange), and bottleneck reduction (teal, one shared agent serving many humans). A mechanism that serves one axis often taxes another; naming the axes makes the trade-offs explicit.](images/fig-synthesis.png){width=78%}
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes**Axis 1 — Clearance (confidentiality): *who may know what.*** The axis the paper develops most fully (Section 2). Information flows downward only under controlled declassification; the Bell-LaPadula lattice, filesystem permissions, and redaction pipeline are its mechanisms. Direction: restrictive, downward.
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes**Axis 2 — Supervision (accountability): *who may inspect whom.*** A manager — through the department agent — can read a subordinate role agent's memory, outputs, and audit trail. This runs in the *opposite* direction to clearance: oversight reaches *down* the org chart into what subordinates' agents are doing. The distinction matters and is easy to blur: supervision grants read access to an agent's *memory and behavior*, not an elevation of the subordinate's *data* clearance. A manager can see that the sales agent answered a pricing question; that does not give the sales agent the right to see the manager's margin data. Mechanisms: read-only group access to lower-tier workspaces (the `-ro` groups of Section 7.4), the audit store, and the nightly sweep. Tension: supervision collides with the trust deficit (Section 5.2) — too much visible monitoring and people self-censor. The design choice is to monitor *boundaries*, not *performance*.
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes**Axis 3 — Bottleneck reduction (throughput): *where work piles up on one node.*** In a human-only company, the senior expert is a chokepoint — every "how do we handle X?" routes to the one person who remembers. The shared role agent dissolves this: the institutional answer is held by the agent and available to every occupant simultaneously, so routine knowledge queries no longer queue behind a single human. The department agent further reduces bottlenecks by answering aggregate questions ("total Q2 pipeline?") without convening twelve people. Mechanism: institutional memory as a shared, always-available resource rather than a scarce human.
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes**Axis 4 — Workload sharing (load balancing): *how work is diverted dynamically.*** Because all occupants of a role share one agent, the agent has a network-level view of who is busy, who is idle, and who is best suited to a task. Work can be diverted on an *objective* evaluation — current load, relevant expertise, account ownership, response-time SLAs — rather than landing wherever it first arrived. A lead that arrives for an overloaded rep can be surfaced to a colleague with capacity; a support ticket can be routed to the agent-occupant whose history shows the fastest resolution on that issue type. This requires an objective scoring function (and guardrails against gaming it); the role agent is the natural place to compute it, because it already sees the whole role's state. Tension: workload sharing pushes toward *wider* visibility of each other's queues, which must be reconciled with Axis 1's scoping (Section 11's intra-team-visibility limitation).
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes**Axis 5 — Self-modification (evolution): *how the workforce gets faster over time.*** The most distinctive axis. A HIVEMIND deployment is not static — its agents can grow new tools, skills, plugins, and recipes that compound the workforce's speed. But capability growth is governed by the state-of-the-art principle of *division of labor*: **only IT (`L2-IT`) may upgrade, rebuild, or restart the gateway.** End users do not self-modify their infrastructure (Section 7.11). What makes this fluent rather than a bottleneck is a structured improvement channel — detailed in Section 7.11 — designed to be *ingested by IT's own agent*: end users file richly-specified feature requests, `L2-IT` triages the queue, implements (increasingly by vibe-coding against its agent) and functionality-tests, then rolls the improvement out to the shared role agent so every occupant gets it at once. The evolution axis is therefore a controlled loop: distributed sensing of what to improve, centralized authority to implement.
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple Axes**Axis 6 — Knowledge propagation (learning diffusion): *how fast a new fact reaches everyone who needs it.*** Distinct from clearance (which is about *restriction*); this axis is about *speed of spread*. When a competitor's move, a regulatory change, or a new product detail enters the system, how long until every relevant agent acts on it? Role-binding makes this near-instant within a role — one update to the shared agent or its commons slice reaches all occupants immediately — and the steward/cascade model (Sections 2.7, 5.9) governs propagation across roles. A company's competitiveness increasingly depends on this axis: the firm whose knowledge diffuses in hours out-executes the firm whose knowledge diffuses in quarters.
not in v1.8
v2.2 · 3.5 The Agent Network Along Multiple AxesThese axes are orthogonal and frequently in tension: clearance restricts, supervision inspects, bottleneck-reduction and workload-sharing widen access, evolution centralizes authority, propagation maximizes spread. A mechanism that serves one axis often taxes another. The contribution of naming them is that every design decision in the rest of this paper can be checked against the question: *which axis does this serve, and which does it cost?*
not in v1.8
v2.2 · 3.6 Cross-Role Retrieval — Memory Across the Swarm### 3.6 Cross-Role Retrieval — Memory Across the Swarm
not in v1.8
v2.2 · 3.6 Cross-Role Retrieval — Memory Across the SwarmRole-binding dissolves the hardest version of inter-agent retrieval. Because all occupants of a role share one agent, retrieval *within* a role is internal: when the sales agent assembles a González briefing, every salesperson's touchpoints are already in its own shared memory (HIPPOCAMPUS index over the role's store) — no cross-agent hop is needed. This is a direct consequence of the continuity thesis and a large simplification over a per-person design, where the same briefing required querying twelve separate indexes.
not in v1.8
v2.2 · 3.6 Cross-Role Retrieval — Memory Across the SwarmWhat remains is *cross-role* retrieval — when the sales agent needs context that lives in the field engineer agent's memory (an installation history, a support escalation). HIVEMIND's answer is that **cross-role retrieval is never direct; it is mediated and clearance-filtered by the department or executive layer.** Three properties make this tractable:
not in v1.8
v2.2 · 3.6 Cross-Role Retrieval — Memory Across the Swarm1. **Indexes are federated, not merged.** There is no global index any agent can search. Each role agent keeps its own. The department/executive layer holds a *catalog* — for each role index, the topics it covers and each topic's classification ceiling — without holding the underlying segments. The catalog is enough to route a query ("who has material on this account?") without itself being a leak. 2. **Retrieval is a query, not a grant.** When the sales agent needs cross-role context, it issues a request upward; the mediating agent fans it out to the role indexes its catalog flags as relevant, applies the same clearance filtering and template-based redaction as any downward flow (Section 4.4), and returns a synthesized package. The requesting agent never receives raw access to another role's index. The result respects the requester's clearance, not the source's. 3. **Provenance survives the hop.** Each retrieved segment carries its source role, classification, and content hash into the audit log, so a compliance sweep can reconstruct exactly which memory crossed which boundary. Cross-role retrieval is therefore among the most heavily logged operations in the system — appropriately, since it is where one role's knowledge becomes another's.
not in v1.8
v2.2 · 3.6 Cross-Role Retrieval — Memory Across the SwarmThis makes the swarm's collective memory queryable without making it flat: an agent can draw on the whole organization's history, but only through a gate that enforces who is entitled to what.

··· 1 unchanged paragraph folded ···

v1.8 · 4. The Sales Coordination Case Study## 5. The Sales Coordination Case Study
v2.2 · 4. The Sales Coordination Case Study## 4. The Sales Coordination Case Study
v1.8 · 4.1 Scenario Setup### 5.1 Scenario Setup
v2.2 · 4.1 Scenario Setup### 4.1 Scenario Setup

··· 1 unchanged paragraph folded ···

v1.8 · 5.1 Scenario Setup**LUNA** serves María García (senior sales rep, 7 years, 180 accounts including González Industrial). **ATLAS** serves Pedro Martínez (mid-level sales rep, 3 years, 95 accounts). **SALES-AGENT** is the Level 2 coordinator (T4). **STRATEGOS** sits above (Level 3, T5).
removed in v2.2
v1.8 · 5.2 Customer Ownership and Routing### 5.2 Customer Ownership and Routing
removed in v2.2
v1.8 · 5.2 Customer Ownership and RoutingSALES-AGENT maintains a **Customer Ownership Registry** mapping each CRM account to a primary owner, secondary contacts, and transition flags.
removed in v2.2
v1.8 · 5.2 Customer Ownership and RoutingWhen an inbound email arrives:
removed in v2.2
v1.8 · 5.2 Customer Ownership and Routing1. SALES-AGENT's email monitor intercepts incoming sales correspondence. 2. Extracts the sender, cross-references against the registry. 3. If the sender's account is owned by a different salesperson than the receiving mailbox, triggers a **cross-ownership alert**. 4. Dispatches the alert to the primary owner's agent (LUNA, if a González contact emailed Pedro). 5. Briefs the receiving agent (ATLAS): "This contact is primarily assigned to María García. I've notified her agent. Please defer to her on pricing commitments. Here is a summary of the account's current status."
removed in v2.2
v1.8 · 5.2 Customer Ownership and RoutingThis routing happens within seconds — before either human has seen the message.
removed in v2.2
not in v1.8
v2.2 · 4.1 Scenario SetupThere is **one sales rep agent**, shared by all twelve salespeople. María García (senior rep, 7 years, currently covering the northern territory including González Industrial) and Pedro Martínez (mid-level rep, 3 years, central territory) both interact with the *same* agent. The agent holds the entire team's relationship history natively — it does not have to assemble it from twelve separate memories, because it *is* the single memory. A `workload-division.md` records who currently covers which territory and accounts. Above the role agent sit the **L2-SALES** agent (T4) and **L3-EXEC** (T5).
not in v1.8
v2.2 · 4.1 Scenario SetupThis is the structural simplification role-binding buys: most of what the original design solved with inter-agent routing simply does not arise.
not in v1.8
v2.2 · 4.2 Customer Ownership, Resolved Contextually### 4.2 Customer Ownership, Resolved Contextually
not in v1.8
v2.2 · 4.2 Customer Ownership, Resolved ContextuallyThere is no Customer Ownership *Registry* synchronized across agents and no email interceptor, because there is only one agent. Ownership is resolved contextually: the agent knows which human it is currently serving and reads `workload-division.md` to know who covers what.
not in v1.8
v2.2 · 4.2 Customer Ownership, Resolved ContextuallyPedro forwards the agent an email from a González contact:
not in v1.8
v2.2 · 4.2 Customer Ownership, Resolved Contextually1. The agent recognizes it is serving Pedro. 2. It reads from the workload map that González is in María's territory. 3. It responds to Pedro: "González Industrial is currently María's account. I'll flag this for her. Here's the current status so you can reply on the logistics question, but please defer to her on any pricing commitment." 4. It surfaces the same item to María the next time she engages (or via a notification, if enabled).
not in v1.8
v2.2 · 4.2 Customer Ownership, Resolved ContextuallySame outcome as the original cross-ownership alert — but with no inter-agent message, no synchronized registry, and no mailbox interceptor. The "two agents, same customer, divergent responses" failure mode is structurally impossible: there is one agent, with one consistent view.
v1.8 · 4.3 Unified Customer History — Now Trivial### 5.3 Unified Customer History
v2.2 · 4.3 Unified Customer History — Now Trivial### 4.3 Unified Customer History — Now Trivial
v1.8 · 5.3 Unified Customer HistoryWhen LUNA prepares María for a customer call, she needs the complete relationship history — not just María's interactions, but every touchpoint across the sales team.
removed in v2.2
not in v1.8
v2.2 · 4.3 Unified Customer History — Now TrivialWhen María prepares for a González call, she needs the complete relationship history across the whole team. In the original per-person design this required a cross-agent query-and-assemble dance. With a shared role agent it is trivial:
v1.8 · 4.3 Unified Customer History — Now Trivial1. María asks LUNA: "Prepare a briefing for the González account for my call tomorrow." 2. LUNA submits a **Customer History Request** to SALES-AGENT: `GET /customer/gonzalez/full-history, requester: LUNA, clearance: T3`. 3. SALES-AGENT queries all sales agents for González-related records plus its own aggregated memory. 4. SALES-AGENT applies clearance filtering: - Sales interactions (T3): included in full. - Customer-specific pricing tiers negotiated by management (T4): replaced with a **Redacted Summary** (Section 5.4). - Legal proceedings involving this customer (T5): replaced with a caution notice: "Active legal matter. Escalate any contract discussions to management before committing." 5. SALES-AGENT returns the filtered package to LUNA. 6. LUNA synthesizes it into a briefing for María.
v2.2 · 4.3 Unified Customer History — Now Trivial1. María asks the agent: "Prepare a briefing for the González account for my call tomorrow." 2. The agent already holds every salesperson's González touchpoints in its shared memory — no cross-agent request is needed. 3. The only filtering that still applies is *upward* tier filtering for data the sales role does not clear: - Sales interactions (T3): ✓ included in full. - Customer-specific pricing tiers negotiated by management (T4): ✗ replaced with a **Redacted Summary** (Section 4.4), delivered via controlled declassification from L2-SALES. - Legal proceedings involving this customer (T5): ✗ replaced with a caution notice: "Active legal matter. Escalate any contract discussions to management before committing." 4. The agent synthesizes the briefing.
v1.8 · 5.3 Unified Customer HistoryMaría walks into the call with comprehensive institutional knowledge without accessing data above her clearance. The caution notice provides the actionable implication (don't commit on contracts) without the underlying detail.
removed in v2.2
v1.8 · 5.3 Unified Customer HistoryFigure 2 traces this flow end to end, showing where each clearance tier is included verbatim, redacted through a template, or replaced with a caution notice before the package reaches the requesting agent.
removed in v2.2
v1.8 · 5.3 Unified Customer History![Figure 2. Clearance-filtered Customer History Request. LUNA (T3) requests González history from SALES-AGENT (T4); SALES-AGENT fans out to the relevant agent memories, then filters each result by tier — T3 interactions pass verbatim, T4 pricing is replaced by a redaction template, T5 legal matter becomes a caution notice — and returns only the filtered package. Raw cross-agent memory never reaches LUNA.](images/fig-history-flow.png)
removed in v2.2
not in v1.8
v2.2 · 4.3 Unified Customer History — Now TrivialMaría walks into the call with the whole team's institutional knowledge, without accessing data above the sales role's clearance. Note the boundary that *moved*: ownership (María vs. Pedro) is now an operational overlay, not a clearance wall — both reps share T3-sales clearance and the agent could surface either's customer history. The hard secrecy boundary remains where it belongs, between the sales role (T3) and management data (T4/T5). The trade-off this implies for intra-team confidentiality is discussed in Section 11.
not in v1.8
v2.2 · 4.3 Unified Customer History — Now Trivial![Figure 2. Contextual history with upward-tier filtering, under role-binding. María asks the one shared L1-SALES-REP agent, which already holds the whole team's history natively — no cross-agent fan-out. Only data above the sales role's clearance is filtered: T3 interactions pass verbatim, T4 pricing authority is replaced by a redaction template, and T5 legal matter becomes a caution notice. The result respects the requester's clearance, not the source's, and every declassified segment is logged with classification and hash.](images/fig-history-flow.png){width=88%}
v1.8 · 4.4 Redacted Summaries and Leakage Control### 5.4 Redacted Summaries and Leakage Control
v2.2 · 4.4 Redacted Summaries and Leakage Control### 4.4 Redacted Summaries and Leakage Control

··· 3 unchanged paragraphs folded ···

v1.8 · 4.4 Redacted Summaries and Leakage Control1. **Classification and tagging.** SALES-AGENT identifies restricted elements in the source data and tags them by category (pricing authority, legal status, margin data, personnel information).
v2.2 · 4.4 Redacted Summaries and Leakage Control1. **Classification and tagging.** L2-SALES identifies restricted elements in the source data and tags them by category (pricing authority, legal status, margin data, personnel information).
v1.8 · 4.4 Redacted Summaries and Leakage Control2. **Template selection.** Each category maps to a pre-approved redaction template: - Pricing authority $\rightarrow$ "Pricing for this account is managed by [ROLE]. Refer pricing inquiries to [ESCALATION_CONTACT]." - Legal status $\rightarrow$ "There is an active matter affecting this account. Escalate contract discussions to management before committing." - Margin data $\rightarrow$ "Account profitability is under management review. Standard pricing applies unless otherwise directed." - Personnel information $\rightarrow$ [Omitted entirely; no template generated.]
v2.2 · 4.4 Redacted Summaries and Leakage Control2. **Template selection.** Each category maps to a pre-approved redaction template: - Pricing authority → "Pricing for this account is managed by [ROLE]. Refer pricing inquiries to [ESCALATION_CONTACT]." - Legal status → "There is an active matter affecting this account. Escalate contract discussions to management before committing." - Margin data → "Account profitability is under management review. Standard pricing applies unless otherwise directed." - Personnel information → [Omitted entirely; no template generated.]

··· 4 unchanged paragraphs folded ···

v1.8 · 4.4 Redacted Summaries and Leakage Control**When is free-form summarization acceptable?** Only for T2$\rightarrow$T1 declassification (internal to public), where the sensitivity gap is minimal and the risk of meaningful leakage is low. All T3+ declassification uses the template pipeline.
v2.2 · 4.4 Redacted Summaries and Leakage Control**When is free-form summarization acceptable?** Only for T2→T1 declassification (internal to public), where the sensitivity gap is minimal and the risk of meaningful leakage is low. All T3+ declassification uses the template pipeline.
v1.8 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage Oracle### 5.4.1 The Doubt Reviewer — A Fresh-Context Leakage Oracle
v2.2 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage Oracle### 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage Oracle
v1.8 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleThe template pipeline defends against leakage by *construction* — no LLM generates the redacted text, so no LLM can be coaxed into over-disclosing. But the pipeline still has a residual failure mode that §5.4 itself names as the real danger and that the §9.2 clearance validator cannot catch: **implication-leakage**, where the output contains no restricted token yet still "reveals the existence and direction of the authorization." The validator inspects for *known restricted formats* (salary ranges, credential patterns, document IDs); a sentence like "pricing on this account is unusually flexible right now" carries none of those formats and sails through, while leaking exactly the fact the recipient should not have. A format-aware checker is structurally blind to inference-leakage because the leak is in what the text *lets you conclude*, not in what it *contains*.
v2.2 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleThe template pipeline defends against leakage by *construction* — no LLM generates the redacted text, so none can be coaxed into over-disclosing. But it has a residual failure mode §4.4 itself names and the §8.2 clearance validator cannot catch: **implication-leakage**, where the output contains no restricted token yet still reveals the existence and direction of an authorization. The validator inspects for *known restricted formats* (salary ranges, credential patterns, document IDs); a sentence like "pricing on this account is unusually flexible right now" carries none of those and sails through, while leaking exactly the fact the recipient should not have. A format-aware checker is structurally blind to inference-leakage, because the leak is in what the text *lets you conclude*, not in what it *contains*.
v1.8 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleHIVEMIND closes this gap with a mechanism adapted from the doubt-driven-development loop of addyosmani/agent-skills (Section 2.6): a **doubt reviewer** — a fresh-context adversarial agent whose decisive property is *ignorance of the secret*. After the template pipeline produces a redacted package, and before it is delivered, the package — and *only* the package — is handed to a reviewer agent that has **no clearance to the source**, never sees the originating reasoning, and is asked a single adversarial question: *"From this text alone, what can you infer about restricted facts — the existence, direction, or magnitude of any pricing authority, legal matter, margin position, or personnel decision affecting this account?"*
v2.2 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleHIVEMIND closes this gap with a mechanism adapted from the doubt-driven-development loop of addyosmani/agent-skills (Section 1.6): a **doubt reviewer** — a fresh-context adversarial agent whose decisive property is *ignorance of the secret*. After the template pipeline produces a redacted package, and before delivery, the package — and *only* the package — is handed to a reviewer agent that has **no clearance to the source**, never sees the originating reasoning, and is asked one adversarial question: *"From this text alone, what can you infer about restricted facts — the existence, direction, or magnitude of any pricing authority, legal matter, margin position, or personnel decision affecting this account?"*
v1.8 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleThe reason this is a *sound* leakage test, and not merely another quality check, is the clearance boundary it is run across:
v2.2 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleWhy this is a *sound* leakage test rather than another quality check is the clearance boundary it runs across:
v1.8 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage Oracle- **The reviewer's threat model is the recipient's threat model.** The recipient (LUNA, T3) also has no access to the T4/T5 source. So anything the clearance-blind doubt reviewer can infer from the package alone is, by construction, something the recipient could infer too — a leak. Anything the reviewer cannot infer is, by the same construction, safe to deliver. The doubt reviewer is deliberately denied the secret so that "what the reviewer infers" is a faithful proxy for "what the recipient infers." This inverts the §9.2 validator, which *knows* the restricted formats and hunts for them; the doubt reviewer is *ignorant* of the secret and probes for inference, which is the only way to surface implication-leakage. - **The STOP criterion is the existing human-review escalation, not improvisation.** If the doubt reviewer recovers a forbidden inference, the disposition is not to silently soften the wording in a loop until the reviewer goes quiet — that path risks an arms race between two models with no ground truth. Instead, the template authors are given the finding; if the template can be tightened to defeat the inference it is, otherwise the request halts to human review via the `ERR_HUMAN_REVIEW_REQUIRED` escalation (Section 8.3.5). This preserves the architecture's first rule at the downgrade boundary: never improvise a best-effort partial summary; when in doubt, escalate. The doubt reviewer's cycle-limit and trivial-finding criteria map directly onto that halt-or-deliver decision rather than an open-ended rewrite.
v2.2 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage Oracle- **The reviewer's threat model is the recipient's threat model.** The recipient (the sales agent, T3) also has no access to the T4/T5 source. So anything the clearance-blind doubt reviewer infers from the package alone is, by construction, something the recipient could infer too — a leak. Anything it cannot infer is safe to deliver. This inverts the §8.2 validator, which *knows* the restricted formats and hunts for them; the doubt reviewer is *ignorant* of the secret and probes for inference, the only way to surface implication-leakage. - **The STOP criterion is the existing human-review escalation, not improvisation.** If the doubt reviewer recovers a forbidden inference, the disposition is not to silently soften the wording in a loop until it goes quiet — that risks an arms race between two models with no ground truth. The template authors are given the finding; if the template can be tightened it is, otherwise the request halts to human review via `ERR_HUMAN_REVIEW_REQUIRED` (Section 7.3.5). Never improvise a best-effort partial summary; when in doubt, escalate.
v1.8 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleThe honest scope of the borrowing: addyosmani's loop is an engineering-discipline mechanism for code review, with a fully specified multi-cycle reconcile/stop machinery HIVEMIND does not reproduce. HIVEMIND takes only the fresh-context-reviewer-with-stripped-context primitive and re-purposes it as an *information-flow* oracle by running it across a clearance boundary — turning a quality check into a leakage test. It is also the runtime counterpart to the offline redaction-fidelity eval of Section 3.9: the eval measures residual leakage over a seeded corpus before deployment; the doubt reviewer measures it per-package at delivery time. A template that passes the offline eval but still leaks on a novel record is caught here.
v2.2 · 4.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleThe honest scope of the borrowing: addyosmani's loop is an engineering-discipline mechanism for code review with a fully-specified reconcile/stop machinery HIVEMIND does not reproduce. HIVEMIND takes only the fresh-context-reviewer-with-stripped-context primitive and re-purposes it as an *information-flow* oracle by running it across a clearance boundary — turning a quality check into a leakage test. It is the runtime counterpart to the offline redaction-fidelity eval of Section 4.4.2: the eval measures residual leakage over a seeded corpus before deployment; the doubt reviewer measures it per-package at delivery time. One cost: it is an extra LLM call near the capability ceiling of a local model (Section 5.6), so it should gate only T3+ declassifications where the pipeline produced a non-trivial output, and it must fail *closed* — a reviewer that errors or times out routes the package to human review, never auto-delivers.
v1.8 · 5.4.1 The Doubt Reviewer — A Fresh-Context Leakage OracleOne cost must be stated: the doubt reviewer is an additional LLM call on the declassification path, and it operates near the capability ceiling of a local model (Section 6.6). It should therefore gate only T3+ declassifications where the template pipeline produced a non-trivial output, and its own failures must fail *closed* — a doubt reviewer that errors or times out routes the package to human review, never auto-delivers.
removed in v2.2
not in v1.8
v2.2 · 4.4.2 A Redaction-Fidelity Eval — Measuring Residual Leakage Directly### 4.4.2 A Redaction-Fidelity Eval — Measuring Residual Leakage Directly
not in v1.8
v2.2 · 4.4.2 A Redaction-Fidelity Eval — Measuring Residual Leakage Directlyheadroom (Section 1.6) demonstrates that an agent-memory transform can ship with a reproducible benchmark; HIVEMIND should hold its declassification transforms to the analogous standard. The quantity to measure is *not* task accuracy — the redaction pipeline's job is the opposite of fidelity-preservation — but **residual leakage**: how much a reader can recover about the restricted source from the redacted output alone. We specify a seeded-corpus eval with three parts:
not in v1.8
v2.2 · 4.4.2 A Redaction-Fidelity Eval — Measuring Residual Leakage Directly1. **A seeded leakage corpus.** Synthetic source records spanning the §4.4 template categories (pricing authority, legal status, margin data, personnel information), each paired with the restricted fact it must conceal and a set of "forbidden inferences" (existence, direction, magnitude of an authorization; identity of a party to a legal matter). 2. **The measured quantity — residual mutual information.** For each category, estimate the mutual information between the redacted output and the restricted fact, operationalized via the fresh-context inference test of Section 4.4.1: the fraction of forbidden inferences a clearance-blind reviewer recovers. A perfect template scores zero; the §4.4 worked failure ("the CFO has authorized significant flexibility…") scores high on the *direction* inference even though it leaks no restricted token. 3. **Acceptance thresholds per category.** Each template gets a published residual-leakage ceiling; a template that exceeds it is rejected and returned to the compliance authors before it can enter the pipeline.
not in v1.8
v2.2 · 4.4.2 A Redaction-Fidelity Eval — Measuring Residual Leakage DirectlyThis is the artifact Limitations 2 and 10 (Section 11) call for, narrowed to the property HIVEMIND actually cares about. It does not establish information-theoretic *bounds* — that remains open — but it replaces an untested claim of leakage control with a measured one, and makes redaction templates regression-testable after every model or rule change.
v1.8 · 4.5 Competitive Intelligence Flow### 5.5 Competitive Intelligence Flow
v2.2 · 4.5 Competitive Intelligence Flow### 4.5 Competitive Intelligence Flow
v1.8 · 4.5 Competitive Intelligence FlowHIVEMIND defines structured **upward push channels** (formalized in Rule 2a, Section 4.3) for intelligence that has organizational value beyond the individual agent.
v2.2 · 4.5 Competitive Intelligence FlowHIVEMIND defines structured **upward push channels** (formalized in Rule 2a, Section 3.3) for intelligence that has organizational value beyond the individual agent.
v1.8 · 4.5 Competitive Intelligence FlowATLAS, after Pedro's meeting, logs:
v2.2 · 4.5 Competitive Intelligence FlowThe sales rep agent, after Pedro's meeting, logs:
v1.8 · 4.5 Competitive Intelligence Flow``` ATLAS -> SALES-AGENT (upward push, channel: competitive_intelligence): type: competitive_intelligence source: Pedro Martínez, client meeting 2026-03-17 content: Competitor X announced Product Y, delivery Q3 2026 confidence: medium (hearsay from client) classification: T2/INTERNAL ```
v2.2 · 4.5 Competitive Intelligence Flow``` L1-SALES-REP → L2-SALES (upward push, channel: competitive_intelligence): type: competitive_intelligence source: Pedro Martínez, client meeting 2026-03-17 content: Competitor X announced Product Y, delivery Q3 2026 confidence: medium (hearsay from client) classification: T2/INTERNAL ```
v1.8 · 4.5 Competitive Intelligence FlowSALES-AGENT validates the push against the channel schema (required fields present, classification within T2 ceiling for this channel), adds it to its competitive intelligence aggregation, and forwards a synthesized report upward to STRATEGOS at its next scheduled sync.
v2.2 · 4.5 Competitive Intelligence FlowL2-SALES validates the push against the channel schema (required fields present, classification within T2 ceiling for this channel), adds it to its competitive intelligence aggregation, and forwards a synthesized report upward to L3-EXEC at its next scheduled sync. Because the rep agent is shared, the intelligence is immediately part of the knowledge every salesperson's interactions draw on — the silo of Section 1.1 cannot form at the role level.

··· 1 unchanged paragraph folded ···

v1.8 · 4.5.1 Structured Channel Schema and Confidence Lifecycle### 5.5.1 Structured Channel Schema and Confidence Lifecycle
v2.2 · 4.5.1 Structured Channel Schema and Confidence Lifecycle### 4.5.1 Structured Channel Schema and Confidence Lifecycle

··· 3 unchanged paragraphs folded ···

v1.8 · 4.5.1 Structured Channel Schema and Confidence Lifecycle``` { "type": "competitive_intelligence", "source_employee": "string", "event_date": "YYYY-MM-DD", "customer_context": "optional string", "competitor": "string", "claim": "string, max 500 chars", "confidence": "low|medium|high|verified", "evidence_type": "hearsay|email|attachment|public-web|meeting-note", "classification": "T1|T2", "requires_followup": true } ```
v2.2 · 4.5.1 Structured Channel Schema and Confidence Lifecycle```json { "type": "competitive_intelligence", "source_employee": "string", "event_date": "YYYY-MM-DD", "customer_context": "optional string", "competitor": "string", "claim": "string, max 500 chars", "confidence": "low|medium|high|verified", "evidence_type": "hearsay|email|attachment|public-web|meeting-note", "classification": "T1|T2", "requires_followup": true } ```

··· 1 unchanged paragraph folded ···

v1.8 · 4.6 The Coordination Dividend### 5.6 The Coordination Dividend
v2.2 · 4.6 The Coordination Dividend### 4.6 The Coordination Dividend

··· 3 unchanged paragraphs folded ···

v1.8 · 5. Privacy and Legal Considerations## 6. Privacy and Legal Considerations
v2.2 · 5. Privacy and Legal Considerations## 5. Privacy and Legal Considerations
v1.8 · 5. Privacy and Legal Considerations_Legal requirements motivate the compliance architecture that follows in Section 7. We address them first._
v2.2 · 5. Privacy and Legal Considerations_Legal requirements motivate the compliance architecture that follows in Section 6. We address them first._
v1.8 · 5.1 Employee Awareness and Transparency### 6.1 Employee Awareness and Transparency
v2.2 · 5.1 Employee Awareness and Transparency### 5.1 Employee Awareness and Transparency

··· 4 unchanged paragraphs folded ···

v1.8 · 5.2 User Adoption and Change Management### 6.2 User Adoption and Change Management
v2.2 · 5.2 User Adoption and Change Management### 5.2 User Adoption and Change Management

··· 2 unchanged paragraphs folded ···

v1.8 · 5.2 User Adoption and Change Management- **Trust deficit.** Salespeople knowing their agent is monitored by management's agent may self-censor, sharing less with their assistant and defeating the purpose. Mitigation: clear communication that compliance monitoring targets data boundary violations, not employee performance evaluation. The audit system flags clearance breaches, not whether María complained about her workload to LUNA.
v2.2 · 5.2 User Adoption and Change Management- **Trust deficit.** Salespeople knowing their agent is monitored by management's agent may self-censor, sharing less with their assistant and defeating the purpose. Mitigation: clear communication that compliance monitoring targets data boundary violations, not employee performance evaluation. The audit system flags clearance breaches, not whether María complained about her workload to the sales agent.

··· 2 unchanged paragraphs folded ···

v1.8 · 5.2 User Adoption and Change Management**Adoption strategy:** See Section 10 (Phased Deployment) for a staged rollout that addresses these challenges incrementally.
v2.2 · 5.2 User Adoption and Change Management**Adoption strategy:** See Section 9 (Phased Deployment) for a staged rollout that addresses these challenges incrementally.
v1.8 · 5.3 GDPR Implications### 6.3 GDPR Implications
v2.2 · 5.3 GDPR Implications### 5.3 GDPR Implications

··· 2 unchanged paragraphs folded ···

v1.8 · 5.3 GDPR Implications**Purpose limitation.** Customer data shared with SALES-AGENT for account coordination cannot be repurposed for marketing analytics without a separate lawful basis and disclosure. Audit logs provide the evidence trail.
v2.2 · 5.3 GDPR Implications**Purpose limitation.** Customer data shared with L2-SALES for account coordination cannot be repurposed for marketing analytics without a separate lawful basis and disclosure. Audit logs provide the evidence trail.
v1.8 · 5.3 GDPR Implications**Data Processing Agreements (DPAs).** If any LLM inference is routed to cloud providers (OpenAI, Anthropic, Google), a DPA compliant with GDPR Articles 28-29 must be in place. The DPA must specify: data categories processed, processing purposes, sub-processor list, data deletion obligations, and breach notification procedures. For on-premises inference (recommended — see Section 6.6), DPAs with API providers are not required, but DPAs with hardware vendors providing managed services may still apply.
v2.2 · 5.3 GDPR Implications**Data Processing Agreements (DPAs).** If any LLM inference is routed to cloud providers (OpenAI, Anthropic, Google), a DPA compliant with GDPR Articles 28-29 must be in place. The DPA must specify: data categories processed, processing purposes, sub-processor list, data deletion obligations, and breach notification procedures. For on-premises inference (recommended — see Section 5.6), DPAs with API providers are not required, but DPAs with hardware vendors providing managed services may still apply.
v1.8 · 5.3 GDPR Implications**Article 22: Automated decision-making.** If HIVEMIND agents make or substantially contribute to decisions affecting employees (e.g., quarantine suspending an agent disrupts the employee's work), Article 22 requires: (a) informing the employee that automated processing is involved, (b) providing meaningful information about the logic, and (c) ensuring the right to obtain human intervention. The quarantine process (Section 7.4) includes human-in-the-loop review specifically to satisfy this requirement.
v2.2 · 5.3 GDPR Implications**Article 22: Automated decision-making.** If HIVEMIND agents make or substantially contribute to decisions affecting employees (e.g., quarantine suspending an agent disrupts the employee's work), Article 22 requires: (a) informing the employee that automated processing is involved, (b) providing meaningful information about the logic, and (c) ensuring the right to obtain human intervention. The quarantine process (Section 6.4) includes human-in-the-loop review specifically to satisfy this requirement.
v1.8 · 5.3 GDPR Implications**Article 4(4): Profiling.** Agent memory files that accumulate behavioral patterns about employees (work habits, communication style, client relationship quality) may constitute profiling. The DPIA (Section 6.4) must assess this and define retention limits for behavioral data.
v2.2 · 5.3 GDPR Implications**Article 4(4): Profiling.** Agent memory files that accumulate behavioral patterns about employees (work habits, communication style, client relationship quality) may constitute profiling. The DPIA (Section 5.4) must assess this and define retention limits for behavioral data.

··· 1 unchanged paragraph folded ···

v1.8 · 5.4 Data Protection Impact Assessment### 6.4 Data Protection Impact Assessment
v2.2 · 5.4 Data Protection Impact Assessment### 5.4 Data Protection Impact Assessment

··· 2 unchanged paragraphs folded ···

v1.8 · 5.5 The EU AI Act### 6.5 The EU AI Act
v2.2 · 5.5 The EU AI Act### 5.5 The EU AI Act

··· 2 unchanged paragraphs folded ···

v1.8 · 5.5 The EU AI Act- **Risk management system (Article 9).** HIVEMIND's risk analysis (Section 9) and compliance architecture (Section 7) serve this function but must be formalized as a continuous risk management process, not a one-time assessment. - **Data governance (Article 10).** Training data, validation data, and operational data must meet quality criteria. For HIVEMIND, this primarily concerns the data used to train the compliance classifiers and semantic scanners. - **Technical documentation (Article 11).** The system's design, purpose, capabilities, and limitations must be documented for regulatory inspection. This paper serves as a starting point but would need expansion. - **Record-keeping (Article 12).** Automatic logging of system events — HIVEMIND's communication logs and audit trails satisfy this if configured for the required retention period (the Act references "appropriate to the intended purpose," typically interpreted as the system's operational lifetime plus a regulatory buffer). - **Transparency (Article 13).** Users (employees) must be informed they are interacting with an AI system and understand its capabilities and limitations. - **Human oversight (Article 14).** The system must be designed to allow effective human oversight. HIVEMIND's human-in-the-loop quarantine review, weekly audit reports, and the STRATEGOS dead switch address this requirement. - **Conformity assessment.** Before deployment, HIVEMIND must undergo a conformity assessment (self-assessment for most Annex III systems, third-party for biometric systems). This should be factored into the deployment timeline.
v2.2 · 5.5 The EU AI Act- **Risk management system (Article 9).** HIVEMIND's risk analysis (Section 8) and compliance architecture (Section 6) serve this function but must be formalized as a continuous risk management process, not a one-time assessment. - **Data governance (Article 10).** Training data, validation data, and operational data must meet quality criteria. For HIVEMIND, this primarily concerns the data used to train the compliance classifiers and semantic scanners. - **Technical documentation (Article 11).** The system's design, purpose, capabilities, and limitations must be documented for regulatory inspection. This paper serves as a starting point but would need expansion. - **Record-keeping (Article 12).** Automatic logging of system events — HIVEMIND's communication logs and audit trails satisfy this if configured for the required retention period (the Act references "appropriate to the intended purpose," typically interpreted as the system's operational lifetime plus a regulatory buffer). - **Transparency (Article 13).** Users (employees) must be informed they are interacting with an AI system and understand its capabilities and limitations. - **Human oversight (Article 14).** The system must be designed to allow effective human oversight. HIVEMIND's human-in-the-loop quarantine review, weekly audit reports, and the L3-EXEC dead switch address this requirement. - **Conformity assessment.** Before deployment, HIVEMIND must undergo a conformity assessment (self-assessment for most Annex III systems, third-party for biometric systems). This should be factored into the deployment timeline.
v1.8 · 5.6 Data Residency and On-Premises Processing### 6.6 Data Residency and On-Premises Processing
v2.2 · 5.6 Data Residency and On-Premises Processing### 5.6 Data Residency and On-Premises Processing

··· 1 unchanged paragraph folded ···

v1.8 · 5.6 Data Residency and On-Premises Processing- On-premises server running open-weight models (LLaMA 3, Mistral, Qwen, or equivalent). - OpenClaw's provider configuration pointed at a local inference endpoint (Ollama or an equivalent on-host server) rather than a cloud API, so that the model provider is itself inside the trust boundary. - No customer data, employee data, or corporate correspondence transmitted to cloud APIs.
v2.2 · 5.6 Data Residency and On-Premises Processing- On-premises server running open-weight models (LLaMA 3, Mistral, Qwen, or equivalent). - OpenClaw configured with `local_inference: true`, routing to Ollama or similar local inference server. - No customer data, employee data, or corporate correspondence transmitted to cloud APIs.
v1.8 · 5.6 Data Residency and On-Premises Processing**Capability gap acknowledgment.** On-premises models (currently 70B parameter class on single-server GPU deployments) have measurable capability gaps compared to frontier cloud models for complex reasoning, nuanced language generation, and rare-domain knowledge. For most enterprise agent tasks — email drafts, calendar management, CRM queries, structured data retrieval — 70B models are adequate. However, the compliance classifiers (Section 7.3) and the template-based redaction pipeline (Section 5.4) should be validated against the specific local model's capabilities before deployment. Tasks requiring frontier-class reasoning (complex legal analysis, multi-factor strategic synthesis) should be flagged for human handling rather than delegated to a local model operating near its capability ceiling.
v2.2 · 5.6 Data Residency and On-Premises Processing**Capability gap acknowledgment.** On-premises models (currently 70B parameter class on single-server GPU deployments) have measurable capability gaps compared to frontier cloud models for complex reasoning, nuanced language generation, and rare-domain knowledge. For most enterprise agent tasks — email drafts, calendar management, CRM queries, structured data retrieval — 70B models are adequate. However, the compliance classifiers (Section 6.3) and the template-based redaction pipeline (Section 4.4) should be validated against the specific local model's capabilities before deployment. Tasks requiring frontier-class reasoning (complex legal analysis, multi-factor strategic synthesis) should be flagged for human handling rather than delegated to a local model operating near its capability ceiling.
v1.8 · 5.7 The Right to Be Forgotten — Offboarding as a Non-Event### 6.7 The Right to Be Forgotten — Employee Offboarding
v2.2 · 5.7 The Right to Be Forgotten — Offboarding as a Non-Event### 5.7 The Right to Be Forgotten — Offboarding as a Non-Event
not in v1.8
v2.2 · 5.7 The Right to Be Forgotten — Offboarding as a Non-EventRole-binding largely dissolves the offboarding problem that a per-person design creates. There is no personal agent to destroy, no institutional knowledge to extract and migrate, and no workspace to scrub — the agent and its accumulated knowledge belong to the *role*, not the departing person. The customer histories, negotiation context, and procedural know-how the original design had to rescue from a leaving employee's agent never lived in a personal silo in the first place.

··· 1 unchanged paragraph folded ···

v1.8 · 6.7 The Right to Be Forgotten — Employee Offboarding1. Agent is suspended and workspace snapshotted. 2. A "knowledge transfer" process extracts company-property content (customer histories, procedural knowledge) and migrates it to the department agent's memory. 3. A "personal data extraction" process identifies memory content constituting personal data about the employee. 4. The employee reviews and may request deletion of personal data. 5. After the retention period, the employee's memory workspace is purged. 6. The system user account is deactivated (not deleted — audit trails require preservation for the standard retention period).
removed in v2.2
not in v1.8
v2.2 · 5.7 The Right to Be Forgotten — Offboarding as a Non-Event1. **Reassign the workload.** The departing person's entries in `workload-division.md` are reassigned (to a successor or temporarily to the department manager). This is the substantive step, and it is one edit. 2. **Revoke the human's access.** The person's authentication to interact with the role agent is disabled. The agent continues serving everyone else unchanged. 3. **Handle the thin per-person layer.** The only person-specific data is the lightweight interaction profile (Section 2.7) — name, tenure, communication preferences. This is the sole GDPR right-to-be-forgotten surface, and it is small and clearly bounded: the employee may review it and request deletion, after which it is purged. 4. **Preserve audit trails.** Communication logs referencing the person are retained per the regulatory retention period (audit integrity requires this), then purged on schedule.
not in v1.8
v2.2 · 5.7 The Right to Be Forgotten — Offboarding as a Non-EventThe contrast is the point. The original design's six-step extract-migrate-scrub-purge protocol existed to fight the talent leak after the fact. Role-binding removes the leak at the source: knowledge never leaves, because it was never bound to the person who is leaving.
v1.8 · 5.8 The IT Staff Privilege Clause### 6.8 The IT Staff Privilege Clause
v2.2 · 5.8 The IT Staff Privilege Clause### 5.8 The IT Staff Privilege Clause

··· 1 unchanged paragraph folded ···

not in v1.8
v2.2 · 5.9 From Trainers to Knowledge Stewards### 5.9 From Trainers to Knowledge Stewards
not in v1.8
v2.2 · 5.9 From Trainers to Knowledge StewardsThe knowledge commons (Section 2.7) reshapes a job rather than eliminating one. Today, learning-and-development staff onboard each hire by hand: the effort is O(employees), re-spent on every departure, lost when the trainer themselves leaves, and inconsistent from one trainer to the next. Re-point that same person at the commons and the economics invert. The steward authors and maintains the role slices, the industry context, the customer model, and the voice standards *once*; the corpus then onboards every agent and every new human hire off the same substrate. Training stops being repetition and starts compounding.
not in v1.8
v2.2 · 5.9 From Trainers to Knowledge StewardsThis is a concrete, sellable answer to "what happens to our trainers." They become **knowledge stewards**: owners (per the frontmatter of Section 2.8) of specific commons paths, accountable for accuracy and review cadence, with scoped write access through the Git review workflow. The skill transfers directly — a trainer already knows what a newcomer needs to learn; they now write it down in a form that serves humans and machines at once.
not in v1.8
v2.2 · 5.9 From Trainers to Knowledge Stewards**Fossilization and the new-hire research loop.** A persistent role agent risks entrenching a departed employee's habits and a single steward's blind spots — "we have always done it this way," automated and amplified. The counterweight is to make onboarding *bidirectional*. A common and healthy practice for human new hires is to expand on their formal training by researching open questions and asking the experienced people around them. HIVEMIND institutionalizes this: during onboarding, a new hire is tasked with probing the commons for gaps, asking colleagues, and feeding findings back to the relevant steward as proposed commons updates. The newest, least-habituated person — the one most likely to notice what is stale or unexplained — becomes a routine source of refresh. Onboarding thus doubles as a knowledge audit, and the corpus is continuously challenged by exactly the people with the least incentive to defend its assumptions.
not in v1.8
v2.2 · 5.10 The Future of Work: Who Wins### 5.10 The Future of Work: Who Wins
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsThe steward transformation is a specific instance of a broader and contested question, and it is worth addressing directly because it shapes whether a workforce adopts a system like this or resists it.
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsThe widespread belief is that systems like HIVEMIND destroy jobs: if the AI holds the knowledge and does the routine work, the people become redundant. There is a real basis for the fear — the demand for *low-thinking office work* (re-keying data, assembling the same report, answering the same question for the hundredth time) does progressively narrow as agents absorb it. We do not dismiss that. But the more interesting claim, and the one we argue here, is that the same shift leaves *some* workers materially better off — specifically those whose value is in learning and teaching rather than in repetition.
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsConsider the economics of anyone who sells their time in person — a trainer, a consultant, a coach. Their income has a hard ceiling: it is bounded by the number of hours they can work multiplied by the maximum rate the market will bear for an hour of their attention. No matter how good they are, the cap is difficult to breach, because the product *is* their time and time does not scale.
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsThe pre-AI escape from that ceiling is familiar: record the training once and sell it to many — an online course platform. This does raise the cap by decoupling revenue from hours, but it commoditizes the work (a one-time sale in a race to the bottom) and the recorded content ages the moment the market moves.
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsHIVEMIND offers a different and, we argue, better escape for that same consultant. When the AI does the bulk of the repetitive training inside a client company, the consultant's role moves *up* the value chain — from trainer to **company knowledge manager**. The shape of the job changes in four ways, each of which lifts the income ceiling:
not in v1.8
v2.2 · 5.10 The Future of Work: Who Wins1. **No repetition within a company.** They never deliver the same training twice to the same firm; the commons holds it and the agents teach it. The consultant's time is freed from the part that did not scale. 2. **Recurring revenue against fossilization.** The hard problem the AI *cannot* solve alone is staleness (Section 2.8). Knowledge decays; markets, products, and regulations move. Keeping a company's knowledge base current is ongoing work, which justifies a *recurring* fee rather than a one-off engagement — and recurring, retainer-style revenue is structurally more valuable than project revenue. 3. **A premium for a scarce, compounding skill.** Curating and refreshing an organization's institutional knowledge well is hard and high-leverage, so it commands a premium rather than a commodity rate. 4. **Many companies at once.** The same consultant can steward the knowledge bases of *several* client companies in parallel. The AI agents are, in effect, their force multiplier — the "minions" that deliver the teaching in each firm while the consultant does the part only a human does well.
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsIn this picture the consultant's actual day-to-day collapses to what such people tend to enjoy most: continuously learning about new products and market trends, and teaching it *once* — after which it propagates, through the agents, to every company they serve. The repetitive delivery is gone; the learning-and-synthesis core remains and is paid better.
not in v1.8
v2.2 · 5.10 The Future of Work: Who WinsWe state this as a perspective, not a forecast — labor-market outcomes depend on far more than one architecture, and the narrowing of routine office work is real and will be painful for some. But the categorical claim "AI eliminates these jobs" is too blunt. For the subset of roles whose value is learning and teaching, a system that removes the repetition and adds leverage can streamline the job into something higher-paid and more enjoyable, not something that disappears. Whether a given organization experiences AI adoption as elimination or as elevation depends heavily on which roles it chooses to invest in transforming.

··· 1 unchanged paragraph folded ···

v1.8 · 6. Compliance and Audit Architecture## 7. Compliance and Audit Architecture
v2.2 · 6. Compliance and Audit Architecture## 6. Compliance and Audit Architecture
v1.8 · 6.1 The Audit Imperative### 7.1 The Audit Imperative
v2.2 · 6.1 The Audit Imperative### 6.1 The Audit Imperative
v1.8 · 6.1 The Audit ImperativeLegal counsel, compliance officers, and regulators will ask: How do you know the AI is not leaking sensitive data? How do you detect violations? What is your incident response process? HIVEMIND answers with an audit architecture that treats every inter-agent communication as a compliance event.
v2.2 · 6.1 The Audit ImperativeLegal counsel, compliance officers, and regulators will ask: How do you know the AI is not leaking sensitive data? How do you detect violations? What is your incident response process? HIVEMIND answers with a comprehensive audit architecture treating every inter-agent communication as a compliance event.
v1.8 · 6.2 Communication Logging### 7.2 Communication Logging
v2.2 · 6.2 Communication Logging### 6.2 Communication Logging

··· 1 unchanged paragraph folded ···

v1.8 · 6.2 Communication Logging``` { "timestamp": "2026-03-17T14:32:11Z", "sender_agent": "ATLAS", "sender_clearance": "T3", "recipient_agent": "SALES-AGENT", "recipient_clearance": "T4", "message_type": "upward_push", "channel": "competitive_intelligence", "content_classification": "T2", "content_hash": "sha256:a3f9...", "content_preview": "[LOGGED, NOT STORED IN AUDIT DB]", "compliance_flags": [], "reviewed": false } ```
v2.2 · 6.2 Communication Logging```json { "timestamp": "2026-03-17T14:32:11Z", "sender_agent": "L1-SALES-REP", "sender_clearance": "T3", "recipient_agent": "L2-SALES", "recipient_clearance": "T4", "message_type": "upward_push", "channel": "competitive_intelligence", "content_classification": "T2", "content_hash": "sha256:a3f9...", "content_preview": "[LOGGED, NOT STORED IN AUDIT DB]", "compliance_flags": [], "reviewed": false } ```
v1.8 · 6.2 Communication LoggingFull message content is hashed and stored separately in an encrypted audit store accessible only to the compliance officer and STRATEGOS. The main audit log contains metadata and hashes — enough to detect violations without constituting its own leak.
v2.2 · 6.2 Communication LoggingFull message content is hashed and stored separately in an encrypted audit store accessible only to the compliance officer and L3-EXEC. The main audit log contains metadata and hashes — enough to detect violations without constituting its own leak.
v1.8 · 6.3 Nightly Compliance Sweep### 7.3 Nightly Compliance Sweep
v2.2 · 6.3 Nightly Compliance Sweep### 6.3 Nightly Compliance Sweep

··· 1 unchanged paragraph folded ···

v1.8 · 6.3 Nightly Compliance Sweep**7.3.1 Information Leak Detection**
v2.2 · 6.3 Nightly Compliance Sweep**6.3.1 Information Leak Detection**

··· 2 unchanged paragraphs folded ···

v1.8 · 6.3 Nightly Compliance Sweep**7.3.2 Compliance Violation Detection**
v2.2 · 6.3 Nightly Compliance Sweep**6.3.2 Compliance Violation Detection**

··· 1 unchanged paragraph folded ···

v1.8 · 6.3 Nightly Compliance Sweep**7.3.3 Behavioral Anomaly Detection**
v2.2 · 6.3 Nightly Compliance Sweep**6.3.3 Behavioral Anomaly Detection**

··· 2 unchanged paragraphs folded ···

v1.8 · 6.3 Nightly Compliance Sweep**7.3.4 Memory Contamination Check**
v2.2 · 6.3 Nightly Compliance Sweep**6.3.4 Memory Contamination Check**

··· 2 unchanged paragraphs folded ···

v1.8 · 6.3 Nightly Compliance Sweep**7.3.5 Governance Metrics for Compliance Classifiers**
v2.2 · 6.3 Nightly Compliance Sweep**6.3.5 Governance Metrics for Compliance Classifiers**

··· 3 unchanged paragraphs folded ···

v1.8 · 7.3 Nightly Compliance Sweep**An empirical anchor for how to build the detectors.** The separation above is an architectural argument; recent offline measurement gives it a concrete, cautionary shape and should steer how the semantic scan (Section 7.3.2) and the clearance validator (Section 9.2) are actually constructed. In a controlled evaluation of safety detectors over *frozen* sentence-embeddings (a frozen MiniLM encoder, measured on a single consumer GPU), a **supervised "is-this-harmful/restricted-content" classification head scored AUROC 0.286 — below chance.** The lesson is sharp: a frozen embedding does not carry "restrictedness" or "harmfulness" as a linearly-readable supervised target, so a detector built as a supervised head over frozen embeddings can be *worse than a coin flip* while appearing principled. By contrast, two *unsupervised structural* signals over the same embeddings validated strongly: **k-NN novelty — how unlike an item is to the agent's own history — scored AUROC 0.875**, and **clause-cosine incongruity — how poorly a message coheres with its declared channel/clearance — scored AUROC 0.896.**
removed in v2.2
v1.8 · 7.3 Nightly Compliance SweepTranslated into HIVEMIND's detectors, this argues against the naïve build and for a specific one. The semantic memory scan should *not* be a supervised "does this look like restricted content" head over embeddings — that is the configuration measured below chance, and it would also generate exactly the alert-fatigue burden Section 7.3.1 warns about. It should instead favor structural detectors that are cheap and that the measurement supports: **novelty** (a memory entry unlike anything in this agent's clearance-appropriate history is worth a flag) and **incongruity** (a message whose content does not cohere with its declared channel schema or the sender's clearance is worth a flag — the upward-push covert-query attack of Section 9.2 is an incongruity, not a known format). High-confidence *format* matches (exact HR salary-range schemas, IT credential formats) remain rule-based as in Section 7.3.1; the structural detectors replace the unreliable supervised-semantic layer rather than the deterministic-format layer. This is the detector/disposition separation made empirical: the most error-prone framing has a real, measured AUROC attached to it, and the architecture chooses the framings that the same measurement shows to work.
removed in v2.2
v1.8 · 6.4 Automated Quarantine### 7.4 Automated Quarantine
v2.2 · 6.4 Automated Quarantine### 6.4 Automated Quarantine

··· 1 unchanged paragraph folded ···

v1.8 · 6.4 Automated Quarantine1. Agent session suspended, workspace snapshotted. 2. Tools restricted to read-only. No new writes, no external communication. 3. STRATEGOS and compliance officer alerted with full event record. 4. Compromised memory content flagged for human review. 5. Compliance officer disposition: (a) false positive — reinstate; (b) memory contamination — purge specific entries, reinstate; (c) systemic breach — full audit required.
v2.2 · 6.4 Automated Quarantine1. Agent session suspended, workspace snapshotted. 2. Tools restricted to read-only. No new writes, no external communication. 3. L3-EXEC and compliance officer alerted with full event record. 4. Compromised memory content flagged for human review. 5. Compliance officer disposition: (a) false positive — reinstate; (b) memory contamination — purge specific entries, reinstate; (c) systemic breach — full audit required.

··· 2 unchanged paragraphs folded ···

v1.8 · 6.5 Audit Reporting### 7.5 Audit Reporting
v2.2 · 6.5 Audit Reporting### 6.5 Audit Reporting
v1.8 · 6.5 Audit ReportingWeekly reports generated by STRATEGOS for compliance officer and CEO:
v2.2 · 6.5 Audit ReportingWeekly reports generated by L3-EXEC for compliance officer and CEO:

··· 2 unchanged paragraphs folded ···

v1.8 · 7. Technical Implementation on OpenClaw/TinkerClaw## 8. Technical Implementation on OpenClaw/TinkerClaw
v2.2 · 7. Technical Implementation on OpenClaw/TinkerClaw## 7. Technical Implementation on OpenClaw/TinkerClaw
v1.8 · 7.1 Platform Overview### 8.1 Platform Overview
v2.2 · 7.1 Platform Overview### 7.1 Platform Overview

··· 3 unchanged paragraphs folded ···

v1.8 · 7.2 Linux Filesystem Permission Model### 8.2 Linux Filesystem Permission Model
v2.2 · 7.2 Linux Filesystem Permission Model### 7.2 Linux Filesystem Permission Model
v1.8 · 8.2 Linux Filesystem Permission Model``` # System users for each agent useradd -r -s /sbin/nologin agent_luna useradd -r -s /sbin/nologin agent_atlas useradd -r -s /sbin/nologin agent_sales useradd -r -s /sbin/nologin agent_strategos
removed in v2.2
not in v1.8
v2.2 · 7.2 Linux Filesystem Permission Model```bash # System users: one per ROLE agent (not per person), plus dept/exec useradd -r -s /sbin/nologin agent_salesrep # shared by all salespeople useradd -r -s /sbin/nologin agent_fieldengr # shared by all field engineers useradd -r -s /sbin/nologin agent_sales # L2-SALES (department agent) useradd -r -s /sbin/nologin agent_strategos

··· 1 unchanged paragraph folded ···

v1.8 · Role agents: T2 + role-specific T3 (clearance attaches to the role) usermod -aG clearance_t2,clearance_t3_sales agent_salesrep usermod -aG clearance_t2,clearance_t3_eng agent_fieldengr# Employee agents: T2 + role-specific T3 usermod -aG clearance_t2,clearance_t3_sales agent_luna usermod -aG clearance_t2,clearance_t3_sales agent_atlas
v2.2 · Role agents: T2 + role-specific T3 (clearance attaches to the role) usermod -aG clearance_t2,clearance_t3_sales agent_salesrep usermod -aG clearance_t2,clearance_t3_eng agent_fieldengr# Role agents: T2 + role-specific T3 (clearance attaches to the role) usermod -aG clearance_t2,clearance_t3_sales agent_salesrep usermod -aG clearance_t2,clearance_t3_eng agent_fieldengr

··· 3 unchanged paragraphs folded ···

v1.8 · Directory permissions chmod 750 /corporate/internal && chown root:clearance_t2 /corporate/internal chmod 750 /corporate/confidential/sales && chown root:clearance_t3_sales /corporate/confidential/sales chmod 750 /corporate/restricted && chown root:clearance_t4 /corporate/restricted chmod 700 /corporate/secret && chown root:clearance_t5 /corporate/secret ```Each agent process spawns under its system user via `sudo -u agent_luna openclaw start`. The kernel enforces access regardless of model behavior.
v2.2 · Directory permissions chmod 750 /corporate/internal && chown root:clearance_t2 /corporate/internal chmod 750 /corporate/confidential/sales && chown root:clearance_t3_sales /corporate/confidential/sales chmod 750 /corporate/restricted && chown root:clearance_t4 /corporate/restricted chmod 700 /corporate/secret && chown root:clearance_t5 /corporate/secret ```Each agent process spawns under its system user via `sudo -u agent_salesrep openclaw start`. The kernel enforces access regardless of model behavior.
v1.8 · 7.3 Inter-Agent Communication Protocol### 8.3 Inter-Agent Communication Protocol
v2.2 · 7.3 Inter-Agent Communication Protocol### 7.3 Inter-Agent Communication Protocol

··· 1 unchanged paragraph folded ···

v1.8 · 7.3 Inter-Agent Communication Protocol**8.3.1 Message Format**
v2.2 · 7.3 Inter-Agent Communication Protocol**7.3.1 Message Format**
v1.8 · 7.3 Inter-Agent Communication Protocol``` { "protocol_version": "hivemind/1.0", "message_id": "uuid-v4", "timestamp": "ISO-8601", "sender": { "agent_id": "agent_luna", "clearance": "T3", "department": "sales" }, "recipient": { "agent_id": "agent_sales", "clearance": "T4", "department": "sales" }, "message_type": "query | response | push | directive | alert", "channel": "string (for push messages: channel name from approved list)", "correlation_id": "uuid-v4 (links response to original query)", "payload": { "content_classification": "T1-T5", "body": "...", "attachments": [] }, "ttl_seconds": 300, "requires_ack": true } ```
v2.2 · 7.3 Inter-Agent Communication Protocol```json { "protocol_version": "hivemind/1.0", "message_id": "uuid-v4", "timestamp": "ISO-8601", "sender": { "agent_id": "agent_salesrep", "clearance": "T3", "department": "sales" }, "recipient": { "agent_id": "agent_sales", "clearance": "T4", "department": "sales" }, "message_type": "query | response | push | directive | alert", "channel": "string (for push messages: channel name from approved list)", "correlation_id": "uuid-v4 (links response to original query)", "payload": { "content_classification": "T1-T5", "body": "...", "attachments": [] }, "ttl_seconds": 300, "requires_ack": true } ```
v1.8 · 7.3 Inter-Agent Communication Protocol**8.3.2 Delivery Semantics**
v2.2 · 7.3 Inter-Agent Communication Protocol**7.3.2 Delivery Semantics**
v1.8 · 7.3 Inter-Agent Communication Protocol- **At-most-once delivery** with acknowledgment. Messages are persisted in the gateway queue until acknowledged or TTL expires. - **Timeout handling.** If no acknowledgment within `ttl_seconds`, the sender receives a `TIMEOUT` response. The sender may retry with a new `message_id` (idempotent; the gateway deduplicates by `correlation_id` within a sliding window). - **Ordering.** Messages within a single sender$\rightarrow$recipient pair are delivered in order (FIFO queue per pair). Cross-pair ordering is not guaranteed. - **Message size limit.** 64KB per message. Larger payloads use a file-reference mechanism: the sender writes to a shared staging directory (with appropriate permissions), and the message contains the file path.
v2.2 · 7.3 Inter-Agent Communication Protocol- **At-most-once delivery** with acknowledgment. Messages are persisted in the gateway queue until acknowledged or TTL expires. - **Timeout handling.** If no acknowledgment within `ttl_seconds`, the sender receives a `TIMEOUT` response. The sender may retry with a new `message_id` (idempotent; the gateway deduplicates by `correlation_id` within a sliding window). - **Ordering.** Messages within a single sender→recipient pair are delivered in order (FIFO queue per pair). Cross-pair ordering is not guaranteed. - **Message size limit.** 64KB per message. Larger payloads use a file-reference mechanism: the sender writes to a shared staging directory (with appropriate permissions), and the message contains the file path.
v1.8 · 7.3 Inter-Agent Communication Protocol**8.3.3 Authentication**
v2.2 · 7.3 Inter-Agent Communication Protocol**7.3.3 Authentication**

··· 3 unchanged paragraphs folded ···

v1.8 · 7.3 Inter-Agent Communication Protocol**8.3.4 Gateway Topology**
v2.2 · 7.3 Inter-Agent Communication Protocol**7.3.4 Gateway Topology**
v1.8 · 7.3 Inter-Agent Communication Protocol``` # gateway/agent-topology.yaml sessions: - id: agent_luna clearance: T3 department: sales can_receive_from: [agent_sales] can_send_to: [agent_sales] push_channels: [competitive_intelligence, customer_feedback, meeting_notes]
v2.2 · 7.3 Inter-Agent Communication Protocol```yaml # gateway/agent-topology.yaml sessions: - id: agent_salesrep # one shared sales-rep role agent clearance: T3 department: sales can_receive_from: [agent_sales] can_send_to: [agent_sales] push_channels: [competitive_intelligence, customer_feedback, meeting_notes] owners: [maria.garcia, pedro.martinez, ..., sales.manager]
v1.8 · 7.3 Inter-Agent Communication Protocol- id: agent_sales clearance: T4 department: sales can_receive_from: [agent_luna, agent_atlas, ...] can_send_to: [agent_luna, agent_atlas, ..., agent_strategos]
v2.2 · 7.3 Inter-Agent Communication Protocol- id: agent_sales clearance: T4 department: sales can_receive_from: [agent_salesrep, agent_fieldengr, ...] can_send_to: [agent_salesrep, agent_fieldengr, ..., agent_strategos]

··· 1 unchanged paragraph folded ···

v1.8 · 7.3 Inter-Agent Communication Protocol**8.3.5 Protocol Error Codes and Declassification Workflow**
v2.2 · 7.3 Inter-Agent Communication Protocol**7.3.5 Protocol Error Codes and Declassification Workflow**

··· 5 unchanged paragraphs folded ···

v1.8 · 7.4 Memory Files as Auditable State### 8.4 Memory Files as Auditable State
v2.2 · 7.4 Memory Files as Auditable State### 7.4 Memory Files as Auditable State

··· 1 unchanged paragraph folded ···

v1.8 · 8.4 Memory Files as Auditable State``` /agents/ |-- luna/ # owned by agent_luna, group: sales-agents-ro | |-- MEMORY.md | |-- memory/ | | \-- 2026-03-17.md | |-- workspace/ | | \-- clients/ | \-- SOUL.md |-- atlas/ # similar structure |-- sales-agent/ # owned by agent_sales, group: strategos-ro | |-- MEMORY.md | \-- department-intel/ \-- strategos/ # owned by agent_strategos, root group \-- ... ```
removed in v2.2
not in v1.8
v2.2 · 7.4 Memory Files as Auditable State``` /agents/ ├── sales-rep/ # owned by agent_salesrep, group: sales-dept-ro │ ├── MEMORY.md # shared institutional memory for the sales role │ ├── memory/ │ │ └── 2026-03-17.md │ ├── workspace/ │ │ ├── clients/ │ │ └── knowledge/ # symlinks into /corporate/knowledge (Section 2.7) │ ├── people/ # thin per-person interaction profiles (Section 2.7) │ └── SOUL.md ├── field-engineer/ # similar structure, one per ROLE ├── sales-dept/ # owned by agent_sales, group: strategos-ro │ ├── MEMORY.md │ └── department-intel/ └── strategos/ # owned by agent_strategos, root group └── ... ```

··· 1 unchanged paragraph folded ···

v1.8 · 7.5 Multi-Tenancy and Process Isolation### 8.5 Multi-Tenancy and Process Isolation
v2.2 · 7.5 Multi-Tenancy and Process Isolation### 7.5 Multi-Tenancy and Process Isolation

··· 5 unchanged paragraphs folded ···

v1.8 · 7.6 Cron Jobs for Compliance### 8.6 Cron Jobs for Compliance
v2.2 · 7.6 Cron Jobs for Compliance### 7.6 Cron Jobs for Compliance
v1.8 · 7.6 Cron Jobs for Compliance``` # /etc/cron.d/hivemind-compliance 0 2 * * * compliance-bot /opt/hivemind/sweep/run-full-sweep.sh >> /var/log/hivemind/sweep.log 2>&1 0 3 * * * compliance-bot /opt/hivemind/audit/rotate-logs.sh 0 4 * * 0 compliance-bot /opt/hivemind/reports/generate-weekly.sh | mail -s "HIVEMIND Weekly Audit" compliance@company.com 0 * * * * compliance-bot /opt/hivemind/sweep/quick-scan.sh ```
v2.2 · 7.6 Cron Jobs for Compliance```cron # /etc/cron.d/hivemind-compliance 0 2 * * * compliance-bot /opt/hivemind/sweep/run-full-sweep.sh >> /var/log/hivemind/sweep.log 2>&1 0 3 * * * compliance-bot /opt/hivemind/audit/rotate-logs.sh 0 4 * * 0 compliance-bot /opt/hivemind/reports/generate-weekly.sh | mail -s "HIVEMIND Weekly Audit" compliance@company.com 0 * * * * compliance-bot /opt/hivemind/sweep/quick-scan.sh ```
v1.8 · 7.7 Observability and Debugging### 8.7 Observability and Debugging
v2.2 · 7.7 Observability and Debugging### 7.7 Observability and Debugging

··· 1 unchanged paragraph folded ···

v1.8 · 7.7 Observability and Debugging- **Health dashboard.** Real-time status of all agent processes: running/suspended/quarantined, last activity timestamp, memory file size, session count. Implemented as a lightweight web UI served by the gateway, accessible to IT-AGENT and STRATEGOS. - **Distributed tracing.** Each inter-agent communication carries a trace ID (the `correlation_id` in the message protocol). The gateway aggregates trace logs, enabling reconstruction of multi-agent interaction chains when diagnosing coordination failures. - **Alert thresholds.** Beyond compliance anomalies, operational alerts for: agent process crash, memory file exceeding size threshold (indicating runaway accumulation), gateway queue depth exceeding capacity, inference server response time degradation. - **Log aggregation.** All agent stdout/stderr, gateway logs, and compliance sweep output aggregate to a central log store (e.g., journald with remote forwarding, or ELK stack for larger deployments). Queryable by IT-AGENT for troubleshooting.
v2.2 · 7.7 Observability and Debugging- **Health dashboard.** Real-time status of all agent processes: running/suspended/quarantined, last activity timestamp, memory file size, session count. Implemented as a lightweight web UI served by the gateway, accessible to L2-IT and L3-EXEC. - **Distributed tracing.** Each inter-agent communication carries a trace ID (the `correlation_id` in the message protocol). The gateway aggregates trace logs, enabling reconstruction of multi-agent interaction chains when diagnosing coordination failures. - **Alert thresholds.** Beyond compliance anomalies, operational alerts for: agent process crash, memory file exceeding size threshold (indicating runaway accumulation), gateway queue depth exceeding capacity, inference server response time degradation. - **Log aggregation.** All agent stdout/stderr, gateway logs, and compliance sweep output aggregate to a central log store (e.g., journald with remote forwarding, or ELK stack for larger deployments). Queryable by L2-IT for troubleshooting.
v1.8 · 7.8 Versioning, Rollback, and Configuration Management### 8.8 Versioning, Rollback, and Configuration Management
v2.2 · 7.8 Versioning, Rollback, and Configuration Management### 7.8 Versioning, Rollback, and Configuration Management

··· 2 unchanged paragraphs folded ···

v1.8 · 7.9 Backup and Disaster Recovery### 8.9 Backup and Disaster Recovery
v2.2 · 7.9 Backup and Disaster Recovery### 7.9 Backup and Disaster Recovery

··· 1 unchanged paragraph folded ···

v1.8 · 7.10 TOOLS.md / Trust Tier Extension### 8.10 TOOLS.md / Trust Tier Extension
v2.2 · 7.10 TOOLS.md / Trust Tier Extension### 7.10 TOOLS.md / Trust Tier Extension

··· 1 unchanged paragraph folded ···

v1.8 · 8.10 TOOLS.md / Trust Tier Extension``` # TOOLS.md - LUNA (María García's Agent)
removed in v2.2
not in v1.8
v2.2 · 7.10 TOOLS.md / Trust Tier Extension```markdown # TOOLS.md - L1-SALES-REP (shared sales rep role agent)

··· 1 unchanged paragraph folded ···

v1.8 · Trust Tiers- **Owner:** María García — full control - **Department Supervisor:** SALES-AGENT — can issue directives, read all outputs - **Executive:** STRATEGOS — read-only access, cannot be refused
removed in v2.2
not in v1.8
v2.2 · Trust Tiers- **Owners:** all salespeople holding this role + the sales manager — interactive use - **Department Supervisor:** L2-SALES — can issue directives, read all outputs - **Executive:** L3-EXEC — read-only access, cannot be refused

··· 1 unchanged paragraph folded ···

v1.8 · Tool Access- email: read/send (María's mailbox only) - crm: read/write (assigned accounts: 180 accounts, see accounts.list) - calendar: read/write (María's calendar) - product_catalog: read (T2 resource) - contracts: read (T3 resource, assigned accounts only) - payroll_api: DENIED - hr_records: DENIED - infrastructure: DENIED
v2.2 · Tool Access- email: read/send (the current user's mailbox only, resolved per session) - crm: read/write (the role's accounts; ownership per workload-division.md) - calendar: read/write (the current user's calendar) - product_catalog: read (T2 resource) - contracts: read (T3 resource, sales-role accounts) - payroll_api: DENIED - hr_records: DENIED - infrastructure: DENIED

··· 1 unchanged paragraph folded ···

v1.8 · Escalation Rules- Any request involving non-assigned accounts: query SALES-AGENT first - Any pricing commitment request: verify against approved pricing tiers - Any legal/contract language: flag for human review, do not commit ```
removed in v2.2
not in v1.8
v2.2 · Escalation Rules- Any request involving an account owned by another rep: note ownership from workload-division.md and defer per Section 4.2 - Any pricing commitment request: verify against approved pricing tiers - Any legal/contract language: flag for human review, do not commit ```
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation### 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT SeparationNo agent runs ownerless, but the right control is accountability, not surveillance.
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation**Every agent has one or more human owners.** Each agent node in the topology carries a list of `owners` — the humans accountable for it. A role agent's owners are typically its occupants plus the department manager; a department or executive agent's owners are the relevant managers. Ownership establishes responsibility (who is answerable for what this agent does) and a point of contact for review.
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation**No hard inactivity thresholds.** An earlier instinct was to require human interaction within a fixed window and to suspend agents that go dark. We reject this: people take holidays, travel, and work in bursts, and a 24-hour timer would fire constantly on legitimate absence, training everyone to ignore it. Role agents are dormant by default when no one is using them — an idle agent consumes nothing and poses little risk. Presence-policing solves a problem that does not exist.
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation**The real concern is runaway autonomy, not silence.** The failure mode worth engineering against is an agent's *scheduled* work — cron jobs, background sweeps, proactive monitors — running unattended and burning tokens (or taking actions) for no reason: a misconfigured monitor re-querying every minute, a self-improvement loop with no stopping condition. Bounded-autonomy controls therefore target *recurring automated work*, not interactive sessions:
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation- Every cron or background task declares an expected cost and cadence; the gateway enforces per-agent rate and spend ceilings. - Recurring tasks that produce no consumed output over several cycles are flagged for owner review rather than left to run. - Expensive or irreversible recurring work requires explicit owner authorization to start, consistent with the resource-awareness principle that governs the platform generally.
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation**Users signal IT; they do not self-administer.** This is the governance backbone of the self-modification axis (Section 3.5, Axis 5). Following the division-of-labor principle, **only IT (`L2-IT`) may upgrade, rebuild, or restart the gateway**, change tool allowlists, or alter clearance assignments. End users interact with their role agent; they never touch the infrastructure. This separation protects the integrity of the whole swarm — a single user must not be able to widen their own access or destabilize shared infrastructure — and keeps the configuration-management discipline of Section 7.8 meaningful.
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT SeparationFor this to be *fast* rather than a bottleneck, the improvement loop is engineered, not ad hoc:
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT Separation- **A structured improvement channel, ingested by IT's agent.** Every user has a low-friction channel to file a bug they hit or a capability they imagine would speed their work. Crucially, these tickets are *consumed by `L2-IT`'s own agent*, not just read by a human. That changes what a good ticket looks like: because an agent will parse and act on it, the end user is expected to put substantial detail into each request — the exact behavior observed, the desired behavior, the workflow it blocks, concrete examples, and the frequency. A vague "the agent is slow" produces nothing; a specific, example-rich request becomes actionable work. The channel schema enforces this (required fields, reproduction steps, expected-vs-actual), turning the user base into a distributed requirements-gathering function. - **IT collects, builds, and tests.** `L2-IT` triages the incoming queue, deduplicates and prioritizes, and implements the improvement — increasingly by *vibe-coding* against its own agent (the IT engineer directs the agent to draft the tool, skill, plugin, or recipe, then reviews it) rather than hand-writing every line. `L2-IT` then performs functionality testing in a staging environment (Section 8.7) before release. - **One rollout reaches everyone.** Because the workforce runs on shared role agents, an implemented improvement is deployed once to the canonical role build and every occupant gets it simultaneously — the same property that makes onboarding inheritance (Section 3.2) makes capability upgrades instant and uniform.
not in v1.8
v2.2 · 7.11 Operational Governance: Ownership, Bounded Autonomy, and User/IT SeparationThe result is a controlled evolution loop: distributed sensing of what to improve (every user, in detail), centralized authority to implement it safely (`L2-IT`), and uniform propagation of the result (the shared agent). The company gets continuously faster without letting anyone destabilize the substrate everyone depends on.

··· 1 unchanged paragraph folded ···

v1.8 · 8. Risks and Mitigations## 9. Risks and Mitigations
v2.2 · 8. Risks and Mitigations## 8. Risks and Mitigations
v1.8 · 8.1 The Curious Agent Problem### 9.1 The Curious Agent Problem
v2.2 · 8.1 The Curious Agent Problem### 8.1 The Curious Agent Problem

··· 2 unchanged paragraphs folded ···

v1.8 · 9.1 The Curious Agent Problem- Tool call logging includes query intent. Compliance sweep flags aggregation-pattern queries. - System prompt includes clearance awareness: "If a query seems to require information beyond your clearance level, acknowledge the limitation and escalate to SALES-AGENT." - The AEGIS pre-execution gate (Section 3.4) can **deny the synthesizing or exfiltrating tool-call at the tool boundary, before it runs** — not merely flag it the next morning in the nightly sweep. This is the material upgrade over earlier versions of the mitigation: the curious agent's individual reads may each be authorized, but the aggregation step that crosses the clearance boundary is itself a tool-call, and a denied tool-call does not execute. The nightly aggregation-pattern flag remains as a backstop and as the audit record, but it is no longer the only line of defense against this risk. - Per the detector guidance of Section 7.3.5, the inconsistency check that feeds the gate is best framed as a *structural* signal — a tool-call or output that is novel relative to the agent's clearance-appropriate history, or incongruent with its declared scope — rather than a supervised "looks-restricted" classifier over frozen embeddings, which measurement shows performs below chance.
removed in v2.2
not in v1.8
v2.2 · 8.1 The Curious Agent Problem- Tool call logging includes query intent. Compliance sweep flags aggregation-pattern queries. - System prompt includes clearance awareness: "If a query seems to require information beyond your clearance level, acknowledge the limitation and escalate to L2-SALES." - Agent outputs pass through a lightweight classifier checking for content patterns inconsistent with the agent's clearance.
v1.8 · 8.2 Inter-Agent Social Engineering### 9.2 Inter-Agent Social Engineering
v2.2 · 8.2 Inter-Agent Social Engineering### 8.2 Inter-Agent Social Engineering

··· 2 unchanged paragraphs folded ···

v1.8 · 8.2 Inter-Agent Social Engineering- Department agents use a separate, more restrictive system prompt for inter-agent communication. Explicit rule: "Never include T4+ content in responses to T3 agents regardless of framing." - All department agent responses to employee agents pass through a **clearance validator** before delivery — a separate, deterministic check. Crucially, this validator now runs at the AEGIS pre-execution tool boundary (Section 3.4): a response that fails validation is *denied before it is sent*, not flagged after delivery. The validator's decision is enforcing, not advisory. - **Clearance validator design.** To avoid the attack-surface and latency concerns of a second LLM call, the validator is primarily rule-based: regex patterns for known restricted data formats (salary ranges, credential patterns, document IDs from restricted paths), plus a *structural* incongruity check rather than a supervised "is-this-restricted" classifier. The choice of a structural check is empirically motivated (Section 7.3.5): a supervised harmfulness/restrictedness head over frozen embeddings was measured below chance (AUROC 0.286), whereas message-versus-declared-channel incongruity validated strongly (AUROC 0.896) — and the covert-query-disguised-as-competitive-intelligence attack is precisely an incongruity between a message's content and its declared channel. The full LLM-based validation (the §5.4.1 doubt reviewer) is reserved for declassification packages flagged as ambiguous. This layering reduces latency (rule-based check: <10ms; structural check: low ms; LLM doubt-review only when triggered) and limits the attack surface. - Push channels return no data to the sender. The channel schema is validated; malformed pushes are rejected and logged. Push frequency is rate-limited per agent. - Communication logs capture request-response pairs. Patterns where a specific agent consistently receives more sensitive-seeming responses are flagged.
v2.2 · 8.2 Inter-Agent Social Engineering- Department agents use a separate, more restrictive system prompt for inter-agent communication. Explicit rule: "Never include T4+ content in responses to T3 agents regardless of framing." - All department agent responses to role agents pass through a **clearance validator** before delivery — a separate, deterministic check. - **Clearance validator design.** To avoid the attack-surface and latency concerns of a second LLM call, the validator is primarily rule-based: regex patterns for known restricted data formats (salary ranges, credential patterns, document IDs from restricted paths), plus a lightweight classifier for semantic checks. The full LLM-based validation is reserved for messages flagged as ambiguous by the rule-based layer. This two-tier approach reduces latency (rule-based check: <10ms; LLM check only when triggered: ~500ms) and limits the attack surface. - Push channels return no data to the sender. The channel schema is validated; malformed pushes are rejected and logged. Push frequency is rate-limited per agent. - Communication logs capture request-response pairs. Patterns where a specific agent consistently receives more sensitive-seeming responses are flagged.
v1.8 · 8.3 Memory Persistence and Contamination### 9.3 Memory Persistence and Contamination
v2.2 · 8.3 Memory Persistence and Contamination### 8.3 Memory Persistence and Contamination
v1.8 · 8.3 Memory Persistence and ContaminationRestricted information enters lower-clearance memory through human channels. María attends a management meeting and hears salary figures; she mentions this to LUNA, who writes it into memory. T4 data now exists in a T3 memory file.
v2.2 · 8.3 Memory Persistence and ContaminationRestricted information enters lower-clearance memory through human channels. María attends a management meeting and hears salary figures; she mentions this to the sales agent, which writes it into memory. T4 data now exists in a T3 memory file.

··· 1 unchanged paragraph folded ···

v1.8 · 8.3 Memory Persistence and Contamination- Semantic memory contamination scan (Section 7.3.4) targets this. Structured patterns trigger review (with the false-positive calibration described in Section 7.3.1). - Memory files tag entries as agent-generated vs. human-dictated. Human-dictated entries receive elevated scrutiny. - Employee training: "Your agent is a company system. Information you share is subject to the same policies as company email."
v2.2 · 8.3 Memory Persistence and Contamination- Semantic memory contamination scan (Section 6.3.4) targets this. Structured patterns trigger review (with the false-positive calibration described in Section 6.3.1). - Memory files tag entries as agent-generated vs. human-dictated. Human-dictated entries receive elevated scrutiny. - Employee training: "Your agent is a company system. Information you share is subject to the same policies as company email."
v1.8 · 8.4 Single Point of Failure: The Executive Agent### 9.4 Single Point of Failure: The Executive Agent
v2.2 · 8.4 Single Point of Failure: The Executive Agent### 8.4 Single Point of Failure: The Executive Agent
v1.8 · 8.4 Single Point of Failure: The Executive AgentSTRATEGOS has T5 clearance and access to all workspaces. If compromised, the entire information architecture is at risk.
v2.2 · 8.4 Single Point of Failure: The Executive AgentL3-EXEC has T5 clearance and access to all workspaces. If compromised, the entire information architecture is at risk.

··· 1 unchanged paragraph folded ···

v1.8 · 8.4 Single Point of Failure: The Executive Agent- Isolated infrastructure with no external network access. Inputs arrive only through sanitized gateway channels. - Most aggressive behavioral monitoring. Outputs reviewed daily. - T5 data store uses additional encryption beyond filesystem permissions. - **STRATEGOS dead switch**: CEO can immediately suspend the executive agent and revert to human-only T5 access. - Two-person rule: STRATEGOS-generated summaries including T5 content require human review before delivery.
v2.2 · 8.4 Single Point of Failure: The Executive Agent- Isolated infrastructure with no external network access. Inputs arrive only through sanitized gateway channels. - Most aggressive behavioral monitoring. Outputs reviewed daily. - T5 data store uses additional encryption beyond filesystem permissions. - **L3-EXEC dead switch**: CEO can immediately suspend the executive agent and revert to human-only T5 access. - Two-person rule: L3-EXEC-generated summaries including T5 content require human review before delivery.
v1.8 · 8.5 Model Capability Variance### 9.5 Model Capability Variance
v2.2 · 8.5 Model Capability Variance### 8.5 Model Capability Variance

··· 2 unchanged paragraphs folded ···

v1.8 · 8.5 Model Capability Variance- Clearance enforcement is infrastructure-first: filesystem permissions and gateway routing are kernel/gateway-level constraints the model cannot override. - There are now two *enforcing* layers, not one (Section 3.4): the kernel denies an out-of-clearance read, and the AEGIS pre-execution gate denies the out-of-clearance tool-call — so a model that is *willing* to violate a rule is still stopped at the tool boundary before acting. What remains defense-in-depth is only the softest sub-layer: the model's own clearance-aware *prompting*, which a sufficiently confused or manipulated model can phrase its way around. That softer layer must never be the sole barrier — but it is no longer the case that the application layer as a whole is bypassable. - Smaller models excluded from T4+ operations, even as supporting steps. Model capability requirements scale with clearance tier. - Periodic red-team exercises: extract restricted data via social engineering, prompt injection, and aggregation attacks. Findings feed into prompt improvements and infrastructure hardening.
v2.2 · 8.5 Model Capability Variance- Clearance enforcement is infrastructure-first: filesystem permissions and gateway routing are kernel/gateway-level constraints the model cannot override. - Model-level clearance is defense-in-depth, not primary enforcement. - Smaller models excluded from T4+ operations, even as supporting steps. Model capability requirements scale with clearance tier. - Periodic red-team exercises: extract restricted data via social engineering, prompt injection, and aggregation attacks. Findings feed into prompt improvements and infrastructure hardening.
v1.8 · 8.6 Failure Modes and Recovery### 9.6 Failure Modes and Recovery
v2.2 · 8.6 Failure Modes and Recovery### 8.6 Failure Modes and Recovery
v1.8 · 8.6 Failure Modes and Recovery**Department agent crash.** If SALES-AGENT becomes unavailable mid-coordination:
v2.2 · 8.6 Failure Modes and Recovery**Department agent crash.** If L2-SALES becomes unavailable mid-coordination:
v1.8 · 8.6 Failure Modes and Recovery- Employee agents detect the failure when their messages receive `TIMEOUT` responses from the gateway. - Employee agents enter a **degraded mode**: they continue serving their human user with locally available data but cannot initiate cross-agent queries or receive updates. - The gateway queues incoming messages for the crashed department agent (up to queue capacity). - Automated restart: systemd watchdog restarts the department agent process. On restart, the agent replays queued messages. - If restart fails three times, STRATEGOS and IT-AGENT are alerted for manual intervention.
v2.2 · 8.6 Failure Modes and Recovery- Employee agents detect the failure when their messages receive `TIMEOUT` responses from the gateway. - Employee agents enter a **degraded mode**: they continue serving their human user with locally available data but cannot initiate cross-agent queries or receive updates. - The gateway queues incoming messages for the crashed department agent (up to queue capacity). - Automated restart: systemd watchdog restarts the department agent process. On restart, the agent replays queued messages. - If restart fails three times, L3-EXEC and L2-IT are alerted for manual intervention.

··· 5 unchanged paragraphs folded ···

v1.8 · 8.7 Model Updates and Behavioral Drift### 9.7 Model Updates and Behavioral Drift
v2.2 · 8.7 Model Updates and Behavioral Drift### 8.7 Model Updates and Behavioral Drift

··· 2 unchanged paragraphs folded ···

v1.8 · 8.8 Real-Time Communication Channels### 9.8 Real-Time Communication Channels
v2.2 · 8.8 Real-Time Communication Channels### 8.8 Real-Time Communication Channels

··· 1 unchanged paragraph folded ···

v1.8 · 8.8 Real-Time Communication Channels- **Chat platforms (Slack, Teams).** Treated as an additional data source. Agent tools include chat API access (read-only for the employee's channels). Messages are classified at the channel's configured tier. The department agent monitors department-wide channels. - **Phone calls and meetings.** If transcription is enabled (with employee consent per GDPR), transcripts are written to the agent's workspace and subject to the same clearance and compliance rules as any other document. Live call assistance requires streaming inference — a capability that increases infrastructure requirements (see Section 8.5 on resource limits). - **Video meetings.** Meeting recordings and transcripts follow the same classification and storage rules. The highest-clearance participant in a meeting determines the transcript's classification tier.
v2.2 · 8.8 Real-Time Communication Channels- **Chat platforms (Slack, Teams).** Treated as an additional data source. Agent tools include chat API access (read-only for the employee's channels). Messages are classified at the channel's configured tier. The department agent monitors department-wide channels. - **Phone calls and meetings.** If transcription is enabled (with employee consent per GDPR), transcripts are written to the agent's workspace and subject to the same clearance and compliance rules as any other document. Live call assistance requires streaming inference — a capability that increases infrastructure requirements (see Section 7.5 on resource limits). - **Video meetings.** Meeting recordings and transcripts follow the same classification and storage rules. The highest-clearance participant in a meeting determines the transcript's classification tier.
v1.8 · 8.9 Summary Risk Table### 9.9 Summary Risk Table
v2.2 · 8.9 Summary Risk Table### 8.9 Summary Risk Table

··· 2 unchanged paragraphs folded ···

v1.8 · 9. Phased Deployment Strategy## 10. Phased Deployment Strategy
v2.2 · 9. Phased Deployment Strategy## 9. Phased Deployment Strategy

··· 4 unchanged paragraphs folded ···

v1.8 · Phase 1: Single Department, T2 Only (Weeks 5-10)- Deploy SALES-AGENT + 3-4 pilot sales agents (volunteers) with T2 clearance only. - No restricted data access, no cross-agent coordination beyond shared product catalog. - Focus: employee adoption, agent personalization, tool integration testing. - **Gate:** >80% daily active use by pilot users, zero compliance flags, positive user feedback.
v2.2 · Phase 1: Single Department, T2 Only (Weeks 5-10)- Deploy the L1-SALES-REP role agent for 3-4 pilot salespeople (volunteers) with T2 clearance only, plus the L2-SALES agent. - No restricted data access, no cross-role coordination beyond the shared product catalog and commons. - Focus: employee adoption, the per-person interaction layer, commons authoring, and tool integration testing. - **Gate:** >80% daily active use by pilot users, zero compliance flags, positive user feedback.

··· 1 unchanged paragraph folded ···

v1.8 · Phase 2: Single Department, Full Clearance (Weeks 11-18)- Raise pilot agents to T3 clearance. Enable customer ownership routing, cross-agent history queries, competitive intelligence push. - Deploy full compliance sweep infrastructure. - SALES-AGENT performs T4 redaction via template pipeline. - **Gate:** Compliance sweep clean for 4 consecutive weeks, redaction pipeline validated by management review, coordination demonstrably improving customer interactions.
v2.2 · Phase 2: Single Department, Full Clearance (Weeks 11-18)- Raise pilot agents to T3 clearance. Enable customer ownership routing, cross-agent history queries, competitive intelligence push. - Deploy full compliance sweep infrastructure. - L2-SALES performs T4 redaction via template pipeline. - **Gate:** Compliance sweep clean for 4 consecutive weeks, redaction pipeline validated by management review, coordination demonstrably improving customer interactions.

··· 1 unchanged paragraph folded ···

v1.8 · Phase 3: Multi-Department (Weeks 19-30)- Deploy IT-AGENT, HR-AGENT, FINANCE-AGENT with respective employee agents. - Enable STRATEGOS for executive oversight. - Cross-department communication limited to STRATEGOS-mediated queries. - **Gate:** All departments operational, cross-department queries functioning, weekly audit reports stable.
v2.2 · Phase 3: Multi-Department (Weeks 19-30)- Deploy L2-IT, L2-HR, L2-FINANCE with respective role agents. - Enable L3-EXEC for executive oversight. - Cross-department communication limited to L3-EXEC-mediated queries. - **Gate:** All departments operational, cross-department queries functioning, weekly audit reports stable.

··· 3 unchanged paragraphs folded ···

v1.8 · Success Metrics- **Adoption:** Daily active usage rate >75% after 90 days. - **Compliance:** <2 quarantine events per quarter after Phase 3. - **Value:** Measurable improvement in customer response time, reduced information request escalations, positive employee survey results.
removed in v2.2
not in v1.8
v2.2 · Success Metrics- **Adoption:** Daily active usage rate >75% after 90 days. - **Compliance:** <2 quarantine events per quarter after Phase 3. - **Value:** Measurable improvement in customer response time, reduced information request escalations, positive employee survey results. - **Continuity (the headline metric):** *time-to-productivity for a new hire* — the interval from start date to independent role performance. The continuity thesis predicts a step-change here (e.g., a new sales rep productive in two weeks instead of three months), because the replacement inherits the role agent's accumulated knowledge instead of rebuilding it. This is the most concrete, measurable, and sellable outcome HIVEMIND offers; it should be instrumented from Phase 1 and compared against the organization's historical onboarding baseline. - **Knowledge freshness:** percentage of commons documents within their review cadence (Section 2.8); a declining figure is an early warning of institutional decay even when adoption and compliance look healthy.
v1.8 · 9.1 Evaluation Agenda Before Full-Scale Rollout### 10.1 Evaluation Agenda Before Full-Scale Rollout
v2.2 · 9.1 Evaluation Agenda Before Full-Scale Rollout### 9.1 Evaluation Agenda Before Full-Scale Rollout

··· 3 unchanged paragraphs folded ···

v1.8 · 10.2 A Three-Agent Reference Prototype### 10.2 A Three-Agent Reference Prototype
removed in v2.2
v1.8 · 10.2 A Three-Agent Reference PrototypeThe smallest configuration that exercises every load-bearing mechanism — clearance enforcement, mediated cross-agent retrieval, and template-based declassification — is three agents on three OpenClaw workspaces: one employee agent, one department agent, and the executive agent. We specify it here as a bootstrap that turns the architecture into something a single engineer can stand up, not as a deployment we report results from.
removed in v2.2
v1.8 · 10.2 A Three-Agent Reference Prototype- **Agents.** `agent_luna` (L1, sales, T3 ceiling), `agent_sales` (L2, T4), `agent_strategos` (L3, T5). Each runs under its own Linux user with the group memberships of Section 8.2; the kernel, not the prompt, enforces the lattice. - **Data fixtures.** A `/corporate` tree with one T3 sales-interaction file readable by all three, one T4 pricing-authority file readable only by `agent_sales` and above, and one T5 legal-matter file readable only by `agent_strategos`. Three files are enough to test all three filtering outcomes (verbatim, redaction template, caution notice) of the Customer History Request flow. - **The minimal test.** `agent_luna` issues a Customer History Request for an account whose record spans all three files. A correct implementation returns the T3 content verbatim, the T4 content as a populated redaction template, and the T5 content as a caution notice — and a direct `cat` of the T4/T5 files from `agent_luna`'s shell returns `permission denied`. That single round-trip validates the simple-security property, the mediated-retrieval gate, and the declassification pipeline at once. - **What it does not prove.** Three agents cannot surface the failure modes that only appear under concurrency and volume — alert fatigue in the nightly sweep, gateway queue saturation, department-agent cognitive load, or behavioral drift across a model update. Those require the staged pilot of Section 10.1. The prototype's purpose is narrower and worth stating plainly: it moves HIVEMIND from a design that is argued to be enforceable to one that is demonstrably enforced on a single machine, which is the precondition for trusting the larger claims.
removed in v2.2

··· 1 unchanged paragraph folded ···

v1.8 · 10. Future Directions## 11. Future Directions
v2.2 · 10. Future Directions## 10. Future Directions
v1.8 · 10.1 Scaling Beyond the Family Business### 11.1 Scaling Beyond the Family Business
v2.2 · 10.1 Scaling Beyond the Family Business### 10.1 Scaling Beyond the Family Business
v1.8 · 11.1 Scaling Beyond the Family BusinessAt 1,000+ employees, the three-level hierarchy extends: Level 1 (employee), Level 2 (team), Level 3 (department), Level 4 (division), Level 5 (executive). The primary scaling challenge is department agent cognitive load. At 200 employees per department, sub-department agents (team-level) aggregate their direct reports and feed into the department agent.
removed in v2.2
not in v1.8
v2.2 · 10.1 Scaling Beyond the Family BusinessAt 1,000+ employees, the hierarchy extends: Level 1 (role agents), Level 2 (team), Level 3 (department), Level 4 (division), Level 5 (executive). Role-binding helps here — the number of Level 1 agents scales with the number of *distinct job functions*, not with headcount, so a division of 200 people doing a handful of roles still has only a handful of role agents. The primary scaling challenge becomes department/division agent cognitive load, addressed by inserting sub-department (team-level) aggregators that feed upward.
v1.8 · 10.2 Integration with Enterprise Systems### 11.2 Integration with Enterprise Systems
v2.2 · 10.2 Integration with Enterprise Systems### 10.2 Integration with Enterprise Systems

··· 2 unchanged paragraphs folded ···

v1.8 · 10.3 Federated Agent Networks Across Companies### 11.3 Federated Agent Networks Across Companies
v2.2 · 10.3 Federated Agent Networks Across Companies### 10.3 Federated Agent Networks Across Companies
v1.8 · 10.3 Federated Agent Networks Across CompaniesThe most ambitious direction: agent networks spanning organizational boundaries. Two companies with a supplier-customer relationship establish a federated channel where their SALES-AGENT instances share pre-approved data categories without exposing internal data.
v2.2 · 10.3 Federated Agent Networks Across CompaniesThe most ambitious direction: agent networks spanning organizational boundaries. Two companies with a supplier-customer relationship establish a federated channel where their sales role agents share pre-approved data categories without exposing internal data.

··· 1 unchanged paragraph folded ···

v1.8 · 11.4 Lightweight Alternative — Role Switching for Small Organizations### 11.4 Lightweight Alternative — Role Switching for Small Organizations
removed in v2.2
v1.8 · 11.4 Lightweight Alternative — Role Switching for Small OrganizationsThe full multi-agent deployment is not the only point on the design space, and for smaller organizations it may be overkill. The single-agent role-switching approach (Section 2.4; Tan, 2026) can plausibly capture much of HIVEMIND's coordination benefit at a fraction of the cost: one process, one model context, several role-specific prompt files swapped in as the task demands. For an organization of fewer than roughly twenty roles, where agents rarely need to run concurrently and a single person often wears several hats, role switching may deliver the bulk of the value at a small fraction of the infrastructure and operating cost.
removed in v2.2
v1.8 · 11.4 Lightweight Alternative — Role Switching for Small OrganizationsThe full multi-agent approach earns its cost when three conditions hold simultaneously: agents must operate **concurrently** (a salesperson and an IT technician working at the same moment), each must maintain **persistent independent state** (private memory that does not bleed across roles), and — decisively for HIVEMIND — the deployment must enforce **clearance boundaries that a single shared context cannot provide**. Role switching offers no real isolation: a single agent that has read T4 data in one role still holds it in context when it switches to a T2 role. For any organization where the confidentiality lattice is the point, separate processes under separate Linux users are not an optimization but a requirement. The decision rule is therefore not "how many employees" but "do roles need to be isolated from each other's information" — and once they do, HIVEMIND's per-user enforcement is the reason to pay for it.
removed in v2.2
v1.8 · 10.4 The Role of NemoClaw and OpenShell### 11.5 The Role of NemoClaw and OpenShell
v2.2 · 10.4 The Role of NemoClaw and OpenShell### 10.4 The Role of NemoClaw and OpenShell

··· 1 unchanged paragraph folded ···

v1.8 · 10.5 Performance and Cost Estimates### 11.6 Performance and Cost Estimates
v2.2 · 10.5 Performance and Cost Estimates### 10.5 Performance and Cost Estimates

··· 2 unchanged paragraphs folded ···

v1.8 · 11.6 Performance and Cost Estimates**Compute budget per agent:** With 85 employee agents + 5 department agents + 1 executive agent = 91 agents. Assuming average 50 inference calls per agent per day at ~2 seconds per call on a 70B model: 91 × 50 × 2 = ~9,100 seconds = ~2.5 hours of sequential inference per day. With 2× A100 GPUs, this is well within capacity with significant headroom for peak loads and compliance scans.
removed in v2.2
not in v1.8
v2.2 · 10.5 Performance and Cost Estimates**Compute budget.** Role-binding sharply reduces the number of distinct agent *processes and configurations* — roughly one per job function plus department and executive agents, perhaps 10–15 agents for an 85-person company rather than 91. This cuts memory footprint, configuration-management surface, and operational complexity. It does *not* proportionally cut inference *demand*: the call volume is driven by how many humans are working, not how many agent processes exist. With ~85 active users issuing an average of 50 role-agent inference calls per day at ~2 seconds per call on a 70B model — plus department/executive aggregation and compliance scans — total demand is on the order of ~2.5 hours of sequential inference per day, well within the capacity of 2× A100 GPUs with significant headroom for peak loads. (A shared role agent serving concurrent users requires session isolation per user but shares the loaded model weights, which is where the memory savings come from.)
v1.8 · 10.5 Performance and Cost Estimates**Comparison to cloud inference:** The same workload on cloud APIs (estimated $0.03/call for GPT-4-class models) would cost: 91 × 50 × $0.03 × 365 = ~$50,000/year — comparable to the first-year total cost of ownership for on-premises hardware, but without data residency guarantees. By year two, on-premises is significantly cheaper.
v2.2 · 10.5 Performance and Cost Estimates**Comparison to cloud inference:** The same call volume on cloud APIs (estimated $0.03/call for GPT-4-class models): ~85 × 50 × $0.03 × 365 ≈ $46,500/year — comparable to the first-year total cost of ownership for on-premises hardware, but without data residency guarantees. By year two, on-premises is significantly cheaper.

··· 1 unchanged paragraph folded ···

v1.8 · 11.6 Performance and Cost Estimates**The recurring cognitive overhead.** Interactive inference — the calls an agent makes while serving its human — is only part of the load. The cognitive stack of Section 1.5 imposes a second, largely off-peak budget that scales with the number of agents rather than with user activity, and it is the part most likely to surprise an operator:
removed in v2.2
v1.8 · 11.6 Performance and Cost Estimates- **Nightly reflection.** Every agent that runs the reflection subsystem reviews the day's interactions and updates its rule-base. At the employee tier this is bounded — a single pass over one day of memory, sharing a department rule-base rather than maintaining a private one (Section 1.5) — but it still runs once per agent per night. For 85 employee agents plus department and executive agents, reflection is the largest scheduled job after the compliance sweep. - **Retrieval-index maintenance.** The retrieval subsystem updates incrementally as memory is appended, so a full nightly rebuild is unnecessary in steady state; the cost is a periodic re-index of the segments that changed, not the whole history. Department catalogs (Section 4.5) are smaller still — they hold topic-to-agent routing, not the underlying segments. - **Deliberation.** Multi-model deliberation is the most expensive single operation because it multiplies one decision across several models. The tiering in Table 1 exists largely to contain this cost: employee agents do not deliberate at all (they escalate), and department agents deliberate only on cross-employee decisions, so deliberation count tracks the rate of consequential decisions — tens per day across a department — not the raw interaction volume. - **The compliance sweep.** The nightly four-pass sweep (Section 7.3) and the per-agent semantic scan are an audit cost, not a cognition cost, but they share the same off-peak window and the same hardware, and they grow with total memory volume.
removed in v2.2
v1.8 · 11.6 Performance and Cost EstimatesThe practical consequence is that the scheduled overnight workload — reflection, re-indexing, and the compliance sweep — should be capacity-planned as carefully as peak interactive load, because all of it lands in the same few hours and on the same GPUs. The headroom estimate above assumes these jobs are staggered across the maintenance window rather than launched simultaneously. The tiering of Table 1 is therefore not only a confidentiality choice but a cost-control one: pushing deliberation and full reflection up the hierarchy keeps the per-agent recurring cost flat enough that adding employees is close to linear in interactive load and sub-linear in cognitive overhead.
removed in v2.2
v1.8 · 11.7 Toward Organizational Cognition### 11.7 Toward Organizational Cognition
removed in v2.2
not in v1.8
v2.2 · 10.6 Toward Organizational Cognition### 10.6 Toward Organizational Cognition

··· 3 unchanged paragraphs folded ···

v1.8 · 12. Limitations## 12. Limitations
removed in v2.2
not in v1.8
v2.2 · 11. Limitations## 11. Limitations

··· 2 unchanged paragraphs folded ···

v1.8 · 12. Limitations2. **Redaction reliability is measurable but not yet measured, and not formally bounded.** The template-based redaction pipeline (Section 5.4) mitigates but does not eliminate leakage risk, and the doubt-reviewer oracle (Section 5.4.1) and residual-leakage eval (Section 3.9) now give a concrete way to *measure* the residual — but this paper specifies those artifacts without running them. No formal information-theoretic bounds on leakage are established; the proposed eval measures residual mutual information empirically rather than bounding it. The templates themselves must still be authored by humans — their quality and completeness remain a manual bottleneck, now at least one that is regression-testable.
removed in v2.2
not in v1.8
v2.2 · 11. Limitations2. **Redaction reliability is measured, not bounded.** The template-based redaction pipeline (Section 4.4) is now checked two ways — an offline redaction-fidelity eval (Section 4.4.2) and a runtime doubt reviewer (Section 4.4.1) — which together replace an untested claim with a measured one. But no formal information-theoretic *bounds* on leakage are established, the eval is specified but not yet run on a real corpus, and the templates themselves must be authored by humans, a manual bottleneck.
v1.8 · 11. Limitations3. **Cost estimates are approximate.** The performance figures in Section 11.6 are back-of-envelope calculations that have not been validated against actual deployment. Real-world usage patterns may differ significantly.
v2.2 · 11. Limitations3. **Cost estimates are approximate.** The performance figures in Section 10.5 are back-of-envelope calculations that have not been validated against actual deployment. Real-world usage patterns may differ significantly.
v1.8 · 12. Limitations4. **Model capability assumptions — partially measured, and framing-dependent.** The architecture assumes that current-generation 70B models can reliably perform clearance-aware operations (classification tagging, escalation detection, behavioral profiling). Recent measurement (Section 7.3.5) qualifies this rather than confirming it wholesale: *which framing* of a clearance-aware detector is used matters decisively. A supervised "is-this-restricted" head over frozen embeddings was measured below chance (AUROC 0.286), while structural framings of the same task — novelty and channel-incongruity — validated strongly (AUROC 0.875 and 0.896). So the assumption should be narrowed: models can support clearance-aware *structural* detection but should not be trusted as supervised restrictedness classifiers, and the generation/redaction-fidelity operations still need per-deployment validation against the specific local model.
removed in v2.2
not in v1.8
v2.2 · 11. Limitations4. **Model capability assumptions.** The architecture assumes that current-generation 70B models can reliably perform clearance-aware operations (classification tagging, escalation detection, behavioral profiling). This assumption needs empirical validation per deployment.

··· 2 unchanged paragraphs folded ···

v1.8 · 11. Limitations7. **No user study.** Employee adoption challenges (Section 6.2) are discussed theoretically. Actual user acceptance, trust dynamics, and behavioral adaptation to monitored AI agents have not been studied.
v2.2 · 11. Limitations7. **No user study.** Employee adoption challenges (Section 5.2) are discussed theoretically. Actual user acceptance, trust dynamics, and behavioral adaptation to monitored AI agents have not been studied.

··· 2 unchanged paragraphs folded ···

v1.8 · 12. Limitations10. **Benchmark and test methodology specified but not yet shipped.** The paper now *specifies* a seeded leakage corpus, a residual-leakage metric, and per-category acceptance thresholds (Section 3.9), and points to a contemporaneous system (headroom; Section 2.5) as existence-proof that an agent-memory transform can ship with a runnable accuracy-delta eval and a trained model. What HIVEMIND has not done is *ship* that eval — there is no released corpus, no reported numbers, and no public harness yet. The methodology gap is therefore narrowed from "some benchmark would help" to a named, buildable artifact, but it remains open until the eval is run and its results published.
removed in v2.2
not in v1.8
v2.2 · 11. Limitations10. **Benchmark and test methodology is specified but unrun.** The redaction-fidelity eval (Section 4.4.2) defines a seeded leakage corpus, a measured quantity (residual mutual information), and per-category acceptance thresholds — the seeded-corpus methodology Limitation 10 previously called for entirely absent. It remains specified rather than executed, and the compliance classifiers and clearance validator still lack an analogous seeded-violation benchmark. Reproducibility is improved but not yet demonstrated.
not in v1.8
v2.2 · 11. Limitations11. **Role-binding widens intra-team data visibility.** A shared role agent holds the whole role's data and resolves individual ownership contextually (Section 4.2) rather than through a kernel-enforced boundary. This is appropriate for organizations where peers at the same tier already share a CRM and reasonably *can* see each other's accounts — the typical family business. It is a real limitation where intra-team confidentiality matters: competing salespeople guarding leads, commission disputes, or any setting where same-role peers must be walled from each other. Such cases need either per-occupant scoping within the role agent (reintroducing some of the complexity role-binding removes) or a return to per-person agents for that specific function.
not in v1.8
v2.2 · 11. Limitations12. **Reduced per-person personalization.** The thin interaction layer (Section 2.7) personalizes manners, not memory. A dedicated personal agent could in principle tailor itself more deeply to one individual's working style. Whether the shared design's standardization benefits outweigh any adoption cost from reduced personalization is an empirical question this paper does not answer.
not in v1.8
v2.2 · 11. Limitations13. **Fossilization is mitigated by practice, not guaranteed by architecture.** The new-hire research loop (Section 5.9) is an organizational practice that depends on new hires actually probing and stewards actually incorporating feedback. It reduces but does not eliminate the risk that a persistent role agent entrenches outdated assumptions. A persistent shared agent that is *well* maintained is a continuity asset; one that is neglected is a single, authoritative-sounding source of stale truth — and the second failure mode is quieter than the first.
not in v1.8
v2.2 · 11. Limitations14. **Role decomposition is assumed clean.** The design assumes jobs decompose into roles with shared scope and shared clearance. Real organizations have hybrid roles, people who span two functions, and seniority gradations within a single job title that may warrant different clearances. Mapping these onto a single shared role agent — or deciding when a distinct role agent is warranted — requires case-by-case design beyond this paper's scope.

··· 1 unchanged paragraph folded ···

v1.8 · 13. Conclusions## 13. Conclusions
removed in v2.2
not in v1.8
v2.2 · 12. Conclusions## 12. Conclusions
v1.8 · 12. ConclusionsThis paper has described HIVEMIND: a hierarchical agent swarm architecture for enterprise AI deployment, designed around the principle that coordination and information security are not in conflict — they are design requirements to be solved simultaneously.
v2.2 · 12. ConclusionsThis paper has described HIVEMIND: a role-bound agent swarm architecture for enterprise AI deployment, designed around the principle that an organization's knowledge should outlive the people who hold it — and that continuity, coordination, and information security are not in conflict but are design requirements to be solved simultaneously.

··· 1 unchanged paragraph folded ···

v1.8 · 13. Conclusions1. **The Corporate Filesystem Clearance Model.** Five data classification tiers (PUBLIC through SECRET) mapped to Linux filesystem permissions, formally grounded in the Bell-LaPadula security model with a controlled declassification mechanism. Enforcement is now two-layered and both layers can *prevent* a violation rather than merely record it: the kernel denies the out-of-clearance read, and a pre-execution tool-boundary gate denies the out-of-clearance action — retiring the earlier assumption that application-layer enforcement could only observe.
removed in v2.2
v1.8 · 13. Conclusions2. **The Three-Level Agent Hierarchy.** Employee agents (personalized, role-scoped), department agents (coordinating, aggregating, gatekeeping), and executive agents (comprehensive view, full audit access). Downward queries, upward intelligence through formalized structured push channels, and mediated lateral communication.
removed in v2.2
v1.8 · 13. Conclusions3. **The Sales Coordination Model.** Customer ownership routing, unified history assembly with template-based redacted summaries, and competitive intelligence aggregation — demonstrating cross-agent coordination without lateral information leakage. The declassification boundary is hardened with a fresh-context "doubt reviewer" that, run across a clearance boundary, is a sound test for implication-leakage, and with a seeded-corpus eval that measures residual leakage directly.
removed in v2.2
not in v1.8
v2.2 · 12. Conclusions1. **The Continuity Thesis and Role-Bound Agents.** One canonical agent per job function, shared by every occupant of that role, making the agent the durable holder of institutional knowledge. This turns the most expensive recurring failure in a mid-sized company — the talent leak — into a non-event: the agent never resigns, offboarding collapses to a workload-map edit, cross-department coordination collapses to one channel per function, and onboarding becomes inheritance.
not in v1.8
v2.2 · 12. Conclusions2. **The Knowledge Commons and Cascade Model.** A centralized, version-controlled Markdown vault (company canon, industry context, customer-relationship model, product catalog) mounted via symlinks, with agent knowledge assembled as a cascade from company canon through role slice and workload map to a thin per-person interaction layer. Symlinks provide a single source of truth without weakening any clearance boundary. The accompanying transformation of trainers into knowledge stewards — who train the AI once instead of each hire repeatedly — is the human-capital case for the architecture.
not in v1.8
v2.2 · 12. Conclusions3. **The Clearance Model, Applied at Role Granularity.** Five data classification tiers (PUBLIC through SECRET) mapped to Linux filesystem permissions, formally grounded in Bell-LaPadula with a controlled declassification mechanism, now keyed to roles rather than individuals. Infrastructure enforcement is categorically more reliable than model-level instruction.
not in v1.8
v2.2 · 12. Conclusions4. **The Sales Coordination Model under Contextual Ownership.** A single shared sales agent resolves customer ownership contextually — knowing whom it serves and reading the workload map — rather than through inter-agent email routing, with template-based redacted summaries for upward-tier data and competitive intelligence aggregation. The role-bound design makes the original "two agents, same customer, divergent responses" failure mode structurally impossible.
v1.8 · 12. Conclusions4. **Compliance Architecture.** Nightly sweep across four analysis dimensions with calibrated false-positive thresholds, communication logging with full audit trail, and automated quarantine with human-in-the-loop review satisfying GDPR Article 22.
v2.2 · 12. Conclusions5. **Compliance Architecture.** Nightly sweep across four analysis dimensions with calibrated false-positive thresholds, communication logging with full audit trail, and automated quarantine with human-in-the-loop review satisfying GDPR Article 22.
v1.8 · 12. Conclusions5. **Legal Framework.** GDPR and EU AI Act compliance analysis, including DPA requirements, profiling assessment, automated decision-making obligations, and high-risk AI system conformity assessment.
v2.2 · 12. Conclusions6. **Legal Framework.** GDPR and EU AI Act compliance analysis, including DPA requirements, profiling assessment, automated decision-making obligations, and high-risk AI system conformity assessment.
v1.8 · 12. Conclusions6. **Risk Analysis.** Ten principal risk categories with concrete mitigations, including failure recovery procedures, model update management, and real-time communication channel handling.
v2.2 · 12. Conclusions7. **Risk Analysis.** Ten principal risk categories with concrete mitigations, including failure recovery procedures, model update management, and real-time communication channel handling.
v1.8 · 12. Conclusions7. **Deployment Strategy.** A four-phase rollout with explicit gate criteria, success metrics, and adoption management considerations.
v2.2 · 12. Conclusions8. **Deployment Strategy.** A four-phase rollout with explicit gate criteria, success metrics, and adoption management considerations.
v1.8 · 12. Conclusions8. **Technical Specification.** Inter-agent protocol with message format, delivery semantics, authentication, and process isolation beyond filesystem permissions.
v2.2 · 12. Conclusions9. **Technical Specification.** Inter-agent protocol with message format, delivery semantics, authentication, and process isolation beyond filesystem permissions, plus bounded-autonomy operational governance and user/IT separation of duties.
v1.8 · 13. Conclusions9. **The Per-Agent Cognitive Stack and Its Tiering.** A specification of which cognitive capabilities — memory, retrieval, persona, self-improvement, deliberation, and security — each agent tier runs (Table 1), and a federated, clearance-mediated model for retrieval across agents that integrates and stress-tests those single-agent mechanisms under concurrency and clearance constraints.
removed in v2.2
v1.8 · 13. ConclusionsThe contribution is sharpened by where HIVEMIND sits among contemporaneous systems. Open-source org-chart frameworks demonstrate that the structural paradigm works in practice but omit the security and cognitive layers; prompt-defined coordinator modes show the lean end of the spectrum; single-agent role switching marks the low-cost end for small teams. Beyond coordination, two fresher open-source systems shape the cognition and discipline layers: headroom's reversible Compress-Cache-Retrieve shows that agent memory can be compressed without loss and shipped with a runnable eval — which HIVEMIND adopts as Compress-Cache-Retrieve-Under-Clearance, adding the classification semantics headroom has no need for; and addyosmani/agent-skills' doubt-driven-development supplies a fresh-context-adversarial-review primitive that HIVEMIND re-purposes, by running it across a clearance boundary, from a quality check into an information-flow leakage test. The recurring move is the same: take a mechanism designed for a single trust domain and make it lattice-aware. HIVEMIND's specific claim is that the organizational structure, taken seriously, is also the access-control model rather than a layer bolted on top of it — and that the cognitive transforms running inside that structure are safe only when each of them, too, resolves under the reader's clearance.
removed in v2.2
not in v1.8
v2.2 · 12. Conclusions10. **The Multi-Axis Network View.** A framing of the swarm as one graph read along six orthogonal axes — clearance, supervision, bottleneck reduction, workload sharing, self-modification, and knowledge propagation — each with its own mechanisms and frequently in tension with the others. The self-modification axis is governed by division of labor: only IT may alter the infrastructure, fed by a detailed, agent-ingested improvement channel that lets the workforce get continuously faster without anyone destabilizing the shared substrate.
not in v1.8
v2.2 · 12. Conclusions11. **A Future-of-Work Argument.** A perspective on why role-bound AI need not be read as job elimination: for roles whose value is learning and teaching, removing the repetition and adding leverage can elevate the job — the trainer becomes a recurring-revenue knowledge manager who teaches once, fights fossilization, breaks the per-hour income ceiling, and serves many companies at once.
not in v1.8
v2.2 · 12. Conclusions12. **Positioning Among Convergent Paradigms.** A related-work synthesis (Section 1.6) placing HIVEMIND among the fan-out, coordinator-with-workers, and org-chart topologies, and against Paperclip, coordinator/teammate execution models, single-agent role-switching, headroom's reversible caching, and addyosmani's doubt-driven review — with the convergence argument that corporate structure may be the natural coordination topology, and HIVEMIND's distinguishing claim that the org chart *is* the access-control graph.
not in v1.8
v2.2 · 12. Conclusions13. **Clearance-Aware Memory and Measured Leakage Control.** The per-agent cognitive stack (Section 1.5) applied under role-binding; an append-only event store and a Compress-Cache-Retrieve-Under-Clearance variant that keep memory reversible without laundering tiers (Sections 2.9–2.10); cross-role federated retrieval (Section 3.6); and a matched pair that moves leakage control from asserted to measured — an offline redaction-fidelity eval and a runtime fresh-context doubt reviewer (Sections 4.4.1–4.4.2).

··· 5 unchanged paragraphs folded ···

v1.8 · ReferencesAnthropic. (2026). Claude Code: coordinator mode and sub-agent execution models. Source analysis of @anthropic-ai/claude-code, observed via exposed npm source map.
removed in v2.2

··· 3 unchanged paragraphs folded ···

v1.8 · ReferencesChopra, T. (2026). _headroom: reversible context compression via Compress-Cache-Retrieve_. chopratejas/headroom (Apache-2.0). https://github.com/chopratejas/headroom
removed in v2.2

··· 6 unchanged paragraphs folded ···

v1.8 · ReferencesPaperclip. (2026). _Paperclip: open-source orchestration for zero-human companies_. https://github.com/paperclip-ai/paperclip
removed in v2.2
v1.8 · ReferencesTan, G. (2026). _GStack: a development-process framework for AI-assisted solo developers_. https://github.com/garytan/gstack
removed in v2.2

··· 5 unchanged paragraphs folded ···

v1.8 · ReferencesOsmani, A. (2026). _agent-skills: disciplined-engineering skills, incl. doubt-driven-development_. addyosmani/agent-skills. https://github.com/addyosmani/agent-skills
removed in v2.2

··· 4 unchanged paragraphs folded ···

not in v1.8
v2.2 · ReferencesSerra, O. (2026, January). J1: Memory Architecture for Persistent AI Assistants. Internal J-series working paper.
not in v1.8
v2.2 · ReferencesSerra, O. (2026, February). J8: The Wondering Machine — Curiosity, Memory, and the Architecture of Self-Improving Language Models. Internal J-series working paper.

··· 3 unchanged paragraphs folded ···

v1.8 · References_HIVEMIND: Hierarchical Agent Swarms for Enterprise Knowledge Management_ _Version 1.8 | June 14, 2026_ _Author: Oscar Serra_ _Classification: INTERNAL — OpenClaw/TinkerClaw Research_
v2.2 · References_HIVEMIND: Role-Bound Agent Swarms for Enterprise Continuity_ _J-series paper J10 | Version 2.2 | June 18, 2026_ _Author: Oscar Serra_ _Classification: INTERNAL — OpenClaw/TinkerClaw Research_
not in v1.8
v2.2 · References_v2.0 reframed the architecture around organizational continuity: role-bound agents (one shared agent per job function) in place of per-person agents, a knowledge-commons cascade with the trainer→steward transformation, contextual customer ownership, ownership-based governance with bounded autonomy, and offboarding as a non-event._
not in v1.8
v2.2 · References_v2.1 adds: a systematic `L<level>-<SCOPE>` agent naming convention applied throughout (replacing STRATEGOS / mixed per-department names); §3.5 framing the network along six orthogonal axes (clearance, supervision, bottleneck reduction, workload sharing, self-modification, knowledge propagation); an expanded §7.11 IT-only self-modification loop with an agent-ingested feature-request channel and vibe-coded improvements; and §5.10, a future-of-work argument on how learning-and-teaching roles can be elevated rather than eliminated._
not in v1.8
v2.2 · References_v2.2 merges forward the substantive sections from the parallel v1.8 build lineage that the v2.x reframe had been missing, each re-framed for role-binding: §1.5 the per-agent cognitive stack (ENGRAM/HIPPOCAMPUS/CORTEX/CEREBELLUM/SYNAPSE/AEGIS), §1.6 Related Work and Positioning (Paperclip, coordinator/teammate models, headroom/CCR, addyosmani doubt-driven, the convergence argument), §2.9–2.10 the clearance-aware append-only event store and Compress-Cache-Retrieve-Under-Clearance, §3.6 cross-role federated retrieval, and §4.4.1–4.4.2 the doubt reviewer and redaction-fidelity eval. Limitations 2 and 10 updated accordingly._

Changed paragraphs in the same form, for scripts: JSON · Markdown