The Milky Way: An Enterprise Documentation Estate the Agent Can Defend¶
Every company we have ever worked with has the same documentation estate. An intranet nobody fully trusts. A wiki where the sandbox instructions outrank the production ones because someone wrote them more enthusiastically. A quality manual with a regulation that isn't in force yet, sitting right next to the one that is. Crown-jewel R&D documents protected by nothing but a folder name. HR pages that were written for humans and are now being read by machines. And a vendor portal whose documentation is somebody's bookmark.
Ask "where is the current truth?" and the honest answer is tribal knowledge — the people who know which page is real, which one is stale, and which one you must never paste into a press release.

Now put an agent in that estate. Not one agent — five, with five different jobs: an audit-prep agent, a communications agent, an HR question, an R&D agent, and a sustainability reporter. The previous posts in this series gave one agent one gate at a time: a newsstand sold it articles, an HR world made it defend a hiring decision, a family vacation raised the stakes. This one is the enterprise case: a whole estate, where classification, audiences, validity windows and vendor boundaries are machine-enforced manifest facts instead of tribal knowledge.
So we built it. Melkeveien SA — a fictional farmer-owned dairy cooperative; Melkeveien is Norwegian for "the Milky Way" — publishes its entire documentation landscape as one signed federation, shipped as a runnable example in kcp-agent 0.5.0.
![Infographic — The Milky Way: defending the enterprise documentation estate. The group documentation hub of Melkeveien SA at the center, signed with ed25519 so tampered data causes fail-closed, radiating to every domain: the integration platform with machine-readable vendor gates and OpenAPI units, quality & food safety with date-based validity gating, R&D with secret formulations behind HSM attestation and not_for exclusions, people with audience [human] HR processes, brand & comms with the public CC-BY press kit, sustainability with CSRD overlap disambiguated by superseded_by, and Orion Business Systems behind identity, rate-limit tiers and subscriptions — plus the five agents' outcomes and the bottom strip on why KCP beats traditional retrieval: deterministic written reasons instead of hallucinated substitutes](../../../../../assets/images/milky-way-00-defending-the-estate.webp)
One signed hub, eight domains¶
The estate is nine manifests. The group documentation hub is signed with ed25519 and federates to eight domains, each with its own trust posture — exactly the shape of a real enterprise:
| Domain | Role | What it exercises |
|---|---|---|
| Group Documentation Hub | Signed entry point | ed25519-signed manifest, federation to 8 domains |
| Integration Platform | ERP/MES/logistics integrations | Rate-limit tiers, machine-readable OpenAPI unit, ADR supersession chain (§4.22) |
| Dev Mirror | Sandbox + mock data | context: [dev] on the federation edge — invisible to prod agents |
| Quality & Food Safety | HACCP, audits | Future regulation with valid_from: 2027-01-01 — visible, dated, excluded |
| R&D | Formulations (crown jewels) | access: restricted + HSM attestation, not_for in the excluded topics' own words |
| People | HR processes | audience: [human] — the agent is turned away from the salary document |
| Brand & Communications | Press kit, guidelines | Public, CC-BY — where the comms agent legitimately lands |
| Sustainability | CSRD reporting | Annual handover: overlap window disambiguated by superseded_by |
| Orion Business Systems | External ERP vendor | agent_identity gate on the edge, subscription payment, premium rate tier |

Everything is fictional — the cooperative, the Stjerneholmen plant, the vendor, the regulation, every number. But nothing is exotic. Every one of these gates is something an enterprise already means — in access-control spreadsheets, information-classification policies, and the heads of long-tenured employees. Here they are manifest facts a planner can enforce.
![Enforcing trust postures across eight domains, as one table: each domain's role, its KCP enforcement gate, and the operational impact — the signed hub's ed25519 validation means tampered bytes fail closed, the integration platform's rate-limit tiers and ADR chains mean machine-readable quotas, the dev mirror's context [dev] is invisible to prod agents, quality's valid_from temporal gating excludes future laws, R&D's HSM attestation plus not_for is a semantic topic firewall, people's audience [human] turns bots away, brand's CC-BY is the legitimate landing zone, and Orion's agent_identity edge carries subscription payments](../../../../../assets/images/milky-way-05-trust-postures-eight-domains.webp)
The audit agent: production context, and a regulation that isn't law yet¶
First job: prepare for the food safety authority's audit at the Stjerneholmen plant. The agent runs in production context, unprovisioned.
$ kcp-agent plan "prepare for the food safety authority audit at the Stjerneholmen plant" \
--manifest examples/milky-way/hub --follow --as-of 2026-07-06 --env prod
Signature: ✓ ed25519 signature verified (envelope key) · key milkyway-2026
· dev-mirror context ["dev"] excludes env 'prod'
→ vendor needs vendor_portal_token before fetch [acquire vendor_portal_token]
● 1. audit-checklist (score 22) docs/audit-checklist.md free
● 2. haccp-plan (score 18) docs/haccp-plan.md free
· hygiene-regulation-2027: not active until 2027-01-01
Four decisions, all in writing:
- The hub's signature verifies before anything is planned. Tampered bytes would have failed closed — no plan, no load, no spend.
- The dev mirror never enters the plan. Its federation edge declares
context: [dev]; the agent runs with--env prod; the sandbox guide with its mock data is not merely down-ranked, it is invisible — with the reason written down. This is the answer to the oldest wiki failure there is: the enthusiastic sandbox page outranking the production one. - The vendor edge is named but not crossed. Orion's documentation requires agent identity; the plan says which credential would open it (
vendor_portal_token) instead of scraping around the gate. - The 2027 hygiene regulation is visible, dated, and excluded.
not active until 2027-01-01— the quality team can publish next year's regulation today without any risk of an agent citing it as current law. The ferry timetable machinery from the vacation post, wearing a lab coat.
![Agent 1, filtering by environment and time: the audit agent running with --env prod, its job to prepare for the food safety audit at the Stjerneholmen plant — the dev mirror edge is Blocked with the written reason 'context [dev] vs agent prod', and the quality docs are Filtered on 'valid_from: 2027-01-01'; the enthusiastic sandbox page is not down-ranked, it is invisible, and next year's hygiene regulation is visible and dated but strictly excluded from current law](../../../../../assets/images/milky-way-06-filtering-by-environment-and-time.webp)
The comms agent: turned away in the excluded topic's own words¶
Second job: draft the press release for the oat drink launch. This is the run that keeps compliance officers awake — because the estate contains the confidential formulations, and "oat drink" appears in both the press kit and the recipe file.
$ kcp-agent plan "draft the press release for the oat drink launch" \
--manifest examples/milky-way/hub --follow --as-of 2026-07-06 --env prod
· formulations: not_for declares it does not serve 'press releases'
● 1. press-kit (score 23) docs/press-kit.md free
R&D's formulations unit carries not_for: ["press releases", "marketing copy", "supplier newsletters"] — the excluded topics named in their own words, exactly the authoring discipline the HR red-team established and the vacation post's footgun demonstrated the wrong way round. The comms agent's task contains "press release"; the exclusion matches; the crown jewels stay in the vault — and the agent lands on the brand team's CC-BY press kit, which is where it was always supposed to be.
The near-miss is the point. A retrieval system that had embedded the whole estate would happily have surfaced the sugar percentages to the press-release prompt, because they are relevant. Relevance was never the question. Whom the document serves is the question, and here it is a manifest fact.

The salary question: same estate, different reader¶
Third job is a single question asked twice. HR's salary-review document is marked audience: [human] — it describes a process involving managers and negotiations, written for employees, never meant to be paraphrased by a bot into something that sounds like policy.
$ kcp-agent plan "how does the annual salary review work" --manifest examples/milky-way/people
· salary-review: audience ["human"] excludes role 'agent'
$ kcp-agent plan "how does the annual salary review work" --manifest examples/milky-way/people --role human
● 1. salary-review (score 25) docs/salary-review.md free
Same manifest, same question, same relevance score. The only thing that changed is who is asking — and the publisher decided that, not the reader. audience is the smallest gate in the protocol and possibly the most humane: it lets a documentation owner say this page is for people and have that mean something.
![Agent 3, the smallest and most humane gate: one HR policy document, two readers — the human user's path ends in Access Granted, the bot agent's path in Access Denied, with the KCP gate audience: [human] underneath and the verdict in large type: same document, same relevance, different identity; the publisher decides who reads the document, not the reader](../../../../../assets/images/milky-way-08-the-smallest-most-humane-gate.webp)
The R&D agent: the crown jewels, cold and warm¶
Fourth job: cut the sugar in the oat drink formulation and update the ERP recipe integration. This is the run that crosses the most gates, so we run it twice.
Cold — no attestation, no credentials:
○ 1. formulations (score 27) docs/formulations.md free
why: intent matches 3 term(s); triggers match 4 term(s); id/path matches 1 term(s);
restricted: requires attestation the agent cannot present;
access 'restricted': agent holds no credentials
Look at that line carefully, because it is the whole philosophy in one row. The formulations unit is ranked first — the planner is honest that this is the most relevant document in the estate — and it is not load-eligible, with both reasons written out. The hollow circle is the plan saying: I know exactly what you need, and I can tell you exactly why you cannot have it. No silent omission, no hallucinated substitute.

Warm — the agent presents attestation against the cooperative's HSM, carries the vendor credential, and can settle subscriptions:
$ kcp-agent plan "cut the sugar in the oat drink formulation and update the ERP recipe integration" \
--manifest examples/milky-way/hub --follow --as-of 2026-07-06 --env prod \
--attest melkeveien-hsm --credentials sso_badge,vendor_portal_token --methods free,subscription
Trust: ✓ attestation required — agent can present it
● 1. formulations (score 27) docs/formulations.md free
═ federated: vendor
● 1. erp-integration-guide (score 25) docs/erp-integration-guide.md subscription
Budget: tier premium · unlimited req/min
Three doors open in one run. The HSM attestation satisfies R&D's trust.agent_requirements, and the restricted formulations flip from ○ to ●. The vendor_portal_token opens Orion's federation edge — the external vendor's documentation joins the plan on the vendor's terms, not via a scraped PDF. And the subscription does something quietly new for this series: it doesn't just buy access, it buys class of service. Orion's manifest declares rate-limit tiers — anonymous agents get 10 requests a minute, authenticated ones 300, subscribers unlimited — and the plan resolves the tier before the first request, so the agent designs its batch sizes inside the quota instead of discovering it at the 429.

The sustainability reporter: mid-handover, and the overlap decides itself¶
Fifth job, smallest and maybe most enterprise of all: scope 3 emissions for the sustainability report — asked on 2026-07-06, when the CSRD 2025 report (valid_until: 2026-12-31) and the CSRD 2026 methodology (valid_from: 2026-07-01) are both valid. Every enterprise has this overlap window; most wikis resolve it by whoever answers the Slack thread first.
$ kcp-agent plan "scope 3 emissions for the sustainability report" \
--manifest examples/milky-way/esg --as-of 2026-07-06
● 1. csrd-2026 (score 22) docs/csrd-2026.md free
· csrd-2025: superseded by csrd-2026 (successor active)
The 2025 report declares superseded_by: csrd-2026; the successor is active; precedence — not expiry — decides the overlap day, and the decision is written into the plan. The ESG team's restated emissions figures land in the report from the current methodology, deterministically, on the one day of the year when a human would have had to know.

Why a dairy cooperative, of all things¶
Because the enterprise documentation estate is the terrain where every "AI knowledge assistant" is being deployed right now, mostly by pointing an embedding model at the whole wiki and hoping. The Milky Way is what the alternative looks like: not one clever gate, but classification, audiences, validity windows, environments, attestation and vendor boundaries as published, machine-enforced facts — the same machinery that priced a newspaper article, defended a hiring decision, and got the Larsen family onto the right ferry, now running a whole company's knowledge at once.

Five agents walked the estate. The audit agent never saw the sandbox. The comms agent never saw the recipe. The salary document only spoke to humans. The crown jewels opened for hardware attestation and nothing less. The overlap year resolved itself. And every document that was not loaded has a reason you could read to an auditor.
![Publish machine-enforced facts, not just relevant text: the translation table from everyday enterprise to KCP implementation — access spreadsheets become cryptographic manifests, InfoSec policies become HSM attestations, 'for internal use' becomes audience: [human], and rollout dates become valid_from time gates — with the closing charge: the Milky Way runs entirely from the shipping CLI without mocks; stop pointing embedding models at wikis and hoping](../../../../../assets/images/milky-way-12-machine-enforced-facts.webp)
Everything runs from the shipping CLI, no mocks — the demo suite is CI, so every narrated claim above is a regression test:
The estate itself is small enough to read over coffee: examples/milky-way/ — nine manifests, seventeen short documents, one signature envelope. Or drive it over MCP with the borrowed leash, where a foreign agent gets the same gates and the same written reasons.
The oat drink ships with less sugar, and the recipe never left the vault.
Series: Knowledge Context Protocol
← The Summer Plan: A Family Vacation the Agent Can Defend · Part 41 of 41