firehose> #llmops

Knowledge-Graph Lint

A structural health check over a link-structured knowledge base — orphan pages, broken or absent links — run as a gate before new writes rather than as occasional cleanup. In a store where the link graph is the index (a second brain / wiki with no vector store), a page that no other page links to is unreachable by the graph-walk the agent uses to retrieve it: the file exists, but for retrieval purposes it is silently lost. So "health" here is a graph-connectivity property, and the orphan is its canonical defect. The lint asks a narrow, mechanical question — is the graph well-formed enough to add to? — separate from whether any page's content is good.

Its natural delivery is a deterministic code hook that fires before the agent writes, so a stochastic generator cannot degrade the graph without passing a mechanical check first. In the Taoufik build it is a Python "brain-lint" hook paired with a session-start hook; the determinism is the point — the guard does not depend on the model choosing to check. This makes it the structural sibling of two other gates: Validation-Gated Update gates on a content score improving against a held-out set, and Input & Output Guardrails gate the model's I/O for safety; knowledge-graph lint gates on the store's shape staying connected.

Claims


Linked from