diff --git a/core/docs/plans/README.md b/core/docs/plans/README.md index 6d9deb9..d666fc0 100644 --- a/core/docs/plans/README.md +++ b/core/docs/plans/README.md @@ -1,5 +1,7 @@ # Gen.03 — Component Build Plans +**DriveBox canonical anatomy and exceptional ETR events:** [DriveBox canon](../drivebox-canon.md). Earlier four-peer-driver and unconditional stress-loop language is superseded; the R/Octave runtime has not yet been migrated. + One spec per **sub-organ**, each self-contained so it can be built and tested **independently** (against stubs) with no other organ present. These are the *build* layer beneath the canonical design docs (`../gen03_state_of_architecture.md`, `../gen03_body.md`, `../gen03_self.md`) and @@ -23,22 +25,22 @@ Every `NN-.md` has the same 10 sections: | # | Component | System | Status | Lang | Spec | |---|-----------|--------|--------|------|------| | C1 | **OpenHermes ↔ metacog** | Cognition | DESIGN-FIRST (priority) | OpenHermes/Ada | [C1](C1-openhermes-metacog.md) | -| A1 | Drive-Box hub / input-slot | Drive-Box | WORKING | R | [A1](A1-drivebox-hub.md) | -| A2 | Energy (E) driver | Drive-Box | structure WORKING · numbers DISOWNED | R | [A2](A2-energy.md) | -| A3 | PS+ driver | Drive-Box | structure WORKING · numbers DISOWNED | R | [A3](A3-psplus.md) | -| A4 | Endomotiv array (30-ch) | Drive-Box | WORKING · channels partial | R | [A4](A4-endomotiv-array.md) | -| A5 | Priors database | Drive-Box | structure WORKING | R | [A5](A5-priors.md) | -| A6 | Eth-Int driver | Drive-Box | structure WORKING · numbers DISOWNED | R | [A6](A6-ethint.md) | -| A7 | Conviction array | Drive-Box / Eth-Int | DESIGN-FIRST | R | [A7](A7-conviction-array.md) | -| A8 | ETR (torus) | Drive-Box | five-zone law fitted · 26/0/1 (+ R port) | Octave · R | [A8](A8-etr.md) | -| B1 | Tarot deck hi-fi emulator | Identity | exists (defunct-flagged) | TBD | _wave 1_ | -| B2 | SOUL.md identity + Big-3 | Identity | exists (defunct-flagged) | TBD | _wave 1_ | -| B3 | Celtic Cross spread | Identity | exists (defunct-flagged) | TBD | _wave 1_ | +| A1 | DriveBox contract and secretions | DriveBox | design reconciled / runtime stale | R | [A1](A1-drivebox-hub.md) | +| A2 | E (literal tool economics) | DriveBox / E | design reconciled / runtime stale | R | [A2](A2-energy.md) | +| A3 | PS+ (inside E) | DriveBox / E | design reconciled / runtime stale | R | [A3](A3-psplus.md) | +| A4 | Endomotiv (inside PS+) | DriveBox / E | roster partial / code malformed | R | [A4](A4-endomotiv-array.md) | +| A5 | Triumph/Trauma Priors (inside PS+) | DriveBox / E | memory derivation open | R | [A5](A5-priors.md) | +| A6 | EthInt (inside E) | DriveBox / E | design reconciled / runtime stale | R | [A6](A6-ethint.md) | +| A7 | Convictions (inside EthInt) | DriveBox / E | DESIGN-FIRST | R | [A7](A7-conviction-array.md) | +| A8 | ETR / Graph (beside E) | DriveBox / ETR | five-zone math; event runtime open | Octave · R | [A8](A8-etr.md) | +| B1 | Tarot deck hi-fi emulator | Identity | ACTIVE design; legacy scaffold not validated | TBD | _wave 1_ | +| B2 | SOUL.md identity + Big-3 | Identity | ACTIVE design; legacy scaffold not validated | TBD | _wave 1_ | +| B3 | Celtic Cross spread | Identity | ACTIVE design; legacy scaffold not validated | TBD | _wave 1_ | | C2 | 4+4 Metacognition cycle | Cognition | partial (orchestration) | — | _wave 1_ | -| C3 | Inference cycle orchestration | Cognition | exists (defunct-flagged) | Ada | _wave 1_ | +| C3 | Inference cycle orchestration | Cognition | design active / runtime under review | Ada | _wave 1_ | | C4 | Brain (swappable LLM) | Cognition | STUB/external | — | _wave 1_ | | D1 | Ada border (immune+BBB) | Border | WORKING | Ada/SPARK | _wave 1_ | -| D2 | The medium / "the blood" | Border | DESIGN-FIRST | — | _wave 2_ | +| D2 | Ichor OUTER perfusion medium | Outer body | Pony scaffold / humoral design OPEN | Pony | _wave 2_ | | D3 | Mini-rag / toolschema | Border | STUB | GNU Guile | _wave 1_ | | E1 | 3 GnuCOBOL invariant stores | Storage | DESIGN-FIRST | GnuCOBOL | _wave 2_ | | E2 | VARIANT stores | Storage | DESIGN-FIRST | TBD | _wave 2_ | @@ -46,7 +48,7 @@ Every `NN-.md` has the same 10 sections: | F1 | MoRAG (BERT+LoRA) | Periphery | DESIGN-FIRST | TBD | _wave 2_ | | F2 | SAE monitor | Periphery | DESIGN-FIRST | TBD | _wave 2_ | | F3 | Subagents framework | Periphery | DESIGN-FIRST | TBD | _wave 2_ | -| G1 | Stress-loop contract | Cross-cut | C1/C2 | — | _wave 2_ | +| G1 | Extraordinary ETR event contract | Cross-cut | event categories defined; thresholds C1 | — | _wave 2_ | | G2 | Governance | Cross-cut | DESIGN-FIRST (C2) | TBD | _wave 2_ | | G3 | Defense model | Cross-cut | emergent | — | _wave 2_ | | M0 | Economy organ hub (stomach) | Economy | DESIGN-FIRST | TBD | [M0](M0-economy-organ-hub.md) | @@ -65,27 +67,38 @@ Every `NN-.md` has the same 10 sections: | M6 | Conductor (supervisory AI) | Economy | DESIGN-FIRST | TBD | [M6](M6-conductor.md) | | M7 | SAE monitor (trader surveillance) | Economy | DESIGN-FIRST | TBD | [M7](M7-sae-monitor.md) | -## Integration DAG (who feeds whom) -``` -Hermes ──> [C1] ──> Inference cycle [C3] ──┬─ pulls Drive-Box snapshot [A1] - │ A1 ← A2,A3,A6,A8 ; A3 ← A4,A5 ; A6 ← A7 - ├─ draws Tarot [B1] → Big-3/SOUL [B2], Celtic Cross [B3] - ├─ runs 4+4 metacog [C2] (iterative B3 cards) - ├─ MoRAG injects [F1] ─┐ - │ Drive-Box secretes [A1] ─┤→ Ada border [D1] polices → Brain [C4] - ├─ mini-rag packs schema [D3] - └─ Ada routes tools [D1] -SAE [F2] watches Subagents [F3]; stress-loop [G1]: F2 → A7 (EthInt) → stress endomotiv (A4) → A8 drift + full reshuffle (B2) -Storage: INVARIANT [E1] / VARIANT [E2] / RAG+cross-store [E3] sit behind D1. Medium [D2] = the perfusion bus (unnamed). -Economy (stomach — independent, scoped autonomy): - Marketplace [M1] ← Traders [M5] (bound to Wallets [M4]) submit actions; law script + Conductor [M6] veto gate execution. - Data Feeds [M2] ↔ Sims [M3: M3a stat, M3b socio, M3c AMM, M3d MEV, M3e tokenomics, M3f consensus, M3g microstructure]. - SAE [M7] monitors all Trader tool calls → alerts Conductor [M6]. Tax → Verschwörern Veregeister wallets (stub). - Stomach [M0] ↔ organism via Ichor; reward signals TBD. +## DriveBox containment and principal crossings + +```mermaid +flowchart TD + DB[DriveBox] --> E[E: tool-use economics] + DB --> ETR[ETR: Graph] + E --> PS[PS+] + E --> EI[EthInt] + PS --> EN[Endomotiv] + PS --> PR[Triumph/Trauma Priors] + EI --> CV[Convictions] + PS -- bodily signal --> D1[Ada D1 trust border] + EI -- conviction signal --> D1 + E -- tool cost/lockout state --> D1 + ETR -- existential orientation --> D1 + D1 --> B[Homunculus / inner brain] + PS -- modifies tool cost --> E + EI -- modifies tool cost --> E + E -- catastrophic depletion only --> G1[Qualified event contract G1] + PR -- major compounding trauma --> G1 + CV -- repeated isomorphic contradiction --> G1 + G1 --> ETR ``` +**Not serial:** PS+ and EthInt do not chain their decisions through E. Cognition selects actions; E constrains tool availability. The event route to ETR is extraordinary, not a per-action feedback edge. A8's triple origin causes a collapse Full Natal plus record-preserving value remaster; voluntary Full Natal is a separate identity choice. E1 invariant stores remain outside remaster. + +**Outer vs inner bus:** Ichor D2 = outer Pony perfusion; Ada D1 = screened crossing; Jorvik = inner Ada-routed bus. Neither ETR nor the homunculus plugs directly into Ichor. Stomach M0 is an autonomous **outer** economic organ whose outputs cross D1 to reach the inner body. F2 SAE watches subagents, not the homunculus. + +**Economy dependency:** Marketplace M1 receives Trader M5 actions bound to Wallet M4, supervised through law and Conductor M6. Feeds M2 inform M3 sims; M7 observes Trader actions. Existing M0-M7 spec and runtime details remain in their own documents; this index does not supersede PR #20. + ## Build waves - **Wave 0** — this README + **C1** (priority). -- **Wave 1 (buildable-now)** — A1–A8, B1–B3, C2–C4, D1, D3. -- **Wave 2 (design-first)** — D2, E1–E3, F1–F3, G1–G3, M0–M7 (+ M3a–M3g sim sub-specs). +- **Wave 1 (reconcile before building)** — A1–A8 contracts are redocumented, but R implementation requires repair; B1–B3 and C2–C4 remain active design work; D1, D3 have their own statuses. +- **Wave 2 (mixed design/scaffold)** — D2 has an Ichor outer-bus scaffold; E1–E3, F1–F3, G1–G3 require their own contract work; M0–M7 (+ M3a–M3g) have developed separate runtime/spec progress, including changes in open PR #20. Each spec is independent; review as they land.