Files
Cortex-Inara/inara/README.md
Scott Idem 2f675ee4bf Initial commit — Cortex API + Inara identity
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>
2026-03-06 03:41:00 -05:00

1.1 KiB

Inara — Identity & Memory Layer

This directory is Inara's home. It contains everything needed to instantiate her as a consistent, persistent agent across any model or runtime.

Files

File Tier Purpose
SOUL.md Always Core identity, traits, how she behaves
IDENTITY.md Always Name, vibe, emoji — the short card
USER.md T1+ Scott's profile — who she's helping
MEMORY.md T2+ Curated long-term memory (keep under 4k tokens)
PROTOCOLS.md T2+ Fleet rules, safety, delegation, memory management
CONTEXT_TIERS.md Dispatcher Which files to load per model context size
sessions/ T3+ Daily session logs (raw), format: YYYY-MM-DD.md

Loading Order

Always load in this order to establish context before adding detail:

  1. SOUL.md
  2. IDENTITY.md
  3. USER.md
  4. MEMORY.md
  5. PROTOCOLS.md
  6. Session files (most recent first)

See CONTEXT_TIERS.md for the full dispatcher spec.

Secrets

Credentials, API keys, and tokens live in .env only — never in these files.