Telemetry and validation
HelixDB uses two related foundations to make database behavior visible and trustworthy. Operational telemetry records pseudonymous query and product-operation outcomes, while the database testkit and production-linked contracts check planner, database, index, vector, and transport behavior against stable models and replayable workloads.
Operational telemetry
Operational telemetry gives the Helix CLI, server, and embedded runtime a shared way to report query and product operation behavior. It is best-effort: query execution does not wait for the network and a telemetry failure does not change a public query result. The detailed collection and delivery rules are described in Telemetry collection.
Query observation
Query telemetry turns one request into a query.execute event. The event keeps the query shape and the result status useful for product and planner analysis without sending returned data or request values. Its outcome records success warnings or a typed failure category, and it may include planner diagnostics and request timing. CLI telemetry uses the same envelope for install, compile, deploy, redeploy, test, and Chef operation outcomes.
The event uses a canonical query form so equivalent JSON key order does not create different observations. Literal property values are replaced with their value kind in the telemetry form. This preserves query structure while keeping values such as strings, vectors, and bytes out of the event.
References: crates/…/query.rs• L141-193 crates/…/query.rs• L206-328 crates/…/mod.rs• L56-158 crates/…/mod.rs• L594-630
Execution step observations
Execution step observations add local runtime detail to the public execution boundary. Each executed step reports its operator, row count, and elapsed time through the debug logging path, so operators can inspect work within a query without exposing its returned values.
The production contract checks both mutation and vector-search step sequences. This keeps the observation contract tied to real execution while allowing a tracing subscriber or the log facade to collect it.
References: crates/…/production_contracts.rs• L627-729 crates/…/production_contracts.rs• L771-798
Privacy boundary
The telemetry boundary separates useful context from data that must stay in the database path. An installation identity is stable for one Helix home directory, while a session identity groups one telemetry runtime. A user identity is optional and only applies at the full privacy level. Server requests can add cluster and tenant context, but embedded requests do not have a transport tenant header.
| Telemetry level | Operational effect |
|---|---|
full | Sends the optional user identity with the installation identity. |
basic | Sends the installation identity without the user identity. |
off | Does not start query telemetry and removes pending CLI spool data. |
Events do not include returned rows, query parameters, embeddings, or email. Context IDs and client fields are checked before they can enter the event contract. Public planner diagnostics follow the same boundary: useful insight metadata remains available while query result values remain out of the diagnostic payload. Project and deployment attribution uses pseudonymous IDs, and the environment records whether the sender runs on a host, in a container, in Kubernetes, or in CI.
References: crates/…/README.md• L14-37 crates/…/attribution.rs• L1-16 crates/…/attribution.rs• L227-305 crates/…/query.rs• L28-124 crates/…/config.rs• L10-72 crates/…/config.rs• L83-107 crates/…/production_contracts.rs• L498-591
Delivery boundary
Telemetry delivery is separated from request execution by a bounded queue and a small background runtime. The runtime groups events into valid JSON envelopes, limits their size, and sends them to an HTTPS endpoint. It flushes on a short interval and on shutdown, but it stops within a fixed time if delivery does not finish. Server and embedded runtimes also maintain cumulative query summaries so operators can count recorded queries even when individual events are dropped.
The CLI uses a different durability rule because it can run without a long-lived process. It writes complete envelopes to a local spool before delivery. A response, including a rejected response, removes the file. A timeout or other no-response condition keeps the file for a later attempt. Pending files are bounded by age and total size, and a privacy downgrade strips the optional user identity before delivery.
This diagram shows how a query or CLI observation moves from its runtime boundary to the telemetry service without blocking the query.
flowchart LR
Q[Query execution] --> E[Validated query event]
E --> B[Bounded in-memory queue]
B --> P[JSON envelope]
P --> H[Telemetry endpoint]
T[Session query counts] --> U[Cumulative summary]
U --> H
C[CLI event] --> S[Durable local spool]
S --> H
H --> R{HTTP response}
R -->|Accepted or rejected| D[Discard delivery record]
R -->|No response| K[Keep for retry]
References: crates/…/telemetry.rs• L16-26 crates/…/telemetry.rs• L190-299 crates/…/telemetry.rs• L323-369 crates/…/telemetry.rs• L390-511 crates/…/transport.rs• L41-86 crates/…/transport.rs• L106-167 crates/…/spool.rs• L11-91 crates/…/spool.rs• L134-163
Verification foundations
Verification uses independent expectations rather than checking only that one implementation runs without an error. The database testkit describes requests as typed actions, models the expected graph and lifecycle state, records what an adapter observed, and compares the two across repeatable workloads.
The Cargo target inventory separates production-linked checks from unit-style tests, benchmarks, examples, and release-scale gates. This keeps coverage claims tied to executable public boundaries and makes the durable workload set discoverable.
Independent semantic models
The testkit models the meanings that must survive storage and execution choices. Its graph model covers nodes, edges, properties, traversals, projections, and aggregates. Its composite model also covers index lookup, search ranking, index generation visibility, committed snapshots, and resource ownership.
The model is intentionally separate from database codecs and storage objects. A database or planner result is correct when it matches the model for the same action and snapshot. A write is checked as atomic, and a read is checked against the exact snapshot owned by its request.
References: crates/…/lib.rs• L1-6 crates/…/model.rs• L98-176 crates/…/model.rs• L554-650 crates/…/history.rs• L270-399
Durable request traces
Each workload records a seed, logical request times, request identity, runtime, tenant, snapshot, action, commit sequence, and typed result or error. The trace validator rejects duplicate requests, invalid clocks, bad commit order, and illegal index lifecycle transitions. This makes a failure a durable description of behavior instead of a one-time scheduler result.
The trace is also the shared language between workload generation and adapters. An embedded database, a service boundary, and a transport adapter can receive the same request record and return observations in the same typed form.
References: crates/…/trace.rs• L15-16 crates/…/trace.rs• L43-88 crates/…/trace.rs• L138-287 crates/…/replay.rs• L10-91
Replay and failure reduction
Replay runs a validated trace in recorded completion order and compares both typed outcomes and commit sequences. When a trace fails, deterministic shrinking removes request chunks while preserving a valid trace and the failure predicate. The minimized trace is saved in a content-addressed regression corpus so the same failure can be loaded and checked again.
References: crates/…/replay.rs• L61-93 crates/…/shrink.rs• L35-143
Production-boundary contracts
Production-boundary contracts compile as external consumers and then exercise the real database code and durable codecs. They extend public workload checks into internal vector storage, search, lifecycle, cache, and read-view boundaries without adding a second data format or counting the test harness as product coverage.
The public contract set checks query results, planner diagnostics, pull execution paths, step observations, resource limits, cache configuration, and durable reopen behavior. Feature-gated internal contracts cover physical vector state and other boundaries that are not part of the supported public test surface. The target inventory records which checks belong to bounded production coverage and which remain separate scale or benchmark workloads.
The current vector contract set checks the full path from durable index identity to search and mutation behavior. It also checks that scalar and hardware-dispatched distance paths agree, invalid states fail closed, tenant and generation ownership stay distinct, and failed writes leave cache and storage state safe to retry.
References: crates/…/production_contracts.rs• L1-7 crates/…/production_contracts.rs• L498-591 crates/…/production_contracts.rs• L627-800 crates/…/pull_paths.rs• L1-8 crates/…/production_internal_contracts.rs• L1-8 crates/…/production_internal_contracts.rs• L111-180 crates/…/mod.rs• L224-249 crates/…/mod.rs• L379-445 crates/…/distance_neighbors.rs• L49-78 crates/…/index.rs• L58-117 crates/…/mutation.rs• L1361-1420
Demand-driven query paths
Demand-driven query paths validate the planner and interpreter boundary where windows, terminal counts, and existence checks request only the rows they need. The contracts cover branches, repetition, variable sources, expansions, predicates, and index-backed windows while preserving result order and typed rejection behavior.
These checks matter because a planner change can move an operator into or out of a pull region without changing the query text. The durable public workload makes that change visible through result values, bounds, ordering, and error types.
References: crates/…/pull_paths.rs• L1-8 crates/…/pull_paths.rs• L130-265 crates/…/pull_paths.rs• L267-350 crates/…/pull_paths.rs• L931-1128
Resident vector state
Resident vector state validation checks the boundary between durable rows and memory used for serving. Hydration accepts only descriptor-owned rows, respects a shared memory budget, publishes a complete view, and stops safely on shutdown, corruption, or a read that has become stale. Managed reads use the resident view when it is valid and fall back to durable storage when a row is missing or dirty.
The checks also measure the cost of loading and looking up a disk-backed fixture. This gives memory admission and object-store reads a repeatable workload instead of treating cache behavior as an unmeasured side effect.
References: crates/…/hydration.rs• L298-390 crates/…/hydration.rs• L917-1045 crates/…/hydration.rs• L1428-1647 crates/…/memory_store.rs• L49-125 crates/…/memory_store.rs• L387-677 crates/…/memory_benchmark.rs• L31-63 crates/…/memory_benchmark.rs• L74-207
Cache resource lifecycle
Cache lifecycle validation checks that repeated reader use reuses the process-level disk cache and does not leave database-owned file handles behind after close. It isolates descriptor counts from concurrent tests and skips when the host does not expose the required process file view.
This check protects an operational limit rather than a query result. Without it, repeated reader reopen cycles can exhaust the process file limit even when reads and writes remain correct.
References: crates/…/hybrid_cache_reuse.rs• L1-11 crates/…/hybrid_cache_reuse.rs• L86-145 crates/…/production_contracts.rs• L127-180 crates/…/production_contracts.rs• L208-333
Planner validation
Planner validation checks meaning at the boundary where a query and planner context become an executable plan. The testkit uses a finite domain of query shapes, input sizes, index limits, optimizer limits, optional context, and storage cost profiles. Pull-request checks use a pairwise set of axis values, while broader runs can use the complete finite product.
For each case, the testkit checks query and context round trips, repeats planning, compares the semantic plan after removing only wall-clock optimization time, and checks executable-plan serialization. A stable rejection is also a valid result when the same normalized input returns the same typed planner error.
References: crates/…/planner_domain.rs• L1-6 crates/…/planner_domain.rs• L26-62 crates/…/planner_domain.rs• L296-342 crates/…/planner_domain.rs• L345-429 crates/…/planner_domain.rs• L625-713
Database lifecycle workloads
Database workloads exercise behavior across time rather than one isolated query. Seeded lifecycle runs combine foreground writes with secondary, vector, and text index work. They check that pending generations stay hidden, active generations become visible as one state change, foreground mutations reach the required generations, retries are safe, and retired resources are reclaimed.
The same workload records coverage and a replay trace. It can therefore show which lifecycle paths ran and preserve the exact history that produced a failure. Sustained workload classes extend this view to reads during writes, maintenance, restart and recovery, backfill, lifecycle churn, and multi-tenant contention. Replica lag is measured by storage sequence progress rather than by an inferred row count.
References: crates/…/lifecycle_workload.rs• L1-6 crates/…/lifecycle_workload.rs• L93-155 crates/…/lifecycle_workload.rs• L278-344 crates/…/lifecycle_workload.rs• L905-1016 crates/…/sustained.rs• L11-44 crates/…/sustained.rs• L185-221
Index-operation queue lifecycle
Index-operation queue contracts verify the durable path that carries vector and text index changes from foreground writes to publication. The queue tracks capacity, ownership, uncertain outcomes, and publication lag so a restart or lost acknowledgement does not silently lose work or release it twice.
Production-linked workloads exercise bounded selection, retry and repair, generation retirement, tenant scope isolation, metadata mismatch, malformed queue data, concurrent catalog changes, WAL failure, and writer fencing. They require the system to publish valid work, hold unsafe work without writing, discard retired work, and fail closed when storage cannot be trusted.
This diagram shows the queue lifecycle from a graph mutation to a published or safely retained result.
flowchart LR
W[Graph mutation] --> A[Queue admission]
A --> Q[Durable index-operation queue]
Q --> P[Bounded publisher]
P --> R{Outcome}
R -->|Published| I[Search index state]
R -->|Retry or uncertain| Q
R -->|Blocked| H[Held for repair]
R -->|Retired| D[Discard and release]
References: crates/…/index_operation_queue.rs• L1-14 crates/…/index_operation_queue.rs• L63-69 crates/…/index_operation_queue.rs• L198-206 crates/…/index_operation_queue.rs• L646-783 crates/…/queue_publication.rs• L1-13 crates/…/queue_publication.rs• L59-71 crates/…/queue_publication.rs• L308-358 crates/…/queue_publication.rs• L726-901 crates/…/queue_publication.rs• L981-1161 crates/…/queue_publication.rs• L1232-1321
Mutation visibility
Mutation visibility checks ensure that one write batch sees the right mix of its own staged rows and committed index state. A mutation count returns the row it just created without requiring deferred index maintenance to flush. Later index-backed counts and expansions still see all earlier writes in the batch, while a unique conflict rejects the whole batch so no counted row remains.
References: crates/…/mutation_count_visibility.rs• L1-4 crates/…/mutation_count_visibility.rs• L60-190 crates/…/mutation_count_visibility.rs• L192-240
Planner and database semantic parity
The planner and interpreter are checked against an independent graph model through real database queries. The semantic oracle verifies ordinary graph results, traversal results, and rejection atomicity. This catches cases where planning selects a valid-looking path that changes query meaning or exposes a rejected write.
Relationship-specific contracts add a plan-shape check for unselective typed patterns. They also verify that relationship scans respect staged changes, statement-time row selection, deletion, and reopen behavior. This ties planner choices to the same graph and storage semantics used by execution.
References: crates/…/planner_semantic_oracle.rs• L17-28 crates/…/planner_semantic_oracle.rs• L58-114 crates/…/planner_semantic_oracle.rs• L116-138 crates/…/relationship_scans.rs• L22-107 crates/…/relationship_scans.rs• L109-166 crates/…/production_cypher_contracts.rs• L75-79 crates/…/production_cypher_contracts.rs• L364-415
Transport parity
Transport validation runs one named public-query corpus through adapter boundaries and compares the JSON observations with fixed expected results. The corpus includes a write, projections and aggregates, an update, and a read after the update. The purpose is to keep embedded, service, and transport paths aligned while allowing each adapter to use its own runtime boundary.
References: crates/…/transport_corpus.rs• L1-12 crates/…/transport_corpus.rs• L31-153
Child verification guides
The broad model above has two focused guides. Telemetry collection explains event capture, privacy settings, attribution, queueing, transport, summaries, and CLI spool behavior. Database testkit verification explains modeled actions, durable histories, replay and shrinking, planner checks, lifecycle workloads, and semantic oracles.
References: crates/…/README.md• L1-95 crates/…/lib.rs• L1-6
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the telemetry event schema, literal-redaction rules, privacy levels, attribution fields, and the server or embedded query record aligned. A field can be valid in one layer and still be lost or exposed at the next boundary.
- Keep execution step fields and operator names aligned with the public execution boundary. A planner change can preserve query results while making runtime observations incomplete or misleading.
- Keep envelope limits aligned with the queue, summary state, CLI spool, and endpoint contract. A larger event must split or fail before it can block query work.
- Keep trace outcome variants aligned with adapter error mapping and lifecycle validation. A new failure type must remain replayable and must not be mistaken for a successful commit.
- Keep planner semantic fingerprints independent of elapsed optimization time. Changes to plan serialization must preserve the fields that define plan meaning.
- Keep pull-region result order, demand limits, variable shapes, and typed errors aligned when operators move between push and pull execution.
- Keep transport corpus requests and expected JSON observations aligned across all adapter implementations. A changed public response shape affects every boundary.
- Keep lifecycle state, physical visibility, foreground catch-up, and reclaim rules aligned with the independent oracle. A state change that reaches only one of these views can pass a local check and fail a durable workload.
- Keep queue admission, uncertainty reconciliation, publication outcomes, and lag counters aligned. A new commit or acknowledgement path must settle each durable operation exactly once.
- Keep queue ownership, generation identity, tenant scope, and codec validation aligned across reopen and publication. A mismatch must fail closed rather than route work to another index.
- Keep bounded publication limits aligned with retry and repair behavior. Trimming or blocking must not write a partial batch or lose a held entity.
- Keep mutation-local counts and later index-backed reads aligned with the batch's staged-write view. Changes to deferred index maintenance must not hide earlier writes or make a counted write survive a failed unique commit.
- Keep production-linked vector contracts aligned with the public vector planner and the current durable row codecs. Changes to metric identity, generation ownership, cache admission, hydration, mutation repair, or read views can make internal checks validate a path that no longer matches public behavior.
- Keep memory and object-store measurements tied to the same row families and admission rules used by serving. A fixture that loads the wrong rows or charges them differently can hide cache regressions without changing query results.
- Keep the Cargo target inventory aligned with production coverage discovery. Moving a contract between shared, production-only, benchmark, or scale targets changes what the coverage gate proves.
- Keep relationship plan expectations aligned with statement-time staging and native graph counts. A change to scan selection can alter both plan shape and same-statement results.
- Keep hybrid cache ownership and close behavior aligned with process-wide reuse rules. A changed partition budget or reader lifecycle can alter file-handle counts without changing query results.
- Keep attribution normalization and forwarded environment values aligned between the CLI, started containers, CI, and server runtimes. A change can split one project or deployment into several telemetry identities.
- Keep privacy changes aligned with persisted CLI spool files. Downgrading from full to basic must remove user identity from pending envelopes, while off must prevent those files from being sent.
- Keep summary counts aligned with accepted, invalid, and queue-full query events. A dropped execution event must still contribute to the session count and its final summary.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Query literals enter the telemetry serialization path | Sensitive values can leave the runtime | Telemetry canonicalization replaces property values with stable kinds and tests the redaction boundary. |
| An execution step stops emitting its observation | Runtime work is missing from operational diagnosis | Production contracts check operator, row, and timing fields for mutation and search steps. |
| The telemetry queue is full or an event is invalid | The observation is dropped while the query continues | Separate counters report invalid-event and ingress-full drops, and summaries retain the total query count. |
| A telemetry request gets no response | The CLI could lose an event or retry a response already received | CLI spool files remain on no-response and are removed after any response. |
| Privacy is downgraded while full-identity envelopes wait in the spool | A pending envelope can carry a user identity that is no longer allowed | Startup applies the current privacy level to pending envelopes before delivery. |
| A project or deployment attribution override is malformed | Related installations can be split or labeled incorrectly | Attribution validates explicit values and falls back to a derived value without stopping startup. |
| A read result comes from a newer snapshot | A concurrent read observes data that was not visible at request start | IsolationHistory computes the expected result from the request-owned snapshot. |
| A failed write records a commit or exposes staged changes | Partial data becomes visible after rejection | Trace validation forbids failed commits and the model applies transactions atomically. |
| A mutation count uses only durable index state | A write's own row or an earlier staged row is missing from the batch result | Mutation visibility contracts check local counts, later index-backed reads, and expansions before commit. |
| A pull operator changes its demand or output order | Windows, counts, or existence results change after a planner rewrite | Pull-path contracts compare bounded branches, repeat, variables, expansions, and indexed windows with fixed results. |
| The same planner input produces a different plan or typed error | Query behavior can vary without a source change | Planner checks repeat normalized inputs and compare semantic plans or typed rejections. |
| A pending or retired index becomes public, or a retired resource is not reclaimed | Reads can use incomplete data or storage can leak | Lifecycle workloads validate logical state, physical visibility, blob references, and final drain. |
| A queue acknowledgement or commit has an uncertain outcome | Work can be published twice, lost, or charged forever | Queue contracts reconcile durable storage and require exact-once accounting of pending and acknowledged operations. |
| Publication exceeds its batch budget or sees unsafe metadata | A partial or misrouted index update can corrupt search state | Publication contracts trim or block without writing, hold the entity for retry, and fail closed on metadata mismatch. |
| A queue belongs to a retired generation or another tenant | Search can use stale data or one scope can affect another | Reopen and scope contracts validate canonical ownership, independent queues, and discard behavior. |
| A queue value or merge operand is malformed | Recovery or publication can interpret invalid index work | Codec contracts reject noncanonical data and writer open refuses corrupt queues. |
| One transport returns a different JSON shape | Clients see different database behavior by entry point | The shared transport corpus compares adapter observations with stable expected results. |
| A vector cache accepts rows from the wrong generation, scope, or descriptor | Search can use stale or unrelated vector state | Production-boundary contracts validate identity, descriptor ownership, corruption handling, and request read views before serving cached rows. |
| Vector distance kernels disagree or an invalid vector reaches scoring | Neighbour order or scores can vary by machine, or search can fail late | Metric contracts compare scalar and dispatched arithmetic and reject invalid dimensions, magnitudes, and unsupported semantics at the boundary. |
| Hydration exceeds its budget or publishes a stale partial view | Startup can consume unbounded memory or serve incomplete search state | Hydration contracts check ordered admission, budget outcomes, cancellation, refresh identity, and stale-reader handling. |
| A vector mutation fails after changing cache state | A retry can write from a cache that no longer matches durable rows | Mutation contracts retain dirty state until flush succeeds and verify entry-point, neighbour, and deletion repair paths. |
| A relationship scan uses live rows after its statement snapshot | A query can count rows created later in the same statement or miss its own staged changes | Relationship contracts compare scan planning with fixed statement rows, staged writes, deletes, and reopen results. |
| Reopened hybrid readers open a new disk-cache set or retain database-owned descriptors | Repeated opens can exhaust the process file limit | The isolated cache target checks one shared partition set after every reopen and checks release after close. |
Key files
| File | Why to read it |
|---|---|
| crates/…/README.md | Gives the product-level telemetry contract, privacy boundary, attribution, query summaries, delivery behavior, and CLI durability rules. |
| crates/…/query.rs | Shows how query shape, outcome, planner diagnostics, and context become a privacy-safe observation. |
| crates/…/transport.rs | Shows non-blocking query recording, cumulative session summaries, and server or embedded delivery behavior. |
| crates/…/telemetry.rs | Defines the common event envelope, validation limits, and non-blocking delivery boundary. |
| crates/…/attribution.rs | Defines pseudonymous project and deployment identity and runtime environment attribution. |
| crates/…/config.rs | Shows persisted CLI privacy settings and environment overrides. |
| crates/…/spool.rs | Shows how CLI telemetry survives process exit and network timeouts. |
| crates/…/mod.rs | Shows the CLI operation event boundary and durable worker lifecycle. |
| crates/…/model.rs | Defines the independent graph, search, snapshot, lifecycle, and resource expectations. |
| crates/…/history.rs | Shows how request-owned snapshots and transaction outcomes are checked. |
| crates/…/trace.rs | Defines the durable request trace and its validity rules. |
| crates/…/replay.rs | Shows how the same trace is compared across runtime adapters. |
| crates/…/shrink.rs | Shows how failing histories become small, repeatable regression cases. |
| crates/…/planner_domain.rs | Defines finite planner coverage and deterministic plan validation. |
| crates/…/lifecycle_workload.rs | Shows the seeded index lifecycle and foreground-traffic workload. |
| crates/…/transport_corpus.rs | Defines cross-adapter public-query parity checks. |
| crates/…/planner_semantic_oracle.rs | Demonstrates planner and interpreter results checked against an independent graph model. |
| crates/…/TEST_TARGET_INVENTORY.md | Records Cargo-discovered database targets, their production-only roles, and the boundaries between durable, benchmark, and scale workloads. |
| crates/…/production_contracts.rs | Exercises supported public planner, query, telemetry-observation, cache, resource, codec, and durable lifecycle contracts. |
| crates/…/pull_paths.rs | Demonstrates bounded execution, operator demand, index-backed windows, and typed pull-path errors. |
| crates/…/index_operation_queue.rs | Verifies queue admission, uncertainty reconciliation, codec safety, recovery, and tenant scope ownership. |
| crates/…/queue_publication.rs | Verifies bounded vector and text publication, retries, retirement, metadata safety, WAL uncertainty, and writer fencing. |
| crates/…/mutation_count_visibility.rs | Demonstrates same-batch mutation counts, index-backed read visibility, and all-or-nothing unique-conflict behavior. |
| crates/…/relationship_scans.rs | Demonstrates relationship scan plan selection and statement or storage lifecycle behavior. |
| crates/…/production_cypher_contracts.rs | Groups the public Cypher contracts that validate graph semantics, limits, rollback, and transport-facing results. |
| crates/…/hybrid_cache_reuse.rs | Isolates repeated hybrid-reader reuse and file-handle release behavior. |
| crates/…/production_internal_contracts.rs | Exposes the production-linked contract entry points for vector, storage, cache, lifecycle, and read-view validation. |
| crates/…/mod.rs | Groups feature-gated production contracts and states the boundary between measured database code and test orchestration. |
| crates/…/index.rs | Shows the vector facade checks for identity, DDL, typed rows, search diagnostics, corruption, and cleanup. |
| crates/…/hydration.rs | Shows descriptor-bound hydration, budget, scope, refresh, object-store warm-up, and stale-reader checks. |
| crates/…/memory_store.rs | Shows resident-cache reads, dirty-row bypass, bounded loading, shutdown, and corruption checks. |
| crates/…/mutation.rs | Shows operation-local vector mutation, repair, eviction, and retry-safe flush checks. |
| crates/…/distance_neighbors.rs | Shows active metric identity, scalar/dispatched arithmetic parity, and bounded neighbour invariants. |
| crates/…/memory_benchmark.rs | Defines the disk-backed fixture used to observe vector hydration cost and warm lookup behavior. |