feat(amaru): per-app cortex brain + unified LLM router + Wire D/E/F (additive, Doctrine v10). Add /brain (cortex theorems TH1 Λ-Conjecture / TH8 GLR proven / TH10, 7 chakras, 5 founder-locked LLM tiers) and API /api/amaru/v1/brain, /brain/reason, /llm/route, /llm/tiers, /cortex-subscribe (Wire E SSE), /mesh/state, /v1/brainz. Wire D: in-process W3C traceparent middleware (real per-request generation+propagation; cross-Space broker NOT wired — labeled LIVE_IN_PROCESS, links to a11oy /wires). Wire E: amaru subscribes to a11oy brand-decision events (in-memory SSE bus). Wire F: receipts ingest into Khipu DAG (DSSE sig=PLACEHOLDER, Sigstore CI not wired). Does NOT shadow existing /api/amaru/healthz (7 chakras) — brain status at additive /api/amaru/v1/brainz. Honest numbers 749/14/163 @ c7c0ba17. Preserves /conduit SPA + /upgrades + root cortex. ZERO BANDAID. Yachay CTO + Opus.
verified
betterwithage commited on