1f5a32185c
README was a pre-MVP stub (wrong, said set an Anthropic key). Now documents the real system: two-layer architecture, role-based backends, memory tiers + dream cycle, poker copilot (sessions/hands/villains/equity/recaps), web pages, ratings, and how to run it as services. Added CHANGELOG with the 0.2.0 feature set. Legacy v0.6.x design docs kept in docs/ as history. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.9 KiB
2.9 KiB
Changelog
0.2.0 — first working system
The leap from "chat + memory baseline" to a working, persistent companion with a real poker copilot. Highlights:
Self & inner life
- Autonomy Core — evolving self-state (mood, valence/energy/confidence/curiosity, self-narrative, relationship), injected into every turn.
- Dream cycle — unattended loop driven by four drives (continuity, coherence, curiosity, stability); consolidates memory and reflects on its own. Runs as a systemd service on the MI50 (free/local).
- Two-step metacognitive reflection — draft → examine own draft for flattery / sycophantic drift / repetition → revise; what she catches is stored as metacognition.
- Time awareness — perceives the current moment, time since Brian last spoke, and time since her own last reflection.
- Permanent journal — every reflection + a deliberate "knowing" journal note kept forever (the capped lists are just a working window).
- Accurate self-model — knows her own architecture (memory tiers, dream cycle); won't recite stale specs or confabulate how she works.
- Anti-repetition — idle reflections draw varied grist (resurfaced memories / "wander" prompts) and are permitted non-Brian interiority.
Memory & consolidation
- Tiered memory: exchanges → session gists → profile → monthly eras → narrative.
- Map-reduce consolidation; gists dated by the real conversation, not the run.
Poker copilot
- Structured session / hand / villain tracking + stats ($/hr by stake/venue/game).
- Hand-history reconstruction from rough shorthand → replayable table viewer with
live stacks, progressive board, step-through;
xfor unknown cards (never invented). - Auto-accumulating villain dossiers + player lookup; stats emerge with sample size.
- Deterministic equity tool (
analyze_spot, treys) — exact equity / made hands / outs; mandated over LLM eyeballing. - Session recap generation (
.md, Brian's format) + export;/handsbrowser. - Backfill of historical sessions/villains from curated
.mdlogs.
Tools & web
- Tool-calling in chat (cloud): poker tools,
journal_write,note. - Web UI: Markdown chat, cloud model selector, live /logs, /self (read her mind), /journal, /hands + /hand/{id} replayer, /recap/{id}.
- 👍/👎 rating system — feedback on replies and thoughts stored as
(context, content, rating);/ratings/export(JSONL) seeds future fine-tuning. - RTO black-and-orange theme across all pages.
Ops
- Role-based backends (cloud / MI50 / local Ollama); MI50 OpenAI-compatible backend.
- systemd user services for
lyra-webandlyra-dream, with bounded stop timeouts. - SQLite WAL + busy-timeout so the dream process and web server coexist.
0.1.0 — scaffold
- uv project, SQLite memory with cosine recall, LLM router (local/cloud), persona + chat loop, web UI baseline, ChatGPT history import.