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.
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.
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.
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.
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.
GraphSearchRequest
Bounded graph search request against an explicit graph snapshot.
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.
ProposalDecision
Proposal decision request.
ProposalListRequest
Proposal list filter.
ServiceOperatorUpdate
Service operator state update.
SqliteGraphStore
SQLite implementation of graph facts, mutation log, and index metadata.
StorageHealth
Storage health surfaced to 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.

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 contract.
KnowledgeStore
Combined storage facade used by the application service.
MutationLogStore
Mutation log contract consumed by reconcilers and indexers.

Type Aliases§

StorageFuture