Skip to content

The Endocrine System

Date: 2026-06-14 Status: Doctrine — live and on by default on manoir (2026-06-15)

Sanctum has, for a while now, been built as a body. Not as a cute label slapped on afterward — as a working division of labor, one organ-system per concern, each with its own metaphor and its own page. By mid-2026 the body had six systems, and exactly one was missing. This page adds it.

SystemMetaphorWhat it is
SkeletonRust bonesThe hardened structural core — sanctum-rs: castellan, proxyd, cathedral, watchdog. Load-bearing, slow to change, never guesses.
MusclePython muscleThe feature-organic tissue — sentinels, R2D2, the services still discovering what they are. Fast, adaptive, graduates to bone when it stops moving.
FasciaConnective tissueThe bus, the vault, endpoint discovery — what wraps the bones and muscle and lets them act as one without fusing them rigidly.
NervousFast signalingForce Flow — point-to-point, electrical, now. The page at 3 AM.
ImmuneDetect → healThe Living Force — detect, classify, isolate, diagnose, treat, verify, report, learn.
MindMemory + awarenesschitti — the samskara record, the immune memory, the sense of self over time.

Notice what every one of those has in common: they are all fast and targeted. A nerve fires at a synapse. An antibody finds an antigen. None of them sets the body’s overall mood — its baseline disposition, its willingness to take risks, whether it’s in a state for careful convergent execution or wild divergent exploration.

That’s the endocrine system. It is the seventh organ, and it was missing.

The nervous system’s opposite and complement. Where Force Flow is fast, targeted, and electrical, the endocrine system is slow, broadcast, and chemical. It doesn’t alert — it adjusts the body’s set-points and self-corrects through negative feedback. Hormones diffuse into the bloodstream and every cell with the right receptor responds; the response lags the signal; and the whole thing is held in homeostasis by feedback loops, not by anyone in charge.

Sanctum’s hormones are named scalar levels — the panel — each driven by a real signal:

HormoneDriven byEffect on the council
dopaminethe creative-mode leverraises divergence — higher temperature, divergent framing, wild angles
cortisolmemory headroom (chitti /fluid) + alert rate (Force-Flow /history)suppresses divergence — focused, convergent, conservative; capped at 0.95
noradrenalinealert rateacute focus — sharpens, then decays
oxytocinbaselinecohesion vs independence (low = good red-team)
melatonintime of dayquiet-hours calm — terser, defer the non-urgent
serotoninbaselinestability, confidence, tone

The headline: it is the council’s creativity regulator

Section titled “The headline: it is the council’s creativity regulator”

This is why it matters, and it is biologically exact: cortisol suppresses divergent thinking; dopamine fuels it. Stress makes you literal. Reward and novelty make you playful. The endocrine system encodes that antagonism directly —

signals → gland → panel → receptor → seat
▲ │
└──────── negative feedback ─────────┘
cortisol ⊣ dopamine
(stress gates creativity)

sanctum endocrine creative doses the council into a sustained creative state: dopamine rises, cortisol is pushed down, and any seat that has opted in raises its temperature and tilts to divergent framing — “propose several distinct angles, including a wild one; defer convergence.” It is a state the gland holds and then slowly decays, not a per-prompt flag. For brainstorming, naming, design, art — the work the Jedi council is asked to do when the answer space is wide — the council gets measurably more divergent, and then comes back down on its own.

And the coupling cuts the right way: when the haus is genuinely on fire — memory pressure, an alert storm — cortisol rises and gates the creativity down. A stressed Sanctum gets focused, not whimsical. You cannot dose the council into daydreaming during an incident; the stress axis won’t allow it.

OrganComponent
Gland (hypothalamus)sanctum_cli/endocrine/gland.py + gland_daemon.py — a first-order leaky-integrator homeostat that reads the real signals and steps the panel once per tick
Bloodstreamchitti samskara (the same POST /action contract the health sentinel uses) + a local panel query file; endpoints discovery-resolved, never hardcoded
Receptorssanctum_cli/endocrine/receptor.py — translates a panel into a seat’s effective knobs; on by default, opt out per seat with SANCTUM_ENDOCRINE=0
Control surfacesanctum endocrine {creative,calm,panel,status,tick}
Immune couplinga staged watchdog catalog entry (gland-alive) + a Force-Flow sentinel that pages only on a pathological state, damped via the probe-twice alert-confirm.sh

The gland is a leaky integrator: each tick moves the panel a fraction toward its target and clamps every level to the unit interval. With the leak between 0 and 1 that map is a contraction — bounded input gives bounded output, always. There is no parameter setting that lets a hormone spiral. This is the structural guarantee that the endocrine system never becomes what it is meant to prevent: an alert storm. (The lesson was learned the hard way elsewhere; a regulator that can panic is not a regulator.)

Safety: additive, fail-soft, subscription-first

Section titled “Safety: additive, fail-soft, subscription-first”

Three invariants, verified end-to-end:

  • Additive. New files and a new (staged) service only. No live council daemon was restarted; no openclaw.json seat was touched.
  • Fail-soft. Absent gland or neutral panel → the receptor is a no-op (byte-identical), and SANCTUM_ENDOCRINE=0 opts a seat out entirely. There is no code path where a failed read makes a seat hotter.
  • Subscription-first. The creative path never routes the council to a metered provider. (See honest scope below — the live enforcement of this is the next step, not a shipped guarantee.)

Cilghal — the health agent who already reads your genome and tracks your metabolism — is the natural endocrinologist: she monitors the panel and can dose creative mode. Mon Mothma, the operations brain, governs the stress axis: when she escalates an incident, cortisol rises and creativity is gated, by design.

Honest scope — what is real, what is designed

Section titled “Honest scope — what is real, what is designed”

The organ is live on manoir: the gland + sentinel are bootstrapped and healthy, the gland publishes a panel every 120s, and the CLI council reads it by default. sanctum endocrine creative dials the whole council divergent; SANCTUM_ENDOCRINE=0 is the per-seat kill switch. What’s still ahead:

  1. VM-wide rollout. Point a VM seat’s CHITTI_BASE_URL/FORCE_FLOW_URL at the VM endpoints and enable it there — the CLI surface is done; the openclaw agents are not.
  2. Make subscription-first a live invariant by wiring the diversity selector into the fan-out (today it modulates sampling + framing, not which seats run).

One metaphor per layer, says the naming doctrine. The body had six organ-systems and a mood it couldn’t name. Now it has seven, and the seventh is the one that decides whether the council is in the room to execute — or to dream.