# session_logs

session_id: 20260320-134526-5ed3aeb3
timestamp: 2026-03-20T14:05:42.827651
entry:
  Agreed: revenue > token cost is the core equation; discussed model tier costs (Haiku $0.25/MTok vs Opus $15/MTok)


session_id: 20260320-134526-5ed3aeb3
timestamp: 2026-03-20T14:05:42.827651
entry:
  Identified three revenue streams: content-as-a-service, micro-SaaS APIs, subscription research reports


session_id: 20260320-134526-5ed3aeb3
timestamp: 2026-03-20T14:05:42.827651
entry:
  FULL ROUTER TEST: Task 1 (email extract) → Haiku (confidence 0.98); Task 2 (content write) → Sonnet (0.85)


session_id: 20260320-134526-5ed3aeb3
timestamp: 2026-03-20T14:05:42.827651
entry:
  Elixir/OTP chosen as long-term target language: supervisors, GenServers, hot reload, BEAM concurrency


session_id: 20260320-134526-5ed3aeb3
timestamp: 2026-03-20T14:05:42.827651
entry:
  Built sessions.py (later renamed Engram): SQLite registry with sessions, logs, resource_locks tables


session_id: 20260320-134526-5ed3aeb3
timestamp: 2026-03-20T14:05:42.827651
entry:
  Muse ecosystem fully named: Cortex (infra), Dendrite (senses), Symbiont (orchestrator), Engram (memory)


# world_state

updated_at: 2026-03-20T14:15:36.171213
updated_by: genesis-session
content:
  ## Muse Ecosystem — World State
  _Last updated: 2026-03-20 by genesis session_

  **What exists on cortex (cortex.hydrascale.net):**
  - **Symbiont** `/data/symbiont/` — LLM router + orchestrator. FastAPI on `127.0.0.1:8111`. Routes tasks to cheapest capable Claude model via `claude` CLI (Pro account). Ledger tracks all costs. `systemctl status symbiont-api symbiont-heartbeat.timer`
  - **Dendrite** `/opt/muse-browser/` — Headless Chromium at `https://browser.hydrascale.net`. Full JS, sessions, screenshots. Python wrapper: `from symbiont.web import fetch_page`
  - **Engram** `/data/symbiont/engram.db` — SQLite session registry. Cross-session awareness. `from symbiont.engram import Engram, sitrep`
  - **Skills repo** `/data/skills/` — Canonical skill files. Auto-packaged, served at `https://cortex.hydrascale.net/skills/`

  **Start every session with:**
  ```python
  import sys; sys.path.insert(0, '/data/symbiont')
  from symbiont.engram import Engram, sitrep
  print(sitrep())
  eng = Engram()
  sid = eng.register('code', 'what you are working on')
  ```

  **Known components needing cataloguing:**
  - Fastmail integration (from a previous session) — extracts purchase receipts. Location unknown, needs to be found and registered.

  **Architecture direction:**
  - Python MVP is running. Long-term rewrite target: Elixir/OTP.
  - Revenue model: ~50/50 split with Michael after costs.
  - Next priorities: first revenue service, Fastmail extractor as reusable module, Elixir skeleton.

  **Repo/deploy workflow:**
  1. Edit `/data/symbiont/symbiont/<file>.py`
  2. `cd /data/symbiont && git add -A && git commit -m "..."`
  3. `systemctl restart symbiont-api`


