- Add cortex/persona.py: ContextVar-based per-request routing with path traversal protection and persona validation - Migrate inara/ → personas/inara/ (git history preserved via git mv) - config.py: add personas_root(), inara_path() delegates to personas/inara - All 14 settings.inara_path() call sites replaced with persona_path() - ChatRequest + OrchestrateRequest: add persona field (default: "inara") with validation at request entry before any processing - memory_distiller: add optional persona param for future per-persona distill - cron_runner/tools/cron: stamp persona on jobs, prefix APScheduler IDs (persona:job_id) to prevent collisions across personas - scheduler: _load_user_crons() iterates all personas at startup Adding a new persona: create personas/<name>/ with IDENTITY.md + SOUL.md. Auth: handled at nginx level (inject X-Cortex-Persona header per subdomain). Future: persona maps to Aether account_id_random for full integration. 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.)*
|