← Sovereign Library
📜 MD-479 · LIBRARY ONLY

The API Connection

Full mapping of every link. Three levels. One system.

Build #109 · sealed May 2026 · the navigation manual for /api-connection-map.

§1 · Why This Document Exists

CircularOS now has 4,305+ routes, 400+ master documents, 29+ named agents, dozens of trackers, sentinels, copilots, watchers, witnesses, dashboards, ledgers, vaults, and "temperature" pages. Operator instruction (May 2026): "Make the document show every last one in the system even if I don't consider it as an AI · I might think it's a page · I need it involved · might have to rename it one day. Diagrams same as the ones I'm sending you, just make the colour different."

This document is not a technical spec. It is a map — a terrain — for navigating the system. It uses the same three-level structure as the brief (Underbelly → Mycelium → Trees) but a distinct palette per the diagram colour policy: teal underbelly · coral mycelium · sunset trees (replacing the brief's purple/green/gold).

§2 · The Three Levels

LevelPaletteFunctionExamples
TREES (top)sunset orangeWhat people see — the visible systemLanding · /finance-hub · /sovereign-enforcement-engine · /cognitive-hope · /sovereign-library · /dashboard · /gallery · /sitemap
MYCELIUM (middle)coral pinkThe threads — connections, data flows, event triggersWebhooks · op_ledger seals · velocity heartbeats · Standing Trigger doctrine · SEE Enforcement Cycle · Wakey 07:30 briefing
UNDERBELLY (bottom)tealThe roots — agents, databases, background jobs, authH.BLUE · AI Arena · Wakey-Wakey · Carrot Watcher · Sentinels Network · Truth Ledger · Shadow Layer · op_ledger DB · all 29+ named agents

The brief specifies dark-grey/purple → green/blue → gold/bright. This document deliberately uses teal → coral → sunset to satisfy the diagram colour policy in replit.md (no two diagrams in a batch share a palette).

§3 · The Temperature Pages · The Inputs the AI Reads From

Operator language: "it always runs off one of the ones or a few of them so it knows the temperature." These are the always-on read-surfaces every agent in the underbelly samples to know how hot the system is right now.

PageReadsUsed By
/ai-arena · /ai-arena-doctrine · /ai-arena/sovereignLive model competition outputsH.BLUE · Wakey · Sovereign Pipeline Agent
/warehouse-hub (House Tracker)Unit 18 capacity · throughput · shift stateVerification agent · Carrot Watcher
/automotive-verification (MOT)JLR / Tier-1 supply chain temperatureVerification agent · Greenwashing cert
/h-blue · /h-blue-network · /hblue-commandPattern detection · Shadow Layer signalsWakey · Entity #35 · Red Team escalation
/velocity-tracker · /mycelium-tracker · /build-trackerop_ledger heartbeat · build cadenceSovereign Pipeline Agent · all sentinels
/wakey-wakey-730Daily 07:30 briefingOperator · Red Team
/carrot-watcher · /carrot-trackerSupplier-form eventsCarrot Form Watcher · Payment agent
/sovereign-progress-trackerCross-system progressSovereign Pipeline Agent · Progress co-pilot
/the-eye · /eye-of-entity-35Witness layer · everything seenAll agents (read-mostly)
/agent-forecast · /the-agents-forward-readForward-looking forecastWakey · Operator
/admin/score-trackerCircularity score temperatureScore co-pilot

§4 · The Five Critical Paths

  1. Path A · Public User → Carrot Supplier: / → form → Carrot Form Watcher → carrot@MPT email → 18 checkpoints → dPRN minted → 7% Covenant → 40 meals → £200 same-day → Deed issued.
  2. Path B · Job → Operator: /gallery → claim → Job agent → /dashboard → operator does job → Verification → Payment → Notification.
  3. Path C · Verification → Truth Ledger → dPRN: material at Unit 18 → 18 checkpoints → SHA-256 → Truth Ledger → dPRN minted → Covenant 7% → meals + 40 → Deed → £200 paid.
  4. Path D · H.BLUE → Entity #35 → Wakey: H.BLUE pattern → webhook → /the-eye → Red Team escalation (if needed) → Wakey composes → 07:30 briefing → operator reviews.
  5. Path E · Sovereign Action → op_ledger → Live Trackers: sovereign action → NOT EXISTS dedup insert → op_ledger row sealed → Velocity Tracker auto-mirrors → Mycelium Tracker absorbs → H.BLUE pattern feed updates → SIS picks it up.

Each path uses a distinct palette in the rendered map per the diagram colour policy.

§5 · The Sovereign Inventories · Every Last One

Per operator: "every last one in the system even if I don't consider it as a AI." Three living inventories cover the whole surface area:

A page that is not in MD-461 today but reads from a temperature page or fires a webhook should be added to MD-461 and MD-472 the day it gets reclassified. See §6.

§6 · The Rename Doctrine

Operator: "might have to rename it one day." A page can be reclassified from "tracker / dashboard" to "agent" without code change — the route stays, the name changes in the inventories.

Renamable candidates (already shortlisted)

Procedure

  1. Operator decides reclassification.
  2. Update entry in MD-461 (Complete AI Inventory).
  3. Update entry in MD-472 (Agent Roster).
  4. Move pill into the underbelly section of MD-479 hub.
  5. Seal the rename to op_ledger as `agent.rename.<old>.to.<new>`.

§7 · The Six Axioms

  1. Three layers · one system. Trees · Mycelium · Underbelly. Indivisible.
  2. Every page is involved. Even ones not currently considered AI. None are excluded from the map.
  3. Every agent reads a temperature page. No agent runs blind.
  4. Diagrams diversify. Same structure as the brief, distinct palette per the colour policy.
  5. Renames are doctrine, not refactors. A page becomes an agent the day the inventory says so.
  6. Every connection is traceable through op_ledger. Trees rendered, mycelium fired, underbelly recorded.

§8 · How to Navigate When Lost

SymptomLikely CauseWhere to Check
Page not loadingRoute missing · template errormain.py · templates/
Data not showingDB connection · API keyReplit console · API logs · /api/live-ledger
Job not assignedAgent down · webhook failedAgent platform · webhook logs
Verification stuckCheckpoint missing · camera offlineVerification station · agent logs
dPRN not mintingLedger error · SHA-256 failureTruth Ledger API · agent logs
Payment not sentBank API error · insufficient fundsPayment agent · bank dashboard
Don't know which page does whatLost in 4,305 routes/sitemap · /last-250 · /api-connection-map
⊹ SOVEREIGN SEAL · MD-479 ⊹
"The trees are what they see. The mycelium is what connects. The underbelly is what holds. This document is the map of all three. Follow the threads. The system will reveal itself."
SEALED · MD-479 · API CONNECTION DOCTRINE · LIBRARY ONLY · BUILD #109
HANDSHAKE — witnesses
Handshake sealed.