kb_repair
Find written but unfindable notes in your notebook. Get a worklist of notes missing required fields, so you can repair them and make them searchable.
Instructions
List the notebook notes that are WRITTEN BUT UNFINDABLE — missing the fields a note cannot be retrieved without (identityAliases, anchor symbols, a flow's verified paths). Notes written before those fields were required are correct but unreachable, and this is how they get found.
Returns a worklist, never a change: repairing is your work, because every gap needs a judgement about the code (which words a reader would search for, which symbols the note is actually about, which files you can honestly claim to have read). Fix each one with kb_write, passing the note's id — fields merge, so nothing already in the note is lost.
A clean notebook returns "Nothing to repair here." Run it when the user asks to repair, fix, or clean up the notebook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||