# Where the codebase is today ``` Type: knowledge ``` ## Where the codebase is today (2026-07-11) ~39k lines of Rust. A playable **Misaligned B1 basement slice**: continuous fixed-tick sim, Act One map and cast, machine delegation and visible token flows, detection / social / reach / intel / messages / economy / income / research / building, two thin frontends (terminal + Bevy) over one lib. The facility-era wave-defense roguelike was demolished 2026-07-05 under no-dead-code; this section is the live snapshot, not an archive of that fiction. Spec status lives in [wiki/process/specs.md](../process/specs.md); dispatch in [wiki/process/ROADMAP.md](../process/ROADMAP.md). | System | State | |---|---| | Fixed-tick `Sim` (deterministic, no wall-clock / I/O in the lib) | Live — the orchestrator | | Act One basement map (prefabs, badge tiers, crawlspace) | Live — Foundation hall is 60 explicit sites / 6 territorial rows | | Machine delegation / visible work tokens + buy/steal/optimize | WORK / THINK / LIE, D/!/T stacks, real wire routes, production / consumption / absorption readouts, Routing speed, and target-local Thought reservoirs are live; the Operations docket runtime is retired | | Day job (device-resident, intensity-driven sandbag/meet/excel) | Live | | Per-observer detection + Assurance as aggregate Observer | Live | | Social / messages / intel (record-and-process) | Live | | Digital reach + sensor ownership (tap/take) | Live | | Economy flows + Moonlight / Wager income | Live | | Research (self-modification, emission law, real output hooks, Routing) | Live | | Building as intent + actuators | Live | | Cursor / fog (seen, remembered, blueprint, telemetry; audio is device-bound event evidence) | Live | | Feel floor (rails / pads / build beam) | Live (#37) | | Foundation hall territory (Dana + Priya + Marcus + local LIE foothold) | Live — row control persists; foreign racks remain unavailable compute | | Context menu (`available_actions`) | Live | | Save/load (serde JSON, versioned) | Live — v26; v14-v25 Operations dockets migrate into exact-remaining-work Thought reservoirs, v24 restores the pooled review policy, and v25 restores durable person roles/account binding | | Terminal frontend (crossterm) + agent mode | First-class | | Bevy frontend (material render default; flat sensorium) | Live — consumes sim-authored machine-work motion | The big loop in play today is the concealment loop this design corpus names: delegate machines → clear visible work → watch through instruments → work people → earn money → grow quietly under per-observer suspicion. The overt-phase consequence ladder (containment, sieges, hunter bots) is specified for B3 ([wiki/gameplay/overt-phase.md](../gameplay/overt-phase.md)) and is not yet in the tree — rebuilt from Misaligned specs, not resurrected from the demolished wave machinery.