Repository navigation
v0.2.0
v0.2.0
Learning, memory and context are rebuilt around what can be measured at
this account's volume.
- Episodes: each live post and reply is ranked at its 1h, 6h or 24h metric
window against the agent's last 50 actions of the same kind (top, mid,
bottom). Code computes it; no model fit, no minimum of weeks. - Lessons are the only text the agent keeps. The daily dream adds, confirms
or retires at most 10 lessons, each citing 2 to 5 ranked episodes whose
band agrees with it; numbers must be counters on the cited actions, no
refs or dates. Unused, unconfirmed lessons expire. post and reply may cite
lesson_ids, and the writer sees those lessons; use stats compare applied
actions with the others. - The dream runs only after 8 new ranked actions, reads no Threads, and
stops at 8 steps. - Agent context is an ordered message: lessons, best and worst episodes of
48 hours, the last 10 results, the start of the last 10 own texts, then
counters, scoreboard and inbox. - Owner: Telegram /lessons and /forget (a forgotten lesson is never
re-added); daily report on episodes and lessons; dashboard Lessons panel
and band chips; ctl lessons. Cached input tokens are parsed, priced and
shown, and prompt_cache_key is sent to OpenAI. - Removed: playbook and hypotheses, outcome model and post-mortem, memory
index, notes and embeddings, strategy, craft knowledge, the study phase,
exploration, /restore, ctl memory restore and strategy revert.
Manual step: stop threadz and threadz-dashboard, back up the database and
the template, run deploy/migrate-12.sql with sqlite3 -bail, run
deploy/patch-template-v12.py on the live template, install the binary, run
threadz check, then start both services (docs/operations.md).