Repository navigation
ha 0.9.9
A new conversation is shown the earlier session logs that name what it asks, logs are revised by what later conversations found, and a learned skill is not offered where words cannot tell.
Session logs
After ReHarness (arXiv 2610.12668).
- Forward read: a new conversation's first turn carries up to 3 earlier session logs that name what its request names (
related-session-logs, in the app and inha exec, which showed no log at all before). A word of the request tells logs apart when at most a quarter of them hold it; a log is related when its topic, keywords or projects hold one; logs are ranked by the rarest such word each holds, so words many logs share cannot lift the log of another problem over the logs of the one named. No word list; with fewer than four logs none is chosen by words. - Backward revision: the log a conversation writes says what held of the logs it was given, and each such line is appended to that log under
## Later Conversations, dated and naming the conversation. The line names what held instead when the finding did not. - The log states the finding itself (the rule, the command, the value), never a pointer to the conversation; puts the problem's own name first in its keywords; and, for a problem that may come back, records what carries over apart from that session's values. A finding used from a given log is restated as it now stands.
ha execwaits up to 90 seconds at exit for the session log (30 before); a log that takes longer stays owed to the next start.
Learned skills
- A skill is recalled whole only in a library of four or more: with fewer, every word seemed to tell.
- The catalog leaves out a skill the conversation already holds whole, and
activate_skillon such a skill loads nothing again and says so (one benchmark run made 110 such calls; the same run now makes 6). - A review does not patch a skill with a lesson about a different problem; a skill offered where it does not fit has its description narrowed.
Tests
- New live suite
related-logs.sh.
Verified
Gate (fmt, clippy, workspace tests) clean on 166d591's tree. Live on this ha.exe with openai-codex/gpt-6-luna at max: related-logs.sh 33/0, session-log.sh 42/0, recall.sh 32/0, continual.sh 32/0, strategy.sh 25/0, learning.sh 49/0, memory.sh 44/0. Control on 0.9.8: related-logs.sh 8/12.
Continual-ARC (6 tasks x 4 visits, thinking medium), solved / budget share: 0.9.7 0.58 / 0.583, 0.9.8 0.46 / 0.685, a build of this branch before the last two fixes 0.50 / 0.604. Within noise at this size, and no run shows later visits getting cheaper.