2.2 KiB
Observability Export And Enterprise Readiness
Date: 2026-05-06
Status: implemented MVP note for KONT-WP-0010.
Purpose
This note records the operator-facing surfaces that make the engine inspectable, recoverable, exportable, and measurable without direct storage access. The implementation is intentionally an adapter layer over existing runtime services, repository contracts, policy decisions, and audit events.
Implemented Surfaces
GET /api/v1/operations/metricsGET /api/v1/operations/jobsGET /api/v1/operations/eventsGET /api/v1/operations/recovery/actionsPOST /api/v1/operations/recovery/{action}POST /api/v1/exportsPOST /api/v1/exports/validatePOST /api/v1/governance/reportGET /api/v1/extensions/catalogPOST /api/v1/extensions/eventsPOST /api/v1/quality/signalsGET /api/v1/quality/costGET /api/v1/performance/smokeGET /api/v1/compliance/mvp
Boundary Decisions
Operational metrics are computed from durable repository state and audit events. API request latency is reported as an empty observation set until the deployed FastAPI service adds middleware timing.
Recovery actions are explicit and policy checked. They dispatch through the same runtime methods as normal service use: ingestion retry, transformation retry/cancel, workflow retry/cancel, retrieval index refresh, and failure inspection.
Export packages are governed envelopes, not raw database dumps. They include assets, metadata, representations, relationships, versions, derived lineage, audit references, adapter sections, manifest counts, a content hash, actor, and policy context.
Governance reports avoid embedding source content. Findings identify missing ownership, metadata, source references, audit gaps, and sensitive assets without review or retention metadata.
Extension readiness is expressed through semantic event types, connector and extractor capabilities, transformation operation metadata, backend abstraction names, and explicit Markitect adapter boundaries.
Quality and cost signals are audit-backed observations. Retrieval quality uses existing retrieval feedback metrics; AI cost and usage depend on adapters providing token, provider, error, and estimated-cost fields.