Skip to main content

Module runtime

Module runtime 

Source
Expand description

Embedded runtime with connection pooling, scans and health.

Modules§

ai
AI runtime modules.
ask_pipeline
AskPipeline — issue #121.
audit_log
Structured audit log for SOC 2 / HIPAA / ISO 27001 deploys.
audit_query
Audit log query / replay helpers.
authorized_search
Authorized search entry point — issue #119.
config_matrix
Performance / operational config matrix.
config_overlay
Boot-time config overlay.
config_watcher
Hot-reload watcher for the server config file.
disk_space_monitor
DiskSpaceMonitor — edge-triggered disk space watchdog.
impl_kv
KV DSL command execution and KvAtomicOps module.
impl_queue
Queue DDL and command execution
kv_watch
lease_lifecycle
Serverless writer-lease state machine.
lease_loop
Serverless writer-lease boot path (PLAN.md Phase 5 / W6).
lease_timer_wheel
Edge-triggered timer wheel for lease expiry / refresh scheduling.
lifecycle
Process lifecycle state machine (PLAN.md Phase 1 — Lifecycle Contract).
locking
Intent-lock hierarchy adapter — Resource naming + LockerGuard RAII.
mvcc
Re-exports for transports + tests that need per-connection isolation, tenant / auth thread-locals, and MVCC snapshot utilities. Mirrors what PG-wire / gRPC / HTTP middleware already call, and is enough to emulate independent connections in integration tests.
quota_bucket
Per-caller QPS quotas via token bucket (PLAN.md Phase 4.4).
record_search_helpers
Public helpers re-exported for use by the presentation layer.
resource_limits
Operator-imposed resource limits (PLAN.md Phase 4.1).
schema_diff
Schema diff engine — EXPLAIN ALTER FOR runtime.
schema_vocabulary
Reverse-index from tokens to schema entities (issue #120).
snapshot_reuse
Snapshot reuse coordinator — Phase 5 / PLAN.md backlog 3.4.
within_clause
WITHIN TENANT '<id>' [USER '<u>'] [AS ROLE '<r>'] <stmt> — a per-statement scope override for tenant + auth identity.
write_gate
Public-mutation gate.

Structs§

ConnectionPoolConfig
ContextConnection
ContextEntity
ContextGraphResult
ContextSearchResult
ContextSummary
EffectiveScope
Lightweight ReadFrame carrier used by AI command entry points (SEARCH SIMILAR, SEARCH CONTEXT, ASK).
KvStats
RedDBRuntime
RuntimeConnection
RuntimeFilter
RuntimeGraphCentralityResult
RuntimeGraphCentralityScore
RuntimeGraphClusteringResult
RuntimeGraphCommunity
RuntimeGraphCommunityResult
RuntimeGraphComponent
RuntimeGraphComponentsResult
RuntimeGraphCyclesResult
RuntimeGraphDegreeScore
RuntimeGraphEdge
RuntimeGraphHitsResult
RuntimeGraphNeighborhoodResult
RuntimeGraphNode
RuntimeGraphPath
RuntimeGraphPathResult
RuntimeGraphPattern
RuntimeGraphProjection
RuntimeGraphPropertiesResult
RuntimeGraphTopologicalSortResult
RuntimeGraphTraversalResult
RuntimeGraphVisit
RuntimeIvfMatch
RuntimeIvfSearchResult
RuntimeQueryExplain
RuntimeQueryResult
RuntimeQueryWeights
RuntimeStats
ScanCursor
ScanPage
SystemInfo

Enums§

ContextConnectionType
DiscoveryMethod
RuntimeFilterValue
RuntimeGraphCentralityAlgorithm
RuntimeGraphCommunityAlgorithm
RuntimeGraphComponentsMode
RuntimeGraphDirection
RuntimeGraphPathAlgorithm
RuntimeGraphTraversalStrategy

Constants§

METRIC_CACHE_SHADOW_DIVERGENCE_TOTAL