core/

directory
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT

Directories

Path Synopsis
Package audit defines a best-effort, non-blocking audit sink.
Package audit defines a best-effort, non-blocking audit sink.
Package budget provides role/tenant scoped execution budgets.
Package budget provides role/tenant scoped execution budgets.
Package bus is the process's execution bus: every piece of work that reaches a database runs on one of its lanes, and every background task is started through it, so what the process runs is bounded, visible and stopped together.
Package bus is the process's execution bus: every piece of work that reaches a database runs on one of its lanes, and every background task is started through it, so what the process runs is bounded, visible and stopped together.
Package cache defines a generic read-result cache with per-relation invalidation.
Package cache defines a generic read-result cache with per-relation invalidation.
Package codegen renders a relalg.Expr (logical plan) into dialect-specific, fully parameterized SQL.
Package codegen renders a relalg.Expr (logical plan) into dialect-specific, fully parameterized SQL.
Package config defines the runtime configuration model: database, entities, per-tool toggles, cost thresholds, cache, rate limits, and audit.
Package config defines the runtime configuration model: database, entities, per-tool toggles, cost thresholds, cache, rate limits, and audit.
Package cost implements the defense-in-depth cost & resource gate.
Package cost implements the defense-in-depth cost & resource gate.
costtest
Package costtest holds hand-written fakes of the cost interfaces for tests: an Explainer and an EXPLAIN ANALYZE sampler answering as configured.
Package costtest holds hand-written fakes of the cost interfaces for tests: an Explainer and an EXPLAIN ANALYZE sampler answering as configured.
Package dialect abstracts SQL dialect differences: identifier quoting, parameter placeholders, EXPLAIN wrapping, and capability negotiation.
Package dialect abstracts SQL dialect differences: identifier quoting, parameter placeholders, EXPLAIN wrapping, and capability negotiation.
Package engine enforces bounded concurrency with backpressure, request deduplication (singleflight), and integration with adaptive limiting and the circuit breaker.
Package engine enforces bounded concurrency with backpressure, request deduplication (singleflight), and integration with adaptive limiting and the circuit breaker.
Package entity defines the entity abstraction layer: configured tables, views, and procedures exposed to MCP tools, with aliases, field projection, masking, descriptions, role permissions, row-level security, and keys.
Package entity defines the entity abstraction layer: configured tables, views, and procedures exposed to MCP tools, with aliases, field projection, masking, descriptions, role permissions, row-level security, and keys.
Package hook defines nil-safe lifecycle callbacks for observability.
Package hook defines nil-safe lifecycle callbacks for observability.
Package introspect defines schema introspection: discovering entity metadata from a live database and matching configured entities to it.
Package introspect defines schema introspection: discovering entity metadata from a live database and matching configured entities to it.
Package mask defines field masking for sensitive data.
Package mask defines field masking for sensitive data.
Package provider defines the database adapter contract consumed by the application assembly layer.
Package provider defines the database adapter contract consumed by the application assembly layer.
Package ratelimit provides adaptive concurrency control (AIMD) and a circuit breaker.
Package ratelimit provides adaptive concurrency control (AIMD) and a circuit breaker.
Package rbac defines authorization with row-level security.
Package rbac defines authorization with row-level security.
Package relalg defines a dialect-neutral relational algebra intermediate representation (IR).
Package relalg defines a dialect-neutral relational algebra intermediate representation (IR).
interp
Package interp is the reference interpreter for the committed read-path subset of the relalg IR.
Package interp is the reference interpreter for the committed read-path subset of the relalg IR.
Package revision defines the persisted configuration revision model and the Store boundary.
Package revision defines the persisted configuration revision model and the Store boundary.
revisiontest
Package revisiontest provides the conformance suite every revision.Store implementation must pass, so SQL stores keep the MemoryStore semantics.
Package revisiontest provides the conformance suite every revision.Store implementation must pass, so SQL stores keep the MemoryStore semantics.
Package store defines the database execution abstraction used by core tools.
Package store defines the database execution abstraction used by core tools.
storetest
Package storetest holds hand-written fakes of the store interfaces for tests: a DB, a Tx and Rows whose answers the test configures and whose calls it reads back, without a mocking library.
Package storetest holds hand-written fakes of the store interfaces for tests: a DB, a Tx and Rows whose answers the test configures and whose calls it reads back, without a mocking library.
Package tool defines the DML tool components and their registry.
Package tool defines the DML tool components and their registry.
Package workspace is the working-copy half of configuration versioning (the history half is core/revision): each administrator has one workspace, edited by them (in any console) and by their agents, and committed as a revision.
Package workspace is the working-copy half of configuration versioning (the history half is core/revision): each administrator has one workspace, edited by them (in any console) and by their agents, and committed as a revision.
workspacetest
Package workspacetest is the conformance suite every workspace.Store implementation runs: in memory and on each configuration store database.
Package workspacetest is the conformance suite every workspace.Store implementation runs: in memory and on each configuration store database.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL