Skip to main content

KBF conformance suite

The Kapi Bundle Format has two reference implementations: the canonical Go engine (core/kbf) and a TypeScript mirror (@neokapi/kapi-format). The spec promises they are kept byte-for-byte equivalent. This page makes that promise executable: it runs the conformance suite in your browser against both engines — the Go one compiled to WebAssembly, the TypeScript one natively — and checks that, for every operation both implement, they agree.

Each row reports the result from each engine and whether they agree. Serialization, HTML preview, annotation anchor resolution, and required-placeholder target validation run on both engines. The structural and envelope checks run on the canonical Go engine only — the TypeScript mirror does not expose an identical API for those, so those rows are marked canonical only.

Loading the KBF conformance runner…

Curious how a document flows through these operations? Read the anatomy of a KBF document and round-trip one live, or consult the specification.