Knolo KIP-0025: Runtime Diagnostics With No Unverified Healthy Flag
Knolo KIP-0025 defines a read-only diagnostics report for a V5 Knowledge Image: verified first, hashed to a diagnostics root, and failing closed on stale artifacts.
Knolo is the open-source, local-first Knowledge Image runtime and format (Apache-2.0, @knolo/core on npm). Its byte contracts are published as Knolo Improvement Proposals (KIPs) in the Knolo core repository. This note looks at KIP-0025, Runtime diagnostics v1, whose status is foundation implementation.
The question KIP-0025 answers is a modest one that most systems get wrong: when a tool says a knowledge store is "healthy", what exactly did it check?
What a Knolo diagnostics report contains
KIP-0025 defines a read-only operational snapshot of a V5 runtime. The inspection function, inspectKnowledgeRuntimeV5, always verifies the mounted image first and then reports:
- the image state root and commit digest,
- the sequence number,
- object and event counts,
- the segment count and the active superblock.
Optional artifacts add compact status records, each only after it is verified: the state-root-bound query index, append-only query history, the durable agent run, and the sync replay cache.
No Knolo "healthy" flag without verification
The report contains no unverified "healthy" flag. If an artifact is malformed, stale, or bound to a different image state root, inspection fails closed instead of reporting a degraded but plausible status.
That matters for anyone building on Knolo. A dashboard or health endpoint that reads a KIP-0025 report can't show green for an image it never checked, or for a query index that belongs to an older state of the image.
A Knolo diagnostics root anyone can recompute
The complete report, minus its own root, is canonicalized and hashed under a dedicated domain:
SHA-256("knolo:runtime-diagnostics:v1\0" || canonical_cbor(report_without_root))
verifyKnowledgeRuntimeDiagnosticsV5 recomputes the report from the supplied artifacts and requires byte-equivalent canonical output and a matching root. Equivalent reports therefore produce identical roots across runtimes. In practice the Knolo docs note that the Rust runtime's inspect_knowledge_runtime_v5 matches the shared TypeScript fixture for the base snapshot, which is the kind of cross-runtime agreement the open specification is meant to make checkable.
What Knolo diagnostics deliberately don't do
KIP-0025 draws a hard scope line. Diagnostics do not repair, compact, adopt, merge, authorize or delete runtime state. File discovery, process metrics, network connectivity, alert routing and presentation stay with the host or a management surface such as Studio. A diagnostics report describes the artifact you pointed it at; it does not grant the tool that displays it any authority to change it.
Keeping inspection separate from mutation is the same pattern the other Knolo contracts follow: reading is cheap and safe, and anything that changes state goes through its own authorized, recorded path.
Using it today
On the developer side, knolo v5 info, knolo v5 health and knolo v5 studio verify the image before they print, and optional query-index and query-history files must be bound to the same state root. The Knolo diagnostics docs show the commands.
Links
- KIP-0025 in the Knolo core repository on GitHub
- Knolo specifications on knolo.org
- Knolo KIPs index
- Knolo developer docs on knolo.dev
Knolo is an open project from Hive AI, released under Apache-2.0.
knolo · kip · specifications · knowledge-images · diagnostics
