Repository navigation
Culi now remembers the conventions you state, not only the corrections you make.
The gap
Telling an agent "run tests only with make verify, wrap every error with inverr.Wrap, money is int64 cents" used to teach culi nothing. The miner only looked at corrections, rejections, repeats and tool errors, so a session that stated four conventions mined as clean. When a rule was learned, it waited for a second sighting and then only reached prompts that happened to share its words.
What changed
- Standing instructions ("always", "never", "from now on", "conventions", and Vietnamese equivalents) open a mining window. Up to 4 rules are kept per session.
- A rule you stated outright (confidence ≥ 0.8 with a quoted line) is your intent, like
save_lesson: it confirms at once and is injected at session start for every task in its scope. Lessons inferred from corrections still wait forconfirm_atsightings.
Measured
Conventions taught in one session, checked automatically in the next four, Claude Code's built-in auto-memory off: v0.8.0 applied 3 of 11; this release applied every convention in every completed session (8/8 and 11/11 across two runs), at about the same session cost as no memory. Method, limits and the numbers for the alternatives are in docs/comparison.md.