Kontour Console#

Find blocked work, inspect producer-reported status and evidence, and see what needs to happen next. Console correlates related product records in one view; each producing product remains the authority for its own status and decisions.

  • Product Boundaries: What Console owns, what the primitives own, and how suite-level authority is kept separate from product semantics.
  • Event & Projection Schema: The v0.1 event envelope, projection envelope, local JSONL stream convention, replay rules, and cross-product refs.
  • Emitter & Sink Contract: Control-plane versus telemetry-plane records, local file output, multi-sink fanout, and inert action descriptors.
  • Product Capability Descriptor: The versioned, offline discovery contract for safely routing to product-owned CLI capabilities without importing product kernels.
  • Kontour CLI Router: Explicit install and product-root usage, offline delegation, nested Flow/Flow Agents ownership, and legacy Console migration.
  • Intent Binding And Consent Policy: How a host binds console-ui component intents to product-owned execution authority, inert-when-unbound rendering, and the consent policy for a bound side-effecting intent.
  • Hosted Console: How a hosted deployment composes the base Console with deployment-owned infrastructure and environment mapping.
  • Flow Agents Integration: Local and hosted emission for Flow Agents: sink selection, descriptor location, trusted producer identity, and boundary rules.
  • Telemetry Descriptor: Descriptor-driven analytics: facets, flows, record source mappings, and the /api/telemetry query contract.

How Console composes the suite#

Console reads product-owned records — Surface claims, Flow runs and gates, Survey review items, Veritas readiness checks, Flow Agents sessions — and presents the integrated operating state without redefining what any of them mean.

The primitives remain portable and useful without Console:

  • Surface owns claim trust state: verified, stale, disputed, fresh.
  • Flow owns process and gate semantics: runs, gates, route-backs, exceptions.
  • Survey owns fact-review records: sources, candidates, review decisions.
  • Veritas owns repo and change governance: standards, requirements, merge readiness.
  • Flow Agents owns agent-facing runtime: modes, skills, adapters, workflow learning.

Console answers the suite-level questions: what is currently true, what is blocked, what proof supports this state, and what is the next action.

The @kontourai/cli router provides suite navigation while keeping Flow, Flow Agents, and Console commands in their product-owned executables. It never installs a missing product or treats descriptor confirmation metadata as permission.

The kontour init workflow can inspect and plan onboarding with zero implicit kits, then recompute and apply the exact stdout-emitted plan id only with explicit consent. Product-owned setup and diagnostics remain delegated to Flow Agents.

Local first#

Console v0 runs locally without a hosted service. Producers write JSONL event streams and projection snapshots under .kontourai/console/. The console-inspect CLI reads them and prints a current operating state summary. kontour serve exposes the same state over a loopback SSE hub for the UI.

npx --yes --package @kontourai/console console-inspect

See the Golden Demo for a full end-to-end example across Flow, Survey, and Surface.

Architecture decisions#

These numbered ADRs are frozen history. New decisions go to docs/decisions/<slug>.md in the Corpus decision-record format, citing an ADR as adr evidence; the decision index lists them.

Documentation

Start Here

Concepts

Product BoundariesConsole exists to make Kontour primitives operable together without turning the suite-level console into the authority for each product's core semantics. ConsoleConsole is the suite-level management and visibility product for Kontour. It brings portable state from the foundational primitives (Surface, Flow, Survey) and the products built on them (Veritas, Fl… ADR 0001: Console As Suite Management PlaneDate: 2026-05-31 ADR 0002: Learning Records Use The Control PlaneDate: 2026-06-04 ADR 0003: Authenticated Multi-Tenant Ingestion And The Value PlaneDate: 2026-07-05 ADR 0004: Adopt Fastify for the Console HTTP API (incremental)Date: 2026-06-29 ADR 0005: Two-Layer Telemetry — Neutral Contract + Flow-Agents-Owned Cost/PricingDate: 2026-06-29 ADR 0006: Console Multi-Tenant Authentication & MCP AuthorizationDate: 2026-06-29 Decision IndexGenerated by corpus decisions index. Do not edit by hand. Topic-keyed living decision records; the format is described at https://github.com/kontourai/corpus/blob/main/docs/decisions.md. Numbered ADR… Console HTTP frameworkThis subject has provenance in frozen ADR history (0004-console-http-framework.md) but no living decision has been ratified yet under the topic-keyed decision registry (format). This stub records tha… Console multi-tenant authentication and MCP authorizationThe console is an OAuth 2.1 Resource Server for any OIDC authorization server chosen by configuration, as ADR 0006 proposed. Its phases 1 to 3 landed on 2026-06-29: JWT verification, per-route scopes…

Guides

Reference

Contribute

Source: docs/index.md