Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
free-funcs
command
Command free-funcs lists package-level functions that validate, test or reshape a bare primitive, for example validateMemberEmail(email string) error.
|
Command free-funcs lists package-level functions that validate, test or reshape a bare primitive, for example validateMemberEmail(email string) error. |
|
kora
command
Command kora is the Kigae Engine: the HTTP API server, the site/config CLI, the MCP server and the scheduler in one binary.
|
Command kora is the Kigae Engine: the HTTP API server, the site/config CLI, the MCP server and the scheduler in one binary. |
|
param-count
command
Command param-count lists functions that take more parameters than the limit, one per line as "dir::Name count", where Name is "(*T).Method" for methods.
|
Command param-count lists functions that take more parameters than the limit, one per line as "dir::Name count", where Name is "(*T).Method" for methods. |
|
route-inventory
command
Command route-inventory records the routes registered by the Engine's public API composition.
|
Command route-inventory records the routes registered by the Engine's public API composition. |
|
Package contract defines the provider-neutral, versioned messaging contracts for the Kigae Engine execution fabric.
|
Package contract defines the provider-neutral, versioned messaging contracts for the Kigae Engine execution fabric. |
|
gen
command
Command gen produces a deterministic JSON Schema snapshot for the stable wire types in contract.
|
Command gen produces a deterministic JSON Schema snapshot for the stable wire types in contract. |
|
internal
|
|
|
api
Package api provides shared schema mapping from Kigae field types to JSON Schema.
|
Package api provides shared schema mapping from Kigae field types to JSON Schema. |
|
application/process
Package process composes local request decisions with protected domain operations in one tenant transaction.
|
Package process composes local request decisions with protected domain operations in one tenant transaction. |
|
application/purchasing
Package purchasing owns the governed Purchase Request approval policy.
|
Package purchasing owns the governed Purchase Request approval policy. |
|
application/purchasing/engineadapter
Package engineadapter wires the purchasing domain into Engine's generic tenant-service extension points.
|
Package engineadapter wires the purchasing domain into Engine's generic tenant-service extension points. |
|
application/purchasing/sqlstore
Package sqlstore implements the tenant-backed data reads for purchasing approval policy.
|
Package sqlstore implements the tenant-backed data reads for purchasing approval policy. |
|
application/workflow
Package workflow contains transport-neutral authorization for durable workflow definitions and instances.
|
Package workflow contains transport-neutral authorization for durable workflow definitions and instances. |
|
auth/oidc
Package oidc implements the OIDC authorization-code + PKCE profile (AUTH-002).
|
Package oidc implements the OIDC authorization-code + PKCE profile (AUTH-002). |
|
configstore
Package configstore manages reading and writing DocType configuration to/from the database (_kora_doctype and _kora_field tables).
|
Package configstore manages reading and writing DocType configuration to/from the database (_kora_doctype and _kora_field tables). |
|
db
Package db provides database abstraction via a Dialect interface.
|
Package db provides database abstraction via a Dialect interface. |
|
dbaccess
Package dbaccess bounds physical database connections shared by tenant and platform sql.DB pools in one Engine process.
|
Package dbaccess bounds physical database connections shared by tenant and platform sql.DB pools in one Engine process. |
|
disposabledb
Package disposabledb gives integration tests a database of their own.
|
Package disposabledb gives integration tests a database of their own. |
|
doctype
Package doctype — computed field expression evaluation.
|
Package doctype — computed field expression evaluation. |
|
email
Package email provides SMTP email sending.
|
Package email provides SMTP email sending. |
|
engine
Package engine owns the running Engine process boundary.
|
Package engine owns the running Engine process boundary. |
|
envcompat
Package envcompat lets the process accept ZANA_* environment variables while every existing reader keeps looking at KORA_*.
|
Package envcompat lets the process accept ZANA_* environment variables while every existing reader keeps looking at KORA_*. |
|
eventstream
Package eventstream defines the runtime change-event model and the bus contract shared by persistence, routing, and analytics adapters.
|
Package eventstream defines the runtime change-event model and the bus contract shared by persistence, routing, and analytics adapters. |
|
expression
Package expression defines the single shared expression and rule evaluation contract (PLUGIN-007).
|
Package expression defines the single shared expression and rule evaluation contract (PLUGIN-007). |
|
extension
Package extension owns installed tenant extensions and their API credentials.
|
Package extension owns installed tenant extensions and their API credentials. |
|
extension/sqlstore
Package sqlstore persists tenant extensions in the tenant database.
|
Package sqlstore persists tenant extensions in the tenant database. |
|
extension/tokencache
Package tokencache caches extension token verification for one Engine process.
|
Package tokencache caches extension token verification for one Engine process. |
|
ingress
Package ingress is the Engine's compatibility router for site requests whose deployment assignment belongs to another Engine.
|
Package ingress is the Engine's compatibility router for site requests whose deployment assignment belongs to another Engine. |
|
kernel
Package kernel implements the single operation kernel (architecture specification invariants 2–3, KERNEL-001..007): every mutation from every source — HTTP, SDK, MCP, AI, CLI, UI, integrations, workers — enters one pipeline that resolves tenant and actor, authorizes, validates, checks idempotency and concurrency, executes one SQL transaction containing the business mutation plus the idempotency receipt, the audit row, and the outbox events, and returns a typed OperationResult.
|
Package kernel implements the single operation kernel (architecture specification invariants 2–3, KERNEL-001..007): every mutation from every source — HTTP, SDK, MCP, AI, CLI, UI, integrations, workers — enters one pipeline that resolves tenant and actor, authorizes, validates, checks idempotency and concurrency, executes one SQL transaction containing the business mutation plus the idempotency receipt, the audit row, and the outbox events, and returns a typed OperationResult. |
|
management
Package management owns durable control-plane operations accepted by an Engine.
|
Package management owns durable control-plane operations accepted by an Engine. |
|
mcp
Package mcp provides a Model Context Protocol server that auto-generates tools from Kigae's doctype registry.
|
Package mcp provides a Model Context Protocol server that auto-generates tools from Kigae's doctype registry. |
|
net
Package net provides the Go-native HTTP server with TLS, multi-site routing, and all production middleware (security headers, CORS, rate limiting, CSRF).
|
Package net provides the Go-native HTTP server with TLS, multi-site routing, and all production middleware (security headers, CORS, rate limiting, CSRF). |
|
netguard
Package netguard decides whether outbound requests may reach a host.
|
Package netguard decides whether outbound requests may reach a host. |
|
notifications
Package notifications owns durable recipient-specific delivery attempts.
|
Package notifications owns durable recipient-specific delivery attempts. |
|
notifications/sqlstore
Package sqlstore owns durable notification event receipts and delivery rows.
|
Package sqlstore owns durable notification event receipts and delivery rows. |
|
numeric
Package numeric holds exact decimal values for Float, Currency and Percent fields.
|
Package numeric holds exact decimal values for Float, Currency and Percent fields. |
|
orm
Package orm — filter parsing utilities.
|
Package orm — filter parsing utilities. |
|
outbox
Package outbox implements the transactional outbox for durable event delivery (RFC §8.1).
|
Package outbox implements the transactional outbox for durable event delivery (RFC §8.1). |
|
payment
Package payment models payment intents, providers and the request/confirm service.
|
Package payment models payment intents, providers and the request/confirm service. |
|
payment/manual
Package manual records a payment received outside the system, such as on a till or paybill number, without any provider integration.
|
Package manual records a payment received outside the system, such as on a till or paybill number, without any provider integration. |
|
payment/mpesa
Package mpesa holds provider-pure Safaricom M-Pesa helpers.
|
Package mpesa holds provider-pure Safaricom M-Pesa helpers. |
|
plugin
Package plugin resolves module capability bindings and executes published provider operations.
|
Package plugin resolves module capability bindings and executes published provider operations. |
|
policy
Package policy contains transport-neutral identity and authorization contracts.
|
Package policy contains transport-neutral identity and authorization contracts. |
|
print
Package print defines print-format templates and renders them to text.
|
Package print defines print-format templates and renders them to text. |
|
query
Package query parses and validates declarative published queries (D2).
|
Package query parses and validates declarative published queries (D2). |
|
requests
Package requests owns durable human requests and assignments.
|
Package requests owns durable human requests and assignments. |
|
requests/sqlstore
Package sqlstore owns SQL schema details for durable human requests.
|
Package sqlstore owns SQL schema details for durable human requests. |
|
scheduler
Package scheduler provides cron-based background job scheduling.
|
Package scheduler provides cron-based background job scheduling. |
|
scheduler/sqlstore
Package sqlstore persists scheduled definitions and their occurrences.
|
Package sqlstore persists scheduled definitions and their occurrences. |
|
schema
Package schema manages database schema migration.
|
Package schema manages database schema migration. |
|
script
Package script provides the JavaScript runtime using goja (pure Go ES5.1+).
|
Package script provides the JavaScript runtime using goja (pure Go ES5.1+). |
|
secret
Package secret provides an encrypted key-value store for site-specific secrets (AI API keys, SMTP credentials, etc.).
|
Package secret provides an encrypted key-value store for site-specific secrets (AI API keys, SMTP credentials, etc.). |
|
site
Package site manages site configuration and multi-tenancy.
|
Package site manages site configuration and multi-tenancy. |
|
storage
Package storage provides a pluggable backend for file attachments.
|
Package storage provides a pluggable backend for file attachments. |
|
tenantruntime
Package tenantruntime contains the typed, immutable service references captured by one tenant runtime generation.
|
Package tenantruntime contains the typed, immutable service references captured by one tenant runtime generation. |
|
webhook
Package webhook provides the webhook delivery system for Kigae extensions.
|
Package webhook provides the webhook delivery system for Kigae extensions. |
|
workflow/sqlstore
Package sqlstore persists immutable workflow definitions in a tenant DB.
|
Package sqlstore persists immutable workflow definitions in a tenant DB. |
Click to show internal directories.
Click to hide internal directories.