Searchable Feature gallery

ADR-0004: Semver for the public API; a manifest version integer for the index format, checked independently

Status

Accepted (index-format check implemented since Phase 1, packages/client/src/validate-manifest.ts; the API-semver half takes effect at the 1.0 tag itself, see reference/compatibility.md).

Context

Two different things can break compatibility independently: the @ktjn/searchable-client/@ktjn/searchable-indexer public API surface (function signatures, option shapes), and the on-disk/over-HTTP manifest+shard format they read and write. A deployment can upgrade one without the other (rebuild with a new indexer against an old client still deployed, or vice versa) so they need independent version numbers and independent compatibility rules, not one combined "package version" meaning both at once.

Decision

Alternatives Considered

Consequences