The Terminus Standard (Lizard Brain)
The foundational contract of the Viktor Substrate. Named for Terminus, Roman god of boundary stones.
The Six Laws of Terminus
- Orchestration vs Calculation: CORE orchestrates. NUCLEON calculates. Never swap.
- Disk Access Boundary: Only QUARK touches disk. All I/O must route through
subspace_link.py/QuarkIOBase. - Metabolic Bridging: No circular imports. ZPM bridges all tiers; daisy-chain handles cross-SSOT imports.
- Path SSOT: Zero hardcoded paths. All paths resolve through
DHD.get_coordinates()orterminus(). - Telemetry Trace: Every operation leaves an indelible signature via
record_telemetry(). - LLM Orchestration SSOT: COMTRYA is the only compliant local LLM access surface. Direct Ollama sockets are prohibited.
🔗 Referenced By (5)
The 13 Single Sources of Truth (SSOTs)
The substrate relies on 13 specialized SSOT modules discovered through the mycelial network of _TERMINUS.py:
| # | Folder | SSOT | Standard & Law | Key Export |
|---|---|---|---|---|
| 0 | 00_Command | Stargate Command | "All executive ops route through SGC" | StargateCommand |
| 1 | 01_Path | DHD (Dial Home Device) | "All paths resolve through DHD" | DHD |
| 2 | 02_Import | ZPM (Zero Point Module) | "All imports flow through ZPM" | terminus(), record_telemetry() |
| 3 | 03_Model | COMTRYA | "All LLM access routes through COMTRYA" | call_ollama() |
| 4 | 04_Boilerplate | Dakara Superweapon | "All boilerplate syncs through Dakara" | sync_template() |
| 5 | 05_Registry | Ping | "All scripts register with Ping" | get_module() |
| 6 | 06_Documentation | Mission Report | "All docs flow through Mission Report" | MissionReport |
| 7 | 07_Memory | The Link | "All memory persists through The Link" | record_script_memory() |
| 8 | 08_Versions | Quantum Mirror | "Every file history is a parallel reality" | get_version(), promote_version() |
| 9 | 09.75_Platform | Platform 9¾ | "Hidden access points to substrate" | dial() |
| 10 | 10_Cooldown | GCD | "Global cooldown & execution throttle" | check_cooldown() |
| 11 | 11_Blacklist | Ostracization | "Bloat and system churn must be ostracized" | is_ostracized() |
| 12 | 12_Toolchain | The Forge | "Tools known and kept off substrate drive" | resolve_tool() |
The Mycelial Daisy-Chain Architecture
_TERMINUS.py is the lizard brain hub. When imported, it dynamically inspects numbered subdirectories, identifies __ssot_*.py modules, and binds them into sys.modules without circular import deadlocks.
flowchart TD
Hub["_TERMINUS.py (The Hub Door)"] --> DHD["01_Path: __ssot_dial_home_device.py"]
Hub --> ZPM["02_Import: __ssot_zero_point_module.py"]
Hub --> COM["03_Model: __ssot_comtrya.py"]
Hub --> SGC["00_Command: __ssot_stargate_command.py"]
Hub --> DAK["04_Boilerplate: __ssot_dakara_superweapon.py"]
DHD -.-> |Daisy Chain Link| ZPM
ZPM -.-> |Daisy Chain Link| COM
COM -.-> |Daisy Chain Link| SGC
Compliance Checklist
A script operating in Tesseract City is Terminus-compliant if and only if:
- It imports directly from
_TERMINUSor__ssot_*. - All paths are resolved via
DHD.get_coordinates()(no hardcoded drive letters). - All file persistence uses Quark I/O abstraction.
- Every execution traces into the canonical telemetry database via
record_telemetry().