Karpathy-style LLM-Wiki lint — single-call audit of orphans, broken
links, stubs, stale notes, and concept candidates.
Implements the "lint" workflow from Karpathy's LLM-Wiki gist (which named
ingest/query/lint as the three primitives). Returns five finding buckets,
each capped to max_per_bucket for bounded responses. Findings are
shaped so the agent can act on them via existing tools
(validateNoteProposal → createNote / appendToNote /
renameNote).
Concept candidates use a capitalised-phrase heuristic: 1-3 CapitalCase
tokens that appear in ≥ concept_min_mentions notes but don't have a
page of their own. Stop-words ("The", "This", etc.) at phrase start are
dropped.
Karpathy-style LLM-Wiki lint — single-call audit of orphans, broken links, stubs, stale notes, and concept candidates.
Implements the "lint" workflow from Karpathy's LLM-Wiki gist (which named ingest/query/lint as the three primitives). Returns five finding buckets, each capped to
max_per_bucketfor bounded responses. Findings are shaped so the agent can act on them via existing tools (validateNoteProposal → createNote / appendToNote / renameNote).Concept candidates use a capitalised-phrase heuristic: 1-3 CapitalCase tokens that appear in ≥
concept_min_mentionsnotes but don't have a page of their own. Stop-words ("The", "This", etc.) at phrase start are dropped.