cerebellum: plug-and-play OpenHermes harness on the Ichor bus

C1 integration spine as an Ichor organ. CerebellumHarness receives a turn off
the bus, sequences N passes through a swappable LLM adapter (the OpenHermes
plug; StubLLM stands in), and emits the synthesis back onto the bus toward the
Brain (crossing D1). Add Cerebellum to OrganId; wire a turn in the demo main.
Compiles on ponyc 0.64; end-to-end run green (turn -> cerebellum -> D1 -> brain).

Also: add a small read-only permission allowlist (toolchain probes/versions).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015hmgREHNsxYCuim33yUF2c
This commit is contained in:
Claude
2026-06-19 21:33:32 +00:00
parent 94fabf9435
commit f3b1bea771
4 changed files with 69 additions and 1 deletions
+10
View File
@@ -24,3 +24,13 @@ actor Main
// Organ-to-organ perfusion (not Brain-bound): delivered directly.
broker.route(Envelope(Brain, Soul, OrganSecretion,
"reshuffle: cross-only"))
// --- cerebellum harness plugged into the bus (C1 / OpenHermes) ---
// Swap StubLLM for a real OpenHermes client and nothing else changes.
let cerebellum = CerebellumHarness(env.out, broker, StubLLM, 2)
broker.register(Cerebellum, cerebellum)
// A user turn enters the bus addressed to the cerebellum; it sequences the
// passes and emits the synthesis back toward the Brain (crossing D1).
broker.route(Envelope(AdaBorder, Cerebellum, UserInput,
"user turn: what is my ascendant?"))