- add a transport client for one current backend protocol with loopback http,
TLS-only remote endpoints, explicit remote consent, disabled redirects,
bounded timeout/batch/payload/response/dimension and no credential in URLs
- validate responses strictly (count, index order, dimension, finite values,
non-zero norm, mixed-model rejection) and abort publication when any vector
is missing so a mixed index is never stored
- embed search units in the same transaction that writes the projection, with
content-digest/model-digest guarded reuse for incremental compiles; the
build metadata records endpoint/model/revision/dimension/distance/chunking
- add the semantic query channel behind explicit --semantic using an exact
cosine scan with a bounded vector budget; default queries stay completely
offline even when vectors exist
- add a local mock-server integration test proving protocol handling,
cross-vocabulary recall, offline default behaviour, remote consent rules and
all-or-nothing failure; real-model quality remains NOT RUN and is not claimed
- add schema revision 1 with application id, singleton build row, documents,
nodes, aliases, edges, contexts, inputs, diagnostics, search_units,
FTS5 search_fts, grams and embeddings tables; spans and resolved-target
invariants are enforced by CHECK constraints and foreign_keys=ON
- full rebuild stages a private database in the target directory and renames
it atomically after source recheck and quick_check; a foreign or symlinked
database is refused, never overwritten
- incremental publish replaces the projection inside one transaction, so
readers see the old or the new complete snapshot and failures roll back to
the last successful artifact
- store exact UTF-8 source bytes and digest-guarded normalised facts for the
incremental re-analysis cache; inputs are content digests, never mtimes
- build one search unit per structural node/chunk with CJK bigram FTS
segmentation, weighted FTS fields and bounded 2/3-gram fuzzy rows
- add read-only store API (nodes, aliases, edges, units, FTS/gram candidates,
exact-name lookup, embeddings, diagnostics, integrity, currentness) and
integration tests for publish/read/search/incremental/foreign-db safety