Define index manifest schema v0.1 #21
Labels
No labels
area/deployment
area/governance
area/metadata
area/pipeline
area/search
type/data
type/design
type/implementation
type/testing
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#22 Implement deterministic full-text index generation
Arkive/arkive
#48 Generate and validate a separate local-content index
Arkive/arkive
Reference
Arkive/arkive#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Record index format and schema version.
Record build tool, backend, and relevant dependency versions.
Record deterministic build configuration.
Identify included and excluded source, document, and chunk records.
Record hashes or equivalent integrity identifiers for corpus inputs.
Record language and compatibility information needed by the runtime.
Define treatment of timestamps so reproducibility is preserved where required.
Record an integrity checksum for the built index artifact or artifact set.
Add schema documentation, positive examples, negative fixtures, and validation tests.
Vector, embedding, model, translation, speech, or public-release manifests.
Index-builder implementation.
A generalized artifact-signing system.
Included and excluded records are explicit.
Input and index integrity information is verifiable.
Backend and build configuration are reproducible.
Timestamp behavior is documented and does not create unexplained nondeterminism.
Positive and negative validation tests pass.
The design remains limited to the lexical index.
Exercise missing, duplicate, stale, incompatible, and checksum-invalid negative fixtures.
Run the complete unit-test suite.
Review the schema against the selected backend ADR.
Picking this up on
feature/issue-21-index-manifest. Plan: a JSON Schema for the lexical index manifest shaped around ADR-0004 (SQLite FTS5 config, insertion order, tie-break, SQLite version), explicit included/excluded records with verifiable per-document chunk digests, artifact checksums, and aprovenancesection that is the only place a timestamp may live. Positive fixture plus missing / duplicate / stale / incompatible / checksum-invalid negatives, wired into the existing validator. PR to follow for review; happy to adjust or drop it if you had a different shape in mind.Completed by PR #69.
The lexical index manifest v0.1 now defines and validates:
The review follow-up also made builder identity required reproducible metadata and explicitly documented how exact chunk membership is represented without enumerating individual chunk IDs.
Issue #21 acceptance criteria are satisfied.
Closing as completed via PR #69.