Skip to main content

Module storage

Module storage 

Source
Expand description

Storage contracts and SQLite-backed graph state.

Storage owns persisted graph facts, mutation log entries, derived index metadata, and health snapshots. Domain and interface modules must not depend on SQL or concrete database types.

Structs§

AuditQueryRequest
Audit query filter.
CodeChunkSearchRequest
Bounded code chunk search against an explicit graph snapshot.
CodeImpactChanges
Diff-derived inputs used to seed code impact expansion.
CodeIndexTaskClaimRequest
Lease acquisition request for one background code index task.
CodeIndexTaskCompletion
Completion report guarded by task lease and attempt token.
CodeIndexTaskFailure
Failure report for retry and dead-letter handling.
CodeIndexTaskLeaseRecord
Active code-index task lease used by service startup recovery.
CodeIndexTaskLeaseRecovery
Recovery request for running task leases known to be orphaned.
CodeIndexTaskLeaseRenewal
Lease renewal request for an actively running code index task.
CodeIndexTaskSeed
New background code index task to persist or deduplicate.
CodeReferenceSearchRequest
Bounded code reference search against an explicit graph snapshot.
CodeRepositorySetEdgeSelector
Bounded repository-set overlay keys needed to decorate retrieval candidates.
CodeRepositorySetMemberSeed
New or replaced repository-set member pointer.
CodeRepositorySetRefreshTaskClaimRequest
Lease acquisition request for one repository-set overlay task.
CodeRepositorySetRefreshTaskCompletion
Completion report guarded by task lease and attempt token.
CodeRepositorySetRefreshTaskFailure
Failure report for retry and dead-letter handling.
CodeRepositorySetRefreshTaskSeed
Repository-set overlay refresh task to persist or deduplicate.
CodeRepositorySetSeed
New repository set metadata to persist.
CodeScopeRetentionRequest
Scope retention request after a repository index completes.
CodeSymbolSearchRequest
Bounded code symbol search against an explicit graph snapshot.
FileContentChunk
Text chunk extracted from an authorized local file.
FileContentEntry
Content read-model record produced by a bounded scan.
FileContentReadModelCursor
Scoped derived cursor state for one file-content read-model input.
FileContentSearchHit
One file-content search hit with provenance and prompt-role isolation.
FileContentSearchRequest
Bounded file-content query.
FileIndexDiagnostics
Aggregated file-index diagnostics.
FileIndexEntry
Indexed file-location record produced by a bounded scan.
FileIndexRoot
Authorized root scanned by the local file indexer.
FileIndexRootStatus
Root-level status surfaced to health and service diagnostics.
FileIndexRootUpdate
Full-root replacement produced by one scan pass.
FileIndexScanSummary
Summary returned after one or more roots are indexed.
FileKnowledgeFactCandidate
Deterministic candidate fact extracted from file content.
FileSearchHit
One file-location search hit.
FileSearchRequest
Bounded file-location query.
GraphCanvasStorageEdge
Storage edge projected into the Web graph canvas contract.
GraphCanvasStorageNode
Storage node projected into the Web graph canvas contract.
GraphCanvasStorageRequest
Bounded graph canvas request against an explicit graph snapshot.
GraphCanvasStorageSnapshot
Bounded storage snapshot for one graph canvas view.
GraphInspection
Aggregated graph status for diagnostics.
GraphSearchOutcome
Search hits plus the bounded traversal trace that produced them.
GraphSearchRequest
Bounded graph search request against an explicit graph snapshot.
HealthStorageSnapshot
Read-only storage view used by service health without mutating indexes.
IndexCursor
Scoped cursor for a derived index read model.
IndexLag
Per-kind lag included in diagnostics snapshots.
IndexRefreshClaimRequest
Lease acquisition request for bounded foreground workers.
IndexRefreshCompletion
Completion report guarded by the active task lease and attempt token.
IndexRefreshDiagnostics
Snapshot for queue, dead-letter, and stale-index diagnostics.
IndexRefreshFailure
Failure report for retry backoff and dead-letter isolation.
IndexRefreshQueueRequest
Queue request created by refresh APIs or the reconciler.
IndexRefreshTask
Persistent task used by foreground refresh and startup recovery.
IndexStalenessReason
Structured reason explaining why an index family or scoped cursor is stale.
MutationLogEntry
Mutation log entry returned for replay and index refresh planning.
NewAuditEvent
New durable audit event.
NewProposal
New proposal to persist before manual approval.
NewProposalConflict
New proposal conflict to persist with a proposal.
PartitionedSqliteKnowledgeStore
SQLite topology that keeps global control state in one DB and code facts in one DB per registered repository.
ProposalDecision
Proposal decision request.
ProposalListRequest
Proposal list filter.
ServiceOperatorUpdate
Service operator state update.
SqliteGraphStore
SQLite implementation of graph facts, mutation log, and index metadata.
SqliteStorageDiagnostics
SQLite-specific health data included in shared graph diagnostics.
StorageHealth
Storage health surfaced to diagnostics.
StorageShardCatalogEntry
One repository shard entry from the partitioned SQLite catalog.
StorageTopologySnapshot
Runtime storage topology snapshot surfaced through service diagnostics.
WorkerTaskClaimRequest
Worker lease acquisition request.
WorkerTaskCompletion
Worker completion guarded by the active lease.
WorkerTaskFailure
Worker failure report for retry and dead-letter handling.
WorkerTaskSeed
Worker task input inserted after graph changes or service reconciliation.

Enums§

GraphCanvasSelection
Storage-level graph canvas selection without depending on Web API types.
IndexRefreshTaskState
Persistent index refresh task lifecycle state.
StorageError
Storage boundary failure.
StorageTopology
Storage topology selected at runtime.

Constants§

CODE_INDEX_TASK_LEASE_RECOVERY_UNAVAILABLE
Default error text for stores that do not support code task lease recovery.
CODE_INDEX_TASK_LEASE_RENEWAL_UNAVAILABLE
Default error text for stores that do not support code task lease renewal.
DEFAULT_INDEX_SOURCE_SCOPE
Synthetic scope used for graph-wide index work that is not tied to evidence.

Traits§

CodeGraphStore
Code graph fact persistence and query contract for tree-sitter output.
CodeRepositoryStore
Persisted code repository graph and retrieval contract.
GraphStore
Graph fact persistence and query contract.
IndexStore
Derived index metadata and operational persistence contract.
KnowledgeStore
Combined storage facade used by the application service.
MutationLogStore
Mutation log contract consumed by reconcilers and indexers.

Type Aliases§

StorageFuture