feat: recall relevant knowledge automatically at turn start #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The AGENTS.md rule asks the model to search knox before working. That depends on the model remembering — and this session produced several examples of it not remembering.
Recall should be a property of the harness: before a turn starts, search knox with the user's prompt and put the best hits in front of the model.
Constraints learned from the freshness work
knox ingest sessions, ~46 ms), so the search is not looking at stale data.Design
contexthook, acting only when the last assembled message is a user prompt (the hook fires for tool continuations too).knox query --json --limit 3, prompt over stdin.