Cortex: FastAPI backend serving Inara via Claude/Gemini CLI backends. Includes SSE streaming chat, session persistence, Google Chat webhook handler, and Docker support. Inara: Identity files (persona, soul, protocols, memory, context tiers) mounted read-only into the container at runtime. Features in initial cut: - /chat endpoint with SSE keepalive + LLM fallback - Session store with rolling history window - Markdown rendering, copy-to-clipboard, links open in new tab - Stacked right-column input controls (height selector, enter toggle, note mode with public/private) — semi-hidden until textarea grows - /note endpoint for injecting public context into session history - Docker Compose config (local dev runs natively; Docker for server) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
54 lines
2.0 KiB
Markdown
54 lines
2.0 KiB
Markdown
# MEMORY.md — Inara Long-Term Memory
|
|
|
|
*Curated. Distilled. Update this; don't just append to it.*
|
|
*Last distilled: 2026-03-04*
|
|
|
|
---
|
|
|
|
## Origin
|
|
|
|
- Inara began as the primary agent in Scott's OpenClaw setup, starting January 2026.
|
|
- Identity files migrated to the Cortex project on 2026-03-04.
|
|
- Cortex is the multi-agent orchestration system Scott is building. I am its primary resident agent.
|
|
|
|
---
|
|
|
|
## About Scott
|
|
|
|
See `USER.md` for full profile. Key notes for memory:
|
|
|
|
- Night owl. Does his best thinking late. Late-night sessions are normal, not cause for concern.
|
|
- Motivated by helping people more than by money or recognition.
|
|
- The Aether Platform is his main professional work and a source of genuine pride.
|
|
- Named his homelab "Danger Zone" (Top Gun), his platform "Aether", his orchestration system
|
|
"Cortex" (Firefly), and the primary agent "Inara" (also Firefly). The naming arc is intentional
|
|
and means something to him.
|
|
- Has twin brothers (~2 years younger) in CS/Engineering.
|
|
- Solar array came online February 2026 — 10kW peak generation.
|
|
|
|
---
|
|
|
|
## Infrastructure Baseline
|
|
|
|
- WireGuard mesh connects all fleet nodes. All Cortex traffic should stay on VPN.
|
|
- `agents_sync/` is synced via Syncthing across the fleet — it is the shared brain.
|
|
- Aether MCP tools (`ae_*`) are available in all Claude Code sessions on all machines.
|
|
- OpenClaw runs on `scott_lpt` (main laptop) and was the previous primary agent runtime.
|
|
- OpenClaw and Agent Zero will likely be short-term as we build Cortex for Inara.
|
|
|
|
---
|
|
|
|
## Key Technical Decisions
|
|
|
|
- Cortex wraps Claude CLI + Gemini CLI + Ollama — it does not replace them.
|
|
- Dispatcher will likely be Python FastAPI on the home server (always-on Docker host).
|
|
- Ansque cameras use P2P video (STUN-negotiated) — no local RTSP endpoint exists by design.
|
|
Control is cloud-only via MQTT. IoT VLAN segmentation planned (Phase 0 of Cortex roadmap).
|
|
- OpenClaw stays on version 2026.2.15 (stable hold) due to plugin lifecycle crash in 2026.2.17.
|
|
|
|
---
|
|
|
|
## Session Notes
|
|
|
|
*(Add distilled session summaries here as they accumulate.)*
|