feat: recall relevant knox knowledge at turn start #25
Reference in New Issue
Block a user
Delete Branch "feat/auto-recall"
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?
Closes #24.
plugins/recallsearches knox when a turn begins and injects up to three hits as a system part. Plusknox query --jsonso a plugin gets structured results instead of parsing formatted text.Deliberate limits, each with a reason
contexthook also fires for tool continuations; acting on each would search dozens of times per turn/or!, contains a wordWhy this is worth building now
The freshness work made it viable: the index is current at turn start (~46 ms scoped sweep) instead of up to two minutes stale. Recall over a stale index would surface yesterday's answer to today's question.
Verification
go vet ./...,go test ./...green;knox query --jsonreturns structured hitstsc --strict, both plugins reportactiveNot yet observed: the injected system part in a live turn — that lands on the next user message, and
recall.firedis the counter to check.