kb_search
Search the repo's durable agent notes for known answers to your task, with freshness checks against current code, before doing a deeper file search.
Instructions
Search the repo's NOTEBOOK — durable notes past agents wrote after finishing tasks here (file purposes, cross-file flows, traps/lessons, established absences). Try this BEFORE find when the task might have been seen before: a hit can answer outright or point straight at the right files, skipping a search. Pass plain task words (symptoms work: "logout loop after refresh"), symbol names, or file names.
Results are inlined in full with a freshness stamp computed against the CURRENT code: [fresh] = the cited file is byte-identical to when the note was verified; [evidence changed: ] = that file drifted since — re-verify before relying on it (and correct the note if it proved wrong: coldstart kb write). Absence notes ("there is no X") are re-checked live. No hits or an empty notebook → fall through to find, no tax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Plain task words, symptoms, symbol names, or file names. Same over-supply rule as find: pass every salient token. |