Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
goldengen
command
Command goldengen (re)generates one testdata/golden/<ver>/ fixture: it runs the fixed scenario in scenario.go against a fresh MemStore, then dumps the resulting journal and projections to disk.
|
Command goldengen (re)generates one testdata/golden/<ver>/ fixture: it runs the fixed scenario in scenario.go against a fresh MemStore, then dumps the resulting journal and projections to disk. |
|
goldengen/goldenfmt
Package goldenfmt is shared, non-production tooling for the golden-journal fold-compatibility gate (docs/lld/LLD-03-upgrade-eras.md §3/§7 PR-0).
|
Package goldenfmt is shared, non-production tooling for the golden-journal fold-compatibility gate (docs/lld/LLD-03-upgrade-eras.md §3/§7 PR-0). |
|
kalita
command
Command kalita is the single-binary entry point for the Kalita node.
|
Command kalita is the single-binary entry point for the Kalita node. |
|
internal
|
|
|
api
Package api is the REST layer over the engine: same operations, same error codes, zero business logic of its own.
|
Package api is the REST layer over the engine: same operations, same error codes, zero business logic of its own. |
|
dsl
Package dsl is the Kalita DSL compiler: lexer, parser, semantic model.
|
Package dsl is the Kalita DSL compiler: lexer, parser, semantic model. |
|
engine
Package engine is the runtime kernel: it executes a compiled dsl.Model over the event journal.
|
Package engine is the runtime kernel: it executes a compiled dsl.Model over the event journal. |
|
eventstore
Package eventstore implements the append-only, tamper-evident journal that is the single source of truth in Kalita (docs/EVENT-STORE-v0.md).
|
Package eventstore implements the append-only, tamper-evident journal that is the single source of truth in Kalita (docs/EVENT-STORE-v0.md). |
|
identity
Package identity manages actor identities and keys: agents hold Ed25519 keys and sign their requests; the node key seals journal checkpoints; humans will sign approvals with WebAuthn (week 4).
|
Package identity manages actor identities and keys: agents hold Ed25519 keys and sign their requests; the node key seals journal checkpoints; humans will sign approvals with WebAuthn (week 4). |
|
mcp
Package mcp is the agent gateway: the MCP (Model Context Protocol) server over HTTP JSON-RPC.
|
Package mcp is the agent gateway: the MCP (Model Context Protocol) server over HTTP JSON-RPC. |
|
pii
Package pii is the node-level per-subject key store behind crypto-shredding (LLD-16 §1, EVENT-STORE §6): personal-data fields are sealed under a key per data subject, and shredding a subject = destroying that key, so the sealed payloads become unreadable while the journal's hash chain stays intact (the hash is over the ciphertext, which never changes).
|
Package pii is the node-level per-subject key store behind crypto-shredding (LLD-16 §1, EVENT-STORE §6): personal-data fields are sealed under a key per data subject, and shredding a subject = destroying that key, so the sealed payloads become unreadable while the journal's hash chain stays intact (the hash is over the ciphertext, which never changes). |
|
secrets
Package secrets resolves node secrets (Postgres DSN, TLS material, worker tokens) in the fallback order fixed by docs/lld/LLD-18-secrets-key-rotation.md §1: (1) a secrets config file, which MUST be exactly 0600 — refuses to start otherwise (fail-fast, SECURITY.md P1 #5); (2) a docker/systemd secret file named by the <NAME>_FILE convention; (3) the bare environment variable itself, logged as a warning ("not for prod").
|
Package secrets resolves node secrets (Postgres DSN, TLS material, worker tokens) in the fallback order fixed by docs/lld/LLD-18-secrets-key-rotation.md §1: (1) a secrets config file, which MUST be exactly 0600 — refuses to start otherwise (fail-fast, SECURITY.md P1 #5); (2) a docker/systemd secret file named by the <NAME>_FILE convention; (3) the bare environment variable itself, logged as a warning ("not for prod"). |
|
transport
Package transport holds the ONE implementation of the pieces every kalita transport (REST in internal/api, MCP in internal/mcp) must build the exact same way: the eventstore.Actor a resolved bearer token maps to, and the request DTOs for the canonical mutating operations (create/update/act).
|
Package transport holds the ONE implementation of the pieces every kalita transport (REST in internal/api, MCP in internal/mcp) must build the exact same way: the eventstore.Actor a resolved bearer token maps to, and the request DTOs for the canonical mutating operations (create/update/act). |
|
webui
Package webui serves the built-in renderer (a pure projection of /api/meta).
|
Package webui serves the built-in renderer (a pure projection of /api/meta). |
Click to show internal directories.
Click to hide internal directories.