Skip to content

Design-time capabilities

The design-time tools turn a plain-language request into Chronicle artifacts — read models, projections, audits, and catalogs — grounded in the store’s real schema. They are read-only against the store and generative against your codebase: nothing is written to the store, and generated code comes back as a proposal you review. See How it works for the principle behind them.

CapabilityToolUse it to
Describe the systemdescribe_systemDeduce what the system is and is for — entities, lifecycles, read surfaces, automations — and tell its story.
Suggest the next event typessuggest_next_event_typesFind lifecycle gaps and get grounded suggestions for the event types to introduce next.
Ad-hoc projectionrun_ad_hoc_projectionAnswer “show all X with all details” by folding events into current state on demand — nothing registered.
Describe an event typedescribe_event_typeRead an event type’s real fields and types — the grounding primitive the others build on.
Read-model scaffoldingscaffold_read_modelTurn a set of event types into a reviewable read model + projection, grounded in their schema.
Unconsumed-event auditaudit_unconsumed_event_typesFind events nothing reads, and consumers pointing at event types that no longer exist.
Event cataloggenerate_event_catalogProduce a living data dictionary — every event, its fields, and its consumers.
Causal traceexplain_causal_traceTurn an event source’s raw log into a “what happened and why” narrative.

Beyond tools, the server exposes MCP prompts that package whole workflows — clients that surface prompts (for example as slash commands) can offer them directly:

PromptWhat it does
describe_systemDescribe what the system is and is for, and tell its story.
suggest_next_event_typesPropose the next event types, refined with domain knowledge.
query_systemAnswer a natural-language question (“show all employees with all details”) with an ad-hoc projection.

A typical flow chains a few tools. To answer “Show all employees with all details” an agent might:

  1. Understand the system with describe the system — which entities exist and which event types carry which facts.
  2. Fold the relevant event types into current state with an ad-hoc projection and present the result.
  3. If the question keeps coming back, propose a permanent read model with read-model scaffolding.

Because the tools return structured data rather than prose, the agent does the natural-language reasoning while the store supplies the facts.

The capability hand-off sketches ten design-time capabilities. The tools above cover the grounding-and-generation core plus system understanding, evolution suggestions, and ad-hoc querying. The remaining ideas — projection-vs-reducer advice, consistency-boundary (DCB) advice, schema-evolution assistance, spec scaffolding, and constraint suggestions — build on the same introspection pipeline and are candidates for future releases.