Detect stale, mismatched, missing, or corrupted indexes #25
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
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#21 Define index manifest schema v0.1
Arkive/arkive
#22 Implement deterministic full-text index generation
Arkive/arkive
#23 Implement the offline search library and CLI
Arkive/arkive
Reference
Arkive/arkive#25
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
Compare recorded source, document, and chunk input hashes with current validated data.
Verify the index artifact checksum or artifact-set integrity.
Detect changed source records, document checksums, chunk content, chunk identifiers, and build configuration.
Detect missing index files, missing manifests, partial artifact sets, and corruption.
Define explicit failure messages and exit behavior.
Prevent searches when integrity or compatibility cannot be established.
Add focused fixtures for each stale or corrupted state.
Remote index fetching.
Cryptographic signing or public-release verification.
Vector-index integrity.
Generated-answer safeguards.
#22 — Implement deterministic full-text index generation
#23 — Implement the offline search library and CLI
#24 — Implement citation resolution and exact passage display
Every specified stale, mismatched, missing, incompatible, or corrupted state is detected.
The runtime refuses to return results when verification fails.
Errors identify the mismatched component without exposing misleading passages.
Integrity checks operate fully offline.
Exercise changed source metadata, document checksum, chunk text, chunk ID, build configuration, missing artifact, missing manifest, partial artifact, and corrupted index fixtures.
Confirm the CLI returns a non-zero status and no search results for each invalid state.