diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,152 @@
 
 ## [Unreleased]
 
+## 0.26.0.0 — 2026-11-18
+
+### Breaking Changes
+
+- `Keiro.Dsl.Grammar.ContractType` gains the constructor `COptional`, and
+  `ContractNode.discriminator` changes from `Name` to the new `ContractDiscriminator`
+  (`DiscriminatorBodyKey` or `DiscriminatorEnvelope`). `contractIsOptional` and
+  `contractBodyDiscriminator` are new. `DiagnosticCode` inserts
+  `ContractOptionalFieldAdded` and `ContractOptionalFieldUsedAsKey`, and
+  `LanguageFeature` adds `ContractOptionalFieldSyntax` and
+  `ContractEnvelopeDiscriminatorSyntax`. There is no compatibility shim: exhaustive
+  matches and record construction must handle the new constructors. Generated modules for
+  existing sources are byte-identical. (ExecPlan 345, IR-64)
+- `Keiro.Dsl.Grammar.InputDecl` gains the field `source :: Maybe InputSource`; direct
+  record construction must supply it (`Nothing` keeps the previous meaning).
+  `DiagnosticCode` adds `InputSourceUnresolvedIntake` and `InputSourceEventNotAccepted`,
+  and `LanguageFeature` adds `InputSourceSyntax`, so exhaustive matches must handle them.
+- `Keiro.Dsl.DiffReport.Remedy` adds `RemedyDeployKeyWritersFirst` and
+  `RemedyDrainBeforeStricterReader`; exhaustive matches must handle them.
+
+### New Features
+
+- Candidate Language 6 contract fields may be `Optional <scalar>` for `typeid "prefix"`,
+  a declared `id`, `text` or `int`. The generated field is `Maybe`; the encoder omits the
+  key when absent and the decoder reads an omitted key or `null` as absent, while any
+  other value must satisfy the scalar's parser. `Optional List`, `List Optional` and other
+  nesting are refused. An optional field cannot be a publisher `outboxId` or intake
+  `dedupe` key (`ContractOptionalFieldUsedAsKey`). `diff` reports an added optional field
+  as the warning `ContractOptionalFieldAdded` without a `schemaVersion` bump: the wire is
+  compatible, and `consumer-build=advisory` asks for a re-scaffold because the generated
+  constructor gains a `Maybe` argument; the default gate passes. A change between required
+  and optional is breaking in both directions: required to optional is `producer-last`,
+  optional to required (keeping the scalar, or moving between a literal TypeID and a
+  declared ID of equal prefix and admission) is `producer-first` with `drain-required`.
+  (IR-64)
+- Candidate Language 6 contracts may declare `discriminator from envelope`. The generated
+  encoder writes no discriminator key, and the module exports
+  `parse<Contract>PayloadAs :: Text -> Value -> Either Text <Contract>Payload`, which takes
+  the envelope's event type and rejects one the contract does not declare. A change of
+  discriminator source is breaking `ContractDiscriminatorChanged`: body key to envelope is
+  `producer-last`, envelope to body key is `producer-first` with `drain-required`.
+  `keiro-dsl topology` writes `discriminator: null` for such a contract; both topology
+  schemas admit `null`. (IR-64)
+- `keiro-dsl diff --explain` renders a public-contract finding's rollout from its vector.
+  A `producer-first` finding now advises deploying the writers of the newly required key
+  first and draining retained messages that omit it before the stricter reader runs;
+  previously every contract finding advised `producer-last`. (ExecPlan 345)
+
+- The generated service conformance runner accepts `--behavior-complete`. After the
+  unchanged default output, it evaluates every declared behavior key of every aggregate
+  against its `BehaviorHoles` witnesses. It prints one `FAIL` row per pending, missing,
+  duplicate, or stale key and per failed witness, plus one summary row per aggregate, and
+  any failing row exits nonzero. Unverified but correct evidence still passes, as under
+  `behaviorConformancePassed`. Without the flag the runner behaves exactly as before and
+  evaluates no extra witnesses. `--help` describes both modes; any other argument exits
+  with status 2. The service facade adds `runServiceBehaviorChecks :: IO [(String, Bool)]`
+  and every generated `BehaviorContract` adds `behaviorConformanceRows`. `BehaviorHoles`
+  and `BehaviorContract` stay private in the Cabal fragment. Regenerating rewrites each
+  `BehaviorContract.hs`, the facade and the runner `Main.hs`; hand-owned files are
+  unchanged. The library adds `Keiro.Dsl.Scaffold.aggregateHasBehaviorContract`, the
+  predicate that decides which aggregates get a `BehaviorContract`.
+- `keiro-dsl topology <source-or-workspace> --format json` exports the service
+  topology as one canonical JSON document with schema id
+  `keiro-dsl/service-topology/1`. It has a node for every aggregate, process,
+  workflow, router, contract, intake, emit, publisher, workqueue, dispatch, read model
+  and operation, and for the projection catalog (projection targets, rebuild groups,
+  projection owners, projection revisions and external reads). It has an edge for each
+  relation between them, such as `dispatches`, `projects`, `publishes`, `subscribes`,
+  `consumes`, `writes` and `observes`. Each source member carries a `sha256` digest
+  of its exact bytes. The bytes do not depend on the working directory or on how the
+  path was typed. Reordering top-level declarations changes only member digests and
+  node lines. The command refuses a service with error diagnostics and prints nothing
+  on standard output. The library exports `Keiro.Dsl.Topology`
+  (`buildServiceTopology`, `encodeServiceTopology`, `topologySchemaId`,
+  `memberDigest`). Existing commands and outputs are unchanged.
+- `keiro-dsl scaffold … --topology-out FILE` also writes the service topology,
+  byte-identical to `keiro-dsl topology` for the same input. The document is computed
+  before scaffold writes anything and written only after it succeeds. A path that names a
+  scaffold input, a planned module or a `keiro-dsl-*` record under `--out` is refused. The
+  file is not recorded in the scaffold ledger, and scaffold without the flag is unchanged.
+- `keiro-dsl topology SOURCE --check FILE` prints nothing and exits zero when `FILE` equals
+  the regenerated document. Otherwise it exits 1 and names each changed, new or removed
+  member, or, when every digest matches, the recorded and current generator versions.
+- The contract is documented in `docs/user/keiro-dsl-service-topology.md` with the JSON
+  Schema `docs/user/schemas/keiro-dsl-service-topology-1.schema.json`. The repository gate
+  `just topology-schema-validate` (part of `just verify`, using `check-jsonschema` from the
+  development shell) validates every golden document against the schema its `schema` field
+  names.
+- Every aggregate node of the topology now carries `details.machine`, the aggregate's
+  keiki state machine: `ownership` (`generated` or `legacy-hole`), `initial`, `states`
+  with terminal flags, and every edge with its `source`, keiki `edgeIndex`, `target`,
+  `mode` (`Live` or `ReplayOnly`), `command` and `events`. It is an added field within
+  `keiro-dsl/service-topology/1`. The new conformance suite
+  `keiro-dsl-conformance-topology-machine` proves the export equal to the generated keiki
+  transducers walked with keiki's accessors. The keiki edge index now comes from one shared
+  layout function used by the transducer builder, the behavior source map and the export;
+  generated code is unchanged.
+- Candidate Language 6 input sources: a router input, a legacy process input or any
+  reaction-process input may declare `from intake <Intake> event <Event>…` between its
+  name and its body. `check` reports `InputSourceUnresolvedIntake` for an undeclared intake
+  and `InputSourceEventNotAccepted` for each named event the intake does not accept.
+  Languages 1 to 5 refuse the clause with `LanguageFeatureRequiresVersion`. A declared
+  source changes no generated module, fingerprint, scaffold ledger or `diff` verdict.
+  `keiro-dsl topology` exports each source as a `feeds` edge from the intake. A document
+  with a `feeds` edge uses schema id `keiro-dsl/service-topology/2`; every other document
+  stays `/1` and is byte-identical. The library exports `InputSource` and the new `source`
+  field of `InputDecl`.
+- Every aggregate node of the topology now carries `details.category`, the stream
+  category its generated inspector is mounted under (a saga aggregate's own category, not
+  the process's saga category), and every dispatch node carries `details.dedupReadModel`.
+  Both are optional fields within the existing schema ids. A committed topology document
+  must be regenerated with `scaffold --topology-out` after the upgrade, because
+  `topology --check` reports it stale. The library exports
+  `Keiro.Dsl.Scaffold.aggregateStreamCategory`; generated code is unchanged.
+- `scaffold --topology-out FILE` now writes the document to `FILE.keiro-dsl-tmp` before
+  the scaffold writes anything and renames it onto `FILE` after success. A `FILE` that is
+  a directory, is `--out` or cannot be created fails with
+  `--topology-out FILE cannot be written: <reason>; nothing was written` instead of an
+  uncaught exception after the generated tree was written. A refused scaffold removes
+  the temporary file.
+- `topology --check` no longer blames the keiro-dsl version when the versions are equal.
+  A changed workspace service name or manifest file name is reported as
+  `the service or manifest changed (recorded service 'A', current 'B')`; any other
+  difference with matching digests and version says so. Workspace member digests are now
+  computed from the bytes the loader parsed, read once and decoded as UTF-8 independent
+  of the locale.
+- New conformance proof `keiro-dsl-conformance-intake-delegated-noop`
+  (`test/fixtures/intake-delegated-noop.keiro`): a generated candidate Language 6
+  delegated intake feeds an outcome-enabled aggregate with a typed no-op edge through the
+  hand-written `Keiro.Inbox.Delegated.delegatedDomainCommand` handler against PostgreSQL.
+  It checks the accepted marker receipt, the completed inbox row for a typed no-op, a
+  duplicate redelivery without dispatch, and the untyped adapter's refusal of the same
+  silent edge. The intake grammar and generated runner are unchanged. (ExecPlan 344, IR-65)
+- The `DelegatedInboxDedupeOnlyPersistence` diagnostic now says that the delegated intake
+  owns no inbox storage for `persist = dedupe-only` to describe, and that a typed no-op
+  receipt row's persistence is chosen by the handler through `DelegatedNoOpReceipt`. The
+  rule and its code are unchanged. (ExecPlan 344)
+
+### Bug Fixes
+
+- A generated contract encoder no longer binds an unused `payload` for a fieldless event,
+  and imports `(.=)` only when an encoder entry uses it. A fieldless event in a
+  body-discriminated contract, and an envelope-discriminated contract whose events are all
+  fieldless, previously failed to compile under `-Wall -Werror`. Output for events with
+  fields is unchanged. (ExecPlan 345)
+
 ## 0.25.1.0 — 2026-11-16
 
 ### New Features
diff --git a/app/Main.hs b/app/Main.hs
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -2,13 +2,20 @@
 -- scaffolding, and explicit generated-Haskell edition migration.
 module Main (main) where
 
-import Control.Monad (when)
-import Data.Aeson ((.=))
+import Control.Exception (IOException, onException, try)
+import Control.Monad (unless, when)
+import Data.Aeson ((.:), (.=))
 import Data.Aeson qualified as Aeson
 import Data.Aeson.Text qualified as AesonText
+import Data.Aeson.Types qualified as AesonTypes
+import Data.ByteString qualified as BS
+import Data.IORef (IORef, modifyIORef', newIORef, readIORef)
+import Data.List (isPrefixOf)
 import Data.List.NonEmpty qualified as NE
+import Data.Map.Strict qualified as Map
 import Data.Maybe (fromMaybe)
 import Data.Text qualified as T
+import Data.Text.Encoding qualified as TE
 import Data.Text.IO qualified as TIO
 import Data.Text.Lazy.IO qualified as TLIO
 import Keiro.Dsl.BehaviorCoverage qualified as Behavior
@@ -33,15 +40,16 @@
 import Keiro.Dsl.SemanticContract (CheckedService, EffectiveLanguageContract (..), checkedLanguageContract, checkedSource, checkedSpec, languageContractNotice)
 import Keiro.Dsl.Skeleton (skeletonFor)
 import Keiro.Dsl.SourceIndex (ParsedSourceDocument (..), SemanticSourceIndex, emptySemanticSourceIndex)
+import Keiro.Dsl.Topology (TopologySourceKind (..), buildServiceTopology, encodeServiceTopology, memberDigest, renderTopologyError)
 import Keiro.Dsl.Validate (Diagnostic (..), DiagnosticCode (..), DiagnosticOrigin (..), Severity (..), diagnosticCodeText, diagnosticOrigin, minimumLanguageDiagnostics, parseDiagnosticCode, renderDiagnostic, validateService)
-import Keiro.Dsl.Workspace (ContentSource (..), LineMap (..), OwnershipIndex (..), WorkspaceDiagnostic (..), WorkspaceFailure (..), WorkspaceFile (..), WorkspaceLocation (..), WorkspaceManifest (..), WorkspaceMember (..), WorkspaceMemberRef (..), WorkspaceSpec (..), checkWorkspace, checkWorkspaceForService, checkedWorkspace, fileContentSource, isWorkspacePath, loadWorkspace, nodeOwner, parseWorkspaceManifest, renderWorkspaceDiagnostic, renderWorkspaceFailure, renderWorkspaceManifest)
+import Keiro.Dsl.Workspace (ContentSource (..), LineMap (..), OwnershipIndex (..), WorkspaceDiagnostic (..), WorkspaceFailure (..), WorkspaceFile (..), WorkspaceLocation (..), WorkspaceManifest (..), WorkspaceMember (..), WorkspaceMemberRef (..), WorkspaceSpec (..), checkWorkspace, checkWorkspaceForService, checkedWorkspace, fileContentSource, isWorkspacePath, loadWorkspace, nodeOwner, oneMemberParsedDocumentWorkspace, parseWorkspaceManifest, renderWorkspaceDiagnostic, renderWorkspaceFailure, renderWorkspaceManifest, workspaceDisplayPath)
 import Keiro.Dsl.WorkspaceDiff (WorkspaceChange (..), WorkspaceMeta (..), diffWorkspaces, renderWorkspaceFinding, workspaceDiffReportWithImpacts)
-import Keiro.Dsl.WorkspaceScaffold (executeWorkspaceScaffoldWithMigrations, planWorkspaceScaffoldWithRuntimePackageAndGoldens, renderWorkspaceScaffoldReport)
+import Keiro.Dsl.WorkspaceScaffold (WorkspacePlan (..), executeWorkspaceScaffoldWithMigrations, planWorkspaceScaffoldWithRuntimePackageAndGoldens, renderWorkspaceScaffoldReport)
 import Numeric.Natural (Natural)
 import Options.Applicative
-import System.Directory (canonicalizePath, createDirectoryIfMissing, doesFileExist)
-import System.Exit (ExitCode (..), exitFailure)
-import System.FilePath (isAbsolute, makeRelative, normalise, takeDirectory, takeFileName, (</>))
+import System.Directory (canonicalizePath, createDirectory, createDirectoryIfMissing, doesDirectoryExist, doesFileExist, doesPathExist, removeDirectory, removeFile, renameFile)
+import System.Exit (ExitCode (..), exitFailure, exitSuccess, exitWith)
+import System.FilePath (addTrailingPathSeparator, isAbsolute, makeRelative, normalise, takeDirectory, takeFileName, (</>))
 import System.IO (hPutStrLn, stderr)
 import System.Process (readProcessWithExitCode)
 import Text.Read (readMaybe)
@@ -51,13 +59,16 @@
   | Pretty FilePath
   | Check FilePath CheckOptions
   | Inspect FilePath InspectionFormat
+  | Topology FilePath TopologyFormat (Maybe FilePath)
   | BehaviorObligations FilePath BehaviorFormat
-  | Scaffold FilePath FilePath (Maybe String) (Maybe RuntimePackageName) Bool Bool Bool Bool (Maybe FilePath) (Maybe (String, FilePath))
+  | Scaffold FilePath FilePath (Maybe String) (Maybe RuntimePackageName) Bool Bool Bool Bool (Maybe FilePath) (Maybe (String, FilePath)) (Maybe FilePath)
   | Diff FilePath String (Maybe FilePath) (Maybe FilePath) [CompatibilitySurface] Bool (Maybe FilePath) (Maybe DiffCoverageOptions) [DiagnosticCode]
   | New String
 
 data InspectionFormat = InspectionJson
 
+data TopologyFormat = TopologyJson
+
 data BehaviorFormat = BehaviorText | BehaviorJson
 
 data CheckCoverageOptions = CheckCoverageOptions
@@ -104,11 +115,14 @@
           "inspect"
           (info (Inspect <$> fileArg <*> inspectionFormatOpt <**> helper) (progDesc "Inspect source-language provenance for a .keiro file or workspace as JSON"))
         <> command
+          "topology"
+          (info (Topology <$> fileArg <*> topologyFormatOpt <*> optional topologyCheckOpt <**> helper) (progDesc "Export the service topology (keiro-dsl/service-topology/1) of a .keiro file or workspace as canonical JSON"))
+        <> command
           "behavior-obligations"
           (info (BehaviorObligations <$> fileArg <*> behaviorFormatOpt <**> helper) (progDesc "List static aggregate behavior obligations for a .keiro file or workspace"))
         <> command
           "scaffold"
-          (info (Scaffold <$> fileArg <*> outOpt <*> optional moduleRootOpt <*> optional runtimePackageOpt <*> collocateSwitch <*> forceGeneratedOverwriteSwitch <*> applyNameMigrationsSwitch <*> applyGeneratedHaskellEditionSwitch <*> optional goldensOpt <*> codecComparisonOpts <**> helper) (progDesc "Emit the generated layer + typed holes from a .keiro file"))
+          (info (Scaffold <$> fileArg <*> outOpt <*> optional moduleRootOpt <*> optional runtimePackageOpt <*> collocateSwitch <*> forceGeneratedOverwriteSwitch <*> applyNameMigrationsSwitch <*> applyGeneratedHaskellEditionSwitch <*> optional goldensOpt <*> codecComparisonOpts <*> optional topologyOutOpt <**> helper) (progDesc "Emit the generated layer + typed holes from a .keiro file"))
         <> command
           "diff"
           (info (Diff <$> fileArg <*> sinceOpt <*> optional emitGoldensOpt <*> optional replayImpactOutOpt <*> many gateOpt <*> explainSwitch <*> optional reportOutOpt <*> diffCoverageOptions <*> diffDenyCodesOptions <**> helper) (progDesc "Classify spec changes since a git ref as per-surface compatibility vectors; exit non-zero on any gated BREAKING surface"))
@@ -347,6 +361,25 @@
     parseFormat "json" = Right InspectionJson
     parseFormat other = Left ("unsupported inspection format: " <> other <> " (expected json)")
 
+topologyCheckOpt :: Parser FilePath
+topologyCheckOpt =
+  strOption
+    (long "check" <> metavar "FILE" <> help "Print no document; exit 1 and name the stale member when FILE differs from the regenerated topology")
+
+topologyOutOpt :: Parser FilePath
+topologyOutOpt =
+  strOption
+    (long "topology-out" <> metavar "FILE" <> help "Also write the keiro-dsl/service-topology document, byte-identical to `keiro-dsl topology`, after a successful scaffold")
+
+topologyFormatOpt :: Parser TopologyFormat
+topologyFormatOpt =
+  option
+    (eitherReader parseFormat)
+    (long "format" <> metavar "json" <> value TopologyJson <> help "Topology output format (json)")
+  where
+    parseFormat "json" = Right TopologyJson
+    parseFormat other = Left ("unsupported topology format: " <> other <> " (expected json)")
+
 behaviorFormatOpt :: Parser BehaviorFormat
 behaviorFormatOpt =
   option
@@ -538,8 +571,8 @@
   | isWorkspacePath fp = runWorkspaceInspect fp format
 run (BehaviorObligations fp format)
   | isWorkspacePath fp = runWorkspaceBehaviorObligations fp format
-run (Scaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest)
-  | isWorkspacePath fp = runWorkspaceScaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest
+run (Scaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest topologyOut)
+  | isWorkspacePath fp = runWorkspaceScaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest topologyOut
 run (Diff fp ref emitGoldensRoot replayImpactOut gatedSurfaces explain reportOut coverageOptions denyCodes)
   | isWorkspacePath fp = runWorkspaceDiff fp ref emitGoldensRoot replayImpactOut gatedSurfaces explain reportOut coverageOptions denyCodes
 run (Parse fp) = do
@@ -586,7 +619,7 @@
               Right obligations -> TIO.putStrLn (renderBindingObligations ((.context) spec) obligations)
             else pure ()
           when (not ((.checkEmit) options) && not ((.checkExplainBindings) options)) (putStrLn "OK")
-run (Scaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest) = do
+run (Scaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest topologyOut) = do
   input <- TIO.readFile fp
   case parseSourceDocument fp input of
     Left failure -> do
@@ -610,8 +643,9 @@
           exitFailure
         (_, Left comparisonError) -> TIO.hPutStrLn stderr comparisonError >> exitFailure
         (Right modules, Right comparisonModule) -> do
+          topologyExport <- prepareTopologyOut fp out [fp] (map (.path) modules) topologyOut
           comparisonReady <- preflightComparison out comparisonRequest comparisonModule
-          case comparisonReady of
+          discardTopologyOutOnFailure topologyExport $ case comparisonReady of
             Left comparisonError -> TIO.hPutStrLn stderr comparisonError >> exitFailure
             Right () -> do
               result <- executeServiceScaffoldWithRuntimePackageAndMigrations cliRuntimePackage applyNameMigrations applyGeneratedHaskellEdition out forceGeneratedOverwrite fp ((.sourceLanguage) parsedSource) ctx service modules
@@ -622,6 +656,7 @@
                 Right report -> do
                   mapM_ (TIO.hPutStrLn stderr) (renderScaffoldReport report)
                   writeComparison comparisonRequest comparisonModule
+                  writeTopologyOut topologyExport
 run (New kind) =
   case skeletonFor (T.pack kind) of
     Left err -> hPutStrLn stderr (T.unpack err) >> exitFailure
@@ -633,6 +668,11 @@
     Right ParsedSourceDocument {parsedSource = parsedSource} ->
       TLIO.putStrLn
         (AesonText.encodeToLazyText (sourceInspection fp ((.sourceLanguage) parsedSource) (checkedSource parsedSource)))
+run (Topology fp TopologyJson checkFile) = case checkFile of
+  Nothing -> renderTopology fp >>= either refuse BS.putStr
+  Just committed -> checkTopology fp committed
+  where
+    refuse diagnostics = mapM_ (TIO.hPutStrLn stderr) diagnostics >> exitFailure
 run (BehaviorObligations fp format) = do
   input <- TIO.readFile fp
   case parseSourceDocument fp input of
@@ -748,6 +788,253 @@
       where
         sourceLanguage = (.sourceLanguage) member
 
+-- | Load, check and export the source or workspace at the given path. Left
+-- carries the rendered diagnostics that refuse the export. The @topology@
+-- command, @scaffold --topology-out@ and @topology --check@ all call this, so
+-- the three cannot disagree on the bytes.
+renderTopology :: FilePath -> IO (Either [T.Text] BS.ByteString)
+renderTopology fp
+  | isWorkspacePath fp = do
+      (source, recorded) <- digestingContentSource (takeDirectory fp)
+      loaded <- loadWorkspace source fp
+      case loaded of
+        Left failure -> pure (Left (renderWorkspaceFailure fp failure))
+        Right workspace -> do
+          -- The whole-service validation `check` runs on a workspace.
+          let diagnostics = checkWorkspace workspace
+          if any ((== Error) . (.severity)) diagnostics
+            then pure (Left (map (renderWorkspaceDiagnostic fp) diagnostics))
+            else do
+              -- Digests of the bytes the loader parsed, never a second read. A
+              -- member missing here is reported as TopologyMissingDigest.
+              digestOf <- readIORef recorded
+              let digests =
+                    [ (path, digest)
+                    | member <- (.members) workspace,
+                      let path = (.path) member,
+                      Just digest <- [Map.lookup path digestOf]
+                    ]
+              pure (exportTopology TopologyWorkspace fp workspace digests)
+  | otherwise = do
+      -- Read the bytes once: the digest and the parse must see the same
+      -- content, and /dev/stdin cannot be read twice.
+      bytes <- BS.readFile fp
+      pure $ case TE.decodeUtf8' bytes of
+        Left decodeError -> Left [T.pack (fp <> ": not valid UTF-8: " <> show decodeError)]
+        Right input -> case parseSourceDocument fp input of
+          Left failure -> Left [renderParseFailure failure]
+          Right document@ParsedSourceDocument {parsedSource = parsedSource, sourceIndex = sourceIndex} ->
+            let service = checkedSource parsedSource
+                diagnostics = checkIndexedServiceDiagnostics Nothing sourceIndex (mkContext Nothing False (checkedSpec service)) service
+             in if any ((== Error) . (.severity)) diagnostics
+                  then Left (map (renderDiagnostic fp) diagnostics)
+                  else case oneMemberParsedDocumentWorkspace fp document of
+                    Left failure -> Left [T.pack ("topology: cannot index " <> fp <> ": " <> show failure)]
+                    Right workspace -> exportTopology TopologySingleSource fp workspace [(takeFileName fp, memberDigest bytes)]
+
+-- | Read files under a directory like 'fileContentSource', but read bytes,
+-- record each file's 'memberDigest' under the relative path it was asked for,
+-- and decode it as UTF-8 regardless of the process locale. The topology export
+-- digests exactly the bytes the workspace loader parsed.
+digestingContentSource :: FilePath -> IO (ContentSource, IORef (Map.Map FilePath T.Text))
+digestingContentSource root = do
+  recorded <- newIORef Map.empty
+  let readRelative relative = do
+        let full = if root == "." then relative else root </> relative
+        exists <- doesFileExist full
+        if not exists
+          then pure (Left ("no such file: " <> T.pack full))
+          else do
+            attempt <- try (BS.readFile full)
+            case attempt of
+              Left readError -> pure (Left (T.pack (show (readError :: IOException))))
+              Right bytes -> case TE.decodeUtf8' bytes of
+                Left decodeError -> pure (Left ("not valid UTF-8: " <> T.pack (show decodeError)))
+                Right text -> do
+                  modifyIORef' recorded (Map.insert relative (memberDigest bytes))
+                  pure (Right text)
+  pure (ContentSource {csRead = readRelative}, recorded)
+
+exportTopology :: TopologySourceKind -> FilePath -> WorkspaceSpec -> [(FilePath, T.Text)] -> Either [T.Text] BS.ByteString
+exportTopology sourceKind fp workspace digests =
+  either (Left . pure . renderTopologyError) (Right . encodeServiceTopology) (buildServiceTopology sourceKind fp workspace digests)
+
+-- | @topology --check FILE@: regenerate and compare bytes. On a difference,
+-- name every member whose recorded digest differs, is new or was removed; when
+-- every digest matches, say that the document differs with unchanged sources
+-- (usually a keiro-dsl upgrade, because the generator version is recorded).
+checkTopology :: FilePath -> FilePath -> IO ()
+checkTopology fp committedPath = do
+  committedRead <- try (BS.readFile committedPath) :: IO (Either IOException BS.ByteString)
+  committedBytes <- either (const unreadable) pure committedRead
+  committed <- maybe unreadable pure (topologySummary committedBytes)
+  rendered <- renderTopology fp
+  currentBytes <- case rendered of
+    Left diagnostics -> mapM_ (TIO.hPutStrLn stderr) diagnostics >> exitFailure
+    Right bytes -> pure bytes
+  when (currentBytes == committedBytes) exitSuccess
+  current <- case topologySummary currentBytes of
+    Nothing -> TIO.hPutStrLn stderr "topology check: internal error: the regenerated document does not decode" >> exitFailure
+    Just summary -> pure summary
+  let recorded = Map.fromList committed.members
+      present = Map.fromList current.members
+      memberLines =
+        [ case Map.lookup path recorded of
+            Nothing -> "topology stale: member '" <> T.pack path <> "' is not recorded in " <> T.pack committedPath
+            Just recordedDigest -> "topology stale: member '" <> T.pack path <> "' changed (recorded " <> recordedDigest <> ", current " <> currentDigest <> ")"
+        | (path, currentDigest) <- Map.toList present,
+          Map.lookup path recorded /= Just currentDigest
+        ]
+          <> [ "topology stale: recorded member '" <> T.pack path <> "' is no longer a source member"
+             | path <- Map.keys recorded,
+               not (Map.member path present)
+             ]
+      -- With every member digest equal, blame the first remaining fact that
+      -- differs: the generator, then the manifest (service name or source file
+      -- name, which are not members and carry no digest).
+      unchangedLine
+        | committed.generatorVersion /= current.generatorVersion =
+            "topology stale: document differs with unchanged sources (generated by keiro-dsl "
+              <> committed.generatorVersion
+              <> ", current keiro-dsl "
+              <> current.generatorVersion
+              <> "); regenerate it"
+        | committed.service /= current.service || committed.source /= current.source =
+            "topology stale: the service or manifest changed (recorded service '"
+              <> committed.service
+              <> "', current '"
+              <> current.service
+              <> "'"
+              <> ( if committed.source /= current.source
+                     then "; recorded source '" <> committed.source <> "', current '" <> current.source <> "'"
+                     else ""
+                 )
+              <> "); regenerate it"
+        | otherwise =
+            "topology stale: document differs with unchanged sources and the same keiro-dsl version; regenerate it"
+  mapM_ (TIO.hPutStrLn stderr) (if null memberLines then [unchangedLine] else memberLines)
+  exitWith (ExitFailure 1)
+  where
+    unreadable :: IO a
+    unreadable = do
+      TIO.hPutStrLn stderr ("topology check: cannot read '" <> T.pack committedPath <> "' as a keiro-dsl service-topology document")
+      exitWith (ExitFailure 1)
+
+-- | The facts @topology --check@ compares when two documents differ.
+data TopologySummary = TopologySummary
+  { schema :: T.Text,
+    service :: T.Text,
+    -- | The source kind and file name, as @kind:path@.
+    source :: T.Text,
+    members :: [(FilePath, T.Text)],
+    generatorVersion :: T.Text
+  }
+
+-- | The schema id, service, source, members (path and digest) and generator
+-- version a topology document records, or Nothing when the bytes are not a
+-- service-topology document.
+topologySummary :: BS.ByteString -> Maybe TopologySummary
+topologySummary bytes = Aeson.decodeStrict bytes >>= AesonTypes.parseMaybe parser
+  where
+    parser = Aeson.withObject "service topology" $ \document -> do
+      schema <- document .: "schema"
+      unless ("keiro-dsl/service-topology/" `T.isPrefixOf` schema) (fail "not a service-topology schema id")
+      service <- document .: "service"
+      sourceObject <- document .: "source"
+      sourceKind <- sourceObject .: "kind"
+      sourcePath <- sourceObject .: "path"
+      members <- document .: "members" >>= mapM (Aeson.withObject "member" (\member -> (,) <$> member .: "path" <*> member .: "sha256"))
+      generator <- document .: "generator"
+      version <- generator .: "version"
+      pure
+        TopologySummary
+          { schema = schema,
+            service = service,
+            source = sourceKind <> ":" <> sourcePath,
+            members = members,
+            generatorVersion = version
+          }
+
+-- | A prepared @scaffold --topology-out@: the document already written to a
+-- temporary file beside the target, and the directories created to hold it.
+data TopologyExport = TopologyExport
+  { target :: FilePath,
+    temporary :: FilePath,
+    -- | Innermost first, so they can be removed in order.
+    createdDirectories :: [FilePath]
+  }
+
+-- | Prepare @scaffold --topology-out@ before anything is written: refuse a
+-- path that would overwrite a scaffold input or output, render the document,
+-- and prove the target writable by writing the document to
+-- @<target>.keiro-dsl-tmp@ in the target's directory. The caller renames it
+-- onto the target only after the scaffold succeeds ('writeTopologyOut') and
+-- removes it on every other path ('discardTopologyOutOnFailure').
+prepareTopologyOut :: FilePath -> FilePath -> [FilePath] -> [FilePath] -> Maybe FilePath -> IO (Maybe TopologyExport)
+prepareTopologyOut _ _ _ _ Nothing = pure Nothing
+prepareTopologyOut fp out inputs plannedModules (Just exportPath) = do
+  exportCanonical <- canonicalizePath exportPath
+  outCanonical <- canonicalizePath out
+  protected <- mapM canonicalizePath (inputs <> map (out </>) plannedModules)
+  -- Ledgers, Cabal fragments, build manifests and migration reports all live
+  -- directly under --out with a keiro-dsl- prefix.
+  let scaffoldRecord = takeDirectory exportCanonical == outCanonical && "keiro-dsl-" `isPrefixOf` takeFileName exportCanonical
+  when (exportCanonical `elem` protected || scaffoldRecord) $ do
+    hPutStrLn stderr ("scaffold: --topology-out " <> exportPath <> " names a scaffold input, a generated or create-once module, or a keiro-dsl record under --out; nothing was written")
+    exitFailure
+  let cannotWrite :: String -> IO a
+      cannotWrite reason = do
+        hPutStrLn stderr ("scaffold: --topology-out " <> exportPath <> " cannot be written: " <> reason <> "; nothing was written")
+        exitFailure
+      -- The scaffold creates --out and every directory above a planned module.
+      scaffoldDirectory = exportCanonical == outCanonical || any ((addTrailingPathSeparator exportCanonical `isPrefixOf`) . normalise) (outCanonical : protected)
+  isDirectory <- doesDirectoryExist exportPath
+  when isDirectory (cannotWrite "it is a directory")
+  when scaffoldDirectory (cannotWrite "it is a directory the scaffold creates")
+  let temporary = exportPath <> ".keiro-dsl-tmp"
+  temporaryExists <- doesPathExist temporary
+  when temporaryExists (cannotWrite ("its temporary file " <> temporary <> " already exists"))
+  rendered <- renderTopology fp
+  bytes <- case rendered of
+    Left diagnostics -> mapM_ (TIO.hPutStrLn stderr) diagnostics >> exitFailure
+    Right bytes -> pure bytes
+  missing <- missingDirectories (takeDirectory exportPath)
+  created <- try (mapM_ createDirectory (reverse missing) >> BS.writeFile temporary bytes) :: IO (Either IOException ())
+  case created of
+    Left writeError -> do
+      removeCreatedDirectories missing
+      cannotWrite (show writeError)
+    Right () -> pure (Just TopologyExport {target = exportPath, temporary = temporary, createdDirectories = missing})
+  where
+    -- The directories that do not exist yet, innermost first.
+    missingDirectories directory = do
+      exists <- doesPathExist directory
+      if exists || takeDirectory directory == directory
+        then pure []
+        else (directory :) <$> missingDirectories (takeDirectory directory)
+
+-- | Publish a prepared export after a successful scaffold.
+writeTopologyOut :: Maybe TopologyExport -> IO ()
+writeTopologyOut = mapM_ $ \export -> renameFile export.temporary export.target
+
+-- | Run the scaffold; if it exits or fails before 'writeTopologyOut' published
+-- the export, remove the temporary file and the directories made for it.
+discardTopologyOutOnFailure :: Maybe TopologyExport -> IO a -> IO a
+discardTopologyOutOnFailure export scaffold = scaffold `onException` mapM_ discard export
+  where
+    discard prepared = do
+      _ <- try (removeFile prepared.temporary) :: IO (Either IOException ())
+      removeCreatedDirectories prepared.createdDirectories
+
+-- | Remove directories innermost first, stopping silently at one that is not
+-- empty or cannot be removed.
+removeCreatedDirectories :: [FilePath] -> IO ()
+removeCreatedDirectories = \case
+  [] -> pure ()
+  directory : rest -> do
+    removed <- try (removeDirectory directory) :: IO (Either IOException ())
+    either (const (pure ())) (const (removeCreatedDirectories rest)) removed
+
 runWorkspaceBehaviorObligations :: FilePath -> BehaviorFormat -> IO ()
 runWorkspaceBehaviorObligations fp format = do
   loaded <- loadWorkspace (fileContentSource (takeDirectory fp)) fp
@@ -893,8 +1180,9 @@
   Bool ->
   Maybe FilePath ->
   Maybe (String, FilePath) ->
+  Maybe FilePath ->
   IO ()
-runWorkspaceScaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest = do
+runWorkspaceScaffold fp out cliRoot cliRuntimePackage cliCollocate forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition cliGoldens comparisonRequest topologyOut = do
   loaded <- loadWorkspace (fileContentSource (takeDirectory fp)) fp
   case loaded of
     Left failure -> do
@@ -922,8 +1210,10 @@
           exitFailure
         (_, Left comparisonError) -> TIO.hPutStrLn stderr comparisonError >> exitFailure
         (Right plan, Right comparisonModule) -> do
+          let memberInputs = [workspaceDisplayPath fp (WorkspaceMemberFile ((.path) member)) | member <- (.members) workspace]
+          topologyExport <- prepareTopologyOut fp out (fp : memberInputs) (map ((.path) . fst) ((.modules) plan)) topologyOut
           comparisonReady <- preflightComparison out comparisonRequest comparisonModule
-          case comparisonReady of
+          discardTopologyOutOnFailure topologyExport $ case comparisonReady of
             Left comparisonError -> TIO.hPutStrLn stderr comparisonError >> exitFailure
             Right () -> do
               result <- executeWorkspaceScaffoldWithMigrations out forceGeneratedOverwrite applyNameMigrations applyGeneratedHaskellEdition plan
@@ -934,6 +1224,7 @@
                 Right report -> do
                   mapM_ (TIO.hPutStrLn stderr) (renderWorkspaceScaffoldReport report)
                   writeComparison comparisonRequest comparisonModule
+                  writeTopologyOut topologyExport
 
 -- | @diff@ on a workspace manifest: compose the working-tree service and the
 -- service described by the manifest and member blobs at @--since@, then feed both
diff --git a/generated-haskell-edition-idiomatic-v2.md b/generated-haskell-edition-idiomatic-v2.md
# file too large to diff: generated-haskell-edition-idiomatic-v2.md
diff --git a/keiro-dsl.cabal b/keiro-dsl.cabal
--- a/keiro-dsl.cabal
+++ b/keiro-dsl.cabal
@@ -1,6 +1,6 @@
 cabal-version: 3.0
 name: keiro-dsl
-version: 0.25.1.0
+version: 0.26.0.0
 synopsis: Typed specification toolchain for keiro services
 description:
   keiro-dsl is the toolchain over a typed `.keiro` specification of a keiro
@@ -151,6 +151,7 @@
     Keiro.Dsl.SourceIndex
     Keiro.Dsl.StructuralConformance
     Keiro.Dsl.Syntax
+    Keiro.Dsl.Topology
     Keiro.Dsl.TransitionFamily
     Keiro.Dsl.TypeGraph
     Keiro.Dsl.Validate
@@ -190,7 +191,7 @@
     directory >=1.3 && <1.4,
     filepath >=1.4 && <1.6,
     keiki >=0.9 && <0.10,
-    keiro-core ^>=0.25.1.0,
+    keiro-core ^>=0.26.0.0,
     keiro-dsl:generated-haskell-language-internal,
     megaparsec >=9.6 && <9.9,
     mmzk-typeid >=0.7 && <0.8,
@@ -206,6 +207,8 @@
   build-depends:
     aeson >=2.2 && <2.3,
     base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
+    containers >=0.6 && <0.8,
     directory >=1.3 && <1.4,
     filepath >=1.4 && <1.6,
     keiro-dsl,
@@ -227,8 +230,10 @@
     Keiro.Dsl.FrontendProfiles
     Keiro.Dsl.FrontendPublicApiProbe
     Keiro.Dsl.FrontendSurface
+    Keiro.Dsl.InputSourceSpec
     Keiro.Dsl.MappedRegisterConstruction
     Keiro.Dsl.MappedStructuralEnumEquality
+    Keiro.Dsl.TopologySpec
     Paths_keiro_dsl
 
   build-depends:
@@ -241,13 +246,14 @@
     filepath >=1.4 && <1.6,
     hspec >=2.11,
     keiki >=0.9 && <0.10,
-    keiro-core ^>=0.25.1.0,
+    keiro-core ^>=0.26.0.0,
     keiro-dsl,
     keiro-dsl:generated-haskell-language-internal,
     mmzk-typeid >=0.7 && <0.8,
     process >=1.6 && <1.7,
     text >=2.1 && <2.2,
     time >=1.12 && <1.15,
+    vector >=0.13 && <0.14,
 
 test-suite keiro-dsl-import-planning-test
   import: warnings, shared
@@ -294,7 +300,7 @@
   main-is: Main.hs
   build-depends:
     base >=4.21 && <5,
-    keiro ^>=0.25.1.0,
+    keiro ^>=0.26.0.0,
     keiro-dsl,
     shibuya-core ^>=0.13.0.1,
     text >=2.1 && <2.2,
@@ -402,7 +408,10 @@
   import: warnings, generated-output
   type: exitcode-stdio-1.0
   default-extensions: OverloadedLabels
-  hs-source-dirs: test/conformance-history-dependent-holes
+  hs-source-dirs:
+    test/conformance-history-dependent-holes
+    test/topology-machine-proof
+
   main-is: Main.hs
   other-modules:
     Conformance.HistoryDependentHoles.Bindings
@@ -420,13 +429,18 @@
     Generated.HistoryDependentHoles.StructuralConformance
     HistoryDependentHoles.Assignment.BehaviorHoles
     HistoryDependentHoles.Assignment.Holes
+    TopologyMachineProof
 
   build-depends:
     aeson >=2.2 && <2.3,
     base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
     containers >=0.6 && <0.8,
+    directory >=1.3 && <1.4,
+    filepath >=1.4 && <1.6,
     keiki >=0.9 && <0.10,
     keiro,
+    keiro-dsl,
     text >=2.1 && <2.2,
     time >=1.12 && <1.15,
 
@@ -583,7 +597,10 @@
 test-suite keiro-dsl-conformance-structural
   import: warnings, generated-output
   type: exitcode-stdio-1.0
-  hs-source-dirs: test/conformance-structural
+  hs-source-dirs:
+    test/conformance-structural
+    test/topology-machine-proof
+
   main-is: Main.hs
   other-modules:
     Conformance.Structural.Bindings
@@ -605,6 +622,7 @@
     Generated.StructuralConformance.StructuralConformance
     Generated.StructuralConformance.StructuralProjections
     StructuralConformance.ArtifactCatalog.Holes
+    TopologyMachineProof
 
   build-depends:
     aeson >=2.2 && <2.3,
@@ -612,8 +630,11 @@
     bytestring >=0.12 && <0.13,
     containers >=0.6 && <0.8,
     deepseq >=1.5 && <1.6,
+    directory >=1.3 && <1.4,
+    filepath >=1.4 && <1.6,
     keiki >=0.9 && <0.10,
     keiro,
+    keiro-dsl,
     text >=2.1 && <2.2,
     time >=1.12 && <1.15,
 
@@ -1122,7 +1143,7 @@
     containers >=0.6 && <0.8,
     deepseq >=1.5 && <1.6,
     keiki >=0.9 && <0.10,
-    keiro ^>=0.25.1.0,
+    keiro ^>=0.26.0.0,
     tasty-bench >=0.5 && <0.6,
     text >=2.1 && <2.2,
     time >=1.12 && <1.15,
@@ -1374,6 +1395,62 @@
     mmzk-typeid >=0.7 && <0.8,
     text >=2.1 && <2.2,
 
+-- ExecPlan 345 / IR-64: Optional contract fields of every scalar family and a
+-- contract whose event type comes from the envelope, decoded through
+-- keiro-core's decodeJsonIntegrationEventWith.
+test-suite keiro-dsl-conformance-contract-foreign-event
+  import: warnings, generated-output
+  type: exitcode-stdio-1.0
+  hs-source-dirs: test/conformance-contract-foreign-event
+  main-is: Main.hs
+  other-modules:
+    Generated.ContractForeignEvent.Audit.Contract
+    Generated.ContractForeignEvent.Nominals
+    Generated.ContractForeignEvent.Nominals.Internal
+    Generated.ContractForeignEvent.Registration.Contract
+    Generated.ContractForeignEvent.Signals.Contract
+    Generated.ContractForeignEvent.Structural.NominalLeaves
+    Generated.ContractForeignEvent.StructuralConformance
+
+  build-depends:
+    aeson >=2.2 && <2.3,
+    base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
+    keiki >=0.9 && <0.10,
+    keiro,
+    keiro-core,
+    keiro-dsl,
+    mmzk-typeid >=0.7 && <0.8,
+    text >=2.1 && <2.2,
+    time >=1.12 && <1.15,
+
+-- ExecPlan 345 M5 rollout proof: the generated modules of two versions of one
+-- contract source, compiled side by side under distinct module roots, decode
+-- each other's output in the order keiro-dsl diff reports.
+test-suite keiro-dsl-conformance-contract-rollout
+  import: warnings, generated-output
+  type: exitcode-stdio-1.0
+  hs-source-dirs:
+    test/conformance-contract-rollout
+    test/conformance-contract-rollout/before
+    test/conformance-contract-rollout/after
+
+  main-is: Main.hs
+  other-modules:
+    After.Generated.ContractRollout.Growth.Contract
+    After.Generated.ContractRollout.Origin.Contract
+    After.Generated.ContractRollout.Presence.Contract
+    Before.Generated.ContractRollout.Growth.Contract
+    Before.Generated.ContractRollout.Origin.Contract
+    Before.Generated.ContractRollout.Presence.Contract
+
+  build-depends:
+    aeson >=2.2 && <2.3,
+    base >=4.21 && <5,
+    containers >=0.6 && <0.8,
+    keiro-dsl,
+    text >=2.1 && <2.2,
+
 -- Language-1 compatibility proof: the historical permissive Text contract DTO
 -- still accepts pre-TypeID-v7 samples and retains its released JSON image.
 test-suite keiro-dsl-conformance-contract-v1-compat
@@ -1423,6 +1500,51 @@
     text >=2.1 && <2.2,
     time >=1.12 && <1.15,
 
+-- IR-65 delegated typed no-op: a generated delegated intake feeds an
+-- outcome-enabled aggregate through Keiro.Inbox.Delegated.delegatedDomainCommand
+-- against PostgreSQL, acknowledging a typed no-op with a completed inbox row.
+test-suite keiro-dsl-conformance-intake-delegated-noop
+  import: warnings, generated-output
+  type: exitcode-stdio-1.0
+  hs-source-dirs: test/conformance-intake-delegated-noop
+  main-is: Main.hs
+  ghc-options:
+    -threaded
+    -rtsopts
+    -with-rtsopts=-N
+
+  other-modules:
+    DeliveryOutcomes.DeliveryOutcomeInbox.DelegatedIntegration
+    DeliveryOutcomes.DeliveryStatus.BehaviorHoles
+    Generated.DeliveryOutcomes.BehaviorSourceMap
+    Generated.DeliveryOutcomes.Courier.Contract
+    Generated.DeliveryOutcomes.DeliveryOutcomeInbox.Inbox
+    Generated.DeliveryOutcomes.DeliveryStatus.BehaviorContract
+    Generated.DeliveryOutcomes.DeliveryStatus.Codec
+    Generated.DeliveryOutcomes.DeliveryStatus.Domain
+    Generated.DeliveryOutcomes.DeliveryStatus.EventStream
+    Generated.DeliveryOutcomes.DeliveryStatus.Harness
+    Generated.DeliveryOutcomes.DeliveryStatus.Projection
+    Generated.DeliveryOutcomes.DeliveryStatus.Transducer
+    Generated.DeliveryOutcomes.Inspection
+    Generated.DeliveryOutcomes.Nominals
+    Generated.DeliveryOutcomes.ReplayAudit
+
+  build-depends:
+    aeson >=2.2 && <2.3,
+    base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
+    containers >=0.6 && <0.8,
+    effectful-core,
+    keiki >=0.9 && <0.10,
+    keiro,
+    keiro-core,
+    keiro-test-support,
+    kiroku-store,
+    text >=2.1 && <2.2,
+    time >=1.12 && <1.15,
+    vector,
+
 -- EP-4 M5 full-service conformance: a complete integration service — scaffolded
 -- inbox dedupe + a filled inbox transaction runner and outbox IntegrationProducer
 -- — compiled against the live keiro runtime (Inbox / Outbox / Kiroku.Store).
@@ -1690,7 +1812,10 @@
 test-suite keiro-dsl-conformance-process-full
   import: warnings, generated-output
   type: exitcode-stdio-1.0
-  hs-source-dirs: test/conformance-process-full
+  hs-source-dirs:
+    test/conformance-process-full
+    test/topology-machine-proof
+
   main-is: Main.hs
   other-modules:
     Generated.SurgeDemo.BehaviorSourceMap
@@ -1712,12 +1837,17 @@
     SurgeDemo.Hospital.Holes
     SurgeDemo.Surge.Holes
     SurgeDemo.SurgeFlow.Manager
+    TopologyMachineProof
 
   build-depends:
     aeson >=2.2 && <2.3,
     base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
+    directory >=1.3 && <1.4,
+    filepath >=1.4 && <1.6,
     keiki >=0.9 && <0.10,
     keiro,
+    keiro-dsl,
     shibuya-core ^>=0.13.0.1,
     text >=2.1 && <2.2,
     time >=1.12 && <1.15,
@@ -1779,7 +1909,10 @@
 test-suite keiro-dsl-conformance-process-reactions
   import: warnings, generated-output
   type: exitcode-stdio-1.0
-  hs-source-dirs: test/conformance-process-reactions
+  hs-source-dirs:
+    test/conformance-process-reactions
+    test/topology-machine-proof
+
   main-is: Main.hs
   ghc-options:
     -threaded
@@ -1807,13 +1940,18 @@
     ProcessReactions.AuditOnly.ProcessHoles
     ProcessReactions.IncidentReaction.ProcessHoles
     ProcessReactions.ScalingReaction.ProcessHoles
+    TopologyMachineProof
 
   build-depends:
     aeson >=2.2 && <2.3,
     base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
+    directory >=1.3 && <1.4,
     effectful-core,
+    filepath >=1.4 && <1.6,
     keiki >=0.9 && <0.10,
     keiro,
+    keiro-dsl,
     keiro-test-support,
     kiroku-store ^>=0.13.0.1,
     shibuya-core ^>=0.13.0.1,
@@ -1823,6 +1961,62 @@
     uuid >=1.3 && <1.4,
     vector >=0.13 && <0.14,
 
+-- The topology machine proof: the `machine` object `keiro-dsl topology`
+-- exports from the specification equals the generated keiki transducer walked
+-- with keiki's own accessors, for every aggregate including a process saga.
+test-suite keiro-dsl-conformance-topology-machine
+  import: warnings, generated-output
+  type: exitcode-stdio-1.0
+  hs-source-dirs:
+    test/conformance-topology-machine
+    test/topology-machine-proof
+
+  main-is: Main.hs
+  other-modules:
+    Generated.TopologyMachine.BehaviorSourceMap
+    Generated.TopologyMachine.Inspection
+    Generated.TopologyMachine.Nominals
+    Generated.TopologyMachine.Nominals.Internal
+    Generated.TopologyMachine.Order.BehaviorContract
+    Generated.TopologyMachine.Order.Codec
+    Generated.TopologyMachine.Order.Domain
+    Generated.TopologyMachine.Order.EventStream
+    Generated.TopologyMachine.Order.Harness
+    Generated.TopologyMachine.Order.Projection
+    Generated.TopologyMachine.Order.Transducer
+    Generated.TopologyMachine.OrderFlow.Input
+    Generated.TopologyMachine.OrderFlow.Process
+    Generated.TopologyMachine.OrderFlow.ProcessHarness
+    Generated.TopologyMachine.OrderSaga.BehaviorContract
+    Generated.TopologyMachine.OrderSaga.Codec
+    Generated.TopologyMachine.OrderSaga.Domain
+    Generated.TopologyMachine.OrderSaga.EventStream
+    Generated.TopologyMachine.OrderSaga.Harness
+    Generated.TopologyMachine.OrderSaga.Projection
+    Generated.TopologyMachine.OrderSaga.Transducer
+    Generated.TopologyMachine.ReplayAudit
+    TopologyMachine.Order.BehaviorHoles
+    TopologyMachine.Order.Holes
+    TopologyMachine.OrderFlow.ProcessHoles
+    TopologyMachine.OrderSaga.BehaviorHoles
+    TopologyMachineProof
+
+  build-depends:
+    aeson >=2.2 && <2.3,
+    base >=4.21 && <5,
+    bytestring >=0.12 && <0.13,
+    containers >=0.6 && <0.8,
+    directory >=1.3 && <1.4,
+    filepath >=1.4 && <1.6,
+    keiki >=0.9 && <0.10,
+    keiro,
+    keiro-dsl,
+    kiroku-store ^>=0.13.0.1,
+    shibuya-core ^>=0.13.0.1,
+    text >=2.1 && <2.2,
+    time >=1.12 && <1.15,
+    uuid >=1.3 && <1.4,
+
 -- Language 6 reaction timers: typed payload codecs, schedule modes,
 -- cancellation accounting and deterministic fire redelivery.
 test-suite keiro-dsl-conformance-process-timers
@@ -2039,6 +2233,7 @@
   other-modules:
     Generated.TransferRouting.BehaviorSourceMap
     Generated.TransferRouting.Conformance
+    Generated.TransferRouting.Hospital.BehaviorContract
     Generated.TransferRouting.Hospital.Codec
     Generated.TransferRouting.Hospital.Domain
     Generated.TransferRouting.Hospital.EventStream
@@ -2052,6 +2247,7 @@
     Generated.TransferRouting.HospitalTransferRouter.RouterHarness
     Generated.TransferRouting.Inspection
     Generated.TransferRouting.ReplayAudit
+    TransferRouting.Hospital.BehaviorHoles
     TransferRouting.Hospital.Holes
     TransferRouting.HospitalLoad.ReadModelHoles
     TransferRouting.HospitalTransferRouter.RouterHoles
@@ -2060,6 +2256,7 @@
   build-depends:
     aeson >=2.2 && <2.3,
     base >=4.21 && <5,
+    containers >=0.6 && <0.8,
     effectful-core,
     hasql-transaction,
     keiki >=0.9 && <0.10,
diff --git a/record-field-migration-0.15.md b/record-field-migration-0.15.md
--- a/record-field-migration-0.15.md
+++ b/record-field-migration-0.15.md
@@ -9,1469 +9,1510 @@
 serialized, rendered, CLI, and runtime surfaces for review but does not prove byte
 compatibility. Exact byte claims live in named package-test goldens.
 
-Inventory: 320 record-owning declarations, 1585 fields, 1537 strict fields, and 1440 fields exported through a public `Type (..)`.
-
-| Location | Owner | Kind | Public | Current | Target | Type/strictness | Selection replacement | Review risk / observable surface | Deriving |
-| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
-| `keiro-dsl/src/Keiro/Dsl/AggregateGenerationPlan.hs:14` | `TransitionLayoutEntry` | data | no | `layoutDeclarationIndex` | `declarationIndex` | `!Int` | `(.declarationIndex)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateGenerationPlan.hs:15` | `TransitionLayoutEntry` | data | no | `layoutOutgoingIndex` | `outgoingIndex` | `!Int` | `(.outgoingIndex)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateGenerationPlan.hs:16` | `TransitionLayoutEntry` | data | no | `layoutTransition` | `transition` | `!Transition` | `(.transition)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:97` | `StructuralEnumEquality` | data | yes | `key` | `key` | `!MappedKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:98` | `StructuralEnumEquality` | data | yes | `owner` | `owner` | `!HaskellSource` | `(.owner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:99` | `StructuralEnumEquality` | data | yes | `binding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:100` | `StructuralEnumEquality` | data | yes | `bindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:101` | `StructuralEnumEquality` | data | yes | `canonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:102` | `StructuralEnumEquality` | data | yes | `constructors` | `constructors` | `!(NE.NonEmpty (Name, Text))` | `(.constructors)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:139` | `AggregateSymbols` | data | no | `symbolNominals` | `nominals` | `!(Map Name ResolvedNominalType)` | `(.nominals)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:140` | `AggregateSymbols` | data | no | `symbolVertices` | `vertices` | `!(Map Name [Name])` | `(.vertices)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:141` | `AggregateSymbols` | data | no | `symbolMapped` | `mapped` | `!(Map MappedKey ResolvedMappedDecl)` | `(.mapped)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:178` | `AggregateTypeError` | data | yes | `aggregateTypeErrorLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:179` | `AggregateTypeError` | data | yes | `aggregateTypeErrorUseSite` | `useSite` | `!AggregateUseSite` | `(.useSite)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:180` | `AggregateTypeError` | data | yes | `aggregateTypeErrorReason` | `reason` | `!AggregateTypeErrorReason` | `(.reason)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:317` | `AggregateHaskellSource` | data | no | `aggregateSourceBuiltin` | `builtin` | `!(Maybe Text)` | `(.builtin)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:318` | `AggregateHaskellSource` | data | no | `aggregateSourceReference` | `reference` | `!(Maybe HaskellReference)` | `(.reference)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:319` | `AggregateHaskellSource` | data | no | `aggregateSourceStaticImports` | `staticImports` | `!(Set Text)` | `(.staticImports)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:51` | `BehaviorKey` | newtype | yes | `unBehaviorKey` | `unBehaviorKey` | `Text` | explicit `unBehaviorKey` positional function | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:92` | `BehaviorExactLocation` | data | yes | `exactSourceFile` | `sourceFile` | `!FilePath` | `(.sourceFile)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:93` | `BehaviorExactLocation` | data | yes | `exactSourceLine` | `sourceLine` | `!Int` | `(.sourceLine)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:94` | `BehaviorExactLocation` | data | yes | `exactSourceColumn` | `sourceColumn` | `!Int` | `(.sourceColumn)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:99` | `BehaviorRequirement` | data | yes | `requirementKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:100` | `BehaviorRequirement` | data | yes | `requirementOrigin` | `origin` | `!RequirementOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:101` | `BehaviorRequirement` | data | yes | `requirementKind` | `kind` | `!ObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:102` | `BehaviorRequirement` | data | yes | `requirementEvidence` | `evidence` | `!EvidenceLevel` | `(.evidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:103` | `BehaviorRequirement` | data | yes | `requirementGuardCoverage` | `guardCoverage` | `!GuardCoverage` | `(.guardCoverage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:104` | `BehaviorRequirement` | data | yes | `requirementContext` | `context` | `!Name` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:105` | `BehaviorRequirement` | data | yes | `requirementAggregate` | `aggregate` | `!Name` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:106` | `BehaviorRequirement` | data | yes | `requirementSource` | `source` | `!Name` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:107` | `BehaviorRequirement` | data | yes | `requirementCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:108` | `BehaviorRequirement` | data | yes | `requirementTarget` | `target` | `!(Maybe Name)` | `(.target)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:109` | `BehaviorRequirement` | data | yes | `requirementMode` | `mode` | `!(Maybe TransitionMode)` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:110` | `BehaviorRequirement` | data | yes | `requirementEvents` | `events` | `![Name]` | `(.events)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:111` | `BehaviorRequirement` | data | yes | `requirementOutputs` | `outputs` | `![OutputEvidence]` | `(.outputs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:112` | `BehaviorRequirement` | data | yes | `requirementDomainOutcome` | `domainOutcome` | `!(Maybe TransitionOutcome)` | `(.domainOutcome)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:113` | `BehaviorRequirement` | data | yes | `requirementLocation` | `location` | `!Loc` | `(.location)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:114` | `BehaviorRequirement` | data | yes | `requirementExactLocation` | `exactLocation` | `!(Maybe BehaviorExactLocation)` | `(.exactLocation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:115` | `BehaviorRequirement` | data | yes | `requirementOwner` | `owner` | `!(Maybe FilePath)` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:116` | `BehaviorRequirement` | data | yes | `requirementCanonical` | `canonical` | `!Text` | `(.canonical)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:124` | `BehaviorRecordRow` | data | yes | `behaviorRecordKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:125` | `BehaviorRecordRow` | data | yes | `behaviorRecordKind` | `kind` | `!ObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:126` | `BehaviorRecordRow` | data | yes | `behaviorRecordEvidence` | `evidence` | `!EvidenceLevel` | `(.evidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:127` | `BehaviorRecordRow` | data | yes | `behaviorRecordAggregate` | `aggregate` | `!Name` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:128` | `BehaviorRecordRow` | data | yes | `behaviorRecordSource` | `source` | `!Name` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:129` | `BehaviorRecordRow` | data | yes | `behaviorRecordCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:130` | `BehaviorRecordRow` | data | yes | `behaviorRecordOwner` | `owner` | `!(Maybe FilePath)` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:131` | `BehaviorRecordRow` | data | yes | `behaviorRecordOutputs` | `outputs` | `![OutputEvidence]` | `(.outputs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:143` | `BehaviorObligationsReport` | data | yes | `behaviorSubject` | `subject` | `!FilePath` | `(.subject)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:144` | `BehaviorObligationsReport` | data | yes | `behaviorWorkspaceService` | `workspaceService` | `!(Maybe Text)` | `(.workspaceService)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:145` | `BehaviorObligationsReport` | data | yes | `behaviorRequirements` | `requirements` | `![BehaviorRequirement]` | `(.requirements)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:38` | `BehaviorSourceFailure` | data | yes | `failureCode` | `code` | `!BehaviorSourceFailureCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:39` | `BehaviorSourceFailure` | data | yes | `failureKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:40` | `BehaviorSourceFailure` | data | yes | `failureOrigin` | `origin` | `!RequirementOrigin` | `(.origin)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:41` | `BehaviorSourceFailure` | data | yes | `failureAggregate` | `aggregate` | `!Text` | `(.aggregate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:42` | `BehaviorSourceFailure` | data | yes | `failureState` | `state` | `!Text` | `(.state)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:43` | `BehaviorSourceFailure` | data | yes | `failureCommand` | `command` | `!Text` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:44` | `BehaviorSourceFailure` | data | yes | `failureSourceSubject` | `sourceSubject` | `!SourceSubject` | `(.sourceSubject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:45` | `BehaviorSourceFailure` | data | yes | `failureSpan` | `span` | `!(Maybe SourceSpan)` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:46` | `BehaviorSourceFailure` | data | yes | `failureMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:51` | `BehaviorSourceEntry` | data | yes | `behaviorSourceKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:52` | `BehaviorSourceEntry` | data | yes | `behaviorSourceFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:53` | `BehaviorSourceEntry` | data | yes | `behaviorSourceLine` | `line` | `!Int` | `(.line)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:54` | `BehaviorSourceEntry` | data | yes | `behaviorSourceColumn` | `column` | `!Int` | `(.column)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:45` | `CheckReportLanguage` | data | yes | `reportSourceForm` | `sourceForm` | `!Text` | `(.sourceForm)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:46` | `CheckReportLanguage` | data | yes | `reportDeclaredLanguageVersion` | `declaredLanguageVersion` | `!(Maybe LanguageVersion)` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:47` | `CheckReportLanguage` | data | yes | `reportEffectiveLanguageVersion` | `effectiveLanguageVersion` | `!LanguageVersion` | `(.effectiveLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:48` | `CheckReportLanguage` | data | yes | `reportRuntimeSemantics` | `runtimeSemantics` | `!Text` | `(.runtimeSemantics)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:49` | `CheckReportLanguage` | data | yes | `reportLanguageSupport` | `languageSupport` | `!LanguageSupport` | `(.languageSupport)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:50` | `CheckReportLanguage` | data | yes | `reportStable` | `stable` | `!Bool` | `(.stable)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:55` | `CheckReportEnforcement` | data | yes | `reportMinLanguage` | `minLanguage` | `!(Maybe LanguageVersion)` | `(.minLanguage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:56` | `CheckReportEnforcement` | data | yes | `reportDenyWarnings` | `denyWarnings` | `!Bool` | `(.denyWarnings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:57` | `CheckReportEnforcement` | data | yes | `reportDenyCodes` | `denyCodes` | `![DiagnosticCode]` | `(.denyCodes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:62` | `CheckReportRelated` | data | yes | `relatedFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:63` | `CheckReportRelated` | data | yes | `relatedLine` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:64` | `CheckReportRelated` | data | yes | `relatedNote` | `note` | `!Text` | `(.note)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:69` | `CheckReportEntry` | data | yes | `entryCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:70` | `CheckReportEntry` | data | yes | `entrySeverity` | `severity` | `!Severity` | `(.severity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:71` | `CheckReportEntry` | data | yes | `entryFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:72` | `CheckReportEntry` | data | yes | `entryLine` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:73` | `CheckReportEntry` | data | yes | `entryMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:74` | `CheckReportEntry` | data | yes | `entryDenied` | `denied` | `!Bool` | `(.denied)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:75` | `CheckReportEntry` | data | yes | `entryRelated` | `related` | `![CheckReportRelated]` | `(.related)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:80` | `CheckReportSummary` | data | yes | `summaryErrors` | `errors` | `!Int` | `(.errors)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:81` | `CheckReportSummary` | data | yes | `summaryWarnings` | `warnings` | `!Int` | `(.warnings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:82` | `CheckReportSummary` | data | yes | `summaryDeniedWarnings` | `deniedWarnings` | `!Int` | `(.deniedWarnings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:87` | `CheckReportMember` | data | yes | `memberPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:88` | `CheckReportMember` | data | yes | `memberSourceForm` | `sourceForm` | `!Text` | `(.sourceForm)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:89` | `CheckReportMember` | data | yes | `memberDeclaredLanguageVersion` | `declaredLanguageVersion` | `!(Maybe LanguageVersion)` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:94` | `CheckReportProcessReaction` | data | yes | `process` | `process` | `!Text` | `(.process)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:95` | `CheckReportProcessReaction` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:96` | `CheckReportProcessReaction` | data | yes | `version` | `version` | `!Natural` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:97` | `CheckReportProcessReaction` | data | yes | `fingerprint` | `fingerprint` | `!Text` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:98` | `CheckReportProcessReaction` | data | yes | `holeObligations` | `holeObligations` | `![Text]` | `(.holeObligations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:106` | `CheckReport` | data | no | `reportKind` | `kind` | `!CheckReportKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:107` | `CheckReport` | data | no | `reportSubject` | `subject` | `!FilePath` | `(.subject)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:111` | `CheckReport` | data | no | `reportLanguage` | `language` | `!(Maybe CheckReportLanguage)` | `(.language)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:112` | `CheckReport` | data | no | `reportEnforcement` | `enforcement` | `!CheckReportEnforcement` | `(.enforcement)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:113` | `CheckReport` | data | no | `reportDiagnostics` | `diagnostics` | `![CheckReportEntry]` | `(.diagnostics)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:114` | `CheckReport` | data | no | `reportSummary` | `summary` | `!CheckReportSummary` | `(.summary)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:115` | `CheckReport` | data | no | `reportOk` | `ok` | `!Bool` | `(.ok)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:116` | `CheckReport` | data | no | `reportMembers` | `members` | `![CheckReportMember]` | `(.members)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:117` | `CheckReport` | data | no | `processReactions` | `processReactions` | `![CheckReportProcessReaction]` | `(.processReactions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:70` | `JsonPointer` | newtype | yes | `unJsonPointer` | `unJsonPointer` | `Text` | explicit `unJsonPointer` positional function | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:85` | `HistoricalCodec` | data | yes | `hcIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:86` | `HistoricalCodec` | data | yes | `hcVersion` | `version` | `!Text` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:87` | `HistoricalCodec` | data | yes | `hcEncode` | `encode` | `!(a -> Value)` | `(.encode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:88` | `HistoricalCodec` | data | yes | `hcDecode` | `decode` | `!(Value -> Either Text a)` | `(.decode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:93` | `CompareObservation` | data | yes | `coCaseName` | `caseName` | `!Text` | `(.caseName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:94` | `CompareObservation` | data | yes | `coHistoricalValue` | `historicalValue` | `!Value` | `(.historicalValue)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:95` | `CompareObservation` | data | yes | `coGeneratedValue` | `generatedValue` | `!Value` | `(.generatedValue)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:98` | `CompareObservation` | data | yes | `coFixturePath` | `fixturePath` | `!FilePath` | `(.fixturePath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:99` | `CompareObservation` | data | yes | `coInputValue` | `inputValue` | `!Value` | `(.inputValue)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:100` | `CompareObservation` | data | yes | `coHistoricalDecode` | `historicalDecode` | `!DecodeOutcome` | `(.historicalDecode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:101` | `CompareObservation` | data | yes | `coGeneratedDecode` | `generatedDecode` | `!DecodeOutcome` | `(.generatedDecode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:124` | `DeclaredBranch` | data | yes | `dbOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:125` | `DeclaredBranch` | data | yes | `dbPointer` | `pointer` | `!JsonPointer` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:126` | `DeclaredBranch` | data | yes | `dbKind` | `kind` | `!BranchKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:131` | `ObservedBranch` | data | yes | `obOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:132` | `ObservedBranch` | data | yes | `obPointer` | `pointer` | `!JsonPointer` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:133` | `ObservedBranch` | data | yes | `obKind` | `kind` | `!BranchKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:138` | `CoverageGap` | data | yes | `cgOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:139` | `CoverageGap` | data | yes | `cgPointer` | `pointer` | `!JsonPointer` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:140` | `CoverageGap` | data | yes | `cgKind` | `kind` | `!BranchKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:157` | `BranchField` | data | yes | `bfWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:158` | `BranchField` | data | yes | `bfPresenceOptional` | `presenceOptional` | `!Bool` | `(.presenceOptional)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:159` | `BranchField` | data | yes | `bfSchema` | `schema` | `!BranchSchema` | `(.schema)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:164` | `BranchArm` | data | yes | `baWireTag` | `wireTag` | `!Text` | `(.wireTag)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:165` | `BranchArm` | data | yes | `baPayloadSchema` | `payloadSchema` | `!(Maybe BranchSchema)` | `(.payloadSchema)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:170` | `CompareProvenance` | data | yes | `cpHistoricalCodecIdentity` | `historicalCodecIdentity` | `!Text` | `(.historicalCodecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:171` | `CompareProvenance` | data | yes | `cpHistoricalCodecVersion` | `historicalCodecVersion` | `!Text` | `(.historicalCodecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:172` | `CompareProvenance` | data | yes | `cpCanonicalType` | `canonicalType` | `!CanonicalTypeId` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:173` | `CompareProvenance` | data | yes | `cpBindingSymbol` | `bindingSymbol` | `!QualifiedValueName` | `(.bindingSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:174` | `CompareProvenance` | data | yes | `cpBindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:175` | `CompareProvenance` | data | yes | `cpWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:180` | `ClassifiedObservation` | data | yes | `classifiedOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:181` | `ClassifiedObservation` | data | yes | `classifiedName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:182` | `ClassifiedObservation` | data | yes | `classifiedVerdict` | `verdict` | `!FixtureVerdict` | `(.verdict)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:187` | `CompareReport` | data | yes | `crProvenance` | `provenance` | `!CompareProvenance` | `(.provenance)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:188` | `CompareReport` | data | yes | `crObservations` | `observations` | `![ClassifiedObservation]` | `(.observations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:189` | `CompareReport` | data | yes | `crInputIssues` | `inputIssues` | `![CompareInputIssue]` | `(.inputIssues)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:190` | `CompareReport` | data | yes | `crCoverageGaps` | `coverageGaps` | `![CoverageGap]` | `(.coverageGaps)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:191` | `CompareReport` | data | yes | `crAuthority` | `authority` | `!Text` | `(.authority)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:196` | `ReportWriteError` | data | yes | `reportWritePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:197` | `ReportWriteError` | data | yes | `reportWriteMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:58` | `ConformanceFile` | data | yes | `conformanceFilePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:59` | `ConformanceFile` | data | yes | `conformanceFileText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:60` | `ConformanceFile` | data | yes | `conformanceFileKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:65` | `ConformancePackagePlan` | data | yes | `cppServiceKey` | `serviceKey` | `!ConformanceServiceKey` | `(.serviceKey)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:66` | `ConformancePackagePlan` | data | yes | `cppDirectory` | `directory` | `!FilePath` | `(.directory)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:67` | `ConformancePackagePlan` | data | yes | `cppPackageName` | `packageName` | `!Text` | `(.packageName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:68` | `ConformancePackagePlan` | data | yes | `cppRuntimePackage` | `runtimePackage` | `!RuntimePackageName` | `(.runtimePackage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:69` | `ConformancePackagePlan` | data | yes | `cppFacadeModule` | `facadeModule` | `!Text` | `(.facadeModule)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:70` | `ConformancePackagePlan` | data | yes | `cppFiles` | `files` | `![ConformanceFile]` | `(.files)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:78` | `DuplicateFactKey` | data | yes | `duplicateFactSide` | `side` | `!ConformanceFactSide` | `(.side)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:79` | `DuplicateFactKey` | data | yes | `duplicateFactKey` | `key` | `!String` | `(.key)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:101` | `ConformancePackageRecord` | data | yes | `cprSchema` | `schema` | `!Int` | `(.schema)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:102` | `ConformancePackageRecord` | data | yes | `cprServiceKey` | `serviceKey` | `!ConformanceServiceKey` | `(.serviceKey)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:103` | `ConformancePackageRecord` | data | yes | `cprRuntimePackage` | `runtimePackage` | `!RuntimePackageName` | `(.runtimePackage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:104` | `ConformancePackageRecord` | data | yes | `cprFacadeModule` | `facadeModule` | `!Text` | `(.facadeModule)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:105` | `ConformancePackageRecord` | data | yes | `cprFiles` | `files` | `![(ModuleKind, FilePath)]` | `(.files)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:113` | `ConformanceStaleFile` | data | yes | `conformanceStaleKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:114` | `ConformanceStaleFile` | data | yes | `conformanceStalePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:115` | `ConformanceStaleFile` | data | yes | `conformanceStaleBannerPresent` | `bannerPresent` | `!(Maybe Bool)` | `(.bannerPresent)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:120` | `PreparedConformancePackage` | data | no | `preparedRoot` | `root` | `!FilePath` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:121` | `PreparedConformancePackage` | data | no | `preparedPlan` | `plan` | `!ConformancePackagePlan` | `(.plan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:122` | `PreparedConformancePackage` | data | no | `preparedStale` | `stale` | `![ConformanceStaleFile]` | `(.stale)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:127` | `ConformancePackageReport` | data | yes | `conformanceReportRoot` | `root` | `!FilePath` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:128` | `ConformancePackageReport` | data | yes | `conformanceReportPlan` | `plan` | `!ConformancePackagePlan` | `(.plan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:129` | `ConformancePackageReport` | data | yes | `conformanceReportDispositions` | `dispositions` | `![(ConformanceFile, ConformanceWriteDisposition)]` | `(.dispositions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:130` | `ConformancePackageReport` | data | yes | `conformanceReportStale` | `stale` | `![ConformanceStaleFile]` | `(.stale)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:388` | `ConformanceFileRow` | data | no | `conformanceRowKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:389` | `ConformanceFileRow` | data | no | `conformanceRowPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:27` | `HaskellTypeOccurrence` | newtype | yes | `unHaskellTypeOccurrence` | `unHaskellTypeOccurrence` | `Text` | explicit `unHaskellTypeOccurrence` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:38` | `ImportRequirement` | data | yes | `package` | `package` | `!Text` | `(.package)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:39` | `ImportRequirement` | data | yes | `moduleName` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:40` | `ImportRequirement` | data | yes | `occurrence` | `occurrence` | `!Text` | `(.occurrence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:45` | `ConsumerTypePlan` | data | yes | `haskellType` | `haskellType` | `!HaskellTypeOccurrence` | `(.haskellType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:46` | `ConsumerTypePlan` | data | yes | `imports` | `imports` | `![ImportRequirement]` | `(.imports)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:47` | `ConsumerTypePlan` | data | yes | `dependencies` | `dependencies` | `!(Set MappedKey)` | `(.dependencies)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:48` | `ConsumerTypePlan` | data | yes | `nominalDependencies` | `nominalDependencies` | `!(Set Text)` | `(.nominalDependencies)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:162` | `RenderedType` | data | no | `rendered` | `rendered` | `!Text` | `(.rendered)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:163` | `RenderedType` | data | no | `precedence` | `precedence` | `!TypePrecedence` | `(.precedence)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:164` | `RenderedType` | data | no | `requirements` | `requirements` | `!(Set ImportRequirement)` | `(.requirements)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:165` | `RenderedType` | data | no | `mappedDependencies` | `mappedDependencies` | `!(Set MappedKey)` | `(.mappedDependencies)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:166` | `RenderedType` | data | no | `nominalDependencies` | `nominalDependencies` | `!(Set Text)` | `(.nominalDependencies)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:67` | `RouterSelectionSnapshot` | data | yes | `selectionRouter` | `router` | `!Name` | `(.router)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:68` | `RouterSelectionSnapshot` | data | yes | `selectionVerification` | `verification` | `!SelectionVerification` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:69` | `RouterSelectionSnapshot` | data | yes | `selectionIdentity` | `identity` | `!(Maybe Text)` | `(.identity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:70` | `RouterSelectionSnapshot` | data | yes | `selectionVersion` | `version` | `!(Maybe Natural)` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:71` | `RouterSelectionSnapshot` | data | yes | `selectionFingerprint` | `fingerprint` | `!(Maybe Text)` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:76` | `CoordinationImpact` | data | yes | `coordinationRouter` | `router` | `!Name` | `(.router)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:77` | `CoordinationImpact` | data | yes | `coordinationSeverity` | `severity` | `!CoordinationSeverity` | `(.severity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:78` | `CoordinationImpact` | data | yes | `coordinationReason` | `reason` | `!CoordinationReason` | `(.reason)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:79` | `CoordinationImpact` | data | yes | `previousVerification` | `previousVerification` | `!SelectionVerification` | `(.previousVerification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:80` | `CoordinationImpact` | data | yes | `currentVerification` | `currentVerification` | `!SelectionVerification` | `(.currentVerification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:81` | `CoordinationImpact` | data | yes | `previousIdentity` | `previousIdentity` | `!(Maybe Text)` | `(.previousIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:82` | `CoordinationImpact` | data | yes | `currentIdentity` | `currentIdentity` | `!(Maybe Text)` | `(.currentIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:83` | `CoordinationImpact` | data | yes | `previousVersion` | `previousVersion` | `!(Maybe Natural)` | `(.previousVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:84` | `CoordinationImpact` | data | yes | `currentVersion` | `currentVersion` | `!(Maybe Natural)` | `(.currentVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:85` | `CoordinationImpact` | data | yes | `previousFingerprint` | `previousFingerprint` | `!(Maybe Text)` | `(.previousFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:86` | `CoordinationImpact` | data | yes | `currentFingerprint` | `currentFingerprint` | `!(Maybe Text)` | `(.currentFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:87` | `CoordinationImpact` | data | yes | `affectedUseSites` | `affectedUseSites` | `![UseSite]` | `(.affectedUseSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:92` | `RouterSelectionDrift` | data | yes | `driftRouter` | `router` | `!Name` | `(.router)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:93` | `RouterSelectionDrift` | data | yes | `driftPreviousSelection` | `previousSelection` | `!(Maybe RouterSelectionSnapshot)` | `(.previousSelection)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:94` | `RouterSelectionDrift` | data | yes | `driftCurrentSelection` | `currentSelection` | `!(Maybe RouterSelectionSnapshot)` | `(.currentSelection)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:102` | `ProcessReactionSnapshot` | data | yes | `process` | `process` | `!Name` | `(.process)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:103` | `ProcessReactionSnapshot` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:104` | `ProcessReactionSnapshot` | data | yes | `version` | `version` | `!(Maybe Natural)` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:105` | `ProcessReactionSnapshot` | data | yes | `fingerprint` | `fingerprint` | `!(Maybe Text)` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:110` | `ProcessReactionDrift` | data | yes | `process` | `process` | `!Name` | `(.process)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:111` | `ProcessReactionDrift` | data | yes | `previousReaction` | `previousReaction` | `!(Maybe ProcessReactionSnapshot)` | `(.previousReaction)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:112` | `ProcessReactionDrift` | data | yes | `currentReaction` | `currentReaction` | `!(Maybe ProcessReactionSnapshot)` | `(.currentReaction)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:302` | `RouterSelectionState` | data | no | `stateSnapshot` | `snapshot` | `!RouterSelectionSnapshot` | `(.snapshot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:303` | `RouterSelectionState` | data | no | `stateUseSites` | `useSites` | `![UseSite]` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:68` | `CoverageRoot` | data | yes | `rootSurface` | `surface` | `!CoverageSurface` | `(.surface)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:69` | `CoverageRoot` | data | yes | `rootConsumer` | `consumer` | `!Text` | `(.consumer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:70` | `CoverageRoot` | data | yes | `rootPath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:71` | `CoverageRoot` | data | yes | `rootMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:72` | `CoverageRoot` | data | yes | `rootMode` | `mode` | `!CoverageMode` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:73` | `CoverageRoot` | data | yes | `rootCanonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:74` | `CoverageRoot` | data | yes | `rootCodecIdentity` | `codecIdentity` | `!(Maybe Text)` | `(.codecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:75` | `CoverageRoot` | data | yes | `rootCodecVersion` | `codecVersion` | `!(Maybe Text)` | `(.codecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:76` | `CoverageRoot` | data | yes | `rootWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:81` | `StructuralBoundary` | data | yes | `structuralRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:82` | `StructuralBoundary` | data | yes | `structuralPath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:83` | `StructuralBoundary` | data | yes | `structuralMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:84` | `StructuralBoundary` | data | yes | `structuralCanonicalType` | `canonicalType` | `!Text` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:85` | `StructuralBoundary` | data | yes | `structuralWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:90` | `OpaqueBoundary` | data | yes | `opaqueRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:91` | `OpaqueBoundary` | data | yes | `opaquePath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:92` | `OpaqueBoundary` | data | yes | `opaqueMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:93` | `OpaqueBoundary` | data | yes | `opaqueCodecIdentity` | `codecIdentity` | `!Text` | `(.codecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:94` | `OpaqueBoundary` | data | yes | `opaqueCodecVersion` | `codecVersion` | `!Text` | `(.codecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:99` | `JsonBoundary` | data | yes | `jsonSurface` | `surface` | `!CoverageSurface` | `(.surface)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:100` | `JsonBoundary` | data | yes | `jsonRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:101` | `JsonBoundary` | data | yes | `jsonPath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:106` | `NominalBoundary` | data | yes | `root` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:107` | `NominalBoundary` | data | yes | `path` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:108` | `NominalBoundary` | data | yes | `position` | `position` | `!Text` | `(.position)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:109` | `NominalBoundary` | data | yes | `nominal` | `nominal` | `!Text` | `(.nominal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:110` | `NominalBoundary` | data | yes | `kind` | `kind` | `!Text` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:111` | `NominalBoundary` | data | yes | `prefix` | `prefix` | `!(Maybe Text)` | `(.prefix)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:112` | `NominalBoundary` | data | yes | `domainVersion` | `domainVersion` | `!(Maybe Text)` | `(.domainVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:113` | `NominalBoundary` | data | yes | `canonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:114` | `NominalBoundary` | data | yes | `ownership` | `ownership` | `!Text` | `(.ownership)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:119` | `SnapshotBoundary` | data | yes | `snapshotRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:120` | `SnapshotBoundary` | data | yes | `snapshotAggregate` | `aggregate` | `!Text` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:121` | `SnapshotBoundary` | data | yes | `snapshotRegister` | `register` | `!Text` | `(.register)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:122` | `SnapshotBoundary` | data | yes | `snapshotMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:123` | `SnapshotBoundary` | data | yes | `snapshotMode` | `mode` | `!CoverageMode` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:124` | `SnapshotBoundary` | data | yes | `snapshotEncoding` | `encoding` | `!Text` | `(.encoding)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:125` | `SnapshotBoundary` | data | yes | `snapshotInvalidation` | `invalidation` | `!Text` | `(.invalidation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:126` | `SnapshotBoundary` | data | yes | `snapshotWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:127` | `SnapshotBoundary` | data | yes | `snapshotEnabled` | `enabled` | `!Bool` | `(.enabled)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:132` | `UnsupportedSurface` | data | yes | `unsupportedSurface` | `surface` | `!Text` | `(.surface)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:133` | `UnsupportedSurface` | data | yes | `unsupportedSupport` | `support` | `!Text` | `(.support)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:134` | `UnsupportedSurface` | data | yes | `unsupportedReason` | `reason` | `!Text` | `(.reason)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:139` | `CoverageCounts` | data | yes | `totalRoots` | `totalRoots` | `!Int` | `(.totalRoots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:140` | `CoverageCounts` | data | yes | `structuralRoots` | `structuralRoots` | `!Int` | `(.structuralRoots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:141` | `CoverageCounts` | data | yes | `opaqueRoots` | `opaqueRoots` | `!Int` | `(.opaqueRoots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:142` | `CoverageCounts` | data | yes | `jsonBoundaries` | `jsonBoundaries` | `!Int` | `(.jsonBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:147` | `CoverageSummary` | data | yes | `aggregateCommandPayloads` | `aggregateCommandPayloads` | `!CoverageCounts` | `(.aggregateCommandPayloads)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:148` | `CoverageSummary` | data | yes | `privateEventPayloads` | `privateEventPayloads` | `!CoverageCounts` | `(.privateEventPayloads)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:149` | `CoverageSummary` | data | yes | `snapshotRegisters` | `snapshotRegisters` | `!CoverageCounts` | `(.snapshotRegisters)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:150` | `CoverageSummary` | data | yes | `workqueuePayloads` | `workqueuePayloads` | `!CoverageCounts` | `(.workqueuePayloads)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:151` | `CoverageSummary` | data | yes | `readModelQueryInputs` | `readModelQueryInputs` | `!CoverageCounts` | `(.readModelQueryInputs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:152` | `CoverageSummary` | data | yes | `readModelQueryResults` | `readModelQueryResults` | `!CoverageCounts` | `(.readModelQueryResults)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:153` | `CoverageSummary` | data | yes | `projectionTypedConsumers` | `projectionTypedConsumers` | `!CoverageCounts` | `(.projectionTypedConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:158` | `CoverageFinding` | data | yes | `findingSeverity` | `severity` | `!Severity` | `(.severity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:159` | `CoverageFinding` | data | yes | `findingCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:160` | `CoverageFinding` | data | yes | `findingRoots` | `roots` | `![Text]` | `(.roots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:161` | `CoverageFinding` | data | yes | `findingMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:166` | `CoveragePrevious` | data | yes | `previousReference` | `reference` | `!Text` | `(.reference)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:167` | `CoveragePrevious` | data | yes | `previousSummary` | `summary` | `!CoverageSummary` | `(.summary)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:168` | `CoveragePrevious` | data | yes | `previousOpaqueBoundaries` | `opaqueBoundaries` | `![OpaqueBoundary]` | `(.opaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:173` | `CoverageDelta` | data | yes | `aggregateCommandRootDelta` | `aggregateCommandRootDelta` | `!Int` | `(.aggregateCommandRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:174` | `CoverageDelta` | data | yes | `privateEventRootDelta` | `privateEventRootDelta` | `!Int` | `(.privateEventRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:175` | `CoverageDelta` | data | yes | `snapshotRegisterRootDelta` | `snapshotRegisterRootDelta` | `!Int` | `(.snapshotRegisterRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:176` | `CoverageDelta` | data | yes | `workqueuePayloadRootDelta` | `workqueuePayloadRootDelta` | `!Int` | `(.workqueuePayloadRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:177` | `CoverageDelta` | data | yes | `readModelQueryInputRootDelta` | `readModelQueryInputRootDelta` | `!Int` | `(.readModelQueryInputRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:178` | `CoverageDelta` | data | yes | `readModelQueryResultRootDelta` | `readModelQueryResultRootDelta` | `!Int` | `(.readModelQueryResultRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:179` | `CoverageDelta` | data | yes | `projectionTypedConsumerRootDelta` | `projectionTypedConsumerRootDelta` | `!Int` | `(.projectionTypedConsumerRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:180` | `CoverageDelta` | data | yes | `opaqueBoundaryDelta` | `opaqueBoundaryDelta` | `!Int` | `(.opaqueBoundaryDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:181` | `CoverageDelta` | data | yes | `addedOpaqueBoundaries` | `addedOpaqueBoundaries` | `![OpaqueBoundary]` | `(.addedOpaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:182` | `CoverageDelta` | data | yes | `removedOpaqueBoundaries` | `removedOpaqueBoundaries` | `![OpaqueBoundary]` | `(.removedOpaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:187` | `CoverageReport` | data | yes | `coverageSpec` | `spec` | `!FilePath` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:188` | `CoverageReport` | data | yes | `coverageRoots` | `roots` | `![CoverageRoot]` | `(.roots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:189` | `CoverageReport` | data | yes | `coverageStructuralBoundaries` | `structuralBoundaries` | `![StructuralBoundary]` | `(.structuralBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:190` | `CoverageReport` | data | yes | `coverageOpaqueBoundaries` | `opaqueBoundaries` | `![OpaqueBoundary]` | `(.opaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:191` | `CoverageReport` | data | yes | `coverageJsonBoundaries` | `jsonBoundaries` | `![JsonBoundary]` | `(.jsonBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:192` | `CoverageReport` | data | yes | `nominalBoundaries` | `nominalBoundaries` | `![NominalBoundary]` | `(.nominalBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:193` | `CoverageReport` | data | yes | `coverageSnapshotBoundaries` | `snapshotBoundaries` | `![SnapshotBoundary]` | `(.snapshotBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:194` | `CoverageReport` | data | yes | `coverageUnsupportedSurfaces` | `unsupportedSurfaces` | `![UnsupportedSurface]` | `(.unsupportedSurfaces)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:195` | `CoverageReport` | data | yes | `coverageSummary` | `summary` | `!CoverageSummary` | `(.summary)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:196` | `CoverageReport` | data | yes | `coverageFindings` | `findings` | `![CoverageFinding]` | `(.findings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:197` | `CoverageReport` | data | yes | `coveragePrevious` | `previous` | `!(Maybe CoveragePrevious)` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:198` | `CoverageReport` | data | yes | `coverageDelta` | `delta` | `!(Maybe CoverageDelta)` | `(.delta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:143` | `CompatibilityVector` | data | yes | `cvPrivateHistoryRead` | `privateHistoryRead` | `!SurfaceVerdict` | `(.privateHistoryRead)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:144` | `CompatibilityVector` | data | yes | `cvOldBinaryReadNewEvents` | `oldBinaryReadNewEvents` | `!SurfaceVerdict` | `(.oldBinaryReadNewEvents)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:145` | `CompatibilityVector` | data | yes | `cvSnapshotHydration` | `snapshotHydration` | `!SurfaceVerdict` | `(.snapshotHydration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:146` | `CompatibilityVector` | data | yes | `cvPublicConsumer` | `publicConsumer` | `!SurfaceVerdict` | `(.publicConsumer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:147` | `CompatibilityVector` | data | yes | `cvPersistedIdentity` | `persistedIdentity` | `!SurfaceVerdict` | `(.persistedIdentity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:148` | `CompatibilityVector` | data | yes | `cvConsumerBuild` | `consumerBuild` | `!SurfaceVerdict` | `(.consumerBuild)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:149` | `CompatibilityVector` | data | yes | `cvRollout` | `rollout` | `!(Set RolloutConstraint)` | `(.rollout)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:162` | `MappedPersistedImpact` | data | yes | `mappedPersistedSurface` | `surface` | `!MappedPersistedSurface` | `(.surface)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:163` | `MappedPersistedImpact` | data | yes | `mappedPersistedVerdict` | `verdict` | `!SurfaceVerdict` | `(.verdict)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:181` | `ChangeContext` | data | no | `changeContextRoot` | `root` | `!Name` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:182` | `ChangeContext` | data | no | `changeContextPaths` | `paths` | `![Text]` | `(.paths)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:183` | `ChangeContext` | data | no | `contextKind` | `contextKind` | `!ContextKind` | `(.contextKind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:184` | `ChangeContext` | data | no | `contextOriginalLabel` | `contextOriginalLabel` | `!Label` | `(.contextOriginalLabel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:195` | `ChangeKind` | data | yes | `ckNode` | `node` | `!Name` | `(.node)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:196` | `ChangeKind` | data | yes | `ckFacet` | `facet` | `!Text` | `(.facet)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:197` | `ChangeKind` | data | yes | `ckSubject` | `subject` | `!Text` | `(.subject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:198` | `ChangeKind` | data | yes | `ckCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:199` | `ChangeKind` | data | yes | `ckContext` | `context` | `!ChangeContext` | `(.context)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:200` | `ChangeKind` | data | yes | `ckVector` | `vector` | `!CompatibilityVector` | `(.vector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:201` | `ChangeKind` | data | yes | `ckMappedPersistedImpact` | `mappedPersistedImpact` | `!(Maybe MappedPersistedImpact)` | `(.mappedPersistedImpact)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:202` | `ChangeKind` | data | yes | `ckMappedConsequences` | `mappedConsequences` | `!(Set MappedConsequence)` | `(.mappedConsequences)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:203` | `ChangeKind` | data | yes | `ckPaths` | `paths` | `![Text]` | `(.paths)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:204` | `ChangeKind` | data | yes | `ckDetail` | `detail` | `!Text` | `(.detail)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:708` | `DiffEnv` | data | yes | `deOld` | `old` | `!Spec` | `(.old)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:709` | `DiffEnv` | data | yes | `deNew` | `new` | `!Spec` | `(.new)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:710` | `DiffEnv` | data | yes | `oldService` | `oldService` | `!CheckedService` | `(.oldService)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:711` | `DiffEnv` | data | yes | `newService` | `newService` | `!CheckedService` | `(.newService)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:712` | `DiffEnv` | data | yes | `newValidationErrors` | `newValidationErrors` | `![Diagnostic]` | `(.newValidationErrors)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:764` | `Paired` | data | yes | `prMatched` | `matched` | `![(n, n)]` | `(.matched)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:765` | `Paired` | data | yes | `prAdded` | `added` | `![n]` | `(.added)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:766` | `Paired` | data | yes | `prRemoved` | `removed` | `![n]` | `(.removed)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:1830` | `GuardProposal` | data | no | `proposalBody` | `body` | `!ReplayBodyDelta` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:1831` | `GuardProposal` | data | no | `proposalTwin` | `twin` | `!Transition` | `(.twin)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2220` | `EventFieldSig` | data | no | `eventFieldDslName` | `dslName` | `!Name` | `(.dslName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2221` | `EventFieldSig` | data | no | `eventFieldSelector` | `selector` | `!Name` | `(.selector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2222` | `EventFieldSig` | data | no | `eventFieldWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2223` | `EventFieldSig` | data | no | `eventFieldType` | `valueType` | `!(Maybe TypeExpr)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:74` | `DiffReport` | data | no | `reportGate` | `gate` | `!(Set CompatibilitySurface)` | `(.gate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:75` | `DiffReport` | data | no | `reportFindings` | `findings` | `![Change]` | `(.findings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:76` | `DiffReport` | data | no | `reportSemanticImpact` | `semanticImpact` | `!(Maybe [MappedImpactDelta])` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:77` | `DiffReport` | data | no | `reportCoordinationImpact` | `coordinationImpact` | `!(Maybe [CoordinationImpact])` | `(.coordinationImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:97` | `OwnedSite` | data | yes | `osFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:98` | `OwnedSite` | data | yes | `osLine` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:104` | `WorkspaceChange` | data | yes | `wcChange` | `change` | `!Change` | `(.change)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:105` | `WorkspaceChange` | data | yes | `wcDeclarationSite` | `declarationSite` | `!(Maybe OwnedSite)` | `(.declarationSite)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:106` | `WorkspaceChange` | data | yes | `wcUseSites` | `useSites` | `![(Text, Maybe OwnedSite)]` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:112` | `WorkspaceMeta` | data | yes | `wmIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:113` | `WorkspaceMeta` | data | yes | `wmManifest` | `manifest` | `!FilePath` | `(.manifest)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:114` | `WorkspaceMeta` | data | yes | `wmSince` | `since` | `!Text` | `(.since)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:115` | `WorkspaceMeta` | data | yes | `wmMembersOld` | `membersOld` | `![FilePath]` | `(.membersOld)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:116` | `WorkspaceMeta` | data | yes | `wmMembersNew` | `membersNew` | `![FilePath]` | `(.membersNew)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:117` | `WorkspaceMeta` | data | yes | `wmAdoptionBaseline` | `adoptionBaseline` | `!Bool` | `(.adoptionBaseline)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:122` | `WorkspaceDiffReport` | data | no | `workspaceReportMeta` | `meta` | `!WorkspaceMeta` | `(.meta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:123` | `WorkspaceDiffReport` | data | no | `workspaceReportGate` | `gate` | `!(Set CompatibilitySurface)` | `(.gate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:124` | `WorkspaceDiffReport` | data | no | `workspaceReportFindings` | `findings` | `![WorkspaceChange]` | `(.findings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:125` | `WorkspaceDiffReport` | data | no | `workspaceReportSemanticImpact` | `semanticImpact` | `!(Maybe [MappedImpactDelta])` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:126` | `WorkspaceDiffReport` | data | no | `workspaceReportCoordinationImpact` | `coordinationImpact` | `!(Maybe [CoordinationImpact])` | `(.coordinationImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:36` | `CheckedFieldCopy` | data | yes | `outputSelector` | `outputSelector` | `!Name` | `(.outputSelector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:37` | `CheckedFieldCopy` | data | yes | `outputWireName` | `outputWireName` | `!Text` | `(.outputWireName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:38` | `CheckedFieldCopy` | data | yes | `outputFieldType` | `outputFieldType` | `!ResolvedAggregateType` | `(.outputFieldType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:43` | `OutputObligationKey` | newtype | yes | `unOutputObligationKey` | `unOutputObligationKey` | `Text` | explicit `unOutputObligationKey` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:52` | `EventOutputMapping` | data | yes | `outputSourceCommand` | `sourceCommand` | `!Name` | `(.sourceCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:53` | `EventOutputMapping` | data | yes | `outputFields` | `fields` | `![CheckedFieldCopy]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:56` | `EventOutputMapping` | data | yes | `outputObligation` | `obligation` | `!OutputObligationKey` | `(.obligation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:64` | `EventOutputError` | data | yes | `declaredSourceCommand` | `declaredSourceCommand` | `!Name` | `(.declaredSourceCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:65` | `EventOutputError` | data | yes | `consumingTransitionCommand` | `consumingTransitionCommand` | `!Name` | `(.consumingTransitionCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:66` | `EventOutputError` | data | yes | `emittedEventName` | `emittedEventName` | `!Name` | `(.emittedEventName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:51` | `BindingObligation` | data | yes | `obligationMappedName` | `mappedName` | `!Name` | `(.mappedName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:52` | `BindingObligation` | data | yes | `obligationPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:53` | `BindingObligation` | data | yes | `obligationModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:54` | `BindingObligation` | data | yes | `obligationSymbol` | `symbol` | `!Text` | `(.symbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:55` | `BindingObligation` | data | yes | `obligationKind` | `kind` | `!BindingObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:56` | `BindingObligation` | data | yes | `obligationSignature` | `signature` | `!Text` | `(.signature)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:57` | `BindingObligation` | data | yes | `obligationUseSites` | `useSites` | `![Text]` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:58` | `BindingObligation` | data | yes | `obligationBindingVersion` | `bindingVersion` | `!(Maybe Text)` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:59` | `BindingObligation` | data | yes | `obligationCanonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:60` | `BindingObligation` | data | yes | `obligationEqualityContract` | `equalityContract` | `!(Maybe Text)` | `(.equalityContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:61` | `BindingObligation` | data | yes | `obligationIdDomainContract` | `idDomainContract` | `!(Maybe Text)` | `(.idDomainContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:62` | `BindingObligation` | data | yes | `obligationCategory` | `category` | `!Text` | `(.category)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:67` | `BindingHole` | data | yes | `holeMappedName` | `mappedName` | `!Name` | `(.mappedName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:68` | `BindingHole` | data | yes | `holeModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:69` | `BindingHole` | data | yes | `holeSymbol` | `symbol` | `!Text` | `(.symbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:70` | `BindingHole` | data | yes | `holeKind` | `kind` | `!BindingObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:71` | `BindingHole` | data | yes | `holePath` | `path` | `!(Maybe Text)` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:72` | `BindingHole` | data | yes | `holeSignature` | `signature` | `!Text` | `(.signature)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:46` | `ExpressionEnvironment` | data | no | `environmentSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:47` | `ExpressionEnvironment` | data | no | `environmentAggregate` | `aggregate` | `!Aggregate` | `(.aggregate)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:48` | `ExpressionEnvironment` | data | no | `environmentTransition` | `transition` | `!Transition` | `(.transition)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:49` | `ExpressionEnvironment` | data | no | `environmentSymbols` | `symbols` | `!AggregateSymbols` | `(.symbols)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:50` | `ExpressionEnvironment` | data | no | `environmentTypeGraph` | `typeGraph` | `!(Maybe TypeGraph)` | `(.typeGraph)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:89` | `ResolvedScalarProjection` | data | yes | `scalarProjectionOwner` | `owner` | `!MappedKey` | `(.owner)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:90` | `ResolvedScalarProjection` | data | yes | `scalarProjectionPointer` | `pointer` | `!Text` | `(.pointer)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:91` | `ResolvedScalarProjection` | data | yes | `scalarProjectionFields` | `fields` | `![Name]` | `(.fields)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:92` | `ResolvedScalarProjection` | data | yes | `terminalNominal` | `terminalNominal` | `!(Maybe NominalLeaf)` | `(.terminalNominal)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:129` | `TypedScalarExpr` | data | yes | `typedScalarType` | `valueType` | `!ResolvedAggregateType` | `(.valueType)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:130` | `TypedScalarExpr` | data | yes | `typedScalarLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:131` | `TypedScalarExpr` | data | yes | `typedScalarNode` | `node` | `!TypedScalarNode` | `(.node)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:157` | `ExpressionDiagnostic` | data | yes | `expressionDiagnosticLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:158` | `ExpressionDiagnostic` | data | yes | `expressionDiagnosticCode` | `code` | `!ExpressionDiagnosticCode` | `(.code)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Expression.hs:159` | `ExpressionDiagnostic` | data | yes | `expressionDiagnosticMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:18` | `ResolvedFieldIdentity` | data | no | `fieldDslName` | `dslName` | `!Name` | `(.dslName)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:19` | `ResolvedFieldIdentity` | data | no | `fieldSelector` | `selector` | `!Text` | `(.selector)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:20` | `ResolvedFieldIdentity` | data | no | `fieldWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:21` | `ResolvedFieldIdentity` | data | no | `fieldLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:89` | `FoldEvidence` | data | no | `canonicalSegments` | `canonicalSegments` | `![Text]` | `(.canonicalSegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:90` | `FoldEvidence` | data | no | `aggregateSegments` | `aggregateSegments` | `![Text]` | `(.aggregateSegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:91` | `FoldEvidence` | data | no | `eventSegments` | `eventSegments` | `!(Map.Map Name (Set Text))` | `(.eventSegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:92` | `FoldEvidence` | data | no | `bodySegments` | `bodySegments` | `!(Map.Map (TransitionFamilyKey, ReplayBodyKey) BodyEvidence)` | `(.bodySegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:96` | `BodyEvidence` | data | no | `outputSegments` | `outputSegments` | `!(Set Text)` | `(.outputSegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:97` | `BodyEvidence` | data | no | `ruleSegments` | `ruleSegments` | `!(Map.Map Name Text)` | `(.ruleSegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:98` | `BodyEvidence` | data | no | `equalitySegments` | `equalitySegments` | `!(Map.Map Name (Set Text))` | `(.equalitySegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:99` | `BodyEvidence` | data | no | `guardEqualitySegments` | `guardEqualitySegments` | `!(Map.Map Text (Set Text))` | `(.guardEqualitySegments)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:100` | `BodyEvidence` | data | no | `emittedEvents` | `emittedEvents` | `!(Set Name)` | `(.emittedEvents)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:55` | `FrontendContext` | data | no | `source` | `source` | `!FilePath` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:56` | `FrontendContext` | data | no | `language` | `language` | `!SourceLanguage` | `(.language)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:57` | `FrontendContext` | data | no | `definition` | `definition` | `!LanguageDefinition` | `(.definition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:91` | `FrontendFailure` | data | no | `phase` | `phase` | `!FrontendPhase` | `(.phase)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:92` | `FrontendFailure` | data | no | `code` | `code` | `!FrontendErrorCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:93` | `FrontendFailure` | data | no | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:94` | `FrontendFailure` | data | no | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:95` | `FrontendFailure` | data | no | `expected` | `expected` | `![Text]` | `(.expected)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:96` | `FrontendFailure` | data | no | `supportedVersions` | `supportedVersions` | `![LanguageVersion]` | `(.supportedVersions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:97` | `FrontendFailure` | data | no | `compatibility` | `compatibility` | `!ParseFailure` | `(.compatibility)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:143` | `LoweringFailure` | data | no | `code` | `code` | `!LoweringFailureCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:144` | `LoweringFailure` | data | no | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:145` | `LoweringFailure` | data | no | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:42` | `GoldenPayload` | data | yes | `goldenContext` | `context` | `!Text` | `(.context)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:43` | `GoldenPayload` | data | yes | `goldenAggregate` | `aggregate` | `!Text` | `(.aggregate)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:44` | `GoldenPayload` | data | yes | `goldenEvent` | `event` | `!Text` | `(.event)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:45` | `GoldenPayload` | data | yes | `goldenVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:46` | `GoldenPayload` | data | yes | `goldenJson` | `json` | `!Text` | `(.json)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:47` | `GoldenPayload` | data | yes | `goldenEvidence` | `evidence` | `!GoldenEvidence` | `(.evidence)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:210` | `Loc` | newtype | yes | `unLoc` | `unLoc` | `Int` | explicit `unLoc` positional function | rendered/canonical output | `deriving stock (Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:227` | `IdDecl` | data | yes | `idName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:228` | `IdDecl` | data | yes | `idPrefix` | `prefix` | `!Text` | `(.prefix)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:229` | `IdDecl` | data | yes | `admission` | `admission` | `!IdAdmission` | `(.admission)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:230` | `IdDecl` | data | yes | `idBinding` | `binding` | `!(Maybe NominalBindingDecl)` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:231` | `IdDecl` | data | yes | `idLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:238` | `EnumDecl` | data | yes | `enumName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:239` | `EnumDecl` | data | yes | `enumCtors` | `ctors` | `![(Name, Text)]` | `(.ctors)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:240` | `EnumDecl` | data | yes | `enumBinding` | `binding` | `!(Maybe NominalBindingDecl)` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:241` | `EnumDecl` | data | yes | `enumLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:249` | `RuleDecl` | data | yes | `ruleName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:250` | `RuleDecl` | data | yes | `ruleDomain` | `domain` | `!Name` | `(.domain)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:251` | `RuleDecl` | data | yes | `ruleCodomain` | `codomain` | `!Name` | `(.codomain)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:252` | `RuleDecl` | data | yes | `ruleCases` | `cases` | `![(Name, Expr)]` | `(.cases)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:253` | `RuleDecl` | data | yes | `ruleLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:296` | `WireField` | data | yes | `wfHaskell` | `haskell` | `!Name` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:297` | `WireField` | data | yes | `wfKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:298` | `WireField` | data | yes | `wfType` | `valueType` | `!TypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:299` | `WireField` | data | yes | `wfPresence` | `presence` | `!Presence` | `(.presence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:300` | `WireField` | data | yes | `wfOnMissing` | `onMissing` | `!(Maybe OnMissing)` | `(.onMissing)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:301` | `WireField` | data | yes | `wfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:309` | `UnionEncoding` | data | yes | `ueTagField` | `tagField` | `!Text` | `(.tagField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:310` | `UnionEncoding` | data | yes | `ueContentsField` | `contentsField` | `!Text` | `(.contentsField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:311` | `UnionEncoding` | data | yes | `ueUnknownFields` | `unknownFields` | `!UnknownFields` | `(.unknownFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:316` | `WireEnum` | data | yes | `weCtor` | `ctor` | `!Name` | `(.ctor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:317` | `WireEnum` | data | yes | `weTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:318` | `WireEnum` | data | yes | `weLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:323` | `WireArm` | data | yes | `waCtor` | `ctor` | `!Name` | `(.ctor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:324` | `WireArm` | data | yes | `waTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:325` | `WireArm` | data | yes | `waPayload` | `payload` | `!(Maybe TypeExpr)` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:326` | `WireArm` | data | yes | `waLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:345` | `HaskellSource` | data | yes | `hsPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:346` | `HaskellSource` | data | yes | `hsModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:347` | `HaskellSource` | data | yes | `hsType` | `valueType` | `!Name` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:356` | `NominalBindingDecl` | data | yes | `nominalHaskell` | `haskell` | `!(Maybe HaskellSource)` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:357` | `NominalBindingDecl` | data | yes | `nominalBinding` | `binding` | `!(Maybe Text)` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:358` | `NominalBindingDecl` | data | yes | `nominalBindingVersion` | `bindingVersion` | `!(Maybe Text)` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:359` | `NominalBindingDecl` | data | yes | `nominalCanonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:360` | `NominalBindingDecl` | data | yes | `nominalFixtures` | `fixtures` | `!(Maybe Text)` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:361` | `NominalBindingDecl` | data | yes | `nominalInitial` | `initial` | `!(Maybe Text)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:362` | `NominalBindingDecl` | data | yes | `nominalLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:371` | `NominalScalarDecl` | data | yes | `nominalScalarName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:372` | `NominalScalarDecl` | data | yes | `nominalScalarRepresentation` | `representation` | `!Name` | `(.representation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:373` | `NominalScalarDecl` | data | yes | `nominalScalarBinding` | `binding` | `!NominalBindingDecl` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:374` | `NominalScalarDecl` | data | yes | `nominalScalarLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:381` | `MappedWriteLiftDecl` | data | yes | `source` | `source` | `!TypeExpr` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:382` | `MappedWriteLiftDecl` | data | yes | `function` | `function` | `!(Maybe Text)` | `(.function)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:383` | `MappedWriteLiftDecl` | data | yes | `version` | `version` | `!(Maybe Text)` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:384` | `MappedWriteLiftDecl` | data | yes | `fixtures` | `fixtures` | `!(Maybe Text)` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:385` | `MappedWriteLiftDecl` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:391` | `MappedDecl` | data | yes | `msName` | `msName` | `!Name` | `(.msName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:392` | `MappedDecl` | data | yes | `msHaskell` | `msHaskell` | `!(Maybe HaskellSource)` | `(.msHaskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:393` | `MappedDecl` | data | yes | `msBinding` | `msBinding` | `!(Maybe Text)` | `(.msBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:394` | `MappedDecl` | data | yes | `msBindingVersion` | `msBindingVersion` | `!(Maybe Text)` | `(.msBindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:395` | `MappedDecl` | data | yes | `msCanonical` | `msCanonical` | `!(Maybe Text)` | `(.msCanonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:396` | `MappedDecl` | data | yes | `msFixtures` | `msFixtures` | `!(Maybe Text)` | `(.msFixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:397` | `MappedDecl` | data | yes | `msInitial` | `msInitial` | `!(Maybe Text)` | `(.msInitial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:398` | `MappedDecl` | data | yes | `msWriteLift` | `msWriteLift` | `!(Maybe MappedWriteLiftDecl)` | `(.msWriteLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:399` | `MappedDecl` | data | yes | `msShape` | `msShape` | `!MappedShape` | `(.msShape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:400` | `MappedDecl` | data | yes | `msLoc` | `msLoc` | `!Loc` | `(.msLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:403` | `MappedDecl` | data | yes | `mrName` | `mrName` | `!Name` | `(.mrName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:404` | `MappedDecl` | data | yes | `mrHaskell` | `mrHaskell` | `!(Maybe HaskellSource)` | `(.mrHaskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:405` | `MappedDecl` | data | yes | `mrBinding` | `mrBinding` | `!(Maybe Text)` | `(.mrBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:406` | `MappedDecl` | data | yes | `mrBindingVersion` | `mrBindingVersion` | `!(Maybe Text)` | `(.mrBindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:407` | `MappedDecl` | data | yes | `mrCanonical` | `mrCanonical` | `!(Maybe Text)` | `(.mrCanonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:408` | `MappedDecl` | data | yes | `mrFixtures` | `mrFixtures` | `!(Maybe Text)` | `(.mrFixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:409` | `MappedDecl` | data | yes | `mrInitial` | `mrInitial` | `!(Maybe Text)` | `(.mrInitial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:410` | `MappedDecl` | data | yes | `mrPolicy` | `mrPolicy` | `!RefinedWirePolicy` | `(.mrPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:411` | `MappedDecl` | data | yes | `mrLoc` | `mrLoc` | `!Loc` | `(.mrLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:414` | `MappedDecl` | data | yes | `moName` | `moName` | `!Name` | `(.moName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:415` | `MappedDecl` | data | yes | `moHaskell` | `moHaskell` | `!(Maybe HaskellSource)` | `(.moHaskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:416` | `MappedDecl` | data | yes | `moCodecId` | `moCodecId` | `!(Maybe Text)` | `(.moCodecId)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:417` | `MappedDecl` | data | yes | `moCodecVersion` | `moCodecVersion` | `!(Maybe Text)` | `(.moCodecVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:418` | `MappedDecl` | data | yes | `moFixtures` | `moFixtures` | `!(Maybe Text)` | `(.moFixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:419` | `MappedDecl` | data | yes | `moInitial` | `moInitial` | `!(Maybe Text)` | `(.moInitial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:420` | `MappedDecl` | data | yes | `moWriteLift` | `moWriteLift` | `!(Maybe MappedWriteLiftDecl)` | `(.moWriteLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:421` | `MappedDecl` | data | yes | `moLoc` | `moLoc` | `!Loc` | `(.moLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:429` | `Mapping` | data | yes | `mapPairs` | `pairs` | `![(Name, Name)]` | `(.pairs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:430` | `Mapping` | data | yes | `mapPartial` | `partial` | `!Bool` | `(.partial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:544` | `RegDecl` | data | yes | `regName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:545` | `RegDecl` | data | yes | `regType` | `valueType` | `!TypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:546` | `RegDecl` | data | yes | `regInitial` | `initial` | `!RegInitial` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:547` | `RegDecl` | data | yes | `regLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:555` | `StateDecl` | data | yes | `stName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:556` | `StateDecl` | data | yes | `stTerminal` | `terminal` | `!Bool` | `(.terminal)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:557` | `StateDecl` | data | yes | `stLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:568` | `AggregateField` | data | yes | `aggregateFieldName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:569` | `AggregateField` | data | yes | `aggregateFieldSelector` | `selector` | `!(Maybe Name)` | `(.selector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:570` | `AggregateField` | data | yes | `aggregateFieldWireKey` | `wireKey` | `!(Maybe Text)` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:571` | `AggregateField` | data | yes | `aggregateFieldType` | `valueType` | `!(Maybe TypeExpr)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:572` | `AggregateField` | data | yes | `aggregateFieldLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:579` | `Field` | data | yes | `fieldName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:580` | `Field` | data | yes | `fieldType` | `valueType` | `!(Maybe Name)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:586` | `Command` | data | yes | `cmdName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:587` | `Command` | data | yes | `cmdFields` | `fields` | `![AggregateField]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:588` | `Command` | data | yes | `cmdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:598` | `Event` | data | yes | `evName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:599` | `Event` | data | yes | `evBody` | `body` | `!EventBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:601` | `Event` | data | yes | `evVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:604` | `Event` | data | yes | `evUpcastFrom` | `upcastFrom` | `!(Maybe (Int, Hole))` | `(.upcastFrom)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:609` | `Event` | data | yes | `evRetiring` | `retiring` | `!Bool` | `(.retiring)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:613` | `Event` | data | yes | `evDeprecated` | `deprecated` | `!Bool` | `(.deprecated)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:614` | `Event` | data | yes | `evLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:632` | `DomainOutcomeTypes` | data | yes | `rejectionType` | `rejectionType` | `!Name` | `(.rejectionType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:633` | `DomainOutcomeTypes` | data | yes | `noOpType` | `noOpType` | `!Name` | `(.noOpType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:634` | `DomainOutcomeTypes` | data | yes | `outcomeTypesLoc` | `outcomeTypesLoc` | `!Loc` | `(.outcomeTypesLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:654` | `Transition` | data | yes | `tSource` | `source` | `!Name` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:655` | `Transition` | data | yes | `tCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:656` | `Transition` | data | yes | `tImplementation` | `implementation` | `!TransitionImplementation` | `(.implementation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:657` | `Transition` | data | yes | `tGuard` | `guard` | `!(Maybe Expr)` | `(.guard)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:658` | `Transition` | data | yes | `tWrites` | `writes` | `![(Name, Expr)]` | `(.writes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:659` | `Transition` | data | yes | `tEmits` | `emits` | `![Name]` | `(.emits)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:660` | `Transition` | data | yes | `tOutcome` | `outcome` | `!(Maybe TransitionOutcome)` | `(.outcome)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:663` | `Transition` | data | yes | `tOutcomeDuplicateLocs` | `outcomeDuplicateLocs` | `![Loc]` | `(.outcomeDuplicateLocs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:664` | `Transition` | data | yes | `tGoto` | `goto` | `!Name` | `(.goto)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:665` | `Transition` | data | yes | `tMode` | `mode` | `!TransitionMode` | `(.mode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:666` | `Transition` | data | yes | `tLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:694` | `WireSpec` | data | yes | `wireKind` | `kind` | `!Text` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:695` | `WireSpec` | data | yes | `wireFields` | `fields` | `!Text` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:696` | `WireSpec` | data | yes | `wireSchemaVersion` | `schemaVersion` | `!Int` | `(.schemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:703` | `ProjectionSpec` | data | yes | `projTable` | `table` | `!Name` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:704` | `ProjectionSpec` | data | yes | `projConsistency` | `consistency` | `!(Maybe Consistency)` | `(.consistency)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:705` | `ProjectionSpec` | data | yes | `projKey` | `key` | `!Name` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:706` | `ProjectionSpec` | data | yes | `projStatusMap` | `statusMap` | `!(Maybe Mapping)` | `(.statusMap)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:707` | `ProjectionSpec` | data | yes | `projLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:720` | `SnapshotSpec` | data | yes | `snapPolicy` | `policy` | `!SnapPolicy` | `(.policy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:721` | `SnapshotSpec` | data | yes | `snapCodecVersion` | `codecVersion` | `!Int` | `(.codecVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:722` | `SnapshotSpec` | data | yes | `snapShapeHash` | `shapeHash` | `!Text` | `(.shapeHash)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:723` | `SnapshotSpec` | data | yes | `snapLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:730` | `Aggregate` | data | yes | `aggName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:731` | `Aggregate` | data | yes | `aggRegs` | `regs` | `![RegDecl]` | `(.regs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:732` | `Aggregate` | data | yes | `aggStates` | `states` | `![StateDecl]` | `(.states)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:733` | `Aggregate` | data | yes | `aggCommands` | `commands` | `![Command]` | `(.commands)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:734` | `Aggregate` | data | yes | `aggEvents` | `events` | `![Event]` | `(.events)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:735` | `Aggregate` | data | yes | `aggTransitions` | `transitions` | `![Transition]` | `(.transitions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:736` | `Aggregate` | data | yes | `aggDomainOutcomeTypes` | `domainOutcomeTypes` | `!(Maybe DomainOutcomeTypes)` | `(.domainOutcomeTypes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:739` | `Aggregate` | data | yes | `aggDomainOutcomeDuplicateLocs` | `domainOutcomeDuplicateLocs` | `![Loc]` | `(.domainOutcomeDuplicateLocs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:740` | `Aggregate` | data | yes | `aggWire` | `wire` | `!(Maybe WireSpec)` | `(.wire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:741` | `Aggregate` | data | yes | `aggProjection` | `projection` | `!(Maybe ProjectionSpec)` | `(.projection)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:742` | `Aggregate` | data | yes | `aggSnapshot` | `snapshot` | `!(Maybe SnapshotSpec)` | `(.snapshot)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:743` | `Aggregate` | data | yes | `aggLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:753` | `FieldBinding` | data | yes | `fbName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:754` | `FieldBinding` | data | yes | `fbValue` | `value` | `!(Maybe Text)` | `(.value)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:761` | `InputDecl` | data | yes | `inName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:762` | `InputDecl` | data | yes | `inFields` | `fields` | `![Field]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:763` | `InputDecl` | data | yes | `inType` | `valueType` | `!(Maybe TypeExpr)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:764` | `InputDecl` | data | yes | `inLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:771` | `CorrelateDecl` | data | yes | `corrField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:772` | `CorrelateDecl` | data | yes | `corrVia` | `via` | `!Name` | `(.via)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:780` | `SagaRef` | data | yes | `sagaAgg` | `agg` | `!Name` | `(.agg)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:781` | `SagaRef` | data | yes | `sagaCategory` | `category` | `!Text` | `(.category)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:792` | `DispatchDisposition` | data | yes | `onAppended` | `onAppended` | `!Disp` | `(.onAppended)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:793` | `DispatchDisposition` | data | yes | `onDuplicate` | `onDuplicate` | `!Disp` | `(.onDuplicate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:794` | `DispatchDisposition` | data | yes | `onFailed` | `onFailed` | `!Disp` | `(.onFailed)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:800` | `AdvanceNode` | data | yes | `advCommand` | `advCommand` | `!Name` | `(.advCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:801` | `AdvanceNode` | data | yes | `advFields` | `advFields` | `![FieldBinding]` | `(.advFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:807` | `DispatchNode` | data | yes | `dispTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:808` | `DispatchNode` | data | yes | `dispKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:809` | `DispatchNode` | data | yes | `dispCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:810` | `DispatchNode` | data | yes | `dispFields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:811` | `DispatchNode` | data | yes | `disposition` | `osition` | `!DispatchDisposition` | `(.osition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:812` | `DispatchNode` | data | yes | `dispLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:819` | `HandleNode` | data | yes | `hOn` | `on` | `!Name` | `(.on)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:820` | `HandleNode` | data | yes | `hAdvance` | `advance` | `!AdvanceNode` | `(.advance)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:821` | `HandleNode` | data | yes | `hDispatch` | `dispatch` | `![DispatchNode]` | `(.dispatch)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:822` | `HandleNode` | data | yes | `hSchedule` | `schedule` | `!Name` | `(.schedule)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:828` | `IdExpr` | data | yes | `ideStrategy` | `strategy` | `!IdStrategy` | `(.strategy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:829` | `IdExpr` | data | yes | `idePrefix` | `prefix` | `!Text` | `(.prefix)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:830` | `IdExpr` | data | yes | `ideField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:841` | `FireAtExpr` | data | yes | `faField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:842` | `FireAtExpr` | data | yes | `faWindow` | `window` | `!Text` | `(.window)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:852` | `FireDisposition` | data | yes | `onOk` | `onOk` | `!FireOutcome` | `(.onOk)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:853` | `FireDisposition` | data | yes | `onReject` | `onReject` | `!FireOutcome` | `(.onReject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:854` | `FireDisposition` | data | yes | `onAmbiguous` | `onAmbiguous` | `!FireOutcome` | `(.onAmbiguous)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:855` | `FireDisposition` | data | yes | `onError` | `onError` | `!FireOutcome` | `(.onError)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:856` | `FireDisposition` | data | yes | `notMine` | `notMine` | `!FireOutcome` | `(.notMine)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:862` | `FireNode` | data | yes | `fireTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:863` | `FireNode` | data | yes | `fireKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:864` | `FireNode` | data | yes | `fireCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:865` | `FireNode` | data | yes | `fireFields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:866` | `FireNode` | data | yes | `fireFiredEventId` | `firedEventId` | `!IdExpr` | `(.firedEventId)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:867` | `FireNode` | data | yes | `fireDisposition` | `disposition` | `!FireDisposition` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:873` | `TimerNode` | data | yes | `tmName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:874` | `TimerNode` | data | yes | `tmId` | `id` | `!IdExpr` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:875` | `TimerNode` | data | yes | `tmFireAt` | `fireAt` | `!FireAtExpr` | `(.fireAt)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:876` | `TimerNode` | data | yes | `tmPayload` | `payload` | `![FieldBinding]` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:877` | `TimerNode` | data | yes | `tmFire` | `fire` | `!FireNode` | `(.fire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:878` | `TimerNode` | data | yes | `tmDecodeUnknown` | `decodeUnknown` | `!Name` | `(.decodeUnknown)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:879` | `TimerNode` | data | yes | `tmMaxAttempts` | `maxAttempts` | `!Int` | `(.maxAttempts)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:880` | `TimerNode` | data | yes | `tmDeadLetter` | `deadLetter` | `!Text` | `(.deadLetter)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:881` | `TimerNode` | data | yes | `tmLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:894` | `ReactionBody` | data | yes | `version` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:895` | `ReactionBody` | data | yes | `versionLoc` | `versionLoc` | `!Loc` | `(.versionLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:896` | `ReactionBody` | data | yes | `inputs` | `inputs` | `!(NonEmpty InputDecl)` | `(.inputs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:897` | `ReactionBody` | data | yes | `reactions` | `reactions` | `!(NonEmpty ReactionNode)` | `(.reactions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:898` | `ReactionBody` | data | yes | `timerPolicy` | `timerPolicy` | `!(Maybe TimerPolicy)` | `(.timerPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:899` | `ReactionBody` | data | yes | `timers` | `timers` | `![ReactionTimerNode]` | `(.timers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:904` | `ReactionNode` | data | yes | `on` | `on` | `!Name` | `(.on)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:905` | `ReactionNode` | data | yes | `arms` | `arms` | `!(NonEmpty ReactionArm)` | `(.arms)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:906` | `ReactionNode` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:911` | `ReactionArm` | data | yes | `guard` | `guard` | `!ArmGuard` | `(.guard)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:912` | `ReactionArm` | data | yes | `body` | `body` | `!ArmBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:913` | `ReactionArm` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:926` | `ArmBody` | data | yes | `advance` | `advance` | `!(Maybe AdvanceReaction)` | `(.advance)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:927` | `ArmBody` | data | yes | `followUps` | `followUps` | `![FollowUp]` | `(.followUps)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:932` | `AdvanceReaction` | data | yes | `command` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:933` | `AdvanceReaction` | data | yes | `fields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:934` | `AdvanceReaction` | data | yes | `accepted` | `accepted` | `!(Maybe [FollowUp])` | `(.accepted)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:935` | `AdvanceReaction` | data | yes | `silentNoAction` | `silentNoAction` | `!Bool` | `(.silentNoAction)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:936` | `AdvanceReaction` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:947` | `ScheduleNode` | data | yes | `timer` | `timer` | `!Name` | `(.timer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:948` | `ScheduleNode` | data | yes | `mode` | `mode` | `!ScheduleMode` | `(.mode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:949` | `ScheduleNode` | data | yes | `fireAt` | `fireAt` | `!FireAtExpr` | `(.fireAt)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:950` | `ScheduleNode` | data | yes | `bindings` | `bindings` | `![FieldBinding]` | `(.bindings)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:951` | `ScheduleNode` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:959` | `TimerPolicy` | data | yes | `maxAttempts` | `maxAttempts` | `!Int` | `(.maxAttempts)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:960` | `TimerPolicy` | data | yes | `deadLetter` | `deadLetter` | `!Text` | `(.deadLetter)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:961` | `TimerPolicy` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:966` | `ReactionTimerNode` | data | yes | `name` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:967` | `ReactionTimerNode` | data | yes | `id` | `id` | `!IdExpr` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:968` | `ReactionTimerNode` | data | yes | `payload` | `payload` | `![PayloadField]` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:969` | `ReactionTimerNode` | data | yes | `fire` | `fire` | `!FireNode` | `(.fire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:970` | `ReactionTimerNode` | data | yes | `decodeUnknown` | `decodeUnknown` | `!Name` | `(.decodeUnknown)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:971` | `ReactionTimerNode` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:988` | `ProcessNode` | data | yes | `procId` | `id` | `!Name` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:990` | `ProcessNode` | data | yes | `procName` | `name` | `!Text` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:991` | `ProcessNode` | data | yes | `procCorrelate` | `correlate` | `!CorrelateDecl` | `(.correlate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:992` | `ProcessNode` | data | yes | `procSaga` | `saga` | `!SagaRef` | `(.saga)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:993` | `ProcessNode` | data | yes | `procTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:994` | `ProcessNode` | data | yes | `procProjections` | `projections` | `![Name]` | `(.projections)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:995` | `ProcessNode` | data | yes | `body` | `body` | `!ProcessBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:996` | `ProcessNode` | data | yes | `procRejected` | `rejected` | `!PolicyChoice` | `(.rejected)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:997` | `ProcessNode` | data | yes | `procPoison` | `poison` | `!PolicyChoice` | `(.poison)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:998` | `ProcessNode` | data | yes | `procLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1015` | `RouterSelectionDecl` | data | yes | `rsIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1016` | `RouterSelectionDecl` | data | yes | `rsIdentityLoc` | `identityLoc` | `!Loc` | `(.identityLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1017` | `RouterSelectionDecl` | data | yes | `rsVersion` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1018` | `RouterSelectionDecl` | data | yes | `rsVersionLoc` | `versionLoc` | `!Loc` | `(.versionLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1019` | `RouterSelectionDecl` | data | yes | `rsQuery` | `query` | `!Name` | `(.query)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1020` | `RouterSelectionDecl` | data | yes | `rsQueryLoc` | `queryLoc` | `!Loc` | `(.queryLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1021` | `RouterSelectionDecl` | data | yes | `rsQueryInput` | `queryInput` | `!Name` | `(.queryInput)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1022` | `RouterSelectionDecl` | data | yes | `rsQueryInputLoc` | `queryInputLoc` | `!Loc` | `(.queryInputLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1023` | `RouterSelectionDecl` | data | yes | `rsPredicate` | `predicate` | `!Expr` | `(.predicate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1024` | `RouterSelectionDecl` | data | yes | `rsRecipient` | `recipient` | `!Expr` | `(.recipient)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1025` | `RouterSelectionDecl` | data | yes | `rsLimit` | `limit` | `!(Maybe (Natural, Loc))` | `(.limit)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1026` | `RouterSelectionDecl` | data | yes | `rsOrder` | `order` | `!Name` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1027` | `RouterSelectionDecl` | data | yes | `rsOrderLoc` | `orderLoc` | `!Loc` | `(.orderLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1028` | `RouterSelectionDecl` | data | yes | `rsDedupe` | `dedupe` | `!Name` | `(.dedupe)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1029` | `RouterSelectionDecl` | data | yes | `rsDedupeLoc` | `dedupeLoc` | `!Loc` | `(.dedupeLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1030` | `RouterSelectionDecl` | data | yes | `rsEmptyPolicy` | `emptyPolicy` | `!SelectionDispositionSyntax` | `(.emptyPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1031` | `RouterSelectionDecl` | data | yes | `rsEmptyPolicyLoc` | `emptyPolicyLoc` | `!Loc` | `(.emptyPolicyLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1032` | `RouterSelectionDecl` | data | yes | `rsFailurePolicy` | `failurePolicy` | `!SelectionDispositionSyntax` | `(.failurePolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1033` | `RouterSelectionDecl` | data | yes | `rsFailurePolicyLoc` | `failurePolicyLoc` | `!Loc` | `(.failurePolicyLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1034` | `RouterSelectionDecl` | data | yes | `rsRedelivery` | `redelivery` | `!Name` | `(.redelivery)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1035` | `RouterSelectionDecl` | data | yes | `rsRedeliveryLoc` | `redeliveryLoc` | `!Loc` | `(.redeliveryLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1036` | `RouterSelectionDecl` | data | yes | `rsPartial` | `partial` | `!Name` | `(.partial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1037` | `RouterSelectionDecl` | data | yes | `rsPartialLoc` | `partialLoc` | `!Loc` | `(.partialLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1038` | `RouterSelectionDecl` | data | yes | `rsLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1049` | `ResolveDecl` | data | yes | `rvSource` | `source` | `!ResolveSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1050` | `ResolveDecl` | data | yes | `rvRow` | `row` | `![Name]` | `(.row)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1051` | `ResolveDecl` | data | yes | `rvLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1056` | `RouterDispatchNode` | data | yes | `rdCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1057` | `RouterDispatchNode` | data | yes | `rdFields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1058` | `RouterDispatchNode` | data | yes | `rdDisposition` | `disposition` | `!DispatchDisposition` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1059` | `RouterDispatchNode` | data | yes | `rdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1067` | `RouterNode` | data | yes | `rtId` | `id` | `!Name` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1068` | `RouterNode` | data | yes | `rtName` | `name` | `!Text` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1069` | `RouterNode` | data | yes | `rtInput` | `input` | `!InputDecl` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1070` | `RouterNode` | data | yes | `rtKey` | `key` | `!CorrelateDecl` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1071` | `RouterNode` | data | yes | `rtResolve` | `resolve` | `!ResolveDecl` | `(.resolve)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1072` | `RouterNode` | data | yes | `rtTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1073` | `RouterNode` | data | yes | `rtProjections` | `projections` | `![Name]` | `(.projections)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1074` | `RouterNode` | data | yes | `rtDispatch` | `dispatch` | `!RouterDispatchNode` | `(.dispatch)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1075` | `RouterNode` | data | yes | `rtRejected` | `rejected` | `!PolicyChoice` | `(.rejected)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1076` | `RouterNode` | data | yes | `rtPoison` | `poison` | `!PolicyChoice` | `(.poison)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1077` | `RouterNode` | data | yes | `rtLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1100` | `ContractField` | data | yes | `cfName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1101` | `ContractField` | data | yes | `cfSelector` | `selector` | `!(Maybe Name)` | `(.selector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1102` | `ContractField` | data | yes | `cfWireKey` | `wireKey` | `!(Maybe Text)` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1103` | `ContractField` | data | yes | `cfType` | `valueType` | `!ContractType` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1104` | `ContractField` | data | yes | `cfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1110` | `ContractEvent` | data | yes | `ceName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1111` | `ContractEvent` | data | yes | `ceTopic` | `topic` | `!Name` | `(.topic)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1112` | `ContractEvent` | data | yes | `ceFields` | `fields` | `![ContractField]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1120` | `ContractNode` | data | yes | `ctrName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1121` | `ContractNode` | data | yes | `ctrSchemaVersion` | `schemaVersion` | `!Int` | `(.schemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1122` | `ContractNode` | data | yes | `ctrDiscriminator` | `discriminator` | `!Name` | `(.discriminator)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1124` | `ContractNode` | data | yes | `ctrTopics` | `topics` | `![(Name, Text)]` | `(.topics)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1125` | `ContractNode` | data | yes | `ctrEvents` | `events` | `![ContractEvent]` | `(.events)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1126` | `ContractNode` | data | yes | `ctrLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1142` | `BindRow` | data | yes | `brField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1143` | `BindRow` | data | yes | `brSource` | `source` | `!WireSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1144` | `BindRow` | data | yes | `brRequired` | `required` | `!Bool` | `(.required)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1145` | `BindRow` | data | yes | `brCrossCheck` | `crossCheck` | `!Bool` | `(.crossCheck)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1161` | `DispositionRow` | data | yes | `drOutcome` | `outcome` | `!Name` | `(.outcome)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1162` | `DispositionRow` | data | yes | `drAction` | `action` | `!InboxAction` | `(.action)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1163` | `DispositionRow` | data | yes | `drLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1170` | `DecodeSpec` | data | yes | `decEnvelope` | `envelope` | `!Text` | `(.envelope)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1171` | `DecodeSpec` | data | yes | `decBodyStrict` | `bodyStrict` | `!Bool` | `(.bodyStrict)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1172` | `DecodeSpec` | data | yes | `decBodySchemaVersion` | `bodySchemaVersion` | `!Int` | `(.bodySchemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1188` | `IntakeNode` | data | yes | `inkName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1189` | `IntakeNode` | data | yes | `inkContract` | `contract` | `!Name` | `(.contract)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1190` | `IntakeNode` | data | yes | `inkTopic` | `topic` | `!Name` | `(.topic)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1191` | `IntakeNode` | data | yes | `inkAccept` | `accept` | `![Name]` | `(.accept)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1192` | `IntakeNode` | data | yes | `inkBinds` | `binds` | `![BindRow]` | `(.binds)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1193` | `IntakeNode` | data | yes | `inkDedupeKey` | `dedupeKey` | `!Name` | `(.dedupeKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1194` | `IntakeNode` | data | yes | `inkDedupePolicy` | `dedupePolicy` | `!Name` | `(.dedupePolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1195` | `IntakeNode` | data | yes | `idempotence` | `idempotence` | `!IdempotenceMode` | `(.idempotence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1196` | `IntakeNode` | data | yes | `inkPersist` | `persist` | `!InkPersist` | `(.persist)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1197` | `IntakeNode` | data | yes | `inkDecode` | `decode` | `!DecodeSpec` | `(.decode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1198` | `IntakeNode` | data | yes | `inkDisposition` | `disposition` | `![DispositionRow]` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1199` | `IntakeNode` | data | yes | `inkLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1206` | `DeriveSpec` | newtype | yes | `dsPrefix` | `dsPrefix` | `Maybe Text` | `(.dsPrefix)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1211` | `EmitMapRow` | data | yes | `emrValue` | `value` | `!Text` | `(.value)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1212` | `EmitMapRow` | data | yes | `emrEvent` | `event` | `!Name` | `(.event)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1213` | `EmitMapRow` | data | yes | `emrLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1220` | `EmitNode` | data | yes | `emName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1221` | `EmitNode` | data | yes | `emContract` | `contract` | `!Name` | `(.contract)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1222` | `EmitNode` | data | yes | `emTopic` | `topic` | `!Name` | `(.topic)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1223` | `EmitNode` | data | yes | `emSource` | `source` | `!Text` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1224` | `EmitNode` | data | yes | `emKey` | `key` | `!Name` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1225` | `EmitNode` | data | yes | `emDiscriminant` | `discriminant` | `!Name` | `(.discriminant)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1226` | `EmitNode` | data | yes | `emMap` | `map` | `![EmitMapRow]` | `(.map)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1228` | `EmitNode` | data | yes | `emSkip` | `skip` | `!Bool` | `(.skip)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1229` | `EmitNode` | data | yes | `emMessageId` | `messageId` | `!DeriveSpec` | `(.messageId)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1230` | `EmitNode` | data | yes | `emIdempotencyKey` | `idempotencyKey` | `!DeriveSpec` | `(.idempotencyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1231` | `EmitNode` | data | yes | `emLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1237` | `BackoffSpec` | data | yes | `boKind` | `kind` | `!Name` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1238` | `BackoffSpec` | data | yes | `boWindow` | `window` | `!Text` | `(.window)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1239` | `BackoffSpec` | data | yes | `boMax` | `max` | `!(Maybe Text)` | `(.max)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1240` | `BackoffSpec` | data | yes | `boMultiplier` | `multiplier` | `!(Maybe Text)` | `(.multiplier)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1246` | `PublisherNode` | data | yes | `pubName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1247` | `PublisherNode` | data | yes | `pubEmit` | `emit` | `!Name` | `(.emit)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1248` | `PublisherNode` | data | yes | `pubOrdering` | `ordering` | `!Name` | `(.ordering)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1249` | `PublisherNode` | data | yes | `pubMaxAttempts` | `maxAttempts` | `!Int` | `(.maxAttempts)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1250` | `PublisherNode` | data | yes | `pubBackoff` | `backoff` | `!BackoffSpec` | `(.backoff)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1252` | `PublisherNode` | data | yes | `pubOutboxField` | `outboxField` | `!Name` | `(.outboxField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1253` | `PublisherNode` | data | yes | `pubLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1283` | `WqField` | data | yes | `wqfName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1284` | `WqField` | data | yes | `wqfWire` | `wire` | `!Text` | `(.wire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1285` | `WqField` | data | yes | `wqfType` | `valueType` | `!QueuePayloadType` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1286` | `WqField` | data | yes | `wqfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1293` | `WqDispRow` | data | yes | `wqdOutcome` | `outcome` | `!Name` | `(.outcome)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1294` | `WqDispRow` | data | yes | `wqdAction` | `action` | `!InboxAction` | `(.action)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1295` | `WqDispRow` | data | yes | `wqdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1305` | `WqGroupKey` | data | yes | `gkField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1306` | `WqGroupKey` | data | yes | `gkVia` | `via` | `!Name` | `(.via)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1307` | `WqGroupKey` | data | yes | `gkFixture` | `fixture` | `!(Maybe Text)` | `(.fixture)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1322` | `WorkqueueNode` | data | yes | `wqName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1323` | `WorkqueueNode` | data | yes | `wqLogical` | `logical` | `!Text` | `(.logical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1324` | `WorkqueueNode` | data | yes | `wqPhysical` | `physical` | `!Text` | `(.physical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1325` | `WorkqueueNode` | data | yes | `wqDlq` | `dlq` | `!Text` | `(.dlq)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1326` | `WorkqueueNode` | data | yes | `wqTable` | `table` | `!Text` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1327` | `WorkqueueNode` | data | yes | `wqOrdering` | `ordering` | `!WqOrdering` | `(.ordering)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1328` | `WorkqueueNode` | data | yes | `wqGroupKey` | `groupKey` | `!(Maybe WqGroupKey)` | `(.groupKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1329` | `WorkqueueNode` | data | yes | `wqProvision` | `provision` | `!WqProvision` | `(.provision)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1330` | `WorkqueueNode` | data | yes | `wqPayloadName` | `payloadName` | `!Name` | `(.payloadName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1331` | `WorkqueueNode` | data | yes | `wqPayload` | `payload` | `![WqField]` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1332` | `WorkqueueNode` | data | yes | `wqMaxRetries` | `maxRetries` | `!Int` | `(.maxRetries)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1333` | `WorkqueueNode` | data | yes | `wqDelay` | `delay` | `!Text` | `(.delay)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1334` | `WorkqueueNode` | data | yes | `wqDlqOn` | `dlqOn` | `!Bool` | `(.dlqOn)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1335` | `WorkqueueNode` | data | yes | `wqDisposition` | `disposition` | `![WqDispRow]` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1336` | `WorkqueueNode` | data | yes | `wqLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1343` | `PgmqDispatchNode` | data | yes | `pdName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1344` | `PgmqDispatchNode` | data | yes | `pdSourceReadModel` | `sourceReadModel` | `!Name` | `(.sourceReadModel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1345` | `PgmqDispatchNode` | data | yes | `pdSourceKey` | `sourceKey` | `!Name` | `(.sourceKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1346` | `PgmqDispatchNode` | data | yes | `pdFanoutBody` | `fanoutBody` | `!Name` | `(.fanoutBody)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1347` | `PgmqDispatchNode` | data | yes | `pdDedupKey` | `dedupKey` | `!Name` | `(.dedupKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1348` | `PgmqDispatchNode` | data | yes | `pdDedupReadModel` | `dedupReadModel` | `!Name` | `(.dedupReadModel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1349` | `PgmqDispatchNode` | data | yes | `pdDedupReadModelField` | `dedupReadModelField` | `!Text` | `(.dedupReadModelField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1350` | `PgmqDispatchNode` | data | yes | `pdDedupQueue` | `dedupQueue` | `!Name` | `(.dedupQueue)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1351` | `PgmqDispatchNode` | data | yes | `pdDedupQueueField` | `dedupQueueField` | `!Text` | `(.dedupQueueField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1352` | `PgmqDispatchNode` | data | yes | `pdEnqueueTo` | `enqueueTo` | `!Name` | `(.enqueueTo)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1353` | `PgmqDispatchNode` | data | yes | `pdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1361` | `RmColumn` | data | yes | `rmcName` | `rmcName` | `!Text` | `(.rmcName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1362` | `RmColumn` | data | yes | `rmcType` | `rmcType` | `!Text` | `(.rmcType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1363` | `RmColumn` | data | yes | `rmcRequired` | `rmcRequired` | `!Bool` | `(.rmcRequired)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1392` | `ReadModelSupply` | data | yes | `legacyConsistency` | `legacyConsistency` | `!Consistency` | `(.legacyConsistency)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1393` | `ReadModelSupply` | data | yes | `legacyScope` | `legacyScope` | `!(Maybe RmScope)` | `(.legacyScope)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1394` | `ReadModelSupply` | data | yes | `legacyFeed` | `legacyFeed` | `!RmFeed` | `(.legacyFeed)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1395` | `ReadModelSupply` | data | yes | `legacySubscription` | `legacySubscription` | `!(Maybe Text)` | `(.legacySubscription)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1403` | `ReadModelQueryTypes` | data | yes | `input` | `input` | `!TypeExpr` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1404` | `ReadModelQueryTypes` | data | yes | `result` | `result` | `!TypeExpr` | `(.result)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1405` | `ReadModelQueryTypes` | data | yes | `inputLoc` | `inputLoc` | `!Loc` | `(.inputLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1406` | `ReadModelQueryTypes` | data | yes | `resultLoc` | `resultLoc` | `!Loc` | `(.resultLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1413` | `ReadModelNode` | data | yes | `rmName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1414` | `ReadModelNode` | data | yes | `rmTable` | `table` | `!Text` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1415` | `ReadModelNode` | data | yes | `rmSchema` | `schema` | `!Text` | `(.schema)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1416` | `ReadModelNode` | data | yes | `rmColumns` | `columns` | `![RmColumn]` | `(.columns)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1417` | `ReadModelNode` | data | yes | `rmVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1418` | `ReadModelNode` | data | yes | `rmShape` | `shape` | `!Text` | `(.shape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1419` | `ReadModelNode` | data | yes | `rmFreshness` | `freshness` | `!QueryFreshnessNode` | `(.freshness)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1420` | `ReadModelNode` | data | yes | `rmSupply` | `supply` | `!ReadModelSupply` | `(.supply)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1421` | `ReadModelNode` | data | yes | `rmGroup` | `group` | `!(Maybe Name)` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1422` | `ReadModelNode` | data | yes | `rmObservedTargets` | `observedTargets` | `![Name]` | `(.observedTargets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1423` | `ReadModelNode` | data | yes | `rmBackingTarget` | `backingTarget` | `!(Maybe Name)` | `(.backingTarget)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1424` | `ReadModelNode` | data | yes | `queryTypes` | `queryTypes` | `!(Maybe ReadModelQueryTypes)` | `(.queryTypes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1425` | `ReadModelNode` | data | yes | `rmLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1456` | `ProjectionTargetNode` | data | yes | `ptName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1457` | `ProjectionTargetNode` | data | yes | `ptSchema` | `schema` | `!Text` | `(.schema)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1458` | `ProjectionTargetNode` | data | yes | `ptTable` | `table` | `!Text` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1459` | `ProjectionTargetNode` | data | yes | `ptReset` | `reset` | `!TargetResetPolicy` | `(.reset)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1460` | `ProjectionTargetNode` | data | yes | `ptDependsOn` | `dependsOn` | `![Name]` | `(.dependsOn)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1461` | `ProjectionTargetNode` | data | yes | `ptLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1467` | `RebuildGroupNode` | data | yes | `rgName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1468` | `RebuildGroupNode` | data | yes | `rgTargets` | `targets` | `![Name]` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1469` | `RebuildGroupNode` | data | yes | `rgOrder` | `order` | `![Name]` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1470` | `RebuildGroupNode` | data | yes | `rgLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1481` | `PromotionObjectNode` | data | yes | `rpoKind` | `kind` | `!PromotionObjectKindNode` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1482` | `PromotionObjectNode` | data | yes | `rpoGenerationName` | `generationName` | `!Text` | `(.generationName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1483` | `PromotionObjectNode` | data | yes | `rpoCanonicalName` | `canonicalName` | `!Text` | `(.canonicalName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1490` | `RevisionTargetNode` | data | yes | `prtTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1491` | `RevisionTargetNode` | data | yes | `prtSchemaVersion` | `schemaVersion` | `!Text` | `(.schemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1492` | `RevisionTargetNode` | data | yes | `prtProvisioner` | `provisioner` | `!Text` | `(.provisioner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1493` | `RevisionTargetNode` | data | yes | `prtProvisionerVersion` | `provisionerVersion` | `!Int` | `(.provisionerVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1494` | `RevisionTargetNode` | data | yes | `prtExpectedShape` | `expectedShape` | `!Text` | `(.expectedShape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1495` | `RevisionTargetNode` | data | yes | `prtValidator` | `validator` | `!Text` | `(.validator)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1496` | `RevisionTargetNode` | data | yes | `prtValidatorVersion` | `validatorVersion` | `!Int` | `(.validatorVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1497` | `RevisionTargetNode` | data | yes | `prtPromotionObjects` | `promotionObjects` | `![PromotionObjectNode]` | `(.promotionObjects)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1502` | `ProjectionRevisionNode` | data | yes | `prvName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1503` | `ProjectionRevisionNode` | data | yes | `prvGroup` | `group` | `!Name` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1504` | `ProjectionRevisionNode` | data | yes | `prvTargets` | `targets` | `![RevisionTargetNode]` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1505` | `ProjectionRevisionNode` | data | yes | `prvLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1513` | `ExternalReadNode` | data | yes | `erName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1514` | `ExternalReadNode` | data | yes | `erVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1515` | `ExternalReadNode` | data | yes | `erQueryModel` | `queryModel` | `!Name` | `(.queryModel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1516` | `ExternalReadNode` | data | yes | `erResultSchema` | `resultSchema` | `!Text` | `(.resultSchema)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1517` | `ExternalReadNode` | data | yes | `erResultType` | `resultType` | `!Text` | `(.resultType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1518` | `ExternalReadNode` | data | yes | `erCompatibleRevisions` | `compatibleRevisions` | `![Name]` | `(.compatibleRevisions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1519` | `ExternalReadNode` | data | yes | `erSurfaceGeneration` | `surfaceGeneration` | `!Int` | `(.surfaceGeneration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1520` | `ExternalReadNode` | data | yes | `erLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1555` | `ProjectionOwnerNode` | data | yes | `poName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1556` | `ProjectionOwnerNode` | data | yes | `poSources` | `sources` | `![CatalogSource]` | `(.sources)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1557` | `ProjectionOwnerNode` | data | yes | `poDelivery` | `delivery` | `!ProjectionDelivery` | `(.delivery)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1558` | `ProjectionOwnerNode` | data | yes | `poGroup` | `group` | `!Name` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1559` | `ProjectionOwnerNode` | data | yes | `poTargets` | `targets` | `![Name]` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1560` | `ProjectionOwnerNode` | data | yes | `poOrder` | `order` | `!Int` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1561` | `ProjectionOwnerNode` | data | yes | `poSubscription` | `subscription` | `!(Maybe Text)` | `(.subscription)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1562` | `ProjectionOwnerNode` | data | yes | `poDedup` | `dedup` | `!(Maybe Text)` | `(.dedup)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1563` | `ProjectionOwnerNode` | data | yes | `poCheckpointOnMissing` | `checkpointOnMissing` | `![CheckpointOnMissingNode]` | `(.checkpointOnMissing)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1564` | `ProjectionOwnerNode` | data | yes | `poReplay` | `replay` | `!ProjectionReplayPolicy` | `(.replay)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1565` | `ProjectionOwnerNode` | data | yes | `poLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1591` | `WorkflowNode` | data | yes | `wfId` | `id` | `!Name` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1593` | `WorkflowNode` | data | yes | `wfStable` | `stable` | `!Text` | `(.stable)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1594` | `WorkflowNode` | data | yes | `wfInput` | `input` | `!Name` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1595` | `WorkflowNode` | data | yes | `wfInputFields` | `inputFields` | `![Field]` | `(.inputFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1596` | `WorkflowNode` | data | yes | `wfOutput` | `output` | `!Name` | `(.output)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1598` | `WorkflowNode` | data | yes | `wfIdField` | `idField` | `!(Maybe Name)` | `(.idField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1599` | `WorkflowNode` | data | yes | `wfIdVia` | `idVia` | `!Name` | `(.idVia)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1600` | `WorkflowNode` | data | yes | `wfBody` | `body` | `![WfBodyItem]` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1601` | `WorkflowNode` | data | yes | `wfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1621` | `OperationNode` | data | yes | `opName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1622` | `OperationNode` | data | yes | `opShape` | `shape` | `!OperationShape` | `(.shape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1623` | `OperationNode` | data | yes | `opLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1669` | `Spec` | data | yes | `specContext` | `context` | `!Name` | `(.context)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1670` | `Spec` | data | yes | `specModuleRoot` | `moduleRoot` | `!(Maybe Text)` | `(.moduleRoot)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1671` | `Spec` | data | yes | `specLayout` | `layout` | `!(Maybe Placement)` | `(.layout)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1672` | `Spec` | data | yes | `specIds` | `ids` | `![IdDecl]` | `(.ids)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1673` | `Spec` | data | yes | `specEnums` | `enums` | `![EnumDecl]` | `(.enums)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1674` | `Spec` | data | yes | `specRules` | `rules` | `![RuleDecl]` | `(.rules)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1675` | `Spec` | data | yes | `specNominalScalars` | `nominalScalars` | `![NominalScalarDecl]` | `(.nominalScalars)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1676` | `Spec` | data | yes | `specMapped` | `mapped` | `![MappedDecl]` | `(.mapped)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1677` | `Spec` | data | yes | `specNodes` | `nodes` | `![Node]` | `(.nodes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:41` | `HaskellReference` | data | yes | `referenceModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:42` | `HaskellReference` | data | yes | `referenceName` | `name` | `!Text` | `(.name)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:43` | `HaskellReference` | data | yes | `referenceNamespace` | `namespace` | `!HaskellNamespace` | `(.namespace)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:44` | `HaskellReference` | data | yes | `referenceQualification` | `qualification` | `!QualificationPreference` | `(.qualification)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:49` | `ImportEnvironment` | data | yes | `targetModule` | `targetModule` | `!Text` | `(.targetModule)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:50` | `ImportEnvironment` | data | yes | `localNames` | `localNames` | `!(Set Text)` | `(.localNames)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:51` | `ImportEnvironment` | data | yes | `reservedQualifiers` | `reservedQualifiers` | `!(Set Text)` | `(.reservedQualifiers)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:64` | `HaskellImportPlan` | data | no | `importPlanTargetModule` | `targetModule` | `!Text` | `(.targetModule)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:65` | `HaskellImportPlan` | data | no | `importPlanDeclarations` | `declarations` | `!(Set Text)` | `(.declarations)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:66` | `HaskellImportPlan` | data | no | `importPlanReferences` | `references` | `!(Map HaskellReference Text)` | `(.references)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:63` | `DerivedHaskellName` | data | no | `upperCamel` | `upperCamel` | `!UpperCamelName` | `(.upperCamel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:64` | `DerivedHaskellName` | data | no | `lowerCamel` | `lowerCamel` | `!LowerCamelName` | `(.lowerCamel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:97` | `NameSite` | data | no | `siteKind` | `kind` | `!NameSiteKind` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:98` | `NameSite` | data | no | `siteLogicalName` | `logicalName` | `!Text` | `(.logicalName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:99` | `NameSite` | data | no | `siteOwner` | `owner` | `!Text` | `(.owner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:100` | `NameSite` | data | no | `siteLine` | `line` | `!Int` | `(.line)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:109` | `HaskellOccurrenceKey` | data | no | `occurrenceModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:110` | `HaskellOccurrenceKey` | data | no | `occurrenceSpace` | `space` | `!HaskellOccurrenceSpace` | `(.space)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:111` | `HaskellOccurrenceKey` | data | no | `occurrenceScope` | `scope` | `!Text` | `(.scope)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:112` | `HaskellOccurrenceKey` | data | no | `occurrenceName` | `name` | `!Text` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:117` | `PlannedOccurrence` | data | no | `plannedOccurrenceKey` | `key` | `!HaskellOccurrenceKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:118` | `PlannedOccurrence` | data | no | `plannedOccurrenceSite` | `site` | `!NameSite` | `(.site)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:28` | `SourceMove` | data | yes | `moveRole` | `role` | `!ModuleRole` | `(.role)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:29` | `SourceMove` | data | yes | `moveKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:30` | `SourceMove` | data | yes | `moveOldModule` | `oldModule` | `!Text` | `(.oldModule)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:31` | `SourceMove` | data | yes | `moveNewModule` | `newModule` | `!Text` | `(.newModule)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:32` | `SourceMove` | data | yes | `moveOldPath` | `oldPath` | `!FilePath` | `(.oldPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:33` | `SourceMove` | data | yes | `moveNewPath` | `newPath` | `!FilePath` | `(.newPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:34` | `SourceMove` | data | yes | `moveBackupPath` | `backupPath` | `!FilePath` | `(.backupPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:38` | `SourceMove` | data | yes | `moveContentDigest` | `contentDigest` | `!(Maybe Text)` | `(.contentDigest)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:41` | `SourceMove` | data | yes | `moveTransformedDigest` | `transformedDigest` | `!(Maybe Text)` | `(.transformedDigest)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:97` | `SourceLanguage` | data | yes | `declaredLanguageVersion` | `declaredLanguageVersion` | `!LanguageVersion` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:98` | `SourceLanguage` | data | yes | `languageVersionLoc` | `languageVersionLoc` | `!Loc` | `(.languageVersionLoc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:120` | `SyntaxProfile` | data | no | `profileIdentifier` | `identifier` | `!Text` | `(.identifier)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:121` | `SyntaxProfile` | data | no | `profileFeatures` | `features` | `!(Set LanguageFeature)` | `(.features)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:158` | `RuntimeSemanticsProfile` | data | no | `runtimeSemanticsIdentifier` | `identifier` | `!Text` | `(.identifier)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:159` | `RuntimeSemanticsProfile` | data | no | `runtimeSemanticsCapabilities` | `capabilities` | `!(Set RuntimeCapability)` | `(.capabilities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:232` | `LanguageDefinition` | data | yes | `definitionVersion` | `version` | `!LanguageVersion` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:233` | `LanguageDefinition` | data | yes | `definitionPredecessor` | `predecessor` | `!(Maybe LanguageVersion)` | `(.predecessor)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:236` | `LanguageDefinition` | data | yes | `definitionBodyParser` | `bodyParser` | `!LanguageBodyParser` | `(.bodyParser)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:237` | `LanguageDefinition` | data | yes | `definitionSyntaxProfile` | `syntaxProfile` | `!SyntaxProfile` | `(.syntaxProfile)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:238` | `LanguageDefinition` | data | yes | `definitionRuntimeSemanticsProfile` | `runtimeSemanticsProfile` | `!RuntimeSemanticsProfile` | `(.runtimeSemanticsProfile)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:239` | `LanguageDefinition` | data | yes | `definitionSupport` | `support` | `!LanguageSupport` | `(.support)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:240` | `LanguageDefinition` | data | yes | `definitionMaturity` | `maturity` | `!LanguageMaturity` | `(.maturity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:483` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageErrorCode` | `errorCode` | `!SourceLanguageErrorCode` | `(.errorCode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:484` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageSource` | `source` | `!FilePath` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:485` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:486` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageToken` | `token` | `!(Maybe Text)` | `(.token)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:487` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageDeclaredVersion` | `declaredVersion` | `!(Maybe LanguageVersion)` | `(.declaredVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:488` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageSupportedVersions` | `supportedVersions` | `!(NonEmpty LanguageVersion)` | `(.supportedVersions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:555` | `ParsedSource` | data | yes | `parsedSourceLanguage` | `sourceLanguage` | `!SourceLanguage` | `(.sourceLanguage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:556` | `ParsedSource` | data | yes | `parsedSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedCodecPlan.hs:42` | `MappedCodecPlan` | data | yes | `consumerType` | `consumerType` | `!ConsumerTypePlan` | `(.consumerType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedCodecPlan.hs:43` | `MappedCodecPlan` | data | yes | `resolvedExpression` | `resolvedExpression` | `!ResolvedTypeExpr` | `(.resolvedExpression)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedCodecPlan.hs:44` | `MappedCodecPlan` | data | yes | `authority` | `authority` | `!(Set MappedAuthorityMode)` | `(.authority)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:27` | `ConsumerPlan` | data | yes | `consumerPackages` | `packages` | `![Text]` | `(.packages)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:28` | `ConsumerPlan` | data | yes | `consumerModules` | `modules` | `![Text]` | `(.modules)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:29` | `ConsumerPlan` | data | yes | `consumerMappings` | `mappings` | `![MappingIdentity]` | `(.mappings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:34` | `WriteLiftIdentity` | data | yes | `sourceType` | `sourceType` | `!Text` | `(.sourceType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:35` | `WriteLiftIdentity` | data | yes | `function` | `function` | `!Text` | `(.function)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:36` | `WriteLiftIdentity` | data | yes | `version` | `version` | `!Text` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:37` | `WriteLiftIdentity` | data | yes | `fixtures` | `fixtures` | `!Text` | `(.fixtures)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:56` | `MappingIdentity` | data | yes | `mappingSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:57` | `MappingIdentity` | data | yes | `mappingCanonicalType` | `canonicalType` | `!Text` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:58` | `MappingIdentity` | data | yes | `mappingPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:59` | `MappingIdentity` | data | yes | `mappingModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:60` | `MappingIdentity` | data | yes | `mappingType` | `valueType` | `!Text` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:61` | `MappingIdentity` | data | yes | `mappingBindingSymbol` | `bindingSymbol` | `!Text` | `(.bindingSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:62` | `MappingIdentity` | data | yes | `mappingBindingVersion` | `bindingVersion` | `!Text` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:63` | `MappingIdentity` | data | yes | `writeLift` | `writeLift` | `!(Maybe WriteLiftIdentity)` | `(.writeLift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:66` | `MappingIdentity` | data | yes | `mappingSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:67` | `MappingIdentity` | data | yes | `mappingPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:68` | `MappingIdentity` | data | yes | `mappingModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:69` | `MappingIdentity` | data | yes | `mappingType` | `valueType` | `!Text` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:70` | `MappingIdentity` | data | yes | `mappingCodecIdentity` | `codecIdentity` | `!Text` | `(.codecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:71` | `MappingIdentity` | data | yes | `mappingCodecVersion` | `codecVersion` | `!Text` | `(.codecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:72` | `MappingIdentity` | data | yes | `writeLift` | `writeLift` | `!(Maybe WriteLiftIdentity)` | `(.writeLift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:75` | `MappingIdentity` | data | yes | `mappingSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:76` | `MappingIdentity` | data | yes | `mappingNominalCategory` | `nominalCategory` | `!Text` | `(.nominalCategory)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:77` | `MappingIdentity` | data | yes | `mappingNominalRepresentation` | `nominalRepresentation` | `!Text` | `(.nominalRepresentation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:78` | `MappingIdentity` | data | yes | `mappingCanonicalType` | `canonicalType` | `!Text` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:79` | `MappingIdentity` | data | yes | `mappingPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:80` | `MappingIdentity` | data | yes | `mappingModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:81` | `MappingIdentity` | data | yes | `mappingType` | `valueType` | `!Text` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:82` | `MappingIdentity` | data | yes | `mappingBindingSymbol` | `bindingSymbol` | `!Text` | `(.bindingSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:83` | `MappingIdentity` | data | yes | `mappingBindingVersion` | `bindingVersion` | `!Text` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:84` | `MappingIdentity` | data | yes | `mappingFixtureSymbol` | `fixtureSymbol` | `!Text` | `(.fixtureSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:85` | `MappingIdentity` | data | yes | `mappingInitialSymbol` | `initialSymbol` | `!(Maybe Text)` | `(.initialSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:28` | `MappedFinding` | data | yes | `mfDeclaration` | `declaration` | `!Name` | `(.declaration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:29` | `MappedFinding` | data | yes | `mfLeaf` | `leaf` | `!Text` | `(.leaf)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:30` | `MappedFinding` | data | yes | `mfCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:31` | `MappedFinding` | data | yes | `mfDetail` | `detail` | `!Text` | `(.detail)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:32` | `MappedFinding` | data | yes | `mfUsePaths` | `usePaths` | `![UsePath]` | `(.usePaths)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:33` | `MappedFinding` | data | yes | `mfOldUnknownFields` | `oldUnknownFields` | `!(Maybe UnknownFields)` | `(.oldUnknownFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:70` | `CheckedNominalEquality` | data | yes | `equalityKeyRepresentation` | `keyRepresentation` | `!NominalEqualityKey` | `(.keyRepresentation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:71` | `CheckedNominalEquality` | data | yes | `equalityDomain` | `domain` | `!NominalEqualityDomain` | `(.domain)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:72` | `CheckedNominalEquality` | data | yes | `equalityContractVersion` | `contractVersion` | `!Text` | `(.contractVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:82` | `ResolvedNominalType` | data | yes | `resolvedNominalName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:83` | `ResolvedNominalType` | data | yes | `resolvedNominalRepresentation` | `representation` | `!NominalRepresentation` | `(.representation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:84` | `ResolvedNominalType` | data | yes | `resolvedNominalOwnership` | `ownership` | `!NominalOwnership` | `(.ownership)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:85` | `ResolvedNominalType` | data | yes | `resolvedNominalLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Parser/Core.hs:75` | `ContextualParseFailure` | data | no | `contextualFailureCode` | `code` | `!SourceLanguageErrorCode` | `(.code)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Parser/Core.hs:76` | `ContextualParseFailure` | data | no | `contextualFailureFeature` | `feature` | `!(Maybe LanguageFeature)` | `(.feature)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Parser/Core.hs:77` | `ContextualParseFailure` | data | no | `contextualFailureSpan` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Parser/Preamble.hs:60` | `InitialLanguageClause` | data | no | `initialLanguageSpan` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Parser/Preamble.hs:61` | `InitialLanguageClause` | data | no | `initialLanguageText` | `text` | `!Text` | `(.text)`, pattern, or construction | Haskell API and runtime semantics | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:42` | `CheckedFollowUp` | newtype | yes | `syntax` | `syntax` | `FollowUp` | `(.syntax)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:46` | `CheckedReactionArm` | data | yes | `input` | `input` | `!Name` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:47` | `CheckedReactionArm` | data | yes | `ordinal` | `ordinal` | `!Int` | `(.ordinal)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:48` | `CheckedReactionArm` | data | yes | `guard` | `guard` | `!CheckedReactionGuard` | `(.guard)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:49` | `CheckedReactionArm` | data | yes | `body` | `body` | `!ArmBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:53` | `CheckedReactionTimer` | newtype | yes | `syntax` | `syntax` | `ReactionTimerNode` | `(.syntax)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:57` | `CheckedProcessReaction` | data | yes | `version` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:58` | `CheckedProcessReaction` | data | yes | `inputs` | `inputs` | `!(NonEmpty InputDecl)` | `(.inputs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:59` | `CheckedProcessReaction` | data | yes | `arms` | `arms` | `![CheckedReactionArm]` | `(.arms)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:60` | `CheckedProcessReaction` | data | yes | `timers` | `timers` | `![CheckedReactionTimer]` | `(.timers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:61` | `CheckedProcessReaction` | data | yes | `fingerprint` | `fingerprint` | `!Text` | `(.fingerprint)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:62` | `CheckedProcessReaction` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:63` | `CheckedProcessReaction` | data | yes | `holeObligations` | `holeObligations` | `![Text]` | `(.holeObligations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:90` | `ProcessReactionDiagnostic` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:91` | `ProcessReactionDiagnostic` | data | yes | `code` | `code` | `!ProcessReactionDiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:92` | `ProcessReactionDiagnostic` | data | yes | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:39` | `ProjectionMappedRoot` | data | yes | `consumer` | `consumer` | `!DerivedMappedConsumer` | `(.consumer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:40` | `ProjectionMappedRoot` | data | yes | `declaration` | `declaration` | `!MappedKey` | `(.declaration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:41` | `ProjectionMappedRoot` | data | yes | `path` | `path` | `!UsePath` | `(.path)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:49` | `ProjectionOperationalImpact` | data | yes | `consumer` | `consumer` | `!DerivedMappedConsumer` | `(.consumer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:50` | `ProjectionOperationalImpact` | data | yes | `group` | `group` | `!(Maybe Name)` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:51` | `ProjectionOperationalImpact` | data | yes | `targets` | `targets` | `!(Set Name)` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:52` | `ProjectionOperationalImpact` | data | yes | `readModels` | `readModels` | `!(Set Name)` | `(.readModels)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:53` | `ProjectionOperationalImpact` | data | yes | `replayable` | `replayable` | `!Bool` | `(.replayable)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:54` | `ProjectionOperationalImpact` | data | yes | `sourceFingerprint` | `sourceFingerprint` | `!Text` | `(.sourceFingerprint)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:62` | `UnsupportedProjectionImpact` | data | yes | `source` | `source` | `!UnsupportedProjectionSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:63` | `UnsupportedProjectionImpact` | data | yes | `group` | `group` | `!Name` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:64` | `UnsupportedProjectionImpact` | data | yes | `targets` | `targets` | `!(Set Name)` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:65` | `UnsupportedProjectionImpact` | data | yes | `readModels` | `readModels` | `!(Set Name)` | `(.readModels)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:66` | `UnsupportedProjectionImpact` | data | yes | `replayable` | `replayable` | `!Bool` | `(.replayable)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:71` | `ProjectionMappedImpact` | data | yes | `roots` | `roots` | `![ProjectionMappedRoot]` | `(.roots)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:72` | `ProjectionMappedImpact` | data | yes | `consumers` | `consumers` | `!(Map MappedKey (Set DerivedMappedConsumer))` | `(.consumers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:73` | `ProjectionMappedImpact` | data | yes | `operations` | `operations` | `!(Map DerivedMappedConsumer ProjectionOperationalImpact)` | `(.operations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:74` | `ProjectionMappedImpact` | data | yes | `unsupported` | `unsupported` | `![UnsupportedProjectionImpact]` | `(.unsupported)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:21` | `ResolvedProjectionSupply` | data | yes | `supplyQueryModel` | `queryModel` | `!Name` | `(.queryModel)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:22` | `ResolvedProjectionSupply` | data | yes | `supplyProjectionOwner` | `projectionOwner` | `!Name` | `(.projectionOwner)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:23` | `ResolvedProjectionSupply` | data | yes | `supplyRebuildGroup` | `rebuildGroup` | `!Name` | `(.rebuildGroup)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:24` | `ResolvedProjectionSupply` | data | yes | `supplyObservedTargets` | `observedTargets` | `!(NonEmpty Name)` | `(.observedTargets)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:25` | `ResolvedProjectionSupply` | data | yes | `supplyQueryLoc` | `queryLoc` | `!Loc` | `(.queryLoc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:26` | `ResolvedProjectionSupply` | data | yes | `supplyOwnerLoc` | `ownerLoc` | `!Loc` | `(.ownerLoc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:46` | `ProjectionSupplyAnalysis` | data | yes | `resolvedProjectionSupplies` | `resolvedProjectionSupplies` | `![ResolvedProjectionSupply]` | `(.resolvedProjectionSupplies)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:47` | `ProjectionSupplyAnalysis` | data | yes | `projectionSupplyIssues` | `projectionSupplyIssues` | `![ProjectionSupplyIssue]` | `(.projectionSupplyIssues)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:35` | `QueryContractIdentity` | data | yes | `qciReadModel` | `readModel` | `!Name` | `(.readModel)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:36` | `QueryContractIdentity` | data | yes | `qciPosition` | `position` | `!QueryContractPosition` | `(.position)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:37` | `QueryContractIdentity` | data | yes | `qciTypeExpression` | `typeExpression` | `!Text` | `(.typeExpression)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:38` | `QueryContractIdentity` | data | yes | `qciMappedDependencies` | `mappedDependencies` | `![Name]` | `(.mappedDependencies)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:43` | `QueryContractDrift` | data | yes | `qcdKey` | `key` | `!(Name, QueryContractPosition)` | `(.key)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:44` | `QueryContractDrift` | data | yes | `qcdPrevious` | `previous` | `!(Maybe QueryContractIdentity)` | `(.previous)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:45` | `QueryContractDrift` | data | yes | `qcdCurrent` | `current` | `!(Maybe QueryContractIdentity)` | `(.current)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:57` | `AggregateImpact` | data | yes | `eventTypes` | `eventTypes` | `!(Set Name)` | `(.eventTypes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:58` | `AggregateImpact` | data | yes | `includeSnapshotStreams` | `includeSnapshotStreams` | `!Bool` | `(.includeSnapshotStreams)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:73` | `CatalogReplayImpact` | data | yes | `affectedGroups` | `affectedGroups` | `!(Set Name)` | `(.affectedGroups)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:74` | `CatalogReplayImpact` | data | yes | `affectedTargets` | `affectedTargets` | `!(Set Name)` | `(.affectedTargets)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:75` | `CatalogReplayImpact` | data | yes | `affectedSources` | `affectedSources` | `!(Set Text)` | `(.affectedSources)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:76` | `CatalogReplayImpact` | data | yes | `affectedAdapters` | `affectedAdapters` | `!(Set Name)` | `(.affectedAdapters)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:77` | `CatalogReplayImpact` | data | yes | `invalidatesRunningFingerprint` | `invalidatesRunningFingerprint` | `!Bool` | `(.invalidatesRunningFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:218` | `ReplaySurfaceContext` | data | no | `surfaceSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:219` | `ReplaySurfaceContext` | data | no | `surfaceGraphResult` | `graphResult` | `Either (NE.NonEmpty TypeGraphError) TypeGraph` | `(.graphResult)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:220` | `ReplaySurfaceContext` | data | no | `surfaceSymbols` | `symbols` | `AggregateSymbols` | `(.symbols)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:54` | `CheckedReadModelQuery` | data | yes | `checkedQueryName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:55` | `CheckedReadModelQuery` | data | yes | `checkedQueryInputType` | `inputType` | `!ResolvedTypeExpr` | `(.inputType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:56` | `CheckedReadModelQuery` | data | yes | `checkedQueryResultType` | `resultType` | `!ResolvedTypeExpr` | `(.resultType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:61` | `CheckedMappedExpr` | data | yes | `checkedMappedExprRoot` | `root` | `!SelectionRoot` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:62` | `CheckedMappedExpr` | data | yes | `checkedMappedExprType` | `valueType` | `!ResolvedTypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:67` | `CheckedMappedType` | data | yes | `checkedMappedTypeKey` | `key` | `!MappedKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:68` | `CheckedMappedType` | data | yes | `checkedMappedTypeConstructor` | `constructor` | `!Name` | `(.constructor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:69` | `CheckedMappedType` | data | yes | `checkedMappedTypeFields` | `fields` | `![ResolvedWireField]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:87` | `CheckedSelectionPathSegment` | data | yes | `checkedPathField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:88` | `CheckedSelectionPathSegment` | data | yes | `checkedPathWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:89` | `CheckedSelectionPathSegment` | data | yes | `checkedPathOwner` | `owner` | `!MappedKey` | `(.owner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:94` | `CheckedScalarExpr` | data | yes | `checkedScalarType` | `valueType` | `!SelectionScalarType` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:95` | `CheckedScalarExpr` | data | yes | `checkedScalarNode` | `node` | `!CheckedScalarNode` | `(.node)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:96` | `CheckedScalarExpr` | data | yes | `checkedScalarLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:137` | `CheckedRouterSelection` | data | yes | `checkedIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:138` | `CheckedRouterSelection` | data | yes | `checkedVersion` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:139` | `CheckedRouterSelection` | data | yes | `checkedQuery` | `query` | `!CheckedReadModelQuery` | `(.query)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:140` | `CheckedRouterSelection` | data | yes | `checkedInputBinding` | `inputBinding` | `!CheckedMappedExpr` | `(.inputBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:141` | `CheckedRouterSelection` | data | yes | `checkedRowBinding` | `rowBinding` | `!CheckedMappedType` | `(.rowBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:142` | `CheckedRouterSelection` | data | yes | `checkedKey` | `key` | `!CheckedScalarExpr` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:143` | `CheckedRouterSelection` | data | yes | `checkedPredicate` | `predicate` | `!CheckedScalarExpr` | `(.predicate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:144` | `CheckedRouterSelection` | data | yes | `checkedRecipient` | `recipient` | `!CheckedScalarExpr` | `(.recipient)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:145` | `CheckedRouterSelection` | data | yes | `checkedCommandFields` | `commandFields` | `!(Map Name CheckedScalarExpr)` | `(.commandFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:146` | `CheckedRouterSelection` | data | yes | `checkedTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:147` | `CheckedRouterSelection` | data | yes | `checkedCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:148` | `CheckedRouterSelection` | data | yes | `checkedLimit` | `limit` | `!Natural` | `(.limit)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:149` | `CheckedRouterSelection` | data | yes | `checkedOrder` | `order` | `!CheckedSelectionOrder` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:150` | `CheckedRouterSelection` | data | yes | `checkedDedupe` | `dedupe` | `!CheckedSelectionDedupe` | `(.dedupe)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:151` | `CheckedRouterSelection` | data | yes | `checkedEmptyPolicy` | `emptyPolicy` | `!CheckedEmptySelectionPolicy` | `(.emptyPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:152` | `CheckedRouterSelection` | data | yes | `checkedFailurePolicy` | `failurePolicy` | `!CheckedSelectionFailurePolicy` | `(.failurePolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:153` | `CheckedRouterSelection` | data | yes | `checkedRedeliveryPolicy` | `redeliveryPolicy` | `!CheckedRedeliveryPolicy` | `(.redeliveryPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:154` | `CheckedRouterSelection` | data | yes | `checkedPartialPolicy` | `partialPolicy` | `!CheckedPartialDispatchPolicy` | `(.partialPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:155` | `CheckedRouterSelection` | data | yes | `checkedFingerprint` | `fingerprint` | `!Text` | `(.fingerprint)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:156` | `CheckedRouterSelection` | data | yes | `checkedUseSites` | `useSites` | `![UseSite]` | `(.useSites)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:193` | `RouterSelectionDiagnostic` | data | yes | `selectionDiagnosticLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:194` | `RouterSelectionDiagnostic` | data | yes | `selectionDiagnosticCode` | `code` | `!RouterSelectionDiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:195` | `RouterSelectionDiagnostic` | data | yes | `selectionDiagnosticMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/RuntimePackage.hs:18` | `RuntimePackageName` | newtype | yes | `unRuntimePackageName` | `unRuntimePackageName` | `Text` | explicit `unRuntimePackageName` positional function | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:163` | `ScaffoldModule` | data | yes | `modulePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:164` | `ScaffoldModule` | data | yes | `moduleText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:165` | `ScaffoldModule` | data | yes | `kind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:166` | `ScaffoldModule` | data | yes | `origin` | `origin` | `!Text` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:174` | `ModuleRole` | data | yes | `roleOwnerKind` | `ownerKind` | `!Text` | `(.ownerKind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:175` | `ModuleRole` | data | yes | `roleOwnerName` | `ownerName` | `!Text` | `(.ownerName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:176` | `ModuleRole` | data | yes | `roleFamily` | `family` | `!Text` | `(.family)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:207` | `Context` | data | yes | `contextName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:209` | `Context` | data | yes | `moduleRoot` | `moduleRoot` | `!Text` | `(.moduleRoot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:211` | `Context` | data | yes | `placement` | `placement` | `!Placement` | `(.placement)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:219` | `NominalUseSite` | data | yes | `nominalUseAggregate` | `aggregate` | `!Name` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:220` | `NominalUseSite` | data | yes | `nominalUseKind` | `kind` | `!AggregateUseSite` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:228` | `NominalGenerationOwner` | data | yes | `nominalDeclaration` | `declaration` | `!ResolvedNominalType` | `(.declaration)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:229` | `NominalGenerationOwner` | data | yes | `nominalModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:230` | `NominalGenerationOwner` | data | yes | `nominalUseSites` | `useSites` | `!(Set.Set NominalUseSite)` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:231` | `NominalGenerationOwner` | data | yes | `nominalEqualityUsed` | `equalityUsed` | `!Bool` | `(.equalityUsed)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:343` | `FirewallSurface` | data | yes | `forbiddenSymbolic` | `forbiddenSymbolic` | `![Text]` | `(.forbiddenSymbolic)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:344` | `FirewallSurface` | data | yes | `forbiddenIdents` | `forbiddenIdents` | `![Text]` | `(.forbiddenIdents)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:345` | `FirewallSurface` | data | yes | `forbiddenQualifiers` | `forbiddenQualifiers` | `![Text]` | `(.forbiddenQualifiers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:346` | `FirewallSurface` | data | yes | `forbiddenImports` | `forbiddenImports` | `![Text]` | `(.forbiddenImports)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:347` | `FirewallSurface` | data | yes | `restrictedImports` | `restrictedImports` | `![(Text, [Text])]` | `(.restrictedImports)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:500` | `Agg` | data | yes | `aContext` | `context` | `!Context` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:501` | `Agg` | data | yes | `aCheckedService` | `checkedService` | `!CheckedService` | `(.checkedService)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:502` | `Agg` | data | yes | `aLanguageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:503` | `Agg` | data | yes | `aSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:504` | `Agg` | data | yes | `aAggregate` | `aggregate` | `!Aggregate` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:505` | `Agg` | data | yes | `aCtxPascal` | `ctxPascal` | `!Text` | `(.ctxPascal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:506` | `Agg` | data | yes | `aName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:507` | `Agg` | data | yes | `aLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:508` | `Agg` | data | yes | `aVertexType` | `vertexType` | `!Text` | `(.vertexType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:509` | `Agg` | data | yes | `aIds` | `ids` | `![IdDecl]` | `(.ids)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:510` | `Agg` | data | yes | `aEnums` | `enums` | `![EnumDecl]` | `(.enums)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:511` | `Agg` | data | yes | `aRegs` | `regs` | `![ResolvedRegister]` | `(.regs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:512` | `Agg` | data | yes | `aStates` | `states` | `![StateDecl]` | `(.states)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:513` | `Agg` | data | yes | `aCommands` | `commands` | `![ResolvedCtor]` | `(.commands)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:514` | `Agg` | data | yes | `aEvents` | `events` | `![ResolvedCtor]` | `(.events)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:515` | `Agg` | data | yes | `aDomainOutcomeTypes` | `domainOutcomeTypes` | `!(Maybe ResolvedDomainOutcomeTypes)` | `(.domainOutcomeTypes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:517` | `Agg` | data | yes | `aGeneratedNominals` | `generatedNominals` | `![ResolvedNominalType]` | `(.generatedNominals)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:518` | `Agg` | data | yes | `aTransitions` | `transitions` | `![Transition]` | `(.transitions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:519` | `Agg` | data | yes | `aOutputMappings` | `outputMappings` | `!(Map.Map (Int, Int) EventOutputMapping)` | `(.outputMappings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:520` | `Agg` | data | yes | `aWire` | `wire` | `!WireSpec` | `(.wire)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:521` | `Agg` | data | yes | `aProjection` | `projection` | `!(Maybe ProjectionSpec)` | `(.projection)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:522` | `Agg` | data | yes | `aSnapshot` | `snapshot` | `!(Maybe SnapshotSpec)` | `(.snapshot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:523` | `Agg` | data | yes | `aFoldFingerprint` | `foldFingerprint` | `!Text` | `(.foldFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:524` | `Agg` | data | yes | `aReadModels` | `readModels` | `![ReadModelNode]` | `(.readModels)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:525` | `Agg` | data | yes | `aTypeGraph` | `typeGraph` | `!(Maybe TypeGraph)` | `(.typeGraph)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:526` | `Agg` | data | yes | `aSymbols` | `symbols` | `!AggregateSymbols` | `(.symbols)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:528` | `Agg` | data | yes | `aGenPrefix` | `genPrefix` | `!Text` | `(.genPrefix)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:530` | `Agg` | data | yes | `aHolePrefix` | `holePrefix` | `!Text` | `(.holePrefix)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:534` | `ResolvedDomainOutcomeTypes` | data | yes | `resolvedRejectionType` | `rejectionType` | `!ResolvedAggregateType` | `(.rejectionType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:535` | `ResolvedDomainOutcomeTypes` | data | yes | `resolvedNoOpType` | `noOpType` | `!ResolvedAggregateType` | `(.noOpType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:543` | `ResolvedRegister` | data | yes | `rrName` | `name` | `!Name` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:544` | `ResolvedRegister` | data | yes | `rrType` | `valueType` | `!ResolvedAggregateType` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:545` | `ResolvedRegister` | data | yes | `rrInitial` | `initial` | `!ResolvedRegisterInitial` | `(.initial)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:546` | `ResolvedRegister` | data | yes | `rrLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:553` | `ResolvedCtor` | data | yes | `rcName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:555` | `ResolvedCtor` | data | yes | `rcFields` | `fields` | `![(ResolvedFieldIdentity, ResolvedAggregateType)]` | `(.fields)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:557` | `ResolvedCtor` | data | yes | `rcVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:559` | `ResolvedCtor` | data | yes | `rcUpcastFrom` | `upcastFrom` | `!(Maybe Int)` | `(.upcastFrom)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2608` | `RenderedShapeType` | data | no | `renderedShapeTypePrecedence` | `precedence` | `!ShapeTypePrecedence` | `(.precedence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2609` | `RenderedShapeType` | data | no | `renderedShapeTypeText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2624` | `StructuralProjection` | data | yes | `spTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2625` | `StructuralProjection` | data | yes | `spWitness` | `witness` | `!Text` | `(.witness)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2626` | `StructuralProjection` | data | yes | `getter` | `getter` | `!Text` | `(.getter)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2627` | `StructuralProjection` | data | yes | `rawGetter` | `rawGetter` | `!(Maybe Text)` | `(.rawGetter)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2628` | `StructuralProjection` | data | yes | `spPointer` | `pointer` | `!Text` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2629` | `StructuralProjection` | data | yes | `spOwner` | `owner` | `!HaskellSource` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2630` | `StructuralProjection` | data | yes | `spResult` | `result` | `!Text` | `(.result)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2631` | `StructuralProjection` | data | yes | `spCanonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2632` | `StructuralProjection` | data | yes | `spBinding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2633` | `StructuralProjection` | data | yes | `fixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2634` | `StructuralProjection` | data | yes | `terminalNominal` | `terminalNominal` | `!(Maybe NominalLeaf)` | `(.terminalNominal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2635` | `StructuralProjection` | data | yes | `rootEnum` | `rootEnum` | `!(Maybe (Text, [(Name, Text)]))` | `(.rootEnum)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2636` | `StructuralProjection` | data | yes | `spSelectors` | `selectors` | `![(Text, Text)]` | `(.selectors)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:4653` | `ResolvedQueueField` | data | no | `resolvedQueueField` | `field` | `!WqField` | `(.field)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:4654` | `ResolvedQueueField` | data | no | `resolvedQueueExpression` | `expression` | `!(Maybe ResolvedTypeExpr)` | `(.expression)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:4655` | `ResolvedQueueField` | data | no | `resolvedQueueCodecPlan` | `codecPlan` | `!(Maybe MappedCodecPlan)` | `(.codecPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8745` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionIndex` | `index` | `!Int` | `(.index)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8746` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionSource` | `source` | `!Transition` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8747` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionGuard` | `guard` | `!(Maybe TypedScalarExpr)` | `(.guard)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8748` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionWrites` | `writes` | `![(Name, TypedScalarExpr)]` | `(.writes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8756` | `ResolvedSilentOutcome` | data | no | `resolvedSilentLayout` | `layout` | `!TransitionLayoutEntry` | `(.layout)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8757` | `ResolvedSilentOutcome` | data | no | `resolvedSilentKind` | `kind` | `!SilentOutcomeKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8758` | `ResolvedSilentOutcome` | data | no | `resolvedSilentReason` | `reason` | `!TypedScalarExpr` | `(.reason)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8913` | `ProjectionAlias` | data | no | `projectionAliasTarget` | `target` | `!ProjectionAliasTarget` | `(.target)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8914` | `ProjectionAlias` | data | no | `projectionAliasName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8991` | `RenderedKeikiExpr` | data | no | `renderedKeikiText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8992` | `RenderedKeikiExpr` | data | no | `renderedKeikiPrecedence` | `precedence` | `!Int` | `(.precedence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:46` | `ScaffoldRecord` | data | yes | `recSpecPath` | `specPath` | `!Text` | `(.specPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:47` | `ScaffoldRecord` | data | yes | `recModuleRoot` | `moduleRoot` | `!Text` | `(.moduleRoot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:48` | `ScaffoldRecord` | data | yes | `recLayout` | `layout` | `!Text` | `(.layout)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:49` | `ScaffoldRecord` | data | yes | `recSourceLanguage` | `sourceLanguage` | `!SourceLanguage` | `(.sourceLanguage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:50` | `ScaffoldRecord` | data | yes | `recLanguageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:51` | `ScaffoldRecord` | data | yes | `recNamingEdition` | `namingEdition` | `!GeneratedHaskellNamingEdition` | `(.namingEdition)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:52` | `ScaffoldRecord` | data | yes | `recModuleRoles` | `moduleRoles` | `![ScaffoldModuleRoleRow]` | `(.moduleRoles)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:53` | `ScaffoldRecord` | data | yes | `recFiles` | `files` | `![(ModuleKind, FilePath)]` | `(.files)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:54` | `ScaffoldRecord` | data | yes | `recMappings` | `mappings` | `![MappingIdentity]` | `(.mappings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:55` | `ScaffoldRecord` | data | yes | `recIdDomains` | `idDomains` | `![Text]` | `(.idDomains)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:56` | `ScaffoldRecord` | data | yes | `recNominalEqualities` | `nominalEqualities` | `![Text]` | `(.nominalEqualities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:57` | `ScaffoldRecord` | data | yes | `structuralEnumEqualities` | `structuralEnumEqualities` | `![Text]` | `(.structuralEnumEqualities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:58` | `ScaffoldRecord` | data | yes | `recBindingObligations` | `bindingObligations` | `![BindingHole]` | `(.bindingObligations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:59` | `ScaffoldRecord` | data | yes | `recBehaviorRequirements` | `behaviorRequirements` | `![BehaviorRecordRow]` | `(.behaviorRequirements)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:60` | `ScaffoldRecord` | data | yes | `recProjectionCatalogFacts` | `projectionCatalogFacts` | `![Text]` | `(.projectionCatalogFacts)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:61` | `ScaffoldRecord` | data | yes | `recQueryContractBaseline` | `queryContractBaseline` | `!Bool` | `(.queryContractBaseline)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:62` | `ScaffoldRecord` | data | yes | `recQueryContracts` | `queryContracts` | `![QueryContractIdentity]` | `(.queryContracts)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:63` | `ScaffoldRecord` | data | yes | `recRouterSelections` | `routerSelections` | `![RouterSelectionSnapshot]` | `(.routerSelections)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:64` | `ScaffoldRecord` | data | yes | `processReactions` | `processReactions` | `![ProcessReactionRecordRow]` | `(.processReactions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:65` | `ScaffoldRecord` | data | yes | `recSemanticImpact` | `semanticImpact` | `!(Maybe SemanticImpactSnapshot)` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:70` | `ScaffoldModuleRoleRow` | data | yes | `srrRole` | `role` | `!ModuleRole` | `(.role)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:71` | `ScaffoldModuleRoleRow` | data | yes | `srrKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:72` | `ScaffoldModuleRoleRow` | data | yes | `srrPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:80` | `ProcessReactionRecordRow` | data | yes | `processName` | `processName` | `!Text` | `(.processName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:81` | `ProcessReactionRecordRow` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:82` | `ProcessReactionRecordRow` | data | yes | `version` | `version` | `!(Maybe Natural)` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:83` | `ProcessReactionRecordRow` | data | yes | `fingerprint` | `fingerprint` | `!(Maybe Text)` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:84` | `ProcessReactionRecordRow` | data | yes | `holeObligations` | `holeObligations` | `![Text]` | `(.holeObligations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:198` | `GeneratedHaskellEditionUse` | data | yes | `path` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:199` | `GeneratedHaskellEditionUse` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:200` | `GeneratedHaskellEditionUse` | data | yes | `current` | `current` | `!Text` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:201` | `GeneratedHaskellEditionUse` | data | yes | `replacement` | `replacement` | `!Text` | `(.replacement)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:202` | `GeneratedHaskellEditionUse` | data | yes | `form` | `form` | `!HoleUseForm` | `(.form)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:215` | `GeneratedHaskellEditionImpact` | data | yes | `fromEdition` | `fromEdition` | `!HaskellName.GeneratedHaskellNamingEdition` | `(.fromEdition)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:216` | `GeneratedHaskellEditionImpact` | data | yes | `generatedPaths` | `generatedPaths` | `![FilePath]` | `(.generatedPaths)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:217` | `GeneratedHaskellEditionImpact` | data | yes | `sidecarPaths` | `sidecarPaths` | `![FilePath]` | `(.sidecarPaths)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:218` | `GeneratedHaskellEditionImpact` | data | yes | `handOwnedUses` | `handOwnedUses` | `![GeneratedHaskellEditionUse]` | `(.handOwnedUses)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:223` | `PreparedGeneratedHaskellEditionMigration` | data | no | `impact` | `impact` | `!GeneratedHaskellEditionImpact` | `(.impact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:224` | `PreparedGeneratedHaskellEditionMigration` | data | no | `backups` | `backups` | `![(FilePath, FilePath)]` | `(.backups)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:225` | `PreparedGeneratedHaskellEditionMigration` | data | no | `reportPath` | `reportPath` | `!FilePath` | `(.reportPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:226` | `PreparedGeneratedHaskellEditionMigration` | data | no | `reportText` | `reportText` | `!Text` | `(.reportText)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:227` | `PreparedGeneratedHaskellEditionMigration` | data | no | `sourceMoves` | `sourceMoves` | `![SourceMove]` | `(.sourceMoves)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:248` | `GeneratedArtifactImpact` | data | yes | `artifactCategory` | `category` | `!GeneratedArtifactCategory` | `(.category)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:249` | `GeneratedArtifactImpact` | data | yes | `artifactRole` | `role` | `!ModuleRole` | `(.role)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:250` | `GeneratedArtifactImpact` | data | yes | `artifactPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:251` | `GeneratedArtifactImpact` | data | yes | `artifactDisposition` | `disposition` | `!WriteDisposition` | `(.disposition)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:261` | `StaleModule` | data | yes | `staleKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:262` | `StaleModule` | data | yes | `stalePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:263` | `StaleModule` | data | yes | `staleGeneratedEvidence` | `generatedEvidence` | `!(Maybe StaleGeneratedEvidence)` | `(.generatedEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:268` | `MappingDrift` | data | yes | `driftSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:269` | `MappingDrift` | data | yes | `driftPrevious` | `previous` | `!(Maybe MappingIdentity)` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:270` | `MappingDrift` | data | yes | `driftCurrent` | `current` | `!(Maybe MappingIdentity)` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:275` | `SourceLanguageDrift` | data | yes | `languageDriftPrevious` | `previous` | `!SourceLanguage` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:276` | `SourceLanguageDrift` | data | yes | `languageDriftCurrent` | `current` | `!SourceLanguage` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:281` | `ScaffoldReport` | data | yes | `reportSpecPath` | `specPath` | `!FilePath` | `(.specPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:282` | `ScaffoldReport` | data | yes | `reportOutDir` | `outDir` | `!FilePath` | `(.outDir)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:283` | `ScaffoldReport` | data | yes | `reportContext` | `context` | `!Context` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:284` | `ScaffoldReport` | data | yes | `reportDispositions` | `dispositions` | `![(ScaffoldModule, WriteDisposition)]` | `(.dispositions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:285` | `ScaffoldReport` | data | yes | `reportInertNodes` | `inertNodes` | `![(Text, Text)]` | `(.inertNodes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:286` | `ScaffoldReport` | data | yes | `reportManifestPath` | `manifestPath` | `!FilePath` | `(.manifestPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:287` | `ScaffoldReport` | data | yes | `reportRecordPath` | `recordPath` | `!FilePath` | `(.recordPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:288` | `ScaffoldReport` | data | yes | `reportPreviousSpecPath` | `previousSpecPath` | `!(Maybe Text)` | `(.previousSpecPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:289` | `ScaffoldReport` | data | yes | `reportStale` | `stale` | `![StaleModule]` | `(.stale)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:290` | `ScaffoldReport` | data | yes | `reportConsumerPlan` | `consumerPlan` | `!ConsumerPlan` | `(.consumerPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:291` | `ScaffoldReport` | data | yes | `reportConstraintPlan` | `constraintPlan` | `![Text]` | `(.constraintPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:292` | `ScaffoldReport` | data | yes | `reportMappingDrift` | `mappingDrift` | `![MappingDrift]` | `(.mappingDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:293` | `ScaffoldReport` | data | yes | `reportQueryContractBaselineUnavailable` | `queryContractBaselineUnavailable` | `!Bool` | `(.queryContractBaselineUnavailable)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:294` | `ScaffoldReport` | data | yes | `reportQueryContractDrift` | `queryContractDrift` | `![QueryContractDrift]` | `(.queryContractDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:295` | `ScaffoldReport` | data | yes | `reportQueryContractMigrations` | `queryContractMigrations` | `![QueryContractMigration]` | `(.queryContractMigrations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:296` | `ScaffoldReport` | data | yes | `reportSemanticImpact` | `semanticImpact` | `!SemanticImpactReport` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:297` | `ScaffoldReport` | data | yes | `reportRouterSelectionDrift` | `routerSelectionDrift` | `![RouterSelectionDrift]` | `(.routerSelectionDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:298` | `ScaffoldReport` | data | yes | `processReactionCoordinationDrift` | `processReactionCoordinationDrift` | `![ProcessReactionDrift]` | `(.processReactionCoordinationDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:299` | `ScaffoldReport` | data | yes | `reportProjectionMappedImpact` | `projectionMappedImpact` | `!(Maybe ProjectionMappedImpact)` | `(.projectionMappedImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:300` | `ScaffoldReport` | data | yes | `reportGeneratedArtifactImpact` | `generatedArtifactImpact` | `![GeneratedArtifactImpact]` | `(.generatedArtifactImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:301` | `ScaffoldReport` | data | yes | `reportSourceLanguageDrift` | `sourceLanguageDrift` | `!(Maybe SourceLanguageDrift)` | `(.sourceLanguageDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:302` | `ScaffoldReport` | data | yes | `reportNewHoles` | `newHoles` | `![BindingHole]` | `(.newHoles)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:303` | `ScaffoldReport` | data | yes | `processReactionRows` | `processReactionRows` | `![ProcessReactionRecordRow]` | `(.processReactionRows)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:304` | `ScaffoldReport` | data | yes | `reportAddedBehavior` | `addedBehavior` | `![BehaviorRecordRow]` | `(.addedBehavior)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:305` | `ScaffoldReport` | data | yes | `reportRemovedBehavior` | `removedBehavior` | `![BehaviorRecordRow]` | `(.removedBehavior)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:306` | `ScaffoldReport` | data | yes | `reportObsoleteOutputHooks` | `obsoleteOutputHooks` | `![(Text, Text)]` | `(.obsoleteOutputHooks)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:307` | `ScaffoldReport` | data | yes | `reportConformancePackage` | `conformancePackage` | `!(Maybe ConformancePackageReport)` | `(.conformancePackage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:308` | `ScaffoldReport` | data | yes | `reportNameMoves` | `nameMoves` | `![SourceMove]` | `(.nameMoves)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:309` | `ScaffoldReport` | data | yes | `reportSidecarMoves` | `sidecarMoves` | `![SidecarMove]` | `(.sidecarMoves)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:314` | `QueryContractMigration` | data | yes | `qcmOwner` | `owner` | `!Text` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:315` | `QueryContractMigration` | data | yes | `path` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:316` | `QueryContractMigration` | data | yes | `qcmRequiredImport` | `requiredImport` | `!Text` | `(.requiredImport)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:63` | `EffectiveLanguageContract` | data | yes | `effectiveContractLanguageVersion` | `contractLanguageVersion` | `!LanguageVersion` | `(.contractLanguageVersion)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:64` | `EffectiveLanguageContract` | data | yes | `effectiveRuntimeProfile` | `runtimeProfile` | `!RuntimeSemanticsProfile` | `(.runtimeProfile)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:160` | `CheckedService` | data | no | `serviceLanguageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk | `none` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:161` | `CheckedService` | data | no | `serviceSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk | `none` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:162` | `CheckedService` | data | no | `serviceTypeGraph` | `typeGraph` | `Either (NonEmpty TypeGraphError) TypeGraph` | `(.typeGraph)`, pattern, or construction | serialized/wire review risk | `none` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:163` | `CheckedService` | data | no | `serviceProjectionSupplies` | `projectionSupplies` | `ProjectionSupplyAnalysis` | `(.projectionSupplies)`, pattern, or construction | serialized/wire review risk | `none` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:100` | `MappedRoot` | data | yes | `mappedRootConsumer` | `consumer` | `!MappedConsumer` | `(.consumer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:101` | `MappedRoot` | data | yes | `mappedRootKind` | `kind` | `!MappedRootKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:102` | `MappedRoot` | data | yes | `mappedRootUseSite` | `useSite` | `!UseSite` | `(.useSite)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:103` | `MappedRoot` | data | yes | `mappedRootDeclaration` | `declaration` | `!MappedKey` | `(.declaration)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:111` | `MappedRootEvidence` | data | yes | `evidenceConsumer` | `consumer` | `!MappedConsumer` | `(.consumer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:112` | `MappedRootEvidence` | data | yes | `evidenceRootKind` | `rootKind` | `!MappedRootKind` | `(.rootKind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:113` | `MappedRootEvidence` | data | yes | `evidencePath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:114` | `MappedRootEvidence` | data | yes | `evidenceOperation` | `operation` | `!(Maybe Text)` | `(.operation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:141` | `SemanticImpact` | data | yes | `impactRoots` | `roots` | `![MappedRoot]` | `(.roots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:142` | `SemanticImpact` | data | yes | `impactUsePaths` | `usePaths` | `!(Map MappedKey [UsePath])` | `(.usePaths)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:143` | `SemanticImpact` | data | yes | `impactAggregateDeclarations` | `aggregateDeclarations` | `!(Map MappedConsumer (Set MappedKey))` | `(.aggregateDeclarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:144` | `SemanticImpact` | data | yes | `impactDeclarationConsumers` | `declarationConsumers` | `!(Map MappedKey (Set MappedConsumer))` | `(.declarationConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:145` | `SemanticImpact` | data | yes | `impactDeclarationEvidence` | `declarationEvidence` | `!(Map MappedKey (Set MappedRootEvidence))` | `(.declarationEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:146` | `SemanticImpact` | data | yes | `impactDeclarationConsequences` | `declarationConsequences` | `!(Map MappedKey (Set MappedConsequence))` | `(.declarationConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:147` | `SemanticImpact` | data | yes | `impactServiceDeclarations` | `serviceDeclarations` | `!(Set MappedKey)` | `(.serviceDeclarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:148` | `SemanticImpact` | data | yes | `impactDeclarationIdentities` | `declarationIdentities` | `!(Map MappedKey Text)` | `(.declarationIdentities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:149` | `SemanticImpact` | data | yes | `impactUnsupportedProjectionSources` | `unsupportedProjectionSources` | `![UnsupportedProjectionSource]` | `(.unsupportedProjectionSources)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:159` | `SemanticImpactSnapshot` | data | yes | `snapshotMappedConsumers` | `mappedConsumers` | `!(Map MappedKey (Set MappedConsumer))` | `(.mappedConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:160` | `SemanticImpactSnapshot` | data | yes | `snapshotMappedEvidence` | `mappedEvidence` | `!(Maybe (Map MappedKey (Set MappedRootEvidence)))` | `(.mappedEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:161` | `SemanticImpactSnapshot` | data | yes | `snapshotMappedConsequences` | `mappedConsequences` | `!(Maybe (Map MappedKey (Set MappedConsequence)))` | `(.mappedConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:162` | `SemanticImpactSnapshot` | data | yes | `snapshotServiceInventory` | `serviceInventory` | `!(Set MappedKey)` | `(.serviceInventory)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:163` | `SemanticImpactSnapshot` | data | yes | `snapshotDeclarationIdentities` | `declarationIdentities` | `!(Map MappedKey Text)` | `(.declarationIdentities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:170` | `MappedImpactDelta` | data | yes | `impactDeclaration` | `declaration` | `!MappedKey` | `(.declaration)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:171` | `MappedImpactDelta` | data | yes | `impactPreviousConsumers` | `previousConsumers` | `!(Set MappedConsumer)` | `(.previousConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:172` | `MappedImpactDelta` | data | yes | `impactCurrentConsumers` | `currentConsumers` | `!(Set MappedConsumer)` | `(.currentConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:173` | `MappedImpactDelta` | data | yes | `impactPreviousEvidence` | `previousEvidence` | `!(Maybe (Set MappedRootEvidence))` | `(.previousEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:174` | `MappedImpactDelta` | data | yes | `impactCurrentEvidence` | `currentEvidence` | `!(Maybe (Set MappedRootEvidence))` | `(.currentEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:175` | `MappedImpactDelta` | data | yes | `impactPreviousConsequences` | `previousConsequences` | `!(Maybe (Set MappedConsequence))` | `(.previousConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:176` | `MappedImpactDelta` | data | yes | `impactCurrentConsequences` | `currentConsequences` | `!(Maybe (Set MappedConsequence))` | `(.currentConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:177` | `MappedImpactDelta` | data | yes | `impactServiceConformance` | `serviceConformance` | `!Bool` | `(.serviceConformance)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:185` | `SemanticImpactReport` | data | yes | `semanticReportPrevious` | `previous` | `!(Maybe SemanticImpactSnapshot)` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:186` | `SemanticImpactReport` | data | yes | `semanticReportCurrent` | `current` | `!SemanticImpactSnapshot` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:187` | `SemanticImpactReport` | data | yes | `semanticReportDeclarations` | `declarations` | `![MappedKey]` | `(.declarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:188` | `SemanticImpactReport` | data | yes | `semanticReportDeltas` | `deltas` | `![MappedImpactDelta]` | `(.deltas)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:514` | `SelectionEvidence` | data | no | `selectionEvidenceRoot` | `root` | `!MappedRoot` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:515` | `SelectionEvidence` | data | no | `selectionEvidencePath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/ServiceHarness.hs:28` | `DuplicateServiceFactKey` | newtype | yes | `duplicateServiceFactKey` | `duplicateServiceFactKey` | `Text` | `(.duplicateServiceFactKey)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:48` | `SidecarMove` | data | yes | `sidecarOldPath` | `oldPath` | `!FilePath` | `(.oldPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:49` | `SidecarMove` | data | yes | `sidecarNewPath` | `newPath` | `!FilePath` | `(.newPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:50` | `SidecarMove` | data | yes | `sidecarBackupPath` | `backupPath` | `!(Maybe FilePath)` | `(.backupPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:51` | `SidecarMove` | data | yes | `sidecarMoveDisposition` | `moveDisposition` | `!SidecarMoveDisposition` | `(.moveDisposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:22` | `SourcePoint` | data | yes | `offset` | `offset` | `!Int` | `(.offset)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:23` | `SourcePoint` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:24` | `SourcePoint` | data | yes | `column` | `column` | `!Int` | `(.column)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:38` | `SourceSpan` | data | yes | `source` | `source` | `!FilePath` | `(.source)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:39` | `SourceSpan` | data | yes | `start` | `start` | `!SourcePoint` | `(.start)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:40` | `SourceSpan` | data | yes | `end` | `end` | `!SourcePoint` | `(.end)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:61` | `Located` | data | yes | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Functor, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Source.hs:62` | `Located` | data | yes | `value` | `value` | `!a` | `(.value)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Functor, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:67` | `IndexedSourcePosition` | data | no | `quality` | `quality` | `!SourcePositionQuality` | `(.quality)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:68` | `IndexedSourcePosition` | data | no | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:73` | `SemanticSourceIndex` | newtype | no | `positions` | `positions` | `Map SourceSubject IndexedSourcePosition` | `(.positions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:79` | `ParsedSourceDocument` | data | yes | `documentParsedSource` | `parsedSource` | `!ParsedSource` | `(.parsedSource)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:80` | `ParsedSourceDocument` | data | yes | `documentSourceIndex` | `sourceIndex` | `!SemanticSourceIndex` | `(.sourceIndex)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:92` | `SourceIndexFailure` | data | yes | `failureCode` | `code` | `!SourceIndexFailureCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:93` | `SourceIndexFailure` | data | yes | `failureSubject` | `subject` | `!(Maybe SourceSubject)` | `(.subject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:94` | `SourceIndexFailure` | data | yes | `failureSpan` | `span` | `!(Maybe SourceSpan)` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:95` | `SourceIndexFailure` | data | yes | `failureMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:82` | `ConformanceRendering` | data | no | `renderingContext` | `context` | `!Context` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:83` | `ConformanceRendering` | data | no | `renderingGraph` | `graph` | `!TypeGraph` | `(.graph)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:84` | `ConformanceRendering` | data | no | `renderingDeclarations` | `declarations` | `![ResolvedMappedDecl]` | `(.declarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:85` | `ConformanceRendering` | data | no | `nominals` | `nominals` | `![NominalLeaf]` | `(.nominals)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:86` | `ConformanceRendering` | data | no | `renderingProjections` | `projections` | `![StructuralProjection]` | `(.projections)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:87` | `ConformanceRendering` | data | no | `renderingImportPlan` | `importPlan` | `!HaskellImportPlan` | `(.importPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:33` | `SurfaceSource` | data | yes | `source` | `source` | `!FilePath` | `(.source)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:34` | `SurfaceSource` | data | yes | `language` | `language` | `!SourceLanguage` | `(.language)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:35` | `SurfaceSource` | data | yes | `preamble` | `preamble` | `!(Maybe (Located SourceLanguage))` | `(.preamble)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:36` | `SurfaceSource` | data | yes | `spec` | `spec` | `!(Located SurfaceSpec)` | `(.spec)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:43` | `SurfaceSpec` | data | yes | `context` | `context` | `!(Located Text)` | `(.context)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:44` | `SurfaceSpec` | data | yes | `moduleRoot` | `moduleRoot` | `!(Maybe (Located Text))` | `(.moduleRoot)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:45` | `SurfaceSpec` | data | yes | `layout` | `layout` | `!(Maybe (Located Placement))` | `(.layout)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:46` | `SurfaceSpec` | data | yes | `items` | `items` | `![Located SurfaceTopItem]` | `(.items)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:47` | `SurfaceSpec` | data | yes | `elements` | `elements` | `![Located SurfaceElement]` | `(.elements)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:39` | `TransitionFamilyKey` | data | yes | `familyMode` | `mode` | `!TransitionMode` | `(.mode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:40` | `TransitionFamilyKey` | data | yes | `familySource` | `source` | `!Name` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:41` | `TransitionFamilyKey` | data | yes | `familyCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:53` | `TransitionFamilyDelta` | data | yes | `familyKey` | `familyKey` | `!TransitionFamilyKey` | `(.familyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:54` | `TransitionFamilyDelta` | data | yes | `oldRemainder` | `oldRemainder` | `![Transition]` | `(.oldRemainder)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:55` | `TransitionFamilyDelta` | data | yes | `newRemainder` | `newRemainder` | `![Transition]` | `(.newRemainder)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:61` | `ReplayBodyKey` | newtype | yes | `unReplayBodyKey` | `unReplayBodyKey` | `Text` | explicit `unReplayBodyKey` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:76` | `ReplayBodyDelta` | data | yes | `bodyFamilyKey` | `bodyFamilyKey` | `!TransitionFamilyKey` | `(.bodyFamilyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:77` | `ReplayBodyDelta` | data | yes | `bodyKey` | `bodyKey` | `!ReplayBodyKey` | `(.bodyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:78` | `ReplayBodyDelta` | data | yes | `oldBodyMembers` | `oldBodyMembers` | `![Transition]` | `(.oldBodyMembers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:79` | `ReplayBodyDelta` | data | yes | `newBodyMembers` | `newBodyMembers` | `![Transition]` | `(.newBodyMembers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:80` | `ReplayBodyDelta` | data | yes | `bodyStatus` | `bodyStatus` | `!ReplayBodyStatus` | `(.bodyStatus)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:105` | `QualifiedValueName` | newtype | yes | `unQualifiedValueName` | `unQualifiedValueName` | `Text` | explicit `unQualifiedValueName` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:111` | `CanonicalTypeId` | newtype | yes | `unCanonicalTypeId` | `unCanonicalTypeId` | `Text` | explicit `unCanonicalTypeId` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:117` | `BindingVersion` | newtype | yes | `unBindingVersion` | `unBindingVersion` | `Text` | explicit `unBindingVersion` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:123` | `CodecIdentity` | newtype | yes | `unCodecIdentity` | `unCodecIdentity` | `Text` | explicit `unCodecIdentity` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:129` | `CodecVersion` | newtype | yes | `unCodecVersion` | `unCodecVersion` | `Text` | explicit `unCodecVersion` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:185` | `ConsumerNominalBinding` | data | yes | `haskell` | `haskell` | `!HaskellSource` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:186` | `ConsumerNominalBinding` | data | yes | `binding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:187` | `ConsumerNominalBinding` | data | yes | `bindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:188` | `ConsumerNominalBinding` | data | yes | `canonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:189` | `ConsumerNominalBinding` | data | yes | `fixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:190` | `ConsumerNominalBinding` | data | yes | `initial` | `initial` | `!(Maybe QualifiedValueName)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:206` | `NominalLeaf` | data | yes | `name` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:207` | `NominalLeaf` | data | yes | `kind` | `kind` | `!NominalLeafKind` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:208` | `NominalLeaf` | data | yes | `ownership` | `ownership` | `!NominalLeafOwnership` | `(.ownership)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:209` | `NominalLeaf` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:223` | `NominalLeafError` | newtype | yes | `nominalLeafIssues` | `nominalLeafIssues` | `NonEmpty NominalLeafIssue` | `(.nominalLeafIssues)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:345` | `LiftVersion` | newtype | yes | `unLiftVersion` | `unLiftVersion` | `Text` | explicit `unLiftVersion` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:352` | `MappedWriteLift` | data | yes | `source` | `source` | `!LiftSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:353` | `MappedWriteLift` | data | yes | `function` | `function` | `!QualifiedValueName` | `(.function)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:354` | `MappedWriteLift` | data | yes | `version` | `version` | `!LiftVersion` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:355` | `MappedWriteLift` | data | yes | `fixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:356` | `MappedWriteLift` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:388` | `StructuralDecl` | data | yes | `sdName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:389` | `StructuralDecl` | data | yes | `sdHaskell` | `haskell` | `!HaskellSource` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:390` | `StructuralDecl` | data | yes | `sdBinding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:391` | `StructuralDecl` | data | yes | `sdBindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:392` | `StructuralDecl` | data | yes | `sdCanonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:393` | `StructuralDecl` | data | yes | `sdFixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:394` | `StructuralDecl` | data | yes | `sdInitial` | `initial` | `!(Maybe QualifiedValueName)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:395` | `StructuralDecl` | data | yes | `writeLift` | `writeLift` | `!(Maybe MappedWriteLift)` | `(.writeLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:396` | `StructuralDecl` | data | yes | `sdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:401` | `OpaqueDecl` | data | yes | `odName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:402` | `OpaqueDecl` | data | yes | `odHaskell` | `haskell` | `!HaskellSource` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:403` | `OpaqueDecl` | data | yes | `odCodecIdentity` | `codecIdentity` | `!CodecIdentity` | `(.codecIdentity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:404` | `OpaqueDecl` | data | yes | `odCodecVersion` | `codecVersion` | `!CodecVersion` | `(.codecVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:405` | `OpaqueDecl` | data | yes | `writeLift` | `writeLift` | `!(Maybe MappedWriteLift)` | `(.writeLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:406` | `OpaqueDecl` | data | yes | `odFixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:407` | `OpaqueDecl` | data | yes | `odInitial` | `initial` | `!(Maybe QualifiedValueName)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:408` | `OpaqueDecl` | data | yes | `odLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:490` | `MappedKey` | newtype | yes | `unMappedKey` | `unMappedKey` | `Name` | explicit `unMappedKey` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:515` | `ResolvedWireField` | data | yes | `rwfHaskell` | `haskell` | `!Name` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:516` | `ResolvedWireField` | data | yes | `rwfKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:517` | `ResolvedWireField` | data | yes | `rwfType` | `valueType` | `!ResolvedTypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:518` | `ResolvedWireField` | data | yes | `rwfPresence` | `presence` | `!Presence` | `(.presence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:519` | `ResolvedWireField` | data | yes | `rwfOnMissing` | `onMissing` | `!(Maybe OnMissing)` | `(.onMissing)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:520` | `ResolvedWireField` | data | yes | `rwfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:525` | `ResolvedWireArm` | data | yes | `rwaCtor` | `ctor` | `!Name` | `(.ctor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:526` | `ResolvedWireArm` | data | yes | `rwaTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:527` | `ResolvedWireArm` | data | yes | `rwaPayload` | `payload` | `!(Maybe ResolvedTypeExpr)` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:528` | `ResolvedWireArm` | data | yes | `rwaLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:565` | `UseSite` | data | yes | `root` | `root` | `!RootRef` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:566` | `UseSite` | data | yes | `mappedKey` | `mappedKey` | `!MappedKey` | `(.mappedKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:571` | `NominalRootSite` | data | yes | `root` | `root` | `!RootRef` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:572` | `NominalRootSite` | data | yes | `nominal` | `nominal` | `!Name` | `(.nominal)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:573` | `NominalRootSite` | data | yes | `segments` | `segments` | `![PathSeg]` | `(.segments)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:589` | `UsePath` | data | yes | `upRoot` | `root` | `!RootRef` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:590` | `UsePath` | data | yes | `upSegments` | `segments` | `![PathSeg]` | `(.segments)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:610` | `TypeGraph` | data | yes | `tgDeclarations` | `declarations` | `!(Map MappedKey ResolvedMappedDecl)` | `(.declarations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:611` | `TypeGraph` | data | yes | `tgReachability` | `reachability` | `!(Map MappedKey (Set MappedKey))` | `(.reachability)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:612` | `TypeGraph` | data | yes | `nominalLeaves` | `nominalLeaves` | `!(Map Name NominalLeaf)` | `(.nominalLeaves)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:613` | `TypeGraph` | data | yes | `unsupportedNominalLeafKinds` | `unsupportedNominalLeafKinds` | `!(Map Name Text)` | `(.unsupportedNominalLeafKinds)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:614` | `TypeGraph` | data | yes | `nominalReachability` | `nominalReachability` | `!(Map MappedKey (Set Name))` | `(.nominalReachability)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:615` | `TypeGraph` | data | yes | `tgUseSites` | `useSites` | `![UseSite]` | `(.useSites)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:616` | `TypeGraph` | data | yes | `nominalRootSites` | `nominalRootSites` | `![NominalRootSite]` | `(.nominalRootSites)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:617` | `TypeGraph` | data | yes | `tgRootSegments` | `rootSegments` | `!(Map UseSite [PathSeg])` | `(.rootSegments)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:618` | `TypeGraph` | data | yes | `tgDerivedMappedConsumers` | `derivedMappedConsumers` | `![DerivedMappedConsumer]` | `(.derivedMappedConsumers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:619` | `TypeGraph` | data | yes | `tgReplayableProjectionGroups` | `replayableProjectionGroups` | `!(Map DerivedMappedConsumer Name)` | `(.replayableProjectionGroups)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:620` | `TypeGraph` | data | yes | `tgProjectionOperationalIdentities` | `projectionOperationalIdentities` | `!(Map DerivedMappedConsumer Text)` | `(.projectionOperationalIdentities)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:621` | `TypeGraph` | data | yes | `tgUnsupportedProjectionSources` | `unsupportedProjectionSources` | `![UnsupportedProjectionSource]` | `(.unsupportedProjectionSources)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1270` | `TypeExprAlgebra` | data | yes | `onText` | `onText` | `a` | `(.onText)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1271` | `TypeExprAlgebra` | data | yes | `onInt` | `onInt` | `a` | `(.onInt)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1272` | `TypeExprAlgebra` | data | yes | `onInteger` | `onInteger` | `a` | `(.onInteger)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1273` | `TypeExprAlgebra` | data | yes | `onBool` | `onBool` | `a` | `(.onBool)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1274` | `TypeExprAlgebra` | data | yes | `onNatural` | `onNatural` | `a` | `(.onNatural)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1275` | `TypeExprAlgebra` | data | yes | `onTime` | `onTime` | `a` | `(.onTime)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1276` | `TypeExprAlgebra` | data | yes | `onDay` | `onDay` | `a` | `(.onDay)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1277` | `TypeExprAlgebra` | data | yes | `onTextSet` | `onTextSet` | `a` | `(.onTextSet)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1278` | `TypeExprAlgebra` | data | yes | `onJson` | `onJson` | `a` | `(.onJson)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1279` | `TypeExprAlgebra` | data | yes | `onOptional` | `onOptional` | `a -> a` | `(.onOptional)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1280` | `TypeExprAlgebra` | data | yes | `onList` | `onList` | `a -> a` | `(.onList)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1281` | `TypeExprAlgebra` | data | yes | `onMap` | `onMap` | `a -> a` | `(.onMap)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1282` | `TypeExprAlgebra` | data | yes | `onKeyedMap` | `onKeyedMap` | `NominalLeaf -> a -> a` | `(.onKeyedMap)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1283` | `TypeExprAlgebra` | data | yes | `onRef` | `onRef` | `MappedKey -> a` | `(.onRef)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1284` | `TypeExprAlgebra` | data | yes | `onNominal` | `onNominal` | `NominalLeaf -> a` | `(.onNominal)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1306` | `MappedShapeAlgebra` | data | yes | `onRecord` | `onRecord` | `Name -> UnknownFields -> [ResolvedWireField] -> a` | `(.onRecord)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1307` | `MappedShapeAlgebra` | data | yes | `onEnum` | `onEnum` | `[WireEnum] -> a` | `(.onEnum)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1308` | `MappedShapeAlgebra` | data | yes | `onUnion` | `onUnion` | `UnionEncoding -> [ResolvedWireArm] -> a` | `(.onUnion)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1309` | `MappedShapeAlgebra` | data | yes | `onBare` | `onBare` | `ResolvedTypeExpr -> a` | `(.onBare)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1310` | `MappedShapeAlgebra` | data | yes | `onRefined` | `onRefined` | `RefinedWirePolicy -> a` | `(.onRefined)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1322` | `MappedDeclAlgebra` | data | yes | `onStructuralDecl` | `onStructuralDecl` | `StructuralDecl -> ResolvedMappedShape -> a` | `(.onStructuralDecl)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1323` | `MappedDeclAlgebra` | data | yes | `onOpaqueDecl` | `onOpaqueDecl` | `OpaqueDecl -> a` | `(.onOpaqueDecl)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:779` | `Diagnostic` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:780` | `Diagnostic` | data | yes | `severity` | `severity` | `!Severity` | `(.severity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:781` | `Diagnostic` | data | yes | `code` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:782` | `Diagnostic` | data | yes | `relatedLocations` | `relatedLocations` | `![(Int, Text)]` | `(.relatedLocations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:783` | `Diagnostic` | data | yes | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:1746` | `NullabilityFacts` | data | no | `nfTopNull` | `topNull` | `!Bool` | `(.topNull)`, pattern, or construction | rendered/canonical output | `none` |
-| `keiro-dsl/src/Keiro/Dsl/Validate.hs:1747` | `NullabilityFacts` | data | no | `nfBadOptional` | `badOptional` | `!Bool` | `(.badOptional)`, pattern, or construction | rendered/canonical output | `none` |
+Inventory: 330 record-owning declarations, 1626 fields, 1578 strict fields, and 1481 fields exported through a public `Type (..)`.
+
+| Location | Owner | Kind | Public | Current | Target | Type/strictness | Selection replacement | Review risk / observable surface | Deriving |
+| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
+| `keiro-dsl/src/Keiro/Dsl/AggregateGenerationPlan.hs:14` | `TransitionLayoutEntry` | data | no | `layoutDeclarationIndex` | `declarationIndex` | `!Int` | `(.declarationIndex)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateGenerationPlan.hs:15` | `TransitionLayoutEntry` | data | no | `layoutOutgoingIndex` | `outgoingIndex` | `!Int` | `(.outgoingIndex)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateGenerationPlan.hs:16` | `TransitionLayoutEntry` | data | no | `layoutTransition` | `transition` | `!Transition` | `(.transition)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:97` | `StructuralEnumEquality` | data | yes | `key` | `key` | `!MappedKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:98` | `StructuralEnumEquality` | data | yes | `owner` | `owner` | `!HaskellSource` | `(.owner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:99` | `StructuralEnumEquality` | data | yes | `binding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:100` | `StructuralEnumEquality` | data | yes | `bindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:101` | `StructuralEnumEquality` | data | yes | `canonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:102` | `StructuralEnumEquality` | data | yes | `constructors` | `constructors` | `!(NE.NonEmpty (Name, Text))` | `(.constructors)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:139` | `AggregateSymbols` | data | no | `symbolNominals` | `nominals` | `!(Map Name ResolvedNominalType)` | `(.nominals)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:140` | `AggregateSymbols` | data | no | `symbolVertices` | `vertices` | `!(Map Name [Name])` | `(.vertices)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:141` | `AggregateSymbols` | data | no | `symbolMapped` | `mapped` | `!(Map MappedKey ResolvedMappedDecl)` | `(.mapped)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:178` | `AggregateTypeError` | data | yes | `aggregateTypeErrorLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:179` | `AggregateTypeError` | data | yes | `aggregateTypeErrorUseSite` | `useSite` | `!AggregateUseSite` | `(.useSite)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:180` | `AggregateTypeError` | data | yes | `aggregateTypeErrorReason` | `reason` | `!AggregateTypeErrorReason` | `(.reason)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:317` | `AggregateHaskellSource` | data | no | `aggregateSourceBuiltin` | `builtin` | `!(Maybe Text)` | `(.builtin)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:318` | `AggregateHaskellSource` | data | no | `aggregateSourceReference` | `reference` | `!(Maybe HaskellReference)` | `(.reference)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/AggregateType.hs:319` | `AggregateHaskellSource` | data | no | `aggregateSourceStaticImports` | `staticImports` | `!(Set Text)` | `(.staticImports)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:51` | `BehaviorKey` | newtype | yes | `unBehaviorKey` | `unBehaviorKey` | `Text` | explicit `unBehaviorKey` positional function | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:92` | `BehaviorExactLocation` | data | yes | `exactSourceFile` | `sourceFile` | `!FilePath` | `(.sourceFile)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:93` | `BehaviorExactLocation` | data | yes | `exactSourceLine` | `sourceLine` | `!Int` | `(.sourceLine)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:94` | `BehaviorExactLocation` | data | yes | `exactSourceColumn` | `sourceColumn` | `!Int` | `(.sourceColumn)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:99` | `BehaviorRequirement` | data | yes | `requirementKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:100` | `BehaviorRequirement` | data | yes | `requirementOrigin` | `origin` | `!RequirementOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:101` | `BehaviorRequirement` | data | yes | `requirementKind` | `kind` | `!ObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:102` | `BehaviorRequirement` | data | yes | `requirementEvidence` | `evidence` | `!EvidenceLevel` | `(.evidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:103` | `BehaviorRequirement` | data | yes | `requirementGuardCoverage` | `guardCoverage` | `!GuardCoverage` | `(.guardCoverage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:104` | `BehaviorRequirement` | data | yes | `requirementContext` | `context` | `!Name` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:105` | `BehaviorRequirement` | data | yes | `requirementAggregate` | `aggregate` | `!Name` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:106` | `BehaviorRequirement` | data | yes | `requirementSource` | `source` | `!Name` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:107` | `BehaviorRequirement` | data | yes | `requirementCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:108` | `BehaviorRequirement` | data | yes | `requirementTarget` | `target` | `!(Maybe Name)` | `(.target)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:109` | `BehaviorRequirement` | data | yes | `requirementMode` | `mode` | `!(Maybe TransitionMode)` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:110` | `BehaviorRequirement` | data | yes | `requirementEvents` | `events` | `![Name]` | `(.events)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:111` | `BehaviorRequirement` | data | yes | `requirementOutputs` | `outputs` | `![OutputEvidence]` | `(.outputs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:112` | `BehaviorRequirement` | data | yes | `requirementDomainOutcome` | `domainOutcome` | `!(Maybe TransitionOutcome)` | `(.domainOutcome)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:113` | `BehaviorRequirement` | data | yes | `requirementLocation` | `location` | `!Loc` | `(.location)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:114` | `BehaviorRequirement` | data | yes | `requirementExactLocation` | `exactLocation` | `!(Maybe BehaviorExactLocation)` | `(.exactLocation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:115` | `BehaviorRequirement` | data | yes | `requirementOwner` | `owner` | `!(Maybe FilePath)` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:116` | `BehaviorRequirement` | data | yes | `requirementCanonical` | `canonical` | `!Text` | `(.canonical)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:124` | `BehaviorRecordRow` | data | yes | `behaviorRecordKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:125` | `BehaviorRecordRow` | data | yes | `behaviorRecordKind` | `kind` | `!ObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:126` | `BehaviorRecordRow` | data | yes | `behaviorRecordEvidence` | `evidence` | `!EvidenceLevel` | `(.evidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:127` | `BehaviorRecordRow` | data | yes | `behaviorRecordAggregate` | `aggregate` | `!Name` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:128` | `BehaviorRecordRow` | data | yes | `behaviorRecordSource` | `source` | `!Name` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:129` | `BehaviorRecordRow` | data | yes | `behaviorRecordCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:130` | `BehaviorRecordRow` | data | yes | `behaviorRecordOwner` | `owner` | `!(Maybe FilePath)` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:131` | `BehaviorRecordRow` | data | yes | `behaviorRecordOutputs` | `outputs` | `![OutputEvidence]` | `(.outputs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:143` | `BehaviorObligationsReport` | data | yes | `behaviorSubject` | `subject` | `!FilePath` | `(.subject)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:144` | `BehaviorObligationsReport` | data | yes | `behaviorWorkspaceService` | `workspaceService` | `!(Maybe Text)` | `(.workspaceService)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorCoverage.hs:145` | `BehaviorObligationsReport` | data | yes | `behaviorRequirements` | `requirements` | `![BehaviorRequirement]` | `(.requirements)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:38` | `BehaviorSourceFailure` | data | yes | `failureCode` | `code` | `!BehaviorSourceFailureCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:39` | `BehaviorSourceFailure` | data | yes | `failureKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:40` | `BehaviorSourceFailure` | data | yes | `failureOrigin` | `origin` | `!RequirementOrigin` | `(.origin)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:41` | `BehaviorSourceFailure` | data | yes | `failureAggregate` | `aggregate` | `!Text` | `(.aggregate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:42` | `BehaviorSourceFailure` | data | yes | `failureState` | `state` | `!Text` | `(.state)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:43` | `BehaviorSourceFailure` | data | yes | `failureCommand` | `command` | `!Text` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:44` | `BehaviorSourceFailure` | data | yes | `failureSourceSubject` | `sourceSubject` | `!SourceSubject` | `(.sourceSubject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:45` | `BehaviorSourceFailure` | data | yes | `failureSpan` | `span` | `!(Maybe SourceSpan)` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:46` | `BehaviorSourceFailure` | data | yes | `failureMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:51` | `BehaviorSourceEntry` | data | yes | `behaviorSourceKey` | `key` | `!BehaviorKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:52` | `BehaviorSourceEntry` | data | yes | `behaviorSourceFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:53` | `BehaviorSourceEntry` | data | yes | `behaviorSourceLine` | `line` | `!Int` | `(.line)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/BehaviorSourceMap.hs:54` | `BehaviorSourceEntry` | data | yes | `behaviorSourceColumn` | `column` | `!Int` | `(.column)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:45` | `CheckReportLanguage` | data | yes | `reportSourceForm` | `sourceForm` | `!Text` | `(.sourceForm)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:46` | `CheckReportLanguage` | data | yes | `reportDeclaredLanguageVersion` | `declaredLanguageVersion` | `!(Maybe LanguageVersion)` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:47` | `CheckReportLanguage` | data | yes | `reportEffectiveLanguageVersion` | `effectiveLanguageVersion` | `!LanguageVersion` | `(.effectiveLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:48` | `CheckReportLanguage` | data | yes | `reportRuntimeSemantics` | `runtimeSemantics` | `!Text` | `(.runtimeSemantics)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:49` | `CheckReportLanguage` | data | yes | `reportLanguageSupport` | `languageSupport` | `!LanguageSupport` | `(.languageSupport)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:50` | `CheckReportLanguage` | data | yes | `reportStable` | `stable` | `!Bool` | `(.stable)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:55` | `CheckReportEnforcement` | data | yes | `reportMinLanguage` | `minLanguage` | `!(Maybe LanguageVersion)` | `(.minLanguage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:56` | `CheckReportEnforcement` | data | yes | `reportDenyWarnings` | `denyWarnings` | `!Bool` | `(.denyWarnings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:57` | `CheckReportEnforcement` | data | yes | `reportDenyCodes` | `denyCodes` | `![DiagnosticCode]` | `(.denyCodes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:62` | `CheckReportRelated` | data | yes | `relatedFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:63` | `CheckReportRelated` | data | yes | `relatedLine` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:64` | `CheckReportRelated` | data | yes | `relatedNote` | `note` | `!Text` | `(.note)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:69` | `CheckReportEntry` | data | yes | `entryCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:70` | `CheckReportEntry` | data | yes | `entrySeverity` | `severity` | `!Severity` | `(.severity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:71` | `CheckReportEntry` | data | yes | `entryFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:72` | `CheckReportEntry` | data | yes | `entryLine` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:73` | `CheckReportEntry` | data | yes | `entryMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:74` | `CheckReportEntry` | data | yes | `entryDenied` | `denied` | `!Bool` | `(.denied)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:75` | `CheckReportEntry` | data | yes | `entryRelated` | `related` | `![CheckReportRelated]` | `(.related)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:80` | `CheckReportSummary` | data | yes | `summaryErrors` | `errors` | `!Int` | `(.errors)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:81` | `CheckReportSummary` | data | yes | `summaryWarnings` | `warnings` | `!Int` | `(.warnings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:82` | `CheckReportSummary` | data | yes | `summaryDeniedWarnings` | `deniedWarnings` | `!Int` | `(.deniedWarnings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:87` | `CheckReportMember` | data | yes | `memberPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:88` | `CheckReportMember` | data | yes | `memberSourceForm` | `sourceForm` | `!Text` | `(.sourceForm)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:89` | `CheckReportMember` | data | yes | `memberDeclaredLanguageVersion` | `declaredLanguageVersion` | `!(Maybe LanguageVersion)` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:94` | `CheckReportProcessReaction` | data | yes | `process` | `process` | `!Text` | `(.process)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:95` | `CheckReportProcessReaction` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:96` | `CheckReportProcessReaction` | data | yes | `version` | `version` | `!Natural` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:97` | `CheckReportProcessReaction` | data | yes | `fingerprint` | `fingerprint` | `!Text` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:98` | `CheckReportProcessReaction` | data | yes | `holeObligations` | `holeObligations` | `![Text]` | `(.holeObligations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:106` | `CheckReport` | data | no | `reportKind` | `kind` | `!CheckReportKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:107` | `CheckReport` | data | no | `reportSubject` | `subject` | `!FilePath` | `(.subject)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:111` | `CheckReport` | data | no | `reportLanguage` | `language` | `!(Maybe CheckReportLanguage)` | `(.language)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:112` | `CheckReport` | data | no | `reportEnforcement` | `enforcement` | `!CheckReportEnforcement` | `(.enforcement)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:113` | `CheckReport` | data | no | `reportDiagnostics` | `diagnostics` | `![CheckReportEntry]` | `(.diagnostics)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:114` | `CheckReport` | data | no | `reportSummary` | `summary` | `!CheckReportSummary` | `(.summary)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:115` | `CheckReport` | data | no | `reportOk` | `ok` | `!Bool` | `(.ok)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:116` | `CheckReport` | data | no | `reportMembers` | `members` | `![CheckReportMember]` | `(.members)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CheckReport.hs:117` | `CheckReport` | data | no | `processReactions` | `processReactions` | `![CheckReportProcessReaction]` | `(.processReactions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:70` | `JsonPointer` | newtype | yes | `unJsonPointer` | `unJsonPointer` | `Text` | explicit `unJsonPointer` positional function | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:85` | `HistoricalCodec` | data | yes | `hcIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:86` | `HistoricalCodec` | data | yes | `hcVersion` | `version` | `!Text` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:87` | `HistoricalCodec` | data | yes | `hcEncode` | `encode` | `!(a -> Value)` | `(.encode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:88` | `HistoricalCodec` | data | yes | `hcDecode` | `decode` | `!(Value -> Either Text a)` | `(.decode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:93` | `CompareObservation` | data | yes | `coCaseName` | `caseName` | `!Text` | `(.caseName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:94` | `CompareObservation` | data | yes | `coHistoricalValue` | `historicalValue` | `!Value` | `(.historicalValue)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:95` | `CompareObservation` | data | yes | `coGeneratedValue` | `generatedValue` | `!Value` | `(.generatedValue)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:98` | `CompareObservation` | data | yes | `coFixturePath` | `fixturePath` | `!FilePath` | `(.fixturePath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:99` | `CompareObservation` | data | yes | `coInputValue` | `inputValue` | `!Value` | `(.inputValue)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:100` | `CompareObservation` | data | yes | `coHistoricalDecode` | `historicalDecode` | `!DecodeOutcome` | `(.historicalDecode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:101` | `CompareObservation` | data | yes | `coGeneratedDecode` | `generatedDecode` | `!DecodeOutcome` | `(.generatedDecode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:124` | `DeclaredBranch` | data | yes | `dbOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:125` | `DeclaredBranch` | data | yes | `dbPointer` | `pointer` | `!JsonPointer` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:126` | `DeclaredBranch` | data | yes | `dbKind` | `kind` | `!BranchKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:131` | `ObservedBranch` | data | yes | `obOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:132` | `ObservedBranch` | data | yes | `obPointer` | `pointer` | `!JsonPointer` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:133` | `ObservedBranch` | data | yes | `obKind` | `kind` | `!BranchKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:138` | `CoverageGap` | data | yes | `cgOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:139` | `CoverageGap` | data | yes | `cgPointer` | `pointer` | `!JsonPointer` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:140` | `CoverageGap` | data | yes | `cgKind` | `kind` | `!BranchKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:157` | `BranchField` | data | yes | `bfWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:158` | `BranchField` | data | yes | `bfPresenceOptional` | `presenceOptional` | `!Bool` | `(.presenceOptional)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:159` | `BranchField` | data | yes | `bfSchema` | `schema` | `!BranchSchema` | `(.schema)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:164` | `BranchArm` | data | yes | `baWireTag` | `wireTag` | `!Text` | `(.wireTag)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:165` | `BranchArm` | data | yes | `baPayloadSchema` | `payloadSchema` | `!(Maybe BranchSchema)` | `(.payloadSchema)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:170` | `CompareProvenance` | data | yes | `cpHistoricalCodecIdentity` | `historicalCodecIdentity` | `!Text` | `(.historicalCodecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:171` | `CompareProvenance` | data | yes | `cpHistoricalCodecVersion` | `historicalCodecVersion` | `!Text` | `(.historicalCodecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:172` | `CompareProvenance` | data | yes | `cpCanonicalType` | `canonicalType` | `!CanonicalTypeId` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:173` | `CompareProvenance` | data | yes | `cpBindingSymbol` | `bindingSymbol` | `!QualifiedValueName` | `(.bindingSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:174` | `CompareProvenance` | data | yes | `cpBindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:175` | `CompareProvenance` | data | yes | `cpWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:180` | `ClassifiedObservation` | data | yes | `classifiedOrigin` | `origin` | `!FixtureOrigin` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:181` | `ClassifiedObservation` | data | yes | `classifiedName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:182` | `ClassifiedObservation` | data | yes | `classifiedVerdict` | `verdict` | `!FixtureVerdict` | `(.verdict)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:187` | `CompareReport` | data | yes | `crProvenance` | `provenance` | `!CompareProvenance` | `(.provenance)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:188` | `CompareReport` | data | yes | `crObservations` | `observations` | `![ClassifiedObservation]` | `(.observations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:189` | `CompareReport` | data | yes | `crInputIssues` | `inputIssues` | `![CompareInputIssue]` | `(.inputIssues)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:190` | `CompareReport` | data | yes | `crCoverageGaps` | `coverageGaps` | `![CoverageGap]` | `(.coverageGaps)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:191` | `CompareReport` | data | yes | `crAuthority` | `authority` | `!Text` | `(.authority)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:196` | `ReportWriteError` | data | yes | `reportWritePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/CodecCompare.hs:197` | `ReportWriteError` | data | yes | `reportWriteMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:58` | `ConformanceFile` | data | yes | `conformanceFilePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:59` | `ConformanceFile` | data | yes | `conformanceFileText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:60` | `ConformanceFile` | data | yes | `conformanceFileKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:65` | `ConformancePackagePlan` | data | yes | `cppServiceKey` | `serviceKey` | `!ConformanceServiceKey` | `(.serviceKey)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:66` | `ConformancePackagePlan` | data | yes | `cppDirectory` | `directory` | `!FilePath` | `(.directory)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:67` | `ConformancePackagePlan` | data | yes | `cppPackageName` | `packageName` | `!Text` | `(.packageName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:68` | `ConformancePackagePlan` | data | yes | `cppRuntimePackage` | `runtimePackage` | `!RuntimePackageName` | `(.runtimePackage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:69` | `ConformancePackagePlan` | data | yes | `cppFacadeModule` | `facadeModule` | `!Text` | `(.facadeModule)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:70` | `ConformancePackagePlan` | data | yes | `cppFiles` | `files` | `![ConformanceFile]` | `(.files)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:78` | `DuplicateFactKey` | data | yes | `duplicateFactSide` | `side` | `!ConformanceFactSide` | `(.side)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:79` | `DuplicateFactKey` | data | yes | `duplicateFactKey` | `key` | `!String` | `(.key)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:101` | `ConformancePackageRecord` | data | yes | `cprSchema` | `schema` | `!Int` | `(.schema)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:102` | `ConformancePackageRecord` | data | yes | `cprServiceKey` | `serviceKey` | `!ConformanceServiceKey` | `(.serviceKey)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:103` | `ConformancePackageRecord` | data | yes | `cprRuntimePackage` | `runtimePackage` | `!RuntimePackageName` | `(.runtimePackage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:104` | `ConformancePackageRecord` | data | yes | `cprFacadeModule` | `facadeModule` | `!Text` | `(.facadeModule)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:105` | `ConformancePackageRecord` | data | yes | `cprFiles` | `files` | `![(ModuleKind, FilePath)]` | `(.files)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:113` | `ConformanceStaleFile` | data | yes | `conformanceStaleKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:114` | `ConformanceStaleFile` | data | yes | `conformanceStalePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:115` | `ConformanceStaleFile` | data | yes | `conformanceStaleBannerPresent` | `bannerPresent` | `!(Maybe Bool)` | `(.bannerPresent)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:120` | `PreparedConformancePackage` | data | no | `preparedRoot` | `root` | `!FilePath` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:121` | `PreparedConformancePackage` | data | no | `preparedPlan` | `plan` | `!ConformancePackagePlan` | `(.plan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:122` | `PreparedConformancePackage` | data | no | `preparedStale` | `stale` | `![ConformanceStaleFile]` | `(.stale)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:127` | `ConformancePackageReport` | data | yes | `conformanceReportRoot` | `root` | `!FilePath` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:128` | `ConformancePackageReport` | data | yes | `conformanceReportPlan` | `plan` | `!ConformancePackagePlan` | `(.plan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:129` | `ConformancePackageReport` | data | yes | `conformanceReportDispositions` | `dispositions` | `![(ConformanceFile, ConformanceWriteDisposition)]` | `(.dispositions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:130` | `ConformancePackageReport` | data | yes | `conformanceReportStale` | `stale` | `![ConformanceStaleFile]` | `(.stale)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:432` | `ConformanceFileRow` | data | no | `conformanceRowKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ConformancePackage.hs:433` | `ConformanceFileRow` | data | no | `conformanceRowPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:27` | `HaskellTypeOccurrence` | newtype | yes | `unHaskellTypeOccurrence` | `unHaskellTypeOccurrence` | `Text` | explicit `unHaskellTypeOccurrence` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:38` | `ImportRequirement` | data | yes | `package` | `package` | `!Text` | `(.package)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:39` | `ImportRequirement` | data | yes | `moduleName` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:40` | `ImportRequirement` | data | yes | `occurrence` | `occurrence` | `!Text` | `(.occurrence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:45` | `ConsumerTypePlan` | data | yes | `haskellType` | `haskellType` | `!HaskellTypeOccurrence` | `(.haskellType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:46` | `ConsumerTypePlan` | data | yes | `imports` | `imports` | `![ImportRequirement]` | `(.imports)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:47` | `ConsumerTypePlan` | data | yes | `dependencies` | `dependencies` | `!(Set MappedKey)` | `(.dependencies)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:48` | `ConsumerTypePlan` | data | yes | `nominalDependencies` | `nominalDependencies` | `!(Set Text)` | `(.nominalDependencies)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:162` | `RenderedType` | data | no | `rendered` | `rendered` | `!Text` | `(.rendered)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:163` | `RenderedType` | data | no | `precedence` | `precedence` | `!TypePrecedence` | `(.precedence)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:164` | `RenderedType` | data | no | `requirements` | `requirements` | `!(Set ImportRequirement)` | `(.requirements)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:165` | `RenderedType` | data | no | `mappedDependencies` | `mappedDependencies` | `!(Set MappedKey)` | `(.mappedDependencies)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ConsumerTypePlan.hs:166` | `RenderedType` | data | no | `nominalDependencies` | `nominalDependencies` | `!(Set Text)` | `(.nominalDependencies)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:67` | `RouterSelectionSnapshot` | data | yes | `selectionRouter` | `router` | `!Name` | `(.router)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:68` | `RouterSelectionSnapshot` | data | yes | `selectionVerification` | `verification` | `!SelectionVerification` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:69` | `RouterSelectionSnapshot` | data | yes | `selectionIdentity` | `identity` | `!(Maybe Text)` | `(.identity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:70` | `RouterSelectionSnapshot` | data | yes | `selectionVersion` | `version` | `!(Maybe Natural)` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:71` | `RouterSelectionSnapshot` | data | yes | `selectionFingerprint` | `fingerprint` | `!(Maybe Text)` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:76` | `CoordinationImpact` | data | yes | `coordinationRouter` | `router` | `!Name` | `(.router)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:77` | `CoordinationImpact` | data | yes | `coordinationSeverity` | `severity` | `!CoordinationSeverity` | `(.severity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:78` | `CoordinationImpact` | data | yes | `coordinationReason` | `reason` | `!CoordinationReason` | `(.reason)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:79` | `CoordinationImpact` | data | yes | `previousVerification` | `previousVerification` | `!SelectionVerification` | `(.previousVerification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:80` | `CoordinationImpact` | data | yes | `currentVerification` | `currentVerification` | `!SelectionVerification` | `(.currentVerification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:81` | `CoordinationImpact` | data | yes | `previousIdentity` | `previousIdentity` | `!(Maybe Text)` | `(.previousIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:82` | `CoordinationImpact` | data | yes | `currentIdentity` | `currentIdentity` | `!(Maybe Text)` | `(.currentIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:83` | `CoordinationImpact` | data | yes | `previousVersion` | `previousVersion` | `!(Maybe Natural)` | `(.previousVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:84` | `CoordinationImpact` | data | yes | `currentVersion` | `currentVersion` | `!(Maybe Natural)` | `(.currentVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:85` | `CoordinationImpact` | data | yes | `previousFingerprint` | `previousFingerprint` | `!(Maybe Text)` | `(.previousFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:86` | `CoordinationImpact` | data | yes | `currentFingerprint` | `currentFingerprint` | `!(Maybe Text)` | `(.currentFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:87` | `CoordinationImpact` | data | yes | `affectedUseSites` | `affectedUseSites` | `![UseSite]` | `(.affectedUseSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:92` | `RouterSelectionDrift` | data | yes | `driftRouter` | `router` | `!Name` | `(.router)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:93` | `RouterSelectionDrift` | data | yes | `driftPreviousSelection` | `previousSelection` | `!(Maybe RouterSelectionSnapshot)` | `(.previousSelection)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:94` | `RouterSelectionDrift` | data | yes | `driftCurrentSelection` | `currentSelection` | `!(Maybe RouterSelectionSnapshot)` | `(.currentSelection)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:102` | `ProcessReactionSnapshot` | data | yes | `process` | `process` | `!Name` | `(.process)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:103` | `ProcessReactionSnapshot` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:104` | `ProcessReactionSnapshot` | data | yes | `version` | `version` | `!(Maybe Natural)` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:105` | `ProcessReactionSnapshot` | data | yes | `fingerprint` | `fingerprint` | `!(Maybe Text)` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:110` | `ProcessReactionDrift` | data | yes | `process` | `process` | `!Name` | `(.process)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:111` | `ProcessReactionDrift` | data | yes | `previousReaction` | `previousReaction` | `!(Maybe ProcessReactionSnapshot)` | `(.previousReaction)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:112` | `ProcessReactionDrift` | data | yes | `currentReaction` | `currentReaction` | `!(Maybe ProcessReactionSnapshot)` | `(.currentReaction)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:302` | `RouterSelectionState` | data | no | `stateSnapshot` | `snapshot` | `!RouterSelectionSnapshot` | `(.snapshot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/CoordinationImpact.hs:303` | `RouterSelectionState` | data | no | `stateUseSites` | `useSites` | `![UseSite]` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:68` | `CoverageRoot` | data | yes | `rootSurface` | `surface` | `!CoverageSurface` | `(.surface)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:69` | `CoverageRoot` | data | yes | `rootConsumer` | `consumer` | `!Text` | `(.consumer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:70` | `CoverageRoot` | data | yes | `rootPath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:71` | `CoverageRoot` | data | yes | `rootMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:72` | `CoverageRoot` | data | yes | `rootMode` | `mode` | `!CoverageMode` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:73` | `CoverageRoot` | data | yes | `rootCanonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:74` | `CoverageRoot` | data | yes | `rootCodecIdentity` | `codecIdentity` | `!(Maybe Text)` | `(.codecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:75` | `CoverageRoot` | data | yes | `rootCodecVersion` | `codecVersion` | `!(Maybe Text)` | `(.codecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:76` | `CoverageRoot` | data | yes | `rootWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:81` | `StructuralBoundary` | data | yes | `structuralRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:82` | `StructuralBoundary` | data | yes | `structuralPath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:83` | `StructuralBoundary` | data | yes | `structuralMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:84` | `StructuralBoundary` | data | yes | `structuralCanonicalType` | `canonicalType` | `!Text` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:85` | `StructuralBoundary` | data | yes | `structuralWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:90` | `OpaqueBoundary` | data | yes | `opaqueRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:91` | `OpaqueBoundary` | data | yes | `opaquePath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:92` | `OpaqueBoundary` | data | yes | `opaqueMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:93` | `OpaqueBoundary` | data | yes | `opaqueCodecIdentity` | `codecIdentity` | `!Text` | `(.codecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:94` | `OpaqueBoundary` | data | yes | `opaqueCodecVersion` | `codecVersion` | `!Text` | `(.codecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:99` | `JsonBoundary` | data | yes | `jsonSurface` | `surface` | `!CoverageSurface` | `(.surface)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:100` | `JsonBoundary` | data | yes | `jsonRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:101` | `JsonBoundary` | data | yes | `jsonPath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:106` | `NominalBoundary` | data | yes | `root` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:107` | `NominalBoundary` | data | yes | `path` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:108` | `NominalBoundary` | data | yes | `position` | `position` | `!Text` | `(.position)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:109` | `NominalBoundary` | data | yes | `nominal` | `nominal` | `!Text` | `(.nominal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:110` | `NominalBoundary` | data | yes | `kind` | `kind` | `!Text` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:111` | `NominalBoundary` | data | yes | `prefix` | `prefix` | `!(Maybe Text)` | `(.prefix)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:112` | `NominalBoundary` | data | yes | `domainVersion` | `domainVersion` | `!(Maybe Text)` | `(.domainVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:113` | `NominalBoundary` | data | yes | `canonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:114` | `NominalBoundary` | data | yes | `ownership` | `ownership` | `!Text` | `(.ownership)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:119` | `SnapshotBoundary` | data | yes | `snapshotRoot` | `root` | `!Text` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:120` | `SnapshotBoundary` | data | yes | `snapshotAggregate` | `aggregate` | `!Text` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:121` | `SnapshotBoundary` | data | yes | `snapshotRegister` | `register` | `!Text` | `(.register)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:122` | `SnapshotBoundary` | data | yes | `snapshotMappedType` | `mappedType` | `!Text` | `(.mappedType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:123` | `SnapshotBoundary` | data | yes | `snapshotMode` | `mode` | `!CoverageMode` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:124` | `SnapshotBoundary` | data | yes | `snapshotEncoding` | `encoding` | `!Text` | `(.encoding)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:125` | `SnapshotBoundary` | data | yes | `snapshotInvalidation` | `invalidation` | `!Text` | `(.invalidation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:126` | `SnapshotBoundary` | data | yes | `snapshotWireFingerprint` | `wireFingerprint` | `!Text` | `(.wireFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:127` | `SnapshotBoundary` | data | yes | `snapshotEnabled` | `enabled` | `!Bool` | `(.enabled)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:132` | `UnsupportedSurface` | data | yes | `unsupportedSurface` | `surface` | `!Text` | `(.surface)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:133` | `UnsupportedSurface` | data | yes | `unsupportedSupport` | `support` | `!Text` | `(.support)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:134` | `UnsupportedSurface` | data | yes | `unsupportedReason` | `reason` | `!Text` | `(.reason)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:139` | `CoverageCounts` | data | yes | `totalRoots` | `totalRoots` | `!Int` | `(.totalRoots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:140` | `CoverageCounts` | data | yes | `structuralRoots` | `structuralRoots` | `!Int` | `(.structuralRoots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:141` | `CoverageCounts` | data | yes | `opaqueRoots` | `opaqueRoots` | `!Int` | `(.opaqueRoots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:142` | `CoverageCounts` | data | yes | `jsonBoundaries` | `jsonBoundaries` | `!Int` | `(.jsonBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:147` | `CoverageSummary` | data | yes | `aggregateCommandPayloads` | `aggregateCommandPayloads` | `!CoverageCounts` | `(.aggregateCommandPayloads)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:148` | `CoverageSummary` | data | yes | `privateEventPayloads` | `privateEventPayloads` | `!CoverageCounts` | `(.privateEventPayloads)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:149` | `CoverageSummary` | data | yes | `snapshotRegisters` | `snapshotRegisters` | `!CoverageCounts` | `(.snapshotRegisters)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:150` | `CoverageSummary` | data | yes | `workqueuePayloads` | `workqueuePayloads` | `!CoverageCounts` | `(.workqueuePayloads)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:151` | `CoverageSummary` | data | yes | `readModelQueryInputs` | `readModelQueryInputs` | `!CoverageCounts` | `(.readModelQueryInputs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:152` | `CoverageSummary` | data | yes | `readModelQueryResults` | `readModelQueryResults` | `!CoverageCounts` | `(.readModelQueryResults)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:153` | `CoverageSummary` | data | yes | `projectionTypedConsumers` | `projectionTypedConsumers` | `!CoverageCounts` | `(.projectionTypedConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:158` | `CoverageFinding` | data | yes | `findingSeverity` | `severity` | `!Severity` | `(.severity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:159` | `CoverageFinding` | data | yes | `findingCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:160` | `CoverageFinding` | data | yes | `findingRoots` | `roots` | `![Text]` | `(.roots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:161` | `CoverageFinding` | data | yes | `findingMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:166` | `CoveragePrevious` | data | yes | `previousReference` | `reference` | `!Text` | `(.reference)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:167` | `CoveragePrevious` | data | yes | `previousSummary` | `summary` | `!CoverageSummary` | `(.summary)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:168` | `CoveragePrevious` | data | yes | `previousOpaqueBoundaries` | `opaqueBoundaries` | `![OpaqueBoundary]` | `(.opaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:173` | `CoverageDelta` | data | yes | `aggregateCommandRootDelta` | `aggregateCommandRootDelta` | `!Int` | `(.aggregateCommandRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:174` | `CoverageDelta` | data | yes | `privateEventRootDelta` | `privateEventRootDelta` | `!Int` | `(.privateEventRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:175` | `CoverageDelta` | data | yes | `snapshotRegisterRootDelta` | `snapshotRegisterRootDelta` | `!Int` | `(.snapshotRegisterRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:176` | `CoverageDelta` | data | yes | `workqueuePayloadRootDelta` | `workqueuePayloadRootDelta` | `!Int` | `(.workqueuePayloadRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:177` | `CoverageDelta` | data | yes | `readModelQueryInputRootDelta` | `readModelQueryInputRootDelta` | `!Int` | `(.readModelQueryInputRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:178` | `CoverageDelta` | data | yes | `readModelQueryResultRootDelta` | `readModelQueryResultRootDelta` | `!Int` | `(.readModelQueryResultRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:179` | `CoverageDelta` | data | yes | `projectionTypedConsumerRootDelta` | `projectionTypedConsumerRootDelta` | `!Int` | `(.projectionTypedConsumerRootDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:180` | `CoverageDelta` | data | yes | `opaqueBoundaryDelta` | `opaqueBoundaryDelta` | `!Int` | `(.opaqueBoundaryDelta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:181` | `CoverageDelta` | data | yes | `addedOpaqueBoundaries` | `addedOpaqueBoundaries` | `![OpaqueBoundary]` | `(.addedOpaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:182` | `CoverageDelta` | data | yes | `removedOpaqueBoundaries` | `removedOpaqueBoundaries` | `![OpaqueBoundary]` | `(.removedOpaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:187` | `CoverageReport` | data | yes | `coverageSpec` | `spec` | `!FilePath` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:188` | `CoverageReport` | data | yes | `coverageRoots` | `roots` | `![CoverageRoot]` | `(.roots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:189` | `CoverageReport` | data | yes | `coverageStructuralBoundaries` | `structuralBoundaries` | `![StructuralBoundary]` | `(.structuralBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:190` | `CoverageReport` | data | yes | `coverageOpaqueBoundaries` | `opaqueBoundaries` | `![OpaqueBoundary]` | `(.opaqueBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:191` | `CoverageReport` | data | yes | `coverageJsonBoundaries` | `jsonBoundaries` | `![JsonBoundary]` | `(.jsonBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:192` | `CoverageReport` | data | yes | `nominalBoundaries` | `nominalBoundaries` | `![NominalBoundary]` | `(.nominalBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:193` | `CoverageReport` | data | yes | `coverageSnapshotBoundaries` | `snapshotBoundaries` | `![SnapshotBoundary]` | `(.snapshotBoundaries)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:194` | `CoverageReport` | data | yes | `coverageUnsupportedSurfaces` | `unsupportedSurfaces` | `![UnsupportedSurface]` | `(.unsupportedSurfaces)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:195` | `CoverageReport` | data | yes | `coverageSummary` | `summary` | `!CoverageSummary` | `(.summary)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:196` | `CoverageReport` | data | yes | `coverageFindings` | `findings` | `![CoverageFinding]` | `(.findings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:197` | `CoverageReport` | data | yes | `coveragePrevious` | `previous` | `!(Maybe CoveragePrevious)` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Coverage.hs:198` | `CoverageReport` | data | yes | `coverageDelta` | `delta` | `!(Maybe CoverageDelta)` | `(.delta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:143` | `CompatibilityVector` | data | yes | `cvPrivateHistoryRead` | `privateHistoryRead` | `!SurfaceVerdict` | `(.privateHistoryRead)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:144` | `CompatibilityVector` | data | yes | `cvOldBinaryReadNewEvents` | `oldBinaryReadNewEvents` | `!SurfaceVerdict` | `(.oldBinaryReadNewEvents)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:145` | `CompatibilityVector` | data | yes | `cvSnapshotHydration` | `snapshotHydration` | `!SurfaceVerdict` | `(.snapshotHydration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:146` | `CompatibilityVector` | data | yes | `cvPublicConsumer` | `publicConsumer` | `!SurfaceVerdict` | `(.publicConsumer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:147` | `CompatibilityVector` | data | yes | `cvPersistedIdentity` | `persistedIdentity` | `!SurfaceVerdict` | `(.persistedIdentity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:148` | `CompatibilityVector` | data | yes | `cvConsumerBuild` | `consumerBuild` | `!SurfaceVerdict` | `(.consumerBuild)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:149` | `CompatibilityVector` | data | yes | `cvRollout` | `rollout` | `!(Set RolloutConstraint)` | `(.rollout)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:162` | `MappedPersistedImpact` | data | yes | `mappedPersistedSurface` | `surface` | `!MappedPersistedSurface` | `(.surface)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:163` | `MappedPersistedImpact` | data | yes | `mappedPersistedVerdict` | `verdict` | `!SurfaceVerdict` | `(.verdict)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:184` | `ChangeContext` | data | no | `changeContextRoot` | `root` | `!Name` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:185` | `ChangeContext` | data | no | `changeContextPaths` | `paths` | `![Text]` | `(.paths)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:186` | `ChangeContext` | data | no | `contextKind` | `contextKind` | `!ContextKind` | `(.contextKind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:187` | `ChangeContext` | data | no | `contextOriginalLabel` | `contextOriginalLabel` | `!Label` | `(.contextOriginalLabel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:198` | `ChangeKind` | data | yes | `ckNode` | `node` | `!Name` | `(.node)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:199` | `ChangeKind` | data | yes | `ckFacet` | `facet` | `!Text` | `(.facet)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:200` | `ChangeKind` | data | yes | `ckSubject` | `subject` | `!Text` | `(.subject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:201` | `ChangeKind` | data | yes | `ckCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:202` | `ChangeKind` | data | yes | `ckContext` | `context` | `!ChangeContext` | `(.context)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:203` | `ChangeKind` | data | yes | `ckVector` | `vector` | `!CompatibilityVector` | `(.vector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:204` | `ChangeKind` | data | yes | `ckMappedPersistedImpact` | `mappedPersistedImpact` | `!(Maybe MappedPersistedImpact)` | `(.mappedPersistedImpact)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:205` | `ChangeKind` | data | yes | `ckMappedConsequences` | `mappedConsequences` | `!(Set MappedConsequence)` | `(.mappedConsequences)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:206` | `ChangeKind` | data | yes | `ckPaths` | `paths` | `![Text]` | `(.paths)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:207` | `ChangeKind` | data | yes | `ckDetail` | `detail` | `!Text` | `(.detail)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:734` | `DiffEnv` | data | yes | `deOld` | `old` | `!Spec` | `(.old)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:735` | `DiffEnv` | data | yes | `deNew` | `new` | `!Spec` | `(.new)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:736` | `DiffEnv` | data | yes | `oldService` | `oldService` | `!CheckedService` | `(.oldService)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:737` | `DiffEnv` | data | yes | `newService` | `newService` | `!CheckedService` | `(.newService)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:738` | `DiffEnv` | data | yes | `newValidationErrors` | `newValidationErrors` | `![Diagnostic]` | `(.newValidationErrors)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:790` | `Paired` | data | yes | `prMatched` | `matched` | `![(n, n)]` | `(.matched)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:791` | `Paired` | data | yes | `prAdded` | `added` | `![n]` | `(.added)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:792` | `Paired` | data | yes | `prRemoved` | `removed` | `![n]` | `(.removed)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:1856` | `GuardProposal` | data | no | `proposalBody` | `body` | `!ReplayBodyDelta` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:1857` | `GuardProposal` | data | no | `proposalTwin` | `twin` | `!Transition` | `(.twin)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2246` | `EventFieldSig` | data | no | `eventFieldDslName` | `dslName` | `!Name` | `(.dslName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2247` | `EventFieldSig` | data | no | `eventFieldSelector` | `selector` | `!Name` | `(.selector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2248` | `EventFieldSig` | data | no | `eventFieldWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Diff.hs:2249` | `EventFieldSig` | data | no | `eventFieldType` | `valueType` | `!(Maybe TypeExpr)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:76` | `DiffReport` | data | no | `reportGate` | `gate` | `!(Set CompatibilitySurface)` | `(.gate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:77` | `DiffReport` | data | no | `reportFindings` | `findings` | `![Change]` | `(.findings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:78` | `DiffReport` | data | no | `reportSemanticImpact` | `semanticImpact` | `!(Maybe [MappedImpactDelta])` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:79` | `DiffReport` | data | no | `reportCoordinationImpact` | `coordinationImpact` | `!(Maybe [CoordinationImpact])` | `(.coordinationImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:99` | `OwnedSite` | data | yes | `osFile` | `file` | `!FilePath` | `(.file)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:100` | `OwnedSite` | data | yes | `osLine` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:106` | `WorkspaceChange` | data | yes | `wcChange` | `change` | `!Change` | `(.change)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:107` | `WorkspaceChange` | data | yes | `wcDeclarationSite` | `declarationSite` | `!(Maybe OwnedSite)` | `(.declarationSite)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:108` | `WorkspaceChange` | data | yes | `wcUseSites` | `useSites` | `![(Text, Maybe OwnedSite)]` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:114` | `WorkspaceMeta` | data | yes | `wmIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:115` | `WorkspaceMeta` | data | yes | `wmManifest` | `manifest` | `!FilePath` | `(.manifest)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:116` | `WorkspaceMeta` | data | yes | `wmSince` | `since` | `!Text` | `(.since)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:117` | `WorkspaceMeta` | data | yes | `wmMembersOld` | `membersOld` | `![FilePath]` | `(.membersOld)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:118` | `WorkspaceMeta` | data | yes | `wmMembersNew` | `membersNew` | `![FilePath]` | `(.membersNew)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:119` | `WorkspaceMeta` | data | yes | `wmAdoptionBaseline` | `adoptionBaseline` | `!Bool` | `(.adoptionBaseline)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:124` | `WorkspaceDiffReport` | data | no | `workspaceReportMeta` | `meta` | `!WorkspaceMeta` | `(.meta)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:125` | `WorkspaceDiffReport` | data | no | `workspaceReportGate` | `gate` | `!(Set CompatibilitySurface)` | `(.gate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:126` | `WorkspaceDiffReport` | data | no | `workspaceReportFindings` | `findings` | `![WorkspaceChange]` | `(.findings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:127` | `WorkspaceDiffReport` | data | no | `workspaceReportSemanticImpact` | `semanticImpact` | `!(Maybe [MappedImpactDelta])` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/DiffReport.hs:128` | `WorkspaceDiffReport` | data | no | `workspaceReportCoordinationImpact` | `coordinationImpact` | `!(Maybe [CoordinationImpact])` | `(.coordinationImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:36` | `CheckedFieldCopy` | data | yes | `outputSelector` | `outputSelector` | `!Name` | `(.outputSelector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:37` | `CheckedFieldCopy` | data | yes | `outputWireName` | `outputWireName` | `!Text` | `(.outputWireName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:38` | `CheckedFieldCopy` | data | yes | `outputFieldType` | `outputFieldType` | `!ResolvedAggregateType` | `(.outputFieldType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:43` | `OutputObligationKey` | newtype | yes | `unOutputObligationKey` | `unOutputObligationKey` | `Text` | explicit `unOutputObligationKey` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:52` | `EventOutputMapping` | data | yes | `outputSourceCommand` | `sourceCommand` | `!Name` | `(.sourceCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:53` | `EventOutputMapping` | data | yes | `outputFields` | `fields` | `![CheckedFieldCopy]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:56` | `EventOutputMapping` | data | yes | `outputObligation` | `obligation` | `!OutputObligationKey` | `(.obligation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:64` | `EventOutputError` | data | yes | `declaredSourceCommand` | `declaredSourceCommand` | `!Name` | `(.declaredSourceCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:65` | `EventOutputError` | data | yes | `consumingTransitionCommand` | `consumingTransitionCommand` | `!Name` | `(.consumingTransitionCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/EventOutput.hs:66` | `EventOutputError` | data | yes | `emittedEventName` | `emittedEventName` | `!Name` | `(.emittedEventName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:51` | `BindingObligation` | data | yes | `obligationMappedName` | `mappedName` | `!Name` | `(.mappedName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:52` | `BindingObligation` | data | yes | `obligationPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:53` | `BindingObligation` | data | yes | `obligationModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:54` | `BindingObligation` | data | yes | `obligationSymbol` | `symbol` | `!Text` | `(.symbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:55` | `BindingObligation` | data | yes | `obligationKind` | `kind` | `!BindingObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:56` | `BindingObligation` | data | yes | `obligationSignature` | `signature` | `!Text` | `(.signature)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:57` | `BindingObligation` | data | yes | `obligationUseSites` | `useSites` | `![Text]` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:58` | `BindingObligation` | data | yes | `obligationBindingVersion` | `bindingVersion` | `!(Maybe Text)` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:59` | `BindingObligation` | data | yes | `obligationCanonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:60` | `BindingObligation` | data | yes | `obligationEqualityContract` | `equalityContract` | `!(Maybe Text)` | `(.equalityContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:61` | `BindingObligation` | data | yes | `obligationIdDomainContract` | `idDomainContract` | `!(Maybe Text)` | `(.idDomainContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:62` | `BindingObligation` | data | yes | `obligationCategory` | `category` | `!Text` | `(.category)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:67` | `BindingHole` | data | yes | `holeMappedName` | `mappedName` | `!Name` | `(.mappedName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:68` | `BindingHole` | data | yes | `holeModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:69` | `BindingHole` | data | yes | `holeSymbol` | `symbol` | `!Text` | `(.symbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:70` | `BindingHole` | data | yes | `holeKind` | `kind` | `!BindingObligationKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:71` | `BindingHole` | data | yes | `holePath` | `path` | `!(Maybe Text)` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ExplainBindings.hs:72` | `BindingHole` | data | yes | `holeSignature` | `signature` | `!Text` | `(.signature)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:46` | `ExpressionEnvironment` | data | no | `environmentSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:47` | `ExpressionEnvironment` | data | no | `environmentAggregate` | `aggregate` | `!Aggregate` | `(.aggregate)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:48` | `ExpressionEnvironment` | data | no | `environmentTransition` | `transition` | `!Transition` | `(.transition)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:49` | `ExpressionEnvironment` | data | no | `environmentSymbols` | `symbols` | `!AggregateSymbols` | `(.symbols)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:50` | `ExpressionEnvironment` | data | no | `environmentTypeGraph` | `typeGraph` | `!(Maybe TypeGraph)` | `(.typeGraph)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:89` | `ResolvedScalarProjection` | data | yes | `scalarProjectionOwner` | `owner` | `!MappedKey` | `(.owner)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:90` | `ResolvedScalarProjection` | data | yes | `scalarProjectionPointer` | `pointer` | `!Text` | `(.pointer)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:91` | `ResolvedScalarProjection` | data | yes | `scalarProjectionFields` | `fields` | `![Name]` | `(.fields)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:92` | `ResolvedScalarProjection` | data | yes | `terminalNominal` | `terminalNominal` | `!(Maybe NominalLeaf)` | `(.terminalNominal)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:129` | `TypedScalarExpr` | data | yes | `typedScalarType` | `valueType` | `!ResolvedAggregateType` | `(.valueType)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:130` | `TypedScalarExpr` | data | yes | `typedScalarLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:131` | `TypedScalarExpr` | data | yes | `typedScalarNode` | `node` | `!TypedScalarNode` | `(.node)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:157` | `ExpressionDiagnostic` | data | yes | `expressionDiagnosticLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:158` | `ExpressionDiagnostic` | data | yes | `expressionDiagnosticCode` | `code` | `!ExpressionDiagnosticCode` | `(.code)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Expression.hs:159` | `ExpressionDiagnostic` | data | yes | `expressionDiagnosticMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:18` | `ResolvedFieldIdentity` | data | no | `fieldDslName` | `dslName` | `!Name` | `(.dslName)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:19` | `ResolvedFieldIdentity` | data | no | `fieldSelector` | `selector` | `!Text` | `(.selector)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:20` | `ResolvedFieldIdentity` | data | no | `fieldWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/FieldIdentity.hs:21` | `ResolvedFieldIdentity` | data | no | `fieldLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:89` | `FoldEvidence` | data | no | `canonicalSegments` | `canonicalSegments` | `![Text]` | `(.canonicalSegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:90` | `FoldEvidence` | data | no | `aggregateSegments` | `aggregateSegments` | `![Text]` | `(.aggregateSegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:91` | `FoldEvidence` | data | no | `eventSegments` | `eventSegments` | `!(Map.Map Name (Set Text))` | `(.eventSegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:92` | `FoldEvidence` | data | no | `bodySegments` | `bodySegments` | `!(Map.Map (TransitionFamilyKey, ReplayBodyKey) BodyEvidence)` | `(.bodySegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:96` | `BodyEvidence` | data | no | `outputSegments` | `outputSegments` | `!(Set Text)` | `(.outputSegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:97` | `BodyEvidence` | data | no | `ruleSegments` | `ruleSegments` | `!(Map.Map Name Text)` | `(.ruleSegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:98` | `BodyEvidence` | data | no | `equalitySegments` | `equalitySegments` | `!(Map.Map Name (Set Text))` | `(.equalitySegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:99` | `BodyEvidence` | data | no | `guardEqualitySegments` | `guardEqualitySegments` | `!(Map.Map Text (Set Text))` | `(.guardEqualitySegments)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/FoldEvidence.hs:100` | `BodyEvidence` | data | no | `emittedEvents` | `emittedEvents` | `!(Set Name)` | `(.emittedEvents)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:55` | `FrontendContext` | data | no | `source` | `source` | `!FilePath` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:56` | `FrontendContext` | data | no | `language` | `language` | `!SourceLanguage` | `(.language)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:57` | `FrontendContext` | data | no | `definition` | `definition` | `!LanguageDefinition` | `(.definition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:91` | `FrontendFailure` | data | no | `phase` | `phase` | `!FrontendPhase` | `(.phase)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:92` | `FrontendFailure` | data | no | `code` | `code` | `!FrontendErrorCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:93` | `FrontendFailure` | data | no | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:94` | `FrontendFailure` | data | no | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:95` | `FrontendFailure` | data | no | `expected` | `expected` | `![Text]` | `(.expected)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:96` | `FrontendFailure` | data | no | `supportedVersions` | `supportedVersions` | `![LanguageVersion]` | `(.supportedVersions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:97` | `FrontendFailure` | data | no | `compatibility` | `compatibility` | `!ParseFailure` | `(.compatibility)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:143` | `LoweringFailure` | data | no | `code` | `code` | `!LoweringFailureCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:144` | `LoweringFailure` | data | no | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Frontend/Internal.hs:145` | `LoweringFailure` | data | no | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:42` | `GoldenPayload` | data | yes | `goldenContext` | `context` | `!Text` | `(.context)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:43` | `GoldenPayload` | data | yes | `goldenAggregate` | `aggregate` | `!Text` | `(.aggregate)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:44` | `GoldenPayload` | data | yes | `goldenEvent` | `event` | `!Text` | `(.event)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:45` | `GoldenPayload` | data | yes | `goldenVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:46` | `GoldenPayload` | data | yes | `goldenJson` | `json` | `!Text` | `(.json)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Goldens.hs:47` | `GoldenPayload` | data | yes | `goldenEvidence` | `evidence` | `!GoldenEvidence` | `(.evidence)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:214` | `Loc` | newtype | yes | `unLoc` | `unLoc` | `Int` | explicit `unLoc` positional function | rendered/canonical output | `deriving stock (Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:231` | `IdDecl` | data | yes | `idName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:232` | `IdDecl` | data | yes | `idPrefix` | `prefix` | `!Text` | `(.prefix)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:233` | `IdDecl` | data | yes | `admission` | `admission` | `!IdAdmission` | `(.admission)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:234` | `IdDecl` | data | yes | `idBinding` | `binding` | `!(Maybe NominalBindingDecl)` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:235` | `IdDecl` | data | yes | `idLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:242` | `EnumDecl` | data | yes | `enumName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:243` | `EnumDecl` | data | yes | `enumCtors` | `ctors` | `![(Name, Text)]` | `(.ctors)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:244` | `EnumDecl` | data | yes | `enumBinding` | `binding` | `!(Maybe NominalBindingDecl)` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:245` | `EnumDecl` | data | yes | `enumLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:253` | `RuleDecl` | data | yes | `ruleName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:254` | `RuleDecl` | data | yes | `ruleDomain` | `domain` | `!Name` | `(.domain)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:255` | `RuleDecl` | data | yes | `ruleCodomain` | `codomain` | `!Name` | `(.codomain)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:256` | `RuleDecl` | data | yes | `ruleCases` | `cases` | `![(Name, Expr)]` | `(.cases)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:257` | `RuleDecl` | data | yes | `ruleLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:300` | `WireField` | data | yes | `wfHaskell` | `haskell` | `!Name` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:301` | `WireField` | data | yes | `wfKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:302` | `WireField` | data | yes | `wfType` | `valueType` | `!TypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:303` | `WireField` | data | yes | `wfPresence` | `presence` | `!Presence` | `(.presence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:304` | `WireField` | data | yes | `wfOnMissing` | `onMissing` | `!(Maybe OnMissing)` | `(.onMissing)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:305` | `WireField` | data | yes | `wfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:313` | `UnionEncoding` | data | yes | `ueTagField` | `tagField` | `!Text` | `(.tagField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:314` | `UnionEncoding` | data | yes | `ueContentsField` | `contentsField` | `!Text` | `(.contentsField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:315` | `UnionEncoding` | data | yes | `ueUnknownFields` | `unknownFields` | `!UnknownFields` | `(.unknownFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:320` | `WireEnum` | data | yes | `weCtor` | `ctor` | `!Name` | `(.ctor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:321` | `WireEnum` | data | yes | `weTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:322` | `WireEnum` | data | yes | `weLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:327` | `WireArm` | data | yes | `waCtor` | `ctor` | `!Name` | `(.ctor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:328` | `WireArm` | data | yes | `waTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:329` | `WireArm` | data | yes | `waPayload` | `payload` | `!(Maybe TypeExpr)` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:330` | `WireArm` | data | yes | `waLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:349` | `HaskellSource` | data | yes | `hsPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:350` | `HaskellSource` | data | yes | `hsModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:351` | `HaskellSource` | data | yes | `hsType` | `valueType` | `!Name` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:360` | `NominalBindingDecl` | data | yes | `nominalHaskell` | `haskell` | `!(Maybe HaskellSource)` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:361` | `NominalBindingDecl` | data | yes | `nominalBinding` | `binding` | `!(Maybe Text)` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:362` | `NominalBindingDecl` | data | yes | `nominalBindingVersion` | `bindingVersion` | `!(Maybe Text)` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:363` | `NominalBindingDecl` | data | yes | `nominalCanonicalType` | `canonicalType` | `!(Maybe Text)` | `(.canonicalType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:364` | `NominalBindingDecl` | data | yes | `nominalFixtures` | `fixtures` | `!(Maybe Text)` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:365` | `NominalBindingDecl` | data | yes | `nominalInitial` | `initial` | `!(Maybe Text)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:366` | `NominalBindingDecl` | data | yes | `nominalLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:375` | `NominalScalarDecl` | data | yes | `nominalScalarName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:376` | `NominalScalarDecl` | data | yes | `nominalScalarRepresentation` | `representation` | `!Name` | `(.representation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:377` | `NominalScalarDecl` | data | yes | `nominalScalarBinding` | `binding` | `!NominalBindingDecl` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:378` | `NominalScalarDecl` | data | yes | `nominalScalarLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:385` | `MappedWriteLiftDecl` | data | yes | `source` | `source` | `!TypeExpr` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:386` | `MappedWriteLiftDecl` | data | yes | `function` | `function` | `!(Maybe Text)` | `(.function)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:387` | `MappedWriteLiftDecl` | data | yes | `version` | `version` | `!(Maybe Text)` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:388` | `MappedWriteLiftDecl` | data | yes | `fixtures` | `fixtures` | `!(Maybe Text)` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:389` | `MappedWriteLiftDecl` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:395` | `MappedDecl` | data | yes | `msName` | `msName` | `!Name` | `(.msName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:396` | `MappedDecl` | data | yes | `msHaskell` | `msHaskell` | `!(Maybe HaskellSource)` | `(.msHaskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:397` | `MappedDecl` | data | yes | `msBinding` | `msBinding` | `!(Maybe Text)` | `(.msBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:398` | `MappedDecl` | data | yes | `msBindingVersion` | `msBindingVersion` | `!(Maybe Text)` | `(.msBindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:399` | `MappedDecl` | data | yes | `msCanonical` | `msCanonical` | `!(Maybe Text)` | `(.msCanonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:400` | `MappedDecl` | data | yes | `msFixtures` | `msFixtures` | `!(Maybe Text)` | `(.msFixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:401` | `MappedDecl` | data | yes | `msInitial` | `msInitial` | `!(Maybe Text)` | `(.msInitial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:402` | `MappedDecl` | data | yes | `msWriteLift` | `msWriteLift` | `!(Maybe MappedWriteLiftDecl)` | `(.msWriteLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:403` | `MappedDecl` | data | yes | `msShape` | `msShape` | `!MappedShape` | `(.msShape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:404` | `MappedDecl` | data | yes | `msLoc` | `msLoc` | `!Loc` | `(.msLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:407` | `MappedDecl` | data | yes | `mrName` | `mrName` | `!Name` | `(.mrName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:408` | `MappedDecl` | data | yes | `mrHaskell` | `mrHaskell` | `!(Maybe HaskellSource)` | `(.mrHaskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:409` | `MappedDecl` | data | yes | `mrBinding` | `mrBinding` | `!(Maybe Text)` | `(.mrBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:410` | `MappedDecl` | data | yes | `mrBindingVersion` | `mrBindingVersion` | `!(Maybe Text)` | `(.mrBindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:411` | `MappedDecl` | data | yes | `mrCanonical` | `mrCanonical` | `!(Maybe Text)` | `(.mrCanonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:412` | `MappedDecl` | data | yes | `mrFixtures` | `mrFixtures` | `!(Maybe Text)` | `(.mrFixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:413` | `MappedDecl` | data | yes | `mrInitial` | `mrInitial` | `!(Maybe Text)` | `(.mrInitial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:414` | `MappedDecl` | data | yes | `mrPolicy` | `mrPolicy` | `!RefinedWirePolicy` | `(.mrPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:415` | `MappedDecl` | data | yes | `mrLoc` | `mrLoc` | `!Loc` | `(.mrLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:418` | `MappedDecl` | data | yes | `moName` | `moName` | `!Name` | `(.moName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:419` | `MappedDecl` | data | yes | `moHaskell` | `moHaskell` | `!(Maybe HaskellSource)` | `(.moHaskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:420` | `MappedDecl` | data | yes | `moCodecId` | `moCodecId` | `!(Maybe Text)` | `(.moCodecId)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:421` | `MappedDecl` | data | yes | `moCodecVersion` | `moCodecVersion` | `!(Maybe Text)` | `(.moCodecVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:422` | `MappedDecl` | data | yes | `moFixtures` | `moFixtures` | `!(Maybe Text)` | `(.moFixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:423` | `MappedDecl` | data | yes | `moInitial` | `moInitial` | `!(Maybe Text)` | `(.moInitial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:424` | `MappedDecl` | data | yes | `moWriteLift` | `moWriteLift` | `!(Maybe MappedWriteLiftDecl)` | `(.moWriteLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:425` | `MappedDecl` | data | yes | `moLoc` | `moLoc` | `!Loc` | `(.moLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:433` | `Mapping` | data | yes | `mapPairs` | `pairs` | `![(Name, Name)]` | `(.pairs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:434` | `Mapping` | data | yes | `mapPartial` | `partial` | `!Bool` | `(.partial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:548` | `RegDecl` | data | yes | `regName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:549` | `RegDecl` | data | yes | `regType` | `valueType` | `!TypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:550` | `RegDecl` | data | yes | `regInitial` | `initial` | `!RegInitial` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:551` | `RegDecl` | data | yes | `regLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:559` | `StateDecl` | data | yes | `stName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:560` | `StateDecl` | data | yes | `stTerminal` | `terminal` | `!Bool` | `(.terminal)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:561` | `StateDecl` | data | yes | `stLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:572` | `AggregateField` | data | yes | `aggregateFieldName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:573` | `AggregateField` | data | yes | `aggregateFieldSelector` | `selector` | `!(Maybe Name)` | `(.selector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:574` | `AggregateField` | data | yes | `aggregateFieldWireKey` | `wireKey` | `!(Maybe Text)` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:575` | `AggregateField` | data | yes | `aggregateFieldType` | `valueType` | `!(Maybe TypeExpr)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:576` | `AggregateField` | data | yes | `aggregateFieldLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:583` | `Field` | data | yes | `fieldName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:584` | `Field` | data | yes | `fieldType` | `valueType` | `!(Maybe Name)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:590` | `Command` | data | yes | `cmdName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:591` | `Command` | data | yes | `cmdFields` | `fields` | `![AggregateField]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:592` | `Command` | data | yes | `cmdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:602` | `Event` | data | yes | `evName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:603` | `Event` | data | yes | `evBody` | `body` | `!EventBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:605` | `Event` | data | yes | `evVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:608` | `Event` | data | yes | `evUpcastFrom` | `upcastFrom` | `!(Maybe (Int, Hole))` | `(.upcastFrom)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:613` | `Event` | data | yes | `evRetiring` | `retiring` | `!Bool` | `(.retiring)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:617` | `Event` | data | yes | `evDeprecated` | `deprecated` | `!Bool` | `(.deprecated)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:618` | `Event` | data | yes | `evLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:636` | `DomainOutcomeTypes` | data | yes | `rejectionType` | `rejectionType` | `!Name` | `(.rejectionType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:637` | `DomainOutcomeTypes` | data | yes | `noOpType` | `noOpType` | `!Name` | `(.noOpType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:638` | `DomainOutcomeTypes` | data | yes | `outcomeTypesLoc` | `outcomeTypesLoc` | `!Loc` | `(.outcomeTypesLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:658` | `Transition` | data | yes | `tSource` | `source` | `!Name` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:659` | `Transition` | data | yes | `tCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:660` | `Transition` | data | yes | `tImplementation` | `implementation` | `!TransitionImplementation` | `(.implementation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:661` | `Transition` | data | yes | `tGuard` | `guard` | `!(Maybe Expr)` | `(.guard)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:662` | `Transition` | data | yes | `tWrites` | `writes` | `![(Name, Expr)]` | `(.writes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:663` | `Transition` | data | yes | `tEmits` | `emits` | `![Name]` | `(.emits)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:664` | `Transition` | data | yes | `tOutcome` | `outcome` | `!(Maybe TransitionOutcome)` | `(.outcome)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:667` | `Transition` | data | yes | `tOutcomeDuplicateLocs` | `outcomeDuplicateLocs` | `![Loc]` | `(.outcomeDuplicateLocs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:668` | `Transition` | data | yes | `tGoto` | `goto` | `!Name` | `(.goto)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:669` | `Transition` | data | yes | `tMode` | `mode` | `!TransitionMode` | `(.mode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:670` | `Transition` | data | yes | `tLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:698` | `WireSpec` | data | yes | `wireKind` | `kind` | `!Text` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:699` | `WireSpec` | data | yes | `wireFields` | `fields` | `!Text` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:700` | `WireSpec` | data | yes | `wireSchemaVersion` | `schemaVersion` | `!Int` | `(.schemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:707` | `ProjectionSpec` | data | yes | `projTable` | `table` | `!Name` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:708` | `ProjectionSpec` | data | yes | `projConsistency` | `consistency` | `!(Maybe Consistency)` | `(.consistency)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:709` | `ProjectionSpec` | data | yes | `projKey` | `key` | `!Name` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:710` | `ProjectionSpec` | data | yes | `projStatusMap` | `statusMap` | `!(Maybe Mapping)` | `(.statusMap)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:711` | `ProjectionSpec` | data | yes | `projLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:724` | `SnapshotSpec` | data | yes | `snapPolicy` | `policy` | `!SnapPolicy` | `(.policy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:725` | `SnapshotSpec` | data | yes | `snapCodecVersion` | `codecVersion` | `!Int` | `(.codecVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:726` | `SnapshotSpec` | data | yes | `snapShapeHash` | `shapeHash` | `!Text` | `(.shapeHash)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:727` | `SnapshotSpec` | data | yes | `snapLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:734` | `Aggregate` | data | yes | `aggName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:735` | `Aggregate` | data | yes | `aggRegs` | `regs` | `![RegDecl]` | `(.regs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:736` | `Aggregate` | data | yes | `aggStates` | `states` | `![StateDecl]` | `(.states)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:737` | `Aggregate` | data | yes | `aggCommands` | `commands` | `![Command]` | `(.commands)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:738` | `Aggregate` | data | yes | `aggEvents` | `events` | `![Event]` | `(.events)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:739` | `Aggregate` | data | yes | `aggTransitions` | `transitions` | `![Transition]` | `(.transitions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:740` | `Aggregate` | data | yes | `aggDomainOutcomeTypes` | `domainOutcomeTypes` | `!(Maybe DomainOutcomeTypes)` | `(.domainOutcomeTypes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:743` | `Aggregate` | data | yes | `aggDomainOutcomeDuplicateLocs` | `domainOutcomeDuplicateLocs` | `![Loc]` | `(.domainOutcomeDuplicateLocs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:744` | `Aggregate` | data | yes | `aggWire` | `wire` | `!(Maybe WireSpec)` | `(.wire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:745` | `Aggregate` | data | yes | `aggProjection` | `projection` | `!(Maybe ProjectionSpec)` | `(.projection)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:746` | `Aggregate` | data | yes | `aggSnapshot` | `snapshot` | `!(Maybe SnapshotSpec)` | `(.snapshot)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:747` | `Aggregate` | data | yes | `aggLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:757` | `FieldBinding` | data | yes | `fbName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:758` | `FieldBinding` | data | yes | `fbValue` | `value` | `!(Maybe Text)` | `(.value)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:765` | `InputDecl` | data | yes | `inName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:766` | `InputDecl` | data | yes | `inFields` | `fields` | `![Field]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:767` | `InputDecl` | data | yes | `inType` | `valueType` | `!(Maybe TypeExpr)` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:771` | `InputDecl` | data | yes | `source` | `source` | `!(Maybe InputSource)` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:772` | `InputDecl` | data | yes | `inLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:779` | `InputSource` | data | yes | `intake` | `intake` | `!Name` | `(.intake)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:780` | `InputSource` | data | yes | `events` | `events` | `!(NonEmpty Name)` | `(.events)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:781` | `InputSource` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:788` | `CorrelateDecl` | data | yes | `corrField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:789` | `CorrelateDecl` | data | yes | `corrVia` | `via` | `!Name` | `(.via)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:797` | `SagaRef` | data | yes | `sagaAgg` | `agg` | `!Name` | `(.agg)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:798` | `SagaRef` | data | yes | `sagaCategory` | `category` | `!Text` | `(.category)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:809` | `DispatchDisposition` | data | yes | `onAppended` | `onAppended` | `!Disp` | `(.onAppended)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:810` | `DispatchDisposition` | data | yes | `onDuplicate` | `onDuplicate` | `!Disp` | `(.onDuplicate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:811` | `DispatchDisposition` | data | yes | `onFailed` | `onFailed` | `!Disp` | `(.onFailed)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:817` | `AdvanceNode` | data | yes | `advCommand` | `advCommand` | `!Name` | `(.advCommand)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:818` | `AdvanceNode` | data | yes | `advFields` | `advFields` | `![FieldBinding]` | `(.advFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:824` | `DispatchNode` | data | yes | `dispTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:825` | `DispatchNode` | data | yes | `dispKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:826` | `DispatchNode` | data | yes | `dispCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:827` | `DispatchNode` | data | yes | `dispFields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:828` | `DispatchNode` | data | yes | `disposition` | `osition` | `!DispatchDisposition` | `(.osition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:829` | `DispatchNode` | data | yes | `dispLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:836` | `HandleNode` | data | yes | `hOn` | `on` | `!Name` | `(.on)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:837` | `HandleNode` | data | yes | `hAdvance` | `advance` | `!AdvanceNode` | `(.advance)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:838` | `HandleNode` | data | yes | `hDispatch` | `dispatch` | `![DispatchNode]` | `(.dispatch)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:839` | `HandleNode` | data | yes | `hSchedule` | `schedule` | `!Name` | `(.schedule)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:845` | `IdExpr` | data | yes | `ideStrategy` | `strategy` | `!IdStrategy` | `(.strategy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:846` | `IdExpr` | data | yes | `idePrefix` | `prefix` | `!Text` | `(.prefix)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:847` | `IdExpr` | data | yes | `ideField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:858` | `FireAtExpr` | data | yes | `faField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:859` | `FireAtExpr` | data | yes | `faWindow` | `window` | `!Text` | `(.window)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:869` | `FireDisposition` | data | yes | `onOk` | `onOk` | `!FireOutcome` | `(.onOk)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:870` | `FireDisposition` | data | yes | `onReject` | `onReject` | `!FireOutcome` | `(.onReject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:871` | `FireDisposition` | data | yes | `onAmbiguous` | `onAmbiguous` | `!FireOutcome` | `(.onAmbiguous)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:872` | `FireDisposition` | data | yes | `onError` | `onError` | `!FireOutcome` | `(.onError)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:873` | `FireDisposition` | data | yes | `notMine` | `notMine` | `!FireOutcome` | `(.notMine)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:879` | `FireNode` | data | yes | `fireTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:880` | `FireNode` | data | yes | `fireKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:881` | `FireNode` | data | yes | `fireCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:882` | `FireNode` | data | yes | `fireFields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:883` | `FireNode` | data | yes | `fireFiredEventId` | `firedEventId` | `!IdExpr` | `(.firedEventId)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:884` | `FireNode` | data | yes | `fireDisposition` | `disposition` | `!FireDisposition` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:890` | `TimerNode` | data | yes | `tmName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:891` | `TimerNode` | data | yes | `tmId` | `id` | `!IdExpr` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:892` | `TimerNode` | data | yes | `tmFireAt` | `fireAt` | `!FireAtExpr` | `(.fireAt)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:893` | `TimerNode` | data | yes | `tmPayload` | `payload` | `![FieldBinding]` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:894` | `TimerNode` | data | yes | `tmFire` | `fire` | `!FireNode` | `(.fire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:895` | `TimerNode` | data | yes | `tmDecodeUnknown` | `decodeUnknown` | `!Name` | `(.decodeUnknown)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:896` | `TimerNode` | data | yes | `tmMaxAttempts` | `maxAttempts` | `!Int` | `(.maxAttempts)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:897` | `TimerNode` | data | yes | `tmDeadLetter` | `deadLetter` | `!Text` | `(.deadLetter)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:898` | `TimerNode` | data | yes | `tmLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:911` | `ReactionBody` | data | yes | `version` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:912` | `ReactionBody` | data | yes | `versionLoc` | `versionLoc` | `!Loc` | `(.versionLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:913` | `ReactionBody` | data | yes | `inputs` | `inputs` | `!(NonEmpty InputDecl)` | `(.inputs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:914` | `ReactionBody` | data | yes | `reactions` | `reactions` | `!(NonEmpty ReactionNode)` | `(.reactions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:915` | `ReactionBody` | data | yes | `timerPolicy` | `timerPolicy` | `!(Maybe TimerPolicy)` | `(.timerPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:916` | `ReactionBody` | data | yes | `timers` | `timers` | `![ReactionTimerNode]` | `(.timers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:921` | `ReactionNode` | data | yes | `on` | `on` | `!Name` | `(.on)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:922` | `ReactionNode` | data | yes | `arms` | `arms` | `!(NonEmpty ReactionArm)` | `(.arms)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:923` | `ReactionNode` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:928` | `ReactionArm` | data | yes | `guard` | `guard` | `!ArmGuard` | `(.guard)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:929` | `ReactionArm` | data | yes | `body` | `body` | `!ArmBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:930` | `ReactionArm` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:943` | `ArmBody` | data | yes | `advance` | `advance` | `!(Maybe AdvanceReaction)` | `(.advance)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:944` | `ArmBody` | data | yes | `followUps` | `followUps` | `![FollowUp]` | `(.followUps)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:949` | `AdvanceReaction` | data | yes | `command` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:950` | `AdvanceReaction` | data | yes | `fields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:951` | `AdvanceReaction` | data | yes | `accepted` | `accepted` | `!(Maybe [FollowUp])` | `(.accepted)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:952` | `AdvanceReaction` | data | yes | `silentNoAction` | `silentNoAction` | `!Bool` | `(.silentNoAction)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:953` | `AdvanceReaction` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:964` | `ScheduleNode` | data | yes | `timer` | `timer` | `!Name` | `(.timer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:965` | `ScheduleNode` | data | yes | `mode` | `mode` | `!ScheduleMode` | `(.mode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:966` | `ScheduleNode` | data | yes | `fireAt` | `fireAt` | `!FireAtExpr` | `(.fireAt)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:967` | `ScheduleNode` | data | yes | `bindings` | `bindings` | `![FieldBinding]` | `(.bindings)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:968` | `ScheduleNode` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:976` | `TimerPolicy` | data | yes | `maxAttempts` | `maxAttempts` | `!Int` | `(.maxAttempts)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:977` | `TimerPolicy` | data | yes | `deadLetter` | `deadLetter` | `!Text` | `(.deadLetter)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:978` | `TimerPolicy` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:983` | `ReactionTimerNode` | data | yes | `name` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:984` | `ReactionTimerNode` | data | yes | `id` | `id` | `!IdExpr` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:985` | `ReactionTimerNode` | data | yes | `payload` | `payload` | `![PayloadField]` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:986` | `ReactionTimerNode` | data | yes | `fire` | `fire` | `!FireNode` | `(.fire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:987` | `ReactionTimerNode` | data | yes | `decodeUnknown` | `decodeUnknown` | `!Name` | `(.decodeUnknown)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:988` | `ReactionTimerNode` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1005` | `ProcessNode` | data | yes | `procId` | `id` | `!Name` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1007` | `ProcessNode` | data | yes | `procName` | `name` | `!Text` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1008` | `ProcessNode` | data | yes | `procCorrelate` | `correlate` | `!CorrelateDecl` | `(.correlate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1009` | `ProcessNode` | data | yes | `procSaga` | `saga` | `!SagaRef` | `(.saga)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1010` | `ProcessNode` | data | yes | `procTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1011` | `ProcessNode` | data | yes | `procProjections` | `projections` | `![Name]` | `(.projections)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1012` | `ProcessNode` | data | yes | `body` | `body` | `!ProcessBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1013` | `ProcessNode` | data | yes | `procRejected` | `rejected` | `!PolicyChoice` | `(.rejected)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1014` | `ProcessNode` | data | yes | `procPoison` | `poison` | `!PolicyChoice` | `(.poison)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1015` | `ProcessNode` | data | yes | `procLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1032` | `RouterSelectionDecl` | data | yes | `rsIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1033` | `RouterSelectionDecl` | data | yes | `rsIdentityLoc` | `identityLoc` | `!Loc` | `(.identityLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1034` | `RouterSelectionDecl` | data | yes | `rsVersion` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1035` | `RouterSelectionDecl` | data | yes | `rsVersionLoc` | `versionLoc` | `!Loc` | `(.versionLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1036` | `RouterSelectionDecl` | data | yes | `rsQuery` | `query` | `!Name` | `(.query)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1037` | `RouterSelectionDecl` | data | yes | `rsQueryLoc` | `queryLoc` | `!Loc` | `(.queryLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1038` | `RouterSelectionDecl` | data | yes | `rsQueryInput` | `queryInput` | `!Name` | `(.queryInput)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1039` | `RouterSelectionDecl` | data | yes | `rsQueryInputLoc` | `queryInputLoc` | `!Loc` | `(.queryInputLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1040` | `RouterSelectionDecl` | data | yes | `rsPredicate` | `predicate` | `!Expr` | `(.predicate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1041` | `RouterSelectionDecl` | data | yes | `rsRecipient` | `recipient` | `!Expr` | `(.recipient)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1042` | `RouterSelectionDecl` | data | yes | `rsLimit` | `limit` | `!(Maybe (Natural, Loc))` | `(.limit)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1043` | `RouterSelectionDecl` | data | yes | `rsOrder` | `order` | `!Name` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1044` | `RouterSelectionDecl` | data | yes | `rsOrderLoc` | `orderLoc` | `!Loc` | `(.orderLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1045` | `RouterSelectionDecl` | data | yes | `rsDedupe` | `dedupe` | `!Name` | `(.dedupe)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1046` | `RouterSelectionDecl` | data | yes | `rsDedupeLoc` | `dedupeLoc` | `!Loc` | `(.dedupeLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1047` | `RouterSelectionDecl` | data | yes | `rsEmptyPolicy` | `emptyPolicy` | `!SelectionDispositionSyntax` | `(.emptyPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1048` | `RouterSelectionDecl` | data | yes | `rsEmptyPolicyLoc` | `emptyPolicyLoc` | `!Loc` | `(.emptyPolicyLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1049` | `RouterSelectionDecl` | data | yes | `rsFailurePolicy` | `failurePolicy` | `!SelectionDispositionSyntax` | `(.failurePolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1050` | `RouterSelectionDecl` | data | yes | `rsFailurePolicyLoc` | `failurePolicyLoc` | `!Loc` | `(.failurePolicyLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1051` | `RouterSelectionDecl` | data | yes | `rsRedelivery` | `redelivery` | `!Name` | `(.redelivery)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1052` | `RouterSelectionDecl` | data | yes | `rsRedeliveryLoc` | `redeliveryLoc` | `!Loc` | `(.redeliveryLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1053` | `RouterSelectionDecl` | data | yes | `rsPartial` | `partial` | `!Name` | `(.partial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1054` | `RouterSelectionDecl` | data | yes | `rsPartialLoc` | `partialLoc` | `!Loc` | `(.partialLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1055` | `RouterSelectionDecl` | data | yes | `rsLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1066` | `ResolveDecl` | data | yes | `rvSource` | `source` | `!ResolveSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1067` | `ResolveDecl` | data | yes | `rvRow` | `row` | `![Name]` | `(.row)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1068` | `ResolveDecl` | data | yes | `rvLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1073` | `RouterDispatchNode` | data | yes | `rdCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1074` | `RouterDispatchNode` | data | yes | `rdFields` | `fields` | `![FieldBinding]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1075` | `RouterDispatchNode` | data | yes | `rdDisposition` | `disposition` | `!DispatchDisposition` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1076` | `RouterDispatchNode` | data | yes | `rdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1084` | `RouterNode` | data | yes | `rtId` | `id` | `!Name` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1085` | `RouterNode` | data | yes | `rtName` | `name` | `!Text` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1086` | `RouterNode` | data | yes | `rtInput` | `input` | `!InputDecl` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1087` | `RouterNode` | data | yes | `rtKey` | `key` | `!CorrelateDecl` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1088` | `RouterNode` | data | yes | `rtResolve` | `resolve` | `!ResolveDecl` | `(.resolve)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1089` | `RouterNode` | data | yes | `rtTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1090` | `RouterNode` | data | yes | `rtProjections` | `projections` | `![Name]` | `(.projections)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1091` | `RouterNode` | data | yes | `rtDispatch` | `dispatch` | `!RouterDispatchNode` | `(.dispatch)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1092` | `RouterNode` | data | yes | `rtRejected` | `rejected` | `!PolicyChoice` | `(.rejected)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1093` | `RouterNode` | data | yes | `rtPoison` | `poison` | `!PolicyChoice` | `(.poison)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1094` | `RouterNode` | data | yes | `rtLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1140` | `ContractField` | data | yes | `cfName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1141` | `ContractField` | data | yes | `cfSelector` | `selector` | `!(Maybe Name)` | `(.selector)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1142` | `ContractField` | data | yes | `cfWireKey` | `wireKey` | `!(Maybe Text)` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1143` | `ContractField` | data | yes | `cfType` | `valueType` | `!ContractType` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1144` | `ContractField` | data | yes | `cfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1150` | `ContractEvent` | data | yes | `ceName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1151` | `ContractEvent` | data | yes | `ceTopic` | `topic` | `!Name` | `(.topic)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1152` | `ContractEvent` | data | yes | `ceFields` | `fields` | `![ContractField]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1160` | `ContractNode` | data | yes | `ctrName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1161` | `ContractNode` | data | yes | `ctrSchemaVersion` | `schemaVersion` | `!Int` | `(.schemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1162` | `ContractNode` | data | yes | `ctrDiscriminator` | `discriminator` | `!ContractDiscriminator` | `(.discriminator)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1164` | `ContractNode` | data | yes | `ctrTopics` | `topics` | `![(Name, Text)]` | `(.topics)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1165` | `ContractNode` | data | yes | `ctrEvents` | `events` | `![ContractEvent]` | `(.events)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1166` | `ContractNode` | data | yes | `ctrLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1182` | `BindRow` | data | yes | `brField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1183` | `BindRow` | data | yes | `brSource` | `source` | `!WireSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1184` | `BindRow` | data | yes | `brRequired` | `required` | `!Bool` | `(.required)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1185` | `BindRow` | data | yes | `brCrossCheck` | `crossCheck` | `!Bool` | `(.crossCheck)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1201` | `DispositionRow` | data | yes | `drOutcome` | `outcome` | `!Name` | `(.outcome)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1202` | `DispositionRow` | data | yes | `drAction` | `action` | `!InboxAction` | `(.action)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1203` | `DispositionRow` | data | yes | `drLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1210` | `DecodeSpec` | data | yes | `decEnvelope` | `envelope` | `!Text` | `(.envelope)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1211` | `DecodeSpec` | data | yes | `decBodyStrict` | `bodyStrict` | `!Bool` | `(.bodyStrict)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1212` | `DecodeSpec` | data | yes | `decBodySchemaVersion` | `bodySchemaVersion` | `!Int` | `(.bodySchemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1228` | `IntakeNode` | data | yes | `inkName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1229` | `IntakeNode` | data | yes | `inkContract` | `contract` | `!Name` | `(.contract)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1230` | `IntakeNode` | data | yes | `inkTopic` | `topic` | `!Name` | `(.topic)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1231` | `IntakeNode` | data | yes | `inkAccept` | `accept` | `![Name]` | `(.accept)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1232` | `IntakeNode` | data | yes | `inkBinds` | `binds` | `![BindRow]` | `(.binds)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1233` | `IntakeNode` | data | yes | `inkDedupeKey` | `dedupeKey` | `!Name` | `(.dedupeKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1234` | `IntakeNode` | data | yes | `inkDedupePolicy` | `dedupePolicy` | `!Name` | `(.dedupePolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1235` | `IntakeNode` | data | yes | `idempotence` | `idempotence` | `!IdempotenceMode` | `(.idempotence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1236` | `IntakeNode` | data | yes | `inkPersist` | `persist` | `!InkPersist` | `(.persist)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1237` | `IntakeNode` | data | yes | `inkDecode` | `decode` | `!DecodeSpec` | `(.decode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1238` | `IntakeNode` | data | yes | `inkDisposition` | `disposition` | `![DispositionRow]` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1239` | `IntakeNode` | data | yes | `inkLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1246` | `DeriveSpec` | newtype | yes | `dsPrefix` | `dsPrefix` | `Maybe Text` | `(.dsPrefix)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1251` | `EmitMapRow` | data | yes | `emrValue` | `value` | `!Text` | `(.value)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1252` | `EmitMapRow` | data | yes | `emrEvent` | `event` | `!Name` | `(.event)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1253` | `EmitMapRow` | data | yes | `emrLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1260` | `EmitNode` | data | yes | `emName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1261` | `EmitNode` | data | yes | `emContract` | `contract` | `!Name` | `(.contract)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1262` | `EmitNode` | data | yes | `emTopic` | `topic` | `!Name` | `(.topic)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1263` | `EmitNode` | data | yes | `emSource` | `source` | `!Text` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1264` | `EmitNode` | data | yes | `emKey` | `key` | `!Name` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1265` | `EmitNode` | data | yes | `emDiscriminant` | `discriminant` | `!Name` | `(.discriminant)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1266` | `EmitNode` | data | yes | `emMap` | `map` | `![EmitMapRow]` | `(.map)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1268` | `EmitNode` | data | yes | `emSkip` | `skip` | `!Bool` | `(.skip)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1269` | `EmitNode` | data | yes | `emMessageId` | `messageId` | `!DeriveSpec` | `(.messageId)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1270` | `EmitNode` | data | yes | `emIdempotencyKey` | `idempotencyKey` | `!DeriveSpec` | `(.idempotencyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1271` | `EmitNode` | data | yes | `emLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1277` | `BackoffSpec` | data | yes | `boKind` | `kind` | `!Name` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1278` | `BackoffSpec` | data | yes | `boWindow` | `window` | `!Text` | `(.window)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1279` | `BackoffSpec` | data | yes | `boMax` | `max` | `!(Maybe Text)` | `(.max)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1280` | `BackoffSpec` | data | yes | `boMultiplier` | `multiplier` | `!(Maybe Text)` | `(.multiplier)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1286` | `PublisherNode` | data | yes | `pubName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1287` | `PublisherNode` | data | yes | `pubEmit` | `emit` | `!Name` | `(.emit)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1288` | `PublisherNode` | data | yes | `pubOrdering` | `ordering` | `!Name` | `(.ordering)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1289` | `PublisherNode` | data | yes | `pubMaxAttempts` | `maxAttempts` | `!Int` | `(.maxAttempts)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1290` | `PublisherNode` | data | yes | `pubBackoff` | `backoff` | `!BackoffSpec` | `(.backoff)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1292` | `PublisherNode` | data | yes | `pubOutboxField` | `outboxField` | `!Name` | `(.outboxField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1293` | `PublisherNode` | data | yes | `pubLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1323` | `WqField` | data | yes | `wqfName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1324` | `WqField` | data | yes | `wqfWire` | `wire` | `!Text` | `(.wire)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1325` | `WqField` | data | yes | `wqfType` | `valueType` | `!QueuePayloadType` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1326` | `WqField` | data | yes | `wqfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1333` | `WqDispRow` | data | yes | `wqdOutcome` | `outcome` | `!Name` | `(.outcome)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1334` | `WqDispRow` | data | yes | `wqdAction` | `action` | `!InboxAction` | `(.action)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1335` | `WqDispRow` | data | yes | `wqdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1345` | `WqGroupKey` | data | yes | `gkField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1346` | `WqGroupKey` | data | yes | `gkVia` | `via` | `!Name` | `(.via)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1347` | `WqGroupKey` | data | yes | `gkFixture` | `fixture` | `!(Maybe Text)` | `(.fixture)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1362` | `WorkqueueNode` | data | yes | `wqName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1363` | `WorkqueueNode` | data | yes | `wqLogical` | `logical` | `!Text` | `(.logical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1364` | `WorkqueueNode` | data | yes | `wqPhysical` | `physical` | `!Text` | `(.physical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1365` | `WorkqueueNode` | data | yes | `wqDlq` | `dlq` | `!Text` | `(.dlq)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1366` | `WorkqueueNode` | data | yes | `wqTable` | `table` | `!Text` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1367` | `WorkqueueNode` | data | yes | `wqOrdering` | `ordering` | `!WqOrdering` | `(.ordering)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1368` | `WorkqueueNode` | data | yes | `wqGroupKey` | `groupKey` | `!(Maybe WqGroupKey)` | `(.groupKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1369` | `WorkqueueNode` | data | yes | `wqProvision` | `provision` | `!WqProvision` | `(.provision)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1370` | `WorkqueueNode` | data | yes | `wqPayloadName` | `payloadName` | `!Name` | `(.payloadName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1371` | `WorkqueueNode` | data | yes | `wqPayload` | `payload` | `![WqField]` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1372` | `WorkqueueNode` | data | yes | `wqMaxRetries` | `maxRetries` | `!Int` | `(.maxRetries)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1373` | `WorkqueueNode` | data | yes | `wqDelay` | `delay` | `!Text` | `(.delay)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1374` | `WorkqueueNode` | data | yes | `wqDlqOn` | `dlqOn` | `!Bool` | `(.dlqOn)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1375` | `WorkqueueNode` | data | yes | `wqDisposition` | `disposition` | `![WqDispRow]` | `(.disposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1376` | `WorkqueueNode` | data | yes | `wqLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1383` | `PgmqDispatchNode` | data | yes | `pdName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1384` | `PgmqDispatchNode` | data | yes | `pdSourceReadModel` | `sourceReadModel` | `!Name` | `(.sourceReadModel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1385` | `PgmqDispatchNode` | data | yes | `pdSourceKey` | `sourceKey` | `!Name` | `(.sourceKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1386` | `PgmqDispatchNode` | data | yes | `pdFanoutBody` | `fanoutBody` | `!Name` | `(.fanoutBody)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1387` | `PgmqDispatchNode` | data | yes | `pdDedupKey` | `dedupKey` | `!Name` | `(.dedupKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1388` | `PgmqDispatchNode` | data | yes | `pdDedupReadModel` | `dedupReadModel` | `!Name` | `(.dedupReadModel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1389` | `PgmqDispatchNode` | data | yes | `pdDedupReadModelField` | `dedupReadModelField` | `!Text` | `(.dedupReadModelField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1390` | `PgmqDispatchNode` | data | yes | `pdDedupQueue` | `dedupQueue` | `!Name` | `(.dedupQueue)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1391` | `PgmqDispatchNode` | data | yes | `pdDedupQueueField` | `dedupQueueField` | `!Text` | `(.dedupQueueField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1392` | `PgmqDispatchNode` | data | yes | `pdEnqueueTo` | `enqueueTo` | `!Name` | `(.enqueueTo)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1393` | `PgmqDispatchNode` | data | yes | `pdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1401` | `RmColumn` | data | yes | `rmcName` | `rmcName` | `!Text` | `(.rmcName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1402` | `RmColumn` | data | yes | `rmcType` | `rmcType` | `!Text` | `(.rmcType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1403` | `RmColumn` | data | yes | `rmcRequired` | `rmcRequired` | `!Bool` | `(.rmcRequired)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1432` | `ReadModelSupply` | data | yes | `legacyConsistency` | `legacyConsistency` | `!Consistency` | `(.legacyConsistency)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1433` | `ReadModelSupply` | data | yes | `legacyScope` | `legacyScope` | `!(Maybe RmScope)` | `(.legacyScope)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1434` | `ReadModelSupply` | data | yes | `legacyFeed` | `legacyFeed` | `!RmFeed` | `(.legacyFeed)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1435` | `ReadModelSupply` | data | yes | `legacySubscription` | `legacySubscription` | `!(Maybe Text)` | `(.legacySubscription)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1443` | `ReadModelQueryTypes` | data | yes | `input` | `input` | `!TypeExpr` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1444` | `ReadModelQueryTypes` | data | yes | `result` | `result` | `!TypeExpr` | `(.result)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1445` | `ReadModelQueryTypes` | data | yes | `inputLoc` | `inputLoc` | `!Loc` | `(.inputLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1446` | `ReadModelQueryTypes` | data | yes | `resultLoc` | `resultLoc` | `!Loc` | `(.resultLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1453` | `ReadModelNode` | data | yes | `rmName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1454` | `ReadModelNode` | data | yes | `rmTable` | `table` | `!Text` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1455` | `ReadModelNode` | data | yes | `rmSchema` | `schema` | `!Text` | `(.schema)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1456` | `ReadModelNode` | data | yes | `rmColumns` | `columns` | `![RmColumn]` | `(.columns)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1457` | `ReadModelNode` | data | yes | `rmVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1458` | `ReadModelNode` | data | yes | `rmShape` | `shape` | `!Text` | `(.shape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1459` | `ReadModelNode` | data | yes | `rmFreshness` | `freshness` | `!QueryFreshnessNode` | `(.freshness)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1460` | `ReadModelNode` | data | yes | `rmSupply` | `supply` | `!ReadModelSupply` | `(.supply)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1461` | `ReadModelNode` | data | yes | `rmGroup` | `group` | `!(Maybe Name)` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1462` | `ReadModelNode` | data | yes | `rmObservedTargets` | `observedTargets` | `![Name]` | `(.observedTargets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1463` | `ReadModelNode` | data | yes | `rmBackingTarget` | `backingTarget` | `!(Maybe Name)` | `(.backingTarget)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1464` | `ReadModelNode` | data | yes | `queryTypes` | `queryTypes` | `!(Maybe ReadModelQueryTypes)` | `(.queryTypes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1465` | `ReadModelNode` | data | yes | `rmLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1496` | `ProjectionTargetNode` | data | yes | `ptName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1497` | `ProjectionTargetNode` | data | yes | `ptSchema` | `schema` | `!Text` | `(.schema)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1498` | `ProjectionTargetNode` | data | yes | `ptTable` | `table` | `!Text` | `(.table)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1499` | `ProjectionTargetNode` | data | yes | `ptReset` | `reset` | `!TargetResetPolicy` | `(.reset)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1500` | `ProjectionTargetNode` | data | yes | `ptDependsOn` | `dependsOn` | `![Name]` | `(.dependsOn)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1501` | `ProjectionTargetNode` | data | yes | `ptLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1507` | `RebuildGroupNode` | data | yes | `rgName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1508` | `RebuildGroupNode` | data | yes | `rgTargets` | `targets` | `![Name]` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1509` | `RebuildGroupNode` | data | yes | `rgOrder` | `order` | `![Name]` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1510` | `RebuildGroupNode` | data | yes | `rgLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1521` | `PromotionObjectNode` | data | yes | `rpoKind` | `kind` | `!PromotionObjectKindNode` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1522` | `PromotionObjectNode` | data | yes | `rpoGenerationName` | `generationName` | `!Text` | `(.generationName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1523` | `PromotionObjectNode` | data | yes | `rpoCanonicalName` | `canonicalName` | `!Text` | `(.canonicalName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1530` | `RevisionTargetNode` | data | yes | `prtTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1531` | `RevisionTargetNode` | data | yes | `prtSchemaVersion` | `schemaVersion` | `!Text` | `(.schemaVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1532` | `RevisionTargetNode` | data | yes | `prtProvisioner` | `provisioner` | `!Text` | `(.provisioner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1533` | `RevisionTargetNode` | data | yes | `prtProvisionerVersion` | `provisionerVersion` | `!Int` | `(.provisionerVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1534` | `RevisionTargetNode` | data | yes | `prtExpectedShape` | `expectedShape` | `!Text` | `(.expectedShape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1535` | `RevisionTargetNode` | data | yes | `prtValidator` | `validator` | `!Text` | `(.validator)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1536` | `RevisionTargetNode` | data | yes | `prtValidatorVersion` | `validatorVersion` | `!Int` | `(.validatorVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1537` | `RevisionTargetNode` | data | yes | `prtPromotionObjects` | `promotionObjects` | `![PromotionObjectNode]` | `(.promotionObjects)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1542` | `ProjectionRevisionNode` | data | yes | `prvName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1543` | `ProjectionRevisionNode` | data | yes | `prvGroup` | `group` | `!Name` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1544` | `ProjectionRevisionNode` | data | yes | `prvTargets` | `targets` | `![RevisionTargetNode]` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1545` | `ProjectionRevisionNode` | data | yes | `prvLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1553` | `ExternalReadNode` | data | yes | `erName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1554` | `ExternalReadNode` | data | yes | `erVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1555` | `ExternalReadNode` | data | yes | `erQueryModel` | `queryModel` | `!Name` | `(.queryModel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1556` | `ExternalReadNode` | data | yes | `erResultSchema` | `resultSchema` | `!Text` | `(.resultSchema)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1557` | `ExternalReadNode` | data | yes | `erResultType` | `resultType` | `!Text` | `(.resultType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1558` | `ExternalReadNode` | data | yes | `erCompatibleRevisions` | `compatibleRevisions` | `![Name]` | `(.compatibleRevisions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1559` | `ExternalReadNode` | data | yes | `erSurfaceGeneration` | `surfaceGeneration` | `!Int` | `(.surfaceGeneration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1560` | `ExternalReadNode` | data | yes | `erLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1595` | `ProjectionOwnerNode` | data | yes | `poName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1596` | `ProjectionOwnerNode` | data | yes | `poSources` | `sources` | `![CatalogSource]` | `(.sources)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1597` | `ProjectionOwnerNode` | data | yes | `poDelivery` | `delivery` | `!ProjectionDelivery` | `(.delivery)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1598` | `ProjectionOwnerNode` | data | yes | `poGroup` | `group` | `!Name` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1599` | `ProjectionOwnerNode` | data | yes | `poTargets` | `targets` | `![Name]` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1600` | `ProjectionOwnerNode` | data | yes | `poOrder` | `order` | `!Int` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1601` | `ProjectionOwnerNode` | data | yes | `poSubscription` | `subscription` | `!(Maybe Text)` | `(.subscription)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1602` | `ProjectionOwnerNode` | data | yes | `poDedup` | `dedup` | `!(Maybe Text)` | `(.dedup)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1603` | `ProjectionOwnerNode` | data | yes | `poCheckpointOnMissing` | `checkpointOnMissing` | `![CheckpointOnMissingNode]` | `(.checkpointOnMissing)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1604` | `ProjectionOwnerNode` | data | yes | `poReplay` | `replay` | `!ProjectionReplayPolicy` | `(.replay)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1605` | `ProjectionOwnerNode` | data | yes | `poLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1631` | `WorkflowNode` | data | yes | `wfId` | `id` | `!Name` | `(.id)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1633` | `WorkflowNode` | data | yes | `wfStable` | `stable` | `!Text` | `(.stable)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1634` | `WorkflowNode` | data | yes | `wfInput` | `input` | `!Name` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1635` | `WorkflowNode` | data | yes | `wfInputFields` | `inputFields` | `![Field]` | `(.inputFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1636` | `WorkflowNode` | data | yes | `wfOutput` | `output` | `!Name` | `(.output)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1638` | `WorkflowNode` | data | yes | `wfIdField` | `idField` | `!(Maybe Name)` | `(.idField)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1639` | `WorkflowNode` | data | yes | `wfIdVia` | `idVia` | `!Name` | `(.idVia)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1640` | `WorkflowNode` | data | yes | `wfBody` | `body` | `![WfBodyItem]` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1641` | `WorkflowNode` | data | yes | `wfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1661` | `OperationNode` | data | yes | `opName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1662` | `OperationNode` | data | yes | `opShape` | `shape` | `!OperationShape` | `(.shape)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1663` | `OperationNode` | data | yes | `opLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1709` | `Spec` | data | yes | `specContext` | `context` | `!Name` | `(.context)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1710` | `Spec` | data | yes | `specModuleRoot` | `moduleRoot` | `!(Maybe Text)` | `(.moduleRoot)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1711` | `Spec` | data | yes | `specLayout` | `layout` | `!(Maybe Placement)` | `(.layout)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1712` | `Spec` | data | yes | `specIds` | `ids` | `![IdDecl]` | `(.ids)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1713` | `Spec` | data | yes | `specEnums` | `enums` | `![EnumDecl]` | `(.enums)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1714` | `Spec` | data | yes | `specRules` | `rules` | `![RuleDecl]` | `(.rules)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1715` | `Spec` | data | yes | `specNominalScalars` | `nominalScalars` | `![NominalScalarDecl]` | `(.nominalScalars)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1716` | `Spec` | data | yes | `specMapped` | `mapped` | `![MappedDecl]` | `(.mapped)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Grammar.hs:1717` | `Spec` | data | yes | `specNodes` | `nodes` | `![Node]` | `(.nodes)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:41` | `HaskellReference` | data | yes | `referenceModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:42` | `HaskellReference` | data | yes | `referenceName` | `name` | `!Text` | `(.name)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:43` | `HaskellReference` | data | yes | `referenceNamespace` | `namespace` | `!HaskellNamespace` | `(.namespace)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:44` | `HaskellReference` | data | yes | `referenceQualification` | `qualification` | `!QualificationPreference` | `(.qualification)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:49` | `ImportEnvironment` | data | yes | `targetModule` | `targetModule` | `!Text` | `(.targetModule)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:50` | `ImportEnvironment` | data | yes | `localNames` | `localNames` | `!(Set Text)` | `(.localNames)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:51` | `ImportEnvironment` | data | yes | `reservedQualifiers` | `reservedQualifiers` | `!(Set Text)` | `(.reservedQualifiers)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:64` | `HaskellImportPlan` | data | no | `importPlanTargetModule` | `targetModule` | `!Text` | `(.targetModule)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:65` | `HaskellImportPlan` | data | no | `importPlanDeclarations` | `declarations` | `!(Set Text)` | `(.declarations)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellImport.hs:66` | `HaskellImportPlan` | data | no | `importPlanReferences` | `references` | `!(Map HaskellReference Text)` | `(.references)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:63` | `DerivedHaskellName` | data | no | `upperCamel` | `upperCamel` | `!UpperCamelName` | `(.upperCamel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:64` | `DerivedHaskellName` | data | no | `lowerCamel` | `lowerCamel` | `!LowerCamelName` | `(.lowerCamel)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:97` | `NameSite` | data | no | `siteKind` | `kind` | `!NameSiteKind` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:98` | `NameSite` | data | no | `siteLogicalName` | `logicalName` | `!Text` | `(.logicalName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:99` | `NameSite` | data | no | `siteOwner` | `owner` | `!Text` | `(.owner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:100` | `NameSite` | data | no | `siteLine` | `line` | `!Int` | `(.line)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:109` | `HaskellOccurrenceKey` | data | no | `occurrenceModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:110` | `HaskellOccurrenceKey` | data | no | `occurrenceSpace` | `space` | `!HaskellOccurrenceSpace` | `(.space)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:111` | `HaskellOccurrenceKey` | data | no | `occurrenceScope` | `scope` | `!Text` | `(.scope)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:112` | `HaskellOccurrenceKey` | data | no | `occurrenceName` | `name` | `!Text` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:117` | `PlannedOccurrence` | data | no | `plannedOccurrenceKey` | `key` | `!HaskellOccurrenceKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellName.hs:118` | `PlannedOccurrence` | data | no | `plannedOccurrenceSite` | `site` | `!NameSite` | `(.site)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:28` | `SourceMove` | data | yes | `moveRole` | `role` | `!ModuleRole` | `(.role)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:29` | `SourceMove` | data | yes | `moveKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:30` | `SourceMove` | data | yes | `moveOldModule` | `oldModule` | `!Text` | `(.oldModule)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:31` | `SourceMove` | data | yes | `moveNewModule` | `newModule` | `!Text` | `(.newModule)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:32` | `SourceMove` | data | yes | `moveOldPath` | `oldPath` | `!FilePath` | `(.oldPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:33` | `SourceMove` | data | yes | `moveNewPath` | `newPath` | `!FilePath` | `(.newPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:34` | `SourceMove` | data | yes | `moveBackupPath` | `backupPath` | `!FilePath` | `(.backupPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:38` | `SourceMove` | data | yes | `moveContentDigest` | `contentDigest` | `!(Maybe Text)` | `(.contentDigest)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/HaskellSourceMove.hs:41` | `SourceMove` | data | yes | `moveTransformedDigest` | `transformedDigest` | `!(Maybe Text)` | `(.transformedDigest)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:97` | `SourceLanguage` | data | yes | `declaredLanguageVersion` | `declaredLanguageVersion` | `!LanguageVersion` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:98` | `SourceLanguage` | data | yes | `languageVersionLoc` | `languageVersionLoc` | `!Loc` | `(.languageVersionLoc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:120` | `SyntaxProfile` | data | no | `profileIdentifier` | `identifier` | `!Text` | `(.identifier)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:121` | `SyntaxProfile` | data | no | `profileFeatures` | `features` | `!(Set LanguageFeature)` | `(.features)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:158` | `RuntimeSemanticsProfile` | data | no | `runtimeSemanticsIdentifier` | `identifier` | `!Text` | `(.identifier)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:159` | `RuntimeSemanticsProfile` | data | no | `runtimeSemanticsCapabilities` | `capabilities` | `!(Set RuntimeCapability)` | `(.capabilities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:232` | `LanguageDefinition` | data | yes | `definitionVersion` | `version` | `!LanguageVersion` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:233` | `LanguageDefinition` | data | yes | `definitionPredecessor` | `predecessor` | `!(Maybe LanguageVersion)` | `(.predecessor)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:236` | `LanguageDefinition` | data | yes | `definitionBodyParser` | `bodyParser` | `!LanguageBodyParser` | `(.bodyParser)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:237` | `LanguageDefinition` | data | yes | `definitionSyntaxProfile` | `syntaxProfile` | `!SyntaxProfile` | `(.syntaxProfile)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:238` | `LanguageDefinition` | data | yes | `definitionRuntimeSemanticsProfile` | `runtimeSemanticsProfile` | `!RuntimeSemanticsProfile` | `(.runtimeSemanticsProfile)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:239` | `LanguageDefinition` | data | yes | `definitionSupport` | `support` | `!LanguageSupport` | `(.support)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:240` | `LanguageDefinition` | data | yes | `definitionMaturity` | `maturity` | `!LanguageMaturity` | `(.maturity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:486` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageErrorCode` | `errorCode` | `!SourceLanguageErrorCode` | `(.errorCode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:487` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageSource` | `source` | `!FilePath` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:488` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:489` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageToken` | `token` | `!(Maybe Text)` | `(.token)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:490` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageDeclaredVersion` | `declaredVersion` | `!(Maybe LanguageVersion)` | `(.declaredVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:491` | `SourceLanguageDiagnostic` | data | yes | `sourceLanguageSupportedVersions` | `supportedVersions` | `!(NonEmpty LanguageVersion)` | `(.supportedVersions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:558` | `ParsedSource` | data | yes | `parsedSourceLanguage` | `sourceLanguage` | `!SourceLanguage` | `(.sourceLanguage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/LanguageVersion.hs:559` | `ParsedSource` | data | yes | `parsedSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedCodecPlan.hs:42` | `MappedCodecPlan` | data | yes | `consumerType` | `consumerType` | `!ConsumerTypePlan` | `(.consumerType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedCodecPlan.hs:43` | `MappedCodecPlan` | data | yes | `resolvedExpression` | `resolvedExpression` | `!ResolvedTypeExpr` | `(.resolvedExpression)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedCodecPlan.hs:44` | `MappedCodecPlan` | data | yes | `authority` | `authority` | `!(Set MappedAuthorityMode)` | `(.authority)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:27` | `ConsumerPlan` | data | yes | `consumerPackages` | `packages` | `![Text]` | `(.packages)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:28` | `ConsumerPlan` | data | yes | `consumerModules` | `modules` | `![Text]` | `(.modules)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:29` | `ConsumerPlan` | data | yes | `consumerMappings` | `mappings` | `![MappingIdentity]` | `(.mappings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:34` | `WriteLiftIdentity` | data | yes | `sourceType` | `sourceType` | `!Text` | `(.sourceType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:35` | `WriteLiftIdentity` | data | yes | `function` | `function` | `!Text` | `(.function)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:36` | `WriteLiftIdentity` | data | yes | `version` | `version` | `!Text` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:37` | `WriteLiftIdentity` | data | yes | `fixtures` | `fixtures` | `!Text` | `(.fixtures)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:56` | `MappingIdentity` | data | yes | `mappingSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:57` | `MappingIdentity` | data | yes | `mappingCanonicalType` | `canonicalType` | `!Text` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:58` | `MappingIdentity` | data | yes | `mappingPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:59` | `MappingIdentity` | data | yes | `mappingModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:60` | `MappingIdentity` | data | yes | `mappingType` | `valueType` | `!Text` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:61` | `MappingIdentity` | data | yes | `mappingBindingSymbol` | `bindingSymbol` | `!Text` | `(.bindingSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:62` | `MappingIdentity` | data | yes | `mappingBindingVersion` | `bindingVersion` | `!Text` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:63` | `MappingIdentity` | data | yes | `writeLift` | `writeLift` | `!(Maybe WriteLiftIdentity)` | `(.writeLift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:66` | `MappingIdentity` | data | yes | `mappingSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:67` | `MappingIdentity` | data | yes | `mappingPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:68` | `MappingIdentity` | data | yes | `mappingModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:69` | `MappingIdentity` | data | yes | `mappingType` | `valueType` | `!Text` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:70` | `MappingIdentity` | data | yes | `mappingCodecIdentity` | `codecIdentity` | `!Text` | `(.codecIdentity)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:71` | `MappingIdentity` | data | yes | `mappingCodecVersion` | `codecVersion` | `!Text` | `(.codecVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:72` | `MappingIdentity` | data | yes | `writeLift` | `writeLift` | `!(Maybe WriteLiftIdentity)` | `(.writeLift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:75` | `MappingIdentity` | data | yes | `mappingSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:76` | `MappingIdentity` | data | yes | `mappingNominalCategory` | `nominalCategory` | `!Text` | `(.nominalCategory)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:77` | `MappingIdentity` | data | yes | `mappingNominalRepresentation` | `nominalRepresentation` | `!Text` | `(.nominalRepresentation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:78` | `MappingIdentity` | data | yes | `mappingCanonicalType` | `canonicalType` | `!Text` | `(.canonicalType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:79` | `MappingIdentity` | data | yes | `mappingPackage` | `package` | `!Text` | `(.package)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:80` | `MappingIdentity` | data | yes | `mappingModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:81` | `MappingIdentity` | data | yes | `mappingType` | `valueType` | `!Text` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:82` | `MappingIdentity` | data | yes | `mappingBindingSymbol` | `bindingSymbol` | `!Text` | `(.bindingSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:83` | `MappingIdentity` | data | yes | `mappingBindingVersion` | `bindingVersion` | `!Text` | `(.bindingVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:84` | `MappingIdentity` | data | yes | `mappingFixtureSymbol` | `fixtureSymbol` | `!Text` | `(.fixtureSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedConsumer.hs:85` | `MappingIdentity` | data | yes | `mappingInitialSymbol` | `initialSymbol` | `!(Maybe Text)` | `(.initialSymbol)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:28` | `MappedFinding` | data | yes | `mfDeclaration` | `declaration` | `!Name` | `(.declaration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:29` | `MappedFinding` | data | yes | `mfLeaf` | `leaf` | `!Text` | `(.leaf)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:30` | `MappedFinding` | data | yes | `mfCode` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:31` | `MappedFinding` | data | yes | `mfDetail` | `detail` | `!Text` | `(.detail)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:32` | `MappedFinding` | data | yes | `mfUsePaths` | `usePaths` | `![UsePath]` | `(.usePaths)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/MappedDiff.hs:33` | `MappedFinding` | data | yes | `mfOldUnknownFields` | `oldUnknownFields` | `!(Maybe UnknownFields)` | `(.oldUnknownFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:70` | `CheckedNominalEquality` | data | yes | `equalityKeyRepresentation` | `keyRepresentation` | `!NominalEqualityKey` | `(.keyRepresentation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:71` | `CheckedNominalEquality` | data | yes | `equalityDomain` | `domain` | `!NominalEqualityDomain` | `(.domain)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:72` | `CheckedNominalEquality` | data | yes | `equalityContractVersion` | `contractVersion` | `!Text` | `(.contractVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:82` | `ResolvedNominalType` | data | yes | `resolvedNominalName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:83` | `ResolvedNominalType` | data | yes | `resolvedNominalRepresentation` | `representation` | `!NominalRepresentation` | `(.representation)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:84` | `ResolvedNominalType` | data | yes | `resolvedNominalOwnership` | `ownership` | `!NominalOwnership` | `(.ownership)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/NominalType.hs:85` | `ResolvedNominalType` | data | yes | `resolvedNominalLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Parser/Core.hs:75` | `ContextualParseFailure` | data | no | `contextualFailureCode` | `code` | `!SourceLanguageErrorCode` | `(.code)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Parser/Core.hs:76` | `ContextualParseFailure` | data | no | `contextualFailureFeature` | `feature` | `!(Maybe LanguageFeature)` | `(.feature)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Parser/Core.hs:77` | `ContextualParseFailure` | data | no | `contextualFailureSpan` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Parser/Preamble.hs:60` | `InitialLanguageClause` | data | no | `initialLanguageSpan` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Parser/Preamble.hs:61` | `InitialLanguageClause` | data | no | `initialLanguageText` | `text` | `!Text` | `(.text)`, pattern, or construction | Haskell API and runtime semantics | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:42` | `CheckedFollowUp` | newtype | yes | `syntax` | `syntax` | `FollowUp` | `(.syntax)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:46` | `CheckedReactionArm` | data | yes | `input` | `input` | `!Name` | `(.input)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:47` | `CheckedReactionArm` | data | yes | `ordinal` | `ordinal` | `!Int` | `(.ordinal)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:48` | `CheckedReactionArm` | data | yes | `guard` | `guard` | `!CheckedReactionGuard` | `(.guard)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:49` | `CheckedReactionArm` | data | yes | `body` | `body` | `!ArmBody` | `(.body)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:53` | `CheckedReactionTimer` | newtype | yes | `syntax` | `syntax` | `ReactionTimerNode` | `(.syntax)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:57` | `CheckedProcessReaction` | data | yes | `version` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:58` | `CheckedProcessReaction` | data | yes | `inputs` | `inputs` | `!(NonEmpty InputDecl)` | `(.inputs)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:59` | `CheckedProcessReaction` | data | yes | `arms` | `arms` | `![CheckedReactionArm]` | `(.arms)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:60` | `CheckedProcessReaction` | data | yes | `timers` | `timers` | `![CheckedReactionTimer]` | `(.timers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:61` | `CheckedProcessReaction` | data | yes | `fingerprint` | `fingerprint` | `!Text` | `(.fingerprint)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:62` | `CheckedProcessReaction` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:63` | `CheckedProcessReaction` | data | yes | `holeObligations` | `holeObligations` | `![Text]` | `(.holeObligations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:90` | `ProcessReactionDiagnostic` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:91` | `ProcessReactionDiagnostic` | data | yes | `code` | `code` | `!ProcessReactionDiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProcessReaction.hs:92` | `ProcessReactionDiagnostic` | data | yes | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:39` | `ProjectionMappedRoot` | data | yes | `consumer` | `consumer` | `!DerivedMappedConsumer` | `(.consumer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:40` | `ProjectionMappedRoot` | data | yes | `declaration` | `declaration` | `!MappedKey` | `(.declaration)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:41` | `ProjectionMappedRoot` | data | yes | `path` | `path` | `!UsePath` | `(.path)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:49` | `ProjectionOperationalImpact` | data | yes | `consumer` | `consumer` | `!DerivedMappedConsumer` | `(.consumer)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:50` | `ProjectionOperationalImpact` | data | yes | `group` | `group` | `!(Maybe Name)` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:51` | `ProjectionOperationalImpact` | data | yes | `targets` | `targets` | `!(Set Name)` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:52` | `ProjectionOperationalImpact` | data | yes | `readModels` | `readModels` | `!(Set Name)` | `(.readModels)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:53` | `ProjectionOperationalImpact` | data | yes | `replayable` | `replayable` | `!Bool` | `(.replayable)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:54` | `ProjectionOperationalImpact` | data | yes | `sourceFingerprint` | `sourceFingerprint` | `!Text` | `(.sourceFingerprint)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:62` | `UnsupportedProjectionImpact` | data | yes | `source` | `source` | `!UnsupportedProjectionSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:63` | `UnsupportedProjectionImpact` | data | yes | `group` | `group` | `!Name` | `(.group)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:64` | `UnsupportedProjectionImpact` | data | yes | `targets` | `targets` | `!(Set Name)` | `(.targets)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:65` | `UnsupportedProjectionImpact` | data | yes | `readModels` | `readModels` | `!(Set Name)` | `(.readModels)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:66` | `UnsupportedProjectionImpact` | data | yes | `replayable` | `replayable` | `!Bool` | `(.replayable)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:71` | `ProjectionMappedImpact` | data | yes | `roots` | `roots` | `![ProjectionMappedRoot]` | `(.roots)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:72` | `ProjectionMappedImpact` | data | yes | `consumers` | `consumers` | `!(Map MappedKey (Set DerivedMappedConsumer))` | `(.consumers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:73` | `ProjectionMappedImpact` | data | yes | `operations` | `operations` | `!(Map DerivedMappedConsumer ProjectionOperationalImpact)` | `(.operations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionMappedImpact.hs:74` | `ProjectionMappedImpact` | data | yes | `unsupported` | `unsupported` | `![UnsupportedProjectionImpact]` | `(.unsupported)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:21` | `ResolvedProjectionSupply` | data | yes | `supplyQueryModel` | `queryModel` | `!Name` | `(.queryModel)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:22` | `ResolvedProjectionSupply` | data | yes | `supplyProjectionOwner` | `projectionOwner` | `!Name` | `(.projectionOwner)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:23` | `ResolvedProjectionSupply` | data | yes | `supplyRebuildGroup` | `rebuildGroup` | `!Name` | `(.rebuildGroup)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:24` | `ResolvedProjectionSupply` | data | yes | `supplyObservedTargets` | `observedTargets` | `!(NonEmpty Name)` | `(.observedTargets)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:25` | `ResolvedProjectionSupply` | data | yes | `supplyQueryLoc` | `queryLoc` | `!Loc` | `(.queryLoc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:26` | `ResolvedProjectionSupply` | data | yes | `supplyOwnerLoc` | `ownerLoc` | `!Loc` | `(.ownerLoc)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:46` | `ProjectionSupplyAnalysis` | data | yes | `resolvedProjectionSupplies` | `resolvedProjectionSupplies` | `![ResolvedProjectionSupply]` | `(.resolvedProjectionSupplies)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ProjectionSupply.hs:47` | `ProjectionSupplyAnalysis` | data | yes | `projectionSupplyIssues` | `projectionSupplyIssues` | `![ProjectionSupplyIssue]` | `(.projectionSupplyIssues)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:35` | `QueryContractIdentity` | data | yes | `qciReadModel` | `readModel` | `!Name` | `(.readModel)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:36` | `QueryContractIdentity` | data | yes | `qciPosition` | `position` | `!QueryContractPosition` | `(.position)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:37` | `QueryContractIdentity` | data | yes | `qciTypeExpression` | `typeExpression` | `!Text` | `(.typeExpression)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:38` | `QueryContractIdentity` | data | yes | `qciMappedDependencies` | `mappedDependencies` | `![Name]` | `(.mappedDependencies)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:43` | `QueryContractDrift` | data | yes | `qcdKey` | `key` | `!(Name, QueryContractPosition)` | `(.key)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:44` | `QueryContractDrift` | data | yes | `qcdPrevious` | `previous` | `!(Maybe QueryContractIdentity)` | `(.previous)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReadModelQueryContract.hs:45` | `QueryContractDrift` | data | yes | `qcdCurrent` | `current` | `!(Maybe QueryContractIdentity)` | `(.current)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:57` | `AggregateImpact` | data | yes | `eventTypes` | `eventTypes` | `!(Set Name)` | `(.eventTypes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:58` | `AggregateImpact` | data | yes | `includeSnapshotStreams` | `includeSnapshotStreams` | `!Bool` | `(.includeSnapshotStreams)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:73` | `CatalogReplayImpact` | data | yes | `affectedGroups` | `affectedGroups` | `!(Set Name)` | `(.affectedGroups)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:74` | `CatalogReplayImpact` | data | yes | `affectedTargets` | `affectedTargets` | `!(Set Name)` | `(.affectedTargets)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:75` | `CatalogReplayImpact` | data | yes | `affectedSources` | `affectedSources` | `!(Set Text)` | `(.affectedSources)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:76` | `CatalogReplayImpact` | data | yes | `affectedAdapters` | `affectedAdapters` | `!(Set Name)` | `(.affectedAdapters)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:77` | `CatalogReplayImpact` | data | yes | `invalidatesRunningFingerprint` | `invalidatesRunningFingerprint` | `!Bool` | `(.invalidatesRunningFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:218` | `ReplaySurfaceContext` | data | no | `surfaceSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:219` | `ReplaySurfaceContext` | data | no | `surfaceGraphResult` | `graphResult` | `Either (NE.NonEmpty TypeGraphError) TypeGraph` | `(.graphResult)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ReplayImpact.hs:220` | `ReplaySurfaceContext` | data | no | `surfaceSymbols` | `symbols` | `AggregateSymbols` | `(.symbols)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:54` | `CheckedReadModelQuery` | data | yes | `checkedQueryName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:55` | `CheckedReadModelQuery` | data | yes | `checkedQueryInputType` | `inputType` | `!ResolvedTypeExpr` | `(.inputType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:56` | `CheckedReadModelQuery` | data | yes | `checkedQueryResultType` | `resultType` | `!ResolvedTypeExpr` | `(.resultType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:61` | `CheckedMappedExpr` | data | yes | `checkedMappedExprRoot` | `root` | `!SelectionRoot` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:62` | `CheckedMappedExpr` | data | yes | `checkedMappedExprType` | `valueType` | `!ResolvedTypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:67` | `CheckedMappedType` | data | yes | `checkedMappedTypeKey` | `key` | `!MappedKey` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:68` | `CheckedMappedType` | data | yes | `checkedMappedTypeConstructor` | `constructor` | `!Name` | `(.constructor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:69` | `CheckedMappedType` | data | yes | `checkedMappedTypeFields` | `fields` | `![ResolvedWireField]` | `(.fields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:87` | `CheckedSelectionPathSegment` | data | yes | `checkedPathField` | `field` | `!Name` | `(.field)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:88` | `CheckedSelectionPathSegment` | data | yes | `checkedPathWireKey` | `wireKey` | `!Text` | `(.wireKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:89` | `CheckedSelectionPathSegment` | data | yes | `checkedPathOwner` | `owner` | `!MappedKey` | `(.owner)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:94` | `CheckedScalarExpr` | data | yes | `checkedScalarType` | `valueType` | `!SelectionScalarType` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:95` | `CheckedScalarExpr` | data | yes | `checkedScalarNode` | `node` | `!CheckedScalarNode` | `(.node)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:96` | `CheckedScalarExpr` | data | yes | `checkedScalarLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:137` | `CheckedRouterSelection` | data | yes | `checkedIdentity` | `identity` | `!Text` | `(.identity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:138` | `CheckedRouterSelection` | data | yes | `checkedVersion` | `version` | `!Natural` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:139` | `CheckedRouterSelection` | data | yes | `checkedQuery` | `query` | `!CheckedReadModelQuery` | `(.query)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:140` | `CheckedRouterSelection` | data | yes | `checkedInputBinding` | `inputBinding` | `!CheckedMappedExpr` | `(.inputBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:141` | `CheckedRouterSelection` | data | yes | `checkedRowBinding` | `rowBinding` | `!CheckedMappedType` | `(.rowBinding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:142` | `CheckedRouterSelection` | data | yes | `checkedKey` | `key` | `!CheckedScalarExpr` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:143` | `CheckedRouterSelection` | data | yes | `checkedPredicate` | `predicate` | `!CheckedScalarExpr` | `(.predicate)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:144` | `CheckedRouterSelection` | data | yes | `checkedRecipient` | `recipient` | `!CheckedScalarExpr` | `(.recipient)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:145` | `CheckedRouterSelection` | data | yes | `checkedCommandFields` | `commandFields` | `!(Map Name CheckedScalarExpr)` | `(.commandFields)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:146` | `CheckedRouterSelection` | data | yes | `checkedTarget` | `target` | `!Name` | `(.target)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:147` | `CheckedRouterSelection` | data | yes | `checkedCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:148` | `CheckedRouterSelection` | data | yes | `checkedLimit` | `limit` | `!Natural` | `(.limit)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:149` | `CheckedRouterSelection` | data | yes | `checkedOrder` | `order` | `!CheckedSelectionOrder` | `(.order)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:150` | `CheckedRouterSelection` | data | yes | `checkedDedupe` | `dedupe` | `!CheckedSelectionDedupe` | `(.dedupe)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:151` | `CheckedRouterSelection` | data | yes | `checkedEmptyPolicy` | `emptyPolicy` | `!CheckedEmptySelectionPolicy` | `(.emptyPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:152` | `CheckedRouterSelection` | data | yes | `checkedFailurePolicy` | `failurePolicy` | `!CheckedSelectionFailurePolicy` | `(.failurePolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:153` | `CheckedRouterSelection` | data | yes | `checkedRedeliveryPolicy` | `redeliveryPolicy` | `!CheckedRedeliveryPolicy` | `(.redeliveryPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:154` | `CheckedRouterSelection` | data | yes | `checkedPartialPolicy` | `partialPolicy` | `!CheckedPartialDispatchPolicy` | `(.partialPolicy)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:155` | `CheckedRouterSelection` | data | yes | `checkedFingerprint` | `fingerprint` | `!Text` | `(.fingerprint)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:156` | `CheckedRouterSelection` | data | yes | `checkedUseSites` | `useSites` | `![UseSite]` | `(.useSites)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:193` | `RouterSelectionDiagnostic` | data | yes | `selectionDiagnosticLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:194` | `RouterSelectionDiagnostic` | data | yes | `selectionDiagnosticCode` | `code` | `!RouterSelectionDiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RouterSelection.hs:195` | `RouterSelectionDiagnostic` | data | yes | `selectionDiagnosticMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/RuntimePackage.hs:18` | `RuntimePackageName` | newtype | yes | `unRuntimePackageName` | `unRuntimePackageName` | `Text` | explicit `unRuntimePackageName` positional function | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:165` | `ScaffoldModule` | data | yes | `modulePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:166` | `ScaffoldModule` | data | yes | `moduleText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:167` | `ScaffoldModule` | data | yes | `kind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:168` | `ScaffoldModule` | data | yes | `origin` | `origin` | `!Text` | `(.origin)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:176` | `ModuleRole` | data | yes | `roleOwnerKind` | `ownerKind` | `!Text` | `(.ownerKind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:177` | `ModuleRole` | data | yes | `roleOwnerName` | `ownerName` | `!Text` | `(.ownerName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:178` | `ModuleRole` | data | yes | `roleFamily` | `family` | `!Text` | `(.family)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:209` | `Context` | data | yes | `contextName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:211` | `Context` | data | yes | `moduleRoot` | `moduleRoot` | `!Text` | `(.moduleRoot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:213` | `Context` | data | yes | `placement` | `placement` | `!Placement` | `(.placement)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:221` | `NominalUseSite` | data | yes | `nominalUseAggregate` | `aggregate` | `!Name` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:222` | `NominalUseSite` | data | yes | `nominalUseKind` | `kind` | `!AggregateUseSite` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:230` | `NominalGenerationOwner` | data | yes | `nominalDeclaration` | `declaration` | `!ResolvedNominalType` | `(.declaration)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:231` | `NominalGenerationOwner` | data | yes | `nominalModule` | `moduleName` | `!Text` | `(.moduleName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:232` | `NominalGenerationOwner` | data | yes | `nominalUseSites` | `useSites` | `!(Set.Set NominalUseSite)` | `(.useSites)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:233` | `NominalGenerationOwner` | data | yes | `nominalEqualityUsed` | `equalityUsed` | `!Bool` | `(.equalityUsed)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:345` | `FirewallSurface` | data | yes | `forbiddenSymbolic` | `forbiddenSymbolic` | `![Text]` | `(.forbiddenSymbolic)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:346` | `FirewallSurface` | data | yes | `forbiddenIdents` | `forbiddenIdents` | `![Text]` | `(.forbiddenIdents)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:347` | `FirewallSurface` | data | yes | `forbiddenQualifiers` | `forbiddenQualifiers` | `![Text]` | `(.forbiddenQualifiers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:348` | `FirewallSurface` | data | yes | `forbiddenImports` | `forbiddenImports` | `![Text]` | `(.forbiddenImports)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:349` | `FirewallSurface` | data | yes | `restrictedImports` | `restrictedImports` | `![(Text, [Text])]` | `(.restrictedImports)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:502` | `Agg` | data | yes | `aContext` | `context` | `!Context` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:503` | `Agg` | data | yes | `aCheckedService` | `checkedService` | `!CheckedService` | `(.checkedService)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:504` | `Agg` | data | yes | `aLanguageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:505` | `Agg` | data | yes | `aSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:506` | `Agg` | data | yes | `aAggregate` | `aggregate` | `!Aggregate` | `(.aggregate)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:507` | `Agg` | data | yes | `aCtxPascal` | `ctxPascal` | `!Text` | `(.ctxPascal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:508` | `Agg` | data | yes | `aName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:509` | `Agg` | data | yes | `aLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:510` | `Agg` | data | yes | `aVertexType` | `vertexType` | `!Text` | `(.vertexType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:511` | `Agg` | data | yes | `aIds` | `ids` | `![IdDecl]` | `(.ids)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:512` | `Agg` | data | yes | `aEnums` | `enums` | `![EnumDecl]` | `(.enums)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:513` | `Agg` | data | yes | `aRegs` | `regs` | `![ResolvedRegister]` | `(.regs)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:514` | `Agg` | data | yes | `aStates` | `states` | `![StateDecl]` | `(.states)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:515` | `Agg` | data | yes | `aCommands` | `commands` | `![ResolvedCtor]` | `(.commands)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:516` | `Agg` | data | yes | `aEvents` | `events` | `![ResolvedCtor]` | `(.events)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:517` | `Agg` | data | yes | `aDomainOutcomeTypes` | `domainOutcomeTypes` | `!(Maybe ResolvedDomainOutcomeTypes)` | `(.domainOutcomeTypes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:519` | `Agg` | data | yes | `aGeneratedNominals` | `generatedNominals` | `![ResolvedNominalType]` | `(.generatedNominals)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:520` | `Agg` | data | yes | `aTransitions` | `transitions` | `![Transition]` | `(.transitions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:521` | `Agg` | data | yes | `aOutputMappings` | `outputMappings` | `!(Map.Map (Int, Int) EventOutputMapping)` | `(.outputMappings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:522` | `Agg` | data | yes | `aWire` | `wire` | `!WireSpec` | `(.wire)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:523` | `Agg` | data | yes | `aProjection` | `projection` | `!(Maybe ProjectionSpec)` | `(.projection)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:524` | `Agg` | data | yes | `aSnapshot` | `snapshot` | `!(Maybe SnapshotSpec)` | `(.snapshot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:525` | `Agg` | data | yes | `aFoldFingerprint` | `foldFingerprint` | `!Text` | `(.foldFingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:526` | `Agg` | data | yes | `aReadModels` | `readModels` | `![ReadModelNode]` | `(.readModels)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:527` | `Agg` | data | yes | `aTypeGraph` | `typeGraph` | `!(Maybe TypeGraph)` | `(.typeGraph)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:528` | `Agg` | data | yes | `aSymbols` | `symbols` | `!AggregateSymbols` | `(.symbols)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:530` | `Agg` | data | yes | `aGenPrefix` | `genPrefix` | `!Text` | `(.genPrefix)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:532` | `Agg` | data | yes | `aHolePrefix` | `holePrefix` | `!Text` | `(.holePrefix)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:536` | `ResolvedDomainOutcomeTypes` | data | yes | `resolvedRejectionType` | `rejectionType` | `!ResolvedAggregateType` | `(.rejectionType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:537` | `ResolvedDomainOutcomeTypes` | data | yes | `resolvedNoOpType` | `noOpType` | `!ResolvedAggregateType` | `(.noOpType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:545` | `ResolvedRegister` | data | yes | `rrName` | `name` | `!Name` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:546` | `ResolvedRegister` | data | yes | `rrType` | `valueType` | `!ResolvedAggregateType` | `(.valueType)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:547` | `ResolvedRegister` | data | yes | `rrInitial` | `initial` | `!ResolvedRegisterInitial` | `(.initial)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:548` | `ResolvedRegister` | data | yes | `rrLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:555` | `ResolvedCtor` | data | yes | `rcName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:557` | `ResolvedCtor` | data | yes | `rcFields` | `fields` | `![(ResolvedFieldIdentity, ResolvedAggregateType)]` | `(.fields)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:559` | `ResolvedCtor` | data | yes | `rcVersion` | `version` | `!Int` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:561` | `ResolvedCtor` | data | yes | `rcUpcastFrom` | `upcastFrom` | `!(Maybe Int)` | `(.upcastFrom)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2610` | `RenderedShapeType` | data | no | `renderedShapeTypePrecedence` | `precedence` | `!ShapeTypePrecedence` | `(.precedence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2611` | `RenderedShapeType` | data | no | `renderedShapeTypeText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2626` | `StructuralProjection` | data | yes | `spTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2627` | `StructuralProjection` | data | yes | `spWitness` | `witness` | `!Text` | `(.witness)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2628` | `StructuralProjection` | data | yes | `getter` | `getter` | `!Text` | `(.getter)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2629` | `StructuralProjection` | data | yes | `rawGetter` | `rawGetter` | `!(Maybe Text)` | `(.rawGetter)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2630` | `StructuralProjection` | data | yes | `spPointer` | `pointer` | `!Text` | `(.pointer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2631` | `StructuralProjection` | data | yes | `spOwner` | `owner` | `!HaskellSource` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2632` | `StructuralProjection` | data | yes | `spResult` | `result` | `!Text` | `(.result)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2633` | `StructuralProjection` | data | yes | `spCanonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2634` | `StructuralProjection` | data | yes | `spBinding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2635` | `StructuralProjection` | data | yes | `fixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2636` | `StructuralProjection` | data | yes | `terminalNominal` | `terminalNominal` | `!(Maybe NominalLeaf)` | `(.terminalNominal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2637` | `StructuralProjection` | data | yes | `rootEnum` | `rootEnum` | `!(Maybe (Text, [(Name, Text)]))` | `(.rootEnum)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:2638` | `StructuralProjection` | data | yes | `spSelectors` | `selectors` | `![(Text, Text)]` | `(.selectors)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:4738` | `ResolvedQueueField` | data | no | `resolvedQueueField` | `field` | `!WqField` | `(.field)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:4739` | `ResolvedQueueField` | data | no | `resolvedQueueExpression` | `expression` | `!(Maybe ResolvedTypeExpr)` | `(.expression)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:4740` | `ResolvedQueueField` | data | no | `resolvedQueueCodecPlan` | `codecPlan` | `!(Maybe MappedCodecPlan)` | `(.codecPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8839` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionIndex` | `index` | `!Int` | `(.index)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8840` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionSource` | `source` | `!Transition` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8841` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionGuard` | `guard` | `!(Maybe TypedScalarExpr)` | `(.guard)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8842` | `ResolvedGeneratedTransition` | data | no | `resolvedTransitionWrites` | `writes` | `![(Name, TypedScalarExpr)]` | `(.writes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8850` | `ResolvedSilentOutcome` | data | no | `resolvedSilentLayout` | `layout` | `!TransitionLayoutEntry` | `(.layout)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8851` | `ResolvedSilentOutcome` | data | no | `resolvedSilentKind` | `kind` | `!SilentOutcomeKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:8852` | `ResolvedSilentOutcome` | data | no | `resolvedSilentReason` | `reason` | `!TypedScalarExpr` | `(.reason)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:9007` | `ProjectionAlias` | data | no | `projectionAliasTarget` | `target` | `!ProjectionAliasTarget` | `(.target)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:9008` | `ProjectionAlias` | data | no | `projectionAliasName` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:9085` | `RenderedKeikiExpr` | data | no | `renderedKeikiText` | `text` | `!Text` | `(.text)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Scaffold.hs:9086` | `RenderedKeikiExpr` | data | no | `renderedKeikiPrecedence` | `precedence` | `!Int` | `(.precedence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:46` | `ScaffoldRecord` | data | yes | `recSpecPath` | `specPath` | `!Text` | `(.specPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:47` | `ScaffoldRecord` | data | yes | `recModuleRoot` | `moduleRoot` | `!Text` | `(.moduleRoot)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:48` | `ScaffoldRecord` | data | yes | `recLayout` | `layout` | `!Text` | `(.layout)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:49` | `ScaffoldRecord` | data | yes | `recSourceLanguage` | `sourceLanguage` | `!SourceLanguage` | `(.sourceLanguage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:50` | `ScaffoldRecord` | data | yes | `recLanguageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:51` | `ScaffoldRecord` | data | yes | `recNamingEdition` | `namingEdition` | `!GeneratedHaskellNamingEdition` | `(.namingEdition)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:52` | `ScaffoldRecord` | data | yes | `recModuleRoles` | `moduleRoles` | `![ScaffoldModuleRoleRow]` | `(.moduleRoles)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:53` | `ScaffoldRecord` | data | yes | `recFiles` | `files` | `![(ModuleKind, FilePath)]` | `(.files)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:54` | `ScaffoldRecord` | data | yes | `recMappings` | `mappings` | `![MappingIdentity]` | `(.mappings)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:55` | `ScaffoldRecord` | data | yes | `recIdDomains` | `idDomains` | `![Text]` | `(.idDomains)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:56` | `ScaffoldRecord` | data | yes | `recNominalEqualities` | `nominalEqualities` | `![Text]` | `(.nominalEqualities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:57` | `ScaffoldRecord` | data | yes | `structuralEnumEqualities` | `structuralEnumEqualities` | `![Text]` | `(.structuralEnumEqualities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:58` | `ScaffoldRecord` | data | yes | `recBindingObligations` | `bindingObligations` | `![BindingHole]` | `(.bindingObligations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:59` | `ScaffoldRecord` | data | yes | `recBehaviorRequirements` | `behaviorRequirements` | `![BehaviorRecordRow]` | `(.behaviorRequirements)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:60` | `ScaffoldRecord` | data | yes | `recProjectionCatalogFacts` | `projectionCatalogFacts` | `![Text]` | `(.projectionCatalogFacts)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:61` | `ScaffoldRecord` | data | yes | `recQueryContractBaseline` | `queryContractBaseline` | `!Bool` | `(.queryContractBaseline)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:62` | `ScaffoldRecord` | data | yes | `recQueryContracts` | `queryContracts` | `![QueryContractIdentity]` | `(.queryContracts)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:63` | `ScaffoldRecord` | data | yes | `recRouterSelections` | `routerSelections` | `![RouterSelectionSnapshot]` | `(.routerSelections)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:64` | `ScaffoldRecord` | data | yes | `processReactions` | `processReactions` | `![ProcessReactionRecordRow]` | `(.processReactions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:65` | `ScaffoldRecord` | data | yes | `recSemanticImpact` | `semanticImpact` | `!(Maybe SemanticImpactSnapshot)` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:70` | `ScaffoldModuleRoleRow` | data | yes | `srrRole` | `role` | `!ModuleRole` | `(.role)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:71` | `ScaffoldModuleRoleRow` | data | yes | `srrKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:72` | `ScaffoldModuleRoleRow` | data | yes | `srrPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:80` | `ProcessReactionRecordRow` | data | yes | `processName` | `processName` | `!Text` | `(.processName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:81` | `ProcessReactionRecordRow` | data | yes | `verification` | `verification` | `!Text` | `(.verification)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:82` | `ProcessReactionRecordRow` | data | yes | `version` | `version` | `!(Maybe Natural)` | `(.version)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:83` | `ProcessReactionRecordRow` | data | yes | `fingerprint` | `fingerprint` | `!(Maybe Text)` | `(.fingerprint)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRecord.hs:84` | `ProcessReactionRecordRow` | data | yes | `holeObligations` | `holeObligations` | `![Text]` | `(.holeObligations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:198` | `GeneratedHaskellEditionUse` | data | yes | `path` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:199` | `GeneratedHaskellEditionUse` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:200` | `GeneratedHaskellEditionUse` | data | yes | `current` | `current` | `!Text` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:201` | `GeneratedHaskellEditionUse` | data | yes | `replacement` | `replacement` | `!Text` | `(.replacement)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:202` | `GeneratedHaskellEditionUse` | data | yes | `form` | `form` | `!HoleUseForm` | `(.form)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:215` | `GeneratedHaskellEditionImpact` | data | yes | `fromEdition` | `fromEdition` | `!HaskellName.GeneratedHaskellNamingEdition` | `(.fromEdition)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:216` | `GeneratedHaskellEditionImpact` | data | yes | `generatedPaths` | `generatedPaths` | `![FilePath]` | `(.generatedPaths)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:217` | `GeneratedHaskellEditionImpact` | data | yes | `sidecarPaths` | `sidecarPaths` | `![FilePath]` | `(.sidecarPaths)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:218` | `GeneratedHaskellEditionImpact` | data | yes | `handOwnedUses` | `handOwnedUses` | `![GeneratedHaskellEditionUse]` | `(.handOwnedUses)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:223` | `PreparedGeneratedHaskellEditionMigration` | data | no | `impact` | `impact` | `!GeneratedHaskellEditionImpact` | `(.impact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:224` | `PreparedGeneratedHaskellEditionMigration` | data | no | `backups` | `backups` | `![(FilePath, FilePath)]` | `(.backups)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:225` | `PreparedGeneratedHaskellEditionMigration` | data | no | `reportPath` | `reportPath` | `!FilePath` | `(.reportPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:226` | `PreparedGeneratedHaskellEditionMigration` | data | no | `reportText` | `reportText` | `!Text` | `(.reportText)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:227` | `PreparedGeneratedHaskellEditionMigration` | data | no | `sourceMoves` | `sourceMoves` | `![SourceMove]` | `(.sourceMoves)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:248` | `GeneratedArtifactImpact` | data | yes | `artifactCategory` | `category` | `!GeneratedArtifactCategory` | `(.category)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:249` | `GeneratedArtifactImpact` | data | yes | `artifactRole` | `role` | `!ModuleRole` | `(.role)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:250` | `GeneratedArtifactImpact` | data | yes | `artifactPath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:251` | `GeneratedArtifactImpact` | data | yes | `artifactDisposition` | `disposition` | `!WriteDisposition` | `(.disposition)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:261` | `StaleModule` | data | yes | `staleKind` | `kind` | `!ModuleKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:262` | `StaleModule` | data | yes | `stalePath` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:263` | `StaleModule` | data | yes | `staleGeneratedEvidence` | `generatedEvidence` | `!(Maybe StaleGeneratedEvidence)` | `(.generatedEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:268` | `MappingDrift` | data | yes | `driftSpecName` | `specName` | `!Text` | `(.specName)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:269` | `MappingDrift` | data | yes | `driftPrevious` | `previous` | `!(Maybe MappingIdentity)` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:270` | `MappingDrift` | data | yes | `driftCurrent` | `current` | `!(Maybe MappingIdentity)` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:275` | `SourceLanguageDrift` | data | yes | `languageDriftPrevious` | `previous` | `!SourceLanguage` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:276` | `SourceLanguageDrift` | data | yes | `languageDriftCurrent` | `current` | `!SourceLanguage` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:281` | `ScaffoldReport` | data | yes | `reportSpecPath` | `specPath` | `!FilePath` | `(.specPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:282` | `ScaffoldReport` | data | yes | `reportOutDir` | `outDir` | `!FilePath` | `(.outDir)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:283` | `ScaffoldReport` | data | yes | `reportContext` | `context` | `!Context` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:284` | `ScaffoldReport` | data | yes | `reportDispositions` | `dispositions` | `![(ScaffoldModule, WriteDisposition)]` | `(.dispositions)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:285` | `ScaffoldReport` | data | yes | `reportInertNodes` | `inertNodes` | `![(Text, Text)]` | `(.inertNodes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:286` | `ScaffoldReport` | data | yes | `reportManifestPath` | `manifestPath` | `!FilePath` | `(.manifestPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:287` | `ScaffoldReport` | data | yes | `reportRecordPath` | `recordPath` | `!FilePath` | `(.recordPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:288` | `ScaffoldReport` | data | yes | `reportPreviousSpecPath` | `previousSpecPath` | `!(Maybe Text)` | `(.previousSpecPath)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:289` | `ScaffoldReport` | data | yes | `reportStale` | `stale` | `![StaleModule]` | `(.stale)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:290` | `ScaffoldReport` | data | yes | `reportConsumerPlan` | `consumerPlan` | `!ConsumerPlan` | `(.consumerPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:291` | `ScaffoldReport` | data | yes | `reportConstraintPlan` | `constraintPlan` | `![Text]` | `(.constraintPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:292` | `ScaffoldReport` | data | yes | `reportMappingDrift` | `mappingDrift` | `![MappingDrift]` | `(.mappingDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:293` | `ScaffoldReport` | data | yes | `reportQueryContractBaselineUnavailable` | `queryContractBaselineUnavailable` | `!Bool` | `(.queryContractBaselineUnavailable)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:294` | `ScaffoldReport` | data | yes | `reportQueryContractDrift` | `queryContractDrift` | `![QueryContractDrift]` | `(.queryContractDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:295` | `ScaffoldReport` | data | yes | `reportQueryContractMigrations` | `queryContractMigrations` | `![QueryContractMigration]` | `(.queryContractMigrations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:296` | `ScaffoldReport` | data | yes | `reportSemanticImpact` | `semanticImpact` | `!SemanticImpactReport` | `(.semanticImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:297` | `ScaffoldReport` | data | yes | `reportRouterSelectionDrift` | `routerSelectionDrift` | `![RouterSelectionDrift]` | `(.routerSelectionDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:298` | `ScaffoldReport` | data | yes | `processReactionCoordinationDrift` | `processReactionCoordinationDrift` | `![ProcessReactionDrift]` | `(.processReactionCoordinationDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:299` | `ScaffoldReport` | data | yes | `reportProjectionMappedImpact` | `projectionMappedImpact` | `!(Maybe ProjectionMappedImpact)` | `(.projectionMappedImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:300` | `ScaffoldReport` | data | yes | `reportGeneratedArtifactImpact` | `generatedArtifactImpact` | `![GeneratedArtifactImpact]` | `(.generatedArtifactImpact)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:301` | `ScaffoldReport` | data | yes | `reportSourceLanguageDrift` | `sourceLanguageDrift` | `!(Maybe SourceLanguageDrift)` | `(.sourceLanguageDrift)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:302` | `ScaffoldReport` | data | yes | `reportNewHoles` | `newHoles` | `![BindingHole]` | `(.newHoles)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:303` | `ScaffoldReport` | data | yes | `processReactionRows` | `processReactionRows` | `![ProcessReactionRecordRow]` | `(.processReactionRows)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:304` | `ScaffoldReport` | data | yes | `reportAddedBehavior` | `addedBehavior` | `![BehaviorRecordRow]` | `(.addedBehavior)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:305` | `ScaffoldReport` | data | yes | `reportRemovedBehavior` | `removedBehavior` | `![BehaviorRecordRow]` | `(.removedBehavior)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:306` | `ScaffoldReport` | data | yes | `reportObsoleteOutputHooks` | `obsoleteOutputHooks` | `![(Text, Text)]` | `(.obsoleteOutputHooks)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:307` | `ScaffoldReport` | data | yes | `reportConformancePackage` | `conformancePackage` | `!(Maybe ConformancePackageReport)` | `(.conformancePackage)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:308` | `ScaffoldReport` | data | yes | `reportNameMoves` | `nameMoves` | `![SourceMove]` | `(.nameMoves)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:309` | `ScaffoldReport` | data | yes | `reportSidecarMoves` | `sidecarMoves` | `![SidecarMove]` | `(.sidecarMoves)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:314` | `QueryContractMigration` | data | yes | `qcmOwner` | `owner` | `!Text` | `(.owner)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:315` | `QueryContractMigration` | data | yes | `path` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/ScaffoldRun.hs:316` | `QueryContractMigration` | data | yes | `qcmRequiredImport` | `requiredImport` | `!Text` | `(.requiredImport)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:63` | `EffectiveLanguageContract` | data | yes | `effectiveContractLanguageVersion` | `contractLanguageVersion` | `!LanguageVersion` | `(.contractLanguageVersion)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:64` | `EffectiveLanguageContract` | data | yes | `effectiveRuntimeProfile` | `runtimeProfile` | `!RuntimeSemanticsProfile` | `(.runtimeProfile)`, pattern, or construction | serialized/wire review risk | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:160` | `CheckedService` | data | no | `serviceLanguageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk | `none` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:161` | `CheckedService` | data | no | `serviceSpec` | `spec` | `!Spec` | `(.spec)`, pattern, or construction | serialized/wire review risk | `none` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:162` | `CheckedService` | data | no | `serviceTypeGraph` | `typeGraph` | `Either (NonEmpty TypeGraphError) TypeGraph` | `(.typeGraph)`, pattern, or construction | serialized/wire review risk | `none` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticContract.hs:163` | `CheckedService` | data | no | `serviceProjectionSupplies` | `projectionSupplies` | `ProjectionSupplyAnalysis` | `(.projectionSupplies)`, pattern, or construction | serialized/wire review risk | `none` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:100` | `MappedRoot` | data | yes | `mappedRootConsumer` | `consumer` | `!MappedConsumer` | `(.consumer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:101` | `MappedRoot` | data | yes | `mappedRootKind` | `kind` | `!MappedRootKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:102` | `MappedRoot` | data | yes | `mappedRootUseSite` | `useSite` | `!UseSite` | `(.useSite)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:103` | `MappedRoot` | data | yes | `mappedRootDeclaration` | `declaration` | `!MappedKey` | `(.declaration)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:111` | `MappedRootEvidence` | data | yes | `evidenceConsumer` | `consumer` | `!MappedConsumer` | `(.consumer)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:112` | `MappedRootEvidence` | data | yes | `evidenceRootKind` | `rootKind` | `!MappedRootKind` | `(.rootKind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:113` | `MappedRootEvidence` | data | yes | `evidencePath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:114` | `MappedRootEvidence` | data | yes | `evidenceOperation` | `operation` | `!(Maybe Text)` | `(.operation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:141` | `SemanticImpact` | data | yes | `impactRoots` | `roots` | `![MappedRoot]` | `(.roots)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:142` | `SemanticImpact` | data | yes | `impactUsePaths` | `usePaths` | `!(Map MappedKey [UsePath])` | `(.usePaths)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:143` | `SemanticImpact` | data | yes | `impactAggregateDeclarations` | `aggregateDeclarations` | `!(Map MappedConsumer (Set MappedKey))` | `(.aggregateDeclarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:144` | `SemanticImpact` | data | yes | `impactDeclarationConsumers` | `declarationConsumers` | `!(Map MappedKey (Set MappedConsumer))` | `(.declarationConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:145` | `SemanticImpact` | data | yes | `impactDeclarationEvidence` | `declarationEvidence` | `!(Map MappedKey (Set MappedRootEvidence))` | `(.declarationEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:146` | `SemanticImpact` | data | yes | `impactDeclarationConsequences` | `declarationConsequences` | `!(Map MappedKey (Set MappedConsequence))` | `(.declarationConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:147` | `SemanticImpact` | data | yes | `impactServiceDeclarations` | `serviceDeclarations` | `!(Set MappedKey)` | `(.serviceDeclarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:148` | `SemanticImpact` | data | yes | `impactDeclarationIdentities` | `declarationIdentities` | `!(Map MappedKey Text)` | `(.declarationIdentities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:149` | `SemanticImpact` | data | yes | `impactUnsupportedProjectionSources` | `unsupportedProjectionSources` | `![UnsupportedProjectionSource]` | `(.unsupportedProjectionSources)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:159` | `SemanticImpactSnapshot` | data | yes | `snapshotMappedConsumers` | `mappedConsumers` | `!(Map MappedKey (Set MappedConsumer))` | `(.mappedConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:160` | `SemanticImpactSnapshot` | data | yes | `snapshotMappedEvidence` | `mappedEvidence` | `!(Maybe (Map MappedKey (Set MappedRootEvidence)))` | `(.mappedEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:161` | `SemanticImpactSnapshot` | data | yes | `snapshotMappedConsequences` | `mappedConsequences` | `!(Maybe (Map MappedKey (Set MappedConsequence)))` | `(.mappedConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:162` | `SemanticImpactSnapshot` | data | yes | `snapshotServiceInventory` | `serviceInventory` | `!(Set MappedKey)` | `(.serviceInventory)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:163` | `SemanticImpactSnapshot` | data | yes | `snapshotDeclarationIdentities` | `declarationIdentities` | `!(Map MappedKey Text)` | `(.declarationIdentities)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:170` | `MappedImpactDelta` | data | yes | `impactDeclaration` | `declaration` | `!MappedKey` | `(.declaration)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:171` | `MappedImpactDelta` | data | yes | `impactPreviousConsumers` | `previousConsumers` | `!(Set MappedConsumer)` | `(.previousConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:172` | `MappedImpactDelta` | data | yes | `impactCurrentConsumers` | `currentConsumers` | `!(Set MappedConsumer)` | `(.currentConsumers)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:173` | `MappedImpactDelta` | data | yes | `impactPreviousEvidence` | `previousEvidence` | `!(Maybe (Set MappedRootEvidence))` | `(.previousEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:174` | `MappedImpactDelta` | data | yes | `impactCurrentEvidence` | `currentEvidence` | `!(Maybe (Set MappedRootEvidence))` | `(.currentEvidence)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:175` | `MappedImpactDelta` | data | yes | `impactPreviousConsequences` | `previousConsequences` | `!(Maybe (Set MappedConsequence))` | `(.previousConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:176` | `MappedImpactDelta` | data | yes | `impactCurrentConsequences` | `currentConsequences` | `!(Maybe (Set MappedConsequence))` | `(.currentConsequences)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:177` | `MappedImpactDelta` | data | yes | `impactServiceConformance` | `serviceConformance` | `!Bool` | `(.serviceConformance)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:185` | `SemanticImpactReport` | data | yes | `semanticReportPrevious` | `previous` | `!(Maybe SemanticImpactSnapshot)` | `(.previous)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:186` | `SemanticImpactReport` | data | yes | `semanticReportCurrent` | `current` | `!SemanticImpactSnapshot` | `(.current)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:187` | `SemanticImpactReport` | data | yes | `semanticReportDeclarations` | `declarations` | `![MappedKey]` | `(.declarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:188` | `SemanticImpactReport` | data | yes | `semanticReportDeltas` | `deltas` | `![MappedImpactDelta]` | `(.deltas)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:514` | `SelectionEvidence` | data | no | `selectionEvidenceRoot` | `root` | `!MappedRoot` | `(.root)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/SemanticImpact.hs:515` | `SelectionEvidence` | data | no | `selectionEvidencePath` | `path` | `!Text` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/ServiceHarness.hs:28` | `DuplicateServiceFactKey` | newtype | yes | `duplicateServiceFactKey` | `duplicateServiceFactKey` | `Text` | `(.duplicateServiceFactKey)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:48` | `SidecarMove` | data | yes | `sidecarOldPath` | `oldPath` | `!FilePath` | `(.oldPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:49` | `SidecarMove` | data | yes | `sidecarNewPath` | `newPath` | `!FilePath` | `(.newPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:50` | `SidecarMove` | data | yes | `sidecarBackupPath` | `backupPath` | `!(Maybe FilePath)` | `(.backupPath)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/SidecarMigration.hs:51` | `SidecarMove` | data | yes | `sidecarMoveDisposition` | `moveDisposition` | `!SidecarMoveDisposition` | `(.moveDisposition)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:22` | `SourcePoint` | data | yes | `offset` | `offset` | `!Int` | `(.offset)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:23` | `SourcePoint` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:24` | `SourcePoint` | data | yes | `column` | `column` | `!Int` | `(.column)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:38` | `SourceSpan` | data | yes | `source` | `source` | `!FilePath` | `(.source)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:39` | `SourceSpan` | data | yes | `start` | `start` | `!SourcePoint` | `(.start)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:40` | `SourceSpan` | data | yes | `end` | `end` | `!SourcePoint` | `(.end)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:61` | `Located` | data | yes | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Functor, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Source.hs:62` | `Located` | data | yes | `value` | `value` | `!a` | `(.value)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Ord, Show, Functor, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:67` | `IndexedSourcePosition` | data | no | `quality` | `quality` | `!SourcePositionQuality` | `(.quality)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:68` | `IndexedSourcePosition` | data | no | `span` | `span` | `!SourceSpan` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:73` | `SemanticSourceIndex` | newtype | no | `positions` | `positions` | `Map SourceSubject IndexedSourcePosition` | `(.positions)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:79` | `ParsedSourceDocument` | data | yes | `documentParsedSource` | `parsedSource` | `!ParsedSource` | `(.parsedSource)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:80` | `ParsedSourceDocument` | data | yes | `documentSourceIndex` | `sourceIndex` | `!SemanticSourceIndex` | `(.sourceIndex)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:92` | `SourceIndexFailure` | data | yes | `failureCode` | `code` | `!SourceIndexFailureCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:93` | `SourceIndexFailure` | data | yes | `failureSubject` | `subject` | `!(Maybe SourceSubject)` | `(.subject)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:94` | `SourceIndexFailure` | data | yes | `failureSpan` | `span` | `!(Maybe SourceSpan)` | `(.span)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/SourceIndex.hs:95` | `SourceIndexFailure` | data | yes | `failureMessage` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:82` | `ConformanceRendering` | data | no | `renderingContext` | `context` | `!Context` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:83` | `ConformanceRendering` | data | no | `renderingGraph` | `graph` | `!TypeGraph` | `(.graph)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:84` | `ConformanceRendering` | data | no | `renderingDeclarations` | `declarations` | `![ResolvedMappedDecl]` | `(.declarations)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:85` | `ConformanceRendering` | data | no | `nominals` | `nominals` | `![NominalLeaf]` | `(.nominals)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:86` | `ConformanceRendering` | data | no | `renderingProjections` | `projections` | `![StructuralProjection]` | `(.projections)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/StructuralConformance.hs:87` | `ConformanceRendering` | data | no | `renderingImportPlan` | `importPlan` | `!HaskellImportPlan` | `(.importPlan)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:33` | `SurfaceSource` | data | yes | `source` | `source` | `!FilePath` | `(.source)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:34` | `SurfaceSource` | data | yes | `language` | `language` | `!SourceLanguage` | `(.language)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:35` | `SurfaceSource` | data | yes | `preamble` | `preamble` | `!(Maybe (Located SourceLanguage))` | `(.preamble)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:36` | `SurfaceSource` | data | yes | `spec` | `spec` | `!(Located SurfaceSpec)` | `(.spec)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:43` | `SurfaceSpec` | data | yes | `context` | `context` | `!(Located Text)` | `(.context)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:44` | `SurfaceSpec` | data | yes | `moduleRoot` | `moduleRoot` | `!(Maybe (Located Text))` | `(.moduleRoot)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:45` | `SurfaceSpec` | data | yes | `layout` | `layout` | `!(Maybe (Located Placement))` | `(.layout)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:46` | `SurfaceSpec` | data | yes | `items` | `items` | `![Located SurfaceTopItem]` | `(.items)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Syntax.hs:47` | `SurfaceSpec` | data | yes | `elements` | `elements` | `![Located SurfaceElement]` | `(.elements)`, pattern, or construction | Haskell API and runtime semantics | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:195` | `MachineState` | data | yes | `name` | `name` | `!Text` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:196` | `MachineState` | data | yes | `terminal` | `terminal` | `!Bool` | `(.terminal)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:208` | `MachineEdge` | data | yes | `source` | `source` | `!Text` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:209` | `MachineEdge` | data | yes | `edgeIndex` | `edgeIndex` | `!Int` | `(.edgeIndex)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:210` | `MachineEdge` | data | yes | `target` | `target` | `!Text` | `(.target)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:211` | `MachineEdge` | data | yes | `mode` | `mode` | `!MachineEdgeMode` | `(.mode)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:212` | `MachineEdge` | data | yes | `command` | `command` | `!Text` | `(.command)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:213` | `MachineEdge` | data | yes | `events` | `events` | `![Text]` | `(.events)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:221` | `MachineTopology` | data | yes | `ownership` | `ownership` | `!MachineOwnership` | `(.ownership)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:222` | `MachineTopology` | data | yes | `initial` | `initial` | `!Text` | `(.initial)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:223` | `MachineTopology` | data | yes | `states` | `states` | `![MachineState]` | `(.states)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:224` | `MachineTopology` | data | yes | `edges` | `edges` | `![MachineEdge]` | `(.edges)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:285` | `TopologySource` | data | yes | `kind` | `kind` | `!TopologySourceKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:287` | `TopologySource` | data | yes | `path` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:293` | `TopologyMember` | data | yes | `path` | `path` | `!FilePath` | `(.path)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:295` | `TopologyMember` | data | yes | `sha256` | `sha256` | `!Text` | `(.sha256)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:296` | `TopologyMember` | data | yes | `declaredLanguageVersion` | `declaredLanguageVersion` | `!(Maybe Natural)` | `(.declaredLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:297` | `TopologyMember` | data | yes | `effectiveLanguageVersion` | `effectiveLanguageVersion` | `!Natural` | `(.effectiveLanguageVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:302` | `NodeRef` | data | yes | `kind` | `kind` | `!NodeKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:303` | `NodeRef` | data | yes | `name` | `name` | `!Name` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:308` | `TopologyNode` | data | yes | `kind` | `kind` | `!NodeKind` | `(.kind)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:309` | `TopologyNode` | data | yes | `name` | `name` | `!Name` | `(.name)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:310` | `TopologyNode` | data | yes | `context` | `context` | `!Name` | `(.context)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:311` | `TopologyNode` | data | yes | `member` | `member` | `!FilePath` | `(.member)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:312` | `TopologyNode` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:314` | `TopologyNode` | data | yes | `details` | `details` | `!Aeson.Object` | `(.details)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:319` | `TopologyEdge` | data | yes | `from` | `from` | `!NodeRef` | `(.from)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:320` | `TopologyEdge` | data | yes | `to` | `to` | `!NodeRef` | `(.to)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:321` | `TopologyEdge` | data | yes | `relation` | `relation` | `!Relation` | `(.relation)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:322` | `TopologyEdge` | data | yes | `attributes` | `attributes` | `!Aeson.Object` | `(.attributes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:327` | `ServiceTopology` | data | yes | `service` | `service` | `!Text` | `(.service)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:328` | `ServiceTopology` | data | yes | `source` | `source` | `!TopologySource` | `(.source)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:329` | `ServiceTopology` | data | yes | `languageContract` | `languageContract` | `!EffectiveLanguageContract` | `(.languageContract)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:330` | `ServiceTopology` | data | yes | `generatorVersion` | `generatorVersion` | `!Text` | `(.generatorVersion)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:331` | `ServiceTopology` | data | yes | `members` | `members` | `![TopologyMember]` | `(.members)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:332` | `ServiceTopology` | data | yes | `nodes` | `nodes` | `![TopologyNode]` | `(.nodes)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Topology.hs:333` | `ServiceTopology` | data | yes | `edges` | `edges` | `![TopologyEdge]` | `(.edges)`, pattern, or construction | serialized/wire review risk, rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:39` | `TransitionFamilyKey` | data | yes | `familyMode` | `mode` | `!TransitionMode` | `(.mode)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:40` | `TransitionFamilyKey` | data | yes | `familySource` | `source` | `!Name` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:41` | `TransitionFamilyKey` | data | yes | `familyCommand` | `command` | `!Name` | `(.command)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:53` | `TransitionFamilyDelta` | data | yes | `familyKey` | `familyKey` | `!TransitionFamilyKey` | `(.familyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:54` | `TransitionFamilyDelta` | data | yes | `oldRemainder` | `oldRemainder` | `![Transition]` | `(.oldRemainder)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:55` | `TransitionFamilyDelta` | data | yes | `newRemainder` | `newRemainder` | `![Transition]` | `(.newRemainder)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:61` | `ReplayBodyKey` | newtype | yes | `unReplayBodyKey` | `unReplayBodyKey` | `Text` | explicit `unReplayBodyKey` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:76` | `ReplayBodyDelta` | data | yes | `bodyFamilyKey` | `bodyFamilyKey` | `!TransitionFamilyKey` | `(.bodyFamilyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:77` | `ReplayBodyDelta` | data | yes | `bodyKey` | `bodyKey` | `!ReplayBodyKey` | `(.bodyKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:78` | `ReplayBodyDelta` | data | yes | `oldBodyMembers` | `oldBodyMembers` | `![Transition]` | `(.oldBodyMembers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:79` | `ReplayBodyDelta` | data | yes | `newBodyMembers` | `newBodyMembers` | `![Transition]` | `(.newBodyMembers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TransitionFamily.hs:80` | `ReplayBodyDelta` | data | yes | `bodyStatus` | `bodyStatus` | `!ReplayBodyStatus` | `(.bodyStatus)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:105` | `QualifiedValueName` | newtype | yes | `unQualifiedValueName` | `unQualifiedValueName` | `Text` | explicit `unQualifiedValueName` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:111` | `CanonicalTypeId` | newtype | yes | `unCanonicalTypeId` | `unCanonicalTypeId` | `Text` | explicit `unCanonicalTypeId` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:117` | `BindingVersion` | newtype | yes | `unBindingVersion` | `unBindingVersion` | `Text` | explicit `unBindingVersion` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:123` | `CodecIdentity` | newtype | yes | `unCodecIdentity` | `unCodecIdentity` | `Text` | explicit `unCodecIdentity` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:129` | `CodecVersion` | newtype | yes | `unCodecVersion` | `unCodecVersion` | `Text` | explicit `unCodecVersion` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:185` | `ConsumerNominalBinding` | data | yes | `haskell` | `haskell` | `!HaskellSource` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:186` | `ConsumerNominalBinding` | data | yes | `binding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:187` | `ConsumerNominalBinding` | data | yes | `bindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:188` | `ConsumerNominalBinding` | data | yes | `canonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:189` | `ConsumerNominalBinding` | data | yes | `fixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:190` | `ConsumerNominalBinding` | data | yes | `initial` | `initial` | `!(Maybe QualifiedValueName)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:206` | `NominalLeaf` | data | yes | `name` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:207` | `NominalLeaf` | data | yes | `kind` | `kind` | `!NominalLeafKind` | `(.kind)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:208` | `NominalLeaf` | data | yes | `ownership` | `ownership` | `!NominalLeafOwnership` | `(.ownership)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:209` | `NominalLeaf` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:223` | `NominalLeafError` | newtype | yes | `nominalLeafIssues` | `nominalLeafIssues` | `NonEmpty NominalLeafIssue` | `(.nominalLeafIssues)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:345` | `LiftVersion` | newtype | yes | `unLiftVersion` | `unLiftVersion` | `Text` | explicit `unLiftVersion` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:352` | `MappedWriteLift` | data | yes | `source` | `source` | `!LiftSource` | `(.source)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:353` | `MappedWriteLift` | data | yes | `function` | `function` | `!QualifiedValueName` | `(.function)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:354` | `MappedWriteLift` | data | yes | `version` | `version` | `!LiftVersion` | `(.version)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:355` | `MappedWriteLift` | data | yes | `fixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:356` | `MappedWriteLift` | data | yes | `loc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:388` | `StructuralDecl` | data | yes | `sdName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:389` | `StructuralDecl` | data | yes | `sdHaskell` | `haskell` | `!HaskellSource` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:390` | `StructuralDecl` | data | yes | `sdBinding` | `binding` | `!QualifiedValueName` | `(.binding)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:391` | `StructuralDecl` | data | yes | `sdBindingVersion` | `bindingVersion` | `!BindingVersion` | `(.bindingVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:392` | `StructuralDecl` | data | yes | `sdCanonical` | `canonical` | `!CanonicalTypeId` | `(.canonical)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:393` | `StructuralDecl` | data | yes | `sdFixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:394` | `StructuralDecl` | data | yes | `sdInitial` | `initial` | `!(Maybe QualifiedValueName)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:395` | `StructuralDecl` | data | yes | `writeLift` | `writeLift` | `!(Maybe MappedWriteLift)` | `(.writeLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:396` | `StructuralDecl` | data | yes | `sdLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:401` | `OpaqueDecl` | data | yes | `odName` | `name` | `!Name` | `(.name)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:402` | `OpaqueDecl` | data | yes | `odHaskell` | `haskell` | `!HaskellSource` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:403` | `OpaqueDecl` | data | yes | `odCodecIdentity` | `codecIdentity` | `!CodecIdentity` | `(.codecIdentity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:404` | `OpaqueDecl` | data | yes | `odCodecVersion` | `codecVersion` | `!CodecVersion` | `(.codecVersion)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:405` | `OpaqueDecl` | data | yes | `writeLift` | `writeLift` | `!(Maybe MappedWriteLift)` | `(.writeLift)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:406` | `OpaqueDecl` | data | yes | `odFixtures` | `fixtures` | `!QualifiedValueName` | `(.fixtures)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:407` | `OpaqueDecl` | data | yes | `odInitial` | `initial` | `!(Maybe QualifiedValueName)` | `(.initial)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:408` | `OpaqueDecl` | data | yes | `odLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:490` | `MappedKey` | newtype | yes | `unMappedKey` | `unMappedKey` | `Name` | explicit `unMappedKey` positional function | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:515` | `ResolvedWireField` | data | yes | `rwfHaskell` | `haskell` | `!Name` | `(.haskell)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:516` | `ResolvedWireField` | data | yes | `rwfKey` | `key` | `!Text` | `(.key)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:517` | `ResolvedWireField` | data | yes | `rwfType` | `valueType` | `!ResolvedTypeExpr` | `(.valueType)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:518` | `ResolvedWireField` | data | yes | `rwfPresence` | `presence` | `!Presence` | `(.presence)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:519` | `ResolvedWireField` | data | yes | `rwfOnMissing` | `onMissing` | `!(Maybe OnMissing)` | `(.onMissing)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:520` | `ResolvedWireField` | data | yes | `rwfLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:525` | `ResolvedWireArm` | data | yes | `rwaCtor` | `ctor` | `!Name` | `(.ctor)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:526` | `ResolvedWireArm` | data | yes | `rwaTag` | `tag` | `!Text` | `(.tag)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:527` | `ResolvedWireArm` | data | yes | `rwaPayload` | `payload` | `!(Maybe ResolvedTypeExpr)` | `(.payload)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:528` | `ResolvedWireArm` | data | yes | `rwaLoc` | `loc` | `!Loc` | `(.loc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:565` | `UseSite` | data | yes | `root` | `root` | `!RootRef` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:566` | `UseSite` | data | yes | `mappedKey` | `mappedKey` | `!MappedKey` | `(.mappedKey)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:571` | `NominalRootSite` | data | yes | `root` | `root` | `!RootRef` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:572` | `NominalRootSite` | data | yes | `nominal` | `nominal` | `!Name` | `(.nominal)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:573` | `NominalRootSite` | data | yes | `segments` | `segments` | `![PathSeg]` | `(.segments)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:589` | `UsePath` | data | yes | `upRoot` | `root` | `!RootRef` | `(.root)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:590` | `UsePath` | data | yes | `upSegments` | `segments` | `![PathSeg]` | `(.segments)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Ord, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:610` | `TypeGraph` | data | yes | `tgDeclarations` | `declarations` | `!(Map MappedKey ResolvedMappedDecl)` | `(.declarations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:611` | `TypeGraph` | data | yes | `tgReachability` | `reachability` | `!(Map MappedKey (Set MappedKey))` | `(.reachability)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:612` | `TypeGraph` | data | yes | `nominalLeaves` | `nominalLeaves` | `!(Map Name NominalLeaf)` | `(.nominalLeaves)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:613` | `TypeGraph` | data | yes | `unsupportedNominalLeafKinds` | `unsupportedNominalLeafKinds` | `!(Map Name Text)` | `(.unsupportedNominalLeafKinds)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:614` | `TypeGraph` | data | yes | `nominalReachability` | `nominalReachability` | `!(Map MappedKey (Set Name))` | `(.nominalReachability)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:615` | `TypeGraph` | data | yes | `tgUseSites` | `useSites` | `![UseSite]` | `(.useSites)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:616` | `TypeGraph` | data | yes | `nominalRootSites` | `nominalRootSites` | `![NominalRootSite]` | `(.nominalRootSites)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:617` | `TypeGraph` | data | yes | `tgRootSegments` | `rootSegments` | `!(Map UseSite [PathSeg])` | `(.rootSegments)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:618` | `TypeGraph` | data | yes | `tgDerivedMappedConsumers` | `derivedMappedConsumers` | `![DerivedMappedConsumer]` | `(.derivedMappedConsumers)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:619` | `TypeGraph` | data | yes | `tgReplayableProjectionGroups` | `replayableProjectionGroups` | `!(Map DerivedMappedConsumer Name)` | `(.replayableProjectionGroups)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:620` | `TypeGraph` | data | yes | `tgProjectionOperationalIdentities` | `projectionOperationalIdentities` | `!(Map DerivedMappedConsumer Text)` | `(.projectionOperationalIdentities)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:621` | `TypeGraph` | data | yes | `tgUnsupportedProjectionSources` | `unsupportedProjectionSources` | `![UnsupportedProjectionSource]` | `(.unsupportedProjectionSources)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show, Generic)` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1270` | `TypeExprAlgebra` | data | yes | `onText` | `onText` | `a` | `(.onText)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1271` | `TypeExprAlgebra` | data | yes | `onInt` | `onInt` | `a` | `(.onInt)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1272` | `TypeExprAlgebra` | data | yes | `onInteger` | `onInteger` | `a` | `(.onInteger)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1273` | `TypeExprAlgebra` | data | yes | `onBool` | `onBool` | `a` | `(.onBool)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1274` | `TypeExprAlgebra` | data | yes | `onNatural` | `onNatural` | `a` | `(.onNatural)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1275` | `TypeExprAlgebra` | data | yes | `onTime` | `onTime` | `a` | `(.onTime)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1276` | `TypeExprAlgebra` | data | yes | `onDay` | `onDay` | `a` | `(.onDay)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1277` | `TypeExprAlgebra` | data | yes | `onTextSet` | `onTextSet` | `a` | `(.onTextSet)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1278` | `TypeExprAlgebra` | data | yes | `onJson` | `onJson` | `a` | `(.onJson)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1279` | `TypeExprAlgebra` | data | yes | `onOptional` | `onOptional` | `a -> a` | `(.onOptional)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1280` | `TypeExprAlgebra` | data | yes | `onList` | `onList` | `a -> a` | `(.onList)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1281` | `TypeExprAlgebra` | data | yes | `onMap` | `onMap` | `a -> a` | `(.onMap)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1282` | `TypeExprAlgebra` | data | yes | `onKeyedMap` | `onKeyedMap` | `NominalLeaf -> a -> a` | `(.onKeyedMap)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1283` | `TypeExprAlgebra` | data | yes | `onRef` | `onRef` | `MappedKey -> a` | `(.onRef)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1284` | `TypeExprAlgebra` | data | yes | `onNominal` | `onNominal` | `NominalLeaf -> a` | `(.onNominal)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1306` | `MappedShapeAlgebra` | data | yes | `onRecord` | `onRecord` | `Name -> UnknownFields -> [ResolvedWireField] -> a` | `(.onRecord)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1307` | `MappedShapeAlgebra` | data | yes | `onEnum` | `onEnum` | `[WireEnum] -> a` | `(.onEnum)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1308` | `MappedShapeAlgebra` | data | yes | `onUnion` | `onUnion` | `UnionEncoding -> [ResolvedWireArm] -> a` | `(.onUnion)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1309` | `MappedShapeAlgebra` | data | yes | `onBare` | `onBare` | `ResolvedTypeExpr -> a` | `(.onBare)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1310` | `MappedShapeAlgebra` | data | yes | `onRefined` | `onRefined` | `RefinedWirePolicy -> a` | `(.onRefined)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1322` | `MappedDeclAlgebra` | data | yes | `onStructuralDecl` | `onStructuralDecl` | `StructuralDecl -> ResolvedMappedShape -> a` | `(.onStructuralDecl)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/TypeGraph.hs:1323` | `MappedDeclAlgebra` | data | yes | `onOpaqueDecl` | `onOpaqueDecl` | `OpaqueDecl -> a` | `(.onOpaqueDecl)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:786` | `Diagnostic` | data | yes | `line` | `line` | `!Int` | `(.line)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:787` | `Diagnostic` | data | yes | `severity` | `severity` | `!Severity` | `(.severity)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:788` | `Diagnostic` | data | yes | `code` | `code` | `!DiagnosticCode` | `(.code)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:789` | `Diagnostic` | data | yes | `relatedLocations` | `relatedLocations` | `![(Int, Text)]` | `(.relatedLocations)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:790` | `Diagnostic` | data | yes | `message` | `message` | `!Text` | `(.message)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:1753` | `NullabilityFacts` | data | no | `nfTopNull` | `topNull` | `!Bool` | `(.topNull)`, pattern, or construction | rendered/canonical output | `none` |
+| `keiro-dsl/src/Keiro/Dsl/Validate.hs:1754` | `NullabilityFacts` | data | no | `nfBadOptional` | `badOptional` | `!Bool` | `(.badOptional)`, pattern, or construction | rendered/canonical output | `none` |
 | `keiro-dsl/src/Keiro/Dsl/Workspace.hs:140` | `WorkspaceManifest` | data | yes | `wmfService` | `service` | `!Text` | `(.service)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
 | `keiro-dsl/src/Keiro/Dsl/Workspace.hs:141` | `WorkspaceManifest` | data | yes | `wmfServiceLoc` | `serviceLoc` | `!Loc` | `(.serviceLoc)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
 | `keiro-dsl/src/Keiro/Dsl/Workspace.hs:143` | `WorkspaceManifest` | data | yes | `wmfRuntimePackage` | `runtimePackage` | `!(Maybe RuntimePackageName)` | `(.runtimePackage)`, pattern, or construction | rendered/canonical output | `deriving stock (Eq, Show)` |
diff --git a/src/Keiro/Dsl/AggregateGenerationPlan.hs b/src/Keiro/Dsl/AggregateGenerationPlan.hs
--- a/src/Keiro/Dsl/AggregateGenerationPlan.hs
+++ b/src/Keiro/Dsl/AggregateGenerationPlan.hs
@@ -17,6 +17,10 @@
   }
   deriving stock (Eq, Show)
 
+-- | Number each transition within its source state, in declaration order.
+-- @outgoingIndex@ is the keiki edge index: the position of the transition's
+-- edge in @edgesOut@ of its source state. The generated transducer builder,
+-- the behavior source map and the topology export all use this one rule.
 transitionLayout :: [Transition] -> [TransitionLayoutEntry]
 transitionLayout transitions = snd (mapAccumL buildEntry Map.empty (zip [1 ..] transitions))
   where
diff --git a/src/Keiro/Dsl/ConformancePackage.hs b/src/Keiro/Dsl/ConformancePackage.hs
--- a/src/Keiro/Dsl/ConformancePackage.hs
+++ b/src/Keiro/Dsl/ConformancePackage.hs
@@ -231,10 +231,14 @@
       "",
       "import Control.Monad (when)",
       "import Data.List (group, groupBy, sort, sortOn)",
-      "import " <> facadeModule <> " (runServiceConformanceChecks, serviceConformanceFacts)",
+      "import " <> facadeModule <> " (runServiceBehaviorChecks, runServiceConformanceChecks, serviceConformanceFacts)",
       "import KeiroConformance.Expectations (expectedServiceConformanceFacts)",
-      "import System.Exit (exitFailure)",
+      "import System.Environment (getArgs, getProgName)",
+      "import System.Exit (ExitCode (ExitFailure), exitFailure, exitSuccess, exitWith)",
+      "import System.IO (hPutStr, hPutStrLn, stderr)",
       "",
+      "data RunMode = DefaultChecks | BehaviorComplete",
+      "",
       "data FactResult",
       "  = FactMatch String String",
       "  | FactMismatch String String String",
@@ -245,15 +249,55 @@
       "",
       "main :: IO ()",
       "main = do",
+      "  mode <- getArgs >>= parseArguments",
       "  checks <- runServiceConformanceChecks",
       "  mapM_ renderCheck checks",
-      "  case compareFacts expectedServiceConformanceFacts serviceConformanceFacts of",
+      "  factsPassed <- case compareFacts expectedServiceConformanceFacts serviceConformanceFacts of",
       "    Left duplicates -> do",
       "      mapM_ (putStrLn . (\"FAIL  duplicate conformance fact key: \" <>)) duplicates",
-      "      exitFailure",
+      "      pure False",
       "    Right facts -> do",
       "      mapM_ renderFact facts",
-      "      when (any (not . snd) checks || any factFailed facts) exitFailure",
+      "      pure (not (any factFailed facts))",
+      "  behaviorPassed <- case mode of",
+      "    DefaultChecks -> pure True",
+      "    BehaviorComplete -> do",
+      "      rows <- runServiceBehaviorChecks",
+      "      mapM_ renderCheck rows",
+      "      pure (all snd rows)",
+      "  when (any (not . snd) checks || not factsPassed || not behaviorPassed) exitFailure",
+      "",
+      "parseArguments :: [String] -> IO RunMode",
+      "parseArguments arguments = case arguments of",
+      "  [] -> pure DefaultChecks",
+      "  [\"--behavior-complete\"] -> pure BehaviorComplete",
+      "  [\"--help\"] -> do",
+      "    usage >>= putStr",
+      "    exitSuccess",
+      "  _ -> do",
+      "    hPutStrLn stderr (\"unrecognized arguments: \" <> unwords arguments)",
+      "    usage >>= hPutStr stderr",
+      "    exitWith (ExitFailure 2)",
+      "",
+      "usage :: IO String",
+      "usage = do",
+      "  program <- getProgName",
+      "  pure (unlines",
+      "    [ \"usage: \" <> program <> \" [--behavior-complete | --help]\"",
+      "    , \"\"",
+      "    , \"Default: run the generated service checks (structural, read-model, and\"",
+      "    , \"aggregate harness assertions, including hole-owned initial live edges) and\"",
+      "    , \"compare service facts with KeiroConformance.Expectations. The default is not\"",
+      "    , \"a complete witness gate: Pending, missing, duplicate, stale, or failing\"",
+      "    , \"BehaviorHoles witnesses outside that initial-edge subset do not fail it.\"",
+      "    , \"\"",
+      "    , \"--behavior-complete  also evaluate every declared behavior key of every\"",
+      "    , \"                     aggregate against its BehaviorHoles witnesses and fail\"",
+      "    , \"                     on any pending, missing, duplicate, stale, or failed\"",
+      "    , \"                     witness. Passing witnesses whose evidence is unverified\"",
+      "    , \"                     still pass; this is finite evidence, not a proof.\"",
+      "    , \"--help               print this message and exit.\"",
+      "    ])",
       "",
       "renderCheck :: (String, Bool) -> IO ()",
       "renderCheck (key, passed) = putStrLn ((if passed then \"PASS  \" else \"FAIL  \") <> key)",
diff --git a/src/Keiro/Dsl/Diff.hs b/src/Keiro/Dsl/Diff.hs
--- a/src/Keiro/Dsl/Diff.hs
+++ b/src/Keiro/Dsl/Diff.hs
@@ -171,6 +171,9 @@
   | ContextSnapshot
   | ContextQueue
   | ContextPublicContract
+  | -- | A public-contract change whose candidate reader requires a body key
+    -- that producers of the previous contract omit.
+    ContextPublicContractReaderTightened
   | ContextPersistedIdentity
   | ContextConsumerBuild
   deriving stock (Eq, Show)
@@ -220,6 +223,9 @@
 publicContractContext :: Name -> [Text] -> ChangeContext
 publicContractContext root paths = ChangeContext root paths ContextPublicContract LabelBreaking
 
+publicContractReaderTightenedContext :: Name -> [Text] -> ChangeContext
+publicContractReaderTightenedContext root paths = ChangeContext root paths ContextPublicContractReaderTightened LabelBreaking
+
 persistedIdentityContext :: Name -> [Text] -> ChangeContext
 persistedIdentityContext root paths = ChangeContext root paths ContextPersistedIdentity LabelBreaking
 
@@ -387,6 +393,10 @@
   | code == NominalIdDecoderTightened =
       replaceConsumerBuild VAdvisory (advisoryVector PrivateHistoryRead Set.empty)
   | code == ContractTypeIdDomainChanged = contractTypeIdDomainVector
+  | code == ContractOptionalFieldAdded = contractOptionalFieldAddedVector
+  | code `elem` [ContractFieldChanged, ContractDiscriminatorChanged]
+      && (.contextKind) context == ContextPublicContractReaderTightened =
+      contractReaderTightenedVector
   | code == ContractFieldChanged && (.contextKind) context == ContextConsumerBuild = mappedBuildVector
   | code == IdDomainContractChanged =
       if (.contextKind) context == ContextGeneral
@@ -531,6 +541,20 @@
       rollout = Set.fromList [RolloutDrainRequired, RolloutProducerFirst]
     }
 
+-- | The candidate reader requires a body key that producers of the previous
+-- contract omit (an optional field made required, or a body discriminator
+-- replacing the envelope).  Producers that write the key must deploy first,
+-- and retained messages without it must drain before the stricter reader runs.
+contractReaderTightenedVector :: CompatibilityVector
+contractReaderTightenedVector =
+  publicBreakingVector {rollout = Set.fromList [RolloutDrainRequired, RolloutProducerFirst]}
+
+-- | An added optional field is wire-compatible in both directions, but the
+-- regenerated payload constructor gains an argument.
+contractOptionalFieldAddedVector :: CompatibilityVector
+contractOptionalFieldAddedVector =
+  publicBreakingVector {publicConsumer = VCompatible, consumerBuild = VAdvisory, rollout = Set.empty}
+
 mappedWireBreakingCodes :: [DiagnosticCode]
 mappedWireBreakingCodes =
   [ MappedFieldAddedNoDefault,
@@ -650,6 +674,7 @@
   ContextSnapshot -> SnapshotHydration
   ContextQueue -> PrivateHistoryRead
   ContextPublicContract -> PublicConsumer
+  ContextPublicContractReaderTightened -> PublicConsumer
   ContextPersistedIdentity -> PersistedIdentity
   ContextConsumerBuild -> ConsumerBuild
   ContextGeneral -> PrivateHistoryRead
@@ -657,6 +682,7 @@
 breakingVectorForContext :: ChangeContext -> CompatibilityVector
 breakingVectorForContext context = case (.contextKind) context of
   ContextPublicContract -> publicBreakingVector
+  ContextPublicContractReaderTightened -> contractReaderTightenedVector
   ContextPersistedIdentity -> persistedIdentityBreakingVector
   ContextQueue -> queueBreakingVector
   ContextConsumerBuild -> (advisoryVector ConsumerBuild Set.empty) {consumerBuild = VBreaking}
@@ -2754,14 +2780,20 @@
       | (.schemaVersion) newContract < (.schemaVersion) oldContract
       ]
     discriminatorChanges =
-      [ breaking
+      [ breakingIn
           ((.name) newContract)
           "discriminator"
           ((.name) newContract)
           ContractDiscriminatorChanged
-          ("discriminator changed " <> (.discriminator) oldContract <> " -> " <> (.discriminator) newContract)
+          ("discriminator changed " <> renderContractDiscriminator ((.discriminator) oldContract) <> " -> " <> renderContractDiscriminator ((.discriminator) newContract))
       | (.discriminator) oldContract /= (.discriminator) newContract
       ]
+    -- Only a move from the envelope to a body key makes the new reader require
+    -- a key the old producers never wrote.  A changed body key keeps the
+    -- public-contract default.
+    breakingIn
+      | (.discriminator) oldContract == DiscriminatorEnvelope = breakingAt publicContractReaderTightenedContext
+      | otherwise = breaking
     topicChanges = contractTopicDiff oldContract newContract
     eventPairs = pairDeclarations (.name) ((.events) oldContract) ((.events) newContract)
     matchedEvents = (.matched) eventPairs
@@ -2844,10 +2876,33 @@
             subject
             ContractFieldChanged
             (detail <> "; canonical JSON bytes and TypeID admission are unchanged, but generated consumers must rebuild for the declared Haskell type")
+      | optionalToRequired = breakingAt publicContractReaderTightenedContext ((.name) newContract) "contract-field" subject ContractFieldChanged (detail <> rebuildDetail)
       | otherwise = breaking ((.name) newContract) "contract-field" subject ContractFieldChanged (detail <> if oldDomain /= newDomain then renderIdDomainDirection oldDomain newDomain else "")
       where
+        -- An Optional field made required whose present value keeps its exact
+        -- bytes and admission: the same scalar, or a literal/declared ID pair
+        -- with an equal prefix and admission domain.  Only the omitted key is
+        -- newly rejected, so producers that write it can deploy first.
+        optionalToRequired = case ((.valueType) oldField, (.valueType) newField) of
+          (COptional oldScalar, CScalar newScalar) ->
+            oldDomain == newDomain
+              && ( oldScalar == newScalar
+                     || ( isLiteralDeclaredTransition (CScalar oldScalar) (CScalar newScalar)
+                            && isJust oldDomain
+                            && contractTypePrefix ((.old) env) ((.valueType) oldField) == contractTypePrefix ((.new) env) ((.valueType) newField)
+                        )
+                 )
+          _ -> False
+        rebuildDetail = case ((.valueType) oldField, (.valueType) newField) of
+          (COptional oldScalar, CScalar newScalar)
+            | oldScalar /= newScalar -> "; present values keep their canonical JSON bytes and TypeID admission, and generated consumers must rebuild for the declared Haskell type"
+          _ -> ""
         subject = (.name) newEvent <> "." <> (.name) newField
-        detail = "field type changed " <> renderContractType ((.valueType) oldField) <> " -> " <> renderContractType ((.valueType) newField)
+        detail = "field type changed " <> renderContractType ((.valueType) oldField) <> " -> " <> renderContractType ((.valueType) newField) <> presenceDirection
+        presenceDirection = case (contractIsOptional ((.valueType) oldField), contractIsOptional ((.valueType) newField)) of
+          (False, True) -> "; deployed consumers still require the key"
+          (True, False) -> "; retained messages that omit the key no longer decode"
+          _ -> ""
         oldDomain = contractFieldIdDomain ((.old) env) (checkedLanguageContract ((.oldService) env)) oldField
         newDomain = contractFieldIdDomain ((.new) env) (checkedLanguageContract ((.newService) env)) newField
         literalDeclaredSamePrefix =
@@ -2859,6 +2914,8 @@
     isLiteralDeclaredTransition (CScalar CDeclaredId {}) (CScalar CTypeId {}) = True
     isLiteralDeclaredTransition (CList CTypeId {}) (CList CDeclaredId {}) = True
     isLiteralDeclaredTransition (CList CDeclaredId {}) (CList CTypeId {}) = True
+    isLiteralDeclaredTransition (COptional CTypeId {}) (COptional CDeclaredId {}) = True
+    isLiteralDeclaredTransition (COptional CDeclaredId {}) (COptional CTypeId {}) = True
     isLiteralDeclaredTransition _ _ = False
     selectorFieldChanges =
       [ fieldSelectorChange
@@ -2888,18 +2945,26 @@
         (.wireKey) (resolveContractFieldIdentity oldField)
           /= (.wireKey) (resolveContractFieldIdentity newField)
       ]
-    addedFieldChanges =
-      [ if (.schemaVersion) newContract > (.schemaVersion) oldContract
-          then advisory ((.name) newContract) "contract-field" subject ContractSchemaVersionBumped ("field added with schemaVersion bump " <> tInt ((.schemaVersion) oldContract) <> " -> " <> tInt ((.schemaVersion) newContract) <> "; coordinate the cross-service rollout")
-          else breaking ((.name) newContract) "contract-field" subject ContractFieldChanged "field added without a schemaVersion bump; older in-flight messages do not contain it"
-      | field <- (.added) fieldPairs,
-        let subject = (.name) newEvent <> "." <> (.name) field
-      ]
+    addedFieldChanges = map addedFieldChange ((.added) fieldPairs)
+    addedFieldChange field
+      | contractIsOptional ((.valueType) field) =
+          advisory ((.name) newContract) "contract-field" subject ContractOptionalFieldAdded "optional field added; older messages omit the key and older consumers ignore it, but the regenerated payload constructor gains a Maybe argument"
+      | (.schemaVersion) newContract > (.schemaVersion) oldContract =
+          advisory ((.name) newContract) "contract-field" subject ContractSchemaVersionBumped ("field added with schemaVersion bump " <> tInt ((.schemaVersion) oldContract) <> " -> " <> tInt ((.schemaVersion) newContract) <> "; coordinate the cross-service rollout")
+      | otherwise =
+          breaking ((.name) newContract) "contract-field" subject ContractFieldChanged "field added without a schemaVersion bump; older in-flight messages do not contain it"
+      where
+        subject = (.name) newEvent <> "." <> (.name) field
 
 renderContractType :: ContractType -> Text
 renderContractType (CScalar scalar) = renderContractScalar scalar
 renderContractType (CList scalar) = "List " <> renderContractScalar scalar
+renderContractType (COptional scalar) = "Optional " <> renderContractScalar scalar
 
+renderContractDiscriminator :: ContractDiscriminator -> Text
+renderContractDiscriminator (DiscriminatorBodyKey key) = key
+renderContractDiscriminator DiscriminatorEnvelope = "from envelope"
+
 renderContractScalar :: ContractScalarType -> Text
 renderContractScalar (CTypeId prefix) = "typeid '" <> prefix <> "'"
 renderContractScalar (CDeclaredId name) = name
@@ -3675,6 +3740,12 @@
 advisoryAt context n facet subj code detail =
   mkChange LabelAdvisory context n facet subj code detail
 
+-- | A breaking change whose context is chosen by the caller from the shape
+-- of the change rather than from the code alone.
+breakingAt :: (Name -> [Text] -> ChangeContext) -> Name -> Text -> Text -> DiagnosticCode -> Text -> Change
+breakingAt contextAt n facet subj code detail =
+  mkChange LabelBreaking (contextAt n [pathFor n facet subj]) n facet subj code detail
+
 mkChange :: Label -> ChangeContext -> Name -> Text -> Text -> DiagnosticCode -> Text -> Change
 mkChange label context n facet subj code detail =
   wrap
@@ -3722,6 +3793,7 @@
         ContractSchemaVersionDecreased,
         ContractSchemaVersionBumped,
         ContractEventAdded,
+        ContractOptionalFieldAdded,
         ContractTopicAdded
       ]
     queueCodes = [WqPayloadFieldChanged, WqOrderingChanged, WqProvisionChanged, WqGroupKeyChanged, QueueIdentityChanged]
diff --git a/src/Keiro/Dsl/DiffReport.hs b/src/Keiro/Dsl/DiffReport.hs
--- a/src/Keiro/Dsl/DiffReport.hs
+++ b/src/Keiro/Dsl/DiffReport.hs
@@ -68,6 +68,8 @@
   | RemedyRunContractConformance
   | RemedyDrainWorkqueue
   | RemedyTransitionalQueueCodec
+  | RemedyDeployKeyWritersFirst
+  | RemedyDrainBeforeStricterReader
   deriving stock (Eq, Show)
 
 data DiffReport = DiffReport
@@ -306,8 +308,10 @@
   | code == MappedDeclAdded = RemedyRunConformance :| []
   | code `elem` eventDecodeCodes =
       RemedyVersionBump :| [RemedyUpcaster, RemedyDeploymentOrder RolloutStopTheWorld]
+  | code == ContractOptionalFieldAdded =
+      RemedyRescaffoldContractConsumers :| [RemedyRunContractConformance]
   | code `elem` contractCodes =
-      RemedyContractRevision :| [RemedyDeploymentOrder RolloutProducerLast]
+      RemedyContractRevision :| contractRolloutRemedies
   | code `elem` queueCodes =
       RemedyDeploymentOrder RolloutWorkersFirst :| [RemedyDrainWorkqueue, RemedyTransitionalQueueCodec, RemedyRunConformance]
   | code `elem` identityCodes =
@@ -325,6 +329,14 @@
     firstRollout = case Set.toAscList ((.rollout) vector) of
       rollout : _ -> Just rollout
       [] -> Nothing
+    -- Render the vector's ordering.  A vector without an ordering keeps the
+    -- historical producer-last advice.
+    contractRolloutRemedies
+      | Set.member RolloutProducerFirst ((.rollout) vector) =
+          RemedyDeploymentOrder RolloutProducerFirst
+            : RemedyDeployKeyWritersFirst
+            : [RemedyDrainBeforeStricterReader | Set.member RolloutDrainRequired ((.rollout) vector)]
+      | otherwise = [RemedyDeploymentOrder RolloutProducerLast]
     snapshotRemedy
       | (.snapshotHydration) vector == VAdvisory = RemedyStateCodecBump
       | otherwise = RemedyRunConformance
@@ -432,6 +444,8 @@
   RemedyRunContractConformance -> "run contract conformance"
   RemedyDrainWorkqueue -> "drain incompatible queued jobs before deployment"
   RemedyTransitionalQueueCodec -> "supply an application-owned transitional queue codec when draining is impossible"
+  RemedyDeployKeyWritersFirst -> "deploy every producer that writes the newly required key before any consumer runs the stricter reader"
+  RemedyDrainBeforeStricterReader -> "drain or migrate retained messages that omit the key before deploying the stricter reader"
 
 renderFinding :: Change -> Text
 renderFinding change =
diff --git a/src/Keiro/Dsl/Grammar.hs b/src/Keiro/Dsl/Grammar.hs
--- a/src/Keiro/Dsl/Grammar.hs
+++ b/src/Keiro/Dsl/Grammar.hs
@@ -72,6 +72,7 @@
     -- * The process + timer nodes (EP-3)
     FieldBinding (..),
     InputDecl (..),
+    InputSource (..),
     CorrelateDecl (..),
     SagaRef (..),
     Disp (..),
@@ -115,6 +116,9 @@
     ContractType (..),
     contractScalar,
     contractIsList,
+    contractIsOptional,
+    ContractDiscriminator (..),
+    contractBodyDiscriminator,
     ContractField (..),
     ContractEvent (..),
     ContractNode (..),
@@ -761,10 +765,23 @@
   { name :: !Name,
     fields :: ![Field],
     valueType :: !(Maybe TypeExpr),
+    -- | Candidate Language 6: the intake that feeds this input
+    -- (@from intake <Intake> event <Event>+@). Checked documentation only: it
+    -- takes no part in generated code, fingerprints, ledgers or diff.
+    source :: !(Maybe InputSource),
     loc :: !Loc
   }
   deriving stock (Eq, Show, Generic)
 
+-- | @from intake hospitalInbox event HospitalCapacitySnapshotPublished@: the
+-- intake whose accepted contract events the input is built from.
+data InputSource = InputFromIntake
+  { intake :: !Name,
+    events :: !(NonEmpty Name),
+    loc :: !Loc
+  }
+  deriving stock (Eq, Show, Generic)
+
 -- | @correlate input.hospitalId via idText@ — the correlation key (hole-kind 1
 -- derivation + hole-kind 4 field-source).
 data CorrelateDecl = CorrelateDecl
@@ -1084,18 +1101,41 @@
 data ContractScalarType = CTypeId !Text | CDeclaredId !Name | CText | CInt
   deriving stock (Eq, Show, Generic)
 
--- | A scalar or a list of one scalar; nesting is unrepresentable.
-data ContractType = CScalar !ContractScalarType | CList !ContractScalarType
+-- | A required scalar, a list of one scalar, or an optional scalar; nesting is
+-- unrepresentable. An optional value is an omitted key on the wire and decodes
+-- from an omitted key or an explicit @null@ (ExecPlan 345 / IR-64).
+data ContractType
+  = CScalar !ContractScalarType
+  | CList !ContractScalarType
+  | COptional !ContractScalarType
   deriving stock (Eq, Show, Generic)
 
 contractScalar :: ContractType -> ContractScalarType
 contractScalar (CScalar scalar) = scalar
 contractScalar (CList scalar) = scalar
+contractScalar (COptional scalar) = scalar
 
 contractIsList :: ContractType -> Bool
 contractIsList CList {} = True
 contractIsList CScalar {} = False
+contractIsList COptional {} = False
 
+contractIsOptional :: ContractType -> Bool
+contractIsOptional COptional {} = True
+contractIsOptional CScalar {} = False
+contractIsOptional CList {} = False
+
+-- | Where a contract payload's event type comes from: a key in the JSON body
+-- (@discriminator messageType@), or the envelope's event type
+-- (@discriminator from envelope@, ExecPlan 345 / IR-64).
+data ContractDiscriminator = DiscriminatorBodyKey !Name | DiscriminatorEnvelope
+  deriving stock (Eq, Show, Generic)
+
+contractBodyDiscriminator :: ContractNode -> Maybe Name
+contractBodyDiscriminator contract = case (.discriminator) contract of
+  DiscriminatorBodyKey key -> Just key
+  DiscriminatorEnvelope -> Nothing
+
 data ContractField = ContractField
   { name :: !Name,
     selector :: !(Maybe Name),
@@ -1119,7 +1159,7 @@
 data ContractNode = ContractNode
   { name :: !Name,
     schemaVersion :: !Int,
-    discriminator :: !Name,
+    discriminator :: !ContractDiscriminator,
     -- | (topic alias, real Kafka topic string)
     topics :: ![(Name, Text)],
     events :: ![ContractEvent],
diff --git a/src/Keiro/Dsl/LanguageVersion.hs b/src/Keiro/Dsl/LanguageVersion.hs
--- a/src/Keiro/Dsl/LanguageVersion.hs
+++ b/src/Keiro/Dsl/LanguageVersion.hs
@@ -322,7 +322,7 @@
 profileV5 =
   SyntaxProfile
     "keiro-dsl/syntax-profile/5"
-    (Set.insert MappedRegisterConstructionSyntax $ Set.insert ContractListFieldSyntax (Set.insert ExplicitIdAdmissionDomainSyntax (Set.insert RefinedBase16Syntax (Set.insert TextSetSyntax (Set.insert CalendarDaySyntax (Set.insert BareStructuralMappingSyntax (Set.insert WorkqueueFifoHeadsSyntax (Set.insert KeyedMapSyntax (Set.insert ContractDeclaredIdSyntax (Set.insert ProcessReactionSyntax (Set.insert DelegatedInboxSyntax ((.features) profileV4))))))))))))
+    (Set.insert ContractEnvelopeDiscriminatorSyntax $ Set.insert ContractOptionalFieldSyntax $ Set.insert InputSourceSyntax $ Set.insert MappedRegisterConstructionSyntax $ Set.insert ContractListFieldSyntax (Set.insert ExplicitIdAdmissionDomainSyntax (Set.insert RefinedBase16Syntax (Set.insert TextSetSyntax (Set.insert CalendarDaySyntax (Set.insert BareStructuralMappingSyntax (Set.insert WorkqueueFifoHeadsSyntax (Set.insert KeyedMapSyntax (Set.insert ContractDeclaredIdSyntax (Set.insert ProcessReactionSyntax (Set.insert DelegatedInboxSyntax ((.features) profileV4))))))))))))
 
 runtimeProfileV1 :: RuntimeSemanticsProfile
 runtimeProfileV1 =
@@ -418,6 +418,9 @@
   | ExplicitIdAdmissionDomainSyntax
   | MappedRegisterConstructionSyntax
   | ContractListFieldSyntax
+  | InputSourceSyntax
+  | ContractOptionalFieldSyntax
+  | ContractEnvelopeDiscriminatorSyntax
   deriving stock (Eq, Ord, Show)
 
 -- | The first released contract that owns each grammar feature.
diff --git a/src/Keiro/Dsl/Parser/Coordination.hs b/src/Keiro/Dsl/Parser/Coordination.hs
--- a/src/Keiro/Dsl/Parser/Coordination.hs
+++ b/src/Keiro/Dsl/Parser/Coordination.hs
@@ -11,7 +11,7 @@
 import Data.Text qualified as T
 import Keiro.Dsl.Frontend.Internal (FrontendContext)
 import Keiro.Dsl.Grammar
-import Keiro.Dsl.LanguageVersion (LanguageFeature (DeclarativeRouterSelectionSyntax, ProcessReactionSyntax))
+import Keiro.Dsl.LanguageVersion (LanguageFeature (DeclarativeRouterSelectionSyntax, InputSourceSyntax, ProcessReactionSyntax))
 import Keiro.Dsl.Parser.Core
 import Keiro.Dsl.Parser.Expression (pExpr)
 import Keiro.Dsl.Parser.Mapped (pMappedTypeExpr)
@@ -30,7 +30,7 @@
   pid <- ident
   keyword "name"
   nm <- stringLit
-  (processBody, corr, saga, tgt, projs, rejected, poison, reactionSpans) <- try (pReactionProcessBody context) <|> pLegacyProcessBody
+  (processBody, corr, saga, tgt, projs, rejected, poison, reactionSpans) <- try (pReactionProcessBody context) <|> pLegacyProcessBody context
   let processNode =
         ProcessNode
           { id = pid,
@@ -50,9 +50,9 @@
         ]
   pure (processNode, elements)
 
-pLegacyProcessBody :: P (ProcessBody, CorrelateDecl, SagaRef, Name, [Name], PolicyChoice, PolicyChoice, [(Name, Int, SourceSpan)])
-pLegacyProcessBody = do
-  inp <- pInputDecl
+pLegacyProcessBody :: FrontendContext -> P (ProcessBody, CorrelateDecl, SagaRef, Name, [Name], PolicyChoice, PolicyChoice, [(Name, Int, SourceSpan)])
+pLegacyProcessBody context = do
+  inp <- pInputDecl context
   corr <- pCorrelate
   saga <- pSaga
   keyword "target"
@@ -72,7 +72,7 @@
   versionLoc <- getLoc
   keyword "version"
   reactionVersion <- fromIntegral <$> boundedDecimal
-  inputs <- NE.fromList <$> some pInputDecl
+  inputs <- NE.fromList <$> some (pInputDecl context)
   corr <- pCorrelate
   saga <- pSaga
   keyword "target"
@@ -408,28 +408,44 @@
       PolSkip <$ keyword "skip"
     ]
 
-pInputDecl :: P InputDecl
-pInputDecl = do
+pInputDecl :: FrontendContext -> P InputDecl
+pInputDecl context = do
   loc <- getLoc
   keyword "input"
   nm <- ident
+  source <- pOptionalInputSource context
   fs <- braces (many pField)
-  pure InputDecl {name = nm, fields = fs, valueType = Nothing, loc = loc}
+  pure InputDecl {name = nm, fields = fs, valueType = Nothing, source = source, loc = loc}
 
 pRouterInputDecl :: FrontendContext -> P (InputDecl, Maybe SourceSpan)
 pRouterInputDecl context = do
   loc <- getLoc
   keyword "input"
   name <- ident
+  source <- pOptionalInputSource context
   choice
     [ do
         marker <- withOwnedSpan (symbol ":")
         inputType <- pMappedTypeExpr context
-        pure (InputDecl {name = name, fields = [], valueType = Just inputType, loc = loc}, Just (spanOf marker)),
+        pure (InputDecl {name = name, fields = [], valueType = Just inputType, source = source, loc = loc}, Just (spanOf marker)),
       do
         fields <- braces (many pField)
-        pure (InputDecl {name = name, fields = fields, valueType = Nothing, loc = loc}, Nothing)
+        pure (InputDecl {name = name, fields = fields, valueType = Nothing, source = source, loc = loc}, Nothing)
     ]
+
+-- | Candidate Language 6 @from intake <Intake> event <Event>+@ between an
+-- input's name and its body. @from@, @intake@ and @event@ are contextual: an
+-- input name followed directly by @{@ or @:@ parses exactly as before, and a
+-- predecessor language reports the version requirement at @from@.
+pOptionalInputSource :: FrontendContext -> P (Maybe InputSource)
+pOptionalInputSource context =
+  optionalLanguageFeature context InputSourceSyntax "from" $ do
+    loc <- getLoc
+    try (keyword "from" *> keyword "intake")
+    intakeName <- ident
+    keyword "event"
+    events <- some ident
+    pure InputFromIntake {intake = intakeName, events = NE.fromList events, loc = loc}
 
 pCorrelate :: P CorrelateDecl
 pCorrelate = do
diff --git a/src/Keiro/Dsl/Parser/Integration.hs b/src/Keiro/Dsl/Parser/Integration.hs
--- a/src/Keiro/Dsl/Parser/Integration.hs
+++ b/src/Keiro/Dsl/Parser/Integration.hs
@@ -9,7 +9,7 @@
 
 import Keiro.Dsl.Frontend.Internal (FrontendContext)
 import Keiro.Dsl.Grammar
-import Keiro.Dsl.LanguageVersion (LanguageFeature (ContractDeclaredIdSyntax, ContractListFieldSyntax, DelegatedInboxSyntax, FieldAliasSyntax))
+import Keiro.Dsl.LanguageVersion (LanguageFeature (ContractDeclaredIdSyntax, ContractEnvelopeDiscriminatorSyntax, ContractListFieldSyntax, ContractOptionalFieldSyntax, DelegatedInboxSyntax, FieldAliasSyntax))
 import Keiro.Dsl.Parser.Core
 import Text.Megaparsec
 
@@ -25,7 +25,16 @@
   keyword "schemaVersion"
   sv <- boundedDecimal
   keyword "discriminator"
-  disc <- ident
+  disc <-
+    choice
+      [ do
+          -- `from` is reserved, so it can never be a body discriminator key.
+          fromKeyword <- withOwnedSpan (keyword "from")
+          requireLanguageFeatureAt context ContractEnvelopeDiscriminatorSyntax (spanOf fromKeyword)
+          keyword "envelope"
+          pure DiscriminatorEnvelope,
+        DiscriminatorBodyKey <$> ident
+      ]
   topics <- many pTopic
   events <- many pContractEvent
   _ <- symbol "}"
@@ -70,13 +79,19 @@
               listKeyword <- withOwnedSpan (keyword "List")
               requireLanguageFeatureAt context ContractListFieldSyntax (spanOf listKeyword)
               CList <$> pContractScalarType,
+            do
+              -- `Optional` alone still names a declared ID, as `List` does.
+              _ <- try (lookAhead (keyword "Optional" *> notFollowedBy pContractTypeBoundary))
+              optionalKeyword <- withOwnedSpan (keyword "Optional")
+              requireLanguageFeatureAt context ContractOptionalFieldSyntax (spanOf optionalKeyword)
+              COptional <$> pContractScalarType,
             CScalar <$> pContractScalarType
           ]
       offset <- getOffset
       boundary <- optional (try (lookAhead pContractTypeBoundary))
       case boundary of
         Just () -> pure ty
-        Nothing -> failAt offset "contract field types admit typeid \"prefix\", text, int, a declared id, or List of one of those; nested containers, Optional, Map, and Set applications and records are not supported in public contracts"
+        Nothing -> failAt offset "contract field types admit typeid \"prefix\", text, int, a declared id, List of one of those, or Optional of one of those; nested containers, Optional List, List Optional, Map, and Set applications and records are not supported in public contracts"
     -- Fields may be adjacent on one line. Only a complete field head, including
     -- its aliases, proves the next identifier is not a list operand. This probe
     -- deliberately has no feature gates or dependency on declared ID names.
diff --git a/src/Keiro/Dsl/PrettyPrint.hs b/src/Keiro/Dsl/PrettyPrint.hs
--- a/src/Keiro/Dsl/PrettyPrint.hs
+++ b/src/Keiro/Dsl/PrettyPrint.hs
@@ -672,12 +672,14 @@
   vsep $
     [ "contract" <+> pretty ((.name) c) <+> "{",
       indent 2 ("schemaVersion" <+> pretty ((.schemaVersion) c)),
-      indent 2 ("discriminator" <+> pretty ((.discriminator) c))
+      indent 2 ("discriminator" <+> docDiscriminator ((.discriminator) c))
     ]
       ++ map (indent 2 . docTopic) ((.topics) c)
       ++ map (indent 2 . docContractEvent) ((.events) c)
       ++ ["}"]
   where
+    docDiscriminator (DiscriminatorBodyKey key) = pretty key
+    docDiscriminator DiscriminatorEnvelope = "from envelope"
     docTopic (alias, t) = "topic" <+> pretty alias <+> dquoted t
     docContractEvent e =
       vsep $
@@ -694,6 +696,7 @@
         <+> docContractType ((.valueType) f)
     docContractType (CScalar scalar) = docContractScalar scalar
     docContractType (CList scalar) = "List" <+> docContractScalar scalar
+    docContractType (COptional scalar) = "Optional" <+> docContractScalar scalar
     docContractScalar (CTypeId p) = "typeid" <+> dquoted p
     docContractScalar (CDeclaredId name) = pretty name
     docContractScalar CText = "text"
@@ -889,8 +892,14 @@
 
 docInput :: InputDecl -> Doc ann
 docInput input = case (.valueType) input of
-  Just inputType -> "input" <+> pretty ((.name) input) <+> ":" <+> docTypeExpr inputType
-  Nothing -> "input" <+> pretty ((.name) input) <+> braced (map docField ((.fields) input))
+  Just inputType -> header <+> ":" <+> docTypeExpr inputType
+  Nothing -> header <+> braced (map docField ((.fields) input))
+  where
+    header = "input" <+> pretty ((.name) input) <> maybe mempty ((" " <>) . docInputSource) ((.source) input)
+
+docInputSource :: InputSource -> Doc ann
+docInputSource source =
+  "from intake" <+> pretty ((.intake) source) <+> "event" <+> hsep (map pretty (NE.toList ((.events) source)))
 
 docCorrelate :: CorrelateDecl -> Doc ann
 docCorrelate c = "correlate" <+> ("input." <> pretty ((.field) c)) <+> "via" <+> pretty ((.via) c)
diff --git a/src/Keiro/Dsl/Scaffold.hs b/src/Keiro/Dsl/Scaffold.hs
--- a/src/Keiro/Dsl/Scaffold.hs
+++ b/src/Keiro/Dsl/Scaffold.hs
@@ -42,6 +42,7 @@
     generatedIdSampleHaskell,
     scaffoldReplayAudit,
     scaffoldInspection,
+    aggregateStreamCategory,
     scaffoldStructural,
     scaffoldStructuralForService,
     scaffoldStructuralOwners,
@@ -52,6 +53,7 @@
     bindingSkeletonOwners,
     scaffoldAggregateForService,
     scaffoldAggregate,
+    aggregateHasBehaviorContract,
     obsoleteGeneratedOutputHooks,
     obsoleteGeneratedOutputHooksForService,
     scaffoldProcess,
@@ -3273,6 +3275,7 @@
            "  , behaviorConformancePassed",
            "  , behaviorConformancePassedWith",
            "  , renderBehaviorConformanceText",
+           "  , behaviorConformanceRows",
            "  ) where",
            "",
            "import " <> (.genPrefix) aggregate <> ".Codec (encode" <> name <> "Event, parse" <> name <> "Event, " <> valueStem <> "Codec)",
@@ -3455,6 +3458,32 @@
            "  , countLine \"unverified\" report.reportUnverified",
            "  ] <> T.unlines [\"FAIL \" <> unBehaviorKey behaviorFailure.failureKey <> \" \" <> behaviorFailure.failureSubject <> \" [\" <> behaviorFailure.failureCode <> \"] \" <> behaviorFailure.failureDetail | behaviorFailure <- report.reportFailed]",
            "",
+           "-- | One single-line check row per pending, missing, duplicate, and stale key",
+           "-- and per failed witness, then one summary row carrying the report policy.",
+           "-- Unverified keys are not failures under 'behaviorConformancePassed'.",
+           "behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]",
+           "behaviorConformanceRows report =",
+           "  keyRows \"pending\" report.reportPending",
+           "    <> keyRows \"missing\" report.reportMissing",
+           "    <> keyRows \"duplicate\" report.reportDuplicate",
+           "    <> keyRows \"stale\" report.reportStale",
+           "    <> [(\"failed/\" <> unBehaviorKey behaviorFailure.failureKey <> \" \" <> behaviorFailure.failureSubject <> \" [\" <> behaviorFailure.failureCode <> \"] \" <> behaviorFailure.failureDetail, False) | behaviorFailure <- report.reportFailed]",
+           "    <> [(summary, behaviorConformancePassed report)]",
+           " where",
+           "  keyRows category keys = [(category <> \"/\" <> unBehaviorKey key, False) | key <- keys]",
+           "  summary =",
+           "    \"summary\"",
+           "      <> countField \"required\" report.reportRequired",
+           "      <> countField \"filled\" report.reportFilled",
+           "      <> countField \"pending\" report.reportPending",
+           "      <> countField \"missing\" report.reportMissing",
+           "      <> countField \"duplicate\" report.reportDuplicate",
+           "      <> countField \"stale\" report.reportStale",
+           "      <> \" failed=\" <> tshow (length report.reportFailed)",
+           "      <> countField \"verified\" report.reportVerified",
+           "      <> countField \"unverified\" report.reportUnverified",
+           "  countField label values = \" \" <> label <> \"=\" <> tshow (length values)",
+           "",
            "runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()",
            "runWitness requirement witness = case witness of",
            "  Pending _ -> failure requirement \"pending\" \"witness is still Pending\"",
@@ -3752,20 +3781,16 @@
 behaviorEdgeIndex aggregate requirement = case (.origin) requirement of
   Behavior.RejectionRequirementOrigin {} -> Nothing
   Behavior.TransitionRequirementOrigin originAggregate (SourceIndex.TransitionOrdinal ordinal) -> do
-    transition <- case drop ordinal ((.transitions) aggregate) of
+    -- The keiki edge index is the shared layout rule the transducer builder
+    -- and the topology export both use ('transitionLayout').
+    entry <- case drop ordinal (transitionLayout ((.transitions) aggregate)) of
       candidate : _ -> Just candidate
       [] -> Nothing
+    let transition = (.transition) entry
     if originAggregate == (.name) aggregate
       && (.source) transition == (.source) requirement
       && (.command) transition == (.command) requirement
-      then
-        Just
-          ( length
-              [ ()
-              | candidate <- take ordinal ((.transitions) aggregate),
-                (.source) candidate == (.source) transition
-              ]
-          )
+      then Just ((.outgoingIndex) entry)
       else Nothing
 
 behaviorRequirementsFor :: Agg -> [Behavior.BehaviorRequirement]
@@ -4082,7 +4107,7 @@
              -- contract whose every field is one never uses (.:) and would warn
              -- under -Wunused-imports.
              "import Data.Aeson ("
-               <> T.intercalate ", " (["Value", "object", "withObject", "withText"] <> ["(.:)" | usesPlainFieldDecode] <> ["parseJSON" | hasListFields] <> ["(.=)"])
+               <> T.intercalate ", " (["Value", "object", "withObject"] <> ["withText" | isJust bodyDiscriminator] <> ["(.:)" | usesPlainFieldDecode] <> ["(.:?)" | usesPlainOptionalDecode] <> ["parseJSON" | hasListFields] <> ["(.=)" | usesEncodePair])
                <> ")",
              aesonTypesImport
            ]
@@ -4098,7 +4123,7 @@
            ]
         ++ topicConstants
         ++ [ "",
-             "-- the closed payload set (discriminated by " <> tshow ((.discriminator) c) <> ")"
+             "-- the closed payload set (discriminated by " <> maybe "the envelope's event type" tshow bodyDiscriminator <> ")"
            ]
         ++ [emitPayloadAdt languageContract contractValueType payloadTy ((.events) c)]
         ++ [ "",
@@ -4111,14 +4136,24 @@
              "encode" <> payloadTy <> " = \\case"
            ]
         ++ concatMap encodeArm ((.events) c)
-        ++ [ "",
-             "parse" <> payloadTy <> " :: Value -> Either Text " <> payloadTy,
-             "parse" <> payloadTy <> " = mapLeftText . parseEither (withObject " <> tshow payloadTy <> " go)",
-             "  where",
-             "    go o = do",
-             "      kind <- explicitParseField (withText " <> tshow ((.discriminator) c) <> " validateMessageType) o " <> tshow ((.discriminator) c),
-             "      case kind of"
-           ]
+        ++ [""]
+        ++ ( case bodyDiscriminator of
+               Just key ->
+                 [ parseName <> " :: Value -> Either Text " <> payloadTy,
+                   parseName <> " = mapLeftText . parseEither (withObject " <> tshow payloadTy <> " go)",
+                   "  where",
+                   "    go o = do",
+                   "      kind <- explicitParseField (withText " <> tshow key <> " validateMessageType) o " <> tshow key
+                 ]
+               Nothing ->
+                 [ parseName <> " :: Text -> Value -> Either Text " <> payloadTy,
+                   parseName <> " eventType = mapLeftText . parseEither (withObject " <> tshow payloadTy <> " go)",
+                   "  where",
+                   "    go " <> (if any (not . null . (.fields)) ((.events) c) then "o" else "_") <> " = do",
+                   "      kind <- validateMessageType eventType"
+                 ]
+           )
+        ++ ["      case kind of"]
         ++ concatMap decodeArm ((.events) c)
         ++ [ "        _ -> fail \"validated message type was not handled\"",
              "",
@@ -4139,8 +4174,24 @@
     hasLiteralTypedTypeIds = any (any (isLiteralTypedTypeId . contractScalar . (.valueType)) . (.fields)) ((.events) c)
     hasListFields = any (any (contractIsList . (.valueType)) . (.fields)) ((.events) c)
     usesPlainFieldDecode = any (any (isPlainScalar . (.valueType)) . (.fields)) ((.events) c)
+    -- An encoder entry is either the body discriminator or a field, so an
+    -- envelope-discriminated contract whose events are all fieldless encodes
+    -- every event as `object []` and never uses (.=).
+    usesEncodePair = isJust bodyDiscriminator || any (not . null . (.fields)) ((.events) c)
     isPlainScalar (CScalar scalar) = not (isTypedTypeId scalar)
     isPlainScalar CList {} = False
+    isPlainScalar COptional {} = False
+    usesPlainOptionalDecode = anyFieldType (\case COptional scalar -> not (isTypedTypeId scalar); _ -> False)
+    usesTypedOptionalDecode = anyFieldType (\case COptional scalar -> isTypedTypeId scalar; _ -> False)
+    -- The body discriminator is the only use of explicitParseField that does
+    -- not come from a field, so an envelope-discriminated contract imports it
+    -- only for typed required scalars and lists.
+    usesExplicitParseField =
+      isJust bodyDiscriminator
+        || anyFieldType (\case CScalar scalar -> isTypedTypeId scalar; CList {} -> True; COptional {} -> False)
+    anyFieldType predicate = any (any (predicate . (.valueType)) . (.fields)) ((.events) c)
+    bodyDiscriminator = contractBodyDiscriminator c
+    parseName = "parse" <> payloadTy <> maybe "As" (const "") bodyDiscriminator
     moduleName = genPrefix <> ".Contract"
     declaredLeaves =
       Map.fromList
@@ -4176,6 +4227,7 @@
       renderReferenceOrDie importPlan (declaredLeafHelperReference prefix (declaredLeaf name))
     contractValueType (CScalar scalar) = contractScalarType scalar
     contractValueType (CList scalar) = "[" <> contractScalarType scalar <> "]"
+    contractValueType (COptional scalar) = "(Maybe " <> contractScalarType scalar <> ")"
     contractScalarType CText = "Text"
     contractScalarType CInt = "Int"
     contractScalarType (CTypeId prefix)
@@ -4199,7 +4251,7 @@
         ++ ["  , " <> lowerFirst alias <> "Topic" | (alias, _) <- (.topics) c]
         ++ [ "  , messageTypeOf",
              "  , encode" <> payloadTy,
-             "  , parse" <> payloadTy,
+             "  , " <> parseName,
              "  ) where"
            ]
     topicConstants
@@ -4215,15 +4267,45 @@
     isLiteralTypedTypeId (CTypeId prefix) = isJust (contractIdDomainContractFor languageContract prefix)
     isLiteralTypedTypeId _ = False
     aesonTypesImport =
-      "import Data.Aeson.Types (Parser, explicitParseField, parseEither"
-        <> (if hasListFields then ", (<?>)" else "")
+      "import Data.Aeson.Types ("
+        <> T.intercalate
+          ", "
+          ( ["Parser"]
+              <> ["explicitParseField" | usesExplicitParseField]
+              <> ["explicitParseFieldMaybe" | usesTypedOptionalDecode]
+              <> ["parseEither"]
+              <> ["(<?>)" | hasListFields]
+          )
         <> ")"
-    encodeArm e =
-      [ "  " <> (.name) e <> " payload ->",
-        "    object"
-      ]
-        ++ objectEntriesFor ((tshow ((.discriminator) c) <> " .= (" <> tshow ((.name) e) <> " :: Text)") : map encodeField ((.fields) e))
-        ++ ["      ]"]
+    encodeArm e
+      | null entries && null optionalFields = [armHead, "    object []"]
+      | null optionalFields = [armHead, "    object"] ++ objectEntriesFor entries ++ ["      ]"]
+      | otherwise =
+          [armHead, "    object"]
+            ++ ( case objectEntriesFor entries of
+                   [] -> []
+                   firstEntry : rest -> ("      ( " <> T.drop 6 firstEntry) : map ("  " <>) rest ++ ["        ]"]
+               )
+            ++ [ (if index == 0 && null entries then "      ( " else "          <> ") <> optionalEntry field
+               | (index, field) <- zip [(0 :: Int) ..] optionalFields
+               ]
+            ++ ["      )"]
+      where
+        -- A fieldless event's encoder never reads its payload record.
+        armHead = "  " <> (.name) e <> (if null ((.fields) e) then " _ ->" else " payload ->")
+        optionalFields = filter (contractIsOptional . (.valueType)) ((.fields) e)
+        discriminatorEntry = [tshow key <> " .= (" <> tshow ((.name) e) <> " :: Text)" | Just key <- [bodyDiscriminator]]
+        entries = discriminatorEntry <> map encodeField (filter (not . contractIsOptional . (.valueType)) ((.fields) e))
+    optionalEntry field =
+      "["
+        <> tshow ((.wireKey) identity)
+        <> " .= "
+        <> maybe "value" (<> " value") (elementEncoder (contractScalar ((.valueType) field)))
+        <> " | Just value <- [payload."
+        <> (.selector) identity
+        <> "]]"
+      where
+        identity = resolveContractFieldIdentity field
     lead 0 kv = "      [ " <> kv
     lead _ kv = "      , " <> kv
     objectEntriesFor entries
@@ -4260,6 +4342,9 @@
     elementEncoder _ = Nothing
     decodeField field = case (.valueType) field of
       CList scalar -> "explicitParseField (parseContractList " <> elementParser scalar <> ") o " <> tshow wireKey
+      COptional scalar
+        | isTypedTypeId scalar -> "explicitParseFieldMaybe " <> elementParser scalar <> " o " <> tshow wireKey
+        | otherwise -> "o .:? " <> tshow wireKey
       CScalar scalar -> case scalar of
         CTypeId prefix
           | isJust (contractIdDomainContractFor languageContract prefix) ->
@@ -8654,8 +8739,17 @@
 --------------------------------------------------------------------------------
 
 hasVersion2Ownership :: Agg -> Bool
-hasVersion2Ownership = any ((/= LegacyHoleImplementation) . (.implementation)) . (.transitions)
+hasVersion2Ownership = transitionsHaveVersion2Ownership . (.transitions)
 
+-- | Whether 'scaffoldAggregateForService' emits @Generated.BehaviorContract@
+-- and the create-once @BehaviorHoles@ module for this aggregate. The service
+-- facade uses the same predicate so it never imports an ungenerated module.
+aggregateHasBehaviorContract :: Aggregate -> Bool
+aggregateHasBehaviorContract = transitionsHaveVersion2Ownership . (.transitions)
+
+transitionsHaveVersion2Ownership :: [Transition] -> Bool
+transitionsHaveVersion2Ownership = any ((/= LegacyHoleImplementation) . (.implementation))
+
 transitionEntries :: Agg -> [(Int, Transition)]
 transitionEntries aggregate =
   [ ((.declarationIndex) entry, (.transition) entry)
@@ -9856,7 +9950,7 @@
          ]
       ++ outcomeHandlerLines importPlan a silentOutcomes
   where
-    categoryName = staticCategory ("aggregate " <> (.name) a) (lowerFirst ((.name) a))
+    categoryName = aggregateStreamCategory ((.name) a)
     outcomeEnabled = isJust ((.domainOutcomeTypes) a)
     silentOutcomes = resolvedSilentOutcomes a
     outcomeExpressions = map (.reason) silentOutcomes
@@ -10766,6 +10860,14 @@
 
 lowerFirst :: Text -> Text
 lowerFirst = generatedCase HaskellName.LogicalIdentifier False
+
+-- | The stream category an aggregate's generated EventStream module declares
+-- (@<aggregate>Category@). The generated inspector catalog mounts the
+-- aggregate under this text, and the service topology exports it as the
+-- aggregate node's @category@. A saga aggregate gets its own aggregate
+-- category here, not the process's declared saga category.
+aggregateStreamCategory :: Name -> Text
+aggregateStreamCategory name = staticCategory ("aggregate " <> name) (lowerFirst name)
 
 -- | Assert the shared category proof at emission time as a belt-and-braces
 -- guard for callers that bypass the CLI's normal validate-before-scaffold path.
diff --git a/src/Keiro/Dsl/ServiceHarness.hs b/src/Keiro/Dsl/ServiceHarness.hs
--- a/src/Keiro/Dsl/ServiceHarness.hs
+++ b/src/Keiro/Dsl/ServiceHarness.hs
@@ -16,7 +16,7 @@
 import Keiro.Dsl.Grammar
 import Keiro.Dsl.Harness (processHarnessFactValuesForService, routerHarnessFactValuesForService, workflowHarnessFactValues)
 import Keiro.Dsl.LanguageVersion (LanguageFeature (MappedConsumerSurfaceSyntax), languageSupportsFeature)
-import Keiro.Dsl.Scaffold (Context, ModuleKind (Generated), ScaffoldModule (..), contextGeneratedPrefix, genPrefixFor, generatedBanner, pascal)
+import Keiro.Dsl.Scaffold (Context, ModuleKind (Generated), ScaffoldModule (..), aggregateHasBehaviorContract, contextGeneratedPrefix, genPrefixFor, generatedBanner, holePrefixFor, pascal)
 import Keiro.Dsl.SemanticContract (CheckedService, EffectiveLanguageContract (..), checkedLanguageContract, checkedSpec, checkedTypeGraph)
 import Keiro.Dsl.SemanticImpact (mappedSurfaceFactValues, semanticImpactForService)
 import Keiro.Dsl.StructuralConformance (hasStructuralConformance, structuralConformanceModuleName)
@@ -72,6 +72,7 @@
       "module " <> serviceConformanceModuleName ctx,
       "  ( runServiceConformanceChecks",
       "  , serviceConformanceFacts",
+      "  , runServiceBehaviorChecks",
       "  ) where"
     ]
       <> importLines
@@ -79,6 +80,8 @@
       <> renderChecks hasStructural checkSources
       <> [""]
       <> renderFacts (surfaceFactValues service) factSources
+      <> [""]
+      <> renderBehaviorChecks behaviorSources
   where
     hasStructural = hasStructuralConformance service
     aliased = aliasNodes hasStructural (serviceHarnessNodes service)
@@ -88,8 +91,11 @@
     imports =
       ["import " <> structuralConformanceModuleName ctx <> " qualified as StructuralConformance" | hasStructural]
         <> map (renderImport ctx) aliased
+        <> concatMap (renderBehaviorImports ctx) behaviorSources
+        <> ["import Data.Text qualified as Text" | not (null behaviorSources)]
     checkSources = [(node, alias) | (node, alias) <- aliased, producesChecks node]
     factSources = [(node, alias) | (node, alias) <- aliased, producesFacts node]
+    behaviorSources = [(aggregate, alias) | (NAggregate aggregate, alias) <- aliased, aggregateHasBehaviorContract aggregate]
 
 renderImport :: Context -> (Node, Text) -> Text
 renderImport ctx (node, alias) =
@@ -118,6 +124,43 @@
   NReadModel readModel -> genPrefixFor ctx (pascal ((.name) readModel)) <> ".ReadModelHarness"
   NWorkflow workflow -> genPrefixFor ctx ((.id) workflow) <> ".WorkflowFacts"
   node -> error ("service harness requested a module for unsupported node " <> show (nodeIdentity node))
+
+-- | A behavior-bearing aggregate's generated contract and its create-once
+-- witness list, aliased from the aggregate's harness alias so collision
+-- numbering carries over.
+renderBehaviorImports :: Context -> (Aggregate, Text) -> [Text]
+renderBehaviorImports ctx (aggregate, alias) =
+  [ "import " <> genPrefixFor ctx ((.name) aggregate) <> ".BehaviorContract qualified as " <> alias <> "BehaviorContract",
+    "import " <> holePrefixFor ctx ((.name) aggregate) <> ".BehaviorHoles qualified as " <> alias <> "BehaviorHoles"
+  ]
+
+-- | The opt-in full witness gate. It evaluates every declared behavior key of
+-- every behavior-bearing aggregate through the generated contract, which is
+-- why it is a separate action from 'runServiceConformanceChecks'.
+renderBehaviorChecks :: [(Aggregate, Text)] -> [Text]
+renderBehaviorChecks [] =
+  [ "runServiceBehaviorChecks :: IO [(String, Bool)]",
+    "runServiceBehaviorChecks = pure []"
+  ]
+renderBehaviorChecks sources =
+  [ "runServiceBehaviorChecks :: IO [(String, Bool)]",
+    "runServiceBehaviorChecks =",
+    "  pure ("
+  ]
+    <> renderConcatenation (map behaviorExpression sources)
+    <> ["  )"]
+
+behaviorExpression :: (Aggregate, Text) -> Text
+behaviorExpression (aggregate, alias) =
+  "[(\"aggregate/"
+    <> (.name) aggregate
+    <> "/behavior/\" <> Text.unpack row, passed) | (row, passed) <- "
+    <> alias
+    <> "BehaviorContract.behaviorConformanceRows ("
+    <> alias
+    <> "BehaviorContract.behaviorCoverageReport "
+    <> alias
+    <> "BehaviorHoles.behaviorWitnesses)]"
 
 renderChecks :: Bool -> [(Node, Text)] -> [Text]
 renderChecks False [] =
diff --git a/src/Keiro/Dsl/Topology.hs b/src/Keiro/Dsl/Topology.hs
new file mode 100644
--- /dev/null
+++ b/src/Keiro/Dsl/Topology.hs
@@ -0,0 +1,923 @@
+-- | The versioned service topology document (@keiro-dsl/service-topology/1@,
+-- or @/2@ for a service that declares an input source).
+--
+-- A topology is computed from a checked service alone. It lists every
+-- declaration of the exported node kinds and every relation between them, plus
+-- a sha256 digest of each source member so a reader can tell when a committed
+-- copy is older than its sources.
+--
+-- Compatibility policy: within one schema id keiro may add object fields and
+-- consumers must ignore fields they do not know. A new node kind, a new
+-- relation, or a change in the meaning of an existing field requires a new
+-- schema id.
+--
+-- Encoding rules. Nodes are sorted by (@kind@, @name@); edges by
+-- (@from.kind@, @from.name@, @relation@, @to.kind@, @to.name@, canonical bytes
+-- of @attributes@); identical edges are emitted once; members are sorted by
+-- path. Lists inside @details@ keep declaration order. Enumerations are spelled
+-- as the specification language spells them (the pretty printer in
+-- "Keiro.Dsl.PrettyPrint" is the reference). The document is written with the
+-- RFC 8785 JSON canonicalization scheme and followed by exactly one newline.
+module Keiro.Dsl.Topology
+  ( -- * The document
+    ServiceTopology (..),
+    TopologySource (..),
+    TopologySourceKind (..),
+    TopologyMember (..),
+    TopologyNode (..),
+    TopologyEdge (..),
+    NodeRef (..),
+    NodeKind (..),
+    Relation (..),
+    allNodeKinds,
+    allRelations,
+    nodeKindText,
+    relationText,
+    topologySchemaId,
+
+    -- * Aggregate machines
+    MachineTopology (..),
+    MachineOwnership (..),
+    MachineState (..),
+    MachineEdge (..),
+    MachineEdgeMode (..),
+    aggregateMachine,
+    machineValue,
+
+    -- * Building and encoding
+    TopologyError (..),
+    renderTopologyError,
+    buildServiceTopology,
+    memberDigest,
+    serviceTopologyValue,
+    encodeServiceTopology,
+  )
+where
+
+import Crypto.Hash.SHA256 qualified as SHA256
+import Data.Aeson (Value (..), object, (.=))
+import Data.Aeson qualified as Aeson
+import Data.Aeson.Key qualified as Key
+import Data.Aeson.KeyMap qualified as KeyMap
+import Data.Aeson.RFC8785 qualified as RFC8785
+import Data.ByteString (ByteString)
+import Data.ByteString qualified as ByteString
+import Data.ByteString.Lazy qualified as LazyByteString
+import Data.List (nub, sortOn)
+import Data.List.NonEmpty qualified as NE
+import Data.Map.Strict qualified as Map
+import Data.Maybe (mapMaybe)
+import Data.Set qualified as Set
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Version (showVersion)
+import Keiro.Dsl.AggregateGenerationPlan (TransitionLayoutEntry (..), transitionLayout)
+import Keiro.Dsl.Grammar
+import Keiro.Dsl.LanguageVersion (declaredLanguageVersionMaybe, effectiveLanguageVersion, languageVersionNumber)
+import Keiro.Dsl.Scaffold (aggregateStreamCategory)
+import Keiro.Dsl.SemanticContract (EffectiveLanguageContract)
+import Keiro.Dsl.Validate (nodeIdentity)
+import Keiro.Dsl.Workspace (WorkspaceMember (..), WorkspaceSpec (..), nodeOwner)
+import Numeric (showHex)
+import Numeric.Natural (Natural)
+import Paths_keiro_dsl qualified as Package
+import System.FilePath (takeFileName)
+
+-- | The closed set of exported node kinds.
+data NodeKind
+  = AggregateKind
+  | ProcessKind
+  | WorkflowKind
+  | RouterKind
+  | ContractKind
+  | IntakeKind
+  | EmitKind
+  | PublisherKind
+  | WorkqueueKind
+  | DispatchKind
+  | ReadModelKind
+  | OperationKind
+  | ProjectionTargetKind
+  | RebuildGroupKind
+  | ProjectionOwnerKind
+  | ProjectionRevisionKind
+  | ExternalReadKind
+  deriving stock (Eq, Ord, Show, Enum, Bounded)
+
+-- | The closed set of relations an edge may carry.
+data Relation
+  = Dispatches
+  | Saga
+  | Reads
+  | Projects
+  | Publishes
+  | Subscribes
+  | Delivers
+  | Enqueues
+  | Commands
+  | Queries
+  | Signals
+  | Runs
+  | DependsOn
+  | Groups
+  | Consumes
+  | Writes
+  | MemberOf
+  | Revises
+  | Observes
+  | BackedBy
+  | Exposes
+  | CompatibleWith
+  | -- | Schema id @/2@ only: an intake feeds a process or router input.
+    Feeds
+  deriving stock (Eq, Ord, Show, Enum, Bounded)
+
+allNodeKinds :: [NodeKind]
+allNodeKinds = [minBound .. maxBound]
+
+allRelations :: [Relation]
+allRelations = [minBound .. maxBound]
+
+nodeKindText :: NodeKind -> Text
+nodeKindText = \case
+  AggregateKind -> "aggregate"
+  ProcessKind -> "process"
+  WorkflowKind -> "workflow"
+  RouterKind -> "router"
+  ContractKind -> "contract"
+  IntakeKind -> "intake"
+  EmitKind -> "emit"
+  PublisherKind -> "publisher"
+  WorkqueueKind -> "workqueue"
+  DispatchKind -> "dispatch"
+  ReadModelKind -> "read-model"
+  OperationKind -> "operation"
+  ProjectionTargetKind -> "projection-target"
+  RebuildGroupKind -> "rebuild-group"
+  ProjectionOwnerKind -> "projection-owner"
+  ProjectionRevisionKind -> "projection-revision"
+  ExternalReadKind -> "external-read"
+
+relationText :: Relation -> Text
+relationText = \case
+  Dispatches -> "dispatches"
+  Saga -> "saga"
+  Reads -> "reads"
+  Projects -> "projects"
+  Publishes -> "publishes"
+  Subscribes -> "subscribes"
+  Delivers -> "delivers"
+  Enqueues -> "enqueues"
+  Commands -> "commands"
+  Queries -> "queries"
+  Signals -> "signals"
+  Runs -> "runs"
+  DependsOn -> "depends-on"
+  Groups -> "groups"
+  Consumes -> "consumes"
+  Writes -> "writes"
+  MemberOf -> "member-of"
+  Revises -> "revises"
+  Observes -> "observes"
+  BackedBy -> "backed-by"
+  Exposes -> "exposes"
+  CompatibleWith -> "compatible-with"
+  Feeds -> "feeds"
+
+-- | Whether keiro generates the aggregate's keiki transducer from the
+-- specification ('MachineGenerated', including per-transition Hole bodies,
+-- whose edges are still generated) or the frozen Language 1 form leaves the
+-- whole transducer hand-written ('MachineLegacyHole').
+data MachineOwnership = MachineGenerated | MachineLegacyHole
+  deriving stock (Eq, Show)
+
+data MachineState = MachineState
+  { name :: !Text,
+    terminal :: !Bool
+  }
+  deriving stock (Eq, Show)
+
+-- | Spelled as keiki's 'Keiki.Core.EdgeMode' constructors.
+data MachineEdgeMode = MachineLive | MachineReplayOnly
+  deriving stock (Eq, Show)
+
+-- | One keiki edge. Its identity is (@source@, @edgeIndex@): the position of
+-- the edge in keiki's @edgesOut source@. The index is local to one source
+-- state and changes when transitions are reordered.
+data MachineEdge = MachineEdge
+  { source :: !Text,
+    edgeIndex :: !Int,
+    target :: !Text,
+    mode :: !MachineEdgeMode,
+    command :: !Text,
+    events :: ![Text]
+  }
+  deriving stock (Eq, Show)
+
+-- | An aggregate's state machine in keiki vocabulary. States are in
+-- declaration order (the generated vertex type's constructor order); edges are
+-- ordered by their source state's position, then by edge index.
+data MachineTopology = MachineTopology
+  { ownership :: !MachineOwnership,
+    initial :: !Text,
+    states :: ![MachineState],
+    edges :: ![MachineEdge]
+  }
+  deriving stock (Eq, Show)
+
+-- | The machine the specification declares. The conformance suite
+-- @keiro-dsl-conformance-topology-machine@ proves it equal to the generated
+-- keiki transducer for generated machines.
+aggregateMachine :: Aggregate -> MachineTopology
+aggregateMachine aggregate =
+  MachineTopology
+    { ownership =
+        if any ((== LegacyHoleImplementation) . (.implementation)) aggregate.transitions
+          then MachineLegacyHole
+          else MachineGenerated,
+      initial = case aggregate.states of
+        first : _ -> first.name
+        [] -> "",
+      states = [MachineState {name = state.name, terminal = state.terminal} | state <- aggregate.states],
+      edges =
+        [ MachineEdge
+            { source = entry.transition.source,
+              edgeIndex = entry.outgoingIndex,
+              target = entry.transition.goto,
+              mode = case entry.transition.mode of
+                TmLive -> MachineLive
+                TmReplayOnly -> MachineReplayOnly,
+              command = entry.transition.command,
+              events = entry.transition.emits
+            }
+        | state <- aggregate.states,
+          entry <- layout,
+          entry.transition.source == state.name
+        ]
+    }
+  where
+    layout = transitionLayout aggregate.transitions
+
+machineValue :: MachineTopology -> Value
+machineValue machine =
+  object
+    [ "ownership" .= (case machine.ownership of MachineGenerated -> "generated" :: Text; MachineLegacyHole -> "legacy-hole"),
+      "initial" .= machine.initial,
+      "states" .= [object ["name" .= state.name, "terminal" .= state.terminal] | state <- machine.states],
+      "edges"
+        .= [ object
+               [ "source" .= machineEdge.source,
+                 "edgeIndex" .= machineEdge.edgeIndex,
+                 "target" .= machineEdge.target,
+                 "mode" .= (case machineEdge.mode of MachineLive -> "Live" :: Text; MachineReplayOnly -> "ReplayOnly"),
+                 "command" .= machineEdge.command,
+                 "events" .= machineEdge.events
+               ]
+           | machineEdge <- machine.edges
+           ]
+    ]
+
+-- | Whether the document came from one source file or a workspace manifest.
+data TopologySourceKind = TopologySingleSource | TopologyWorkspace
+  deriving stock (Eq, Show)
+
+data TopologySource = TopologySource
+  { kind :: !TopologySourceKind,
+    -- | The file name of the source or manifest, never a directory path.
+    path :: !FilePath
+  }
+  deriving stock (Eq, Show)
+
+data TopologyMember = TopologyMember
+  { -- | Relative to the manifest directory, forward slashes.
+    path :: !FilePath,
+    -- | @sha256:@ followed by the lowercase hex digest of the file's bytes.
+    sha256 :: !Text,
+    declaredLanguageVersion :: !(Maybe Natural),
+    effectiveLanguageVersion :: !Natural
+  }
+  deriving stock (Eq, Show)
+
+data NodeRef = NodeRef
+  { kind :: !NodeKind,
+    name :: !Name
+  }
+  deriving stock (Eq, Ord, Show)
+
+data TopologyNode = TopologyNode
+  { kind :: !NodeKind,
+    name :: !Name,
+    context :: !Name,
+    member :: !FilePath,
+    line :: !Int,
+    -- | A JSON object whose fields depend on the kind.
+    details :: !Aeson.Object
+  }
+  deriving stock (Eq, Show)
+
+data TopologyEdge = TopologyEdge
+  { from :: !NodeRef,
+    to :: !NodeRef,
+    relation :: !Relation,
+    attributes :: !Aeson.Object
+  }
+  deriving stock (Eq, Show)
+
+data ServiceTopology = ServiceTopology
+  { service :: !Text,
+    source :: !TopologySource,
+    languageContract :: !EffectiveLanguageContract,
+    generatorVersion :: !Text,
+    members :: ![TopologyMember],
+    nodes :: ![TopologyNode],
+    edges :: ![TopologyEdge]
+  }
+  deriving stock (Eq, Show)
+
+-- | The schema id a document is emitted under: the lowest id able to represent
+-- it. A document with a @feeds@ edge needs @/2@; every other document is @/1@,
+-- byte-for-byte what it was before @/2@ existed.
+topologySchemaId :: ServiceTopology -> Text
+topologySchemaId topology
+  | any ((== Feeds) . (.relation)) topology.edges = "keiro-dsl/service-topology/2"
+  | otherwise = "keiro-dsl/service-topology/1"
+
+-- | An internal inconsistency. A checked service never produces one.
+data TopologyError
+  = TopologyDuplicateNode !NodeRef
+  | TopologyDanglingEdge !NodeRef !Relation !NodeRef
+  | TopologyMissingOwner !Text !Name
+  | TopologyMissingDigest !FilePath
+  deriving stock (Eq, Show)
+
+renderTopologyError :: TopologyError -> Text
+renderTopologyError = \case
+  TopologyDuplicateNode ref ->
+    "internal error: topology node " <> renderRef ref <> " is declared more than once"
+  TopologyDanglingEdge fromRef relation toRef ->
+    "internal error: topology edge "
+      <> renderRef fromRef
+      <> " -"
+      <> relationText relation
+      <> "-> "
+      <> renderRef toRef
+      <> " names no node in the document"
+  TopologyMissingOwner kind name ->
+    "internal error: no workspace member owns " <> kind <> " '" <> name <> "'"
+  TopologyMissingDigest path ->
+    "internal error: no digest was supplied for member " <> T.pack path
+  where
+    renderRef ref = nodeKindText ref.kind <> " '" <> ref.name <> "'"
+
+-- | @sha256:<lowercase hex>@ of a member file's exact bytes.
+memberDigest :: ByteString -> Text
+memberDigest bytes = "sha256:" <> T.pack (concatMap twoHex (ByteString.unpack (SHA256.hash bytes)))
+  where
+    twoHex byte = case showHex byte "" of
+      [digit] -> ['0', digit]
+      digits -> digits
+
+-- | Build the document. The 'FilePath' is the source or manifest path as given;
+-- only its file name is recorded. The list pairs each member path with its
+-- digest. Fails only on an internal inconsistency (duplicate node identity, a
+-- dangling edge endpoint, or a member without an owner or digest).
+buildServiceTopology ::
+  TopologySourceKind ->
+  FilePath ->
+  WorkspaceSpec ->
+  [(FilePath, Text)] ->
+  Either TopologyError ServiceTopology
+buildServiceTopology sourceKind sourcePath workspace digests = do
+  members <- traverse topologyMember workspace.members
+  nodes <- traverse (topologyNode workspace spec) spec.nodes
+  let sortedNodes = sortOn nodeSortKey nodes
+      nodeRefs = Set.fromList [NodeRef node.kind node.name | node <- nodes]
+  case duplicates [NodeRef node.kind node.name | node <- nodes] of
+    ref : _ -> Left (TopologyDuplicateNode ref)
+    [] -> pure ()
+  let edgeList = sortOn edgeSortKey (nub (concatMap (nodeEdges spec) spec.nodes))
+  case [candidate | candidate <- edgeList, not (Set.member candidate.from nodeRefs && Set.member candidate.to nodeRefs)] of
+    dangling : _ -> Left (TopologyDanglingEdge dangling.from dangling.relation dangling.to)
+    [] -> pure ()
+  pure
+    ServiceTopology
+      { service = workspace.service,
+        source = TopologySource {kind = sourceKind, path = takeFileName sourcePath},
+        languageContract = workspace.languageContract,
+        generatorVersion = T.pack (showVersion Package.version),
+        members = sortOn (.path) members,
+        nodes = sortedNodes,
+        edges = edgeList
+      }
+  where
+    spec = workspace.mergedSpec
+    digestMap = Map.fromList digests
+    topologyMember member = case Map.lookup member.path digestMap of
+      Nothing -> Left (TopologyMissingDigest member.path)
+      Just digest ->
+        Right
+          TopologyMember
+            { path = member.path,
+              sha256 = digest,
+              declaredLanguageVersion = fmap languageVersionNumber (declaredLanguageVersionMaybe member.sourceLanguage),
+              effectiveLanguageVersion = languageVersionNumber (effectiveLanguageVersion member.sourceLanguage)
+            }
+    -- Sort keys use the spelled kind and relation, so the order a reader sees
+    -- in the document is the plain codepoint order of its own strings.
+    nodeSortKey node = (nodeKindText node.kind, node.name)
+    edgeSortKey topologyEdge =
+      ( nodeKindText topologyEdge.from.kind,
+        topologyEdge.from.name,
+        relationText topologyEdge.relation,
+        nodeKindText topologyEdge.to.kind,
+        topologyEdge.to.name,
+        canonicalBytes (Object topologyEdge.attributes)
+      )
+
+duplicates :: (Ord a) => [a] -> [a]
+duplicates values = [value | (value, count) <- Map.toList (Map.fromListWith (+) [(value, 1 :: Int) | value <- values]), count > 1]
+
+--------------------------------------------------------------------------------
+-- Nodes
+--------------------------------------------------------------------------------
+
+topologyNode :: WorkspaceSpec -> Spec -> Node -> Either TopologyError TopologyNode
+topologyNode workspace spec node = do
+  let (ownerKind, ownerName, _) = nodeIdentity node
+  (memberPath, Loc lineNumber) <-
+    maybe (Left (TopologyMissingOwner ownerKind ownerName)) Right (nodeOwner workspace.ownership ownerKind ownerName)
+  let (kind, name, details) = nodeSummary spec node
+  pure
+    TopologyNode
+      { kind = kind,
+        name = name,
+        context = workspace.context,
+        member = memberPath,
+        line = lineNumber,
+        details = details
+      }
+
+fields :: [(Text, Value)] -> Aeson.Object
+fields = KeyMap.fromList . map (\(key, value) -> (Key.fromText key, value))
+
+nullableText :: Text -> Value
+nullableText value
+  | T.null value = Null
+  | otherwise = String value
+
+names :: [Name] -> Value
+names = Aeson.toJSON
+
+nodeSummary :: Spec -> Node -> (NodeKind, Name, Aeson.Object)
+nodeSummary spec = \case
+  NAggregate aggregate ->
+    ( AggregateKind,
+      aggregate.name,
+      fields
+        [ ("states", names (map (.name) aggregate.states)),
+          ("commands", names (map (.name) aggregate.commands)),
+          ("events", names (map (.name) aggregate.events)),
+          ("machine", machineValue (aggregateMachine aggregate)),
+          -- The category the generated inspector catalog mounts the aggregate
+          -- under, so a consumer can join the node to live inspection.
+          ("category", String (aggregateStreamCategory aggregate.name))
+        ]
+    )
+  NProcess process ->
+    ( ProcessKind,
+      process.id,
+      fields
+        [ ("stableName", String process.name),
+          ("saga", object ["aggregate" .= process.saga.agg, "category" .= process.saga.category]),
+          ("correlate", object ["field" .= process.correlate.field, "via" .= process.correlate.via]),
+          ("inputs", names (processInputs process.body)),
+          ("target", String process.target),
+          ("projections", names process.projections),
+          ("timers", names (processTimers process.body)),
+          ("rejected", String (policyText process.rejected)),
+          ("poison", String (policyText process.poison))
+        ]
+    )
+  NWorkflow workflow ->
+    ( WorkflowKind,
+      workflow.id,
+      fields
+        [ ("stableName", String workflow.stable),
+          ("input", String workflow.input),
+          ("output", String workflow.output),
+          ("steps", Aeson.toJSON (concatMap workflowSteps workflow.body))
+        ]
+    )
+  NRouter router ->
+    ( RouterKind,
+      router.id,
+      fields
+        [ ("stableName", String router.name),
+          ("input", String router.input.name),
+          ("target", String router.target),
+          ("resolvesFrom", maybe Null String (routerReadModel router)),
+          ("projections", names router.projections)
+        ]
+    )
+  NContract contract ->
+    ( ContractKind,
+      contract.name,
+      fields
+        [ ("schemaVersion", Aeson.toJSON contract.schemaVersion),
+          ("discriminator", maybe Null String (contractBodyDiscriminator contract)),
+          ("topics", Aeson.toJSON [object ["alias" .= alias, "topic" .= topic] | (alias, topic) <- contract.topics]),
+          ("events", names (map (.name) contract.events))
+        ]
+    )
+  NIntake intake ->
+    ( IntakeKind,
+      intake.name,
+      fields
+        [ ("contract", String intake.contract),
+          ("topicAlias", String intake.topic),
+          ("topic", maybe Null String (contractTopic spec intake.contract intake.topic)),
+          ("accepts", names intake.accept),
+          ("dedupe", object ["key" .= intake.dedupeKey, "policy" .= intake.dedupePolicy]),
+          ("idempotence", String (case intake.idempotence of IdemInboxTable -> "inbox-table"; IdemDelegated -> "delegated"))
+        ]
+    )
+  NEmit emit ->
+    ( EmitKind,
+      emit.name,
+      fields
+        [ ("contract", String emit.contract),
+          ("topicAlias", String emit.topic),
+          ("topic", maybe Null String (contractTopic spec emit.contract emit.topic)),
+          ("source", String emit.source),
+          ("key", String emit.key),
+          ("events", names (emitEvents emit))
+        ]
+    )
+  NPublisher publisher ->
+    ( PublisherKind,
+      publisher.name,
+      fields
+        [ ("emit", String publisher.emit),
+          ("ordering", String publisher.ordering),
+          ("maxAttempts", Aeson.toJSON publisher.maxAttempts),
+          ( "backoff",
+            object
+              [ "kind" .= publisher.backoff.kind,
+                "window" .= publisher.backoff.window,
+                "max" .= publisher.backoff.max,
+                "multiplier" .= publisher.backoff.multiplier
+              ]
+          ),
+          ("outboxField", String publisher.outboxField)
+        ]
+    )
+  NWorkqueue queue ->
+    ( WorkqueueKind,
+      queue.name,
+      fields
+        [ ("logical", String queue.logical),
+          ("physical", String queue.physical),
+          ("dlq", String queue.dlq),
+          ("table", String queue.table),
+          ("ordering", String (orderingText queue.ordering)),
+          ("maxRetries", Aeson.toJSON queue.maxRetries),
+          ("dlqOn", Bool queue.dlqOn)
+        ]
+    )
+  NPgmqDispatch dispatch ->
+    ( DispatchKind,
+      dispatch.name,
+      fields
+        [ ("sourceReadModel", String dispatch.sourceReadModel),
+          ("dedupReadModel", String dispatch.dedupReadModel),
+          ("enqueueTo", String dispatch.enqueueTo)
+        ]
+    )
+  NReadModel readModel ->
+    ( ReadModelKind,
+      readModel.name,
+      fields
+        [ ("table", nullableText readModel.table),
+          ("schema", nullableText readModel.schema),
+          ("version", Aeson.toJSON readModel.version),
+          ("group", maybe Null String readModel.group),
+          ("observedTargets", names readModel.observedTargets),
+          ("backingTarget", maybe Null String readModel.backingTarget)
+        ]
+    )
+  NOperation operation ->
+    ( OperationKind,
+      operation.name,
+      fields $ case operation.shape of
+        CommandOp aggregate _ _ _ -> [("form", String "command"), ("subject", String aggregate)]
+        QueryOp readModel _ _ _ -> [("form", String "query"), ("subject", String readModel)]
+        SignalOp label workflow _ _ _ -> [("form", String "signal"), ("subject", String workflow), ("label", String label)]
+        RunOp workflow _ _ -> [("form", String "run"), ("subject", String workflow)]
+    )
+  NProjectionTarget target ->
+    ( ProjectionTargetKind,
+      target.name,
+      fields
+        [ ("schema", String target.schema),
+          ("table", String target.table),
+          ("reset", String (case target.reset of TargetClear -> "clear"; TargetPreserve -> "preserve")),
+          ("dependsOn", names target.dependsOn)
+        ]
+    )
+  NRebuildGroup groupNode ->
+    ( RebuildGroupKind,
+      groupNode.name,
+      fields
+        [ ("targets", names groupNode.targets),
+          ("order", names groupNode.order)
+        ]
+    )
+  NProjectionOwner owner ->
+    ( ProjectionOwnerKind,
+      owner.name,
+      fields
+        [ ("sources", Aeson.toJSON (map catalogSourceValue owner.sources)),
+          ("delivery", String (case owner.delivery of DeliveryInline -> "inline"; DeliverySubscription -> "subscription")),
+          ("group", String owner.group),
+          ("targets", names owner.targets),
+          ("order", Aeson.toJSON owner.order),
+          ("subscription", maybe Null String owner.subscription),
+          ("dedup", maybe Null String owner.dedup),
+          ( "replay",
+            case owner.replay of
+              ProjectionReplayExplicit -> object ["mode" .= ("explicit" :: Text), "reason" .= Null]
+              ProjectionLiveOnly reason -> object ["mode" .= ("live-only" :: Text), "reason" .= reason]
+          )
+        ]
+    )
+  NProjectionRevision revision ->
+    ( ProjectionRevisionKind,
+      revision.name,
+      fields
+        [ ("group", String revision.group),
+          ( "targets",
+            Aeson.toJSON
+              [ object ["target" .= revisionTarget.target, "schemaVersion" .= revisionTarget.schemaVersion]
+              | revisionTarget <- revision.targets
+              ]
+          )
+        ]
+    )
+  NExternalRead externalRead ->
+    ( ExternalReadKind,
+      externalReadNodeIdentity externalRead,
+      fields
+        [ ("contract", String externalRead.name),
+          ("version", Aeson.toJSON externalRead.version),
+          ("queryModel", String externalRead.queryModel),
+          ("resultSchema", String externalRead.resultSchema),
+          ("resultType", String externalRead.resultType),
+          ("compatibleRevisions", names externalRead.compatibleRevisions),
+          ("surfaceGeneration", Aeson.toJSON externalRead.surfaceGeneration)
+        ]
+    )
+
+-- | The physical topic a contract assigns to an alias.
+contractTopic :: Spec -> Name -> Name -> Maybe Text
+contractTopic spec contractName alias =
+  case [contract | NContract contract <- spec.nodes, contract.name == contractName] of
+    contract : _ -> lookup alias contract.topics
+    [] -> Nothing
+
+catalogSourceValue :: CatalogSource -> Value
+catalogSourceValue = \case
+  CatalogAggregate name -> object ["kind" .= ("aggregate" :: Text), "name" .= name]
+  CatalogCategory name -> object ["kind" .= ("category" :: Text), "name" .= name]
+  CatalogAll -> object ["kind" .= ("all" :: Text)]
+
+policyText :: PolicyChoice -> Text
+policyText = \case
+  PolHalt -> "halt"
+  PolDeadLetter -> "deadLetter"
+  PolSkip -> "skip"
+
+orderingText :: WqOrdering -> Text
+orderingText = \case
+  WqUnordered -> "unordered"
+  WqFifoThroughput -> "fifo-throughput"
+  WqFifoRoundRobin -> "fifo-roundrobin"
+  WqFifoHeads -> "fifo-heads"
+
+processInputs :: ProcessBody -> [Name]
+processInputs = map (.name) . processBodyInputs
+
+processBodyInputs :: ProcessBody -> [InputDecl]
+processBodyInputs = \case
+  LegacyProcessBody input _ _ -> [input]
+  ReactionProcessBody body -> NE.toList body.inputs
+
+processTimers :: ProcessBody -> [Name]
+processTimers = \case
+  LegacyProcessBody _ _ timer -> [timer.name]
+  ReactionProcessBody body -> map (.name) body.timers
+
+workflowSteps :: WfBodyItem -> [Value]
+workflowSteps = \case
+  WfStep label _ _ -> [step "step" (Just label)]
+  WfAwait label _ _ -> [step "await" (Just label)]
+  WfSleep label _ _ -> [step "sleep" (Just label)]
+  WfChild label _ _ _ -> [step "child" (Just label)]
+  WfPatch patchId items _ -> step "patch" (Just patchId) : concatMap workflowSteps items
+  WfContinueAsNew _ _ -> [step "continue-as-new" Nothing]
+  where
+    step :: Text -> Maybe Name -> Value
+    step form label = object (("form" .= form) : maybe [] (\value -> ["label" .= value]) label)
+
+-- | The read model a router resolves from, when it resolves from one.
+routerReadModel :: RouterNode -> Maybe Name
+routerReadModel router = case router.resolve.source of
+  ResolveReadModel name -> Just name
+  ResolveDeclarative selection -> Just selection.query
+  ResolveHole -> Nothing
+
+emitEvents :: EmitNode -> [Name]
+emitEvents emit = nub (map (.event) emit.map)
+
+--------------------------------------------------------------------------------
+-- Edges
+--------------------------------------------------------------------------------
+
+mkEdge :: NodeKind -> Name -> Relation -> NodeKind -> Name -> [(Text, Value)] -> TopologyEdge
+mkEdge fromKind fromName relation toKind toName attributes =
+  TopologyEdge
+    { from = NodeRef fromKind fromName,
+      to = NodeRef toKind toName,
+      relation = relation,
+      attributes = fields attributes
+    }
+
+nodeEdges :: Spec -> Node -> [TopologyEdge]
+nodeEdges spec = \case
+  NAggregate _ -> []
+  NProcess process ->
+    [ mkEdge ProcessKind process.id Dispatches AggregateKind target [("command", String command)]
+    | (target, command) <- processDispatches process.body
+    ]
+      <> [mkEdge ProcessKind process.id Saga AggregateKind process.saga.agg [("category", String process.saga.category)]]
+      <> projectsEdges ProcessKind process.id process.projections
+      <> concatMap (feedsEdges ProcessKind process.id) (processBodyInputs process.body)
+  NWorkflow _ -> []
+  NRouter router ->
+    [mkEdge RouterKind router.id Dispatches AggregateKind router.target [("command", String router.dispatch.command)]]
+      <> [mkEdge RouterKind router.id Reads ReadModelKind readModel [("role", String "resolve")] | Just readModel <- [routerReadModel router]]
+      <> projectsEdges RouterKind router.id router.projections
+      <> feedsEdges RouterKind router.id router.input
+  NContract _ -> []
+  NIntake intake ->
+    [ mkEdge
+        IntakeKind
+        intake.name
+        Subscribes
+        ContractKind
+        intake.contract
+        [ ("topicAlias", String intake.topic),
+          ("topic", maybe Null String (contractTopic spec intake.contract intake.topic)),
+          ("events", names intake.accept)
+        ]
+    ]
+  NEmit emit ->
+    [ mkEdge
+        EmitKind
+        emit.name
+        Publishes
+        ContractKind
+        emit.contract
+        [ ("topicAlias", String emit.topic),
+          ("topic", maybe Null String (contractTopic spec emit.contract emit.topic)),
+          ("events", names (emitEvents emit))
+        ]
+    ]
+  NPublisher publisher -> [mkEdge PublisherKind publisher.name Delivers EmitKind publisher.emit []]
+  NWorkqueue _ -> []
+  NPgmqDispatch dispatch ->
+    [ mkEdge DispatchKind dispatch.name Reads ReadModelKind dispatch.sourceReadModel [("role", String "source")],
+      mkEdge DispatchKind dispatch.name Reads ReadModelKind dispatch.dedupReadModel [("role", String "dedupe")],
+      mkEdge DispatchKind dispatch.name Enqueues WorkqueueKind dispatch.enqueueTo []
+    ]
+  NReadModel readModel ->
+    [mkEdge ReadModelKind readModel.name MemberOf RebuildGroupKind groupName [] | Just groupName <- [readModel.group]]
+      <> [mkEdge ReadModelKind readModel.name Observes ProjectionTargetKind target [] | target <- readModel.observedTargets]
+      <> [mkEdge ReadModelKind readModel.name BackedBy ProjectionTargetKind target [] | Just target <- [readModel.backingTarget]]
+  NOperation operation -> case operation.shape of
+    CommandOp aggregate _ _ _ -> [mkEdge OperationKind operation.name Commands AggregateKind aggregate []]
+    QueryOp readModel _ _ _ -> [mkEdge OperationKind operation.name Queries ReadModelKind readModel []]
+    SignalOp label workflow _ _ _ -> [mkEdge OperationKind operation.name Signals WorkflowKind workflow [("label", String label)]]
+    RunOp workflow _ _ -> [mkEdge OperationKind operation.name Runs WorkflowKind workflow []]
+  NProjectionTarget target ->
+    [mkEdge ProjectionTargetKind target.name DependsOn ProjectionTargetKind dependency [] | dependency <- target.dependsOn]
+  NRebuildGroup groupNode ->
+    [mkEdge RebuildGroupKind groupNode.name Groups ProjectionTargetKind target [] | target <- groupNode.targets]
+  NProjectionOwner owner ->
+    [mkEdge ProjectionOwnerKind owner.name Consumes AggregateKind aggregate [] | CatalogAggregate aggregate <- owner.sources]
+      <> [mkEdge ProjectionOwnerKind owner.name Writes ProjectionTargetKind target [] | target <- owner.targets]
+      <> [mkEdge ProjectionOwnerKind owner.name MemberOf RebuildGroupKind owner.group []]
+  NProjectionRevision revision ->
+    mkEdge ProjectionRevisionKind revision.name Revises RebuildGroupKind revision.group []
+      : [ mkEdge ProjectionRevisionKind revision.name Revises ProjectionTargetKind revisionTarget.target [("schemaVersion", String revisionTarget.schemaVersion)]
+        | revisionTarget <- revision.targets
+        ]
+  NExternalRead externalRead ->
+    let identity = externalReadNodeIdentity externalRead
+     in mkEdge ExternalReadKind identity Exposes ReadModelKind externalRead.queryModel []
+          : [mkEdge ExternalReadKind identity CompatibleWith ProjectionRevisionKind revision [] | revision <- externalRead.compatibleRevisions]
+  where
+    projectionOwners =
+      Map.fromListWith
+        (flip (<>))
+        [ (projection.table, [aggregate.name])
+        | NAggregate aggregate <- spec.nodes,
+          Just projection <- [aggregate.projection]
+        ]
+    feedsEdges kind name input =
+      [ mkEdge IntakeKind source.intake Feeds kind name [("input", String input.name), ("events", names (NE.toList source.events))]
+      | Just source <- [input.source]
+      ]
+    projectsEdges kind name tables =
+      [ mkEdge kind name Projects AggregateKind aggregate [("table", String table)]
+      | table <- tables,
+        aggregate <- Map.findWithDefault [] table projectionOwners
+      ]
+
+-- | Every (target aggregate, command) a process body dispatches, in order.
+processDispatches :: ProcessBody -> [(Name, Name)]
+processDispatches = \case
+  LegacyProcessBody _ handle timer ->
+    [(dispatch.target, dispatch.command) | dispatch <- handle.dispatch]
+      <> [(timer.fire.target, timer.fire.command)]
+  ReactionProcessBody body ->
+    concatMap reactionDispatches (NE.toList body.reactions)
+      <> [(timer.fire.target, timer.fire.command) | timer <- body.timers]
+  where
+    reactionDispatches reaction = concatMap armDispatches (NE.toList reaction.arms)
+    armDispatches arm = case arm.body of
+      NoAction -> []
+      ArmActions {advance, followUps} ->
+        followUpDispatches followUps
+          <> maybe [] (\advanceReaction -> maybe [] followUpDispatches advanceReaction.accepted) advance
+    followUpDispatches followUps = mapMaybe followUpDispatch followUps
+    followUpDispatch = \case
+      FollowDispatch dispatch -> Just (dispatch.target, dispatch.command)
+      _ -> Nothing
+
+--------------------------------------------------------------------------------
+-- Encoding
+--------------------------------------------------------------------------------
+
+canonicalBytes :: Value -> ByteString
+canonicalBytes = LazyByteString.toStrict . RFC8785.encodeCanonical
+
+nodeRefValue :: NodeRef -> Value
+nodeRefValue ref = object ["kind" .= nodeKindText ref.kind, "name" .= ref.name]
+
+-- | The document as a JSON value, before canonical encoding.
+serviceTopologyValue :: ServiceTopology -> Value
+serviceTopologyValue topology =
+  object
+    [ "schema" .= topologySchemaId topology,
+      "service" .= topology.service,
+      "source"
+        .= object
+          [ "kind" .= (case topology.source.kind of TopologySingleSource -> "source" :: Text; TopologyWorkspace -> "workspace"),
+            "path" .= topology.source.path
+          ],
+      "effectiveSemanticContract" .= topology.languageContract,
+      "generator" .= object ["tool" .= ("keiro-dsl" :: Text), "version" .= topology.generatorVersion],
+      "members"
+        .= [ object
+               [ "path" .= member.path,
+                 "sha256" .= member.sha256,
+                 "declaredLanguageVersion" .= member.declaredLanguageVersion,
+                 "effectiveLanguageVersion" .= member.effectiveLanguageVersion
+               ]
+           | member <- topology.members
+           ],
+      "nodes"
+        .= [ object
+               [ "kind" .= nodeKindText node.kind,
+                 "name" .= node.name,
+                 "context" .= node.context,
+                 "member" .= node.member,
+                 "line" .= node.line,
+                 "details" .= Object node.details
+               ]
+           | node <- topology.nodes
+           ],
+      "edges"
+        .= [ object
+               [ "from" .= nodeRefValue topologyEdge.from,
+                 "to" .= nodeRefValue topologyEdge.to,
+                 "relation" .= relationText topologyEdge.relation,
+                 "attributes" .= Object topologyEdge.attributes
+               ]
+           | topologyEdge <- topology.edges
+           ]
+    ]
+
+-- | Canonical bytes: RFC 8785 JSON followed by one newline.
+encodeServiceTopology :: ServiceTopology -> ByteString
+encodeServiceTopology topology = canonicalBytes (serviceTopologyValue topology) <> ByteString.singleton 10
diff --git a/src/Keiro/Dsl/Validate.hs b/src/Keiro/Dsl/Validate.hs
--- a/src/Keiro/Dsl/Validate.hs
+++ b/src/Keiro/Dsl/Validate.hs
@@ -30,7 +30,7 @@
 import Data.Bits (xor)
 import Data.Char (isControl, isSpace, ord, toLower)
 import Data.Graph (SCC (..), stronglyConnComp)
-import Data.List (sortOn)
+import Data.List (nub, sortOn)
 import Data.List.NonEmpty qualified as NE
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
@@ -355,6 +355,7 @@
   | EnumCtorAdded
   | EventRetirementAbandoned
   | ContractEventAdded
+  | ContractOptionalFieldAdded -- ExecPlan 345 / IR-64: an added Optional field needs no schemaVersion bump.
   | ContractTopicAdded
   | WorkflowEvolutionGuardAdded
   | -- MasterPlan 25 / EP-149 (consumer-owned mapped types).
@@ -489,6 +490,7 @@
   | ContractIdUnknown
   | ContractTypeIdDomainChanged
   | ContractListFieldUsedAsKey -- ExecPlan 312 / IR-54: list fields are values, never identities.
+  | ContractOptionalFieldUsedAsKey -- ExecPlan 345 / IR-64: an identity that may be absent identifies nothing.
   | -- ExecPlan 180: accepted-but-unenforced spec surfaces.
     PublisherOrderingUnknown
   | PublisherBackoffInvalid
@@ -615,6 +617,10 @@
   | AggregateExpressionWriteInitialShadowed
   | MappedWriteLiftChanged
   | MappedWriteLiftFixturesChanged
+  | -- MasterPlan 48 EP-4: a declared input source must name a declared intake
+    -- that accepts every named event.
+    InputSourceUnresolvedIntake
+  | InputSourceEventNotAccepted
   deriving stock (Eq, Ord, Show, Enum, Bounded)
 
 -- | Which command pipeline can actually produce a given 'DiagnosticCode'.
@@ -666,6 +672,7 @@
   CompatibilityStrengthened -> DiffDiagnostic
   ContractDiscriminatorChanged -> DiffDiagnostic
   ContractEventAdded -> DiffDiagnostic
+  ContractOptionalFieldAdded -> DiffDiagnostic
   ContractEventRemoved -> DiffDiagnostic
   ContractFieldChanged -> DiffDiagnostic
   ContractSchemaVersionBumped -> DiffDiagnostic
@@ -2439,8 +2446,12 @@
 
 validateNode :: EffectiveLanguageContract -> Either (NE.NonEmpty TypeGraphError) TypeGraph -> ProjectionSupplyAnalysis -> Spec -> Node -> [Diagnostic]
 validateNode languageContract typeGraphResult _supplyAnalysis spec (NAggregate agg) = validateAggregate languageContract typeGraphResult spec agg
-validateNode languageContract typeGraphResult _supplyAnalysis spec (NProcess p) = validateProcess languageContract typeGraphResult spec p
-validateNode languageContract typeGraphResult _supplyAnalysis spec (NRouter router) = validateRouter languageContract typeGraphResult spec router
+validateNode languageContract typeGraphResult _supplyAnalysis spec (NProcess p) =
+  validateProcess languageContract typeGraphResult spec p
+    <> concatMap (validateInputSource spec ("process '" <> (.id) p <> "'")) (processBodyInputs ((.body) p))
+validateNode languageContract typeGraphResult _supplyAnalysis spec (NRouter router) =
+  validateRouter languageContract typeGraphResult spec router
+    <> validateInputSource spec ("router '" <> (.id) router <> "'") ((.input) router)
 validateNode languageContract _typeGraphResult _supplyAnalysis spec (NContract contract) = validateContract languageContract spec contract
 validateNode languageContract _typeGraphResult _supplyAnalysis spec (NIntake i) = validateIntake languageContract i ++ intakeCoupling languageContract spec i
 validateNode languageContract _typeGraphResult _supplyAnalysis spec (NEmit e) = validateEmit languageContract spec e
@@ -2561,13 +2572,14 @@
       | enforcesSpecSurfaceClosures languageContract,
         event <- (.events) contract,
         field <- (.fields) event,
-        (.wireKey) (resolveContractFieldIdentity field) == (.discriminator) contract
+        Just bodyKey <- [contractBodyDiscriminator contract],
+        (.wireKey) (resolveContractFieldIdentity field) == bodyKey
       ]
     fieldWireKeyRules =
       concat
         [ wireKeyRulesForRecord
             ("contract '" <> (.name) contract <> "' event '" <> (.name) event <> "'")
-            (Just ((.discriminator) contract, "payload discriminator"))
+            ((,"payload discriminator") <$> contractBodyDiscriminator contract)
             (map resolveContractFieldIdentity ((.fields) event))
         | event <- (.events) contract
         ]
@@ -3663,10 +3675,17 @@
             | enforcesSpecSurfaceClosures languageContract,
               not (null (listDedupeEvents c))
             ],
+            [ mkErr (locLine ((.loc) i)) ContractOptionalFieldUsedAsKey $
+                "intake '" <> (.name) i <> "' dedupe key '" <> (.dedupeKey) i <> "' is an Optional field of accepted events " <> T.intercalate ", " (optionalDedupeEvents c) <> "; dedupe identity must be a required scalar envelope or event field"
+            | enforcesSpecSurfaceClosures languageContract,
+              null (listDedupeEvents c),
+              not (null (optionalDedupeEvents c))
+            ],
             [ mkErr (locLine ((.loc) i)) IntakeDedupeKeyUnresolved $
                 "intake '" <> (.name) i <> "' dedupe key '" <> (.dedupeKey) i <> "' is not an envelope or accepted-event field"
             | enforcesSpecSurfaceClosures languageContract,
               null (listDedupeEvents c),
+              null (optionalDedupeEvents c),
               (.dedupeKey) i `Set.notMember` resolvableFields c
             ],
             [ mkErr (locLine ((.loc) i)) IntakeDecodeSchemaVersionMismatch $
@@ -3701,13 +3720,15 @@
         (.required) binding || (.crossCheck) binding
       ]
     lookupContract n = case [c | c <- specContracts spec, (.name) c == n] of (c : _) -> Just c; [] -> Nothing
-    listDedupeEvents contract
+    listDedupeEvents = dedupeEventsWhere contractIsList
+    optionalDedupeEvents = dedupeEventsWhere contractIsOptional
+    dedupeEventsWhere shape contract
       | (.dedupeKey) i `Set.member` canonicalIntakeEnvelopeFields = []
       | otherwise =
           [ (.name) event
           | event <- (.events) contract,
             (.name) event `elem` (.accept) i,
-            any (\field -> (.name) field == (.dedupeKey) i && contractIsList ((.valueType) field)) ((.fields) event)
+            any (\field -> (.name) field == (.dedupeKey) i && shape ((.valueType) field)) ((.fields) event)
           ]
     resolvableFields contract =
       canonicalIntakeEnvelopeFields
@@ -3796,26 +3817,37 @@
         | enforcesSpecSurfaceClosures languageContract,
           usesListIdentity emitNode
         ]
+          ++ [ mkErr publisherLine ContractOptionalFieldUsedAsKey $
+                 "publisher '" <> (.name) p <> "' outboxId field '" <> (.outboxField) p <> "' is an Optional field of an event mapped by emit '" <> (.emit) p <> "'; outbox identity must be messageId, idempotencyKey, or a required scalar contract field"
+             | enforcesSpecSurfaceClosures languageContract,
+               not (usesListIdentity emitNode),
+               usesOptionalIdentity emitNode
+             ]
           ++ [ mkErr publisherLine PublisherOutboxFieldUnresolved $
                  "publisher '" <> (.name) p <> "' outboxId field '" <> (.outboxField) p <> "' is not messageId, idempotencyKey, or a field of an event mapped by emit '" <> (.emit) p <> "'"
              | enforcesSpecSurfaceClosures languageContract,
                not (usesListIdentity emitNode),
+               not (usesOptionalIdentity emitNode),
                (.outboxField) p `Set.notMember` allowedOutboxFields emitNode
              ]
-    usesListIdentity emitNode =
+    usesListIdentity = usesIdentityWhere contractIsList
+    usesOptionalIdentity = usesIdentityWhere contractIsOptional
+    usesIdentityWhere shape emitNode =
       (.outboxField) p `notElem` ["messageId", "idempotencyKey"]
-        && (.outboxField) p `elem` listContractFields emitNode
-    listContractFields emitNode =
+        && (.outboxField) p `elem` contractFieldsWhere shape emitNode
+    contractFieldsWhere shape emitNode =
       [ (.name) field
       | contract <- specContracts spec,
         (.name) contract == (.contract) emitNode,
         event <- (.events) contract,
         (.name) event `elem` map (.event) ((.map) emitNode),
         field <- (.fields) event,
-        contractIsList ((.valueType) field)
+        shape ((.valueType) field)
       ]
     allowedOutboxFields emitNode =
-      Set.fromList ("messageId" : "idempotencyKey" : filter (`notElem` listContractFields emitNode) (mappedContractFields emitNode))
+      Set.fromList ("messageId" : "idempotencyKey" : filter (`notElem` contractFieldsWhere (not . isRequiredScalar) emitNode) (mappedContractFields emitNode))
+    isRequiredScalar CScalar {} = True
+    isRequiredScalar _ = False
     mappedContractFields emitNode =
       [ (.dslName) (resolveContractFieldIdentity field)
       | contract <- specContracts spec,
@@ -3887,13 +3919,13 @@
   where
     il = locLine ((.loc) i)
     -- `decBodyStrict` reaches nothing but the pretty-printer: generated contract
-    -- codecs decode every declared body field as required and admit no lenient
+    -- codecs require every body field not declared Optional and admit no lenient
     -- mode, so `body strict` describes what happens and `body lenient` does not.
     decodePosture =
       [ mkSurfaceRefusal languageContract il DecodeBodyPostureUnsupported $
           "intake '"
             <> (.name) i
-            <> "' declares 'body lenient', but generated contract codecs decode a body strictly: every declared field is required and no lenient fallback is emitted. Write 'body strict' to describe what runs"
+            <> "' declares 'body lenient', but generated contract codecs decode a body strictly: every field not declared Optional is required and no lenient fallback is emitted. Write 'body strict' to describe what runs"
       | not ((.bodyStrict) ((.decode) i))
       ]
     rows = (.disposition) i
@@ -3929,7 +3961,7 @@
       [ mkErr il DelegatedInboxDedupeOnlyPersistence $
           "intake '"
             <> (.name) i
-            <> "' delegates idempotence to its downstream state machine, so 'persist = dedupe-only' describes inbox storage that does not exist; remove the persist clause"
+            <> "' delegates idempotence to its downstream state machine, so the intake owns no inbox storage for 'persist = dedupe-only' to describe; a typed no-op receipt row's persistence is chosen by the handler through DelegatedNoOpReceipt; remove the persist clause"
       | (.idempotence) i == IdemDelegated,
         (.persist) i == InkPersistDedupeOnly
       ]
@@ -4025,6 +4057,45 @@
     ]
 
 -- | EP-3 rules for a process manager + its nested timer.
+-- | Every input a process body declares, in order.
+processBodyInputs :: ProcessBody -> [InputDecl]
+processBodyInputs = \case
+  LegacyProcessBody input _ _ -> [input]
+  ReactionProcessBody reaction -> NE.toList ((.inputs) reaction)
+
+-- | A declared input source (candidate Language 6) must name an intake of the
+-- service, and that intake must accept every named event. Repeated event names
+-- are reported once. The source is documentation that is checked; nothing here
+-- feeds generated code or identity.
+validateInputSource :: Spec -> Text -> InputDecl -> [Diagnostic]
+validateInputSource spec owner input = case (.source) input of
+  Nothing -> []
+  Just source -> case [intake | NIntake intake <- (.nodes) spec, (.name) intake == (.intake) source] of
+    [] ->
+      [ mkErr (locLine ((.loc) source)) InputSourceUnresolvedIntake $
+          "input '"
+            <> (.name) input
+            <> "' of "
+            <> owner
+            <> " names intake '"
+            <> (.intake) source
+            <> "', which is not declared in this service"
+      ]
+    intake : _ ->
+      [ mkErr (locLine ((.loc) source)) InputSourceEventNotAccepted $
+          "input '"
+            <> (.name) input
+            <> "' of "
+            <> owner
+            <> " is fed by intake '"
+            <> (.intake) source
+            <> "' event '"
+            <> event
+            <> "', which the intake does not accept"
+      | event <- nub (NE.toList ((.events) source)),
+        event `notElem` (.accept) intake
+      ]
+
 validateProcess :: EffectiveLanguageContract -> Either (NE.NonEmpty TypeGraphError) TypeGraph -> Spec -> ProcessNode -> [Diagnostic]
 validateProcess languageContract typeGraphResult spec p = case (.body) p of
   LegacyProcessBody input handle timer -> validateLegacyProcess languageContract spec p input handle timer
diff --git a/src/Keiro/Dsl/Workspace.hs b/src/Keiro/Dsl/Workspace.hs
--- a/src/Keiro/Dsl/Workspace.hs
+++ b/src/Keiro/Dsl/Workspace.hs
@@ -1405,6 +1405,8 @@
 
 instance HasLocs ContractNode
 
+instance HasLocs ContractDiscriminator
+
 instance HasLocs DomainOutcomeTypes
 
 instance HasLocs ContractScalarType
@@ -1473,6 +1475,8 @@
 instance HasLocs InkPersist
 
 instance HasLocs InputDecl
+
+instance HasLocs InputSource
 
 instance HasLocs IntakeNode
 
diff --git a/test/Keiro/Dsl/FrontendProfiles.hs b/test/Keiro/Dsl/FrontendProfiles.hs
--- a/test/Keiro/Dsl/FrontendProfiles.hs
+++ b/test/Keiro/Dsl/FrontendProfiles.hs
@@ -82,6 +82,8 @@
               WorkqueueFifoHeadsSyntax -> version 6
               ContractDeclaredIdSyntax -> version 6
               ContractListFieldSyntax -> version 6
+              ContractOptionalFieldSyntax -> version 6
+              ContractEnvelopeDiscriminatorSyntax -> version 6
               KeyedMapSyntax -> version 6
               BareStructuralMappingSyntax -> version 6
               CalendarDaySyntax -> version 6
@@ -210,6 +212,8 @@
     FeatureCase WorkqueueFifoHeadsSyntax "fifo-heads" (featureBody WorkqueueFifoHeadsSyntax),
     FeatureCase ContractDeclaredIdSyntax "ProfileId" (featureBody ContractDeclaredIdSyntax),
     FeatureCase ContractListFieldSyntax "List" (featureBody ContractListFieldSyntax),
+    FeatureCase ContractOptionalFieldSyntax "Optional" (featureBody ContractOptionalFieldSyntax),
+    FeatureCase ContractEnvelopeDiscriminatorSyntax "from" (featureBody ContractEnvelopeDiscriminatorSyntax),
     FeatureCase BareStructuralMappingSyntax "value" (featureBody BareStructuralMappingSyntax),
     FeatureCase CalendarDaySyntax "Day" (featureBody CalendarDaySyntax),
     FeatureCase TextSetSyntax "Set" (featureBody TextSetSyntax),
@@ -299,6 +303,9 @@
         "}"
       ]
   ContractListFieldSyntax -> T.replace "profileId: ProfileId" "profileIds: List ProfileId" (featureBody ContractDeclaredIdSyntax)
+  -- Literal scalars only, so the declared-ID gate cannot fire first.
+  ContractOptionalFieldSyntax -> T.replace "id ProfileId prefix=profile\n" "" (T.replace "profileId: ProfileId" "note: Optional text" (featureBody ContractDeclaredIdSyntax))
+  ContractEnvelopeDiscriminatorSyntax -> T.replace "id ProfileId prefix=profile\n" "" (T.replace "profileId: ProfileId" "profileId: typeid \"profile\"" (T.replace "discriminator kind" "discriminator from envelope" (featureBody ContractDeclaredIdSyntax)))
   ContractDeclaredIdSyntax ->
     T.unlines
       [ "context profile",
@@ -376,7 +383,7 @@
       ]
 
 allFeatures :: [LanguageFeature]
-allFeatures = [MappedRegisterConstructionSyntax, ContractListFieldSyntax, ExplicitIdAdmissionDomainSyntax, NominalBindingSyntax, IntegerScalarSyntax, TypedAggregateExpressionSyntax, ExplicitTransitionImplementationSyntax, FieldAliasSyntax, ProjectionCatalogSyntax, ExternalReadContractSyntax, MappedConsumerSurfaceSyntax, DomainCommandOutcomeSyntax, DeclarativeRouterSelectionSyntax, SeparatedProjectionQueryPolicySyntax, DelegatedInboxSyntax, ProcessReactionSyntax, WorkqueueFifoHeadsSyntax, ContractDeclaredIdSyntax, KeyedMapSyntax, BareStructuralMappingSyntax, CalendarDaySyntax, TextSetSyntax, RefinedBase16Syntax]
+allFeatures = [MappedRegisterConstructionSyntax, ContractListFieldSyntax, ContractOptionalFieldSyntax, ContractEnvelopeDiscriminatorSyntax, ExplicitIdAdmissionDomainSyntax, NominalBindingSyntax, IntegerScalarSyntax, TypedAggregateExpressionSyntax, ExplicitTransitionImplementationSyntax, FieldAliasSyntax, ProjectionCatalogSyntax, ExternalReadContractSyntax, MappedConsumerSurfaceSyntax, DomainCommandOutcomeSyntax, DeclarativeRouterSelectionSyntax, SeparatedProjectionQueryPolicySyntax, DelegatedInboxSyntax, ProcessReactionSyntax, WorkqueueFifoHeadsSyntax, ContractDeclaredIdSyntax, KeyedMapSyntax, BareStructuralMappingSyntax, CalendarDaySyntax, TextSetSyntax, RefinedBase16Syntax]
 
 processReactionFeatureBody :: Text
 processReactionFeatureBody =
diff --git a/test/Keiro/Dsl/InputSourceSpec.hs b/test/Keiro/Dsl/InputSourceSpec.hs
new file mode 100644
--- /dev/null
+++ b/test/Keiro/Dsl/InputSourceSpec.hs
@@ -0,0 +1,314 @@
+-- | Tests for declared input sources (candidate Language 6
+-- @input <Name> from intake <Intake> event <Event>+ …@): parsing, printing,
+-- predecessor refusal, the two checker diagnostics, and the proof that a
+-- declared source changes no generated byte, fingerprint, ledger or diff.
+module Keiro.Dsl.InputSourceSpec (inputSourceSpec) where
+
+import Control.Exception (bracket)
+import Control.Monad (filterM, forM, forM_)
+import Data.ByteString qualified as BS
+import Data.List (sort)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NE
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Text.Encoding qualified as TE
+import Keiro.Dsl.Diff (Change (..), diffSources)
+import Keiro.Dsl.FoldFingerprint (aggregateFoldFingerprintForService)
+import Keiro.Dsl.Grammar (InputDecl (..), InputSource (..), Node (..), ProcessBody (..), ProcessNode (..), ReactionBody (..), RouterNode (..))
+import Keiro.Dsl.Grammar qualified as G
+import Keiro.Dsl.LanguageVersion (ParsedSource (..))
+import Keiro.Dsl.Parser (parseSourceDocument, renderParseFailure)
+import Keiro.Dsl.PrettyPrint (renderSource)
+import Keiro.Dsl.ProcessReaction (checkProcessReaction, processReactionFingerprint)
+import Keiro.Dsl.ReplayImpact (ReplayImpact (..), replayImpactServices)
+import Keiro.Dsl.RouterSelection (checkRouterSelection, routerSelectionFingerprint)
+import Keiro.Dsl.SemanticContract (CheckedService, checkedLanguageContract, checkedSource, checkedSpec)
+import Keiro.Dsl.SourceIndex (ParsedSourceDocument (..))
+import Keiro.Dsl.TypeGraph (resolveTypeGraph)
+import Keiro.Dsl.Validate (Diagnostic (..), DiagnosticCode (..), Severity (..), validateService)
+import Keiro.Dsl.Workspace (WorkspaceDiagnostic (..), checkWorkspace, fileContentSource, loadWorkspace)
+import System.Directory (createDirectory, doesDirectoryExist, doesFileExist, getTemporaryDirectory, listDirectory, removeFile, removePathForcibly)
+import System.Environment (lookupEnv)
+import System.Exit (ExitCode (..))
+import System.FilePath (makeRelative, takeDirectory, (</>))
+import System.IO (hClose, openTempFile)
+import System.Process (CreateProcess (..), proc, readCreateProcessWithExitCode)
+import Test.Hspec
+
+inputSourceSpec :: Spec
+inputSourceSpec = describe "declared input sources" $ do
+  grammarTests
+  checkerTests
+  nonInterferenceTests
+
+--------------------------------------------------------------------------------
+-- Milestone 1: grammar, parser and printer
+--------------------------------------------------------------------------------
+
+grammarTests :: Spec
+grammarTests = do
+  it "parses a source on a typed router input and on one of two reaction inputs" $ do
+    parsed <- parseFixture "test/fixtures/input-source/sourced.keiro"
+    routerSources parsed `shouldBe` [("HospitalTransferRouter", Just ("transferInbox", "TransferNeedAccepted" :| [], 77))]
+    processSources parsed
+      `shouldBe` [ ("TransferNeedTracking", "TransferNeedArrived", Just ("transferInbox", "TransferNeedAccepted" :| [], 167)),
+                   ("TransferNeedTracking", "TransferNeedWithdrawnInput", Nothing)
+                 ]
+
+  it "parses a source on a braces router input" $ do
+    parsed <- parseFixture "test/fixtures/topology/incident-command-sourced.keiro"
+    lookup "CapacityChangeRouter" (routerSources parsed)
+      `shouldBe` Just (Just ("hospitalInbox", "HospitalCapacitySnapshotPublished" :| [], 511))
+
+  it "parses a source on a legacy process input" $ do
+    original <- readFixtureText "test/fixtures/topology/hospital-capacity.keiro"
+    let sourced =
+          T.replace
+            "  input SurgeInput {"
+            "  input SurgeInput from intake incidentInbox event IncidentTransferNeedDeclared {"
+            original
+    sourced `shouldNotBe` original
+    parsed <- either (fail . T.unpack) pure (parseText "hospital-capacity.keiro" sourced)
+    [(processId, inputName, source) | (processId, inputName, source@(Just _)) <- processSources parsed]
+      `shouldBe` [("HospitalSurge", "SurgeInput", Just ("incidentInbox", "IncidentTransferNeedDeclared" :| [], 497))]
+    validationErrors parsed `shouldBe` []
+
+  it "prints the clause where it was written, and the printed form parses back to the same sources" $
+    forM_ ["test/fixtures/input-source/sourced.keiro", "test/fixtures/topology/incident-command-sourced.keiro"] $ \path -> do
+      parsed <- parseFixture path
+      let printed = renderSource parsed
+      printed `shouldSatisfy` T.isInfixOf " from intake "
+      reparsed <- either (fail . T.unpack) pure (parseText path printed)
+      renderSource reparsed `shouldBe` printed
+      map (fmap dropLine . snd) (routerSources reparsed) `shouldBe` map (fmap dropLine . snd) (routerSources parsed)
+      [(p, i, fmap dropLine s) | (p, i, s) <- processSources reparsed] `shouldBe` [(p, i, fmap dropLine s) | (p, i, s) <- processSources parsed]
+
+  it "Languages 1 to 5 refuse the clause with the version requirement" $
+    forM_ [1 .. 5 :: Int] $ \version ->
+      forM_ [legacyRouterProbe, legacyProcessProbe] $ \probe ->
+        case parseText "probe.keiro" (probe version) of
+          Right _ -> expectationFailure ("Language " <> show version <> " accepted an input source")
+          Left message -> message `shouldSatisfy` T.isInfixOf "requires keiro-dsl language version 6"
+
+  it "an input name followed directly by its body parses as before" $ do
+    unsourced <- parseFixture "test/fixtures/input-source/unsourced.keiro"
+    sourced <- parseFixture "test/fixtures/input-source/sourced.keiro"
+    [source | (_, source) <- routerSources unsourced] `shouldBe` [Nothing]
+    [source | (_, _, source) <- processSources unsourced] `shouldBe` [Nothing, Nothing]
+    -- The two files differ only by the two clauses, on unchanged lines, so
+    -- removing the parsed sources must give the unsourced specification exactly.
+    stripSources sourced.spec `shouldBe` unsourced.spec
+
+legacyRouterProbe :: Int -> Text
+legacyRouterProbe version =
+  T.unlines
+    [ "language keiro-dsl " <> T.pack (show version),
+      "context probe",
+      "",
+      "router ProbeRouter",
+      "  name \"probe-router\"",
+      "  input ProbeInput from intake probeInbox event ProbeEvent { probeId }"
+    ]
+
+legacyProcessProbe :: Int -> Text
+legacyProcessProbe version =
+  T.unlines
+    [ "language keiro-dsl " <> T.pack (show version),
+      "context probe",
+      "",
+      "process ProbeProcess",
+      "  name \"probe-process\"",
+      "  input ProbeInput from intake probeInbox event ProbeEvent { probeId }"
+    ]
+
+--------------------------------------------------------------------------------
+-- Milestone 2: checker
+--------------------------------------------------------------------------------
+
+checkerTests :: Spec
+checkerTests = do
+  it "the sourced fixture checks clean" $ do
+    parsed <- parseFixture "test/fixtures/input-source/sourced.keiro"
+    validationErrors parsed `shouldBe` []
+
+  it "reports an unknown intake and each unaccepted event, once per event" $ do
+    original <- readFixtureText "test/fixtures/input-source/sourced.keiro"
+    let broken =
+          T.replace
+            "from intake transferInbox event TransferNeedAccepted : TransferRouteInput"
+            "from intake transferInbx event TransferNeedAccepted : TransferRouteInput"
+            ( T.replace
+                "from intake transferInbox event TransferNeedAccepted { transferNeedId:Text }"
+                "from intake transferInbox event TransferNeedAccepted TransferNeedRejected TransferNeedRejected TransferNeedLost { transferNeedId:Text }"
+                original
+            )
+    parsed <- either (fail . T.unpack) pure (parseText "sourced.keiro" broken)
+    [(diagnostic.code, diagnostic.line) | diagnostic <- validationErrors parsed]
+      `shouldBe` [ (InputSourceUnresolvedIntake, 77),
+                   (InputSourceEventNotAccepted, 167),
+                   (InputSourceEventNotAccepted, 167)
+                 ]
+    [diagnostic.message | diagnostic <- validationErrors parsed, diagnostic.code == InputSourceUnresolvedIntake]
+      `shouldBe` ["input 'AcceptedHospitalTransferNeed' of router 'HospitalTransferRouter' names intake 'transferInbx', which is not declared in this service"]
+    [diagnostic.message | diagnostic <- validationErrors parsed, diagnostic.code == InputSourceEventNotAccepted]
+      `shouldBe` [ "input 'TransferNeedArrived' of process 'TransferNeedTracking' is fed by intake 'transferInbox' event 'TransferNeedRejected', which the intake does not accept",
+                   "input 'TransferNeedArrived' of process 'TransferNeedTracking' is fed by intake 'transferInbox' event 'TransferNeedLost', which the intake does not accept"
+                 ]
+
+  it "resolves an intake declared in another workspace member" $ do
+    manifest <- resolveTestPath "test/fixtures/input-source/workspace/service.keiro-workspace"
+    loaded <- loadWorkspace (fileContentSource (takeDirectory manifest)) manifest
+    case loaded of
+      Left failure -> expectationFailure (show failure)
+      Right workspace -> [diagnostic | diagnostic <- checkWorkspace workspace, diagnostic.severity == Error] `shouldBe` []
+
+--------------------------------------------------------------------------------
+-- Milestone 2: non-interference
+--------------------------------------------------------------------------------
+
+nonInterferenceTests :: Spec
+nonInterferenceTests = do
+  it "scaffolding a sourced specification writes byte-identical files to the unsourced one" $
+    withTempDirectory "keiro-dsl-input-source-scaffold" $ \directory -> do
+      outputs <- forM ["sourced", "unsourced"] $ \variant -> do
+        original <- resolveTestPath ("test/fixtures/input-source/" <> variant <> ".keiro")
+        let inputDirectory = directory </> variant
+        createDirectory inputDirectory
+        BS.readFile original >>= BS.writeFile (inputDirectory </> "service.keiro")
+        (exitCode, _, stderrText) <-
+          readCreateProcessWithExitCode ((proc "keiro-dsl" ["scaffold", "service.keiro", "--out", "out"]) {cwd = Just inputDirectory}) ""
+        exitCode `shouldBe` ExitSuccess
+        stderrText `shouldSatisfy` const True
+        files <- listFilesRecursively (inputDirectory </> "out")
+        contents <- forM files $ \file -> (,) (makeRelative (inputDirectory </> "out") file) <$> BS.readFile file
+        pure (sort contents)
+      case outputs of
+        [sourcedFiles, unsourcedFiles] -> do
+          map fst sourcedFiles `shouldBe` map fst unsourcedFiles
+          map fst sourcedFiles `shouldSatisfy` any (T.isPrefixOf "keiro-dsl-ledger." . T.pack . lastSegment)
+          map fst sourcedFiles `shouldSatisfy` any (T.isPrefixOf "keiro-dsl-cabal-fragment." . T.pack . lastSegment)
+          forM_ (zip sourcedFiles unsourcedFiles) $ \((path, sourcedBytes), (_, unsourcedBytes)) ->
+            (path, sourcedBytes == unsourcedBytes) `shouldBe` (path, True)
+        _ -> expectationFailure "expected two scaffold outputs"
+
+  it "declaring a source changes no fold, reaction or router-selection fingerprint" $ do
+    sourced <- checkedSource <$> parseFixture "test/fixtures/input-source/sourced.keiro"
+    unsourced <- checkedSource <$> parseFixture "test/fixtures/input-source/unsourced.keiro"
+    sourcedFingerprints <- identities sourced
+    unsourcedFingerprints <- identities unsourced
+    let (folds, reactions, selections) = sourcedFingerprints
+    folds `shouldSatisfy` (not . null)
+    reactions `shouldSatisfy` (not . null)
+    selections `shouldSatisfy` (not . null)
+    sourcedFingerprints `shouldBe` unsourcedFingerprints
+
+  it "diff reports no breaking or replay-affecting change for adding sources" $ do
+    sourced <- parseFixture "test/fixtures/input-source/sourced.keiro"
+    unsourced <- parseFixture "test/fixtures/input-source/unsourced.keiro"
+    case diffSources unsourced sourced of
+      Left failure -> expectationFailure (show failure)
+      Right changes -> [change | change@(Breaking _) <- changes] `shouldBe` []
+    replayImpactServices (checkedSource unsourced) (checkedSource sourced) `shouldBe` Right ReplayNeutral
+
+-- | Fold fingerprints of every aggregate, the reaction fingerprint of every
+-- reaction process, and the selection fingerprint of every declarative router.
+identities :: CheckedService -> IO ([(Text, Text)], [(Text, Text)], [(Text, Text)])
+identities service = do
+  let spec = checkedSpec service
+      contract = checkedLanguageContract service
+  graph <- either (fail . show) pure (resolveTypeGraph spec)
+  folds <- forM [aggregate | NAggregate aggregate <- spec.nodes] $ \aggregate ->
+    either (fail . show) (pure . (,) aggregate.name) (aggregateFoldFingerprintForService service aggregate)
+  reactions <- forM [process | NProcess process <- spec.nodes, ReactionProcessBody _ <- [process.body]] $ \process ->
+    either (fail . show) (pure . (,) process.id . processReactionFingerprint) (checkProcessReaction contract graph spec process)
+  selections <- forM [router | NRouter router <- spec.nodes] $ \router ->
+    either (fail . show) (pure . (,) router.id . routerSelectionFingerprint) (checkRouterSelection contract graph spec router)
+  pure (folds, reactions, selections)
+
+--------------------------------------------------------------------------------
+-- Helpers
+--------------------------------------------------------------------------------
+
+type SourceSummary = (Text, NonEmpty Text, Int)
+
+summarize :: InputDecl -> Maybe SourceSummary
+summarize input = fmap (\source -> (source.intake, source.events, G.unLoc source.loc)) input.source
+
+dropLine :: SourceSummary -> (Text, NonEmpty Text)
+dropLine (intake, events, _) = (intake, events)
+
+routerSources :: ParsedSource -> [(Text, Maybe SourceSummary)]
+routerSources parsed = [(router.id, summarize router.input) | NRouter router <- parsed.spec.nodes]
+
+processSources :: ParsedSource -> [(Text, Text, Maybe SourceSummary)]
+processSources parsed =
+  [ (process.id, input.name, summarize input)
+  | NProcess process <- parsed.spec.nodes,
+    input <- case process.body of
+      LegacyProcessBody input _ _ -> [input]
+      ReactionProcessBody reaction -> NE.toList reaction.inputs
+  ]
+
+stripSources :: G.Spec -> G.Spec
+stripSources spec = spec {G.nodes = map stripNode spec.nodes}
+  where
+    stripNode = \case
+      NRouter router -> NRouter router {input = clear router.input}
+      NProcess process -> NProcess process {body = stripBody process.body}
+      other -> other
+    stripBody = \case
+      LegacyProcessBody input handle timer -> LegacyProcessBody (clear input) handle timer
+      ReactionProcessBody reaction -> ReactionProcessBody reaction {inputs = NE.map clear reaction.inputs}
+    clear :: InputDecl -> InputDecl
+    clear input = input {source = Nothing}
+
+validationErrors :: ParsedSource -> [Diagnostic]
+validationErrors parsed = [diagnostic | diagnostic <- validateService (checkedSource parsed), diagnostic.severity == Error]
+
+parseText :: FilePath -> Text -> Either Text ParsedSource
+parseText path source = case parseSourceDocument path source of
+  Left failure -> Left (renderParseFailure failure)
+  Right document -> Right document.parsedSource
+
+parseFixture :: FilePath -> IO ParsedSource
+parseFixture path = do
+  source <- readFixtureText path
+  either (fail . T.unpack) pure (parseText path source)
+
+readFixtureText :: FilePath -> IO Text
+readFixtureText path = do
+  resolved <- resolveTestPath path
+  TE.decodeUtf8 <$> BS.readFile resolved
+
+lastSegment :: FilePath -> FilePath
+lastSegment = reverse . takeWhile (/= '/') . reverse
+
+listFilesRecursively :: FilePath -> IO [FilePath]
+listFilesRecursively directory = do
+  entries <- map (directory </>) <$> listDirectory directory
+  nested <- forM entries $ \entry -> do
+    isDirectory <- doesDirectoryExist entry
+    if isDirectory then listFilesRecursively entry else pure [entry]
+  pure (concat nested)
+
+-- | Locate a repo file regardless of the test process's current directory.
+resolveTestPath :: FilePath -> IO FilePath
+resolveTestPath rel = do
+  override <- lookupEnv "KEIRO_DSL_TEST_ROOT"
+  let candidates = [rel, "keiro-dsl" </> rel] <> maybe [] (\root -> [root </> rel]) override
+  existing <- filterM doesFileExist candidates
+  case existing of
+    path : _ -> pure path
+    [] -> fail ("unable to locate keiro-dsl test file " <> show rel <> "; tried " <> show candidates)
+
+withTempDirectory :: String -> (FilePath -> IO a) -> IO a
+withTempDirectory template = bracket acquire removePathForcibly
+  where
+    acquire = do
+      base <- getTemporaryDirectory
+      (path, handle) <- openTempFile base template
+      hClose handle
+      removeFile path
+      createDirectory path
+      pure path
diff --git a/test/Keiro/Dsl/TopologySpec.hs b/test/Keiro/Dsl/TopologySpec.hs
new file mode 100644
--- /dev/null
+++ b/test/Keiro/Dsl/TopologySpec.hs
@@ -0,0 +1,997 @@
+-- | Tests for the service topology export (@keiro-dsl topology@,
+-- @keiro-dsl/service-topology/1@).
+module Keiro.Dsl.TopologySpec (topologySpec) where
+
+import Control.Exception (bracket)
+import Control.Monad (filterM, forM, forM_)
+import Data.Aeson (Value (..))
+import Data.Aeson qualified as Aeson
+import Data.Aeson.Key qualified as Key
+import Data.Aeson.KeyMap qualified as KeyMap
+import Data.ByteString qualified as BS
+import Data.ByteString.Char8 qualified as BS8
+import Data.Char (isSpace)
+import Data.Foldable (toList)
+import Data.List (isPrefixOf, sort)
+import Data.Set qualified as Set
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Text.Encoding qualified as TE
+import Data.Vector qualified as Vector
+import Data.Version (showVersion)
+import Keiro.Dsl.Grammar (Aggregate, Node (..))
+
+-- Brings the grammar record fields into scope for record-dot access.
+import Keiro.Dsl.Grammar qualified as Grammar
+import Keiro.Dsl.LanguageVersion (ParsedSource (..))
+import Keiro.Dsl.Parser (parseSourceDocument, renderParseFailure)
+import Keiro.Dsl.SourceIndex (ParsedSourceDocument (..))
+import Keiro.Dsl.Topology
+import Keiro.Dsl.Workspace (WorkspaceSpec, oneMemberParsedDocumentWorkspace)
+import Paths_keiro_dsl qualified as Package
+import System.Directory (createDirectory, createDirectoryIfMissing, doesFileExist, doesPathExist, getTemporaryDirectory, listDirectory, makeAbsolute, removeFile, removePathForcibly)
+import System.Environment (lookupEnv)
+import System.Exit (ExitCode (..))
+import System.FilePath (takeDirectory, takeFileName, (</>))
+import System.IO (hClose, openTempFile)
+import System.Process (CreateProcess (..), proc, readCreateProcessWithExitCode)
+import Test.Hspec
+
+topologySpec :: Spec
+topologySpec = describe "service topology" $ do
+  libraryTests
+  commandTests
+  catalogTests
+  stabilityTests
+  scaffoldExportTests
+  freshnessCheckTests
+  machineTests
+  feedsTests
+  liveJoinTests
+
+--------------------------------------------------------------------------------
+-- Milestone 1: the library
+--------------------------------------------------------------------------------
+
+libraryTests :: Spec
+libraryTests = do
+  it "spells the closed node-kind and relation sets" $ do
+    map nodeKindText allNodeKinds
+      `shouldBe` [ "aggregate",
+                   "process",
+                   "workflow",
+                   "router",
+                   "contract",
+                   "intake",
+                   "emit",
+                   "publisher",
+                   "workqueue",
+                   "dispatch",
+                   "read-model",
+                   "operation",
+                   "projection-target",
+                   "rebuild-group",
+                   "projection-owner",
+                   "projection-revision",
+                   "external-read"
+                 ]
+    map relationText allRelations
+      `shouldBe` [ "dispatches",
+                   "saga",
+                   "reads",
+                   "projects",
+                   "publishes",
+                   "subscribes",
+                   "delivers",
+                   "enqueues",
+                   "commands",
+                   "queries",
+                   "signals",
+                   "runs",
+                   "depends-on",
+                   "groups",
+                   "consumes",
+                   "writes",
+                   "member-of",
+                   "revises",
+                   "observes",
+                   "backed-by",
+                   "exposes",
+                   "compatible-with",
+                   "feeds"
+                 ]
+
+  it "digests the exact member bytes" $
+    memberDigest "abc" `shouldBe` "sha256:ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"
+
+  it "records each node's owning member, line and context" $ do
+    topology <- inlineTopology "reaction.keiro" reactionSource
+    [(nodeKindText node.kind, node.name, node.member, node.line, node.context) | node <- topology.nodes]
+      `shouldBe` [ ("aggregate", "Incident", "reaction.keiro", 31, "topology-reaction"),
+                   ("aggregate", "IncidentSaga", "reaction.keiro", 24, "topology-reaction"),
+                   ("process", "IncidentReaction", "reaction.keiro", 6, "topology-reaction")
+                 ]
+    topologySchemaId topology `shouldBe` "keiro-dsl/service-topology/1"
+    topology.service `shouldBe` "reaction"
+    topology.source `shouldBe` TopologySource {kind = TopologySingleSource, path = "reaction.keiro"}
+
+  it "collects dispatches from reaction arms and accepted follow-ups, once each" $ do
+    topology <- inlineTopology "reaction.keiro" reactionSource
+    edgeSummaries topology
+      `shouldBe` [ ("process", "IncidentReaction", "dispatches", "aggregate", "Incident", [("command", String "EscalateIncident")]),
+                   ("process", "IncidentReaction", "saga", "aggregate", "IncidentSaga", [("category", String "incidentSaga")])
+                 ]
+
+  it "resolves projections to the aggregate owning the projection table" $ do
+    topology <- inlineTopology "projects.keiro" projectsSource
+    [summary | summary@(_, _, "projects", _, _, _) <- edgeSummaries topology]
+      `shouldBe` [("process", "IncidentReaction", "projects", "aggregate", "Incident", [("table", String "incident_board")])]
+
+  it "writes a null discriminator for an envelope-discriminated contract" $ do
+    source <- TE.decodeUtf8 <$> BS.readFile "test/fixtures/contract-foreign-event.keiro"
+    topology <- inlineTopology "contract-foreign-event.keiro" source
+    [(node.name, KeyMap.lookup "discriminator" node.details) | node <- topology.nodes, nodeKindText node.kind == "contract"]
+      `shouldBe` [("audit", Just (String "messageType")), ("registration", Just Null), ("signals", Just Null)]
+
+  it "emits one edge per operation form" $ do
+    topology <- inlineTopology "operations.keiro" operationsSource
+    [(fromName, relation, toKind, toName, attributes) | ("operation", fromName, relation, toKind, toName, attributes) <- edgeSummaries topology]
+      `shouldBe` [ ("OpenTicket", "commands", "aggregate", "Ticket", []),
+                   ("QueryTickets", "queries", "read-model", "ticket_board", []),
+                   ("RunTriage", "runs", "workflow", "TicketTriage", []),
+                   ("SignalTriage", "signals", "workflow", "TicketTriage", [("label", String "triage-decision")])
+                 ]
+
+  it "sorts nodes by kind and name and edges by their identity" $ do
+    topology <- inlineTopology "operations.keiro" operationsSource
+    let nodeKeys = [(nodeKindText node.kind, node.name) | node <- topology.nodes]
+        edgeKeys = [(fromKind, fromName, relation, toKind, toName) | (fromKind, fromName, relation, toKind, toName, _) <- edgeSummaries topology]
+    nodeKeys `shouldBe` sort nodeKeys
+    edgeKeys `shouldBe` sort edgeKeys
+
+  it "refuses an edge whose endpoint names no node" $ do
+    case parseInline "dangling.keiro" danglingSource of
+      Left message -> expectationFailure (T.unpack message)
+      Right workspace ->
+        buildServiceTopology TopologySingleSource "dangling.keiro" workspace [("dangling.keiro", memberDigest "")]
+          `shouldSatisfy` \case
+            Left (TopologyDanglingEdge _ Dispatches (NodeRef AggregateKind "Missing")) -> True
+            _ -> False
+
+  it "refuses a member without a digest" $
+    case parseInline "reaction.keiro" reactionSource of
+      Left message -> expectationFailure (T.unpack message)
+      Right workspace ->
+        buildServiceTopology TopologySingleSource "reaction.keiro" workspace []
+          `shouldBe` Left (TopologyMissingDigest "reaction.keiro")
+
+  it "encodes canonical bytes followed by exactly one newline" $ do
+    topology <- inlineTopology "reaction.keiro" reactionSource
+    let bytes = encodeServiceTopology topology
+    BS8.last bytes `shouldBe` '\n'
+    BS8.count '\n' bytes `shouldBe` 1
+    BS.isPrefixOf "{\"edges\":[" bytes `shouldBe` True
+
+--------------------------------------------------------------------------------
+-- Milestone 2: the command and golden documents
+--------------------------------------------------------------------------------
+
+goldenCases :: [(FilePath, FilePath)]
+goldenCases =
+  [ ("test/fixtures/topology/hospital-capacity.keiro", "test/fixtures/topology/hospital-capacity.topology.golden.json"),
+    ("test/fixtures/topology/incident-command.keiro", "test/fixtures/topology/incident-command.topology.golden.json"),
+    ("test/fixtures/topology/workspace/service.keiro-workspace", "test/fixtures/topology/workspace/service.topology.golden.json"),
+    ("test/fixtures/topology/projection-catalog.keiro", "test/fixtures/topology/projection-catalog.topology.golden.json"),
+    ("test/fixtures/topology/incident-command-sourced.keiro", "test/fixtures/topology/incident-command-sourced.topology.golden.json")
+  ]
+
+commandTests :: Spec
+commandTests = do
+  forM_ goldenCases $ \(source, golden) ->
+    it ("exports " <> takeFileName source <> " byte-for-byte as its golden document") $ do
+      (exitCode, stdoutBytes, stderrText) <- runTopology [source, "--format", "json"]
+      stderrText `shouldBe` ""
+      exitCode `shouldBe` ExitSuccess
+      assertMatchesByteGolden golden (withVersionPlaceholder stdoutBytes)
+
+  it "golden documents are closed: unique node identities and resolvable edge endpoints" $
+    forM_ goldenCases $ \(_, golden) -> do
+      document <- readGolden golden
+      let identities = nodeIdentities document
+      length identities `shouldBe` Set.size (Set.fromList identities)
+      forM_ (edgeObjects document) $ \edgeObject -> do
+        endpoint "from" edgeObject `shouldSatisfy` (`elem` identities)
+        endpoint "to" edgeObject `shouldSatisfy` (`elem` identities)
+
+  it "hospital-capacity declares every non-catalog node kind" $ do
+    document <- readGolden "test/fixtures/topology/hospital-capacity.topology.golden.json"
+    let kinds = Set.fromList (map fst (nodeIdentities document))
+    forM_ (take 12 (map nodeKindText allNodeKinds)) $ \kind ->
+      kinds `shouldSatisfy` Set.member kind
+
+  it "hospital-capacity carries an edge of every relation its declarations support" $ do
+    document <- readGolden "test/fixtures/topology/hospital-capacity.topology.golden.json"
+    Set.fromList (map relationOf (edgeObjects document))
+      `shouldBe` Set.fromList
+        [ "dispatches",
+          "saga",
+          "reads",
+          "projects",
+          "publishes",
+          "subscribes",
+          "delivers",
+          "enqueues",
+          "signals",
+          "runs",
+          "groups",
+          "consumes",
+          "writes",
+          "member-of",
+          "observes"
+        ]
+
+  it "the two services publish and subscribe the same physical topics" $ do
+    hospital <- readGolden "test/fixtures/topology/hospital-capacity.topology.golden.json"
+    incident <- readGolden "test/fixtures/topology/incident-command.topology.golden.json"
+    let topics relation document = Set.fromList [topic | edgeObject <- edgeObjects document, relationOf edgeObject == relation, Just (String topic) <- [attribute "topic" edgeObject]]
+    topics "publishes" hospital `shouldBe` Set.fromList ["emergency.hospital.events"]
+    topics "subscribes" hospital `shouldBe` Set.fromList ["emergency.incident.events"]
+    topics "publishes" incident `shouldBe` Set.fromList ["emergency.incident.events"]
+    topics "subscribes" incident `shouldBe` Set.fromList ["emergency.hospital.events"]
+
+  it "refuses a source with a validation error and prints nothing on stdout" $ do
+    (exitCode, stdoutBytes, stderrText) <- runTopology ["test/fixtures/readmodel-query-unresolved.keiro"]
+    exitCode `shouldSatisfy` (/= ExitSuccess)
+    stdoutBytes `shouldBe` ""
+    stderrText `shouldSatisfy` T.isInfixOf "error["
+
+--------------------------------------------------------------------------------
+-- Milestone 3: the projection catalog
+--------------------------------------------------------------------------------
+
+catalogTests :: Spec
+catalogTests = do
+  it "the projection-catalog document carries every catalog kind and relation" $ do
+    document <- readGolden "test/fixtures/topology/projection-catalog.topology.golden.json"
+    let kinds = Set.fromList (map fst (nodeIdentities document))
+        relations = Set.fromList (map relationOf (edgeObjects document))
+    forM_ ["projection-target", "rebuild-group", "projection-owner", "projection-revision", "external-read"] $ \kind ->
+      kinds `shouldSatisfy` Set.member kind
+    forM_ ["depends-on", "groups", "consumes", "writes", "member-of", "revises", "observes", "backed-by", "exposes", "compatible-with"] $ \relation ->
+      relations `shouldSatisfy` Set.member relation
+
+  it "traces an aggregate through its projection owner and target to a read model" $ do
+    document <- readGolden "test/fixtures/topology/projection-catalog.topology.golden.json"
+    let edgesOf relation = [(endpoint "from" e, endpoint "to" e) | e <- edgeObjects document, relationOf e == relation]
+        traces =
+          [ (aggregate, readModel)
+          | (owner, aggregate) <- edgesOf "consumes",
+            (owner', target) <- edgesOf "writes",
+            owner == owner',
+            (readModel, target') <- edgesOf "observes" <> edgesOf "backed-by",
+            target == target'
+          ]
+    traces `shouldSatisfy` elem (("aggregate", "Orders"), ("read-model", "order_inline"))
+
+--------------------------------------------------------------------------------
+-- Milestone 4: byte stability
+--------------------------------------------------------------------------------
+
+stabilityTests :: Spec
+stabilityTests = do
+  it "two runs produce identical bytes" $
+    forM_ goldenCases $ \(source, _) -> do
+      (_, first, _) <- runTopology [source]
+      (_, second, _) <- runTopology [source]
+      first `shouldBe` second
+
+  it "the output does not depend on the working directory or path spelling" $ do
+    source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro" >>= makeAbsolute
+    (exitAbsolute, fromAbsolute, _) <- runTopologyIn Nothing [source]
+    (exitRelative, fromRelative, _) <- runTopologyIn (Just (takeDirectory source)) [takeFileName source]
+    exitAbsolute `shouldBe` ExitSuccess
+    exitRelative `shouldBe` ExitSuccess
+    fromAbsolute `shouldBe` fromRelative
+
+  it "reordering top-level declarations changes only member digests and node lines" $ do
+    source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+    original <- BS.readFile source
+    let reordered = reverseNodeDeclarations original
+    reordered `shouldNotBe` original
+    withTempDirectory "keiro-dsl-topology-reorder" $ \directory -> do
+      let copy = directory </> takeFileName source
+      BS.writeFile copy reordered
+      (exitOriginal, fromOriginal, _) <- runTopology [source]
+      (exitReordered, fromReordered, stderrReordered) <- runTopology [copy]
+      exitOriginal `shouldBe` ExitSuccess
+      stderrReordered `shouldBe` ""
+      exitReordered `shouldBe` ExitSuccess
+      fromReordered `shouldNotBe` fromOriginal
+      fmap withoutPositions (decodeDocument fromReordered) `shouldBe` fmap withoutPositions (decodeDocument fromOriginal)
+
+--------------------------------------------------------------------------------
+-- EP-2: scaffold --topology-out and topology --check
+--------------------------------------------------------------------------------
+
+scaffoldExportTests :: Spec
+scaffoldExportTests = do
+  forM_
+    [ "test/fixtures/topology/hospital-capacity.keiro",
+      "test/fixtures/topology/workspace/service.keiro-workspace"
+    ]
+    $ \source ->
+      it ("scaffold --topology-out writes the topology command's bytes for " <> takeFileName source) $
+        withTempDirectory "keiro-dsl-topology-scaffold" $ \directory -> do
+          resolved <- resolveTestPath source >>= makeAbsolute
+          let exportPath = directory </> "exports" </> "topology.json"
+          (scaffoldExit, _, _) <- runCli Nothing ["scaffold", resolved, "--out", directory </> "out", "--topology-out", exportPath]
+          scaffoldExit `shouldBe` ExitSuccess
+          (topologyExit, expected, _) <- runCli Nothing ["topology", resolved]
+          topologyExit `shouldBe` ExitSuccess
+          BS.readFile exportPath >>= (`shouldBe` expected)
+
+  it "a refused scaffold writes no topology file" $
+    withTempDirectory "keiro-dsl-topology-refused" $ \directory -> do
+      resolved <- resolveTestPath "test/fixtures/readmodel-query-unresolved.keiro"
+      let exportPath = directory </> "topology.json"
+      (exitCode, _, _) <- runCli Nothing ["scaffold", resolved, "--out", directory </> "out", "--topology-out", exportPath]
+      exitCode `shouldSatisfy` (/= ExitSuccess)
+      doesFileExist exportPath `shouldReturn` False
+
+  it "refuses an export path that names an input or a scaffold record, changing no byte" $
+    withTempDirectory "keiro-dsl-topology-alias" $ \directory -> do
+      original <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+      let source = directory </> "hospital-capacity.keiro"
+          out = directory </> "out"
+          ledger = out </> "keiro-dsl-ledger.context.hospital-capacity.txt"
+      BS.readFile original >>= BS.writeFile source
+      (firstExit, _, _) <- runCli Nothing ["scaffold", source, "--out", out]
+      firstExit `shouldBe` ExitSuccess
+      sourceBytes <- BS.readFile source
+      ledgerBytes <- BS.readFile ledger
+      forM_ [source, ledger] $ \alias -> do
+        (exitCode, _, stderrText) <- runCli Nothing ["scaffold", source, "--out", out, "--topology-out", alias]
+        exitCode `shouldSatisfy` (/= ExitSuccess)
+        stderrText `shouldSatisfy` T.isInfixOf "--topology-out"
+      BS.readFile source `shouldReturn` sourceBytes
+      BS.readFile ledger `shouldReturn` ledgerBytes
+
+  it "refuses an export path that is a directory before the scaffold writes anything" $
+    withTempDirectory "keiro-dsl-topology-directory" $ \directory -> do
+      source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro" >>= makeAbsolute
+      let out = directory </> "out"
+          existing = directory </> "exports"
+      createDirectory existing
+      forM_ [(existing, "it is a directory"), (out, "it is a directory the scaffold creates")] $ \(target, reason) -> do
+        (exitCode, _, stderrText) <- runCli Nothing ["scaffold", source, "--out", out, "--topology-out", target]
+        exitCode `shouldBe` ExitFailure 1
+        stderrText `shouldSatisfy` T.isInfixOf ("scaffold: --topology-out " <> T.pack target <> " cannot be written: " <> reason <> "; nothing was written")
+        doesPathExist out `shouldReturn` False
+      listDirectory directory `shouldReturn` ["exports"]
+      listDirectory existing `shouldReturn` []
+
+  it "a successful export and a refused scaffold both leave no temporary file" $
+    withTempDirectory "keiro-dsl-topology-temporary" $ \directory -> do
+      original <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+      let source = directory </> "hospital-capacity.keiro"
+          out = directory </> "out"
+          exports = directory </> "exports"
+      BS.readFile original >>= BS.writeFile source
+      (exitCode, _, _) <- runCli Nothing ["scaffold", source, "--out", out, "--topology-out", exports </> "topology.json"]
+      exitCode `shouldBe` ExitSuccess
+      listDirectory exports `shouldReturn` ["topology.json"]
+      -- A hand-written file at a generated path refuses the scaffold after the
+      -- export was prepared; the temporary file and its new directory go away.
+      BS.writeFile (out </> "HospitalCapacity/Surge/Generated/EventStream.hs") "module Hand where\n"
+      (refusedExit, _, _) <- runCli Nothing ["scaffold", source, "--out", out, "--topology-out", directory </> "fresh" </> "topology.json"]
+      refusedExit `shouldBe` ExitFailure 1
+      doesPathExist (directory </> "fresh") `shouldReturn` False
+
+freshnessCheckTests :: Spec
+freshnessCheckTests = do
+  it "topology --check passes silently on fresh sources and names an edited member" $
+    withTempDirectory "keiro-dsl-topology-check" $ \directory -> do
+      original <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+      let source = directory </> "hospital-capacity.keiro"
+          committed = directory </> "topology.json"
+      BS.readFile original >>= BS.writeFile source
+      (_, document, _) <- runCli Nothing ["topology", source]
+      BS.writeFile committed document
+      runCli Nothing ["topology", source, "--check", committed] `shouldReturn` (ExitSuccess, "", "")
+      BS.appendFile source "# edited\n"
+      (exitCode, stdoutBytes, stderrText) <- runCli Nothing ["topology", source, "--check", committed]
+      exitCode `shouldBe` ExitFailure 1
+      stdoutBytes `shouldBe` ""
+      stderrText `shouldSatisfy` T.isPrefixOf "topology stale: member 'hospital-capacity.keiro' changed (recorded sha256:"
+
+  it "topology --check names new and removed workspace members" $
+    withTempDirectory "keiro-dsl-topology-check-members" $ \directory -> do
+      manifest <- resolveTestPath "test/fixtures/topology/workspace/service.keiro-workspace"
+      let committed = directory </> "topology.json"
+      (_, document, _) <- runCli Nothing ["topology", manifest]
+      let renamed = replaceBytes "\"path\":\"domain/incident.keiro\"" "\"path\":\"domain/legacy.keiro\"" document
+      BS.writeFile committed renamed
+      (exitCode, _, stderrText) <- runCli Nothing ["topology", manifest, "--check", committed]
+      exitCode `shouldBe` ExitFailure 1
+      T.lines stderrText
+        `shouldBe` [ "topology stale: member 'domain/incident.keiro' is not recorded in " <> T.pack committed,
+                     "topology stale: recorded member 'domain/legacy.keiro' is no longer a source member"
+                   ]
+
+  it "topology --check reports a difference with unchanged sources, such as a tool upgrade" $
+    withTempDirectory "keiro-dsl-topology-check-version" $ \directory -> do
+      source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+      let committed = directory </> "topology.json"
+          currentVersion = BS8.pack (showVersion Package.version)
+      (_, document, _) <- runCli Nothing ["topology", source]
+      BS.writeFile committed (replaceBytes ("\"version\":\"" <> currentVersion <> "\"") "\"version\":\"0.0.0.1\"" document)
+      (exitCode, _, stderrText) <- runCli Nothing ["topology", source, "--check", committed]
+      exitCode `shouldBe` ExitFailure 1
+      stderrText
+        `shouldBe` ( "topology stale: document differs with unchanged sources (generated by keiro-dsl 0.0.0.1, current keiro-dsl "
+                       <> T.pack (showVersion Package.version)
+                       <> "); regenerate it\n"
+                   )
+
+  it "topology --check blames a renamed workspace service, not the keiro-dsl version" $
+    withTempDirectory "keiro-dsl-topology-check-service" $ \directory -> do
+      manifest <- copyWorkspaceFixture directory
+      let committed = directory </> "topology.json"
+      (_, document, _) <- runCli Nothing ["topology", manifest]
+      BS.writeFile committed document
+      manifestBytes <- BS.readFile manifest
+      BS.writeFile manifest (replaceBytes "service incident-reaction" "service incident-response" manifestBytes)
+      (exitCode, _, stderrText) <- runCli Nothing ["topology", manifest, "--check", committed]
+      exitCode `shouldBe` ExitFailure 1
+      stderrText
+        `shouldBe` "topology stale: the service or manifest changed (recorded service 'incident-reaction', current 'incident-response'); regenerate it\n"
+      stderrText `shouldNotSatisfy` T.isInfixOf "keiro-dsl"
+      BS.writeFile manifest manifestBytes
+      BS.appendFile (directory </> "domain" </> "incident.keiro") "# edited\n"
+      (memberExit, _, memberErr) <- runCli Nothing ["topology", manifest, "--check", committed]
+      memberExit `shouldBe` ExitFailure 1
+      memberErr `shouldSatisfy` T.isPrefixOf "topology stale: member 'domain/incident.keiro' changed (recorded sha256:"
+      memberErr `shouldSatisfy` T.isInfixOf ", current sha256:"
+
+  it "topology --check falls back honestly when nothing it compares differs" $
+    withTempDirectory "keiro-dsl-topology-check-fallback" $ \directory -> do
+      source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+      let committed = directory </> "topology.json"
+      (_, document, _) <- runCli Nothing ["topology", source]
+      BS.writeFile committed (replaceBytes "\"line\":" "\"line\":1" document)
+      (exitCode, _, stderrText) <- runCli Nothing ["topology", source, "--check", committed]
+      exitCode `shouldBe` ExitFailure 1
+      stderrText `shouldBe` "topology stale: document differs with unchanged sources and the same keiro-dsl version; regenerate it\n"
+
+  it "topology --check refuses a file that is not a topology document" $
+    withTempDirectory "keiro-dsl-topology-check-invalid" $ \directory -> do
+      source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro"
+      let committed = directory </> "topology.json"
+      BS.writeFile committed "{}"
+      (exitCode, _, stderrText) <- runCli Nothing ["topology", source, "--check", committed]
+      exitCode `shouldBe` ExitFailure 1
+      stderrText `shouldBe` ("topology check: cannot read '" <> T.pack committed <> "' as a keiro-dsl service-topology document\n")
+      (missingExit, _, _) <- runCli Nothing ["topology", source, "--check", directory </> "missing.json"]
+      missingExit `shouldBe` ExitFailure 1
+
+--------------------------------------------------------------------------------
+-- EP-3: aggregate machines
+--------------------------------------------------------------------------------
+
+machineTests :: Spec
+machineTests = do
+  it "exports an aggregate machine in keiki's edge order, per source state" $ do
+    machine <- fixtureMachine "test/fixtures/topology-machine.keiro" "Order"
+    machine.ownership `shouldBe` MachineGenerated
+    machine.initial `shouldBe` "Draft"
+    [(state.name, state.terminal) | state <- machine.states]
+      `shouldBe` [("Draft", False), ("Open", False), ("InTransit", False), ("Done", True)]
+    [(e.source, e.edgeIndex, e.target, e.mode, e.command, e.events) | e <- machine.edges]
+      `shouldBe` [ ("Draft", 0, "Open", MachineLive, "PlaceOrder", ["OrderPlaced"]),
+                   ("Draft", 1, "Draft", MachineLive, "NoteOrder", ["OrderNoted"]),
+                   ("Open", 0, "Open", MachineLive, "AmendOrder", ["OrderAmended"]),
+                   ("Open", 1, "InTransit", MachineLive, "ShipOrder", ["OrderShipped", "ShipmentLabelled"]),
+                   ("Open", 2, "Done", MachineReplayOnly, "CloseOrder", ["OrderClosed"]),
+                   ("InTransit", 0, "Done", MachineLive, "CloseOrder", ["OrderClosed"])
+                 ]
+
+  it "marks a frozen Language 1 aggregate's hand-written machine as legacy-hole" $ do
+    let legacy =
+          T.unlines
+            [ "context topology-legacy",
+              "",
+              "aggregate Counter",
+              "  regs",
+              "  states Idle Counting",
+              "  command Start { note:Text }",
+              "  event Started = fields(Start)",
+              "  Idle -- Start --> emit Started ; goto Counting"
+            ]
+    case parseSourceDocument "legacy.keiro" legacy of
+      Left failure -> expectationFailure (T.unpack (renderParseFailure failure))
+      Right document -> case [aggregate | NAggregate aggregate <- document.parsedSource.spec.nodes] of
+        [aggregate] -> (aggregateMachine aggregate).ownership `shouldBe` MachineLegacyHole
+        other -> expectationFailure ("expected one aggregate, got " <> show (length other))
+
+  it "carries the machine inside each aggregate node's details" $ do
+    document <- readGolden "test/fixtures/topology/hospital-capacity.topology.golden.json"
+    let aggregates = [node | node <- listField "nodes" document, textField "kind" node == "aggregate"]
+    aggregates `shouldSatisfy` (not . null)
+    forM_ aggregates $ \node ->
+      (field "details" node >>= field "machine" >>= field "ownership") `shouldBe` Just (String "generated")
+
+--------------------------------------------------------------------------------
+-- EP-4: the feeds relation and schema id /2
+--------------------------------------------------------------------------------
+
+feedsTests :: Spec
+feedsTests = do
+  it "a declared source becomes one feeds edge under schema id /2; unsourced documents stay /1" $ do
+    sourced <- readGolden "test/fixtures/topology/incident-command-sourced.topology.golden.json"
+    field "schema" sourced `shouldBe` Just (String "keiro-dsl/service-topology/2")
+    [ (endpoint "from" e, endpoint "to" e, attribute "input" e, attribute "events" e)
+      | e <- edgeObjects sourced,
+        relationOf e == "feeds"
+      ]
+      `shouldBe` [ ( ("intake", "hospitalInbox"),
+                     ("router", "CapacityChangeRouter"),
+                     Just (String "AcceptedHospitalCapacitySnapshot"),
+                     Just (Aeson.toJSON ["HospitalCapacitySnapshotPublished" :: Text])
+                   )
+                 ]
+    forM_ [golden | (source, golden) <- goldenCases, not ("-sourced" `T.isInfixOf` T.pack source)] $ \golden -> do
+      document <- readGolden golden
+      field "schema" document `shouldBe` Just (String "keiro-dsl/service-topology/1")
+
+  it "the sourced document differs from the unsourced one only by schema, the feeds edge, and its member digest" $
+    withTempDirectory "keiro-dsl-topology-feeds" $ \directory -> do
+      documents <- forM ["incident-command-sourced.keiro", "incident-command.keiro"] $ \fixture -> do
+        original <- resolveTestPath ("test/fixtures/topology/" <> fixture)
+        let variantDirectory = directory </> takeWhile (/= '.') fixture
+            copy = variantDirectory </> "incident-command.keiro"
+        createDirectory variantDirectory
+        BS.readFile original >>= BS.writeFile copy
+        (exitCode, bytes, _) <- runTopology [copy]
+        exitCode `shouldBe` ExitSuccess
+        maybe (fail "topology output is not JSON") pure (decodeDocument bytes)
+      case documents of
+        [sourced, unsourced] -> do
+          let normalize = withoutPositions . withoutFeeds . setField "schema" (String "keiro-dsl/service-topology/1")
+          normalize sourced `shouldBe` withoutPositions unsourced
+          length (edgeObjects sourced) `shouldBe` length (edgeObjects unsourced) + 1
+        _ -> expectationFailure "expected two documents"
+
+--------------------------------------------------------------------------------
+-- Plan 343: fields a consumer joins to live data
+--------------------------------------------------------------------------------
+
+liveJoinTests :: Spec
+liveJoinTests = do
+  it "each aggregate's category is the category its generated inspector is mounted under" $
+    withTempDirectory "keiro-dsl-topology-inspector" $ \directory -> do
+      source <- resolveTestPath "test/fixtures/topology/hospital-capacity.keiro" >>= makeAbsolute
+      let out = directory </> "out"
+      (scaffoldExit, _, _) <- runCli Nothing ["scaffold", source, "--out", out]
+      scaffoldExit `shouldBe` ExitSuccess
+      inspectorCategories <- scaffoldedInspectorCategories out (out </> "HospitalCapacity/Generated/Inspection.hs")
+      length inspectorCategories `shouldBe` 5
+      (topologyExit, bytes, _) <- runCli Nothing ["topology", source]
+      topologyExit `shouldBe` ExitSuccess
+      document <- maybe (fail "topology output is not JSON") pure (decodeDocument bytes)
+      let exported =
+            [ (textField "name" node, category)
+            | node <- listField "nodes" document,
+              textField "kind" node == "aggregate",
+              Just (String category) <- [field "details" node >>= field "category"]
+            ]
+      length exported `shouldBe` length [() | node <- listField "nodes" document, textField "kind" node == "aggregate"]
+      Set.fromList (map snd exported) `shouldBe` Set.fromList inspectorCategories
+      -- The saga aggregate is mounted under its own category, not the
+      -- process's saga category.
+      lookup "Surge" exported `shouldBe` Just "surge"
+
+  it "each dispatch node names its dedupe read model, the target of its dedupe reads edge" $
+    forM_ goldenCases $ \(_, golden) -> do
+      document <- readGolden golden
+      let dedupeTargets name =
+            [ snd (endpoint "to" e)
+            | e <- edgeObjects document,
+              relationOf e == "reads",
+              endpoint "from" e == ("dispatch", name),
+              attribute "role" e == Just (String "dedupe")
+            ]
+      forM_ [node | node <- listField "nodes" document, textField "kind" node == "dispatch"] $ \node -> do
+        let name = textField "name" node
+        [dedupe | Just (String dedupe) <- [field "details" node >>= field "dedupReadModel"]] `shouldBe` dedupeTargets name
+
+-- | The category text of every inspector in a scaffolded @Inspection@ module:
+-- each @categoryText Alias.binding@ is resolved through the module's
+-- @import M qualified as Alias@ to the literal @binding@ is defined as in M.
+scaffoldedInspectorCategories :: FilePath -> FilePath -> IO [Text]
+scaffoldedInspectorCategories out inspectionPath = do
+  inspection <- TE.decodeUtf8 <$> BS.readFile inspectionPath
+  let inspectionLines = T.lines inspection
+      aliases =
+        [ (alias, moduleName)
+        | line <- inspectionLines,
+          ["import", moduleName, "qualified", "as", alias] <- [T.words line]
+        ]
+      references =
+        [ reference
+        | line <- inspectionLines,
+          (_, rest) <- [T.breakOn "(categoryText " line],
+          not (T.null rest),
+          reference <- take 1 (T.words (T.takeWhile (/= ')') (T.drop (T.length "(categoryText ") rest)))
+        ]
+  forM references $ \reference -> do
+    let (alias, binding) = fmap (T.drop 1) (T.breakOn "." reference)
+    moduleName <- maybe (fail ("no import for " <> T.unpack alias)) pure (lookup alias aliases)
+    moduleText <- TE.decodeUtf8 <$> BS.readFile (out </> T.unpack (T.replace "." "/" moduleName <> ".hs"))
+    case [ T.takeWhile (/= '"') (T.drop 1 (T.dropWhile (/= '"') line))
+         | line <- T.lines moduleText,
+           (binding <> " = Stream.categoryUnsafe ") `T.isPrefixOf` line
+         ] of
+      category : _ -> pure category
+      [] -> fail ("no category literal for " <> T.unpack reference)
+
+withoutFeeds :: Value -> Value
+withoutFeeds = \case
+  Object document -> Object (KeyMap.mapWithKey (\key value -> if Key.toText key == "edges" then dropFeeds value else value) document)
+  other -> other
+  where
+    dropFeeds = \case
+      Array edges -> Array (Vector.filter ((/= "feeds") . relationOf) edges)
+      other -> other
+
+setField :: Text -> Value -> Value -> Value
+setField name value = \case
+  Object document -> Object (KeyMap.insert (Key.fromText name) value document)
+  other -> other
+
+fixtureMachine :: FilePath -> Text -> IO MachineTopology
+fixtureMachine path aggregateName = do
+  resolved <- resolveTestPath path
+  source <- TE.decodeUtf8 <$> BS.readFile resolved
+  case parseSourceDocument resolved source of
+    Left failure -> fail (T.unpack (renderParseFailure failure))
+    Right document ->
+      case [aggregate | NAggregate aggregate <- document.parsedSource.spec.nodes, aggregateNamed aggregate] of
+        aggregate : _ -> pure (aggregateMachine aggregate)
+        [] -> fail ("no aggregate " <> T.unpack aggregateName)
+  where
+    aggregateNamed :: Aggregate -> Bool
+    aggregateNamed aggregate = aggregate.name == aggregateName
+
+-- | Copy the topology workspace fixture into a directory and return the
+-- manifest path of the copy.
+copyWorkspaceFixture :: FilePath -> IO FilePath
+copyWorkspaceFixture directory = do
+  forM_ ["service.keiro-workspace", "domain/incident.keiro", "coordination/reaction.keiro"] $ \relative -> do
+    original <- resolveTestPath ("test/fixtures/topology/workspace/" <> relative)
+    createDirectoryIfMissing True (takeDirectory (directory </> relative))
+    BS.readFile original >>= BS.writeFile (directory </> relative)
+  pure (directory </> "service.keiro-workspace")
+
+replaceBytes :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BS.ByteString
+replaceBytes needle replacement haystack =
+  let (prefix, suffix) = BS.breakSubstring needle haystack
+   in if BS.null suffix then haystack else prefix <> replacement <> BS.drop (BS.length needle) suffix
+
+-- | Reverse the order of top-level node declarations, keeping the preamble
+-- (language, context, layout, ids and enums) in place. Only whole
+-- declarations move; nothing inside one is reordered.
+reverseNodeDeclarations :: BS.ByteString -> BS.ByteString
+reverseNodeDeclarations bytes =
+  BS8.unlines (preamble <> concatMap terminate (reverse blocks))
+  where
+    sourceLines = BS8.lines bytes
+    (preamble, rest) = break startsNode sourceLines
+    blocks = splitBlocks rest
+    splitBlocks [] = []
+    splitBlocks (header : remaining) =
+      let (body, next) = break startsNode remaining
+       in (header : body) : splitBlocks next
+    terminate block = reverse (dropWhile (BS8.all isSpace) (reverse block)) <> [""]
+    startsNode line = any (\keyword -> (keyword <> " ") `BS.isPrefixOf` line) nodeKeywords
+    nodeKeywords =
+      [ "aggregate",
+        "process",
+        "router",
+        "workflow",
+        "operation",
+        "contract",
+        "intake",
+        "emit",
+        "publisher",
+        "workqueue",
+        "dispatch",
+        "readmodel",
+        "target",
+        "rebuild-group",
+        "projection-owner",
+        "projection-revision",
+        "external-read"
+      ]
+
+withoutPositions :: Value -> Value
+withoutPositions = \case
+  Object document -> Object (KeyMap.mapWithKey strip document)
+  other -> other
+  where
+    strip key value = case (Key.toText key, value) of
+      ("members", Array members) -> Array (fmap (dropField "sha256") members)
+      ("nodes", Array nodes) -> Array (fmap (dropField "line") nodes)
+      _ -> value
+    dropField name = \case
+      Object fields -> Object (KeyMap.delete (Key.fromText name) fields)
+      other -> other
+
+--------------------------------------------------------------------------------
+-- Inline sources
+--------------------------------------------------------------------------------
+
+reactionSource :: Text
+reactionSource =
+  T.unlines
+    [ "language keiro-dsl 6",
+      "context topology-reaction",
+      "",
+      "id IncidentId prefix=inc",
+      "",
+      "process IncidentReaction",
+      "  name \"incident-reaction\"",
+      "  reactions version 1",
+      "  input IncidentReported { incidentId:IncidentId }",
+      "  correlate input.incidentId via idText",
+      "  saga IncidentSaga category \"incidentSaga\"",
+      "  target Incident",
+      "  projections [ ]",
+      "  on IncidentReported",
+      "    advance RecordIncident { incidentId }",
+      "      accepted",
+      "        dispatch Incident@input.incidentId EscalateIncident { incidentId }",
+      "          on-appended AckOk ; on-duplicate AckOk ; on-failed Retry",
+      "      silent no-action",
+      "  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, targetStreamName, occurrence)",
+      "  rejected => halt",
+      "  poison => halt",
+      "",
+      "aggregate IncidentSaga",
+      "  regs",
+      "  states Open",
+      "  command RecordIncident { incidentId }",
+      "  event IncidentRecorded = fields(RecordIncident)",
+      "  Open -- RecordIncident --> emit IncidentRecorded ; goto Open",
+      "",
+      "aggregate Incident",
+      "  regs",
+      "  states Open",
+      "  command EscalateIncident { incidentId }",
+      "  event IncidentEscalated = fields(EscalateIncident)",
+      "  Open -- EscalateIncident --> emit IncidentEscalated ; goto Open"
+    ]
+
+projectsSource :: Text
+projectsSource =
+  T.replace
+    "  projections [ ]"
+    "  projections [ incident_board ]"
+    ( T.replace
+        "  Open -- EscalateIncident --> emit IncidentEscalated ; goto Open"
+        "  Open -- EscalateIncident --> emit IncidentEscalated ; goto Open\n  projection incident_board key=incidentId"
+        reactionSource
+    )
+
+danglingSource :: Text
+danglingSource =
+  T.replace "dispatch Incident@input.incidentId" "dispatch Missing@input.incidentId" reactionSource
+
+operationsSource :: Text
+operationsSource =
+  T.unlines
+    [ "language keiro-dsl 6",
+      "context topology-operations",
+      "",
+      "id TicketId prefix=tkt",
+      "",
+      "readmodel ticket_board {",
+      "  table = \"ticket_board\"",
+      "  schema = \"tickets\"",
+      "  columns {",
+      "    ticket_id text required",
+      "  }",
+      "  version = 1",
+      "  shape = \"fnv1a:0000000000000000\"",
+      "  freshness = immediate",
+      "}",
+      "",
+      "aggregate Ticket",
+      "  regs",
+      "  states Open",
+      "  command OpenTicketCommand { ticketId }",
+      "  event TicketOpened = fields(OpenTicketCommand)",
+      "  Open -- OpenTicketCommand --> emit TicketOpened ; goto Open",
+      "",
+      "workflow TicketTriage",
+      "  name \"ticket-triage\"",
+      "  in TriageInput { ticketId:Id }",
+      "  out TriageSummary",
+      "  id from input.ticketId via idText",
+      "  body",
+      "    await triage-decision -> TriageDecision",
+      "",
+      "operation OpenTicket",
+      "  command on Ticket",
+      "    stream from ticketId via ticketStream",
+      "    project [ ticket_board ]",
+      "",
+      "operation QueryTickets",
+      "  query ticket_board",
+      "    input TicketId",
+      "    result Maybe TicketRow",
+      "",
+      "operation SignalTriage",
+      "  signal triage-decision of TicketTriage",
+      "    key from ticketId via triageWorkflowId",
+      "    value TriageDecision",
+      "",
+      "operation RunTriage",
+      "  run TicketTriage",
+      "    input TriageInput",
+      "    outcome -> TriageRun"
+    ]
+
+parseInline :: FilePath -> Text -> Either Text WorkspaceSpec
+parseInline path source = case parseSourceDocument path source of
+  Left failure -> Left (renderParseFailure failure)
+  Right document -> either (Left . T.pack . show) Right (oneMemberParsedDocumentWorkspace path document)
+
+inlineTopology :: FilePath -> Text -> IO ServiceTopology
+inlineTopology path source = case parseInline path source of
+  Left message -> fail (T.unpack message)
+  Right workspace ->
+    case buildServiceTopology TopologySingleSource path workspace [(path, memberDigest (TE.encodeUtf8 source))] of
+      Left topologyError -> fail (T.unpack (renderTopologyError topologyError))
+      Right topology -> pure topology
+
+edgeSummaries :: ServiceTopology -> [(Text, Text, Text, Text, Text, [(Text, Value)])]
+edgeSummaries topology =
+  [ ( nodeKindText topologyEdge.from.kind,
+      topologyEdge.from.name,
+      relationText topologyEdge.relation,
+      nodeKindText topologyEdge.to.kind,
+      topologyEdge.to.name,
+      [(Key.toText key, value) | (key, value) <- KeyMap.toList topologyEdge.attributes]
+    )
+  | topologyEdge <- topology.edges
+  ]
+
+--------------------------------------------------------------------------------
+-- Decoded documents
+--------------------------------------------------------------------------------
+
+decodeDocument :: BS.ByteString -> Maybe Value
+decodeDocument = Aeson.decodeStrict
+
+readGolden :: FilePath -> IO Value
+readGolden path = do
+  resolved <- resolveTestPath path
+  bytes <- BS.readFile resolved
+  maybe (fail ("golden is not JSON: " <> path)) pure (decodeDocument bytes)
+
+field :: Text -> Value -> Maybe Value
+field name = \case
+  Object fields -> KeyMap.lookup (Key.fromText name) fields
+  _ -> Nothing
+
+textField :: Text -> Value -> Text
+textField name value = case field name value of
+  Just (String text) -> text
+  _ -> ""
+
+listField :: Text -> Value -> [Value]
+listField name value = case field name value of
+  Just (Array values) -> toList values
+  _ -> []
+
+nodeIdentities :: Value -> [(Text, Text)]
+nodeIdentities document = [(textField "kind" node, textField "name" node) | node <- listField "nodes" document]
+
+edgeObjects :: Value -> [Value]
+edgeObjects = listField "edges"
+
+endpoint :: Text -> Value -> (Text, Text)
+endpoint side edgeObject = case field side edgeObject of
+  Just ref -> (textField "kind" ref, textField "name" ref)
+  Nothing -> ("", "")
+
+relationOf :: Value -> Text
+relationOf = textField "relation"
+
+attribute :: Text -> Value -> Maybe Value
+attribute name edgeObject = field "attributes" edgeObject >>= field name
+
+--------------------------------------------------------------------------------
+-- Running the executable
+--------------------------------------------------------------------------------
+
+runTopology :: [FilePath] -> IO (ExitCode, BS.ByteString, Text)
+runTopology = runTopologyIn Nothing
+
+-- | Run @keiro-dsl topology@ with the raw stdout bytes. Fixture arguments are
+-- resolved against the package or repository root unless a working directory
+-- is given.
+runTopologyIn :: Maybe FilePath -> [FilePath] -> IO (ExitCode, BS.ByteString, Text)
+runTopologyIn workingDirectory arguments = do
+  resolved <- case workingDirectory of
+    Just _ -> pure arguments
+    Nothing -> traverse resolveArgument arguments
+  runCli workingDirectory ("topology" : resolved)
+  where
+    resolveArgument argument
+      | "test/fixtures/" `isPrefixOf` argument = resolveTestPath argument
+      | otherwise = pure argument
+
+-- | Run the packaged @keiro-dsl@ executable with raw stdout bytes.
+runCli :: Maybe FilePath -> [String] -> IO (ExitCode, BS.ByteString, Text)
+runCli workingDirectory arguments = do
+  (exitCode, stdoutText, stderrText) <-
+    readCreateProcessWithExitCode ((proc "keiro-dsl" arguments) {cwd = workingDirectory}) ""
+  pure (exitCode, TE.encodeUtf8 (T.pack stdoutText), T.pack stderrText)
+
+-- | The generator version changes on every release; goldens store a
+-- placeholder so a version bump does not rewrite every document.
+withVersionPlaceholder :: BS.ByteString -> BS.ByteString
+withVersionPlaceholder bytes =
+  let (prefix, suffix) = BS.breakSubstring needle bytes
+   in if BS.null suffix then bytes else prefix <> placeholder <> BS.drop (BS.length needle) suffix
+  where
+    needle = "\"generator\":{\"tool\":\"keiro-dsl\",\"version\":\"" <> BS8.pack (showVersion Package.version) <> "\"}"
+    placeholder = "\"generator\":{\"tool\":\"keiro-dsl\",\"version\":\"<version>\"}"
+
+assertMatchesByteGolden :: FilePath -> BS.ByteString -> IO ()
+assertMatchesByteGolden path actual = do
+  update <- lookupEnv "KEIRO_DSL_UPDATE_GOLDENS"
+  if update == Just "1"
+    then do
+      resolved <- resolveGoldenWritePath path
+      BS.writeFile resolved actual
+    else do
+      resolved <- resolveTestPath path
+      BS.readFile resolved >>= (`shouldBe` actual)
+
+-- | Where a golden should be written when it may not exist yet: beside the
+-- fixture directory that does exist.
+resolveGoldenWritePath :: FilePath -> IO FilePath
+resolveGoldenWritePath path = do
+  existing <- filterM doesFileExist [path, "keiro-dsl" </> path]
+  case existing of
+    found : _ -> pure found
+    [] -> do
+      fixtureDirectories <- filterM (doesFileExist . (</> "hospital-capacity.keiro")) ["test/fixtures/topology", "keiro-dsl/test/fixtures/topology"]
+      case fixtureDirectories of
+        directory : _ -> pure (takeDirectory directory </> dropPrefix "test/fixtures/" path)
+        [] -> fail ("cannot locate the topology fixture directory for " <> path)
+  where
+    dropPrefix prefix value = if prefix `isPrefixOf` value then drop (length prefix) value else value
+
+-- | Locate a repo file regardless of the test process's current directory.
+resolveTestPath :: FilePath -> IO FilePath
+resolveTestPath rel = do
+  override <- lookupEnv "KEIRO_DSL_TEST_ROOT"
+  let candidates = [rel, "keiro-dsl" </> rel] <> maybe [] (\root -> [root </> rel]) override
+  existing <- filterM doesFileExist candidates
+  case existing of
+    path : _ -> pure path
+    [] -> fail ("unable to locate keiro-dsl test file " <> show rel <> "; tried " <> show candidates)
+
+withTempDirectory :: String -> (FilePath -> IO a) -> IO a
+withTempDirectory template = bracket acquire removePathForcibly
+  where
+    acquire = do
+      base <- getTemporaryDirectory
+      (path, handle) <- openTempFile base template
+      hClose handle
+      removeFile path
+      createDirectory path
+      pure path
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -83,6 +83,7 @@
 import Keiro.Dsl.HaskellImport
 import Keiro.Dsl.HaskellSourceMove
 import Keiro.Dsl.IdDomain (IdDomainContract (..), contractIdDomainContractFor, idDomainContractFor, idDomainIdentitiesForService)
+import Keiro.Dsl.InputSourceSpec (inputSourceSpec)
 import Keiro.Dsl.LanguageVersion
 import Keiro.Dsl.Manifest (manifestDependencies, manifestDependenciesForService, moduleNameOf, renderManifest, renderManifestForService, renderManifestForServiceWithFacade)
 import Keiro.Dsl.MappedCodecPlan
@@ -112,6 +113,7 @@
 import Keiro.Dsl.Skeleton (skeletonFor, skeletonKinds)
 import Keiro.Dsl.Source (SourcePoint (..), SourceSpan (..))
 import Keiro.Dsl.SourceIndex
+import Keiro.Dsl.TopologySpec (topologySpec)
 import Keiro.Dsl.TypeGraph
 import Keiro.Dsl.Validate (Diagnostic (..), DiagnosticCode (..), Severity (..), derivedQueueTrio, diagnosticCodeText, parseDiagnosticCode, renderDiagnostic, validateService, validateSpec)
 import Keiro.Dsl.Workspace
@@ -249,6 +251,8 @@
   mappedStructuralEnumEqualitySpec
   consumerEnumLiteralsSpec
   frontendProfilesSpec
+  topologySpec
+  inputSourceSpec
 
   describe "calendar-day codec policy v1" $ do
     it "pins the stable identity and Aeson-compatible full-carrier writer" $ do
@@ -1952,6 +1956,17 @@
             "contract-list-fields-prefix-change.keiro",
             "contract-list-fields-admission-change.keiro",
             "contract-list-fields-language5.keiro",
+            "contract-foreign-event.keiro",
+            "contract-foreign-event-language5.keiro",
+            "contract-foreign-event-envelope-language5.keiro",
+            "contract-foreign-event-optional-to-required.keiro",
+            "contract-foreign-event-optional-added.keiro",
+            "contract-foreign-event-optional-scalar-change.keiro",
+            "contract-foreign-event-optional-literal-to-declared.keiro",
+            "contract-foreign-event-optional-literal-to-required-declared.keiro",
+            "contract-foreign-event-discriminator-body.keiro",
+            "contract-rollout-before.keiro",
+            "contract-rollout-after.keiro",
             "declarative-router/unbounded.keiro",
             "declarative-router/valid.keiro",
             "direct-optional-id.keiro",
@@ -1960,6 +1975,7 @@
             "hospital-surge-reactions.keiro",
             "id-admission-domains.keiro",
             "id-domain-migration-v3.keiro",
+            "intake-delegated-noop.keiro",
             "intake-delegated.keiro",
             "ir50-removal-new.keiro",
             "ir50-removal-old.keiro",
@@ -2015,6 +2031,17 @@
             "structural-nominal-leaves-text-to-nominal.keiro",
             "structural-nominal-leaves.keiro",
             "structural-text-sets.keiro",
+            "input-source/sourced.keiro",
+            "input-source/unsourced.keiro",
+            "input-source/workspace/integration.keiro",
+            "input-source/workspace/routing.keiro",
+            "topology-machine.keiro",
+            "topology/hospital-capacity.keiro",
+            "topology/incident-command-sourced.keiro",
+            "topology/incident-command.keiro",
+            "topology/projection-catalog.keiro",
+            "topology/workspace/coordination/reaction.keiro",
+            "topology/workspace/domain/incident.keiro",
             "process-reactions-accepted-requires-event.keiro",
             "process-reactions-accepted-unverified.keiro",
             "process-reactions-badmapping.keiro",
@@ -7137,7 +7164,7 @@
               ( \contract ->
                   contractNodeWithEvents
                     ( updateFirst
-                        (\event -> contractEventWithFields (updateFirst (contractFieldWithName contract.discriminator) event.fields) event)
+                        (\event -> contractEventWithFields (updateFirst (contractFieldWithName (fromMaybe "messageType" (contractBodyDiscriminator contract))) event.fields) event)
                         contract.events
                     )
                     contract
@@ -8259,7 +8286,7 @@
         Right spec -> case [c | NContract c <- (.nodes) spec] of
           (c : _) -> do
             (.name) c `shouldBe` "emergency"
-            (.discriminator) c `shouldBe` "messageType"
+            (.discriminator) c `shouldBe` DiscriminatorBodyKey "messageType"
             map fst ((.topics) c) `shouldBe` ["incidentEvents", "hospitalEvents"]
             map (.name) ((.events) c) `shouldBe` ["IncidentTransferNeedDeclared", "TransferReservationAccepted"]
           [] -> expectationFailure "no contract node parsed"
@@ -8575,9 +8602,13 @@
 
     it "rejects genuine container applications even when their names are declared IDs" $ do
       forM_ ["Optional", "Map", "Set", "List"] $ \nominal ->
-        forM_ (filter (/= "List text") [nominal <> " text", "List " <> nominal <> " text"]) $ \ty ->
+        forM_ (filter (`notElem` ["List text", "Optional text"]) [nominal <> " text", "List " <> nominal <> " text"]) $ \ty ->
           parseSource "malformed-contract.keiro" (probeSource ("id " <> nominal <> " prefix=probe") ("values: " <> ty)) `shouldSatisfy` isLeft
 
+    it "reads Optional applied to a scalar as an optional field even when Optional is a declared ID" $ do
+      service <- checkProbe (probeSource "id Optional prefix=probe" "value: Optional values: Optional text nested: Optional Optional")
+      [ty | (_, _, _, ty) <- probeFields service] `shouldBe` [CScalar (CDeclaredId "Optional"), COptional CText, COptional (CDeclaredId "Optional")]
+
     it "retains scalar built-in and cross-declaration ambiguity checks" $ do
       forM_
         [ "id Text prefix=probe",
@@ -8654,7 +8685,7 @@
 
     it "refuses nested containers in contract list fields without consuming keyword prefixes" $ do
       source <- readTestText "test/fixtures/contract-list-fields.keiro"
-      forM_ ["List List TemplateId", "List list TemplateId", "List Optional text", "List Set text", "Optional text", "Map text"] $ \fieldType ->
+      forM_ ["List List TemplateId", "List list TemplateId", "List Optional text", "List Set text", "Optional List text", "Map text"] $ \fieldType ->
         case parseSource "nested.keiro" (T.replace "templateIds: List TemplateId" ("templateIds: " <> fieldType) source) of
           Left failure -> renderParseFailure failure `shouldSatisfy` T.isInfixOf "nested containers"
           Right _ -> expectationFailure ("accepted " <> T.unpack fieldType)
@@ -8778,6 +8809,385 @@
         [finding | Breaking finding <- diffServices before after, (.code) finding == ContractFieldChanged]
           `shouldSatisfy` any (\finding -> verdictFor PublicConsumer (finding.vector) == VBreaking)
 
+    it "lowers Optional contract fields of every scalar family" $ do
+      service <- checkedServiceOf "test/fixtures/contract-foreign-event.keiro"
+      let modules = scaffoldServiceModules (defaultContext (checkedSpec service).context) service
+          audit = generatedTextEndingIn "Audit/Contract.hs" modules
+      validateService service `shouldBe` []
+      forM_
+        [ "note :: !(Maybe Text)",
+          "mlsMemberId :: !(Maybe Nominals.MemberId)",
+          "legacyAccountId :: !(Maybe Int)",
+          "referrerId :: !(Maybe (KindID \"member\"))",
+          "<> [\"note\" .= value | Just value <- [payload.note]]",
+          "<> [\"mlsMemberId\" .= NominalLeaves.encodeMemberIdLeaf value | Just value <- [payload.mlsMemberId]]",
+          "<> [\"legacyAccountId\" .= value | Just value <- [payload.legacyAccountId]]",
+          "<> [\"referrerId\" .= KindID.toText value | Just value <- [payload.referrerId]]",
+          "<*> o .:? \"note\"",
+          "<*> explicitParseFieldMaybe NominalLeaves.parseMemberIdLeaf o \"mlsMemberId\"",
+          "<*> o .:? \"legacyAccountId\"",
+          "<*> explicitParseFieldMaybe (parseKindIdV7Value @\"member\") o \"referrerId\"",
+          "import Data.Aeson (Value, object, withObject, withText, (.:?), (.=))",
+          "import Data.Aeson.Types (Parser, explicitParseField, explicitParseFieldMaybe, parseEither)"
+        ]
+        $ \fragment -> audit `shouldSatisfy` T.isInfixOf fragment
+      [site | obligation <- either (error . show) id (bindingObligationsForService service), site <- (.useSites) obligation] `shouldBe` []
+      forM_ [("mlsMemberId", "member"), ("referrerId", "member")] $ \(field, prefix) ->
+        idDomainIdentitiesForService service
+          `shouldContain` ["id-domain|name=contract:audit.RegistrationSeen." <> field <> "|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=" <> prefix <> "|separator=_|json=canonical-json-text"]
+      forM_ [False, True] $ \withTyped -> do
+        primitive <- checkedServiceFromText "primitive-optional.keiro" (T.unlines ["language keiro-dsl 6", "context primitive", "contract values { schemaVersion 1 discriminator kind topic events \"values.events\"", "event Values on events { label: Optional text " <> (if withTyped then "ref: Optional typeid \"ref\"" else "") <> " } }"])
+        let rendered = generatedTextEndingIn "Values/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec primitive).context) primitive)
+        validateService primitive `shouldBe` []
+        rendered `shouldSatisfy` T.isInfixOf "(.:?)"
+        rendered `shouldNotSatisfy` T.isInfixOf "(.:)"
+        ("explicitParseFieldMaybe" `T.isInfixOf` rendered) `shouldBe` withTyped
+
+    it "keeps contracts without Optional fields on the unchanged encoder layout" $ do
+      service <- checkedServiceOf "test/fixtures/contract-list-fields.keiro"
+      let contractModule = generatedTextEndingIn "Templates/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec service).context) service)
+      forM_ [".:?", "explicitParseFieldMaybe", "Just value <-", "parseTemplatesPayloadAs"] $ \fragment ->
+        contractModule `shouldNotSatisfy` T.isInfixOf fragment
+
+    it "gates the Optional contract field token on Language 6" $ do
+      (status, _, err) <- runKeiroDsl ["check", "test/fixtures/contract-foreign-event-language5.keiro"]
+      status `shouldBe` ExitFailure 1
+      err `shouldContain` "LanguageFeatureRequiresVersion"
+      err `shouldContain` "contract-foreign-event-language5.keiro:12:1"
+      source <- readTestText "test/fixtures/contract-foreign-event-language5.keiro"
+      case parseSurfaceSource "optional-language5.keiro" source of
+        Left FrontendFailure {code = SourceLanguageError LanguageFeatureRequiresVersion, span = SourceSpan {start = SourcePoint {offset = startOffset, line = startLine, column = startColumn}, end = SourcePoint {offset = endOffset}}} -> do
+          T.take (endOffset - startOffset) (T.drop startOffset source) `shouldBe` "Optional"
+          (startLine, startColumn) `shouldBe` (12, 11)
+        other -> expectationFailure (show other)
+
+    it "refuses Optional List, List Optional, and lower-case optional contract field types" $ do
+      source <- readTestText "test/fixtures/contract-foreign-event.keiro"
+      forM_ ["Optional List text", "List Optional text", "optional text", "Optional Optional text", "Optional Map text"] $ \fieldType ->
+        case parseSource "nested-optional.keiro" (T.replace "note: Optional text" ("note: " <> fieldType) source) of
+          Left failure -> do
+            renderParseFailure failure `shouldSatisfy` T.isInfixOf "or Optional of one of those"
+            renderParseFailure failure `shouldSatisfy` T.isInfixOf "Optional List, List Optional"
+          Right _ -> expectationFailure ("accepted " <> T.unpack fieldType)
+
+    it "keeps Optional usable as a declared id name in contract fields" $ do
+      service <-
+        checkedServiceFromText
+          "optional-name.keiro"
+          ( T.unlines
+              [ "language keiro-dsl 6",
+                "context optional-name",
+                "id Optional prefix=opt",
+                "contract values { schemaVersion 1 discriminator kind topic events \"values.events\"",
+                "event Values on events {",
+                "  value: Optional",
+                "  maybeValue: Optional Optional",
+                "  values: List Optional",
+                "} }"
+              ]
+          )
+      validateService service `shouldBe` []
+      let rendered = generatedTextEndingIn "Values/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec service).context) service)
+      forM_ ["value :: !Nominals.Optional", "maybeValue :: !(Maybe Nominals.Optional)", "values :: ![Nominals.Optional]"] $ \fragment ->
+        rendered `shouldSatisfy` T.isInfixOf fragment
+
+    it "keeps Optional contract field aliases" $ do
+      source <- readTestText "test/fixtures/contract-foreign-event.keiro"
+      service <- checkedServiceFromText "aliased-optional.keiro" (T.replace "note: Optional text" "note haskell memberNote as \"member_note\": Optional text" source)
+      validateService service `shouldBe` []
+      let text = generatedTextEndingIn "Audit/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec service).context) service)
+      forM_ ["memberNote :: !(Maybe Text)", "[\"member_note\" .= value | Just value <- [payload.memberNote]]", "o .:? \"member_note\""] $ \fragment ->
+        text `shouldSatisfy` T.isInfixOf fragment
+      case parseSource "aliased-optional.keiro" (T.replace "note: Optional text" "note haskell memberNote as \"member_note\": Optional text" source) of
+        Right parsed -> parseSource "aliased-optional.keiro" (renderSource parsed) `shouldBe` Right parsed
+        Left failure -> expectationFailure (T.unpack (renderParseFailure failure))
+
+    it "refuses Optional contract fields as identity once per clause with envelope precedence" $ do
+      emitFixture <- readTestText "test/fixtures/emit.keiro"
+      intakeFixture <- readTestText "test/fixtures/intake.keiro"
+      let emitNodes = snd (T.breakOn "emit reservationResponse" emitFixture)
+          intakeNode = snd (T.breakOn "intake incidentInbox" intakeFixture)
+          sourceFor key selectedShape =
+            T.unlines
+              [ "language keiro-dsl 6",
+                "context hospital-capacity",
+                "contract emergency { schemaVersion 1 discriminator messageType",
+                "topic hospitalEvents \"emergency.hospital.events\"",
+                "event TransferReservationAccepted on hospitalEvents { " <> key <> ": text }",
+                "event TransferReservationRejected on hospitalEvents { " <> key <> ": " <> selectedShape <> " }",
+                "event TransferExpired on hospitalEvents { " <> key <> ": text }",
+                "event PatientAdmitted on hospitalEvents { " <> key <> ": text }",
+                "event Unselected on hospitalEvents { " <> key <> ": Optional text } }",
+                T.replace "outboxId stable from messageId" ("outboxId stable from " <> key) emitNodes,
+                T.replace
+                  "dedupe key messageId"
+                  ("bind " <> key <> " from body\n  dedupe key " <> key)
+                  ( T.replace
+                      "  bind "
+                      "  # bind "
+                      ( T.replace
+                          "accept IncidentTransferNeedDeclared"
+                          "accept TransferReservationAccepted TransferReservationRejected"
+                          (T.replace "topic incidentEvents" "topic hospitalEvents" intakeNode)
+                      )
+                  )
+              ]
+      forM_
+        [ ("values", "Optional text", ContractOptionalFieldUsedAsKey, 2),
+          ("messageId", "Optional text", ContractOptionalFieldUsedAsKey, 0),
+          ("idempotencyKey", "Optional text", ContractOptionalFieldUsedAsKey, 0),
+          ("source", "Optional text", ContractOptionalFieldUsedAsKey, 1),
+          ("values", "text", ContractOptionalFieldUsedAsKey, 0),
+          ("values", "List text", ContractListFieldUsedAsKey, 2)
+        ]
+        $ \(key, selectedShape, code, count) -> do
+          service <- checkedServiceFromText "optional-identity.keiro" (sourceFor key selectedShape)
+          let failures = [diagnostic | diagnostic <- validateService service, (.severity) diagnostic == Error]
+          map (.code) failures `shouldBe` replicate count code
+      service <- checkedServiceFromText "optional-identity.keiro" (sourceFor "values" "Optional text")
+      map (.message) (validateService service)
+        `shouldSatisfy` any (T.isInfixOf "outbox identity must be messageId, idempotencyKey, or a required scalar contract field")
+      map (.message) (validateService service)
+        `shouldSatisfy` any (T.isInfixOf "dedupe identity must be a required scalar envelope or event field")
+
+    it "classifies Optional contract field evolution in both directions" $ do
+      let base = "test/fixtures/contract-foreign-event.keiro"
+          mutant suffix = "test/fixtures/contract-foreign-event-" <> suffix <> ".keiro"
+      added <- diffFixtures base (mutant "optional-added")
+      [finding | Breaking finding <- added] `shouldBe` []
+      [finding | Additive finding <- added, (.code) finding == ContractOptionalFieldAdded] `shouldBe` []
+      -- Wire-compatible in both directions, but the regenerated constructor
+      -- gains an argument: a consumer-build advisory that passes the default gate.
+      case [change | change@(Advisory finding) <- added, (.code) finding == ContractOptionalFieldAdded] of
+        [change@(Advisory finding)] -> do
+          (.subject) finding `shouldBe` "MemberNoted.reason"
+          verdictFor PublicConsumer (finding.vector) `shouldBe` VCompatible
+          verdictFor ConsumerBuild (finding.vector) `shouldBe` VAdvisory
+          (.rollout) (finding.vector) `shouldBe` Set.empty
+          gatedBreaking defaultGate change `shouldBe` False
+          remediationFor (finding.context) (finding.code)
+            `shouldBe` RemedyRescaffoldContractConsumers :| [RemedyRunContractConformance]
+        findings -> expectationFailure (show findings)
+      removed <- diffFixtures (mutant "optional-added") base
+      [(.detail) finding | Breaking finding <- removed, (.code) finding == ContractFieldChanged]
+        `shouldSatisfy` any (T.isInfixOf "field removed")
+      toRequired <- diffFixtures base (mutant "optional-to-required")
+      toOptional <- diffFixtures (mutant "optional-to-required") base
+      [(.detail) finding | Breaking finding <- toRequired, (.code) finding == ContractFieldChanged]
+        `shouldBe` ["field type changed Optional text -> text; retained messages that omit the key no longer decode"]
+      [(.detail) finding | Breaking finding <- toOptional, (.code) finding == ContractFieldChanged]
+        `shouldBe` ["field type changed text -> Optional text; deployed consumers still require the key"]
+      forM_ [toRequired, toOptional] $ \changes ->
+        forM_ [finding | Breaking finding <- changes, (.code) finding == ContractFieldChanged] $ \finding ->
+          verdictFor PublicConsumer (finding.vector) `shouldBe` VBreaking
+      -- Optional to required: the new reader requires a key old producers omit.
+      [(.rollout) (finding.vector) | Breaking finding <- toRequired, (.code) finding == ContractFieldChanged]
+        `shouldBe` [Set.fromList [RolloutDrainRequired, RolloutProducerFirst]]
+      [remediationFor (finding.context) (finding.code) | Breaking finding <- toRequired, (.code) finding == ContractFieldChanged]
+        `shouldBe` [RemedyContractRevision :| [RemedyDeploymentOrder RolloutProducerFirst, RemedyDeployKeyWritersFirst, RemedyDrainBeforeStricterReader]]
+      -- Required to optional: readers must tolerate omission before writers drop the key.
+      [(.rollout) (finding.vector) | Breaking finding <- toOptional, (.code) finding == ContractFieldChanged]
+        `shouldBe` [Set.singleton RolloutProducerLast]
+      [remediationFor (finding.context) (finding.code) | Breaking finding <- toOptional, (.code) finding == ContractFieldChanged]
+        `shouldBe` [RemedyContractRevision :| [RemedyDeploymentOrder RolloutProducerLast]]
+      -- Optional literal TypeID made a required declared ID of the same prefix
+      -- and admission: present bytes are identical, so only the omitted key is
+      -- newly rejected and the order is the same as for an unchanged scalar.
+      toRequiredDeclared <- diffFixtures base (mutant "optional-literal-to-required-declared")
+      toOptionalLiteral <- diffFixtures (mutant "optional-literal-to-required-declared") base
+      [((.subject) finding, (.rollout) (finding.vector)) | Breaking finding <- toRequiredDeclared, (.code) finding == ContractFieldChanged]
+        `shouldBe` [("RegistrationSeen.referrerId", Set.fromList [RolloutDrainRequired, RolloutProducerFirst])]
+      [(.detail) finding | Breaking finding <- toRequiredDeclared, (.code) finding == ContractFieldChanged]
+        `shouldSatisfy` all (T.isInfixOf "generated consumers must rebuild for the declared Haskell type")
+      [((.subject) finding, (.rollout) (finding.vector)) | Breaking finding <- toOptionalLiteral, (.code) finding == ContractFieldChanged]
+        `shouldBe` [("RegistrationSeen.referrerId", Set.singleton RolloutProducerLast)]
+      forM_ [(base, mutant "optional-scalar-change"), (mutant "optional-scalar-change", base)] $ \(old, new) -> do
+        changes <- diffFixtures old new
+        [finding | Breaking finding <- changes, (.code) finding == ContractFieldChanged, (.subject) finding == "MemberNoted.note"]
+          `shouldSatisfy` any (\finding -> verdictFor PublicConsumer (finding.vector) == VBreaking)
+      forM_ [(base, mutant "optional-literal-to-declared"), (mutant "optional-literal-to-declared", base)] $ \(old, new) -> do
+        changes <- diffFixtures old new
+        [finding | Breaking finding <- changes] `shouldBe` []
+        case [finding | Advisory finding <- changes, (.code) finding == ContractFieldChanged] of
+          [finding] -> do
+            (.subject) finding `shouldBe` "RegistrationSeen.referrerId"
+            verdictFor PublicConsumer (finding.vector) `shouldBe` VNotApplicable
+            verdictFor ConsumerBuild (finding.vector) `shouldBe` VAdvisory
+          findings -> expectationFailure (show findings)
+
+    it "lowers an envelope-discriminated contract to an event-type decoder" $ do
+      service <- checkedServiceOf "test/fixtures/contract-foreign-event.keiro"
+      let registration = generatedTextEndingIn "Registration/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec service).context) service)
+      forM_
+        [ "  , parseRegistrationPayloadAs\n  ) where",
+          "-- the closed payload set (discriminated by the envelope's event type)",
+          "parseRegistrationPayloadAs :: Text -> Value -> Either Text RegistrationPayload",
+          "parseRegistrationPayloadAs eventType = mapLeftText . parseEither (withObject \"RegistrationPayload\" go)",
+          "      kind <- validateMessageType eventType",
+          "import Data.Aeson (Value, object, withObject, (.:), (.:?), (.=))",
+          "      ( [ \"registrationId\" .= KindID.toText payload.registrationId,"
+        ]
+        $ \fragment -> registration `shouldSatisfy` T.isInfixOf fragment
+      forM_ ["withText", "\"messageType\"", "parseRegistrationPayload ::"] $ \fragment ->
+        registration `shouldNotSatisfy` T.isInfixOf fragment
+      empty <- checkedServiceFromText "empty-envelope.keiro" (T.unlines ["language keiro-dsl 6", "context empty-envelope", "contract signals { schemaVersion 1 discriminator from envelope topic events \"signals.events\"", "event Pinged on events { } event Ponged on events { } }"])
+      validateService empty `shouldBe` []
+      let emptyRendered = generatedTextEndingIn "Signals/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec empty).context) empty)
+      forM_ ["  Pinged _ ->\n    object []", "  Ponged _ ->\n    object []", "    go _ = do", "import Data.Aeson.Types (Parser, parseEither)", "import Data.Aeson (Value, object, withObject)\n"] $ \fragment ->
+        emptyRendered `shouldSatisfy` T.isInfixOf fragment
+      forM_ ["payload ->", "(.=)"] $ \fragment -> emptyRendered `shouldNotSatisfy` T.isInfixOf fragment
+      -- A fieldless event in a body-discriminated contract encodes only its key.
+      bodyFieldless <- checkedServiceFromText "fieldless-body.keiro" (T.unlines ["language keiro-dsl 6", "context fieldless-body", "contract signals { schemaVersion 1 discriminator messageType topic events \"signals.events\"", "event Pinged on events { } event Noted on events { note: text } }"])
+      validateService bodyFieldless `shouldBe` []
+      let bodyRendered = generatedTextEndingIn "Signals/Contract.hs" (scaffoldServiceModules (defaultContext (checkedSpec bodyFieldless).context) bodyFieldless)
+      forM_ ["  Pinged _ ->\n    object\n      [ \"messageType\" .= (\"Pinged\" :: Text)\n      ]", "  Noted payload ->"] $ \fragment ->
+        bodyRendered `shouldSatisfy` T.isInfixOf fragment
+
+    it "round-trips discriminator from envelope and gates it on Language 6" $ do
+      source <- readTestText "test/fixtures/contract-foreign-event.keiro"
+      case parseSource "foreign.keiro" source of
+        Right parsed -> do
+          renderSource parsed `shouldSatisfy` T.isInfixOf "  discriminator from envelope\n"
+          renderSource parsed `shouldSatisfy` T.isInfixOf "    note: Optional text\n"
+          parseSource "foreign.keiro" (renderSource parsed) `shouldBe` Right parsed
+          [(.discriminator) contract | NContract contract <- (.nodes) ((.spec) parsed)]
+            `shouldBe` [DiscriminatorBodyKey "messageType", DiscriminatorEnvelope, DiscriminatorEnvelope]
+        Left failure -> expectationFailure (T.unpack (renderParseFailure failure))
+      (status, _, err) <- runKeiroDsl ["check", "test/fixtures/contract-foreign-event-envelope-language5.keiro"]
+      status `shouldBe` ExitFailure 1
+      err `shouldContain` "LanguageFeatureRequiresVersion"
+      err `shouldContain` "contract-foreign-event-envelope-language5.keiro:6:1"
+      language5 <- readTestText "test/fixtures/contract-foreign-event-envelope-language5.keiro"
+      case parseSurfaceSource "envelope-language5.keiro" language5 of
+        Left FrontendFailure {code = SourceLanguageError LanguageFeatureRequiresVersion, span = SourceSpan {start = SourcePoint {offset = startOffset, line = startLine, column = startColumn}, end = SourcePoint {offset = endOffset}}} -> do
+          T.take (endOffset - startOffset) (T.drop startOffset language5) `shouldBe` "from"
+          (startLine, startColumn) `shouldBe` (6, 17)
+        other -> expectationFailure (show other)
+
+    it "admits a messageType payload field only without a body discriminator" $ do
+      let sourceWith discriminator =
+            T.unlines
+              [ "language keiro-dsl 6",
+                "context shadow",
+                "contract values { schemaVersion 1 discriminator " <> discriminator <> " topic events \"values.events\"",
+                "event Values on events { messageType: text } }"
+              ]
+      envelope <- checkedServiceFromText "envelope-shadow.keiro" (sourceWith "from envelope")
+      validateService envelope `shouldBe` []
+      body <- checkedServiceFromText "body-shadow.keiro" (sourceWith "messageType")
+      map (.code) [diagnostic | diagnostic <- validateService body, (.severity) diagnostic == Error]
+        `shouldContain` [ContractFieldShadowsDiscriminator]
+
+    it "classifies a change of discriminator source as breaking in both directions" $ do
+      let base = "test/fixtures/contract-foreign-event.keiro"
+          bodyKeyed = "test/fixtures/contract-foreign-event-discriminator-body.keiro"
+      forward <- diffFixtures base bodyKeyed
+      backward <- diffFixtures bodyKeyed base
+      [(.detail) finding | Breaking finding <- forward, (.code) finding == ContractDiscriminatorChanged]
+        `shouldBe` ["discriminator changed from envelope -> messageType"]
+      [(.detail) finding | Breaking finding <- backward, (.code) finding == ContractDiscriminatorChanged]
+        `shouldBe` ["discriminator changed messageType -> from envelope"]
+      forM_ [forward, backward] $ \changes ->
+        forM_ [finding | Breaking finding <- changes, (.code) finding == ContractDiscriminatorChanged] $ \finding ->
+          verdictFor PublicConsumer (finding.vector) `shouldBe` VBreaking
+      -- Envelope to body key: the new reader requires a key old producers never wrote.
+      [(.rollout) (finding.vector) | Breaking finding <- forward, (.code) finding == ContractDiscriminatorChanged]
+        `shouldBe` [Set.fromList [RolloutDrainRequired, RolloutProducerFirst]]
+      [remediationFor (finding.context) (finding.code) | Breaking finding <- forward, (.code) finding == ContractDiscriminatorChanged]
+        `shouldBe` [RemedyContractRevision :| [RemedyDeploymentOrder RolloutProducerFirst, RemedyDeployKeyWritersFirst, RemedyDrainBeforeStricterReader]]
+      -- Body key to envelope: the new reader ignores the key, old readers still require it.
+      [(.rollout) (finding.vector) | Breaking finding <- backward, (.code) finding == ContractDiscriminatorChanged]
+        `shouldBe` [Set.singleton RolloutProducerLast]
+      [remediationFor (finding.context) (finding.code) | Breaking finding <- backward, (.code) finding == ContractDiscriminatorChanged]
+        `shouldBe` [RemedyContractRevision :| [RemedyDeploymentOrder RolloutProducerLast]]
+
+    -- Generated contract modules import each aeson helper only when a field
+    -- or the body discriminator uses it, so one untested combination can fail
+    -- under -Werror.  Compile one contract per discriminator mode, event shape
+    -- and field family, plus all-fieldless and mixed contracts.
+    it "compiles every contract shape under the generated-output warning policy" $
+      withTempDirectory "keiro-dsl-contract-shape-matrix" $ \out -> do
+        let families =
+              [ ("plain", "text", True),
+                ("count", "int", True),
+                ("literal", "typeid \"item\"", True),
+                ("declared", "ItemId", True),
+                ("plainlist", "List text", False),
+                ("declaredlist", "List ItemId", False)
+              ]
+            -- Contract names avoid reserved words such as body and text.
+            modes = [("keyed", "messageType"), ("enveloped", "from envelope")]
+            fieldsFor shape required optionalAllowed = case shape of
+              "req" -> Just ["value: " <> required]
+              "opt"
+                | optionalAllowed -> Just ["maybeValue: Optional " <> required]
+                | otherwise -> Nothing
+              _
+                | optionalAllowed -> Just ["value: " <> required, "maybeValue: Optional " <> required]
+                | otherwise -> Just ["values: " <> required, "maybeValue: Optional text"]
+            contractFor (modeName, discriminator) name events =
+              T.unlines
+                ( ["contract " <> modeName <> "_" <> name <> " {", "  schemaVersion 1", "  discriminator " <> discriminator, "  topic events \"" <> modeName <> "." <> name <> "\""]
+                    <> [ "  event " <> pascalName (modeName <> "_" <> name) <> eventSuffix <> " on events { " <> T.intercalate " " fields <> " }"
+                       | (eventSuffix, fields) <- events
+                       ]
+                    <> ["}"]
+                )
+            pascalName = T.concat . map (\part -> T.toUpper (T.take 1 part) <> T.drop 1 part) . T.splitOn "_"
+            contracts =
+              [ contractFor mode (familyName <> "_" <> shape) [("Happened", fields)]
+              | mode <- modes,
+                (familyName, required, optionalAllowed) <- families,
+                shape <- ["req", "opt", "both"],
+                Just fields <- [fieldsFor shape required optionalAllowed]
+              ]
+                <> [contractFor mode "bare" [("Pinged", []), ("Ponged", [])] | mode <- modes]
+                <> [ contractFor mode "blend" [("Cleared", []), ("Noted", ["note: text", "owner: Optional ItemId"])]
+                   | mode <- modes
+                   ]
+            source = T.unlines ["language keiro-dsl 6", "context contract-shapes", "id ItemId prefix=item"] <> T.intercalate "\n" contracts
+        service <- checkedServiceFromText "contract-shapes.keiro" source
+        [diagnostic | diagnostic <- validateService service, (.severity) diagnostic == Error] `shouldBe` []
+        let modules = scaffoldServiceModules (defaultContext (checkedSpec service).context) service
+            contractPaths = [(.path) moduleValue | moduleValue <- modules, "/Contract.hs" `T.isSuffixOf` T.pack ((.path) moduleValue)]
+        length contractPaths `shouldBe` length contracts
+        forM_ modules $ \moduleValue -> writeFileWithParents (out </> (.path) moduleValue) ((.text) moduleValue)
+        compileGeneratedModules out contractPaths
+
+    it "explains the contract rollout order through the diff CLI in every direction" $ do
+      let base = "test/fixtures/contract-foreign-event.keiro"
+          mutant suffix = "test/fixtures/contract-foreign-event-" <> suffix <> ".keiro"
+          producerFirst =
+            [ "rollout=drain-required,producer-first",
+              "remedy: deploy in producer-first order",
+              "remedy: deploy every producer that writes the newly required key before any consumer runs the stricter reader",
+              "remedy: drain or migrate retained messages that omit the key before deploying the stricter reader"
+            ]
+          producerLast = ["rollout=producer-last", "remedy: deploy in producer-last order"]
+      forM_
+        [ (base, mutant "optional-to-required", "ContractFieldChanged", producerFirst, producerLast),
+          (mutant "optional-to-required", base, "ContractFieldChanged", producerLast, producerFirst),
+          (mutant "discriminator-body", base, "ContractDiscriminatorChanged", producerLast, producerFirst),
+          (base, mutant "discriminator-body", "ContractDiscriminatorChanged", producerFirst, producerLast),
+          (base, mutant "optional-literal-to-required-declared", "ContractFieldChanged", producerFirst, producerLast),
+          (mutant "optional-literal-to-required-declared", base, "ContractFieldChanged", producerLast, producerFirst)
+        ]
+        $ \(old, new, code, expected, absent) -> do
+          (status, out) <- diffExplainSince old new
+          status `shouldBe` ExitFailure 1
+          out `shouldContain` ("explain [" <> code <> "]")
+          forM_ expected $ \fragment -> out `shouldContain` fragment
+          forM_ absent $ \fragment -> out `shouldNotContain` fragment
+      (status, out) <- diffExplainSince base (mutant "optional-added")
+      status `shouldBe` ExitSuccess
+      forM_
+        [ "WARNING: audit contract-field MemberNoted.reason: optional field added",
+          "vector: public-consumer=compatible consumer-build=advisory",
+          "remedy: re-scaffold and recompile every affected consumer against the generated interface"
+        ]
+        $ \fragment -> out `shouldContain` fragment
+      out `shouldNotContain` "rollout="
+
   describe "pgmq workqueue/dispatch (EP-5)" $ do
     it "round-trips the reservation-work spec through parse . pretty" $ do
       input <- readTestText "test/fixtures/reservation-work.keiro"
@@ -11660,6 +12070,22 @@
         Right facade -> do
           (.text) facade `shouldSatisfy` T.isInfixOf "runServiceConformanceChecks = pure []"
           (.text) facade `shouldSatisfy` T.isInfixOf "serviceConformanceFacts = []"
+          (.text) facade `shouldSatisfy` T.isInfixOf "runServiceBehaviorChecks = pure []"
+          (.text) facade `shouldNotSatisfy` T.isInfixOf "BehaviorContract"
+    it "imports every behavior-bearing aggregate's contract and witnesses only for the opt-in behavior action (plan 337)" $ do
+      service <- checkedServiceOf "test/fixtures/transfer-routing.keiro"
+      let ctx = defaultContext ((checkedSpec service).context)
+      case serviceHarnessModule ctx service of
+        Left duplicates -> expectationFailure ("unexpected duplicate fact keys: " <> show duplicates)
+        Right facade -> do
+          let text = (.text) facade
+              checksBlock = T.takeWhile (/= '\n') (snd (T.breakOn "runServiceConformanceChecks =" text))
+          text `shouldSatisfy` T.isInfixOf "  , runServiceBehaviorChecks\n"
+          text `shouldSatisfy` T.isInfixOf "TransferRouting.Hospital.BehaviorContract qualified as HospitalBehaviorContract"
+          text `shouldSatisfy` T.isInfixOf "TransferRouting.Hospital.BehaviorHoles qualified as HospitalBehaviorHoles"
+          text `shouldSatisfy` T.isInfixOf "(\"aggregate/Hospital/behavior/\" <> Text.unpack row, passed) | (row, passed) <- HospitalBehaviorContract.behaviorConformanceRows (HospitalBehaviorContract.behaviorCoverageReport HospitalBehaviorHoles.behaviorWitnesses)"
+          checksBlock `shouldNotSatisfy` T.isInfixOf "behavior"
+          T.count "behaviorCoverageReport" text `shouldBe` 1
     it "adds one facade only to configured single-file plans and exposes only it" $ do
       service <- checkedServiceOf "test/fixtures/reservation.keiro"
       let ctx = defaultContext ((checkedSpec service).context)
@@ -12068,7 +12494,244 @@
           testCode `shouldNotBe` ExitSuccess
           (testOut <> testErr)
             `shouldSatisfy` isInfixOfString "FAIL  workflow/WorkspaceProofWorkflow/name expected=\"workspace-proof-workflow\" actual=\"workspace-proof-workflow-v2\""
+    it "keeps the default run free of witness evaluation and gates every witness only under --behavior-complete (plan 337)" $ do
+      withTempDirectory "keiro-dsl-conformance-behavior-complete" $ \base -> do
+        fixtureManifest <- resolveTestPath "test/conformance-service-package/service.keiro-workspace" >>= canonicalizePath
+        let fixtureRoot = takeDirectory fixtureManifest
+            copied = base </> "fixture"
+            out = copied </> "runtime/src"
+            packageRoot = out </> "keiro-dsl-conformance.workspace.workspace-proof"
+            holesPath owner = out </> "Proof/WorkspaceProof" </> owner </> "BehaviorHoles.hs"
+            expectationsPath = packageRoot </> "src/KeiroConformance/Expectations.hs"
+            fragmentPath = out </> "keiro-dsl-cabal-fragment.workspace.workspace-proof.txt"
+            betaHarnessPath = out </> "Proof/WorkspaceProof/Beta/Generated/Harness.hs"
+            owners = ["Alpha", "Assignment", "Beta"]
+        copyTextTree fixtureRoot copied
+        committedHoles <- mapM (TIO.readFile . holesPath) owners
+        committedExpectations <- TIO.readFile expectationsPath
+        committedFragment <- TIO.readFile fragmentPath
+        -- Re-scaffold with the current generator: hand-owned witnesses and
+        -- expectations stay byte-identical, and the fragment keeps every
+        -- BehaviorHoles and BehaviorContract module private.
+        (scaffoldCode, scaffoldOut, scaffoldErr) <- runKeiroDsl ["scaffold", copied </> "service.keiro-workspace", "--out", out]
+        unless (scaffoldCode == ExitSuccess) (expectationFailure (scaffoldOut <> scaffoldErr))
+        mapM (TIO.readFile . holesPath) owners `shouldReturn` committedHoles
+        TIO.readFile expectationsPath `shouldReturn` committedExpectations
+        TIO.readFile fragmentPath `shouldReturn` committedFragment
+        let (exposedSection, privateSection) = T.breakOn "other-modules:" committedFragment
+        forM_ owners $ \owner -> do
+          privateSection `shouldSatisfy` T.isInfixOf ("Proof.WorkspaceProof." <> T.pack owner <> ".BehaviorHoles\n")
+          privateSection `shouldSatisfy` T.isInfixOf ("Proof.WorkspaceProof." <> T.pack owner <> ".Generated.BehaviorContract\n")
+        exposedSection `shouldNotSatisfy` T.isInfixOf "Behavior"
+        generatedMain <- TIO.readFile (packageRoot </> "src/Main.hs")
+        [line | line <- T.lines generatedMain, "import Proof." `T.isPrefixOf` line]
+          `shouldBe` ["import Proof.WorkspaceProof.Generated.Conformance (runServiceBehaviorChecks, runServiceConformanceChecks, serviceConformanceFacts)"]
+        let repositoryRoot = takeDirectory (takeDirectory (takeDirectory fixtureRoot))
+            projectPath = base </> "behavior.project"
+            buildDirectory = base </> "dist-newstyle"
+        localSourcePackages <- filterM doesDirectoryExist [repositoryRoot </> "keiro", repositoryRoot </> "keiro-core"]
+        -- Like the workflow-fact mutation above, compiling the generated
+        -- package is a repository integration proof against sibling sources.
+        unless (null localSourcePackages) $ do
+          TIO.writeFile projectPath . T.unlines $
+            ["packages:"]
+              <> map (("  " <>) . T.pack) (localSourcePackages <> [copied </> "runtime", packageRoot])
+              <> ["", "allow-newer:", "  haxl:time"]
+          let conformance options = do
+                (code, stdoutText, stderrText) <-
+                  readProcessWithExitCode
+                    "cabal"
+                    ( [ "test",
+                        "--project-file=" <> projectPath,
+                        "--builddir=" <> buildDirectory,
+                        "--test-show-details=direct"
+                      ]
+                        <> ["--test-options=" <> unwords options | not (null options)]
+                        <> ["keiro-workspace-proof-conformance"]
+                    )
+                    ""
+                pure (code, stdoutText <> stderrText)
+              checkLines output = [line | line <- lines output, take 6 line `elem` ["PASS  ", "FAIL  "]]
+              behaviorLines output = [line | line <- checkLines output, "/behavior/" `isInfixOfString` line]
+              expectDefaultGreen label = do
+                (code, output) <- conformance []
+                unless (code == ExitSuccess) (expectationFailure (label <> ": default run failed\n" <> output))
+                behaviorLines output `shouldBe` []
+                pure output
+              expectFullRed label needles = do
+                (code, output) <- conformance ["--behavior-complete"]
+                when (code == ExitSuccess) (expectationFailure (label <> ": --behavior-complete passed\n" <> output))
+                forM_ needles $ \needle ->
+                  unless (needle `isInfixOfString` output) (expectationFailure (label <> ": missing " <> show needle <> "\n" <> output))
+                pure output
+              writeHoles owner header witnesses =
+                TIO.writeFile (holesPath (T.unpack owner)) . T.unlines $
+                  [ "module Proof.WorkspaceProof." <> owner <> ".BehaviorHoles (behaviorWitnesses) where",
+                    "",
+                    "import Data.List.NonEmpty (NonEmpty (..))",
+                    "import Proof.WorkspaceProof." <> owner <> ".Generated.BehaviorContract",
+                    "import Proof.WorkspaceProof." <> owner <> ".Generated.Domain"
+                  ]
+                    <> header
+                    <> ["", "behaviorWitnesses :: [BehaviorWitness]", "behaviorWitnesses ="]
+                    <> case witnesses of
+                      [] -> ["  []"]
+                      first : rest -> ("  [ " <> first) : map ("  , " <>) rest <> ["  ]"]
+              proofHeader =
+                [ "import Proof.WorkspaceProof.Generated.Nominals (ProofId, parseProofId)",
+                  "",
+                  "proof :: ProofId",
+                  "proof = either (error . show) id (parseProofId \"proof_01h455vb4pex5vsknk084sn02q\")"
+                ]
+              alphaReplayLegacy = "ReplayWitness (BehaviorKey \"behavior-v1-579df4e5e81f7729\") [] [LegacyAlphaPinged (LegacyAlphaPingedData proof)]"
+              alphaReplayCurrent = "ReplayWitness (BehaviorKey \"behavior-v1-72a96c964b44a2b6\") [] [AlphaPinged (AlphaPingedData proof True)]"
+              alphaLive current = "LiveWitness (BehaviorKey \"behavior-v1-baf43b4c31db955a\") [] (PingAlpha (PingAlphaData proof False)) (Emits (AlphaPinged (AlphaPingedData proof " <> current <> ") :| []))"
+              alphaRejection rejection = "LiveWitness (BehaviorKey \"behavior-v1-c062ccf5e9b6f5c4\") [] (LegacyPingAlpha (LegacyPingAlphaData proof)) (Rejects " <> rejection <> ")"
+              writeAlpha = writeHoles "Alpha" proofHeader
+              correctAlpha = [alphaReplayLegacy, alphaReplayCurrent, alphaLive "False", alphaRejection "RejectNoMatchingEdge"]
+              betaWitness = "LiveWitness (BehaviorKey \"behavior-v1-6ab7fee2c8aa4e1d\") [] (PingBeta (PingBetaData proof)) (Emits (BetaPinged (BetaPingedData proof) :| []))"
+              writeBeta = writeHoles "Beta" proofHeader
+              committedAssignment = committedHoles !! 1
+              replayWitness = "ReplayWitness (BehaviorKey \"behavior-v1-9200cd4f93c83098\") [] [PropertyCleared (PropertyClearedData \"colour\")]"
+              writeAssignment = TIO.writeFile (holesPath "Assignment")
+              restoreWitnesses = do
+                writeAlpha correctAlpha
+                writeBeta [betaWitness]
+                writeAssignment committedAssignment
 
+          -- The committed fixture: Beta keeps one Pending row, and Alpha's one
+          -- row names a retired key, so the four declared Alpha keys are missing.
+          committedDefault <- expectDefaultGreen "committed witnesses"
+          committedFull <-
+            expectFullRed
+              "committed witnesses"
+              [ "FAIL  aggregate/Alpha/behavior/stale/behavior-v1-e2c1eef1cb7848f5",
+                "FAIL  aggregate/Alpha/behavior/missing/behavior-v1-579df4e5e81f7729",
+                "FAIL  aggregate/Alpha/behavior/missing/behavior-v1-72a96c964b44a2b6",
+                "FAIL  aggregate/Alpha/behavior/missing/behavior-v1-baf43b4c31db955a",
+                "FAIL  aggregate/Alpha/behavior/missing/behavior-v1-c062ccf5e9b6f5c4",
+                "FAIL  aggregate/Beta/behavior/pending/behavior-v1-6ab7fee2c8aa4e1d",
+                "PASS  aggregate/Assignment/behavior/summary required=4 filled=4 pending=0 missing=0 duplicate=0 stale=0 failed=0 verified=1 unverified=3"
+              ]
+          -- Full mode prints the unchanged default lines first, then its rows.
+          take (length (checkLines committedDefault)) (checkLines committedFull) `shouldBe` checkLines committedDefault
+
+          -- Correct history-backed witnesses for every key make full mode pass;
+          -- unverified-but-correct evidence passes under the established policy.
+          restoreWitnesses
+          (filledCode, filledOutput) <- conformance ["--behavior-complete"]
+          unless (filledCode == ExitSuccess) (expectationFailure ("filled witnesses failed --behavior-complete\n" <> filledOutput))
+          [line | line <- behaviorLines filledOutput, "/behavior/summary " `isInfixOfString` line]
+            `shouldBe` [ "PASS  aggregate/Alpha/behavior/summary required=4 filled=4 pending=0 missing=0 duplicate=0 stale=0 failed=0 verified=3 unverified=1",
+                         "PASS  aggregate/Assignment/behavior/summary required=4 filled=4 pending=0 missing=0 duplicate=0 stale=0 failed=0 verified=1 unverified=3",
+                         "PASS  aggregate/Beta/behavior/summary required=1 filled=1 pending=0 missing=0 duplicate=0 stale=0 failed=0 verified=1 unverified=0"
+                       ]
+          filter (T.isPrefixOf "FAIL" . T.pack) (behaviorLines filledOutput) `shouldBe` []
+          _ <- expectDefaultGreen "filled witnesses"
+
+          let cases =
+                [ ("missing", writeBeta [], ["FAIL  aggregate/Beta/behavior/missing/behavior-v1-6ab7fee2c8aa4e1d"]),
+                  ("duplicate", writeBeta [betaWitness, betaWitness], ["FAIL  aggregate/Beta/behavior/duplicate/behavior-v1-6ab7fee2c8aa4e1d"]),
+                  ( "stale",
+                    writeBeta [betaWitness, "Pending (BehaviorKey \"behavior-v1-0000000000000000\")"],
+                    ["FAIL  aggregate/Beta/behavior/stale/behavior-v1-0000000000000000"]
+                  ),
+                  ( "incorrect live evidence",
+                    writeAlpha [alphaReplayLegacy, alphaReplayCurrent, alphaLive "True", alphaRejection "RejectNoMatchingEdge"],
+                    ["FAIL  aggregate/Alpha/behavior/failed/behavior-v1-baf43b4c31db955a AlphaActive x PingAlpha: live transition", "[event-value-mismatch]"]
+                  ),
+                  ( "incorrect rejection evidence",
+                    writeAlpha [alphaReplayLegacy, alphaReplayCurrent, alphaLive "False", alphaRejection "RejectNoOutgoingEdges"],
+                    ["FAIL  aggregate/Alpha/behavior/failed/behavior-v1-c062ccf5e9b6f5c4 AlphaActive x LegacyPingAlpha: required rejection", "[rejection-class]"]
+                  ),
+                  ( "incorrect replay evidence",
+                    writeAlpha [alphaReplayLegacy, "ReplayWitness (BehaviorKey \"behavior-v1-72a96c964b44a2b6\") [] [AlphaPinged (AlphaPingedData proof False)]", alphaLive "False", alphaRejection "RejectNoMatchingEdge"],
+                    ["FAIL  aggregate/Alpha/behavior/failed/behavior-v1-72a96c964b44a2b6 AlphaActive x PingAlpha: replay-only transition"]
+                  ),
+                  ( "history-dependent replay evidence",
+                    -- With the key already present, the live clear edge matches
+                    -- first, so the chunk no longer witnesses the replay-only edge.
+                    writeAssignment
+                      ( T.replace
+                          replayWitness
+                          "ReplayWitness (BehaviorKey \"behavior-v1-9200cd4f93c83098\") [PropertySet (PropertySetData \"colour\" \"blue\")] [PropertyCleared (PropertyClearedData \"colour\")]"
+                          committedAssignment
+                      ),
+                    ["FAIL  aggregate/Assignment/behavior/failed/behavior-v1-9200cd4f93c83098 AssignmentActive x ClearProperty: replay-only transition"]
+                  )
+                ]
+          committedAssignment `shouldSatisfy` T.isInfixOf replayWitness
+          forM_ cases $ \(label, mutate, needles) -> do
+            restoreWitnesses
+            mutate
+            _ <- expectFullRed label needles
+            expectDefaultGreen label
+
+          -- Ordinary checks and expectation facts still fail a full run whose
+          -- behavior rows all pass.
+          restoreWitnesses
+          TIO.writeFile expectationsPath (T.replace "\"workspace-proof-workflow\"" "\"accepted-elsewhere\"" committedExpectations)
+          factOutput <- expectFullRed "changed expectation fact" ["FAIL  workflow/WorkspaceProofWorkflow/name"]
+          filter (T.isPrefixOf "FAIL" . T.pack) (behaviorLines factOutput) `shouldBe` []
+          TIO.writeFile expectationsPath committedExpectations
+          betaHarness <- TIO.readFile betaHarnessPath
+          TIO.writeFile betaHarnessPath (T.replace "null (validateTransducer" "not . null $ (validateTransducer" betaHarness)
+          checkOutput <- expectFullRed "false ordinary check" ["FAIL  aggregate/Beta/validateTransducer is empty"]
+          filter (T.isPrefixOf "FAIL" . T.pack) (behaviorLines checkOutput) `shouldBe` []
+    it "passes both runner modes for a service with no aggregates and rejects unknown options (plan 337)" $ do
+      withTempDirectory "keiro-dsl-conformance-no-aggregates" $ \out -> do
+        parsed <- parsedSourceOf "test/fixtures/contract-v4.keiro"
+        let service = checkedSource parsed
+            spec = checkedSpec service
+            ctx = defaultContext (spec.context)
+            runtimeName = "contract-runtime"
+            runtimePackage = RuntimePackageName runtimeName
+        [() | NAggregate {} <- (.nodes) spec] `shouldBe` []
+        modules <- either (\failure -> expectationFailure (show failure) >> fail "unreachable") pure (planTestServiceScaffoldWithRuntimePackage (Just runtimePackage) ctx service)
+        executeServiceScaffoldWithRuntimePackage (Just runtimePackage) out False "contract-v4.keiro" ((.sourceLanguage) parsed) ctx service modules
+          >>= either (\failure -> expectationFailure (show failure)) (const (pure ()))
+        let facadeName = serviceConformanceModuleName ctx
+            facadePath = out </> T.unpack (T.replace "." "/" facadeName) <> ".hs"
+            packageRoot = out </> conformancePackageDirectory (StandaloneConformanceService ((.name) ctx))
+            runtimeRoot = out </> "runtime-library"
+            projectPath = out </> "no-aggregates.project"
+        facadeText <- TIO.readFile facadePath
+        -- The facade of a service without aggregates imports nothing, so a
+        -- base-only runtime library is the real package boundary here.
+        [line | line <- T.lines facadeText, "import " `T.isPrefixOf` line] `shouldBe` []
+        writeFileWithParents (runtimeRoot </> T.unpack (T.replace "." "/" facadeName) <> ".hs") facadeText
+        TIO.writeFile (runtimeRoot </> T.unpack runtimeName <> ".cabal") . T.unlines $
+          [ "cabal-version: 3.0",
+            "name: " <> runtimeName,
+            "version: 0.0.0.0",
+            "build-type: Simple",
+            "",
+            "library",
+            "  hs-source-dirs: .",
+            "  exposed-modules: " <> facadeName,
+            "  build-depends: base",
+            "  default-language: GHC2024"
+          ]
+        TIO.writeFile projectPath (T.unlines ["packages:", "  " <> T.pack runtimeRoot, "  " <> T.pack packageRoot])
+        let conformance options =
+              readProcessWithExitCode
+                "cabal"
+                ( ["test", "--project-file=" <> projectPath, "--builddir=" <> (out </> "dist-newstyle"), "--test-show-details=direct"]
+                    <> ["--test-options=" <> unwords options | not (null options)]
+                    <> ["keiro-" <> T.unpack (cabaliseConformanceService ((.name) ctx)) <> "-conformance"]
+                )
+                ""
+        forM_ [[], ["--behavior-complete"], ["--help"]] $ \options -> do
+          (code, stdoutText, stderrText) <- conformance options
+          unless (code == ExitSuccess) (expectationFailure (show options <> " failed\n" <> stdoutText <> stderrText))
+          when (options == ["--help"]) $ do
+            stdoutText `shouldSatisfy` isInfixOfString "The default is not"
+            stdoutText `shouldSatisfy` isInfixOfString "a complete witness gate"
+            stdoutText `shouldSatisfy` isInfixOfString "--behavior-complete  also evaluate every declared behavior key"
+        (unknownCode, unknownOut, unknownErr) <- conformance ["--behavior-completed"]
+        unknownCode `shouldNotBe` ExitSuccess
+        (unknownOut <> unknownErr) `shouldSatisfy` isInfixOfString "unrecognized arguments: --behavior-completed"
+
   describe "new <kind> skeletons (M5)" $ do
     forM_ skeletonKinds $ \skeletonKind ->
       it ("the " <> T.unpack skeletonKind <> " skeleton selects and preserves the stable language") $
@@ -15306,6 +15969,59 @@
 -- | Invoke the built @keiro-dsl@ executable. Fixture paths are resolved first,
 -- so the test works whether it runs from the package directory or the repository
 -- root.
+-- | Type-check generated modules the way the generated-output Cabal stanza
+-- compiles them: its default extensions, -Wall, and every warning an error.
+compileGeneratedModules :: FilePath -> [FilePath] -> IO ()
+compileGeneratedModules root modulePaths = do
+  let ghcOutput = root </> ".ghc"
+  createDirectoryIfMissing True ghcOutput
+  packageIds <- traverse activeCabalPackageId ["aeson", "keiki", "keiro-core", "mmzk-typeid"]
+  (exitCode, standardOutput, standardError) <-
+    readProcessWithExitCode
+      "cabal"
+      ( [ "exec",
+          "--enable-tests",
+          "--",
+          "ghc",
+          "-XGHC2024",
+          "-XDuplicateRecordFields",
+          "-XNoFieldSelectors",
+          "-XOverloadedRecordDot",
+          "-XOverloadedStrings",
+          "-Wall",
+          "-Wno-deprecations",
+          "-Werror",
+          "-fno-code",
+          "-fforce-recomp",
+          "-outputdir",
+          ghcOutput,
+          "-i" <> root
+        ]
+          <> concat [["-package-id", packageId] | packageId <- packageIds]
+          <> map (root </>) modulePaths
+      )
+      ""
+  unless (exitCode == ExitSuccess) $
+    expectationFailure (standardOutput <> standardError)
+
+-- | Run @keiro-dsl diff --since HEAD --explain@ the way an operator does: the
+-- old fixture is committed as @spec.keiro@ in a scratch repository and then
+-- overwritten by the new one.  Returns the exit status and standard output.
+diffExplainSince :: FilePath -> FilePath -> IO (ExitCode, String)
+diffExplainSince oldFixture newFixture =
+  withTempDirectory "keiro-dsl-diff-explain" $ \repository -> do
+    let source = repository </> "spec.keiro"
+        gitOk arguments = do
+          (code, out, err) <- readProcessWithExitCode "git" ("-C" : repository : arguments) ""
+          unless (code == ExitSuccess) (expectationFailure (out <> err))
+    readTestText oldFixture >>= TIO.writeFile source
+    gitOk ["init", "--quiet"]
+    gitOk ["add", "."]
+    gitOk ["-c", "user.name=Diff Test", "-c", "user.email=diff@example.invalid", "-c", "commit.gpgsign=false", "commit", "--quiet", "-m", "test: capture the old contract"]
+    readTestText newFixture >>= TIO.writeFile source
+    (code, out, _) <- withCurrentDirectory repository (runKeiroDsl ["diff", "spec.keiro", "--since", "HEAD", "--explain"])
+    pure (code, out)
+
 runKeiroDsl :: [String] -> IO (ExitCode, String, String)
 runKeiroDsl arguments = do
   resolved <- traverse resolveArgument arguments
@@ -16361,7 +17077,7 @@
         ContractNode
           { name = "Contract",
             schemaVersion = 1,
-            discriminator = "kind",
+            discriminator = DiscriminatorBodyKey "kind",
             topics = [("events", value)],
             events = [],
             loc = noLoc
@@ -16394,7 +17110,7 @@
       projections = [],
       body =
         LegacyProcessBody
-          (InputDecl "Input" [] Nothing noLoc)
+          (InputDecl "Input" [] Nothing Nothing noLoc)
           ( HandleNode
               { on = "Input",
                 advance = AdvanceNode "Advance" [FieldBinding "literal" (Just ("\"" <> value <> "\""))],
@@ -16632,7 +17348,7 @@
     <*> genName
     <*> smallList genName
     <*> ( LegacyProcessBody
-            <$> (InputDecl <$> genName <*> smallList genField <*> pure Nothing <*> pure noLoc)
+            <$> (InputDecl <$> genName <*> smallList genField <*> pure Nothing <*> pure Nothing <*> pure noLoc)
             <*> (HandleNode <$> genName <*> (AdvanceNode <$> genName <*> smallList genFieldBinding) <*> smallList genDispatchNode <*> genName)
             <*> genTimerNode
         )
@@ -16648,7 +17364,7 @@
   RouterNode
     <$> genName
     <*> genAdversarialText
-    <*> (InputDecl <$> genName <*> smallList genField <*> pure Nothing <*> pure noLoc)
+    <*> (InputDecl <$> genName <*> smallList genField <*> pure Nothing <*> pure Nothing <*> pure noLoc)
     <*> (CorrelateDecl <$> genName <*> genName)
     <*> (ResolveDecl <$> genResolveSource <*> smallList genName <*> pure noLoc)
     <*> genName
@@ -16669,7 +17385,7 @@
   ContractNode
     <$> genName
     <*> choose (0, 5)
-    <*> genName
+    <*> (DiscriminatorBodyKey <$> genName)
     <*> smallList ((,) <$> genName <*> genAdversarialText)
     <*> smallList genContractEvent
     <*> pure noLoc
diff --git a/test/behavior-complete-mutation-test.sh b/test/behavior-complete-mutation-test.sh
--- a/test/behavior-complete-mutation-test.sh
+++ b/test/behavior-complete-mutation-test.sh
@@ -44,6 +44,16 @@
   cp "$BACKUP_DIR/$1" "$2"
 }
 
+# A sed or perl substitution whose pattern no longer matches exits 0 and leaves
+# the file unchanged, which would let a mutation "stay green" vacuously or, for
+# a source mutation, pass for the wrong reason. Every mutation must change bytes.
+assert_changed() {
+  if cmp -s "$1" "$BACKUP_DIR/$2"; then
+    echo "FAIL: mutation at line ${BASH_LINENO[0]} did not change $1; its pattern no longer matches"
+    exit 1
+  fi
+}
+
 run_report() {
   cabal run -v0 keiro-dsl-behavior-complete-report -- --format=json
 }
@@ -96,72 +106,87 @@
 grep -Fq "Journey.Holes.transition1EmptyStartOutput1Started" <<<"$SCAFFOLD_OUTPUT"
 sed -i.sed-bak 's/requestId = d.requestId/requestId = error "obsolete identity hook executed"/' "$LEGACY_HOLES"
 rm -f "$LEGACY_HOLES.sed-bak"
+assert_changed "$LEGACY_HOLES" Holes.hs
 run_report >/dev/null
 restore_file Holes.hs "$LEGACY_HOLES"
 
 sed -i.sed-bak '/behavior-v1-43b8fc7fa48595dd/d' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "remove a later-state witness" '"missing":["behavior-v1-43b8fc7fa48595dd"]' no
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak 's/activeHistory = \[startedEvent 0\]/activeHistory = []/' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "use a history reaching the wrong source" 'history-wrong-source'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak 's/behavior-v1-2f3ebf37a55781db/behavior-v1-swap-placeholder/; s/behavior-v1-db1a553baa3eda84/behavior-v1-2f3ebf37a55781db/; s/behavior-v1-swap-placeholder/behavior-v1-db1a553baa3eda84/' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "swap same-target guarded sibling keys" 'edge-attribution'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak '/behavior-v1-83b0a46823e1a788/ s/(Rejects RejectNoMatchingEdge)/NoOp/' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "change rejection to no-op" 'expectation-kind'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak '/behavior-v1-43b8fc7fa48595dd/ s/(startCommand 0)/(decideCommand 0)/' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "use another rejecting command for a required cell" 'command-mismatch'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 perl -0pi -e 's/(B\.onCmd inCtorPing \$ \\_d -> B\.do\n)/$1        B.slot \@"lastAmount" =: K.lit 1\n/' "$TRANSDUCER"
+assert_changed "$TRANSDUCER" Transducer.hs
 expect_red "change a no-op register" 'noop-register-change'
 restore_file Transducer.hs "$TRANSDUCER"
 
 sed -i.sed-bak '/behavior-v1-db1a553baa3eda84/d' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "omit one guard alternative" '"missing":["behavior-v1-db1a553baa3eda84"]' no
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 perl -0pi -e 's/ReplayWitness \(key "behavior-v1-f0fbe3a3ba0b40e8"\) activeHistory \[retiredEvent 0, retirementAuditedEvent 0\]/live "behavior-v1-f0fbe3a3ba0b40e8" activeHistory (retireCommand 0) (Emits (retiredEvent 0 :| [retirementAuditedEvent 0]))/' "$WITNESSES"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "expect a replay-only edge to fire forward" 'witness-kind'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak '/behavior-v1-f0fbe3a3ba0b40e8/ s/retiredEvent 0, retirementAuditedEvent 0/retiredEvent 1, retirementAuditedEvent 1/' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "let the live twin steal a replay witness" 'replay-edge-attribution'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak '/behavior-v1-08a2bda57424a16e/ s/startedEvent 1/startedEvent 0/' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "let the live initial edge steal the initial replay witness" 'replay-edge-attribution'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak '/behavior-v1-f0fbe3a3ba0b40e8/ s/, retirementAuditedEvent 0//' "$WITNESSES"
 rm -f "$WITNESSES.sed-bak"
+assert_changed "$WITNESSES" BehaviorHoles.hs
 expect_red "truncate a multi-event replay chunk" 'replay-chunk-failed'
 restore_file BehaviorHoles.hs "$WITNESSES"
 
 sed -i.sed-bak '/"Retired" ->/,/"RetirementAudited" ->/ s/<\$> o \.: "amount"/<$> ((+ 1) <$> o .: "amount")/' "$CODEC"
 rm -f "$CODEC.sed-bak"
+assert_changed "$CODEC" Codec.hs
 expect_red "make codec replay diverge" 'emitted-replay-failed'
 restore_file Codec.hs "$CODEC"
 
 perl -0pi -e 's/amount = d\.amount/amount = K.lit 999/' "$TRANSDUCER"
+assert_changed "$TRANSDUCER" Transducer.hs
 expect_red "mutate a generated identity selector" 'event-value-mismatch'
 restore_file Transducer.hs "$TRANSDUCER"
 
-perl -0pi -e 's/let edgeIndex = layoutOutgoingIndex entry/let edgeIndex = 0/' "$SCAFFOLD_SOURCE"
+perl -0pi -e 's/let edgeIndex = \(\.outgoingIndex\) entry/let edgeIndex = 0/' "$SCAFFOLD_SOURCE"
+assert_changed "$SCAFFOLD_SOURCE" Scaffold.hs
 expect_focused_test_red "reset source-wide predicate edge indices"
 restore_file Scaffold.hs "$SCAFFOLD_SOURCE"
 
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/BehaviorSourceMap.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/BehaviorSourceMap.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/BehaviorSourceMap.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalars behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalars behavior source map; do not edit.
 module Generated.AggregateScalars.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/Inspection.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/Inspection.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/Inspection.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalars inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalars inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ReplayAudit.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ReplayAudit.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ReplayAudit.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalars replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalars replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/BehaviorContract.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/BehaviorContract.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/BehaviorContract.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.AggregateScalars.ScalarLedger.Codec (encodeScalarLedgerEvent, parseScalarLedgerEvent, scalarLedgerCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Codec.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Codec.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Codec.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.Codec (
     scalarLedgerCodec,
     parseScalarLedgerEvent,
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Domain.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Domain.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Domain.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/EventStream.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/EventStream.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/EventStream.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.EventStream
   ( scalarLedgerCategory
   , scalarLedgerCommandCategory
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Harness.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Harness.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Harness.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.Harness (harnessAssertions) where
 
 import Generated.AggregateScalars.ScalarLedger.Domain
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Projection.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Projection.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Projection.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Transducer.hs b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Transducer.hs
--- a/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Transducer.hs
+++ b/test/conformance-aggregate-scalars/Generated/AggregateScalars/ScalarLedger/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarLedger; do not edit.
 module Generated.AggregateScalars.ScalarLedger.Transducer
   ( scalarLedgerTransducer
   , scalarLedgerFoldFingerprint
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareJobs/Queue.hs b/test/conformance-bare-containers/Generated/BareContainers/BareJobs/Queue.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareJobs/Queue.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue bare_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue bare_jobs; do not edit.
 module Generated.BareContainers.BareJobs.Queue
   ( BareJob (..)
   , encodeBareJob
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueueCodec.hs b/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueueCodec.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueueCodec.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue bare_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue bare_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueuePolicy.hs b/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueuePolicy.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueuePolicy.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue bare_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue bare_jobs; do not edit.
 module Generated.BareContainers.BareJobs.QueuePolicy
   ( BareJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/QueryContract.hs b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/QueryContract.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/QueryContract.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
 module Generated.BareContainers.BareLookup.QueryContract
   ( BareLookupQueryInput
   , BareLookupQueryResult
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModel.hs b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModel.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModel.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
 module Generated.BareContainers.BareLookup.ReadModel
   ( bareLookupReadModel
   , bareLookupQualifiedTable
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelHarness.hs b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelHarness.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelHarness.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
 module Generated.BareContainers.BareLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.BareContainers.BareLookup.ReadModel (bareLookupReadModel)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelTable.hs b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelTable.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelTable.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel bare_lookup; do not edit.
 module Generated.BareContainers.BareLookup.ReadModelTable (bareLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/BehaviorContract.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/BehaviorContract.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/BehaviorContract.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.BareContainers.BareStore.Codec (encodeBareStoreEvent, parseBareStoreEvent, bareStoreCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Codec.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Codec.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Codec.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.Codec (
     bareStoreCodec,
     parseBareStoreEvent,
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Domain.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Domain.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Domain.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/EventStream.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/EventStream.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/EventStream.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.EventStream
   ( bareStoreCategory
   , bareStoreCommandCategory
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Harness.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Harness.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Harness.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.Harness (harnessAssertions) where
 
 import Generated.BareContainers.BareStore.Domain
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Projection.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Projection.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Projection.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Transducer.hs b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Transducer.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BareStore/Transducer.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BareStore/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate BareStore; do not edit.
 module Generated.BareContainers.BareStore.Transducer
   ( bareStoreTransducer
   , bareStoreFoldFingerprint
diff --git a/test/conformance-bare-containers/Generated/BareContainers/BehaviorSourceMap.hs b/test/conformance-bare-containers/Generated/BareContainers/BehaviorSourceMap.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/BehaviorSourceMap.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers behavior source map; do not edit.
 module Generated.BareContainers.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Inspection.hs b/test/conformance-bare-containers/Generated/BareContainers/Inspection.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Inspection.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Nominals.hs b/test/conformance-bare-containers/Generated/BareContainers/Nominals.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Nominals.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers generated nominal declarations; do not edit.
 module Generated.BareContainers.Nominals
   ( ItemId
   , parseItemId
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Nominals/Internal.hs b/test/conformance-bare-containers/Generated/BareContainers/Nominals/Internal.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Nominals/Internal.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers generated nominal ID internals; do not edit.
 module Generated.BareContainers.Nominals.Internal
   ( ItemId
   , parseItemId
diff --git a/test/conformance-bare-containers/Generated/BareContainers/ProjectionCatalog.hs b/test/conformance-bare-containers/Generated/BareContainers/ProjectionCatalog.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/ProjectionCatalog.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog bare-containers; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog bare-containers; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.BareContainers.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-bare-containers/Generated/BareContainers/ReplayAudit.hs b/test/conformance-bare-containers/Generated/BareContainers/ReplayAudit.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/ReplayAudit.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Structural/NominalLeaves.hs b/test/conformance-bare-containers/Generated/BareContainers/Structural/NominalLeaves.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Structural/NominalLeaves.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers structural nominal leaves; do not edit.
 module Generated.BareContainers.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/BareEnvelope.hs b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/BareEnvelope.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/BareEnvelope.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/BareEnvelope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural BareEnvelope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural BareEnvelope; do not edit.
 module Generated.BareContainers.Structural.Shape.BareEnvelope (BareEnvelopeShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/MaybeText.hs b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/MaybeText.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/MaybeText.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/MaybeText.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural MaybeText; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural MaybeText; do not edit.
 module Generated.BareContainers.Structural.Shape.MaybeText (MaybeTextShape) where
 
 import Data.Text (Text)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/NestedIds.hs b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/NestedIds.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/NestedIds.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/NestedIds.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural NestedIds; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural NestedIds; do not edit.
 module Generated.BareContainers.Structural.Shape.NestedIds (NestedIdsShape) where
 
 import Generated.BareContainers.Nominals qualified as Nominals
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextList.hs b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextList.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextList.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextList.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TextList; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TextList; do not edit.
 module Generated.BareContainers.Structural.Shape.TextList (TextListShape) where
 
 import Data.Text (Text)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextMap.hs b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextMap.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextMap.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/Structural/Shape/TextMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TextMap; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TextMap; do not edit.
 module Generated.BareContainers.Structural.Shape.TextMap (TextMapShape) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-bare-containers/Generated/BareContainers/StructuralConformance.hs b/test/conformance-bare-containers/Generated/BareContainers/StructuralConformance.hs
--- a/test/conformance-bare-containers/Generated/BareContainers/StructuralConformance.hs
+++ b/test/conformance-bare-containers/Generated/BareContainers/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context bare-containers structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context bare-containers structural conformance; do not edit.
 module Generated.BareContainers.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-baseline.json b/test/conformance-baseline.json
--- a/test/conformance-baseline.json
+++ b/test/conformance-baseline.json
@@ -50,9 +50,12 @@
     {"component": "keiro-dsl-conformance-contract", "directory": "test/conformance-contract", "source": "test/fixtures/contract-v4.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 typed contract and field-identity selector/wire-key proof"},
     {"component": "keiro-dsl-conformance-contract-declared-id", "directory": "test/conformance-contract-declared-id", "source": "test/fixtures/contract-declared-id.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 declared generated-ID and consumer-bound-ID contract proof"},
     {"component": "keiro-dsl-conformance-contract-list-fields", "directory": "test/conformance-contract-list-fields", "source": "test/fixtures/contract-list-fields.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 List fields of declared, consumer-bound, literal TypeID, text, and int elements in a public contract"},
+    {"component": "keiro-dsl-conformance-contract-foreign-event", "directory": "test/conformance-contract-foreign-event", "source": "test/fixtures/contract-foreign-event.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 Optional fields of declared, literal TypeID, text, and int scalars and a contract discriminated by the envelope event type"},
+    {"component": "keiro-dsl-conformance-contract-rollout", "directory": "test/conformance-contract-rollout", "source": null, "generation": "none", "role": "compatibility-proof", "reason": "two versions of one candidate contract source, scaffolded under Before and After module roots from test/fixtures/contract-rollout-before.keiro and test/fixtures/contract-rollout-after.keiro, decode each other's output in the rollout order keiro-dsl diff reports"},
     {"component": "keiro-dsl-conformance-contract-v1-compat", "directory": "test/conformance-contract-v1-compat", "source": "test/fixtures/contract-v1-compat.keiro", "generation": "none", "role": "compatibility-proof", "reason": "version-1 permissive Text contract compatibility proof"},
     {"component": "keiro-dsl-conformance-intake-runtime", "directory": "test/conformance-intake-runtime", "source": "test/fixtures/intake.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 intake runtime proof"},
     {"component": "keiro-dsl-conformance-intake-delegated", "directory": "test/conformance-intake-delegated", "source": "test/fixtures/intake-delegated.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 delegated runner and no-Store hand-filled integration proof"},
+    {"component": "keiro-dsl-conformance-intake-delegated-noop", "directory": "test/conformance-intake-delegated-noop", "source": "test/fixtures/intake-delegated-noop.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 delegated intake feeding a typed no-op command through delegatedDomainCommand against PostgreSQL"},
     {"component": "keiro-dsl-conformance-intake-full", "directory": "test/conformance-intake-full", "source": "test/fixtures/intake.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 complete intake scaffold proof"},
     {"component": "keiro-dsl-conformance-publisher-runtime", "directory": "test/conformance-publisher-runtime", "source": "test/fixtures/emit.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 publisher runtime proof"},
     {"component": "keiro-dsl-conformance-queue", "directory": "test/conformance-queue", "source": "test/fixtures/reservation-work.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 workqueue scaffold proof"},
@@ -68,6 +71,7 @@
     {"component": "keiro-dsl-conformance-process-reactions", "directory": "test/conformance-process-reactions", "source": "test/fixtures/process-reactions.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 guarded reactions, no-action worker acknowledgement, target fan-out, and durable redelivery proof"},
     {"component": "keiro-dsl-conformance-process-timers", "directory": "test/conformance-process-timers", "source": "test/fixtures/process-timers.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 typed timer payload, rearm/once/cancel accounting, and deterministic firing proof"},
     {"component": "keiro-dsl-conformance-process-state-authority", "directory": "test/conformance-process-state-authority", "source": "test/fixtures/process-state-authority.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 saga acceptance authority, accepted-only fan-out, no-advance, and partial-success recovery proof"},
+    {"component": "keiro-dsl-conformance-topology-machine", "directory": "test/conformance-topology-machine", "source": "test/fixtures/topology-machine.keiro", "generation": "source", "role": "candidate-primary", "languageVersion": 6, "reason": "candidate Language 6 proof that the exported topology machine equals the generated keiki transducers, including a process saga"},
     {"component": "keiro-dsl-conformance-router-runtime", "directory": "test/conformance-router-runtime", "source": "test/fixtures/incident-paging/incident-paging.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 router runtime proof"},
     {"component": "keiro-dsl-conformance-declarative-router", "directory": "test/conformance-declarative-router", "source": "test/fixtures/declarative-router/valid.keiro", "generation": "source", "role": "stable-primary", "languageVersion": 5, "reason": "stable checked declarative selection, normalization, redelivery, conflict, and PostgreSQL query proof"},
     {"component": "keiro-dsl-conformance-router", "directory": "test/conformance-router", "source": "test/fixtures/incident-paging/incident-paging.keiro", "generation": "source", "role": "published-compatibility", "languageVersion": 4, "reason": "published Language 4 router scaffold proof"},
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/BehaviorSourceMap.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/BehaviorSourceMap.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/BehaviorSourceMap.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete behavior source map; do not edit.
 module Generated.BehaviorComplete.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Inspection.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Inspection.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Inspection.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/BehaviorContract.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/BehaviorContract.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/BehaviorContract.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.BehaviorComplete.Journey.Codec (encodeJourneyEvent, parseJourneyEvent, journeyCodec)
@@ -422,6 +423,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Codec.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Codec.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Codec.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.Codec (
     journeyCodec,
     parseJourneyEvent,
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Domain.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Domain.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Domain.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/EventStream.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/EventStream.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/EventStream.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.EventStream
   ( journeyCategory
   , journeyCommandCategory
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Harness.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Harness.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Harness.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.Harness (harnessAssertions) where
 
 import Generated.BehaviorComplete.Journey.Domain
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Projection.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Projection.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Projection.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Transducer.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Transducer.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Transducer.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Journey/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Journey; do not edit.
 module Generated.BehaviorComplete.Journey.Transducer
   ( journeyTransducer
   , journeyFoldFingerprint
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete generated nominal declarations; do not edit.
 module Generated.BehaviorComplete.Nominals
   ( RequestId
   , parseRequestId
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals/Internal.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals/Internal.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals/Internal.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete generated nominal ID internals; do not edit.
 module Generated.BehaviorComplete.Nominals.Internal
   ( RequestId
   , parseRequestId
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/ReplayAudit.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/ReplayAudit.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/ReplayAudit.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/Structural/Shape/StartPayload.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/Structural/Shape/StartPayload.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/Structural/Shape/StartPayload.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/Structural/Shape/StartPayload.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural StartPayload; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural StartPayload; do not edit.
 module Generated.BehaviorComplete.Structural.Shape.StartPayload (StartPayloadShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralConformance.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralConformance.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralConformance.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete structural conformance; do not edit.
 module Generated.BehaviorComplete.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralProjections.hs b/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralProjections.hs
--- a/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralProjections.hs
+++ b/test/conformance-behavior-complete/Generated/BehaviorComplete/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context behavior-complete mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context behavior-complete mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/BehaviorSourceMap.hs b/test/conformance-calendar-days/Generated/CalendarDays/BehaviorSourceMap.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/BehaviorSourceMap.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context calendar-days behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context calendar-days behavior source map; do not edit.
 module Generated.CalendarDays.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/Queue.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/Queue.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/Queue.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue calendar_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue calendar_jobs; do not edit.
 module Generated.CalendarDays.CalendarJobs.Queue
   ( CalendarJob (..)
   , encodeCalendarJob
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueueCodec.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueueCodec.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueueCodec.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue calendar_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue calendar_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueuePolicy.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueuePolicy.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueuePolicy.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue calendar_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue calendar_jobs; do not edit.
 module Generated.CalendarDays.CalendarJobs.QueuePolicy
   ( CalendarJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/QueryContract.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/QueryContract.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/QueryContract.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
 module Generated.CalendarDays.CalendarLookup.QueryContract
   ( CalendarLookupQueryInput
   , CalendarLookupQueryResult
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModel.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModel.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModel.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
 module Generated.CalendarDays.CalendarLookup.ReadModel
   ( calendarLookupReadModel
   , calendarLookupQualifiedTable
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelHarness.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelHarness.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelHarness.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
 module Generated.CalendarDays.CalendarLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.CalendarDays.CalendarLookup.ReadModel (calendarLookupReadModel)
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelTable.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelTable.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelTable.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel calendar_lookup; do not edit.
 module Generated.CalendarDays.CalendarLookup.ReadModelTable (calendarLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/BehaviorContract.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/BehaviorContract.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/BehaviorContract.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.CalendarDays.CalendarStore.Codec (encodeCalendarStoreEvent, parseCalendarStoreEvent, calendarStoreCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Codec.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Codec.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Codec.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.Codec (
     calendarStoreCodec,
     parseCalendarStoreEvent,
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Domain.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Domain.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Domain.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/EventStream.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/EventStream.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/EventStream.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.EventStream
   ( calendarStoreCategory
   , calendarStoreCommandCategory
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Harness.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Harness.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Harness.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.Harness (harnessAssertions) where
 
 import Generated.CalendarDays.CalendarStore.Domain
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Projection.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Projection.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Projection.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Transducer.hs b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Transducer.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Transducer.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/CalendarStore/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate CalendarStore; do not edit.
 module Generated.CalendarDays.CalendarStore.Transducer
   ( calendarStoreTransducer
   , calendarStoreFoldFingerprint
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/Inspection.hs b/test/conformance-calendar-days/Generated/CalendarDays/Inspection.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/Inspection.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context calendar-days inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context calendar-days inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/ProjectionCatalog.hs b/test/conformance-calendar-days/Generated/CalendarDays/ProjectionCatalog.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/ProjectionCatalog.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog calendar-days; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog calendar-days; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.CalendarDays.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/ReplayAudit.hs b/test/conformance-calendar-days/Generated/CalendarDays/ReplayAudit.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/ReplayAudit.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context calendar-days replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context calendar-days replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/CalendarEnvelope.hs b/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/CalendarEnvelope.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/CalendarEnvelope.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/CalendarEnvelope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural CalendarEnvelope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural CalendarEnvelope; do not edit.
 module Generated.CalendarDays.Structural.Shape.CalendarEnvelope (CalendarEnvelopeShape (..)) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/LocalDay.hs b/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/LocalDay.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/LocalDay.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/LocalDay.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural LocalDay; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural LocalDay; do not edit.
 module Generated.CalendarDays.Structural.Shape.LocalDay (LocalDayShape) where
 
 import Data.Time.Calendar (Day)
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/MaybeLocalDay.hs b/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/MaybeLocalDay.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/MaybeLocalDay.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/Structural/Shape/MaybeLocalDay.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural MaybeLocalDay; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural MaybeLocalDay; do not edit.
 module Generated.CalendarDays.Structural.Shape.MaybeLocalDay (MaybeLocalDayShape) where
 
 import Data.Time.Calendar (Day)
diff --git a/test/conformance-calendar-days/Generated/CalendarDays/StructuralConformance.hs b/test/conformance-calendar-days/Generated/CalendarDays/StructuralConformance.hs
--- a/test/conformance-calendar-days/Generated/CalendarDays/StructuralConformance.hs
+++ b/test/conformance-calendar-days/Generated/CalendarDays/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context calendar-days structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context calendar-days structural conformance; do not edit.
 module Generated.CalendarDays.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/BehaviorSourceMap.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/BehaviorSourceMap.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/BehaviorSourceMap.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay behavior source map; do not edit.
 module Generated.CheckedMappingReplay.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Inspection.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Inspection.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Inspection.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay generated nominal declarations; do not edit.
 module Generated.CheckedMappingReplay.Nominals
   ( RetainedId
   , parseRetainedId
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals/Internal.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals/Internal.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals/Internal.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay generated nominal ID internals; do not edit.
 module Generated.CheckedMappingReplay.Nominals.Internal
   ( RetainedId
   , parseRetainedId
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ProjectionCatalog.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ProjectionCatalog.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ProjectionCatalog.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog checked-mapping-replay; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog checked-mapping-replay; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.CheckedMappingReplay.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayAudit.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayAudit.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayAudit.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayEvents/Contract.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayEvents/Contract.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayEvents/Contract.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayEvents/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from contract replay_events; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract replay_events; do not edit.
 module Generated.CheckedMappingReplay.ReplayEvents.Contract
   ( ReplayEventsPayload (..)
   , ReplayLinkedData (..)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/Queue.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/Queue.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/Queue.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue replay_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue replay_jobs; do not edit.
 module Generated.CheckedMappingReplay.ReplayJobs.Queue
   ( ReplayJob (..)
   , encodeReplayJob
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueueCodec.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueueCodec.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueueCodec.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue replay_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue replay_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueuePolicy.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueuePolicy.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueuePolicy.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue replay_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue replay_jobs; do not edit.
 module Generated.CheckedMappingReplay.ReplayJobs.QueuePolicy
   ( ReplayJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/BehaviorContract.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/BehaviorContract.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/BehaviorContract.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.CheckedMappingReplay.ReplayLedger.Codec (encodeReplayLedgerEvent, parseReplayLedgerEvent, replayLedgerCodec)
@@ -254,6 +255,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Codec.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Codec.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Codec.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.Codec (
     replayLedgerCodec,
     parseReplayLedgerEvent,
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Domain.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Domain.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Domain.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/EventStream.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/EventStream.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/EventStream.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.EventStream
   ( replayLedgerCategory
   , replayLedgerCommandCategory
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Harness.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Harness.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Harness.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.Harness (harnessAssertions) where
 
 import Generated.CheckedMappingReplay.ReplayLedger.Domain
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Projection.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Projection.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Projection.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Transducer.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Transducer.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Transducer.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLedger/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayLedger; do not edit.
 module Generated.CheckedMappingReplay.ReplayLedger.Transducer
   ( replayLedgerTransducer
   , replayLedgerFoldFingerprint
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/QueryContract.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/QueryContract.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/QueryContract.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
 module Generated.CheckedMappingReplay.ReplayLookup.QueryContract
   ( ReplayLookupQueryInput
   , ReplayLookupQueryResult
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModel.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModel.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModel.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
 module Generated.CheckedMappingReplay.ReplayLookup.ReadModel
   ( replayLookupReadModel
   , replayLookupQualifiedTable
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelHarness.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelHarness.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelHarness.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
 module Generated.CheckedMappingReplay.ReplayLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.CheckedMappingReplay.ReplayLookup.ReadModel (replayLookupReadModel)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelTable.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelTable.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelTable.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel replay_lookup; do not edit.
 module Generated.CheckedMappingReplay.ReplayLookup.ReadModelTable (replayLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Input.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Input.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Input.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Input.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process input ReplayReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input ReplayReaction; do not edit.
 module Generated.CheckedMappingReplay.ReplayReaction.Input (ReplayReactionInput (..)) where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Process.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Process.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Process.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/Process.hs
@@ -1,5 +1,5 @@
 {-# OPTIONS_GHC -Wno-missing-signatures #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process reaction ReplayReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction ReplayReaction; do not edit.
 module Generated.CheckedMappingReplay.ReplayReaction.Process
   ( ReplayReactionInput (..)
   , replayReactionProcessName
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/ProcessHarness.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/ProcessHarness.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/ProcessHarness.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayReaction/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process ReplayReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process ReplayReaction; do not edit.
 module Generated.CheckedMappingReplay.ReplayReaction.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/BehaviorContract.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/BehaviorContract.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/BehaviorContract.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.CheckedMappingReplay.ReplayTarget.Codec (encodeReplayTargetEvent, parseReplayTargetEvent, replayTargetCodec)
@@ -206,6 +207,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Codec.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Codec.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Codec.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.Codec (
     replayTargetCodec,
     parseReplayTargetEvent,
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Domain.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Domain.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Domain.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/EventStream.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/EventStream.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/EventStream.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.EventStream
   ( replayTargetCategory
   , replayTargetCommandCategory
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Harness.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Harness.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Harness.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.Harness (harnessAssertions) where
 
 import Generated.CheckedMappingReplay.ReplayTarget.Domain
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Projection.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Projection.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Projection.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Transducer.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Transducer.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Transducer.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/ReplayTarget/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ReplayTarget; do not edit.
 module Generated.CheckedMappingReplay.ReplayTarget.Transducer
   ( replayTargetTransducer
   , replayTargetFoldFingerprint
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/NominalLeaves.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/NominalLeaves.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/NominalLeaves.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay structural nominal leaves; do not edit.
 module Generated.CheckedMappingReplay.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ContentHash.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ContentHash.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ContentHash.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ContentHash.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural ContentHash; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural ContentHash; do not edit.
 module Generated.CheckedMappingReplay.Structural.Shape.ContentHash (ContentHashShape) where
 
 import Data.ByteString (ByteString)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ImportantDays.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ImportantDays.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ImportantDays.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ImportantDays.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural ImportantDays; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural ImportantDays; do not edit.
 module Generated.CheckedMappingReplay.Structural.Shape.ImportantDays (ImportantDaysShape) where
 
 import Data.Time.Calendar (Day)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeContentHash.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeContentHash.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeContentHash.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeContentHash.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural MaybeContentHash; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural MaybeContentHash; do not edit.
 module Generated.CheckedMappingReplay.Structural.Shape.MaybeContentHash (MaybeContentHashShape) where
 
 import Generated.CheckedMappingReplay.Structural.Shape.ContentHash qualified as ContentHash
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeLabel.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeLabel.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeLabel.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/MaybeLabel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural MaybeLabel; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural MaybeLabel; do not edit.
 module Generated.CheckedMappingReplay.Structural.Shape.MaybeLabel (MaybeLabelShape) where
 
 import Data.Text (Text)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ReplayEnvelope.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ReplayEnvelope.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ReplayEnvelope.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/ReplayEnvelope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural ReplayEnvelope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural ReplayEnvelope; do not edit.
 module Generated.CheckedMappingReplay.Structural.Shape.ReplayEnvelope (ReplayEnvelopeShape (..)) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/TextLabels.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/TextLabels.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/TextLabels.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/Structural/Shape/TextLabels.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TextLabels; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TextLabels; do not edit.
 module Generated.CheckedMappingReplay.Structural.Shape.TextLabels (TextLabelsShape) where
 
 import Data.Set (Set)
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralConformance.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralConformance.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralConformance.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay structural conformance; do not edit.
 module Generated.CheckedMappingReplay.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralProjections.hs b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralProjections.hs
--- a/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralProjections.hs
+++ b/test/conformance-checked-mapping-replay/Generated/CheckedMappingReplay/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context checked-mapping-replay mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context checked-mapping-replay mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-coldstart/Generated/Billing/BehaviorSourceMap.hs b/test/conformance-coldstart/Generated/Billing/BehaviorSourceMap.hs
--- a/test/conformance-coldstart/Generated/Billing/BehaviorSourceMap.hs
+++ b/test/conformance-coldstart/Generated/Billing/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context billing behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context billing behavior source map; do not edit.
 module Generated.Billing.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-coldstart/Generated/Billing/Inspection.hs b/test/conformance-coldstart/Generated/Billing/Inspection.hs
--- a/test/conformance-coldstart/Generated/Billing/Inspection.hs
+++ b/test/conformance-coldstart/Generated/Billing/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context billing inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context billing inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-coldstart/Generated/Billing/Nominals.hs b/test/conformance-coldstart/Generated/Billing/Nominals.hs
--- a/test/conformance-coldstart/Generated/Billing/Nominals.hs
+++ b/test/conformance-coldstart/Generated/Billing/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context billing generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context billing generated nominal declarations; do not edit.
 module Generated.Billing.Nominals
   ( CustomerId
   , parseCustomerId
diff --git a/test/conformance-coldstart/Generated/Billing/Nominals/Internal.hs b/test/conformance-coldstart/Generated/Billing/Nominals/Internal.hs
--- a/test/conformance-coldstart/Generated/Billing/Nominals/Internal.hs
+++ b/test/conformance-coldstart/Generated/Billing/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context billing generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context billing generated nominal ID internals; do not edit.
 module Generated.Billing.Nominals.Internal
   ( CustomerId
   , parseCustomerId
diff --git a/test/conformance-coldstart/Generated/Billing/ReplayAudit.hs b/test/conformance-coldstart/Generated/Billing/ReplayAudit.hs
--- a/test/conformance-coldstart/Generated/Billing/ReplayAudit.hs
+++ b/test/conformance-coldstart/Generated/Billing/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context billing replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context billing replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/BehaviorContract.hs b/test/conformance-coldstart/Generated/Billing/Subscription/BehaviorContract.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/BehaviorContract.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.Billing.Subscription.Codec (encodeSubscriptionEvent, parseSubscriptionEvent, subscriptionCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/Codec.hs b/test/conformance-coldstart/Generated/Billing/Subscription/Codec.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/Codec.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.Codec (
     subscriptionCodec,
     parseSubscriptionEvent,
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/Domain.hs b/test/conformance-coldstart/Generated/Billing/Subscription/Domain.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/Domain.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/EventStream.hs b/test/conformance-coldstart/Generated/Billing/Subscription/EventStream.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/EventStream.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.EventStream
   ( subscriptionCategory
   , subscriptionCommandCategory
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/Harness.hs b/test/conformance-coldstart/Generated/Billing/Subscription/Harness.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/Harness.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.Harness (harnessAssertions) where
 
 import Generated.Billing.Subscription.Domain
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/Projection.hs b/test/conformance-coldstart/Generated/Billing/Subscription/Projection.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/Projection.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.Projection
   ( subscriptionsProjection
   , subscriptionsStatusFor
diff --git a/test/conformance-coldstart/Generated/Billing/Subscription/Transducer.hs b/test/conformance-coldstart/Generated/Billing/Subscription/Transducer.hs
--- a/test/conformance-coldstart/Generated/Billing/Subscription/Transducer.hs
+++ b/test/conformance-coldstart/Generated/Billing/Subscription/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Subscription; do not edit.
 module Generated.Billing.Subscription.Transducer
   ( subscriptionTransducer
   , subscriptionFoldFingerprint
diff --git a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals.hs b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals.hs
--- a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals.hs
+++ b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-declared-id generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-declared-id generated nominal declarations; do not edit.
 module Generated.ContractDeclaredId.Nominals
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals/Internal.hs b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals/Internal.hs
--- a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals/Internal.hs
+++ b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-declared-id generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-declared-id generated nominal ID internals; do not edit.
 module Generated.ContractDeclaredId.Nominals.Internal
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Structural/NominalLeaves.hs b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Structural/NominalLeaves.hs
--- a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Structural/NominalLeaves.hs
+++ b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-declared-id structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-declared-id structural nominal leaves; do not edit.
 module Generated.ContractDeclaredId.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/StructuralConformance.hs b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/StructuralConformance.hs
--- a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/StructuralConformance.hs
+++ b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-declared-id structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-declared-id structural conformance; do not edit.
 module Generated.ContractDeclaredId.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Templates/Contract.hs b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Templates/Contract.hs
--- a/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Templates/Contract.hs
+++ b/test/conformance-contract-declared-id/Generated/ContractDeclaredId/Templates/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from contract templates; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract templates; do not edit.
 module Generated.ContractDeclaredId.Templates.Contract
   ( TemplatesPayload (..)
   , TemplateClaimedData (..)
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Audit/Contract.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Audit/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Audit/Contract.hs
@@ -0,0 +1,104 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract audit; do not edit.
+module Generated.ContractForeignEvent.Audit.Contract
+  ( AuditPayload (..)
+  , MemberNotedData (..)
+  , RegistrationSeenData (..)
+  , NotesClearedData (..)
+  , notesTopic
+  , messageTypeOf
+  , encodeAuditPayload
+  , parseAuditPayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:?), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, explicitParseFieldMaybe, parseEither)
+import Data.KindID (KindID)
+import qualified Data.KindID as KindID
+import Generated.ContractForeignEvent.Nominals qualified as Nominals
+import Generated.ContractForeignEvent.Structural.NominalLeaves qualified as NominalLeaves
+import Data.Text (Text)
+import qualified Data.Text as T
+import Keiro.Codec.IdDomain (parseKindIdV7Value)
+
+-- topic constants
+notesTopic :: Text
+notesTopic = "audit.notes"
+
+-- the closed payload set (discriminated by "messageType")
+data MemberNotedData = MemberNotedData {memberId :: !Nominals.MemberId, note :: !(Maybe Text)}
+  deriving stock (Eq, Show)
+
+data RegistrationSeenData = RegistrationSeenData {registrationId :: !(KindID "registration"), ownerEmail :: !(Maybe Text), mlsMemberId :: !(Maybe Nominals.MemberId), legacyAccountId :: !(Maybe Int), referrerId :: !(Maybe (KindID "member"))}
+  deriving stock (Eq, Show)
+
+data NotesClearedData = NotesClearedData {}
+  deriving stock (Eq, Show)
+
+data AuditPayload
+  = MemberNoted !MemberNotedData
+  | RegistrationSeen !RegistrationSeenData
+  | NotesCleared !NotesClearedData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: AuditPayload -> Text
+messageTypeOf = \case
+  MemberNoted {} -> "MemberNoted"
+  RegistrationSeen {} -> "RegistrationSeen"
+  NotesCleared {} -> "NotesCleared"
+
+encodeAuditPayload :: AuditPayload -> Value
+encodeAuditPayload = \case
+  MemberNoted payload ->
+    object
+      ( [ "messageType" .= ("MemberNoted" :: Text),
+          "memberId" .= NominalLeaves.encodeMemberIdLeaf payload.memberId
+        ]
+          <> ["note" .= value | Just value <- [payload.note]]
+      )
+  RegistrationSeen payload ->
+    object
+      ( [ "messageType" .= ("RegistrationSeen" :: Text),
+          "registrationId" .= KindID.toText payload.registrationId
+        ]
+          <> ["ownerEmail" .= value | Just value <- [payload.ownerEmail]]
+          <> ["mlsMemberId" .= NominalLeaves.encodeMemberIdLeaf value | Just value <- [payload.mlsMemberId]]
+          <> ["legacyAccountId" .= value | Just value <- [payload.legacyAccountId]]
+          <> ["referrerId" .= KindID.toText value | Just value <- [payload.referrerId]]
+      )
+  NotesCleared _ ->
+    object
+      [ "messageType" .= ("NotesCleared" :: Text)
+      ]
+
+parseAuditPayload :: Value -> Either Text AuditPayload
+parseAuditPayload = mapLeftText . parseEither (withObject "AuditPayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "MemberNoted" ->
+          MemberNoted
+            <$> ( MemberNotedData
+                    <$> explicitParseField NominalLeaves.parseMemberIdLeaf o "memberId"
+                    <*> o .:? "note"
+                )
+        "RegistrationSeen" ->
+          RegistrationSeen
+            <$> ( RegistrationSeenData
+                    <$> explicitParseField (parseKindIdV7Value @"registration") o "registrationId"
+                    <*> o .:? "ownerEmail"
+                    <*> explicitParseFieldMaybe NominalLeaves.parseMemberIdLeaf o "mlsMemberId"
+                    <*> o .:? "legacyAccountId"
+                    <*> explicitParseFieldMaybe (parseKindIdV7Value @"member") o "referrerId"
+                )
+        "NotesCleared" ->
+          pure (NotesCleared NotesClearedData)
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["MemberNoted", "RegistrationSeen", "NotesCleared"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: MemberNoted, RegistrationSeen, NotesCleared")
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Nominals.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Nominals.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Nominals.hs
@@ -0,0 +1,9 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-foreign-event generated nominal declarations; do not edit.
+module Generated.ContractForeignEvent.Nominals
+  ( MemberId
+  , parseMemberId
+  , mkMemberId
+  , memberIdText
+  ) where
+
+import Generated.ContractForeignEvent.Nominals.Internal (MemberId, mkMemberId, parseMemberId, memberIdText)
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Nominals/Internal.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Nominals/Internal.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Nominals/Internal.hs
@@ -0,0 +1,40 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-foreign-event generated nominal ID internals; do not edit.
+module Generated.ContractForeignEvent.Nominals.Internal
+  ( MemberId
+  , parseMemberId
+  , mkMemberId
+  , memberIdText
+  , unsafeMemberIdFromLegacyText
+  ) where
+
+import Data.Aeson (FromJSON (..), ToJSON (..), withText)
+import Data.Text (Text)
+import Data.Text qualified as T
+import GHC.Generics (Generic)
+import Keiki.Shape (CanonicalTypeName)
+import Keiro.Codec.IdDomain (typeIdV7Domain, validateIdDomainText)
+
+newtype MemberId = MemberId Text
+  deriving stock (Generic, Eq, Ord, Show)
+
+instance CanonicalTypeName MemberId
+
+instance ToJSON MemberId where
+  toJSON = toJSON . memberIdText
+
+instance FromJSON MemberId where
+  parseJSON = withText "MemberId" (either (fail . T.unpack) pure . parseMemberId)
+
+parseMemberId :: Text -> Either Text MemberId
+parseMemberId input = case validateIdDomainText (typeIdV7Domain "member") input of
+  Left reason -> Left (T.pack (show reason))
+  Right () -> Right (MemberId input)
+
+mkMemberId :: Text -> Either Text MemberId
+mkMemberId = parseMemberId
+
+memberIdText :: MemberId -> Text
+memberIdText (MemberId value) = value
+
+unsafeMemberIdFromLegacyText :: Text -> MemberId
+unsafeMemberIdFromLegacyText = MemberId
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Registration/Contract.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Registration/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Registration/Contract.hs
@@ -0,0 +1,72 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract registration; do not edit.
+module Generated.ContractForeignEvent.Registration.Contract
+  ( RegistrationPayload (..)
+  , RegistrationCompletedData (..)
+  , completedTopic
+  , messageTypeOf
+  , encodeRegistrationPayload
+  , parseRegistrationPayloadAs
+  ) where
+
+import Data.Aeson (Value, object, withObject, (.:), (.:?), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, explicitParseFieldMaybe, parseEither)
+import Data.KindID (KindID)
+import qualified Data.KindID as KindID
+import Generated.ContractForeignEvent.Nominals qualified as Nominals
+import Generated.ContractForeignEvent.Structural.NominalLeaves qualified as NominalLeaves
+import Data.Text (Text)
+import qualified Data.Text as T
+import Keiro.Codec.IdDomain (parseKindIdV7Value)
+
+-- topic constants
+completedTopic :: Text
+completedTopic = "registration.completed.v1"
+
+-- the closed payload set (discriminated by the envelope's event type)
+data RegistrationCompletedData = RegistrationCompletedData {registrationId :: !(KindID "registration"), occurredAt :: !Text, ownerEmail :: !(Maybe Text), mlsMemberId :: !(Maybe Nominals.MemberId), legacyAccountId :: !(Maybe Int)}
+  deriving stock (Eq, Show)
+
+data RegistrationPayload
+  = RegistrationCompleted !RegistrationCompletedData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: RegistrationPayload -> Text
+messageTypeOf = \case
+  RegistrationCompleted {} -> "RegistrationCompleted"
+
+encodeRegistrationPayload :: RegistrationPayload -> Value
+encodeRegistrationPayload = \case
+  RegistrationCompleted payload ->
+    object
+      ( [ "registrationId" .= KindID.toText payload.registrationId,
+          "occurredAt" .= payload.occurredAt
+        ]
+          <> ["ownerEmail" .= value | Just value <- [payload.ownerEmail]]
+          <> ["mlsMemberId" .= NominalLeaves.encodeMemberIdLeaf value | Just value <- [payload.mlsMemberId]]
+          <> ["legacyAccountId" .= value | Just value <- [payload.legacyAccountId]]
+      )
+
+parseRegistrationPayloadAs :: Text -> Value -> Either Text RegistrationPayload
+parseRegistrationPayloadAs eventType = mapLeftText . parseEither (withObject "RegistrationPayload" go)
+  where
+    go o = do
+      kind <- validateMessageType eventType
+      case kind of
+        "RegistrationCompleted" ->
+          RegistrationCompleted
+            <$> ( RegistrationCompletedData
+                    <$> explicitParseField (parseKindIdV7Value @"registration") o "registrationId"
+                    <*> o .: "occurredAt"
+                    <*> o .:? "ownerEmail"
+                    <*> explicitParseFieldMaybe NominalLeaves.parseMemberIdLeaf o "mlsMemberId"
+                    <*> o .:? "legacyAccountId"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["RegistrationCompleted"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: RegistrationCompleted")
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Signals/Contract.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Signals/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Signals/Contract.hs
@@ -0,0 +1,62 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract signals; do not edit.
+module Generated.ContractForeignEvent.Signals.Contract
+  ( SignalsPayload (..)
+  , PingedData (..)
+  , PongedData (..)
+  , beatsTopic
+  , messageTypeOf
+  , encodeSignalsPayload
+  , parseSignalsPayloadAs
+  ) where
+
+import Data.Aeson (Value, object, withObject)
+import Data.Aeson.Types (Parser, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+beatsTopic :: Text
+beatsTopic = "signals.beats"
+
+-- the closed payload set (discriminated by the envelope's event type)
+data PingedData = PingedData {  }
+  deriving stock (Eq, Show)
+
+data PongedData = PongedData {  }
+  deriving stock (Eq, Show)
+
+data SignalsPayload = Pinged !PingedData
+  | Ponged !PongedData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: SignalsPayload -> Text
+messageTypeOf = \case
+  Pinged {} -> "Pinged"
+  Ponged {} -> "Ponged"
+
+encodeSignalsPayload :: SignalsPayload -> Value
+encodeSignalsPayload = \case
+  Pinged _ ->
+    object []
+  Ponged _ ->
+    object []
+
+parseSignalsPayloadAs :: Text -> Value -> Either Text SignalsPayload
+parseSignalsPayloadAs eventType = mapLeftText . parseEither (withObject "SignalsPayload" go)
+  where
+    go _ = do
+      kind <- validateMessageType eventType
+      case kind of
+        "Pinged" ->
+          pure (Pinged PingedData)
+        "Ponged" ->
+          pure (Ponged PongedData)
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Pinged", "Ponged"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Pinged, Ponged")
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Structural/NominalLeaves.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Structural/NominalLeaves.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/Structural/NominalLeaves.hs
@@ -0,0 +1,15 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-foreign-event structural nominal leaves; do not edit.
+module Generated.ContractForeignEvent.Structural.NominalLeaves where
+
+import Data.Aeson (Value (..), withText)
+import Data.Aeson.Types (Parser)
+import Data.Text qualified as T
+import Generated.ContractForeignEvent.Nominals qualified as Nominals
+
+encodeMemberIdLeaf :: Nominals.MemberId -> Value
+encodeMemberIdLeaf = String . Nominals.memberIdText
+{-# NOINLINE encodeMemberIdLeaf #-}
+
+parseMemberIdLeaf :: Value -> Parser Nominals.MemberId
+parseMemberIdLeaf = withText "MemberId" (either (fail . T.unpack) pure . Nominals.parseMemberId)
+{-# NOINLINE parseMemberIdLeaf #-}
diff --git a/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/StructuralConformance.hs b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/StructuralConformance.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Generated/ContractForeignEvent/StructuralConformance.hs
@@ -0,0 +1,9 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-foreign-event structural conformance; do not edit.
+module Generated.ContractForeignEvent.StructuralConformance
+  ( structuralConformanceAssertions
+  ) where
+
+
+structuralConformanceAssertions :: [(String, Bool)]
+structuralConformanceAssertions =
+  []
diff --git a/test/conformance-contract-foreign-event/Main.hs b/test/conformance-contract-foreign-event/Main.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/Main.hs
@@ -0,0 +1,209 @@
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE TypeApplications #-}
+
+-- | Compiled proof for ExecPlan 345 / IR-64: Optional contract fields and a
+-- contract whose event type comes from the envelope instead of a body key.
+module Main (main) where
+
+import Data.Aeson (Value (Null, Object, String), encode, object, toJSON, (.=))
+import Data.Aeson.Key (Key)
+import Data.Aeson.KeyMap qualified as KeyMap
+import Data.ByteString.Lazy qualified as LazyByteString
+import Data.KindID qualified as KindID
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Time (UTCTime (..), fromGregorian)
+import Generated.ContractForeignEvent.Audit.Contract qualified as Audit
+import Generated.ContractForeignEvent.Nominals (MemberId, parseMemberId)
+import Generated.ContractForeignEvent.Registration.Contract qualified as Registration
+import Generated.ContractForeignEvent.Signals.Contract qualified as Signals
+import Generated.ContractForeignEvent.StructuralConformance (structuralConformanceAssertions)
+import Keiro.Integration.Event
+  ( IntegrationContentType (..),
+    IntegrationEvent (..),
+    IntegrationEventError (..),
+    decodeJsonIntegrationEventWith,
+  )
+import System.Exit (exitFailure)
+
+registrationIdText :: Text
+registrationIdText = "registration_01h455vb4pex5vsknk084sn02q"
+
+memberIdText :: Text
+memberIdText = "member_01h455vb4pex5vsknk084sn02q"
+
+registrationId :: KindID.KindID "registration"
+registrationId = either (error . show) id (KindID.parseText @"registration" registrationIdText)
+
+memberId :: MemberId
+memberId = either (error . T.unpack) id (parseMemberId memberIdText)
+
+referrerId :: KindID.KindID "member"
+referrerId = either (error . show) id (KindID.parseText @"member" memberIdText)
+
+occurredAtText :: Text
+occurredAtText = "2026-11-18T00:00:00Z"
+
+-- Body-discriminated contract: every optional scalar family.
+
+seenFull :: Audit.AuditPayload
+seenFull = Audit.RegistrationSeen (Audit.RegistrationSeenData registrationId (Just "owner@example.com") (Just memberId) (Just 42) (Just referrerId))
+
+seenAbsent :: Audit.AuditPayload
+seenAbsent = Audit.RegistrationSeen (Audit.RegistrationSeenData registrationId Nothing Nothing Nothing Nothing)
+
+seenFullJson :: Value
+seenFullJson =
+  object
+    [ "messageType" .= ("RegistrationSeen" :: Text),
+      "registrationId" .= registrationIdText,
+      "ownerEmail" .= ("owner@example.com" :: Text),
+      "mlsMemberId" .= memberIdText,
+      "legacyAccountId" .= (42 :: Int),
+      "referrerId" .= memberIdText
+    ]
+
+seenAbsentJson :: Value
+seenAbsentJson =
+  object
+    [ "messageType" .= ("RegistrationSeen" :: Text),
+      "registrationId" .= registrationIdText
+    ]
+
+-- Each optional key of RegistrationSeen, with the payload that results when
+-- only that key is null.
+seenNullCases :: [(Key, Audit.AuditPayload)]
+seenNullCases =
+  [ ("ownerEmail", Audit.RegistrationSeen (Audit.RegistrationSeenData registrationId Nothing (Just memberId) (Just 42) (Just referrerId))),
+    ("mlsMemberId", Audit.RegistrationSeen (Audit.RegistrationSeenData registrationId (Just "owner@example.com") Nothing (Just 42) (Just referrerId))),
+    ("legacyAccountId", Audit.RegistrationSeen (Audit.RegistrationSeenData registrationId (Just "owner@example.com") (Just memberId) Nothing (Just referrerId))),
+    ("referrerId", Audit.RegistrationSeen (Audit.RegistrationSeenData registrationId (Just "owner@example.com") (Just memberId) (Just 42) Nothing))
+  ]
+
+-- Envelope-discriminated contract: the motivating RegistrationCompleted event.
+
+completedFull :: Registration.RegistrationPayload
+completedFull = Registration.RegistrationCompleted (Registration.RegistrationCompletedData registrationId occurredAtText (Just "owner@example.com") (Just memberId) (Just 7))
+
+completedAbsent :: Registration.RegistrationPayload
+completedAbsent = Registration.RegistrationCompleted (Registration.RegistrationCompletedData registrationId occurredAtText Nothing Nothing Nothing)
+
+completedFullJson :: Value
+completedFullJson =
+  object
+    [ "registrationId" .= registrationIdText,
+      "occurredAt" .= occurredAtText,
+      "ownerEmail" .= ("owner@example.com" :: Text),
+      "mlsMemberId" .= memberIdText,
+      "legacyAccountId" .= (7 :: Int)
+    ]
+
+-- The bare object registration-service-v2 publishes when both optional
+-- values are unknown.
+completedBareJson :: Value
+completedBareJson =
+  object
+    [ "registrationId" .= registrationIdText,
+      "occurredAt" .= occurredAtText
+    ]
+
+envelopeFor :: Text -> Value -> IntegrationEvent
+envelopeFor eventType body =
+  IntegrationEvent
+    { messageId = "message-1",
+      source = "registration-service-v2",
+      destination = "registration.completed.v1",
+      key = Nothing,
+      eventType = eventType,
+      schemaVersion = 1,
+      contentType = ApplicationJson,
+      schemaReference = Nothing,
+      sourceEventId = Nothing,
+      sourceGlobalPosition = Nothing,
+      payloadBytes = LazyByteString.toStrict (encode body),
+      occurredAt = UTCTime (fromGregorian 2026 11 18) 0,
+      causationId = Nothing,
+      correlationId = Nothing,
+      traceContext = Nothing,
+      attributes = Nothing
+    }
+
+replaceField :: Key -> Value -> Value -> Value
+replaceField key value (Object fields) = Object (KeyMap.insert key value fields)
+replaceField _ _ value = value
+
+removeField :: Key -> Value -> Value
+removeField key (Object fields) = Object (KeyMap.delete key fields)
+removeField _ value = value
+
+hasKey :: Key -> Value -> Bool
+hasKey key (Object fields) = KeyMap.member key fields
+hasKey _ _ = False
+
+failsWith :: Text -> Either Text a -> Bool
+failsWith fragment = either (fragment `T.isInfixOf`) (const False)
+
+isLeft' :: Either a b -> Bool
+isLeft' = either (const True) (const False)
+
+main :: IO ()
+main = do
+  let parseAudit = Audit.parseAuditPayload
+      parseCompleted = Registration.parseRegistrationPayloadAs "RegistrationCompleted"
+      noted note = Audit.MemberNoted (Audit.MemberNotedData memberId note)
+      cleared = Audit.NotesCleared Audit.NotesClearedData
+      pinged = Signals.Pinged Signals.PingedData
+      ponged = Signals.Ponged Signals.PongedData
+      notedJson extra = object (["messageType" .= ("MemberNoted" :: Text), "memberId" .= memberIdText] <> extra)
+      checks =
+        [ -- AC-1 on the body-discriminated contract.
+          ("present optionals encode exactly and round-trip for text, int, literal TypeID and declared id", Audit.encodeAuditPayload seenFull == seenFullJson && parseAudit seenFullJson == Right seenFull),
+          ("absent optionals encode with no key and round-trip", Audit.encodeAuditPayload seenAbsent == seenAbsentJson && parseAudit seenAbsentJson == Right seenAbsent),
+          ("each optional key set to null decodes to Nothing", all (\(key, expected) -> parseAudit (replaceField key Null seenFullJson) == Right expected) seenNullCases),
+          ("a wrong-typed optional text fails at $.ownerEmail", failsWith "$.ownerEmail" (parseAudit (replaceField "ownerEmail" (toJSON (7 :: Int)) seenFullJson))),
+          ("a wrong-typed optional int fails at $.legacyAccountId", failsWith "$.legacyAccountId" (parseAudit (replaceField "legacyAccountId" (String "seven") seenFullJson))),
+          ("a wrong-prefix optional declared id fails at $.mlsMemberId", failsWith "$.mlsMemberId" (parseAudit (replaceField "mlsMemberId" (String registrationIdText) seenFullJson))),
+          ("a wrong-prefix optional literal TypeID fails at $.referrerId", failsWith "$.referrerId" (parseAudit (replaceField "referrerId" (String registrationIdText) seenFullJson))),
+          ("a missing required field is still rejected", isLeft' (parseAudit (removeField "registrationId" seenAbsentJson))),
+          ("an unknown extra key is ignored", parseAudit (replaceField "unexpected" (String "ignored") seenFullJson) == Right seenFull),
+          ("MemberNoted round-trips with and without its optional note", Audit.encodeAuditPayload (noted Nothing) == notedJson [] && parseAudit (notedJson []) == Right (noted Nothing) && Audit.encodeAuditPayload (noted (Just "hello")) == notedJson ["note" .= ("hello" :: Text)] && parseAudit (notedJson ["note" .= ("hello" :: Text)]) == Right (noted (Just "hello"))),
+          ("the body-discriminated contract still requires its messageType key", failsWith "messageType" (parseAudit (removeField "messageType" seenFullJson))),
+          -- AC-2 on the envelope-discriminated contract.
+          ("the envelope contract encodes no messageType key", not (hasKey "messageType" (Registration.encodeRegistrationPayload completedFull))),
+          ("the envelope contract encodes exactly and round-trips", Registration.encodeRegistrationPayload completedFull == completedFullJson && parseCompleted completedFullJson == Right completedFull),
+          ("absent optionals encode as the bare producer object", Registration.encodeRegistrationPayload completedAbsent == completedBareJson),
+          ("the bare producer object decodes with both optionals absent", parseCompleted completedBareJson == Right completedAbsent),
+          ("an explicit null ownerEmail decodes the same way", parseCompleted (replaceField "ownerEmail" Null completedBareJson) == Right completedAbsent),
+          ("an undeclared event type is rejected naming it", failsWith "unknown message type \"SomethingElse\"" (Registration.parseRegistrationPayloadAs "SomethingElse" completedBareJson)),
+          ("a wrong-typed ownerEmail fails at $.ownerEmail", failsWith "$.ownerEmail" (parseCompleted (replaceField "ownerEmail" (toJSON (7 :: Int)) completedBareJson))),
+          ("a wrong-prefix mlsMemberId fails at $.mlsMemberId", failsWith "$.mlsMemberId" (parseCompleted (replaceField "mlsMemberId" (String registrationIdText) completedBareJson))),
+          ("a missing registrationId is rejected", isLeft' (parseCompleted (removeField "registrationId" completedBareJson))),
+          ("a body messageType key is ignored as an unknown key", parseCompleted (replaceField "messageType" (String "SomethingElse") completedBareJson) == Right completedAbsent),
+          -- AC-2 through keiro-core's envelope join.
+          ("decodeJsonIntegrationEventWith decodes a matching envelope", decodeJsonIntegrationEventWith Registration.parseRegistrationPayloadAs (envelopeFor "RegistrationCompleted" completedBareJson) == Right completedAbsent),
+          ( "decodeJsonIntegrationEventWith rejects a mismatched envelope event type",
+            case decodeJsonIntegrationEventWith Registration.parseRegistrationPayloadAs (envelopeFor "RegistrationStarted" completedBareJson) of
+              Left (DecodeFailed problem) -> "RegistrationStarted" `T.isInfixOf` problem
+              _ -> False
+          ),
+          ( "decodeJsonIntegrationEventWith refuses a non-JSON content type",
+            decodeJsonIntegrationEventWith Registration.parseRegistrationPayloadAs ((envelopeFor "RegistrationCompleted" completedBareJson) {contentType = OtherContentType "application/avro"})
+              == Left (UnsupportedContentType "application/avro")
+          ),
+          ( "decodeJsonIntegrationEventWith reports unparsable bytes as malformed",
+            case decodeJsonIntegrationEventWith Registration.parseRegistrationPayloadAs ((envelopeFor "RegistrationCompleted" completedBareJson) {payloadBytes = "{"}) of
+              Left (MalformedPayload _) -> True
+              _ -> False
+          ),
+          -- Fieldless events in both discriminator modes (review finding 2).
+          ("a fieldless body-discriminated event encodes exactly its discriminator key", Audit.encodeAuditPayload cleared == object ["messageType" .= ("NotesCleared" :: Text)]),
+          ("a fieldless body-discriminated event round-trips", parseAudit (Audit.encodeAuditPayload cleared) == Right cleared),
+          ("fieldless envelope-discriminated events encode as an empty object", Signals.encodeSignalsPayload pinged == object [] && Signals.encodeSignalsPayload ponged == object []),
+          ("each envelope event type selects its fieldless constructor", Signals.parseSignalsPayloadAs "Pinged" (object []) == Right pinged && Signals.parseSignalsPayloadAs "Ponged" (object []) == Right ponged),
+          ("the fieldless envelope contract encodes each event's own type in messageTypeOf", map Signals.messageTypeOf [pinged, ponged] == ["Pinged", "Ponged"]),
+          ("the fieldless envelope contract rejects an undeclared event type", failsWith "unknown message type \"Pang\"" (Signals.parseSignalsPayloadAs "Pang" (object []))),
+          ("contract nominal helpers pass conformance", all snd structuralConformanceAssertions)
+        ]
+  mapM_ (\(label, ok) -> putStrLn ((if ok then "PASS  " else "FAIL  ") <> label)) checks
+  if all snd checks then pure () else exitFailure
diff --git a/test/conformance-contract-foreign-event/keiro-dsl-cabal-fragment.context.contract-foreign-event.txt b/test/conformance-contract-foreign-event/keiro-dsl-cabal-fragment.context.contract-foreign-event.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/keiro-dsl-cabal-fragment.context.contract-foreign-event.txt
@@ -0,0 +1,27 @@
+-- keiro-dsl build manifest for keiro-dsl/test/fixtures/contract-foreign-event.keiro
+-- Paste the complete fragment below into the consuming Cabal stanza.
+-- The generated layer is overwritten on every scaffold; hole modules are
+-- create-if-absent (filled by hand).
+
+default-language: GHC2024
+default-extensions:
+    DuplicateRecordFields
+    NoFieldSelectors
+    OverloadedRecordDot
+    OverloadedStrings
+
+other-modules:
+    Generated.ContractForeignEvent.Audit.Contract
+    Generated.ContractForeignEvent.Nominals
+    Generated.ContractForeignEvent.Nominals.Internal
+    Generated.ContractForeignEvent.Registration.Contract
+    Generated.ContractForeignEvent.Signals.Contract
+    Generated.ContractForeignEvent.Structural.NominalLeaves
+    Generated.ContractForeignEvent.StructuralConformance
+
+build-depends:
+    , aeson
+    , base
+    , keiro-core
+    , mmzk-typeid
+    , text
diff --git a/test/conformance-contract-foreign-event/keiro-dsl-ledger.context.contract-foreign-event.txt b/test/conformance-contract-foreign-event/keiro-dsl-ledger.context.contract-foreign-event.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-foreign-event/keiro-dsl-ledger.context.contract-foreign-event.txt
@@ -0,0 +1,30 @@
+keiro-dsl scaffold record v1
+spec: keiro-dsl/test/fixtures/contract-foreign-event.keiro
+module-root: (none)
+layout: prefixed
+source-language {"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"sourceForm":"declared"}
+semantic-contract {"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"}
+naming-edition idiomatic-v2
+module-role {"family":"StructuralConformance","kind":"generated","ownerKind":"context","ownerName":"context contract-foreign-event structural conformance","path":"Generated/ContractForeignEvent/StructuralConformance.hs"}
+module-role {"family":"Nominals","kind":"generated","ownerKind":"context","ownerName":"context contract-foreign-event generated nominal declarations","path":"Generated/ContractForeignEvent/Nominals.hs"}
+module-role {"family":"Internal","kind":"generated","ownerKind":"context","ownerName":"context contract-foreign-event generated nominal ID internals","path":"Generated/ContractForeignEvent/Nominals/Internal.hs"}
+module-role {"family":"NominalLeaves","kind":"generated","ownerKind":"context","ownerName":"context contract-foreign-event structural nominal leaves","path":"Generated/ContractForeignEvent/Structural/NominalLeaves.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract audit (line 6)","path":"Generated/ContractForeignEvent/Audit/Contract.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract registration (line 28)","path":"Generated/ContractForeignEvent/Registration/Contract.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract signals (line 43)","path":"Generated/ContractForeignEvent/Signals/Contract.hs"}
+generated Generated/ContractForeignEvent/StructuralConformance.hs
+generated Generated/ContractForeignEvent/Nominals.hs
+generated Generated/ContractForeignEvent/Nominals/Internal.hs
+generated Generated/ContractForeignEvent/Structural/NominalLeaves.hs
+generated Generated/ContractForeignEvent/Audit/Contract.hs
+generated Generated/ContractForeignEvent/Registration/Contract.hs
+generated Generated/ContractForeignEvent/Signals/Contract.hs
+id-domain id-domain|name=MemberId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=member|separator=_|json=canonical-json-text
+id-domain id-domain|name=contract:audit.MemberNoted.memberId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=member|separator=_|json=canonical-json-text
+id-domain id-domain|name=contract:audit.RegistrationSeen.registrationId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=registration|separator=_|json=canonical-json-text
+id-domain id-domain|name=contract:audit.RegistrationSeen.mlsMemberId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=member|separator=_|json=canonical-json-text
+id-domain id-domain|name=contract:audit.RegistrationSeen.referrerId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=member|separator=_|json=canonical-json-text
+id-domain id-domain|name=contract:registration.RegistrationCompleted.registrationId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=registration|separator=_|json=canonical-json-text
+id-domain id-domain|name=contract:registration.RegistrationCompleted.mlsMemberId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=member|separator=_|json=canonical-json-text
+nominal-equality nominal-equality|name=MemberId|contract=keiro-dsl/nominal-equality/2|key=Text|domain=typeid-v7-text:member:keiro-dsl/id-domain/typeid-v7/1|owner=generated
+semantic-impact {"declarations":[],"mappedSurfaceEvidenceVersion":1,"serviceInventory":[]}
diff --git a/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals.hs b/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals.hs
--- a/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals.hs
+++ b/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-list-fields generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-list-fields generated nominal declarations; do not edit.
 module Generated.ContractListFields.Nominals
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals/Internal.hs b/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals/Internal.hs
--- a/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals/Internal.hs
+++ b/test/conformance-contract-list-fields/Generated/ContractListFields/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-list-fields generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-list-fields generated nominal ID internals; do not edit.
 module Generated.ContractListFields.Nominals.Internal
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-contract-list-fields/Generated/ContractListFields/Structural/NominalLeaves.hs b/test/conformance-contract-list-fields/Generated/ContractListFields/Structural/NominalLeaves.hs
--- a/test/conformance-contract-list-fields/Generated/ContractListFields/Structural/NominalLeaves.hs
+++ b/test/conformance-contract-list-fields/Generated/ContractListFields/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-list-fields structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-list-fields structural nominal leaves; do not edit.
 module Generated.ContractListFields.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-contract-list-fields/Generated/ContractListFields/StructuralConformance.hs b/test/conformance-contract-list-fields/Generated/ContractListFields/StructuralConformance.hs
--- a/test/conformance-contract-list-fields/Generated/ContractListFields/StructuralConformance.hs
+++ b/test/conformance-contract-list-fields/Generated/ContractListFields/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context contract-list-fields structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context contract-list-fields structural conformance; do not edit.
 module Generated.ContractListFields.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-contract-list-fields/Generated/ContractListFields/Templates/Contract.hs b/test/conformance-contract-list-fields/Generated/ContractListFields/Templates/Contract.hs
--- a/test/conformance-contract-list-fields/Generated/ContractListFields/Templates/Contract.hs
+++ b/test/conformance-contract-list-fields/Generated/ContractListFields/Templates/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from contract templates; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract templates; do not edit.
 module Generated.ContractListFields.Templates.Contract
   ( TemplatesPayload (..)
   , TemplatesReassignedData (..)
diff --git a/test/conformance-contract-rollout/Main.hs b/test/conformance-contract-rollout/Main.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/Main.hs
@@ -0,0 +1,184 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+-- | Executed rollout proof for ExecPlan 345, Milestone 5.
+--
+-- @Before@ and @After@ are the generated modules of
+-- @test/fixtures/contract-rollout-before.keiro@ and
+-- @test/fixtures/contract-rollout-after.keiro@, compiled into one program under
+-- distinct module roots.  For each direction of each change the program runs
+-- the old encoder against the new decoder and the new encoder against the old
+-- decoder, then checks that the rollout @keiro-dsl diff@ reports for the same
+-- pair of sources is the one that behaviour requires.  A reversed rollout
+-- verdict therefore fails here even if the unit tests are edited to match it.
+module Main (main) where
+
+import After.Generated.ContractRollout.Growth.Contract qualified as AfterGrowth
+import After.Generated.ContractRollout.Origin.Contract qualified as AfterOrigin
+import After.Generated.ContractRollout.Presence.Contract qualified as AfterPresence
+import Before.Generated.ContractRollout.Growth.Contract qualified as BeforeGrowth
+import Before.Generated.ContractRollout.Origin.Contract qualified as BeforeOrigin
+import Before.Generated.ContractRollout.Presence.Contract qualified as BeforePresence
+import Data.Either (isLeft, isRight)
+import Data.Set (Set)
+import Data.Set qualified as Set
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Text.IO qualified as TIO
+import Keiro.Dsl.Diff (Change (..), ChangeKind (..), CompatibilityVector (..), RolloutConstraint (..), diffSources)
+import Keiro.Dsl.LanguageVersion (renderParseFailure)
+import Keiro.Dsl.Parser (parseSource)
+import Keiro.Dsl.Validate (DiagnosticCode (..))
+import System.Exit (exitFailure)
+
+-- | What running both generated versions shows for one direction of change.
+data Observed = Observed
+  { -- | A still-running old consumer decodes what the new producer writes.
+    oldReadsNew :: !Bool,
+    -- | The new consumer decodes what a still-running old producer wrote.
+    newReadsOld :: !Bool
+  }
+  deriving stock (Show)
+
+-- | Whether a reported rollout is the one the observed behaviour requires.
+--
+-- * @producer-first@ is safe only when old consumers read the new output, and
+--   it is required (with @drain-required@) when the new consumer rejects the
+--   old output.
+-- * @producer-last@ is safe only when the new consumer reads the old output,
+--   and it is required when old consumers reject the new output.
+rolloutMatches :: Observed -> Set RolloutConstraint -> Bool
+rolloutMatches observed rollout =
+  (not (has RolloutProducerFirst) || observed.oldReadsNew)
+    && (not (has RolloutProducerLast) || observed.newReadsOld)
+    && (observed.newReadsOld || (has RolloutProducerFirst && has RolloutDrainRequired))
+    && (observed.oldReadsNew || has RolloutProducerLast)
+  where
+    has = (`Set.member` rollout)
+
+-- Presence: Before declares `note: Optional text`, After declares `note: text`.
+
+presenceBefore :: Maybe Text -> BeforePresence.PresencePayload
+presenceBefore note = BeforePresence.Noted (BeforePresence.NotedData "subject-1" note)
+
+presenceAfter :: AfterPresence.PresencePayload
+presenceAfter = AfterPresence.Noted (AfterPresence.NotedData "subject-1" "a note")
+
+-- Forward reads old = Before, new = After; backward reads old = After,
+-- new = Before.
+presenceForward, presenceBackward :: Observed
+presenceForward =
+  Observed
+    { oldReadsNew = isRight (BeforePresence.parsePresencePayload (AfterPresence.encodePresencePayload presenceAfter)),
+      newReadsOld = isRight (AfterPresence.parsePresencePayload (BeforePresence.encodePresencePayload (presenceBefore Nothing)))
+    }
+presenceBackward =
+  Observed
+    { oldReadsNew = isRight (AfterPresence.parsePresencePayload (BeforePresence.encodePresencePayload (presenceBefore Nothing))),
+      newReadsOld = isRight (BeforePresence.parsePresencePayload (AfterPresence.encodePresencePayload presenceAfter))
+    }
+
+-- Origin: Before takes the event type from the envelope, After from a
+-- messageType body key.
+
+originBefore :: BeforeOrigin.OriginPayload
+originBefore = BeforeOrigin.Signaled (BeforeOrigin.SignaledData "subject-1")
+
+originAfter :: AfterOrigin.OriginPayload
+originAfter = AfterOrigin.Signaled (AfterOrigin.SignaledData "subject-1")
+
+-- The envelope always carries the event type the producer derived from
+-- messageTypeOf, whichever version wrote the body.
+readOriginBefore :: Text -> AfterOrigin.OriginPayload -> Bool
+readOriginBefore eventType payload = isRight (BeforeOrigin.parseOriginPayloadAs eventType (AfterOrigin.encodeOriginPayload payload))
+
+originForward, originBackward :: Observed
+originForward =
+  Observed
+    { oldReadsNew = readOriginBefore (AfterOrigin.messageTypeOf originAfter) originAfter,
+      newReadsOld = isRight (AfterOrigin.parseOriginPayload (BeforeOrigin.encodeOriginPayload originBefore))
+    }
+originBackward =
+  Observed
+    { oldReadsNew = isRight (AfterOrigin.parseOriginPayload (BeforeOrigin.encodeOriginPayload originBefore)),
+      newReadsOld = readOriginBefore (AfterOrigin.messageTypeOf originAfter) originAfter
+    }
+
+-- Growth: After adds `reason: Optional text`.
+
+growthBefore :: BeforeGrowth.GrowthPayload
+growthBefore = BeforeGrowth.Grown (BeforeGrowth.GrownData "subject-1")
+
+growthAfter :: Maybe Text -> AfterGrowth.GrowthPayload
+growthAfter reason = AfterGrowth.Grown (AfterGrowth.GrownData "subject-1" reason)
+
+growthForward, growthBackward :: Observed
+growthForward =
+  Observed
+    { oldReadsNew = isRight (BeforeGrowth.parseGrowthPayload (AfterGrowth.encodeGrowthPayload (growthAfter (Just "a reason")))),
+      newReadsOld = AfterGrowth.parseGrowthPayload (BeforeGrowth.encodeGrowthPayload growthBefore) == Right (growthAfter Nothing)
+    }
+growthBackward =
+  Observed
+    { oldReadsNew = AfterGrowth.parseGrowthPayload (BeforeGrowth.encodeGrowthPayload growthBefore) == Right (growthAfter Nothing),
+      newReadsOld = isRight (BeforeGrowth.parseGrowthPayload (AfterGrowth.encodeGrowthPayload (growthAfter (Just "a reason"))))
+    }
+
+changeKindOf :: Change -> ChangeKind
+changeKindOf (Additive kind) = kind
+changeKindOf (Advisory kind) = kind
+changeKindOf (Breaking kind) = kind
+
+-- | The rollout `keiro-dsl diff` reports for the one finding with this code
+-- on this contract, or 'Nothing' when there is not exactly one.
+reportedRollout :: [Change] -> Text -> DiagnosticCode -> Maybe (Set RolloutConstraint)
+reportedRollout changes contract code =
+  case [kind | kind <- map changeKindOf changes, kind.node == contract, kind.code == code] of
+    [kind] -> Just kind.vector.rollout
+    _ -> Nothing
+
+loadDiff :: FilePath -> FilePath -> IO [Change]
+loadDiff oldPath newPath = do
+  old <- parsed oldPath
+  new <- parsed newPath
+  either (fail . show) pure (diffSources old new)
+  where
+    parsed path = do
+      source <- TIO.readFile path
+      either (fail . T.unpack . renderParseFailure) pure (parseSource path source)
+
+main :: IO ()
+main = do
+  let beforePath = "test/fixtures/contract-rollout-before.keiro"
+      afterPath = "test/fixtures/contract-rollout-after.keiro"
+  forward <- loadDiff beforePath afterPath
+  backward <- loadDiff afterPath beforePath
+  let verdict changes contract code observed = maybe False (rolloutMatches observed) (reportedRollout changes contract code)
+      checks =
+        [ -- Optional to required: producer-first, drain-required.
+          ("optional to required: the old consumer reads the new producer's message", presenceForward.oldReadsNew),
+          ("optional to required: the new consumer rejects an old message that omits the key", not presenceForward.newReadsOld),
+          ("optional to required: the new consumer rejects it naming the key", either ("note" `T.isInfixOf`) (const False) (AfterPresence.parsePresencePayload (BeforePresence.encodePresencePayload (presenceBefore Nothing)))),
+          ("optional to required: diff reports the rollout the behaviour requires", verdict forward "presence" ContractFieldChanged presenceForward),
+          -- Required to optional: producer-last.
+          ("required to optional: the new consumer reads the old producer's message", presenceBackward.newReadsOld),
+          ("required to optional: the old consumer rejects a new message that omits the key", not presenceBackward.oldReadsNew),
+          ("required to optional: diff reports the rollout the behaviour requires", verdict backward "presence" ContractFieldChanged presenceBackward),
+          -- Envelope to body key: producer-first, drain-required.
+          ("envelope to body key: the old consumer reads the new producer's message", originForward.oldReadsNew),
+          ("envelope to body key: the new consumer rejects an old message without the key", not originForward.newReadsOld),
+          ("envelope to body key: diff reports the rollout the behaviour requires", verdict forward "origin" ContractDiscriminatorChanged originForward),
+          -- Body key to envelope: producer-last.
+          ("body key to envelope: the new consumer reads the old producer's message", originBackward.newReadsOld),
+          ("body key to envelope: the old consumer rejects a new message without the key", not originBackward.oldReadsNew),
+          ("body key to envelope: diff reports the rollout the behaviour requires", verdict backward "origin" ContractDiscriminatorChanged originBackward),
+          -- Added optional field: any order.
+          ("optional field added: the old consumer reads a new message carrying the key", growthForward.oldReadsNew),
+          ("optional field added: the new consumer reads an old message as Nothing", growthForward.newReadsOld),
+          ("optional field added: diff reports no rollout constraint", reportedRollout forward "growth" ContractOptionalFieldAdded == Just Set.empty),
+          ("optional field removed: diff reports a rollout the behaviour admits", verdict backward "growth" ContractFieldChanged growthBackward),
+          -- The checks above are meaningful only if a reversed verdict fails them.
+          ("a reversed verdict is detected", not (rolloutMatches presenceForward (Set.singleton RolloutProducerLast)) && not (rolloutMatches presenceBackward (Set.fromList [RolloutDrainRequired, RolloutProducerFirst]))),
+          ("an absent body key is rejected, not defaulted", isLeft (AfterOrigin.parseOriginPayload (BeforeOrigin.encodeOriginPayload originBefore)))
+        ]
+  mapM_ (\(label, ok) -> putStrLn ((if ok then "PASS  " else "FAIL  ") <> label)) checks
+  if all snd checks then pure () else exitFailure
diff --git a/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Growth/Contract.hs b/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Growth/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Growth/Contract.hs
@@ -0,0 +1,61 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract growth; do not edit.
+module After.Generated.ContractRollout.Growth.Contract
+  ( GrowthPayload (..)
+  , GrownData (..)
+  , notesTopic
+  , messageTypeOf
+  , encodeGrowthPayload
+  , parseGrowthPayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:), (.:?), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+notesTopic :: Text
+notesTopic = "rollout.growth"
+
+-- the closed payload set (discriminated by "messageType")
+data GrownData = GrownData { subject :: !Text, reason :: !(Maybe Text) }
+  deriving stock (Eq, Show)
+
+data GrowthPayload = Grown !GrownData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: GrowthPayload -> Text
+messageTypeOf = \case
+  Grown {} -> "Grown"
+
+encodeGrowthPayload :: GrowthPayload -> Value
+encodeGrowthPayload = \case
+  Grown payload ->
+    object
+      ( [ "messageType" .= ("Grown" :: Text)
+        , "subject" .= payload.subject
+        ]
+          <> ["reason" .= value | Just value <- [payload.reason]]
+      )
+
+parseGrowthPayload :: Value -> Either Text GrowthPayload
+parseGrowthPayload = mapLeftText . parseEither (withObject "GrowthPayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "Grown" ->
+          Grown
+            <$> ( GrownData
+                    <$> o .: "subject"
+                    <*> o .:? "reason"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Grown"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Grown")
diff --git a/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Origin/Contract.hs b/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Origin/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Origin/Contract.hs
@@ -0,0 +1,58 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract origin; do not edit.
+module After.Generated.ContractRollout.Origin.Contract
+  ( OriginPayload (..)
+  , SignaledData (..)
+  , signalsTopic
+  , messageTypeOf
+  , encodeOriginPayload
+  , parseOriginPayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+signalsTopic :: Text
+signalsTopic = "rollout.origin"
+
+-- the closed payload set (discriminated by "messageType")
+data SignaledData = SignaledData { subject :: !Text }
+  deriving stock (Eq, Show)
+
+data OriginPayload = Signaled !SignaledData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: OriginPayload -> Text
+messageTypeOf = \case
+  Signaled {} -> "Signaled"
+
+encodeOriginPayload :: OriginPayload -> Value
+encodeOriginPayload = \case
+  Signaled payload ->
+    object
+      [ "messageType" .= ("Signaled" :: Text)
+      , "subject" .= payload.subject
+      ]
+
+parseOriginPayload :: Value -> Either Text OriginPayload
+parseOriginPayload = mapLeftText . parseEither (withObject "OriginPayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "Signaled" ->
+          Signaled
+            <$> ( SignaledData
+                    <$> o .: "subject"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Signaled"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Signaled")
diff --git a/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Presence/Contract.hs b/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Presence/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/after/After/Generated/ContractRollout/Presence/Contract.hs
@@ -0,0 +1,60 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract presence; do not edit.
+module After.Generated.ContractRollout.Presence.Contract
+  ( PresencePayload (..)
+  , NotedData (..)
+  , notesTopic
+  , messageTypeOf
+  , encodePresencePayload
+  , parsePresencePayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+notesTopic :: Text
+notesTopic = "rollout.presence"
+
+-- the closed payload set (discriminated by "messageType")
+data NotedData = NotedData { subject :: !Text, note :: !Text }
+  deriving stock (Eq, Show)
+
+data PresencePayload = Noted !NotedData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: PresencePayload -> Text
+messageTypeOf = \case
+  Noted {} -> "Noted"
+
+encodePresencePayload :: PresencePayload -> Value
+encodePresencePayload = \case
+  Noted payload ->
+    object
+      [ "messageType" .= ("Noted" :: Text)
+      , "subject" .= payload.subject
+      , "note" .= payload.note
+      ]
+
+parsePresencePayload :: Value -> Either Text PresencePayload
+parsePresencePayload = mapLeftText . parseEither (withObject "PresencePayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "Noted" ->
+          Noted
+            <$> ( NotedData
+                    <$> o .: "subject"
+                    <*> o .: "note"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Noted"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Noted")
diff --git a/test/conformance-contract-rollout/after/keiro-dsl-cabal-fragment.context.contract-rollout.txt b/test/conformance-contract-rollout/after/keiro-dsl-cabal-fragment.context.contract-rollout.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/after/keiro-dsl-cabal-fragment.context.contract-rollout.txt
@@ -0,0 +1,21 @@
+-- keiro-dsl build manifest for keiro-dsl/test/fixtures/contract-rollout-after.keiro
+-- Paste the complete fragment below into the consuming Cabal stanza.
+-- The generated layer is overwritten on every scaffold; hole modules are
+-- create-if-absent (filled by hand).
+
+default-language: GHC2024
+default-extensions:
+    DuplicateRecordFields
+    NoFieldSelectors
+    OverloadedRecordDot
+    OverloadedStrings
+
+other-modules:
+    After.Generated.ContractRollout.Growth.Contract
+    After.Generated.ContractRollout.Origin.Contract
+    After.Generated.ContractRollout.Presence.Contract
+
+build-depends:
+    , aeson
+    , base
+    , text
diff --git a/test/conformance-contract-rollout/after/keiro-dsl-ledger.context.contract-rollout.txt b/test/conformance-contract-rollout/after/keiro-dsl-ledger.context.contract-rollout.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/after/keiro-dsl-ledger.context.contract-rollout.txt
@@ -0,0 +1,14 @@
+keiro-dsl scaffold record v1
+spec: keiro-dsl/test/fixtures/contract-rollout-after.keiro
+module-root: After
+layout: prefixed
+source-language {"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"sourceForm":"declared"}
+semantic-contract {"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"}
+naming-edition idiomatic-v2
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract presence (line 4)","path":"After/Generated/ContractRollout/Presence/Contract.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract origin (line 16)","path":"After/Generated/ContractRollout/Origin/Contract.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract growth (line 27)","path":"After/Generated/ContractRollout/Growth/Contract.hs"}
+generated After/Generated/ContractRollout/Presence/Contract.hs
+generated After/Generated/ContractRollout/Origin/Contract.hs
+generated After/Generated/ContractRollout/Growth/Contract.hs
+semantic-impact {"declarations":[],"mappedSurfaceEvidenceVersion":1,"serviceInventory":[]}
diff --git a/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Growth/Contract.hs b/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Growth/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Growth/Contract.hs
@@ -0,0 +1,58 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract growth; do not edit.
+module Before.Generated.ContractRollout.Growth.Contract
+  ( GrowthPayload (..)
+  , GrownData (..)
+  , notesTopic
+  , messageTypeOf
+  , encodeGrowthPayload
+  , parseGrowthPayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+notesTopic :: Text
+notesTopic = "rollout.growth"
+
+-- the closed payload set (discriminated by "messageType")
+data GrownData = GrownData { subject :: !Text }
+  deriving stock (Eq, Show)
+
+data GrowthPayload = Grown !GrownData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: GrowthPayload -> Text
+messageTypeOf = \case
+  Grown {} -> "Grown"
+
+encodeGrowthPayload :: GrowthPayload -> Value
+encodeGrowthPayload = \case
+  Grown payload ->
+    object
+      [ "messageType" .= ("Grown" :: Text)
+      , "subject" .= payload.subject
+      ]
+
+parseGrowthPayload :: Value -> Either Text GrowthPayload
+parseGrowthPayload = mapLeftText . parseEither (withObject "GrowthPayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "Grown" ->
+          Grown
+            <$> ( GrownData
+                    <$> o .: "subject"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Grown"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Grown")
diff --git a/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Origin/Contract.hs b/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Origin/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Origin/Contract.hs
@@ -0,0 +1,57 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract origin; do not edit.
+module Before.Generated.ContractRollout.Origin.Contract
+  ( OriginPayload (..)
+  , SignaledData (..)
+  , signalsTopic
+  , messageTypeOf
+  , encodeOriginPayload
+  , parseOriginPayloadAs
+  ) where
+
+import Data.Aeson (Value, object, withObject, (.:), (.=))
+import Data.Aeson.Types (Parser, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+signalsTopic :: Text
+signalsTopic = "rollout.origin"
+
+-- the closed payload set (discriminated by the envelope's event type)
+data SignaledData = SignaledData { subject :: !Text }
+  deriving stock (Eq, Show)
+
+data OriginPayload = Signaled !SignaledData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: OriginPayload -> Text
+messageTypeOf = \case
+  Signaled {} -> "Signaled"
+
+encodeOriginPayload :: OriginPayload -> Value
+encodeOriginPayload = \case
+  Signaled payload ->
+    object
+      [ "subject" .= payload.subject
+      ]
+
+parseOriginPayloadAs :: Text -> Value -> Either Text OriginPayload
+parseOriginPayloadAs eventType = mapLeftText . parseEither (withObject "OriginPayload" go)
+  where
+    go o = do
+      kind <- validateMessageType eventType
+      case kind of
+        "Signaled" ->
+          Signaled
+            <$> ( SignaledData
+                    <$> o .: "subject"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Signaled"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Signaled")
diff --git a/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Presence/Contract.hs b/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Presence/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/before/Before/Generated/ContractRollout/Presence/Contract.hs
@@ -0,0 +1,61 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract presence; do not edit.
+module Before.Generated.ContractRollout.Presence.Contract
+  ( PresencePayload (..)
+  , NotedData (..)
+  , notesTopic
+  , messageTypeOf
+  , encodePresencePayload
+  , parsePresencePayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:), (.:?), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+notesTopic :: Text
+notesTopic = "rollout.presence"
+
+-- the closed payload set (discriminated by "messageType")
+data NotedData = NotedData { subject :: !Text, note :: !(Maybe Text) }
+  deriving stock (Eq, Show)
+
+data PresencePayload = Noted !NotedData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: PresencePayload -> Text
+messageTypeOf = \case
+  Noted {} -> "Noted"
+
+encodePresencePayload :: PresencePayload -> Value
+encodePresencePayload = \case
+  Noted payload ->
+    object
+      ( [ "messageType" .= ("Noted" :: Text)
+        , "subject" .= payload.subject
+        ]
+          <> ["note" .= value | Just value <- [payload.note]]
+      )
+
+parsePresencePayload :: Value -> Either Text PresencePayload
+parsePresencePayload = mapLeftText . parseEither (withObject "PresencePayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "Noted" ->
+          Noted
+            <$> ( NotedData
+                    <$> o .: "subject"
+                    <*> o .:? "note"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["Noted"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: Noted")
diff --git a/test/conformance-contract-rollout/before/keiro-dsl-cabal-fragment.context.contract-rollout.txt b/test/conformance-contract-rollout/before/keiro-dsl-cabal-fragment.context.contract-rollout.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/before/keiro-dsl-cabal-fragment.context.contract-rollout.txt
@@ -0,0 +1,21 @@
+-- keiro-dsl build manifest for keiro-dsl/test/fixtures/contract-rollout-before.keiro
+-- Paste the complete fragment below into the consuming Cabal stanza.
+-- The generated layer is overwritten on every scaffold; hole modules are
+-- create-if-absent (filled by hand).
+
+default-language: GHC2024
+default-extensions:
+    DuplicateRecordFields
+    NoFieldSelectors
+    OverloadedRecordDot
+    OverloadedStrings
+
+other-modules:
+    Before.Generated.ContractRollout.Growth.Contract
+    Before.Generated.ContractRollout.Origin.Contract
+    Before.Generated.ContractRollout.Presence.Contract
+
+build-depends:
+    , aeson
+    , base
+    , text
diff --git a/test/conformance-contract-rollout/before/keiro-dsl-ledger.context.contract-rollout.txt b/test/conformance-contract-rollout/before/keiro-dsl-ledger.context.contract-rollout.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-contract-rollout/before/keiro-dsl-ledger.context.contract-rollout.txt
@@ -0,0 +1,14 @@
+keiro-dsl scaffold record v1
+spec: keiro-dsl/test/fixtures/contract-rollout-before.keiro
+module-root: Before
+layout: prefixed
+source-language {"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"sourceForm":"declared"}
+semantic-contract {"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"}
+naming-edition idiomatic-v2
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract presence (line 4)","path":"Before/Generated/ContractRollout/Presence/Contract.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract origin (line 16)","path":"Before/Generated/ContractRollout/Origin/Contract.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract growth (line 27)","path":"Before/Generated/ContractRollout/Growth/Contract.hs"}
+generated Before/Generated/ContractRollout/Presence/Contract.hs
+generated Before/Generated/ContractRollout/Origin/Contract.hs
+generated Before/Generated/ContractRollout/Growth/Contract.hs
+semantic-impact {"declarations":[],"mappedSurfaceEvidenceVersion":1,"serviceInventory":[]}
diff --git a/test/conformance-contract-v1-compat/Generated/HospitalCapacity/Emergency/Contract.hs b/test/conformance-contract-v1-compat/Generated/HospitalCapacity/Emergency/Contract.hs
--- a/test/conformance-contract-v1-compat/Generated/HospitalCapacity/Emergency/Contract.hs
+++ b/test/conformance-contract-v1-compat/Generated/HospitalCapacity/Emergency/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 1) from contract emergency; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 1) from contract emergency; do not edit.
 module Generated.HospitalCapacity.Emergency.Contract
   ( EmergencyPayload (..)
   , IncidentTransferNeedDeclaredData (..)
diff --git a/test/conformance-contract/Generated/HospitalCapacity/Emergency/Contract.hs b/test/conformance-contract/Generated/HospitalCapacity/Emergency/Contract.hs
--- a/test/conformance-contract/Generated/HospitalCapacity/Emergency/Contract.hs
+++ b/test/conformance-contract/Generated/HospitalCapacity/Emergency/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from contract emergency; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from contract emergency; do not edit.
 module Generated.HospitalCapacity.Emergency.Contract
   ( EmergencyPayload (..)
   , IncidentTransferNeedDeclaredData (..)
diff --git a/test/conformance-corpus-manifest.txt b/test/conformance-corpus-manifest.txt
--- a/test/conformance-corpus-manifest.txt
+++ b/test/conformance-corpus-manifest.txt
@@ -39,7 +39,6 @@
 uncompiled-generated keiro-dsl/test/conformance-id-domain-migration/Generated/IdDomainMigration/ReplayAudit.hs
 uncompiled-generated keiro-dsl/test/conformance-intake-full/Generated/HospitalCapacity/Emergency/Contract.hs
 uncompiled-generated keiro-dsl/test/conformance-intake-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
-uncompiled-generated keiro-dsl/test/conformance-newsurface/Generated/TransferRouting/Hospital/BehaviorContract.hs
 uncompiled-generated keiro-dsl/test/conformance-process-full/Generated/SurgeDemo/Hospital/BehaviorContract.hs
 uncompiled-generated keiro-dsl/test/conformance-process-full/Generated/SurgeDemo/Hospital/Harness.hs
 uncompiled-generated keiro-dsl/test/conformance-process-full/Generated/SurgeDemo/Surge/BehaviorContract.hs
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/BehaviorSourceMap.hs b/test/conformance-declarative-router/Generated/TransferRouting/BehaviorSourceMap.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/BehaviorSourceMap.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context transfer-routing behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context transfer-routing behavior source map; do not edit.
 module Generated.TransferRouting.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/BehaviorContract.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/BehaviorContract.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/BehaviorContract.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.TransferRouting.Hospital.Codec (encodeHospitalEvent, parseHospitalEvent, hospitalCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Codec.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Codec.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Codec.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Codec (
     hospitalCodec,
     parseHospitalEvent,
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Domain.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Domain.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Domain.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/EventStream.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/EventStream.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/EventStream.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.EventStream
   ( hospitalCategory
   , hospitalCommandCategory
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Harness.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Harness.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Harness.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Harness (harnessAssertions) where
 
 import Generated.TransferRouting.Hospital.Domain
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Projection.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Projection.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Projection.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Transducer.hs b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Transducer.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Transducer.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Hospital/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Transducer
   ( hospitalTransducer
   , hospitalFoldFingerprint
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/QueryContract.hs b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/QueryContract.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/QueryContract.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.QueryContract
   ( HospitalLoadQueryInput
   , HospitalLoadQueryResult
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModel.hs b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModel.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModel.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.ReadModel
   ( hospitalLoadReadModel
   , hospitalLoadQualifiedTable
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.TransferRouting.HospitalLoad.ReadModel (hospitalLoadReadModel)
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.ReadModelTable (hospitalLoadQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/Router.hs b/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/Router.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/Router.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/Router.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from router HospitalTransferRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from router HospitalTransferRouter; do not edit.
 module Generated.TransferRouting.HospitalTransferRouter.Router
   ( hospitalTransferRouterName
   , hospitalTransferRouterWorkerOptions
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs b/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from router HospitalTransferRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from router HospitalTransferRouter; do not edit.
 module Generated.TransferRouting.HospitalTransferRouter.RouterHarness (routerHarnessValues) where
 
 routerHarnessValues :: [(String, String)]
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Inspection.hs b/test/conformance-declarative-router/Generated/TransferRouting/Inspection.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Inspection.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context transfer-routing inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context transfer-routing inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/ProjectionCatalog.hs b/test/conformance-declarative-router/Generated/TransferRouting/ProjectionCatalog.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/ProjectionCatalog.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from projection-catalog transfer-routing; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from projection-catalog transfer-routing; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.TransferRouting.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/ReplayAudit.hs b/test/conformance-declarative-router/Generated/TransferRouting/ReplayAudit.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/ReplayAudit.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context transfer-routing replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context transfer-routing replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/HospitalLoadRow.hs b/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/HospitalLoadRow.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/HospitalLoadRow.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/HospitalLoadRow.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural HospitalLoadRow; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural HospitalLoadRow; do not edit.
 module Generated.TransferRouting.Structural.Shape.HospitalLoadRow (HospitalLoadRowShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/TransferRouteInput.hs b/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/TransferRouteInput.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/TransferRouteInput.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/Structural/Shape/TransferRouteInput.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural TransferRouteInput; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural TransferRouteInput; do not edit.
 module Generated.TransferRouting.Structural.Shape.TransferRouteInput (TransferRouteInputShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/StructuralConformance.hs b/test/conformance-declarative-router/Generated/TransferRouting/StructuralConformance.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/StructuralConformance.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context transfer-routing structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context transfer-routing structural conformance; do not edit.
 module Generated.TransferRouting.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-declarative-router/Generated/TransferRouting/StructuralProjections.hs b/test/conformance-declarative-router/Generated/TransferRouting/StructuralProjections.hs
--- a/test/conformance-declarative-router/Generated/TransferRouting/StructuralProjections.hs
+++ b/test/conformance-declarative-router/Generated/TransferRouting/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context transfer-routing mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context transfer-routing mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModel
   ( acceptedTransferNeedsReadModel
   , acceptedTransferNeedsQualifiedTable
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModel (acceptedTransferNeedsReadModel, acceptedTransferNeedsAsyncProjection)
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModelTable (acceptedTransferNeedsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/Queue.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/Queue.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/Queue.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 module Generated.HospitalCapacity.ReservationWork.Queue
   ( ReservationWorkItem (..)
   , encodeReservationWorkItem
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 module Generated.HospitalCapacity.ReservationWork.QueuePolicy
   ( ReservationWorkOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModel
   ( transferDecisionsReadModel
   , transferDecisionsQualifiedTable
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.TransferDecisions.ReadModel (transferDecisionsReadModel, transferDecisionsAsyncProjection)
diff --git a/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs b/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
--- a/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
+++ b/test/conformance-dispatch-full/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelTable (transferDecisionsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/BehaviorSourceMap.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/BehaviorSourceMap.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/BehaviorSourceMap.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context domain-outcomes behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context domain-outcomes behavior source map; do not edit.
 module Generated.DomainOutcomes.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Inspection.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Inspection.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Inspection.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context domain-outcomes inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context domain-outcomes inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Nominals.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Nominals.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Nominals.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Nominals.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context domain-outcomes generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context domain-outcomes generated nominal declarations; do not edit.
 module Generated.DomainOutcomes.Nominals where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/ReplayAudit.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/ReplayAudit.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/ReplayAudit.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context domain-outcomes replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context domain-outcomes replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/BehaviorContract.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/BehaviorContract.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/BehaviorContract.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.DomainOutcomes.Reservation.Codec (encodeReservationEvent, parseReservationEvent, reservationCodec)
@@ -235,6 +236,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Codec.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Codec.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Codec.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.Codec (
     reservationCodec,
     parseReservationEvent,
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Domain.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Domain.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Domain.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/EventStream.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/EventStream.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/EventStream.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.EventStream
   ( reservationCategory
   , reservationCommandCategory
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Harness.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Harness.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Harness.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.Harness (harnessAssertions) where
 
 import Generated.DomainOutcomes.Reservation.Domain
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Projection.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Projection.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Projection.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Transducer.hs b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Transducer.hs
--- a/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Transducer.hs
+++ b/test/conformance-domain-outcomes/Generated/DomainOutcomes/Reservation/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Reservation; do not edit.
 module Generated.DomainOutcomes.Reservation.Transducer
   ( reservationTransducer
   , reservationFoldFingerprint
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/BehaviorContract.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/BehaviorContract.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/BehaviorContract.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HistoryDependentHoles.Assignment.Codec (encodeAssignmentEvent, parseAssignmentEvent, assignmentCodec)
@@ -242,6 +243,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Codec.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Codec.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Codec.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.Codec (
     assignmentCodec,
     parseAssignmentEvent,
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Domain.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Domain.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Domain.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/EventStream.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/EventStream.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/EventStream.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.EventStream
   ( assignmentCategory
   , assignmentCommandCategory
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Harness.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Harness.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Harness.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.Harness (harnessAssertions) where
 
 import Generated.HistoryDependentHoles.Assignment.Domain
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Projection.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Projection.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Projection.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Transducer.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Transducer.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Transducer.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Assignment/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Assignment; do not edit.
 module Generated.HistoryDependentHoles.Assignment.Transducer
   ( assignmentTransducer
   , assignmentFoldFingerprint
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/BehaviorSourceMap.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/BehaviorSourceMap.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/BehaviorSourceMap.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context history-dependent-holes behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context history-dependent-holes behavior source map; do not edit.
 module Generated.HistoryDependentHoles.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Inspection.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Inspection.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Inspection.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context history-dependent-holes inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context history-dependent-holes inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/ReplayAudit.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/ReplayAudit.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/ReplayAudit.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context history-dependent-holes replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context history-dependent-holes replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/StructuralConformance.hs b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/StructuralConformance.hs
--- a/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/StructuralConformance.hs
+++ b/test/conformance-history-dependent-holes/Generated/HistoryDependentHoles/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context history-dependent-holes structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context history-dependent-holes structural conformance; do not edit.
 module Generated.HistoryDependentHoles.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-history-dependent-holes/Main.hs b/test/conformance-history-dependent-holes/Main.hs
--- a/test/conformance-history-dependent-holes/Main.hs
+++ b/test/conformance-history-dependent-holes/Main.hs
@@ -9,9 +9,14 @@
 import Keiki.Core qualified as K
 import System.Exit (exitFailure)
 import Control.Monad (unless)
+import TopologyMachineProof (proveTopologyMachines, topologyMachineProofLine, walkMachine)
 
 main :: IO ()
 main = do
+  -- Hole-bodied transitions: the edges stay generated even though their
+  -- bodies are hand-written, so the exported machine must still match keiki.
+  proof <- proveTopologyMachines "test/fixtures/history-dependent-holes.keiro" [] [walkMachine "Assignment" assignmentTransducer]
+  putStrLn (topologyMachineProofLine proof)
   mapM_ printRow harnessAssertions
   TIO.putStr (renderBehaviorConformanceText report)
   mapM_ printRow directAssertions
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/BehaviorSourceMap.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/BehaviorSourceMap.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/BehaviorSourceMap.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains behavior source map; do not edit.
 module Generated.IdAdmissionDomains.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Identities/Contract.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Identities/Contract.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Identities/Contract.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Identities/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from contract identities; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract identities; do not edit.
 module Generated.IdAdmissionDomains.Identities.Contract
   ( IdentitiesPayload (..)
   , IdentityLinkedData (..)
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/BehaviorContract.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/BehaviorContract.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/BehaviorContract.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IdAdmissionDomains.IdentityLedger.Codec (encodeIdentityLedgerEvent, parseIdentityLedgerEvent, identityLedgerCodec)
@@ -230,6 +231,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Codec.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Codec.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Codec.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.Codec (
     identityLedgerCodec,
     parseIdentityLedgerEvent,
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Domain.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Domain.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Domain.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/EventStream.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/EventStream.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/EventStream.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.EventStream
   ( identityLedgerCategory
   , identityLedgerCommandCategory
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Harness.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Harness.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Harness.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.Harness (harnessAssertions) where
 
 import Generated.IdAdmissionDomains.IdentityLedger.Domain
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Projection.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Projection.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Projection.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Transducer.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Transducer.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Transducer.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityLedger/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IdentityLedger; do not edit.
 module Generated.IdAdmissionDomains.IdentityLedger.Transducer
   ( identityLedgerTransducer
   , identityLedgerFoldFingerprint
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/Queue.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/Queue.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/Queue.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue identity_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue identity_work; do not edit.
 module Generated.IdAdmissionDomains.IdentityWork.Queue
   ( IdentityWork (..)
   , encodeIdentityWork
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueueCodec.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueueCodec.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueueCodec.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue identity_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue identity_work; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueuePolicy.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueuePolicy.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueuePolicy.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/IdentityWork/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue identity_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue identity_work; do not edit.
 module Generated.IdAdmissionDomains.IdentityWork.QueuePolicy
   ( IdentityWorkOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Inspection.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Inspection.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Inspection.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains generated nominal declarations; do not edit.
 module Generated.IdAdmissionDomains.Nominals
   ( LegacyId
   , parseLegacyId
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals/Internal.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals/Internal.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals/Internal.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains generated nominal ID internals; do not edit.
 module Generated.IdAdmissionDomains.Nominals.Internal
   ( LegacyId
   , parseLegacyId
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/ReplayAudit.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/ReplayAudit.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/ReplayAudit.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/NominalLeaves.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/NominalLeaves.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/NominalLeaves.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains structural nominal leaves; do not edit.
 module Generated.IdAdmissionDomains.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/Shape/IdentityEnvelope.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/Shape/IdentityEnvelope.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/Shape/IdentityEnvelope.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/Structural/Shape/IdentityEnvelope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural IdentityEnvelope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural IdentityEnvelope; do not edit.
 module Generated.IdAdmissionDomains.Structural.Shape.IdentityEnvelope (IdentityEnvelopeShape (..)) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralConformance.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralConformance.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralConformance.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains structural conformance; do not edit.
 module Generated.IdAdmissionDomains.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralProjections.hs b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralProjections.hs
--- a/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralProjections.hs
+++ b/test/conformance-id-admission-domains/Generated/IdAdmissionDomains/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context id-admission-domains mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context id-admission-domains mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/BehaviorSourceMap.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/BehaviorSourceMap.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/BehaviorSourceMap.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from context id-domain-migration behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from context id-domain-migration behavior source map; do not edit.
 module Generated.IdDomainMigration.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/Inspection.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/Inspection.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/Inspection.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from context id-domain-migration inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from context id-domain-migration inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from context id-domain-migration generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from context id-domain-migration generated nominal declarations; do not edit.
 module Generated.IdDomainMigration.Nominals
   ( OrderId
   , parseOrderId
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals/Internal.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals/Internal.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals/Internal.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from context id-domain-migration generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from context id-domain-migration generated nominal ID internals; do not edit.
 module Generated.IdDomainMigration.Nominals.Internal
   ( OrderId
   , parseOrderId
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/BehaviorContract.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/BehaviorContract.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/BehaviorContract.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IdDomainMigration.OrderBook.Codec (encodeOrderBookEvent, parseOrderBookEvent, orderBookCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Codec.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Codec.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Codec.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.Codec (
     orderBookCodec,
     parseOrderBookEvent,
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Domain.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Domain.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Domain.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/EventStream.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/EventStream.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/EventStream.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.EventStream
   ( orderBookCategory
   , orderBookCommandCategory
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Harness.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Harness.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Harness.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.Harness (harnessAssertions) where
 
 import Generated.IdDomainMigration.OrderBook.Domain
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Projection.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Projection.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Projection.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Transducer.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Transducer.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Transducer.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/OrderBook/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from aggregate OrderBook; do not edit.
 module Generated.IdDomainMigration.OrderBook.Transducer
   ( orderBookTransducer
   , orderBookFoldFingerprint
diff --git a/test/conformance-id-domain-migration/Generated/IdDomainMigration/ReplayAudit.hs b/test/conformance-id-domain-migration/Generated/IdDomainMigration/ReplayAudit.hs
--- a/test/conformance-id-domain-migration/Generated/IdDomainMigration/ReplayAudit.hs
+++ b/test/conformance-id-domain-migration/Generated/IdDomainMigration/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 3) from context id-domain-migration replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 3) from context id-domain-migration replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/BehaviorSourceMap.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/BehaviorSourceMap.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/BehaviorSourceMap.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context import-planning-collisions behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context import-planning-collisions behavior source map; do not edit.
 module Generated.ImportPlanningCollisions.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/BehaviorContract.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/BehaviorContract.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/BehaviorContract.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.ImportPlanningCollisions.CollisionLedger.Codec (encodeCollisionLedgerEvent, parseCollisionLedgerEvent, collisionLedgerCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Codec.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Codec.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Codec.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.Codec (
     collisionLedgerCodec,
     parseCollisionLedgerEvent,
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Domain.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Domain.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Domain.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/EventStream.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/EventStream.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/EventStream.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.EventStream
   ( collisionLedgerCategory
   , collisionLedgerCommandCategory
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Harness.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Harness.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Harness.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.Harness (harnessAssertions) where
 
 import Generated.ImportPlanningCollisions.CollisionLedger.Domain
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Projection.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Projection.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Projection.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Transducer.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Transducer.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Transducer.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/CollisionLedger/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate CollisionLedger; do not edit.
 module Generated.ImportPlanningCollisions.CollisionLedger.Transducer
   ( collisionLedgerTransducer
   , collisionLedgerFoldFingerprint
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/Inspection.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/Inspection.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/Inspection.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context import-planning-collisions inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context import-planning-collisions inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/NominalProjections.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/NominalProjections.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/NominalProjections.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/NominalProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context import-planning-collisions nominal scalar projection facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context import-planning-collisions nominal scalar projection facade; do not edit.
 module Generated.ImportPlanningCollisions.NominalProjections where
 
 import Data.Text (Text)
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/ReplayAudit.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/ReplayAudit.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/ReplayAudit.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context import-planning-collisions replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context import-planning-collisions replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/Structural/Shape/Details.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/Structural/Shape/Details.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/Structural/Shape/Details.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/Structural/Shape/Details.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural Details; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural Details; do not edit.
 module Generated.ImportPlanningCollisions.Structural.Shape.Details (DetailsShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralConformance.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralConformance.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralConformance.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context import-planning-collisions structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context import-planning-collisions structural conformance; do not edit.
 module Generated.ImportPlanningCollisions.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralProjections.hs b/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralProjections.hs
--- a/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralProjections.hs
+++ b/test/conformance-import-planning/Generated/ImportPlanningCollisions/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context import-planning-collisions mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context import-planning-collisions mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-intake-delegated-noop/DeliveryOutcomes/DeliveryOutcomeInbox/DelegatedIntegration.hs b/test/conformance-intake-delegated-noop/DeliveryOutcomes/DeliveryOutcomeInbox/DelegatedIntegration.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/DeliveryOutcomes/DeliveryOutcomeInbox/DelegatedIntegration.hs
@@ -0,0 +1,129 @@
+-- HAND-FILLED delegated integration: the generated runner fixes the intake
+-- policy, and this module supplies the downstream handler. A delivery status
+-- never moves backwards, so recording an outcome on a delivered stream is a
+-- replay-stable typed no-op. 'delegatedDomainCommand' acknowledges that no-op
+-- with a completed inbox row; an accepted outcome is acknowledged by its
+-- marker event. Any adapter failure leaves 'DelegatedOutcome' through the
+-- outer 'Error' effect, so it is never acknowledged.
+module DeliveryOutcomes.DeliveryOutcomeInbox.DelegatedIntegration
+  ( DeliveryIntakeFailure (..),
+    DeliveryResult,
+    consumerName,
+    recordOutcomeOperation,
+    deliveryTarget,
+    runDeliveryOutcomeInbox,
+    typedDeliveryHandler,
+    untypedDeliveryHandler,
+  )
+where
+
+import Data.Aeson (eitherDecodeStrict)
+import Data.Text (Text)
+import Data.Text qualified as Text
+import Effectful (Eff, IOE, (:>))
+import Effectful.Error.Static (Error, throwError)
+import Generated.DeliveryOutcomes.Courier.Contract (CourierPayload (..), DeliveryOutcomeReportedData (..), parseCourierPayload)
+import Generated.DeliveryOutcomes.DeliveryOutcomeInbox.Inbox (runInboxIntake)
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain (DeliveryStatusCommand (..), DeliveryStatusEvent, RecordOutcomeData (..))
+import Generated.DeliveryOutcomes.DeliveryStatus.EventStream
+  ( DeliveryStatusEventStreamDef,
+    deliveryStatusCategory,
+    deliveryStatusDomainCommandHandler,
+  )
+import Generated.DeliveryOutcomes.Nominals (DeliveryNoOp, DeliveryRejection)
+import Keiro.Command (CommandResult, defaultRunCommandOptions, forgetDomainDecision, runDomainCommand)
+import Keiro.Inbox.Delegated
+  ( DelegatedCommandError,
+    DelegatedDomainCommandError,
+    DelegatedDomainResult,
+    DelegatedNoOpReceipt (..),
+    delegatedCommand,
+    delegatedDomainCommand,
+    delegatedEventId,
+  )
+import Keiro.Inbox.Types (DelegatedOutcome, InboxError, InboxPersistence (..), InboxResult, KafkaDeliveryRef)
+import Keiro.Integration.Event (IntegrationEvent (..))
+import Keiro.Stream (Stream, entityStream, streamName)
+import Kiroku.Store.Effect (Store)
+import Kiroku.Store.Error (StoreError)
+
+-- | Why the handler refused to acknowledge a delivery. The typed rejection
+-- payload stays inside this value and is never rendered into logs.
+data DeliveryIntakeFailure
+  = UndecodablePayload !Text
+  | TypedAdapterFailed !(DelegatedDomainCommandError DeliveryRejection)
+  | UntypedAdapterFailed !DelegatedCommandError
+  deriving stock (Eq, Show)
+
+type DeliveryResult = DelegatedDomainResult DeliveryStatusEventStreamDef DeliveryStatusEvent DeliveryNoOp
+
+consumerName :: Text
+consumerName = "delivery-reputation"
+
+recordOutcomeOperation :: Text
+recordOutcomeOperation = "record-outcome"
+
+deliveryTarget :: Text -> Stream DeliveryStatusEventStreamDef
+deliveryTarget = entityStream deliveryStatusCategory
+
+runDeliveryOutcomeInbox ::
+  (IOE :> es) =>
+  IntegrationEvent ->
+  Maybe KafkaDeliveryRef ->
+  (Text -> IntegrationEvent -> Eff es (DelegatedOutcome a)) ->
+  Eff es (Either InboxError (InboxResult a))
+runDeliveryOutcomeInbox = runInboxIntake Nothing
+
+-- | The production handler: decode the payload and run the typed command
+-- through 'delegatedDomainCommand'. @beforeDispatch@ lets the test count
+-- downstream dispatches.
+typedDeliveryHandler ::
+  (IOE :> es, Store :> es, Error StoreError :> es, Error DeliveryIntakeFailure :> es) =>
+  Eff es () ->
+  Maybe KafkaDeliveryRef ->
+  Text ->
+  IntegrationEvent ->
+  Eff es (DelegatedOutcome DeliveryResult)
+typedDeliveryHandler beforeDispatch kafka dedupe event = do
+  report <- decodeReport event
+  let target = deliveryTarget report.deliveryId
+      receipt =
+        DelegatedNoOpReceipt
+          { consumer = consumerName,
+            operation = recordOutcomeOperation,
+            dedupeKey = dedupe,
+            event,
+            kafka,
+            persistence = PersistFullEnvelope
+          }
+  outcome <-
+    delegatedDomainCommand receipt defaultRunCommandOptions (streamName target) $ \prepared -> do
+      beforeDispatch
+      runDomainCommand prepared deliveryStatusDomainCommandHandler target (RecordOutcome (RecordOutcomeData report.outcome))
+  either (throwError . TypedAdapterFailed) pure outcome
+
+-- | The historical adapter with the typed decision erased. A silent edge is
+-- indistinguishable from an unexplained zero-event success, so it is refused.
+untypedDeliveryHandler ::
+  (IOE :> es, Store :> es, Error StoreError :> es, Error DeliveryIntakeFailure :> es) =>
+  Text ->
+  IntegrationEvent ->
+  Eff es (DelegatedOutcome (CommandResult DeliveryStatusEventStreamDef))
+untypedDeliveryHandler dedupe event = do
+  report <- decodeReport event
+  let target = deliveryTarget report.deliveryId
+      marker = delegatedEventId consumerName event.source dedupe (streamName target) recordOutcomeOperation
+  outcome <-
+    delegatedCommand defaultRunCommandOptions (streamName target) marker $ \prepared ->
+      fmap forgetDomainDecision
+        <$> runDomainCommand prepared deliveryStatusDomainCommandHandler target (RecordOutcome (RecordOutcomeData report.outcome))
+  either (throwError . UntypedAdapterFailed) pure outcome
+
+decodeReport :: (Error DeliveryIntakeFailure :> es) => IntegrationEvent -> Eff es DeliveryOutcomeReportedData
+decodeReport event =
+  case eitherDecodeStrict event.payloadBytes of
+    Left err -> throwError (UndecodablePayload (Text.pack err))
+    Right value -> case parseCourierPayload value of
+      Left err -> throwError (UndecodablePayload err)
+      Right (DeliveryOutcomeReported report) -> pure report
+
diff --git a/test/conformance-intake-delegated-noop/DeliveryOutcomes/DeliveryStatus/BehaviorHoles.hs b/test/conformance-intake-delegated-noop/DeliveryOutcomes/DeliveryStatus/BehaviorHoles.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/DeliveryOutcomes/DeliveryStatus/BehaviorHoles.hs
@@ -0,0 +1,20 @@
+-- Consumer-owned behavioral witnesses. Created once; never overwritten.
+module DeliveryOutcomes.DeliveryStatus.BehaviorHoles (behaviorWitnesses) where
+
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.Text (Text)
+import Generated.DeliveryOutcomes.DeliveryStatus.BehaviorContract
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain
+import Generated.DeliveryOutcomes.Nominals (DeliveryNoOp (..))
+
+behaviorWitnesses :: [BehaviorWitness]
+behaviorWitnesses =
+  [ LiveWitness (BehaviorKey "behavior-v1-ac132150262d872a") [] (recordOutcome "delivered") (Emits (outcomeRecorded "delivered" :| [])),
+    LiveWitness (BehaviorKey "behavior-v1-ac37ab6d84cb0fa7") [outcomeRecorded "delivered"] (recordOutcome "failed") (NoOpWith AlreadyFinal)
+  ]
+
+recordOutcome :: Text -> DeliveryStatusCommand
+recordOutcome value = RecordOutcome (RecordOutcomeData value)
+
+outcomeRecorded :: Text -> DeliveryStatusEvent
+outcomeRecorded value = OutcomeRecorded (OutcomeRecordedData value)
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/BehaviorSourceMap.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/BehaviorSourceMap.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/BehaviorSourceMap.hs
@@ -0,0 +1,30 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context delivery-outcomes behavior source map; do not edit.
+module Generated.DeliveryOutcomes.BehaviorSourceMap
+  ( BehaviorSourceLocation (..)
+  , behaviorSourceLocation
+  , renderBehaviorSourceLocation
+  ) where
+
+import Data.Text (Text)
+import Data.Text qualified as T
+
+data BehaviorSourceLocation = BehaviorSourceLocation
+  { file :: !FilePath
+  , line :: !Int
+  , column :: !Int
+  }
+  deriving stock (Eq, Ord, Show)
+
+behaviorSourceLocation :: Text -> Maybe BehaviorSourceLocation
+behaviorSourceLocation key = case key of
+  "behavior-v1-ac132150262d872a" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/intake-delegated-noop.keiro" 64 3)
+  "behavior-v1-ac37ab6d84cb0fa7" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/intake-delegated-noop.keiro" 70 3)
+  _ -> Nothing
+
+renderBehaviorSourceLocation :: Text -> Text
+renderBehaviorSourceLocation key = case behaviorSourceLocation key of
+  Just location -> T.pack location.file <> ":" <> tshow location.line <> ":" <> tshow location.column
+  Nothing -> "<internal invariant: missing behavior source for " <> key <> ">"
+
+tshow :: Show value => value -> Text
+tshow = T.pack . show
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Courier/Contract.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Courier/Contract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Courier/Contract.hs
@@ -0,0 +1,60 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract courier; do not edit.
+module Generated.DeliveryOutcomes.Courier.Contract
+  ( CourierPayload (..)
+  , DeliveryOutcomeReportedData (..)
+  , deliveryEventsTopic
+  , messageTypeOf
+  , encodeCourierPayload
+  , parseCourierPayload
+  ) where
+
+import Data.Aeson (Value, object, withObject, withText, (.:), (.=))
+import Data.Aeson.Types (Parser, explicitParseField, parseEither)
+import Data.Text (Text)
+import qualified Data.Text as T
+
+-- topic constants
+deliveryEventsTopic :: Text
+deliveryEventsTopic = "courier.delivery.events"
+
+-- the closed payload set (discriminated by "messageType")
+data DeliveryOutcomeReportedData = DeliveryOutcomeReportedData { deliveryId :: !Text, outcome :: !Text }
+  deriving stock (Eq, Show)
+
+data CourierPayload = DeliveryOutcomeReported !DeliveryOutcomeReportedData
+  deriving stock (Eq, Show)
+
+messageTypeOf :: CourierPayload -> Text
+messageTypeOf = \case
+  DeliveryOutcomeReported {} -> "DeliveryOutcomeReported"
+
+encodeCourierPayload :: CourierPayload -> Value
+encodeCourierPayload = \case
+  DeliveryOutcomeReported payload ->
+    object
+      [ "messageType" .= ("DeliveryOutcomeReported" :: Text)
+      , "deliveryId" .= payload.deliveryId
+      , "outcome" .= payload.outcome
+      ]
+
+parseCourierPayload :: Value -> Either Text CourierPayload
+parseCourierPayload = mapLeftText . parseEither (withObject "CourierPayload" go)
+  where
+    go o = do
+      kind <- explicitParseField (withText "messageType" validateMessageType) o "messageType"
+      case kind of
+        "DeliveryOutcomeReported" ->
+          DeliveryOutcomeReported
+            <$> ( DeliveryOutcomeReportedData
+                    <$> o .: "deliveryId"
+                    <*> o .: "outcome"
+                )
+        _ -> fail "validated message type was not handled"
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+validateMessageType :: Text -> Parser Text
+validateMessageType kind
+  | kind `elem` ["DeliveryOutcomeReported"] = pure kind
+  | otherwise = fail ("unknown message type " <> show kind <> "; expected one of: DeliveryOutcomeReported")
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryOutcomeInbox/Inbox.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryOutcomeInbox/Inbox.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryOutcomeInbox/Inbox.hs
@@ -0,0 +1,93 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from intake deliveryOutcomeInbox; do not edit.
+module Generated.DeliveryOutcomes.DeliveryOutcomeInbox.Inbox
+  ( InboxFailure (..)
+  , DeliveryOutcomeInboxOutcome (..)
+  , DeliveryOutcomeInboxDisposition (..)
+  , inboxDedupePolicy
+  , inboxIdempotence
+  , runInboxIntake
+  , inboxDispositionFor
+  , inboxDisposition
+  ) where
+
+import Data.Text (Text)
+import Effectful (Eff, IOE, (:>))
+import Keiro.Inbox (runInboxDelegated)
+import Keiro.Inbox.Types (DelegatedOutcome, InboxDedupePolicy (..), InboxError, InboxIdempotence (..), InboxResult (..), KafkaDeliveryRef, RetryDelay (..))
+import Keiro.Integration.Event (IntegrationEvent)
+import Keiro.Telemetry (KeiroMetrics)
+
+-- The dedupe policy (hole-kind 4), lowered to the live InboxDedupePolicy.
+inboxDedupePolicy :: InboxDedupePolicy
+inboxDedupePolicy = PreferIntegrationMessageId
+
+-- | The downstream state machine owns the durable dedupe receipt.
+inboxIdempotence :: InboxIdempotence
+inboxIdempotence = IdempotenceDelegated
+
+-- | Run this intake without reading or writing the Keiro inbox table.
+runInboxIntake ::
+  IOE :> es =>
+  Maybe KeiroMetrics ->
+  IntegrationEvent ->
+  Maybe KafkaDeliveryRef ->
+  (Text -> IntegrationEvent -> Eff es (DelegatedOutcome a)) ->
+  Eff es (Either InboxError (InboxResult a))
+runInboxIntake metrics event delivery =
+  runInboxDelegated metrics inboxDedupePolicy event delivery
+
+-- Runtime failure detail retained when the inbox wrapper reports a failed handler attempt.
+data InboxFailure = InboxFailure
+  { reason :: !Text
+  , attempt :: !(Maybe Int)
+  }
+  deriving stock (Eq, Show)
+
+-- Every classification named by the spec. Keeping this closed makes the
+-- generated table exhaustive and gives handler holes typed inputs.
+data DeliveryOutcomeInboxOutcome
+  = DeliveryOutcomeInboxProcessed
+  | DeliveryOutcomeInboxDuplicate
+  | DeliveryOutcomeInboxInProgress
+  | DeliveryOutcomeInboxPreviouslyFailed
+  | DeliveryOutcomeInboxDecodeFailed
+  | DeliveryOutcomeInboxDedupeFailed
+  | DeliveryOutcomeInboxStoreFailed
+  deriving stock (Eq, Show)
+
+-- The service's declared acknowledgement decision, including its details.
+data DeliveryOutcomeInboxDisposition
+  = InboxAccept
+  | InboxRetryAfter !RetryDelay !(Maybe InboxFailure)
+  | InboxDeadLetter !(Maybe Text) !(Maybe InboxFailure)
+  deriving stock (Eq, Show)
+
+-- The complete disposition table (hole-kind 2).
+inboxDispositionFor :: DeliveryOutcomeInboxOutcome -> DeliveryOutcomeInboxDisposition
+inboxDispositionFor outcome = case outcome of
+  DeliveryOutcomeInboxProcessed -> InboxAccept
+  DeliveryOutcomeInboxDuplicate -> InboxAccept
+  DeliveryOutcomeInboxInProgress -> InboxRetryAfter (RetryDelay 5) Nothing
+  DeliveryOutcomeInboxPreviouslyFailed -> InboxDeadLetter (Just "previous inbox failure") Nothing
+  DeliveryOutcomeInboxDecodeFailed -> InboxDeadLetter Nothing Nothing
+  DeliveryOutcomeInboxDedupeFailed -> InboxDeadLetter Nothing Nothing
+  DeliveryOutcomeInboxStoreFailed -> InboxRetryAfter (RetryDelay 5) Nothing
+
+-- Lower the LIVE Keiro.Inbox.Types.InboxResult without an open fallback.
+inboxDisposition :: InboxResult a -> DeliveryOutcomeInboxDisposition
+inboxDisposition r = case r of
+  InboxProcessed _ -> inboxDispositionFor DeliveryOutcomeInboxProcessed
+  InboxDuplicate -> inboxDispositionFor DeliveryOutcomeInboxDuplicate
+  InboxInProgress -> inboxDispositionFor DeliveryOutcomeInboxInProgress
+  InboxPreviouslyFailed failureReason ->
+    maybe (inboxDispositionFor DeliveryOutcomeInboxPreviouslyFailed)
+      (\reason -> attachFailure (InboxFailure reason Nothing) (inboxDispositionFor DeliveryOutcomeInboxPreviouslyFailed))
+      failureReason
+  InboxHandlerFailed reason attempts ->
+    attachFailure (InboxFailure reason (Just attempts)) (inboxDispositionFor DeliveryOutcomeInboxStoreFailed)
+
+attachFailure :: InboxFailure -> DeliveryOutcomeInboxDisposition -> DeliveryOutcomeInboxDisposition
+attachFailure failure disposition = case disposition of
+  InboxRetryAfter delay _ -> InboxRetryAfter delay (Just failure)
+  InboxDeadLetter reason _ -> InboxDeadLetter reason (Just failure)
+  InboxAccept -> InboxAccept
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/BehaviorContract.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/BehaviorContract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/BehaviorContract.hs
@@ -0,0 +1,416 @@
+{-# LANGUAGE OverloadedLabels #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.BehaviorContract
+  ( BehaviorKey (..)
+  , unBehaviorKey
+  , ObligationKind (..)
+  , EvidenceLevel (..)
+  , GuardCoverage (..)
+  , BehaviorRequirement (..)
+  , RejectionClass (..)
+  , LiveExpectation (..)
+  , BehaviorWitness (..)
+  , BehaviorFailure (..)
+  , BehaviorConformanceReport (..)
+  , behaviorRequirements
+  , behaviorCoverageReport
+  , behaviorObligationReport
+  , behaviorConformancePassed
+  , behaviorConformancePassedWith
+  , renderBehaviorConformanceText
+  , behaviorConformanceRows
+  ) where
+
+import Generated.DeliveryOutcomes.DeliveryStatus.Codec (encodeDeliveryStatusEvent, parseDeliveryStatusEvent, deliveryStatusCodec)
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain
+import Generated.DeliveryOutcomes.DeliveryStatus.Transducer (deliveryStatusTransducer)
+import Generated.DeliveryOutcomes.BehaviorSourceMap qualified as BehaviorSourceMap
+import Generated.DeliveryOutcomes.DeliveryStatus.EventStream (deliveryStatusDomainCommandHandler)
+import Generated.DeliveryOutcomes.Nominals (DeliveryNoOp, DeliveryRejection)
+import Keiro.Command (DomainCommandHandler (..), SilentCommandContext (..), SilentDomainDecision (..))
+import Data.Aeson (ToJSON (..), object, (.=))
+import Data.List (sortOn)
+import Data.List.NonEmpty (NonEmpty)
+import Data.List.NonEmpty qualified as NonEmpty
+import Data.Map.Strict qualified as Map
+import Data.Text (Text)
+import Data.Text qualified as T
+import Keiki.Core qualified as K (EdgeMode (..), EdgeRef (..), RegFile, ReplayAttribution (..), ReplayEventSpan (..), ReplaySuccess (..), StepFailure (..), StepSuccess (..), applyEventsDetailedEither, stepDetailedEither, (!))
+import Keiro.Codec qualified as Codec (Codec (eventType), EventType (..))
+
+newtype BehaviorKey = BehaviorKey { unBehaviorKey :: Text }
+  deriving stock (Eq, Ord, Show)
+
+unBehaviorKey :: BehaviorKey -> Text
+unBehaviorKey (BehaviorKey value) = value
+
+data ObligationKind = LiveTransition | RequiredRejection | ReplayTransition
+  deriving stock (Eq, Ord, Show)
+
+data EvidenceLevel = GeneratedAuthoritative | HoleWitnessed | LegacyRuntimeWitness
+  deriving stock (Eq, Ord, Show)
+
+data GuardCoverage = GuardTotal | GuardPartial | GuardUnknown | GuardNotApplicable
+  deriving stock (Eq, Ord, Show)
+
+data BehaviorRequirement = BehaviorRequirement
+  { key :: !BehaviorKey
+  , kind :: !ObligationKind
+  , evidence :: !EvidenceLevel
+  , guardCoverage :: !GuardCoverage
+  , source :: !DeliveryStatusVertex
+  , commandName :: !Text
+  , expectedEdge :: !(Maybe (K.EdgeRef DeliveryStatusVertex))
+  , target :: !(Maybe DeliveryStatusVertex)
+  , eventKinds :: ![Text]
+  }
+  deriving stock (Eq, Show)
+
+data RejectionClass = RejectNoOutgoingEdges | RejectNoMatchingEdge
+  deriving stock (Eq, Show)
+
+data LiveExpectation
+  = Emits (NonEmpty DeliveryStatusEvent)
+  | Rejects RejectionClass
+  | RejectedWith DeliveryRejection
+  | NoOpWith DeliveryNoOp
+  | NoOp
+  deriving stock (Eq, Show)
+
+data BehaviorWitness
+  = Pending BehaviorKey
+  | LiveWitness
+      { key :: BehaviorKey
+      , history :: [DeliveryStatusEvent]
+      , command :: DeliveryStatusCommand
+      , expected :: LiveExpectation
+      }
+  | ReplayWitness
+      { key :: BehaviorKey
+      , historyPrefix :: [DeliveryStatusEvent]
+      , observedChunk :: [DeliveryStatusEvent]
+      }
+  deriving stock (Eq, Show)
+
+data BehaviorFailure = BehaviorFailure
+  { key :: !BehaviorKey
+  , subject :: !Text
+  , code :: !Text
+  , detail :: !Text
+  }
+  deriving stock (Eq, Show)
+
+instance ToJSON BehaviorFailure where
+  toJSON behaviorFailure = object
+    [ "key" .= unBehaviorKey behaviorFailure.key
+    , "subject" .= behaviorFailure.subject
+    , "code" .= behaviorFailure.code
+    , "detail" .= behaviorFailure.detail
+    ]
+
+data BehaviorConformanceReport = BehaviorConformanceReport
+  { required :: ![BehaviorKey]
+  , filled :: ![BehaviorKey]
+  , pending :: ![BehaviorKey]
+  , missing :: ![BehaviorKey]
+  , duplicate :: ![BehaviorKey]
+  , stale :: ![BehaviorKey]
+  , failed :: ![BehaviorFailure]
+  , verified :: ![BehaviorKey]
+  , unverified :: ![BehaviorKey]
+  }
+  deriving stock (Eq, Show)
+
+instance ToJSON BehaviorConformanceReport where
+  toJSON report = object
+    [ "schema" .= ("keiro/behavior-conformance/1" :: Text)
+    , "required" .= keyTexts report.required
+    , "filled" .= keyTexts report.filled
+    , "pending" .= keyTexts report.pending
+    , "missing" .= keyTexts report.missing
+    , "duplicate" .= keyTexts report.duplicate
+    , "stale" .= keyTexts report.stale
+    , "failed" .= report.failed
+    , "verified" .= keyTexts report.verified
+    , "unverified" .= keyTexts report.unverified
+    ]
+
+behaviorRequirements :: [BehaviorRequirement]
+behaviorRequirements =
+  [ -- DeliveryStatusPending x RecordOutcome: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-ac132150262d872a"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = DeliveryStatusPending
+      , commandName = "RecordOutcome"
+      , expectedEdge = (Just (K.EdgeRef DeliveryStatusPending 0))
+      , target = Just DeliveryStatusDelivered
+      , eventKinds = ["OutcomeRecorded"]
+      }
+  , -- DeliveryStatusDelivered x RecordOutcome: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-ac37ab6d84cb0fa7"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = DeliveryStatusDelivered
+      , commandName = "RecordOutcome"
+      , expectedEdge = (Just (K.EdgeRef DeliveryStatusDelivered 0))
+      , target = Just DeliveryStatusDelivered
+      , eventKinds = []
+      }
+  ]
+
+behaviorCoverageReport :: [BehaviorWitness] -> BehaviorConformanceReport
+behaviorCoverageReport = coverageReportFor behaviorRequirements
+
+-- | Execute one required obligation and the witnesses carrying its key.
+-- Hole-owned initial harness probes use the consumer's history-backed evidence.
+behaviorObligationReport :: BehaviorKey -> [BehaviorWitness] -> BehaviorConformanceReport
+behaviorObligationReport key witnesses =
+  coverageReportFor
+    [requirement | requirement <- behaviorRequirements, requirement.key == key]
+    [witness | witness <- witnesses, behaviorWitnessKey witness == key]
+
+coverageReportFor :: [BehaviorRequirement] -> [BehaviorWitness] -> BehaviorConformanceReport
+coverageReportFor requirements witnesses =
+  BehaviorConformanceReport
+    { required = sortedKeys (Map.keys requiredByKey)
+    , filled = sortedKeys [key | (key, [witness]) <- Map.toList witnessGroups, Map.member key requiredByKey, not (isPending witness)]
+    , pending = sortedKeys [key | (key, rows) <- Map.toList witnessGroups, Map.member key requiredByKey, any isPending rows]
+    , missing = sortedKeys [key | key <- Map.keys requiredByKey, Map.notMember key witnessGroups]
+    , duplicate = sortedKeys [key | (key, rows) <- Map.toList witnessGroups, length rows > 1]
+    , stale = sortedKeys [key | key <- Map.keys witnessGroups, Map.notMember key requiredByKey]
+    , failed = sortOn (unBehaviorKey . (.key)) failures
+    , verified = sortedKeys [requirement.key | (requirement, Right ()) <- executions, proofStrength requirement]
+    , unverified = sortedKeys [requirement.key | (requirement, Right ()) <- executions, not (proofStrength requirement)]
+    }
+ where
+  requiredByKey = Map.fromList [(requirement.key, requirement) | requirement <- requirements]
+  witnessGroups = Map.fromListWith (flip (<>)) [(behaviorWitnessKey witness, [witness]) | witness <- witnesses]
+  executions =
+    [ (requirement, runWitness requirement witness)
+    | (key, [witness]) <- Map.toList witnessGroups
+    , not (isPending witness)
+    , Just requirement <- [Map.lookup key requiredByKey]
+    ]
+  failures = [behaviorFailure | (_, Left behaviorFailure) <- executions]
+
+behaviorConformancePassed :: BehaviorConformanceReport -> Bool
+behaviorConformancePassed = behaviorConformancePassedWith False
+
+behaviorConformancePassedWith :: Bool -> BehaviorConformanceReport -> Bool
+behaviorConformancePassedWith failOnUnverified report =
+  null report.pending
+    && null report.missing
+    && null report.duplicate
+    && null report.stale
+    && null report.failed
+    && (not failOnUnverified || null report.unverified)
+
+renderBehaviorConformanceText :: BehaviorConformanceReport -> Text
+renderBehaviorConformanceText report = T.unlines
+  [ "behavior conformance: DeliveryStatus"
+  , "schema: keiro/behavior-conformance/1"
+  , countLine "required" report.required
+  , countLine "filled" report.filled
+  , countLine "pending" report.pending
+  , countLine "missing" report.missing
+  , countLine "duplicate" report.duplicate
+  , countLine "stale" report.stale
+  , "failed: " <> tshow (length report.failed)
+  , countLine "verified" report.verified
+  , countLine "unverified" report.unverified
+  ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
+
+runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
+runWitness requirement witness = case witness of
+  Pending _ -> failure requirement "pending" "witness is still Pending"
+  LiveWitness _ history command expectation -> runLive requirement history command expectation
+  ReplayWitness _ prefix chunk -> runReplay requirement prefix chunk
+
+runLive :: BehaviorRequirement -> [DeliveryStatusEvent] -> DeliveryStatusCommand -> LiveExpectation -> Either BehaviorFailure ()
+runLive requirement history command expectation = do
+  settled <- settleHistory requirement "history" history
+  ensure requirement (K.replaySuccessState settled == requirement.source) "history-wrong-source" "history does not settle at the required source vertex"
+  ensure requirement (commandKind command == requirement.commandName) "command-mismatch" "witness command constructor does not match the required state/command cell"
+  case requirement.kind of
+    ReplayTransition -> failure requirement "witness-kind" "a replay-only requirement needs ReplayWitness"
+    RequiredRejection -> runRejection requirement (K.replaySuccessState settled, K.replaySuccessRegs settled) command expectation
+    LiveTransition -> runAcceptance requirement (K.replaySuccessState settled, K.replaySuccessRegs settled) command expectation
+
+runRejection :: BehaviorRequirement -> (DeliveryStatusVertex, K.RegFile DeliveryStatusRegs) -> DeliveryStatusCommand -> LiveExpectation -> Either BehaviorFailure ()
+runRejection requirement seed command expectation = case expectation of
+  Emits _ -> failure requirement "expectation-kind" "a rejection requirement cannot expect emitted events"
+  RejectedWith _ -> failure requirement "expectation-kind" "an unmatched-command rejection cannot expect a selected domain rejection"
+  NoOpWith _ -> failure requirement "expectation-kind" "an unmatched-command rejection cannot expect a selected domain no-op"
+  NoOp -> failure requirement "expectation-kind" "a rejection requirement cannot expect an accepted no-op"
+  Rejects expectedClass -> case K.stepDetailedEither deliveryStatusTransducer seed command of
+    Left K.NoOutgoingEdges {} -> ensure requirement (expectedClass == RejectNoOutgoingEdges) "rejection-class" "expected NoMatchingEdge but runtime returned NoOutgoingEdges"
+    Left K.NoMatchingEdge {} -> ensure requirement (expectedClass == RejectNoMatchingEdge) "rejection-class" "expected NoOutgoingEdges but runtime returned NoMatchingEdge"
+    Left K.AmbiguousEdges {} -> failure requirement "ambiguous-edges" "AmbiguousEdges can never satisfy a rejection witness"
+    Right _ -> failure requirement "unexpected-acceptance" "runtime accepted a command required to reject"
+
+runAcceptance :: BehaviorRequirement -> (DeliveryStatusVertex, K.RegFile DeliveryStatusRegs) -> DeliveryStatusCommand -> LiveExpectation -> Either BehaviorFailure ()
+runAcceptance requirement seed command expectation = case expectation of
+  Rejects _ -> failure requirement "expectation-kind" "a live-transition requirement needs Emits or NoOp"
+  RejectedWith expectedReason -> do
+    decision <- runSilentDecision requirement seed command
+    case decision of
+      SilentRejected actualReason -> ensure requirement (actualReason == expectedReason) "domain-rejection-reason" ("selected rejection reason differs; actual=" <> tshow actualReason <> " expected=" <> tshow expectedReason)
+      SilentNoOp actualReason -> failure requirement "domain-outcome-kind" ("expected a selected rejection but classifier returned no-op " <> tshow actualReason)
+  NoOpWith expectedReason -> do
+    decision <- runSilentDecision requirement seed command
+    case decision of
+      SilentRejected actualReason -> failure requirement "domain-outcome-kind" ("expected a selected no-op but classifier returned rejection " <> tshow actualReason)
+      SilentNoOp actualReason -> ensure requirement (actualReason == expectedReason) "domain-noop-reason" ("selected no-op reason differs; actual=" <> tshow actualReason <> " expected=" <> tshow expectedReason)
+  NoOp -> failure requirement "expectation-kind" "an outcome-enabled transition requires RejectedWith or NoOpWith exact reason evidence"
+  Emits expectedEvents -> case K.stepDetailedEither deliveryStatusTransducer seed command of
+    Left stepFailure -> failure requirement "unexpected-rejection" (tshow stepFailure)
+    Right success -> do
+      checkAcceptedEnvelope requirement success
+      let expected = NonEmpty.toList expectedEvents
+          actual = K.stepSuccessOutputs success
+      ensure requirement (actual == expected) "event-value-mismatch" ("runtime event values differ from the exact witness expectation; actual=" <> tshow actual <> " expected=" <> tshow expected)
+      ensure requirement (map eventKind actual == requirement.eventKinds) "event-envelope-mismatch" ("runtime event kinds differ from the declared ordered envelope; actual=" <> tshow (map eventKind actual) <> " expected=" <> tshow requirement.eventKinds)
+      decoded <- either (failure requirement "emitted-codec-decode") Right (decodeEvents actual)
+      replayed <- case K.applyEventsDetailedEither deliveryStatusTransducer seed decoded of
+        Left replayFailure -> failure requirement "emitted-replay-failed" (tshow replayFailure)
+        Right replaySuccess -> Right replaySuccess
+      ensure requirement (K.replaySuccessState replayed == K.stepSuccessState success) "forward-replay-vertex" "decoded emissions replay to a different vertex"
+      ensure requirement (regsEqual (K.replaySuccessRegs replayed) (K.stepSuccessRegs success)) "forward-replay-registers" "decoded emissions replay to different registers"
+      checkSingleAttribution requirement K.Live (length decoded) (K.replaySuccessTrace replayed)
+
+runSilentDecision
+  :: BehaviorRequirement
+  -> (DeliveryStatusVertex, K.RegFile DeliveryStatusRegs)
+  -> DeliveryStatusCommand
+  -> Either BehaviorFailure (SilentDomainDecision DeliveryRejection DeliveryNoOp)
+runSilentDecision requirement seed command = case K.stepDetailedEither deliveryStatusTransducer seed command of
+  Left stepFailure -> failure requirement "unexpected-rejection" (tshow stepFailure)
+  Right success -> do
+    checkAcceptedEnvelope requirement success
+    ensure requirement (null (K.stepSuccessOutputs success)) "silent-emitted" "typed silent outcome emitted one or more events"
+    ensure requirement (K.stepSuccessState success == fst seed) "silent-vertex-change" "typed silent outcome changed the control vertex"
+    ensure requirement (regsEqual (K.stepSuccessRegs success) (snd seed)) "silent-register-change" "typed silent outcome changed one or more registers"
+    case deliveryStatusDomainCommandHandler of
+      DomainCommandHandler _ classify ->
+        Right (classify (SilentCommandContext (fst seed) (snd seed) command (K.stepSuccessEdge success)))
+
+checkAcceptedEnvelope :: BehaviorRequirement -> K.StepSuccess DeliveryStatusRegs DeliveryStatusVertex DeliveryStatusEvent -> Either BehaviorFailure ()
+checkAcceptedEnvelope requirement success = do
+  ensure requirement (K.stepSuccessMode success == K.Live) "forward-mode" ("forward execution selected a non-live edge; actual=" <> tshow (K.stepSuccessMode success) <> " expected=" <> tshow K.Live)
+  ensure requirement (Just (K.stepSuccessEdge success) == requirement.expectedEdge) "edge-attribution" ("runtime selected a different guarded sibling; actual=" <> tshow (Just (K.stepSuccessEdge success)) <> " expected=" <> tshow requirement.expectedEdge)
+  ensure requirement (Just (K.stepSuccessState success) == requirement.target) "target-mismatch" ("runtime reached a different target vertex; actual=" <> tshow (Just (K.stepSuccessState success)) <> " expected=" <> tshow requirement.target)
+
+runReplay :: BehaviorRequirement -> [DeliveryStatusEvent] -> [DeliveryStatusEvent] -> Either BehaviorFailure ()
+runReplay requirement prefix chunk = case requirement.kind of
+  ReplayTransition -> do
+    settled <- settleHistory requirement "history-prefix" prefix
+    ensure requirement (K.replaySuccessState settled == requirement.source) "history-wrong-source" "history prefix does not settle at the replay edge source"
+    ensure requirement (not (null chunk)) "empty-replay-chunk" "a replay-only edge has no observable empty chunk"
+    decoded <- either (failure requirement "replay-chunk-codec-decode") Right (decodeEvents chunk)
+    replayed <- case K.applyEventsDetailedEither deliveryStatusTransducer (K.replaySuccessState settled, K.replaySuccessRegs settled) decoded of
+      Left replayFailure -> failure requirement "replay-chunk-failed" (tshow replayFailure)
+      Right replaySuccess -> Right replaySuccess
+    ensure requirement (Just (K.replaySuccessState replayed) == requirement.target) "target-mismatch" ("replay chunk reached a different target vertex; actual=" <> tshow (Just (K.replaySuccessState replayed)) <> " expected=" <> tshow requirement.target)
+    checkSingleAttribution requirement K.ReplayOnly (length decoded) (K.replaySuccessTrace replayed)
+  _ -> failure requirement "witness-kind" "ReplayWitness supplied for a non-replay requirement"
+
+checkSingleAttribution :: BehaviorRequirement -> K.EdgeMode -> Int -> [K.ReplayAttribution DeliveryStatusVertex] -> Either BehaviorFailure ()
+checkSingleAttribution requirement expectedMode eventCount trace = case trace of
+  [attribution] -> do
+    ensure requirement (Just (K.replayAttributionEdge attribution) == requirement.expectedEdge) "replay-edge-attribution" ("replay selected a different edge; actual=" <> tshow (Just (K.replayAttributionEdge attribution)) <> " expected=" <> tshow requirement.expectedEdge)
+    ensure requirement (K.replayAttributionMode attribution == expectedMode) "replay-mode-attribution" ("replay selected the wrong live/replay-only phase; actual=" <> tshow (K.replayAttributionMode attribution) <> " expected=" <> tshow expectedMode)
+    ensure requirement (K.replayAttributionSource attribution == requirement.source) "replay-source-attribution" ("replay attribution starts at the wrong source; actual=" <> tshow (K.replayAttributionSource attribution) <> " expected=" <> tshow requirement.source)
+    ensure requirement (Just (K.replayAttributionTarget attribution) == requirement.target) "replay-target-attribution" ("replay attribution ends at the wrong target; actual=" <> tshow (Just (K.replayAttributionTarget attribution)) <> " expected=" <> tshow requirement.target)
+    ensure requirement (K.replayAttributionSpan attribution == K.ReplayEventSpan 0 eventCount) "replay-span-attribution" ("replay attribution did not consume the exact chunk; actual=" <> tshow (K.replayAttributionSpan attribution) <> " expected=" <> tshow (K.ReplayEventSpan 0 eventCount))
+  _ -> failure requirement "replay-trace-cardinality" "expected exactly one completed-edge attribution"
+
+settleHistory :: BehaviorRequirement -> Text -> [DeliveryStatusEvent] -> Either BehaviorFailure (K.ReplaySuccess DeliveryStatusRegs DeliveryStatusVertex)
+settleHistory requirement label history = do
+  decoded <- either (failure requirement (label <> "-codec-decode")) Right (decodeEvents history)
+  case K.applyEventsDetailedEither deliveryStatusTransducer (DeliveryStatusPending, initialDeliveryStatusRegs) decoded of
+    Left replayFailure -> failure requirement (label <> "-replay-failed") (tshow replayFailure)
+    Right replaySuccess -> Right replaySuccess
+
+decodeEvents :: [DeliveryStatusEvent] -> Either Text [DeliveryStatusEvent]
+decodeEvents = traverse (\event -> parseDeliveryStatusEvent (Codec.eventType deliveryStatusCodec event) (encodeDeliveryStatusEvent event))
+
+commandKind :: DeliveryStatusCommand -> Text
+commandKind command = case command of
+  RecordOutcome _ -> "RecordOutcome"
+
+eventKind :: DeliveryStatusEvent -> Text
+eventKind event = case Codec.eventType deliveryStatusCodec event of Codec.EventType tag -> tag
+
+regsEqual :: K.RegFile DeliveryStatusRegs -> K.RegFile DeliveryStatusRegs -> Bool
+regsEqual left right = (left K.! #finalOutcome) == (right K.! #finalOutcome)
+
+proofStrength :: BehaviorRequirement -> Bool
+proofStrength requirement =
+  requirement.evidence == GeneratedAuthoritative
+    && requirement.guardCoverage `elem` [GuardTotal, GuardNotApplicable]
+
+behaviorWitnessKey :: BehaviorWitness -> BehaviorKey
+behaviorWitnessKey witness = case witness of
+  Pending key -> key
+  LiveWitness { key = key } -> key
+  ReplayWitness { key = key } -> key
+
+isPending :: BehaviorWitness -> Bool
+isPending Pending {} = True
+isPending _ = False
+
+ensure :: BehaviorRequirement -> Bool -> Text -> Text -> Either BehaviorFailure ()
+ensure requirement condition code detail = if condition then Right () else failure requirement code detail
+failure :: BehaviorRequirement -> Text -> Text -> Either BehaviorFailure failed
+failure requirement code detail =
+  Left
+    ( BehaviorFailure
+        requirement.key
+        (tshow requirement.source <> " x " <> requirement.commandName <> ": " <> kindPhrase <> " (" <> BehaviorSourceMap.renderBehaviorSourceLocation (unBehaviorKey requirement.key) <> ")")
+        code
+        detail
+    )
+ where
+  kindPhrase = case requirement.kind of
+    LiveTransition -> "live transition"
+    RequiredRejection -> "required rejection"
+    ReplayTransition -> "replay-only transition"
+sortedKeys :: [BehaviorKey] -> [BehaviorKey]
+sortedKeys = sortOn unBehaviorKey
+keyTexts :: [BehaviorKey] -> [Text]
+keyTexts = map unBehaviorKey
+countLine :: Text -> [BehaviorKey] -> Text
+countLine label values = label <> ": " <> tshow (length values)
+tshow :: Show value => value -> Text
+tshow = T.pack . show
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Codec.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Codec.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Codec.hs
@@ -0,0 +1,64 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.Codec (
+    deliveryStatusCodec,
+    parseDeliveryStatusEvent,
+    encodeDeliveryStatusEvent,
+) where
+
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain
+import Data.Aeson (Value, object, withObject, (.:), (.=))
+import Data.Aeson.Types (parseEither)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NonEmpty
+import Data.Text (Text)
+import qualified Data.Text as T
+import Keiro.Codec (Codec (..), EventType (..))
+
+
+
+
+
+deliveryStatusEventTypes :: NonEmpty EventType
+deliveryStatusEventTypes = EventType "OutcomeRecorded" :| []
+
+deliveryStatusCodec :: Codec DeliveryStatusEvent
+deliveryStatusCodec =
+  Codec
+    { eventTypes = deliveryStatusEventTypes
+    , eventType = \case
+        OutcomeRecorded{} -> EventType "OutcomeRecorded"
+    , schemaVersion = 1
+    , encode = encodeDeliveryStatusEvent
+    , decode = parseDeliveryStatusEvent
+    , upcasters = []
+    }
+
+encodeDeliveryStatusEvent :: DeliveryStatusEvent -> Value
+encodeDeliveryStatusEvent = \case
+  OutcomeRecorded payload ->
+    object
+      [ "kind" .= ("OutcomeRecorded" :: Text)
+      , "outcome" .= payload.outcome
+      ]
+
+parseDeliveryStatusEvent :: EventType -> Value -> Either Text DeliveryStatusEvent
+parseDeliveryStatusEvent (EventType tag) = mapLeftText . parseEither (withObject "DeliveryStatusEvent" go)
+  where
+    go o = do
+      case tag of
+        "OutcomeRecorded" ->
+          OutcomeRecorded
+            <$> ( OutcomeRecordedData
+                    <$> o .: "outcome"
+                )
+        _ -> fail ("unknown event type " <> show tag <> "; expected one of: " <> renderExpectedEventTypes deliveryStatusEventTypes)
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+renderExpectedEventTypes :: NonEmpty EventType -> String
+renderExpectedEventTypes =
+  T.unpack
+    . T.intercalate ", "
+    . map (\(EventType eventTypeName) -> eventTypeName)
+    . NonEmpty.toList
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Domain.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Domain.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Domain.hs
@@ -0,0 +1,42 @@
+{-# LANGUAGE TemplateHaskell #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.Domain where
+
+import Data.Proxy (Proxy (..))
+import Data.Text (Text)
+import GHC.Generics (Generic)
+import Keiki.Core (RegFile (..))
+import Keiki.Generics.TH (deriveAggregateCtorsAll, deriveWireCtorsAll)
+
+data DeliveryStatusVertex = DeliveryStatusPending | DeliveryStatusDelivered
+  deriving stock (Generic, Eq, Ord, Show, Enum, Bounded)
+
+data RecordOutcomeData = RecordOutcomeData
+  { outcome :: !Text
+  }
+  deriving stock (Generic, Eq, Show)
+
+data DeliveryStatusCommand = RecordOutcome !RecordOutcomeData
+  deriving stock (Generic, Eq, Show)
+
+data OutcomeRecordedData = OutcomeRecordedData
+  { outcome :: !Text
+  }
+  deriving stock (Generic, Eq, Show)
+
+data DeliveryStatusEvent = OutcomeRecorded !OutcomeRecordedData
+  deriving stock (Generic, Eq, Show)
+
+type DeliveryStatusRegs =
+  '[ '("finalOutcome", Text)
+   ]
+
+initialDeliveryStatusRegs :: RegFile DeliveryStatusRegs
+initialDeliveryStatusRegs =
+  RCons (Proxy @"finalOutcome") "none" RNil
+
+$(deriveAggregateCtorsAll ''DeliveryStatusCommand ''DeliveryStatusRegs)
+
+
+
+$(deriveWireCtorsAll ''DeliveryStatusEvent)
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/EventStream.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/EventStream.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/EventStream.hs
@@ -0,0 +1,81 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.EventStream
+  ( deliveryStatusCategory
+  , deliveryStatusCommandCategory
+  , deliveryStatusEventStream
+  , deliveryStatusEventStreamDef
+  , DeliveryStatusEventStream
+  , DeliveryStatusEventStreamDef
+  , deliveryStatusDomainCommandHandler
+  ) where
+
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain
+import Generated.DeliveryOutcomes.DeliveryStatus.Codec (deliveryStatusCodec)
+import Generated.DeliveryOutcomes.DeliveryStatus.Transducer (deliveryStatusTransducer)
+import Generated.DeliveryOutcomes.Nominals (DeliveryNoOp (..), DeliveryRejection (..))
+import Keiki.Core (EdgeRef (..), HsPred)
+import Keiki.Core qualified as K
+import Keiro.Command (DomainCommandHandler (..), SilentCommandContext (..), SilentDomainDecision (..))
+import Keiro.EventStream (EventStream (..), SnapshotPolicy (..))
+import Keiro.EventStream.Validate (ValidatedEventStream, mkEventStreamOrThrow)
+import Keiro.Stream qualified as Stream
+
+-- The validated aggregate stream category (hole-kind 5: referenced, never retyped).
+-- Entity streams are '<category>-<id>' via Keiro.Stream.entityStream.
+-- categoryUnsafe is safe here because this generated literal passed the DSL category proof.
+deliveryStatusCategory :: Stream.StreamCategory DeliveryStatusEventStreamDef
+deliveryStatusCategory = Stream.categoryUnsafe "deliveryStatus"
+
+-- The same category text, typed for command envelopes such as PMCommand.
+deliveryStatusCommandCategory :: Stream.StreamCategory DeliveryStatusCommand
+deliveryStatusCommandCategory = Stream.categoryUnsafe "deliveryStatus"
+
+type DeliveryStatusEventStreamDef =
+  EventStream (HsPred DeliveryStatusRegs DeliveryStatusCommand) DeliveryStatusRegs DeliveryStatusVertex DeliveryStatusCommand DeliveryStatusEvent
+
+type DeliveryStatusEventStream =
+  ValidatedEventStream (HsPred DeliveryStatusRegs DeliveryStatusCommand) DeliveryStatusRegs DeliveryStatusVertex DeliveryStatusCommand DeliveryStatusEvent
+
+deliveryStatusEventStreamDef :: DeliveryStatusEventStreamDef
+deliveryStatusEventStreamDef =
+  EventStream
+    { transducer = deliveryStatusTransducer,
+      initialState = DeliveryStatusPending,
+      initialRegisters = initialDeliveryStatusRegs,
+      eventCodec = deliveryStatusCodec,
+      resolveStreamName = Stream.streamName,
+      snapshotPolicy = Never,
+      stateCodec = Nothing
+    }
+
+deliveryStatusEventStream :: DeliveryStatusEventStream
+deliveryStatusEventStream =
+  mkEventStreamOrThrow "DeliveryStatus" deliveryStatusEventStreamDef
+
+deliveryStatusDomainCommandHandler
+  :: DomainCommandHandler
+       (HsPred DeliveryStatusRegs DeliveryStatusCommand)
+       DeliveryStatusRegs
+       DeliveryStatusVertex
+       DeliveryStatusCommand
+       DeliveryStatusEvent
+       DeliveryRejection
+       DeliveryNoOp
+deliveryStatusDomainCommandHandler =
+  DomainCommandHandler deliveryStatusEventStream deliveryStatusSilentDecision
+
+deliveryStatusSilentDecision
+  :: SilentCommandContext DeliveryStatusRegs DeliveryStatusVertex DeliveryStatusCommand
+  -> SilentDomainDecision
+       DeliveryRejection
+       DeliveryNoOp
+deliveryStatusSilentDecision (SilentCommandContext _ registers command (EdgeRef edgeSource edgeIndex)) =
+  case edgeSource of
+    DeliveryStatusDelivered ->
+      case edgeIndex of
+        0 -> SilentNoOp (K.evalTerm (K.lit AlreadyFinal) registers command)
+        _ -> outcomeInvariant edgeSource edgeIndex
+    _ -> outcomeInvariant edgeSource edgeIndex
+ where
+  outcomeInvariant source index =
+    error ("generated domain outcome invariant failed for aggregate DeliveryStatus edge " <> show source <> "#" <> show index)
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Harness.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Harness.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Harness.hs
@@ -0,0 +1,52 @@
+{-# LANGUAGE OverloadedLabels #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.Harness (harnessAssertions) where
+
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain
+import Generated.DeliveryOutcomes.DeliveryStatus.Codec (encodeDeliveryStatusEvent, parseDeliveryStatusEvent, deliveryStatusCodec)
+import Generated.DeliveryOutcomes.DeliveryStatus.Transducer (deliveryStatusTransducer)
+import Keiki.Core (applyEventsEither, defaultValidationOptions, step, validateTransducer, (!))
+import Keiro.Codec (eventType)
+
+-- | (label, passed). A driver runs these and exits non-zero on any False,
+-- naming the failing assertion. Filling a hole wrongly turns a specific
+-- entry False; the scaffold cannot.
+harnessAssertions :: [(String, Bool)]
+harnessAssertions =
+  [ ("validateTransducer is empty", null (validateTransducer defaultValidationOptions deliveryStatusTransducer))
+  -- clock-free: spec samples no wall clock (verified at scaffold time)
+  , ("golden round-trip: OutcomeRecorded", roundTrips sampleEventOutcomeRecorded)
+  , ("accepts RecordOutcome from DeliveryStatusPending", acceptRecordOutcome)
+  ]
+  ++ forwardReplayRecordOutcome
+
+roundTrips :: DeliveryStatusEvent -> Bool
+roundTrips e = parseDeliveryStatusEvent (eventType deliveryStatusCodec e) (encodeDeliveryStatusEvent e) == Right e
+
+sampleEventOutcomeRecorded :: DeliveryStatusEvent
+sampleEventOutcomeRecorded = OutcomeRecorded (OutcomeRecordedData "sample-outcome")
+
+acceptRecordOutcome :: Bool
+acceptRecordOutcome =
+  case step deliveryStatusTransducer (DeliveryStatusPending, initialDeliveryStatusRegs) (RecordOutcome (RecordOutcomeData "sample-outcome")) of
+    Just (v, _, _) -> v == DeliveryStatusDelivered
+    Nothing -> False
+
+-- forward/replay equality (plan 147): cross the persisted codec boundary,
+-- replay the emitted chain, and compare the final vertex and every register.
+forwardReplayRecordOutcome :: [(String, Bool)]
+forwardReplayRecordOutcome =
+  case step deliveryStatusTransducer (DeliveryStatusPending, initialDeliveryStatusRegs) (RecordOutcome (RecordOutcomeData "sample-outcome")) of
+    Nothing -> [(prefix <> "forward step accepted", False)]
+    Just (forwardVertex, forwardRegs, emitted) ->
+      case mapM (\event -> parseDeliveryStatusEvent (eventType deliveryStatusCodec event) (encodeDeliveryStatusEvent event)) emitted of
+        Left _ -> [(prefix <> "emitted chain decodes", False)]
+        Right decodedEvents ->
+          case applyEventsEither deliveryStatusTransducer (DeliveryStatusPending, initialDeliveryStatusRegs) decodedEvents of
+            Left _ -> [(prefix <> "replay succeeds", False)]
+            Right (replayVertex, replayRegs) ->
+              [ (prefix <> "final vertex", replayVertex == forwardVertex)
+              , (prefix <> "register finalOutcome", (replayRegs ! #finalOutcome) == (forwardRegs ! #finalOutcome))
+              ]
+  where
+    prefix = "forward/replay equality: RecordOutcome from DeliveryStatusPending -- "
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Projection.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Projection.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Projection.hs
@@ -0,0 +1,4 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.Projection () where
+
+-- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Transducer.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Transducer.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/DeliveryStatus/Transducer.hs
@@ -0,0 +1,61 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE QualifiedDo #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate DeliveryStatus; do not edit.
+module Generated.DeliveryOutcomes.DeliveryStatus.Transducer
+  ( deliveryStatusTransducer
+  , deliveryStatusFoldFingerprint
+  , BehaviorOwnership (..)
+  , deliveryStatusPredicateVerifications
+  ) where
+
+import Generated.DeliveryOutcomes.DeliveryStatus.Domain
+import Data.Text (Text)
+import Keiki.Builder qualified as B
+import Keiki.Core (HsPred, SymTransducer)
+import Keiki.Core qualified as K
+import Keiki.Symbolic qualified as S
+import Keiki.Builder ((=:))
+
+deliveryStatusTransducer
+  :: SymTransducer
+       (HsPred DeliveryStatusRegs DeliveryStatusCommand)
+       DeliveryStatusRegs
+       DeliveryStatusVertex
+       DeliveryStatusCommand
+       DeliveryStatusEvent
+deliveryStatusTransducer =
+  B.buildTransducer DeliveryStatusPending initialDeliveryStatusRegs isTerminal do
+    B.from DeliveryStatusPending do
+      B.onCmd inCtorRecordOutcome $ \d -> B.do
+        B.slot @"finalOutcome" =: d.outcome
+        B.emit wireOutcomeRecorded (OutcomeRecordedTermFields
+          { outcome = d.outcome
+          })
+        B.goto DeliveryStatusDelivered
+    B.from DeliveryStatusDelivered do
+      B.onCmd inCtorRecordOutcome $ \_d -> B.do
+        B.noEmit
+        B.goto DeliveryStatusDelivered
+ where
+  isTerminal = \case
+
+    _ -> False
+
+deliveryStatusFoldFingerprint :: Text
+deliveryStatusFoldFingerprint = "7398f8097d27f9b0969b30a5892cf1c2"
+
+data BehaviorOwnership = GeneratedOwned | HoleOwned
+  deriving stock (Eq, Show)
+
+-- Every checked transition predicate is audited through Keiki's conservative
+-- symbolic verifier. Opaque Hole terms remain explicitly unverified.
+deliveryStatusPredicateVerifications :: IO [(Text, BehaviorOwnership, S.PredicateVerification)]
+deliveryStatusPredicateVerifications = sequence
+  [ verifyTransition "transition1PendingRecordOutcome" GeneratedOwned DeliveryStatusPending 0
+  , verifyTransition "transition2DeliveredRecordOutcome" GeneratedOwned DeliveryStatusDelivered 0
+  ]
+ where
+  verifyTransition label owner source edgeIndex =
+    case drop edgeIndex (K.edgesOut deliveryStatusTransducer source) of
+      K.Edge predicate _ _ _ _ : _ -> (\result -> (label, owner, result)) <$> S.verifyPredicate predicate
+      [] -> pure (label, owner, S.UnverifiedSolverFailure "generated transition edge missing")
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Inspection.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Inspection.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Inspection.hs
@@ -0,0 +1,47 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context delivery-outcomes inspection catalog; do not edit.
+--
+-- The complete read-only inspection catalog for this service: one aggregate
+-- inspector per declared aggregate, the replay-audit targets and the projection
+-- catalog. Mount them through Keiro.Ops.AppHooks; see docs/user/operations.md.
+module Generated.DeliveryOutcomes.Inspection
+  ( aggregateInspectorCatalog
+  , aggregateInspectors
+  , inspectionAuditTargets
+  , inspectionProjectionCatalog
+  ) where
+
+import Data.Aeson (Value, object, (.=))
+import Data.Text (pack)
+import Generated.DeliveryOutcomes.DeliveryStatus.EventStream qualified as DeliveryStatus
+import Generated.DeliveryOutcomes.ReplayAudit (auditTargets)
+import Keiki.Core (RegFile)
+import Keiro.EventStream (EventStream (..))
+import Keiro.Inspection.Aggregate (AggregateInspectors, SomeAggregateInspector (..), aggregateInspector, displayViaStateCodec)
+import Keiro.Inspection.Aggregate qualified
+import Keiro.Projection.Catalog (ValidatedProjectionCatalog, Validation (..), emptyProjectionCatalog, validateProjectionCatalog)
+import Keiro.ReplayAudit (SomeAuditTarget)
+import Keiro.Stream (categoryText)
+
+aggregateInspectorCatalog :: [SomeAggregateInspector]
+aggregateInspectorCatalog =
+  [ SomeAggregateInspector (aggregateInspector (categoryText DeliveryStatus.deliveryStatusCategory) DeliveryStatus.deliveryStatusEventStream DeliveryStatus.deliveryStatusCategory (displayFoldedState DeliveryStatus.deliveryStatusEventStreamDef))
+  ]
+
+aggregateInspectors :: AggregateInspectors
+aggregateInspectors = case Keiro.Inspection.Aggregate.aggregateInspectors aggregateInspectorCatalog of
+  Right inspectors -> inspectors
+  Left message -> error ("keiro-dsl generated an invalid aggregate inspector catalog: " <> show message)
+
+inspectionAuditTargets :: [SomeAuditTarget]
+inspectionAuditTargets = auditTargets
+
+inspectionProjectionCatalog :: ValidatedProjectionCatalog
+inspectionProjectionCatalog = case validateProjectionCatalog emptyProjectionCatalog of
+  Success catalog -> catalog
+  Failure diagnostics -> error ("keiro-dsl generated an invalid empty projection catalog: " <> show diagnostics)
+
+-- The aggregate's own state codec when its definition declares one (snapshot
+-- aggregates), otherwise the vertex label.
+displayFoldedState :: (Show s) => EventStream phi rs s ci co -> s -> RegFile rs -> Value
+displayFoldedState EventStream {stateCodec = Just codec} = displayViaStateCodec codec
+displayFoldedState EventStream {stateCodec = Nothing} = \state _ -> object ["state" .= pack (show state)]
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Nominals.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Nominals.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/Nominals.hs
@@ -0,0 +1,28 @@
+{-# LANGUAGE DeriveAnyClass #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context delivery-outcomes generated nominal declarations; do not edit.
+module Generated.DeliveryOutcomes.Nominals where
+
+import Data.Aeson (FromJSON, ToJSON)
+import Data.Text (Text)
+import GHC.Generics (Generic)
+import Keiki.Shape (CanonicalTypeName)
+
+data DeliveryNoOp = AlreadyFinal
+  deriving stock (Generic, Eq, Ord, Show, Enum, Bounded)
+  deriving anyclass (ToJSON, FromJSON)
+
+instance CanonicalTypeName DeliveryNoOp
+
+deliveryNoOpText :: DeliveryNoOp -> Text
+deliveryNoOpText = \case
+  AlreadyFinal -> "already-final"
+
+data DeliveryRejection = NeverRejected
+  deriving stock (Generic, Eq, Ord, Show, Enum, Bounded)
+  deriving anyclass (ToJSON, FromJSON)
+
+instance CanonicalTypeName DeliveryRejection
+
+deliveryRejectionText :: DeliveryRejection -> Text
+deliveryRejectionText = \case
+  NeverRejected -> "never-rejected"
diff --git a/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/ReplayAudit.hs b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/ReplayAudit.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Generated/DeliveryOutcomes/ReplayAudit.hs
@@ -0,0 +1,23 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context delivery-outcomes replay-audit assembly; do not edit.
+--
+-- Deployment contract:
+--   * replay-neutral diff: no data audit is required;
+--   * affected diff: run AuditTargeted with the emitted affected set
+--     against a production copy under the candidate binary;
+--   * one-time runtime cutover: run AuditFull;
+--   * any non-zero audit exit blocks deployment.
+module Generated.DeliveryOutcomes.ReplayAudit (auditTargets) where
+
+import Generated.DeliveryOutcomes.DeliveryStatus.EventStream qualified as DeliveryStatus
+import Keiro.ReplayAudit (AuditTarget (..), SomeAuditTarget (..), streamInCategory)
+import Keiro.Stream qualified as Stream
+
+auditTargets :: [SomeAuditTarget]
+auditTargets =
+  [ SomeAuditTarget
+      AuditTarget
+        { eventStream = DeliveryStatus.deliveryStatusEventStream
+        , category = Stream.categoryText DeliveryStatus.deliveryStatusCategory
+        , mkStream = streamInCategory (Stream.categoryText DeliveryStatus.deliveryStatusCategory)
+        }
+  ]
diff --git a/test/conformance-intake-delegated-noop/Main.hs b/test/conformance-intake-delegated-noop/Main.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/Main.hs
@@ -0,0 +1,132 @@
+-- | Live conformance for a generated delegated intake whose downstream command
+-- has a typed no-op edge. The generated 'runInboxIntake' drives the
+-- hand-written handler against PostgreSQL: an accepted outcome is
+-- acknowledged by its marker event, a typed no-op by one completed inbox row,
+-- a redelivered no-op is a duplicate without dispatching, and the historical
+-- untyped adapter still refuses the same silent edge.
+module Main (main) where
+
+import Control.Monad (unless)
+import Data.Aeson (encode)
+import Data.ByteString.Lazy qualified as LazyByteString
+import Data.IORef (modifyIORef', newIORef, readIORef)
+import Data.Text (Text)
+import Data.Time (UTCTime (..), fromGregorian)
+import Data.Vector qualified as Vector
+import DeliveryOutcomes.DeliveryOutcomeInbox.DelegatedIntegration
+import Effectful (liftIO)
+import Effectful.Error.Static (runErrorNoCallStack)
+import Generated.DeliveryOutcomes.Courier.Contract (CourierPayload (..), DeliveryOutcomeReportedData (..), encodeCourierPayload)
+import Generated.DeliveryOutcomes.DeliveryOutcomeInbox.Inbox (inboxIdempotence)
+import Generated.DeliveryOutcomes.Nominals (DeliveryNoOp (..))
+import Keiro.Inbox.Delegated (DelegatedCommandError (..), DelegatedDomainResult (..), delegatedEventId, delegatedNoOpReceiptKey)
+import Keiro.Inbox.Schema (listInbox, lookupInbox)
+import Keiro.Command (CommandResult (..))
+import Keiro.Inbox.Types (InboxIdempotence (..), InboxResult (..), InboxRow (..), InboxStatus (..))
+import Keiro.Integration.Event (IntegrationContentType (..), IntegrationEvent (..))
+import Keiro.Stream (streamName)
+import Keiro.Test.Postgres (StoreRunner (..), withFreshResourceStore, withMigratedSuite)
+import Kiroku.Store qualified as Store
+import Kiroku.Store.Types (RecordedEvent (..), StreamVersion (..))
+import System.Exit (exitFailure)
+
+main :: IO ()
+main =
+  withMigratedSuite $ \fixture ->
+    withFreshResourceStore fixture $ \(_storeHandle, StoreRunner runStore) -> do
+      dispatches <- newIORef (0 :: Int)
+      let countDispatch = liftIO (modifyIORef' dispatches (+ 1))
+          typed event =
+            runStore (runErrorNoCallStack @DeliveryIntakeFailure (runDeliveryOutcomeInbox event Nothing (typedDeliveryHandler countDispatch Nothing)))
+          untyped event =
+            runStore (runErrorNoCallStack @DeliveryIntakeFailure (runDeliveryOutcomeInbox event Nothing untypedDeliveryHandler))
+          target = streamName (deliveryTarget "delivery-1")
+          markerFor event = delegatedEventId consumerName event.source event.messageId target recordOutcomeOperation
+          storedIds = do
+            stored <- runStore (Store.readStreamForward target (StreamVersion 0) 10)
+            pure (fmap (fmap (.eventId) . Vector.toList) stored)
+          inboxRows = runStore (listInbox courierSource)
+
+      let delivered = report "outcome-1" "delivered"
+      accepted <- typed delivered
+      idsAfterAccepted <- storedIds
+      rowsAfterAccepted <- inboxRows
+      let acceptedOk =
+            ( case accepted of
+                Right (Right (Right (InboxProcessed (DelegatedDomainAccepted _ result)))) -> result.eventsAppended == 1
+                _ -> False
+            )
+              && idsAfterAccepted == Right [markerFor delivered]
+              && rowsAfterAccepted == Right []
+
+      let lateFailure = report "outcome-2" "failed"
+      noOp <- typed lateFailure
+      idsAfterNoOp <- storedIds
+      rowsAfterNoOp <- inboxRows
+      let noOpOk =
+            ( case noOp of
+                Right (Right (Right (InboxProcessed (DelegatedDomainNoOp AlreadyFinal result)))) -> result.eventsAppended == 0
+                _ -> False
+            )
+              && idsAfterNoOp == Right [markerFor delivered]
+              && fmap (fmap (\row -> (row.dedupeKey, row.status))) rowsAfterNoOp
+                == Right [(delegatedNoOpReceiptKey (markerFor lateFailure), InboxCompleted)]
+
+      dispatchesBeforeReplay <- readIORef dispatches
+      replay <- typed lateFailure
+      dispatchesAfterReplay <- readIORef dispatches
+      let replayOk =
+            replay == Right (Right (Right InboxDuplicate))
+              && dispatchesBeforeReplay == 2
+              && dispatchesAfterReplay == 2
+
+      let untypedLateFailure = report "outcome-3" "failed"
+      refused <- untyped untypedLateFailure
+      idsAfterRefused <- storedIds
+      rowsAfterRefused <- inboxRows
+      rawRow <- runStore (lookupInbox courierSource untypedLateFailure.messageId)
+      scopedRow <- runStore (lookupInbox courierSource (delegatedNoOpReceiptKey (markerFor untypedLateFailure)))
+      let untypedOk =
+            refused == Right (Left (UntypedAdapterFailed (DelegatedCommandWithoutReceipt target)))
+              && idsAfterRefused == Right [markerFor delivered]
+              && fmap length rowsAfterRefused == Right 1
+              && rawRow == Right Nothing
+              && scopedRow == Right Nothing
+
+      let modeOk = inboxIdempotence == IdempotenceDelegated
+      check "generated intake uses delegated idempotence" modeOk
+      check "accepted delivery appends the marker event and writes no inbox row" acceptedOk
+      check "typed no-op delivery is processed and records one completed inbox row" noOpOk
+      check "redelivered no-op is a duplicate without dispatching the command" replayOk
+      check "untyped silent success returns DelegatedCommandWithoutReceipt and leaves no receipt" untypedOk
+      unless (and [modeOk, acceptedOk, noOpOk, replayOk, untypedOk]) exitFailure
+
+check :: String -> Bool -> IO ()
+check label ok = putStrLn (label <> ": " <> show ok)
+
+courierSource :: Text
+courierSource = "courier"
+
+report :: Text -> Text -> IntegrationEvent
+report messageId outcome =
+  IntegrationEvent
+    { messageId,
+      source = courierSource,
+      destination = "reputation",
+      key = Just "delivery-1",
+      eventType = "DeliveryOutcomeReported",
+      schemaVersion = 1,
+      contentType = ApplicationJson,
+      schemaReference = Nothing,
+      sourceEventId = Nothing,
+      sourceGlobalPosition = Nothing,
+      payloadBytes =
+        LazyByteString.toStrict
+          (encode (encodeCourierPayload (DeliveryOutcomeReported (DeliveryOutcomeReportedData "delivery-1" outcome)))),
+      occurredAt = UTCTime (fromGregorian 2026 11 18) 0,
+      causationId = Nothing,
+      correlationId = Nothing,
+      traceContext = Nothing,
+      attributes = Nothing
+    }
+
diff --git a/test/conformance-intake-delegated-noop/keiro-dsl-cabal-fragment.context.delivery-outcomes.txt b/test/conformance-intake-delegated-noop/keiro-dsl-cabal-fragment.context.delivery-outcomes.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/keiro-dsl-cabal-fragment.context.delivery-outcomes.txt
@@ -0,0 +1,36 @@
+-- keiro-dsl build manifest for keiro-dsl/test/fixtures/intake-delegated-noop.keiro
+-- Paste the complete fragment below into the consuming Cabal stanza.
+-- The generated layer is overwritten on every scaffold; hole modules are
+-- create-if-absent (filled by hand).
+
+default-language: GHC2024
+default-extensions:
+    DuplicateRecordFields
+    NoFieldSelectors
+    OverloadedRecordDot
+    OverloadedStrings
+
+other-modules:
+    DeliveryOutcomes.DeliveryStatus.BehaviorHoles
+    Generated.DeliveryOutcomes.BehaviorSourceMap
+    Generated.DeliveryOutcomes.Courier.Contract
+    Generated.DeliveryOutcomes.DeliveryOutcomeInbox.Inbox
+    Generated.DeliveryOutcomes.DeliveryStatus.BehaviorContract
+    Generated.DeliveryOutcomes.DeliveryStatus.Codec
+    Generated.DeliveryOutcomes.DeliveryStatus.Domain
+    Generated.DeliveryOutcomes.DeliveryStatus.EventStream
+    Generated.DeliveryOutcomes.DeliveryStatus.Harness
+    Generated.DeliveryOutcomes.DeliveryStatus.Projection
+    Generated.DeliveryOutcomes.DeliveryStatus.Transducer
+    Generated.DeliveryOutcomes.Inspection
+    Generated.DeliveryOutcomes.Nominals
+    Generated.DeliveryOutcomes.ReplayAudit
+
+build-depends:
+    , aeson
+    , base
+    , effectful-core
+    , keiki
+    , keiro
+    , keiro-core
+    , text
diff --git a/test/conformance-intake-delegated-noop/keiro-dsl-ledger.context.delivery-outcomes.txt b/test/conformance-intake-delegated-noop/keiro-dsl-ledger.context.delivery-outcomes.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-intake-delegated-noop/keiro-dsl-ledger.context.delivery-outcomes.txt
@@ -0,0 +1,40 @@
+keiro-dsl scaffold record v1
+spec: keiro-dsl/test/fixtures/intake-delegated-noop.keiro
+module-root: (none)
+layout: prefixed
+source-language {"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"sourceForm":"declared"}
+semantic-contract {"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"}
+naming-edition idiomatic-v2
+module-role {"family":"BehaviorSourceMap","kind":"generated","ownerKind":"context","ownerName":"context delivery-outcomes behavior source map","path":"Generated/DeliveryOutcomes/BehaviorSourceMap.hs"}
+module-role {"family":"Nominals","kind":"generated","ownerKind":"context","ownerName":"context delivery-outcomes generated nominal declarations","path":"Generated/DeliveryOutcomes/Nominals.hs"}
+module-role {"family":"ReplayAudit","kind":"generated","ownerKind":"context","ownerName":"context delivery-outcomes replay-audit assembly","path":"Generated/DeliveryOutcomes/ReplayAudit.hs"}
+module-role {"family":"Inspection","kind":"generated","ownerKind":"context","ownerName":"context delivery-outcomes inspection catalog","path":"Generated/DeliveryOutcomes/Inspection.hs"}
+module-role {"family":"Contract","kind":"generated","ownerKind":"contract","ownerName":"contract courier (line 10)","path":"Generated/DeliveryOutcomes/Courier/Contract.hs"}
+module-role {"family":"Inbox","kind":"generated","ownerKind":"intake","ownerName":"intake deliveryOutcomeInbox (line 20)","path":"Generated/DeliveryOutcomes/DeliveryOutcomeInbox/Inbox.hs"}
+module-role {"family":"Domain","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/Domain.hs"}
+module-role {"family":"Codec","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/Codec.hs"}
+module-role {"family":"Transducer","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/Transducer.hs"}
+module-role {"family":"BehaviorContract","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/BehaviorContract.hs"}
+module-role {"family":"BehaviorHoles","kind":"hole","ownerKind":"aggregate","ownerName":"aggregate behavior witnesses DeliveryStatus (line 54)","path":"DeliveryOutcomes/DeliveryStatus/BehaviorHoles.hs"}
+module-role {"family":"EventStream","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/EventStream.hs"}
+module-role {"family":"Projection","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/Projection.hs"}
+module-role {"family":"Harness","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate DeliveryStatus (line 54)","path":"Generated/DeliveryOutcomes/DeliveryStatus/Harness.hs"}
+generated Generated/DeliveryOutcomes/BehaviorSourceMap.hs
+generated Generated/DeliveryOutcomes/Nominals.hs
+generated Generated/DeliveryOutcomes/ReplayAudit.hs
+generated Generated/DeliveryOutcomes/Inspection.hs
+generated Generated/DeliveryOutcomes/Courier/Contract.hs
+generated Generated/DeliveryOutcomes/DeliveryOutcomeInbox/Inbox.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/Domain.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/Codec.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/Transducer.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/BehaviorContract.hs
+hole DeliveryOutcomes/DeliveryStatus/BehaviorHoles.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/EventStream.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/Projection.hs
+generated Generated/DeliveryOutcomes/DeliveryStatus/Harness.hs
+nominal-equality nominal-equality|name=DeliveryNoOp|contract=keiro-dsl/nominal-equality/1|key=Text|domain=finite-text:already-final|owner=generated
+nominal-equality nominal-equality|name=DeliveryRejection|contract=keiro-dsl/nominal-equality/1|key=Text|domain=finite-text:never-rejected|owner=generated
+behavior {"aggregate":"DeliveryStatus","command":"RecordOutcome","evidence":"generated-authoritative","key":"behavior-v1-ac132150262d872a","kind":"live-transition","outputs":[{"command":"RecordOutcome","ownership":"generated-command-identity"}],"source":"Pending"}
+behavior {"aggregate":"DeliveryStatus","command":"RecordOutcome","evidence":"generated-authoritative","key":"behavior-v1-ac37ab6d84cb0fa7","kind":"live-transition","outputs":[],"source":"Delivered"}
+semantic-impact {"declarations":[],"mappedSurfaceEvidenceVersion":1,"serviceInventory":[]}
diff --git a/test/conformance-intake-delegated/Generated/HospitalCapacity/Emergency/Contract.hs b/test/conformance-intake-delegated/Generated/HospitalCapacity/Emergency/Contract.hs
--- a/test/conformance-intake-delegated/Generated/HospitalCapacity/Emergency/Contract.hs
+++ b/test/conformance-intake-delegated/Generated/HospitalCapacity/Emergency/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from contract emergency; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from contract emergency; do not edit.
 module Generated.HospitalCapacity.Emergency.Contract
   ( EmergencyPayload (..)
   , IncidentTransferNeedDeclaredData (..)
diff --git a/test/conformance-intake-delegated/Generated/HospitalCapacity/IncidentInbox/Inbox.hs b/test/conformance-intake-delegated/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
--- a/test/conformance-intake-delegated/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
+++ b/test/conformance-intake-delegated/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from intake incidentInbox; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from intake incidentInbox; do not edit.
 module Generated.HospitalCapacity.IncidentInbox.Inbox
   ( InboxFailure (..)
   , IncidentInboxOutcome (..)
diff --git a/test/conformance-intake-full/Generated/HospitalCapacity/Emergency/Contract.hs b/test/conformance-intake-full/Generated/HospitalCapacity/Emergency/Contract.hs
--- a/test/conformance-intake-full/Generated/HospitalCapacity/Emergency/Contract.hs
+++ b/test/conformance-intake-full/Generated/HospitalCapacity/Emergency/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from contract emergency; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from contract emergency; do not edit.
 module Generated.HospitalCapacity.Emergency.Contract
   ( EmergencyPayload (..)
   , IncidentTransferNeedDeclaredData (..)
diff --git a/test/conformance-intake-full/Generated/HospitalCapacity/IncidentInbox/Inbox.hs b/test/conformance-intake-full/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
--- a/test/conformance-intake-full/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
+++ b/test/conformance-intake-full/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from intake incidentInbox; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from intake incidentInbox; do not edit.
 module Generated.HospitalCapacity.IncidentInbox.Inbox
   ( InboxFailure (..)
   , IncidentInboxOutcome (..)
diff --git a/test/conformance-intake-runtime/Generated/HospitalCapacity/Emergency/Contract.hs b/test/conformance-intake-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
--- a/test/conformance-intake-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
+++ b/test/conformance-intake-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from contract emergency; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from contract emergency; do not edit.
 module Generated.HospitalCapacity.Emergency.Contract
   ( EmergencyPayload (..)
   , IncidentTransferNeedDeclaredData (..)
diff --git a/test/conformance-intake-runtime/Generated/HospitalCapacity/IncidentInbox/Inbox.hs b/test/conformance-intake-runtime/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
--- a/test/conformance-intake-runtime/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
+++ b/test/conformance-intake-runtime/Generated/HospitalCapacity/IncidentInbox/Inbox.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from intake incidentInbox; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from intake incidentInbox; do not edit.
 module Generated.HospitalCapacity.IncidentInbox.Inbox
   ( InboxFailure (..)
   , IncidentInboxOutcome (..)
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/Inspection.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/Inspection.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/Inspection.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context keyword-segments inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context keyword-segments inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/Queue.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/Queue.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/Queue.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue job_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue job_type; do not edit.
 module Generated.KeywordSegments.JobType.Queue
   ( JobTypePayload (..)
   , encodeJobTypePayload
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueueCodec.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueueCodec.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueueCodec.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue job_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue job_type; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueuePolicy.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueuePolicy.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueuePolicy.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/JobType/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue job_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue job_type; do not edit.
 module Generated.KeywordSegments.JobType.QueuePolicy
   ( JobTypeOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context keyword-segments generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context keyword-segments generated nominal declarations; do not edit.
 module Generated.KeywordSegments.Nominals
   ( SubscriptionId
   , parseSubscriptionId
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals/Internal.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals/Internal.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals/Internal.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context keyword-segments generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context keyword-segments generated nominal ID internals; do not edit.
 module Generated.KeywordSegments.Nominals.Internal
   ( SubscriptionId
   , parseSubscriptionId
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/ProjectionCatalog.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/ProjectionCatalog.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/ProjectionCatalog.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog keyword-segments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog keyword-segments; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.KeywordSegments.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/Structural/NominalLeaves.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/Structural/NominalLeaves.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/Structural/NominalLeaves.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context keyword-segments structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context keyword-segments structural nominal leaves; do not edit.
 module Generated.KeywordSegments.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/StructuralConformance.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/StructuralConformance.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/StructuralConformance.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context keyword-segments structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context keyword-segments structural conformance; do not edit.
 module Generated.KeywordSegments.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/QueryContract.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/QueryContract.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/QueryContract.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
 module Generated.KeywordSegments.ValidateCustomType.QueryContract
   ( ValidateCustomTypeQueryInput
   , ValidateCustomTypeQueryResult
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModel.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModel.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModel.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
 module Generated.KeywordSegments.ValidateCustomType.ReadModel
   ( validateCustomTypeReadModel
   , validateCustomTypeQualifiedTable
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelHarness.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelHarness.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelHarness.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
 module Generated.KeywordSegments.ValidateCustomType.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.KeywordSegments.ValidateCustomType.ReadModel (validateCustomTypeReadModel)
diff --git a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelTable.hs b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelTable.hs
--- a/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelTable.hs
+++ b/test/conformance-keyword-segments/Generated/KeywordSegments/ValidateCustomType/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel validate_custom_type; do not edit.
 module Generated.KeywordSegments.ValidateCustomType.ReadModelTable (validateCustomTypeQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/Queue.hs b/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/Queue.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/Queue.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workqueue mapped_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workqueue mapped_jobs; do not edit.
 module Generated.MappedQueue.MappedJobs.Queue
   ( MappedJob (..)
   , encodeMappedJob
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueueCodec.hs b/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueueCodec.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueueCodec.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workqueue mapped_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workqueue mapped_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueuePolicy.hs b/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueuePolicy.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueuePolicy.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/MappedJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workqueue mapped_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workqueue mapped_jobs; do not edit.
 module Generated.MappedQueue.MappedJobs.QueuePolicy
   ( MappedJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobMetadata.hs b/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobMetadata.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobMetadata.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobMetadata.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural JobMetadata; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural JobMetadata; do not edit.
 module Generated.MappedQueue.Structural.Shape.JobMetadata (JobMetadataShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobPayload.hs b/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobPayload.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobPayload.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/Structural/Shape/JobPayload.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural JobPayload; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural JobPayload; do not edit.
 module Generated.MappedQueue.Structural.Shape.JobPayload (JobPayloadShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/StructuralConformance.hs b/test/conformance-mapped-queue/Generated/MappedQueue/StructuralConformance.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/StructuralConformance.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context mapped-queue structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context mapped-queue structural conformance; do not edit.
 module Generated.MappedQueue.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-mapped-queue/Generated/MappedQueue/StructuralProjections.hs b/test/conformance-mapped-queue/Generated/MappedQueue/StructuralProjections.hs
--- a/test/conformance-mapped-queue/Generated/MappedQueue/StructuralProjections.hs
+++ b/test/conformance-mapped-queue/Generated/MappedQueue/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context mapped-queue mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context mapped-queue mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/QueryContract.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/QueryContract.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/QueryContract.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
 module Generated.MappedReadmodel.AccountSummary.QueryContract
   ( AccountSummaryQueryInput
   , AccountSummaryQueryResult
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModel.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModel.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModel.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
 module Generated.MappedReadmodel.AccountSummary.ReadModel
   ( accountSummaryReadModel
   , accountSummaryQualifiedTable
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelHarness.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelHarness.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelHarness.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
 module Generated.MappedReadmodel.AccountSummary.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.MappedReadmodel.AccountSummary.ReadModel (accountSummaryReadModel)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelTable.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelTable.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelTable.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/AccountSummary/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel account_summary; do not edit.
 module Generated.MappedReadmodel.AccountSummary.ReadModelTable (accountSummaryQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Inspection.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Inspection.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Inspection.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context mapped-readmodel inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context mapped-readmodel inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/ProjectionCatalog.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/ProjectionCatalog.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/ProjectionCatalog.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from projection-catalog mapped-readmodel; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from projection-catalog mapped-readmodel; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.MappedReadmodel.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountLookup.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountLookup.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountLookup.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountLookup.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural AccountLookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural AccountLookup; do not edit.
 module Generated.MappedReadmodel.Structural.Shape.AccountLookup (AccountLookupShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountProfile.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountProfile.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountProfile.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountProfile.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural AccountProfile; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural AccountProfile; do not edit.
 module Generated.MappedReadmodel.Structural.Shape.AccountProfile (AccountProfileShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountSummary.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountSummary.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountSummary.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/AccountSummary.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural AccountSummary; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural AccountSummary; do not edit.
 module Generated.MappedReadmodel.Structural.Shape.AccountSummary (AccountSummaryShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/TenantKey.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/TenantKey.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/TenantKey.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/TenantKey.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural TenantKey; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural TenantKey; do not edit.
 module Generated.MappedReadmodel.Structural.Shape.TenantKey (TenantKeyShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/UnusedFilter.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/UnusedFilter.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/UnusedFilter.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/Structural/Shape/UnusedFilter.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural UnusedFilter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural UnusedFilter; do not edit.
 module Generated.MappedReadmodel.Structural.Shape.UnusedFilter (UnusedFilterShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralConformance.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralConformance.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralConformance.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context mapped-readmodel structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context mapped-readmodel structural conformance; do not edit.
 module Generated.MappedReadmodel.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralProjections.hs b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralProjections.hs
--- a/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralProjections.hs
+++ b/test/conformance-mapped-readmodel/Generated/MappedReadmodel/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context mapped-readmodel mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context mapped-readmodel mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/BehaviorSourceMap.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/BehaviorSourceMap.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/BehaviorSourceMap.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-register-construction behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-register-construction behavior source map; do not edit.
 module Generated.MappedRegisterConstruction.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Inspection.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Inspection.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Inspection.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-register-construction inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-register-construction inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/BehaviorContract.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/BehaviorContract.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/BehaviorContract.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.MappedRegisterConstruction.Lifecycle.Codec (encodeLifecycleEvent, parseLifecycleEvent, lifecycleCodec)
@@ -494,6 +495,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Codec.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Codec.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Codec.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.Codec (
     lifecycleCodec,
     parseLifecycleEvent,
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Domain.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Domain.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Domain.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/EventStream.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/EventStream.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/EventStream.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.EventStream
   ( lifecycleCategory
   , lifecycleCommandCategory
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Harness.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Harness.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Harness.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.Harness (harnessAssertions) where
 
 import Generated.MappedRegisterConstruction.Lifecycle.Domain
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Projection.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Projection.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Projection.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Transducer.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Transducer.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Transducer.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/Lifecycle/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Lifecycle; do not edit.
 module Generated.MappedRegisterConstruction.Lifecycle.Transducer
   ( lifecycleTransducer
   , lifecycleFoldFingerprint
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/ReplayAudit.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/ReplayAudit.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/ReplayAudit.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-register-construction replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-register-construction replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/StructuralConformance.hs b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/StructuralConformance.hs
--- a/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/StructuralConformance.hs
+++ b/test/conformance-mapped-register-construction/Generated/MappedRegisterConstruction/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-register-construction structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-register-construction structural conformance; do not edit.
 module Generated.MappedRegisterConstruction.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/BehaviorSourceMap.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/BehaviorSourceMap.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/BehaviorSourceMap.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-structural-enum-equality behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-structural-enum-equality behavior source map; do not edit.
 module Generated.MappedStructuralEnumEquality.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Inspection.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Inspection.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Inspection.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-structural-enum-equality inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-structural-enum-equality inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ReplayAudit.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ReplayAudit.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ReplayAudit.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-structural-enum-equality replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-structural-enum-equality replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/BehaviorContract.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/BehaviorContract.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/BehaviorContract.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.MappedStructuralEnumEquality.ScopeGate.Codec (encodeScopeGateEvent, parseScopeGateEvent, scopeGateCodec)
@@ -362,6 +363,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Codec.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Codec.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Codec.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.Codec (
     scopeGateCodec,
     parseScopeGateEvent,
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Domain.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Domain.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Domain.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/EventStream.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/EventStream.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/EventStream.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.EventStream
   ( scopeGateCategory
   , scopeGateCommandCategory
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Harness.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Harness.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Harness.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.Harness (harnessAssertions) where
 
 import Generated.MappedStructuralEnumEquality.ScopeGate.Domain
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Projection.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Projection.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Projection.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Transducer.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Transducer.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Transducer.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/ScopeGate/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ScopeGate; do not edit.
 module Generated.MappedStructuralEnumEquality.ScopeGate.Transducer
   ( scopeGateTransducer
   , scopeGateFoldFingerprint
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/Request.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/Request.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/Request.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/Request.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural Request; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural Request; do not edit.
 module Generated.MappedStructuralEnumEquality.Structural.Shape.Request (RequestShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/RequiredScope.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/RequiredScope.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/RequiredScope.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/Structural/Shape/RequiredScope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural RequiredScope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural RequiredScope; do not edit.
 module Generated.MappedStructuralEnumEquality.Structural.Shape.RequiredScope (RequiredScopeShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralConformance.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralConformance.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralConformance.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-structural-enum-equality structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-structural-enum-equality structural conformance; do not edit.
 module Generated.MappedStructuralEnumEquality.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralProjections.hs b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralProjections.hs
--- a/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralProjections.hs
+++ b/test/conformance-mapped-structural-enum-equality/Generated/MappedStructuralEnumEquality/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-structural-enum-equality mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-structural-enum-equality mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-newsurface/Generated/TransferRouting/BehaviorSourceMap.hs b/test/conformance-newsurface/Generated/TransferRouting/BehaviorSourceMap.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/BehaviorSourceMap.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context transfer-routing behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context transfer-routing behavior source map; do not edit.
 module Generated.TransferRouting.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Conformance.hs b/test/conformance-newsurface/Generated/TransferRouting/Conformance.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Conformance.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Conformance.hs
@@ -2,11 +2,15 @@
 module Generated.TransferRouting.Conformance
   ( runServiceConformanceChecks
   , serviceConformanceFacts
+  , runServiceBehaviorChecks
   ) where
 
 import Generated.TransferRouting.Hospital.Harness qualified as Hospital
 import Generated.TransferRouting.HospitalLoad.ReadModelHarness qualified as HospitalLoad
 import Generated.TransferRouting.HospitalTransferRouter.RouterHarness qualified as HospitalTransferRouter
+import Generated.TransferRouting.Hospital.BehaviorContract qualified as HospitalBehaviorContract
+import TransferRouting.Hospital.BehaviorHoles qualified as HospitalBehaviorHoles
+import Data.Text qualified as Text
 
 runServiceConformanceChecks :: IO [(String, Bool)]
 runServiceConformanceChecks =
@@ -18,3 +22,9 @@
 serviceConformanceFacts :: [(String, String)]
 serviceConformanceFacts =
     [("router/HospitalTransferRouter/" <> fact, value) | (fact, value) <- HospitalTransferRouter.routerHarnessValues]
+
+runServiceBehaviorChecks :: IO [(String, Bool)]
+runServiceBehaviorChecks =
+  pure (
+    [("aggregate/Hospital/behavior/" <> Text.unpack row, passed) | (row, passed) <- HospitalBehaviorContract.behaviorConformanceRows (HospitalBehaviorContract.behaviorCoverageReport HospitalBehaviorHoles.behaviorWitnesses)]
+  )
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/BehaviorContract.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/BehaviorContract.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/BehaviorContract.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.TransferRouting.Hospital.Codec (encodeHospitalEvent, parseHospitalEvent, hospitalCodec)
@@ -205,6 +206,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Codec.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Codec.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Codec.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Codec (
     hospitalCodec,
     parseHospitalEvent,
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Domain.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Domain.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Domain.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Domain where
 
 import Data.Text (Text)
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/EventStream.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/EventStream.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/EventStream.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.EventStream
   ( hospitalCategory
   , hospitalCommandCategory
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Harness.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Harness.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Harness.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Harness (harnessAssertions) where
 
 import Generated.TransferRouting.Hospital.Domain
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Projection.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Projection.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Projection.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Transducer.hs b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Transducer.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Hospital/Transducer.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Hospital/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.TransferRouting.Hospital.Transducer
   ( hospitalTransducer
   , hospitalFoldFingerprint
diff --git a/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModel.hs b/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModel.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModel.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.ReadModel
   ( hospitalLoadReadModel
   , hospitalLoadQualifiedTable
diff --git a/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs b/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.TransferRouting.HospitalLoad.ReadModel (hospitalLoadReadModel, hospitalLoadAsyncProjection)
diff --git a/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs b/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/HospitalLoad/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel hospital_load; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel hospital_load; do not edit.
 module Generated.TransferRouting.HospitalLoad.ReadModelTable (hospitalLoadQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/Router.hs b/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/Router.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/Router.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/Router.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router HospitalTransferRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router HospitalTransferRouter; do not edit.
 module Generated.TransferRouting.HospitalTransferRouter.Router
   ( hospitalTransferRouterName
   , hospitalTransferRouterWorkerOptions
diff --git a/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs b/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/HospitalTransferRouter/RouterHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router HospitalTransferRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router HospitalTransferRouter; do not edit.
 module Generated.TransferRouting.HospitalTransferRouter.RouterHarness (routerHarnessValues) where
 
 routerHarnessValues :: [(String, String)]
diff --git a/test/conformance-newsurface/Generated/TransferRouting/Inspection.hs b/test/conformance-newsurface/Generated/TransferRouting/Inspection.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/Inspection.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context transfer-routing inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context transfer-routing inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-newsurface/Generated/TransferRouting/ReplayAudit.hs b/test/conformance-newsurface/Generated/TransferRouting/ReplayAudit.hs
--- a/test/conformance-newsurface/Generated/TransferRouting/ReplayAudit.hs
+++ b/test/conformance-newsurface/Generated/TransferRouting/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context transfer-routing replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context transfer-routing replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Inspection.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Inspection.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Inspection.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-query-only inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-query-only inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-query-only generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-query-only generated nominal declarations; do not edit.
 module Generated.MappedNominalQueryOnly.Nominals
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals/Internal.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals/Internal.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals/Internal.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-query-only generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-query-only generated nominal ID internals; do not edit.
 module Generated.MappedNominalQueryOnly.Nominals.Internal
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/ProjectionCatalog.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/ProjectionCatalog.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/ProjectionCatalog.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog mapped-nominal-query-only; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog mapped-nominal-query-only; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.MappedNominalQueryOnly.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/StructuralConformance.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/StructuralConformance.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/StructuralConformance.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-query-only structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-query-only structural conformance; do not edit.
 module Generated.MappedNominalQueryOnly.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/QueryContract.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/QueryContract.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/QueryContract.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.MappedNominalQueryOnly.TemplateLookup.QueryContract
   ( TemplateLookupQueryInput
   , TemplateLookupQueryResult
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModel.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModel.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModel.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.MappedNominalQueryOnly.TemplateLookup.ReadModel
   ( templateLookupReadModel
   , templateLookupQualifiedTable
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelHarness.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelHarness.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelHarness.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.MappedNominalQueryOnly.TemplateLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.MappedNominalQueryOnly.TemplateLookup.ReadModel (templateLookupReadModel)
diff --git a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelTable.hs b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelTable.hs
--- a/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelTable.hs
+++ b/test/conformance-nominal-query-only/Generated/MappedNominalQueryOnly/TemplateLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.MappedNominalQueryOnly.TemplateLookup.ReadModelTable (templateLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-queue-only generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-queue-only generated nominal declarations; do not edit.
 module Generated.MappedNominalQueueOnly.Nominals
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals/Internal.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals/Internal.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals/Internal.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-queue-only generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-queue-only generated nominal ID internals; do not edit.
 module Generated.MappedNominalQueueOnly.Nominals.Internal
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Structural/NominalLeaves.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Structural/NominalLeaves.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Structural/NominalLeaves.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-queue-only structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-queue-only structural nominal leaves; do not edit.
 module Generated.MappedNominalQueueOnly.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/StructuralConformance.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/StructuralConformance.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/StructuralConformance.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context mapped-nominal-queue-only structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context mapped-nominal-queue-only structural conformance; do not edit.
 module Generated.MappedNominalQueueOnly.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/Queue.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/Queue.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/Queue.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
 module Generated.MappedNominalQueueOnly.TemplateWork.Queue
   ( TemplateWork (..)
   , encodeTemplateWork
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueueCodec.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueueCodec.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueueCodec.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueuePolicy.hs b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueuePolicy.hs
--- a/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueuePolicy.hs
+++ b/test/conformance-nominal-queue-only/Generated/MappedNominalQueueOnly/TemplateWork/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
 module Generated.MappedNominalQueueOnly.TemplateWork.QueuePolicy
   ( TemplateWorkOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/BehaviorSourceMap.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/BehaviorSourceMap.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/BehaviorSourceMap.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context nominal-scalars behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context nominal-scalars behavior source map; do not edit.
 module Generated.NominalScalars.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/Inspection.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/Inspection.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/Inspection.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context nominal-scalars inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context nominal-scalars inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/Nominal/Shape/OrderStatus.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/Nominal/Shape/OrderStatus.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/Nominal/Shape/OrderStatus.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/Nominal/Shape/OrderStatus.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from bound nominal enum representation OrderStatus; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from bound nominal enum representation OrderStatus; do not edit.
 module Generated.NominalScalars.Nominal.Shape.OrderStatus (OrderStatusRepresentation (..), orderStatusRepresentationText) where
 
 import Data.Text (Text)
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/BehaviorContract.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/BehaviorContract.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/BehaviorContract.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.NominalScalars.NominalLedger.Codec (encodeNominalLedgerEvent, parseNominalLedgerEvent, nominalLedgerCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Codec.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Codec.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Codec.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.Codec (
     nominalLedgerCodec,
     parseNominalLedgerEvent,
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Domain.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Domain.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Domain.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/EventStream.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/EventStream.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/EventStream.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.EventStream
   ( nominalLedgerCategory
   , nominalLedgerCommandCategory
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Harness.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Harness.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Harness.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.Harness (harnessAssertions) where
 
 import Generated.NominalScalars.NominalLedger.Domain
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Projection.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Projection.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Projection.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Transducer.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Transducer.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Transducer.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalLedger/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate NominalLedger; do not edit.
 module Generated.NominalScalars.NominalLedger.Transducer
   ( nominalLedgerTransducer
   , nominalLedgerFoldFingerprint
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalProjections.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalProjections.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/NominalProjections.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/NominalProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context nominal-scalars nominal scalar projection facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context nominal-scalars nominal scalar projection facade; do not edit.
 module Generated.NominalScalars.NominalProjections where
 
 import Data.KindID qualified as KindID
diff --git a/test/conformance-nominal-scalars/Generated/NominalScalars/ReplayAudit.hs b/test/conformance-nominal-scalars/Generated/NominalScalars/ReplayAudit.hs
--- a/test/conformance-nominal-scalars/Generated/NominalScalars/ReplayAudit.hs
+++ b/test/conformance-nominal-scalars/Generated/NominalScalars/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context nominal-scalars replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context nominal-scalars replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process-full/Generated/SurgeDemo/BehaviorSourceMap.hs b/test/conformance-process-full/Generated/SurgeDemo/BehaviorSourceMap.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/BehaviorSourceMap.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context surge-demo behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context surge-demo behavior source map; do not edit.
 module Generated.SurgeDemo.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/BehaviorContract.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/BehaviorContract.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/BehaviorContract.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.SurgeDemo.Hospital.Codec (encodeHospitalEvent, parseHospitalEvent, hospitalCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Codec.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Codec.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Codec.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.Codec (
     hospitalCodec,
     parseHospitalEvent,
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Domain.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Domain.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Domain.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/EventStream.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/EventStream.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/EventStream.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.EventStream
   ( hospitalCategory
   , hospitalCommandCategory
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Harness.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Harness.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Harness.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.Harness (harnessAssertions) where
 
 import Generated.SurgeDemo.Hospital.Domain
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Projection.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Projection.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Projection.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.Projection
   ( hospitalProjection
   , hospitalStatusFor
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Transducer.hs b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Transducer.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Hospital/Transducer.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Hospital/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.SurgeDemo.Hospital.Transducer
   ( hospitalTransducer
   , hospitalFoldFingerprint
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Inspection.hs b/test/conformance-process-full/Generated/SurgeDemo/Inspection.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Inspection.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context surge-demo inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context surge-demo inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Nominals.hs b/test/conformance-process-full/Generated/SurgeDemo/Nominals.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Nominals.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context surge-demo generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context surge-demo generated nominal declarations; do not edit.
 module Generated.SurgeDemo.Nominals
   ( HospitalId
   , parseHospitalId
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Nominals/Internal.hs b/test/conformance-process-full/Generated/SurgeDemo/Nominals/Internal.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Nominals/Internal.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context surge-demo generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context surge-demo generated nominal ID internals; do not edit.
 module Generated.SurgeDemo.Nominals.Internal
   ( HospitalId
   , parseHospitalId
diff --git a/test/conformance-process-full/Generated/SurgeDemo/ReplayAudit.hs b/test/conformance-process-full/Generated/SurgeDemo/ReplayAudit.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/ReplayAudit.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context surge-demo replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context surge-demo replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/BehaviorContract.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/BehaviorContract.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/BehaviorContract.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.SurgeDemo.Surge.Codec (encodeSurgeEvent, parseSurgeEvent, surgeCodec)
@@ -265,6 +266,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/Codec.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/Codec.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/Codec.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.Codec (
     surgeCodec,
     parseSurgeEvent,
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/Domain.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/Domain.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/Domain.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/EventStream.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/EventStream.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/EventStream.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.EventStream
   ( surgeCategory
   , surgeCommandCategory
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/Harness.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/Harness.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/Harness.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.Harness (harnessAssertions) where
 
 import Generated.SurgeDemo.Surge.Domain
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/Projection.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/Projection.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/Projection.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.Projection
   ( surgeProjection
   , surgeStatusFor
diff --git a/test/conformance-process-full/Generated/SurgeDemo/Surge/Transducer.hs b/test/conformance-process-full/Generated/SurgeDemo/Surge/Transducer.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/Surge/Transducer.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/Surge/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.SurgeDemo.Surge.Transducer
   ( surgeTransducer
   , surgeFoldFingerprint
diff --git a/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/Process.hs b/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/Process.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/Process.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/Process.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from process SurgeFlow; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from process SurgeFlow; do not edit.
 module Generated.SurgeDemo.SurgeFlow.Process
   ( surgeFlowProcessName
   , surgeFlowCategory
diff --git a/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/ProcessHarness.hs b/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/ProcessHarness.hs
--- a/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/ProcessHarness.hs
+++ b/test/conformance-process-full/Generated/SurgeDemo/SurgeFlow/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from process SurgeFlow; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from process SurgeFlow; do not edit.
 module Generated.SurgeDemo.SurgeFlow.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-full/Main.hs b/test/conformance-process-full/Main.hs
--- a/test/conformance-process-full/Main.hs
+++ b/test/conformance-process-full/Main.hs
@@ -14,9 +14,20 @@
 import Keiro.ProcessManager (ProcessManager (..), ProcessManagerAction (..))
 import SurgeDemo.SurgeFlow.Manager (SurgeInput (..), surgeManager)
 import System.Exit (exitFailure)
+import TopologyMachineProof (proveTopologyMachines, topologyMachineProofLine, walkMachine)
+import Generated.SurgeDemo.Hospital.Transducer (hospitalTransducer)
+import Generated.SurgeDemo.Surge.Transducer (surgeTransducer)
 
 main :: IO ()
 main = do
+    -- A Language 4 legacy-process saga (Surge) with a chain to a terminal
+    -- state, and its dispatch target (Hospital).
+    proof <-
+        proveTopologyMachines
+            "test/fixtures/surge-service.keiro"
+            []
+            [walkMachine "Surge" surgeTransducer, walkMachine "Hospital" hospitalTransducer]
+    putStrLn (topologyMachineProofLine proof)
     let hospitalIdValue = "hosp_01h455vb4pex5vsknk084sn02q"
         input = SurgeInput{hospitalId = hospitalIdValue, observedAt = posixSecondsToUTCTime 0}
         action = surgeManager.handle input
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Input.hs b/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Input.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Input.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Input.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process input AuditOnly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input AuditOnly; do not edit.
 module Generated.ProcessReactions.AuditOnly.Input (AuditOnlyInput (..)) where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Process.hs b/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Process.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Process.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/Process.hs
@@ -1,5 +1,5 @@
 {-# OPTIONS_GHC -Wno-missing-signatures #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process reaction AuditOnly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction AuditOnly; do not edit.
 module Generated.ProcessReactions.AuditOnly.Process
   ( AuditOnlyInput (..)
   , auditOnlyProcessName
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/ProcessHarness.hs b/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/ProcessHarness.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/ProcessHarness.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/AuditOnly/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process AuditOnly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process AuditOnly; do not edit.
 module Generated.ProcessReactions.AuditOnly.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/BehaviorSourceMap.hs b/test/conformance-process-reactions/Generated/ProcessReactions/BehaviorSourceMap.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/BehaviorSourceMap.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-reactions behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-reactions behavior source map; do not edit.
 module Generated.ProcessReactions.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/BehaviorContract.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/BehaviorContract.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/BehaviorContract.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.ProcessReactions.Incident.Codec (encodeIncidentEvent, parseIncidentEvent, incidentCodec)
@@ -205,6 +206,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Codec.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Codec.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Codec.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.Codec (
     incidentCodec,
     parseIncidentEvent,
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Domain.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Domain.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Domain.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/EventStream.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/EventStream.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/EventStream.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.EventStream
   ( incidentCategory
   , incidentCommandCategory
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Harness.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Harness.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Harness.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.Harness (harnessAssertions) where
 
 import Generated.ProcessReactions.Incident.Domain
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Projection.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Projection.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Projection.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Transducer.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Transducer.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Transducer.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Incident/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessReactions.Incident.Transducer
   ( incidentTransducer
   , incidentFoldFingerprint
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Input.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Input.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Input.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Input.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process input IncidentReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input IncidentReaction; do not edit.
 module Generated.ProcessReactions.IncidentReaction.Input (IncidentReactionInput (..)) where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Process.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Process.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Process.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/Process.hs
@@ -1,5 +1,5 @@
 {-# OPTIONS_GHC -Wno-missing-signatures #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process reaction IncidentReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction IncidentReaction; do not edit.
 module Generated.ProcessReactions.IncidentReaction.Process
   ( IncidentReactionInput (..)
   , incidentReactionProcessName
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/ProcessHarness.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/ProcessHarness.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/ProcessHarness.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentReaction/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process IncidentReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process IncidentReaction; do not edit.
 module Generated.ProcessReactions.IncidentReaction.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/BehaviorContract.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/BehaviorContract.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/BehaviorContract.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.ProcessReactions.IncidentSaga.Codec (encodeIncidentSagaEvent, parseIncidentSagaEvent, incidentSagaCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Codec.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Codec.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Codec.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.Codec (
     incidentSagaCodec,
     parseIncidentSagaEvent,
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Domain.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Domain.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Domain.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/EventStream.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/EventStream.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/EventStream.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.EventStream
   ( incidentSagaCategory
   , incidentSagaCommandCategory
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Harness.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Harness.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Harness.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.Harness (harnessAssertions) where
 
 import Generated.ProcessReactions.IncidentSaga.Domain
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Projection.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Projection.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Projection.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Transducer.hs b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Transducer.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Transducer.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/IncidentSaga/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessReactions.IncidentSaga.Transducer
   ( incidentSagaTransducer
   , incidentSagaFoldFingerprint
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Inspection.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Inspection.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Inspection.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-reactions inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-reactions inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Nominals.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Nominals.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Nominals.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Nominals.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-reactions generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-reactions generated nominal declarations; do not edit.
 module Generated.ProcessReactions.Nominals
   ( IncidentId
   , parseIncidentId
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/Nominals/Internal.hs b/test/conformance-process-reactions/Generated/ProcessReactions/Nominals/Internal.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/Nominals/Internal.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-reactions generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-reactions generated nominal ID internals; do not edit.
 module Generated.ProcessReactions.Nominals.Internal
   ( IncidentId
   , parseIncidentId
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/ReplayAudit.hs b/test/conformance-process-reactions/Generated/ProcessReactions/ReplayAudit.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/ReplayAudit.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-reactions replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-reactions replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Input.hs b/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Input.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Input.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Input.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process input ScalingReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input ScalingReaction; do not edit.
 module Generated.ProcessReactions.ScalingReaction.Input (ScalingReactionInput (..)) where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Process.hs b/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Process.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Process.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/Process.hs
@@ -1,5 +1,5 @@
 {-# OPTIONS_GHC -Wno-missing-signatures #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process reaction ScalingReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction ScalingReaction; do not edit.
 module Generated.ProcessReactions.ScalingReaction.Process
   ( ScalingReactionInput (..)
   , scalingReactionProcessName
diff --git a/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/ProcessHarness.hs b/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/ProcessHarness.hs
--- a/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/ProcessHarness.hs
+++ b/test/conformance-process-reactions/Generated/ProcessReactions/ScalingReaction/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process ScalingReaction; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process ScalingReaction; do not edit.
 module Generated.ProcessReactions.ScalingReaction.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-reactions/Main.hs b/test/conformance-process-reactions/Main.hs
--- a/test/conformance-process-reactions/Main.hs
+++ b/test/conformance-process-reactions/Main.hs
@@ -34,6 +34,9 @@
 import Streamly.Data.Stream qualified as Streamly
 import System.Environment (getArgs)
 import System.IO (hPutStrLn, stderr)
+import Generated.ProcessReactions.Incident.Transducer (incidentTransducer)
+import Generated.ProcessReactions.IncidentSaga.Transducer (incidentSagaTransducer)
+import TopologyMachineProof (proveTopologyMachines, topologyMachineProofLine, walkMachine)
 
 main :: IO ()
 main = getArgs >>= \case
@@ -42,7 +45,15 @@
   arguments -> fail ("unexpected arguments: " <> show arguments)
 
 regularMain :: IO ()
-regularMain =
+regularMain = do
+  -- A reaction-process saga (IncidentSaga) shared by three processes, with two
+  -- edges out of one state, and the dispatch target (Incident).
+  proof <-
+    proveTopologyMachines
+      "test/fixtures/process-reactions.keiro"
+      []
+      [walkMachine "IncidentSaga" incidentSagaTransducer, walkMachine "Incident" incidentTransducer]
+  putStrLn (topologyMachineProofLine proof)
   withMigratedSuite $ \fixture ->
     withFreshResourceStore fixture $ \(_storeHandle, StoreRunner runStore) -> do
       incidentId <- either (fail . show) pure (mkIncidentId "inc_01h455vb4pex5vsknk084sn02q")
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/BehaviorSourceMap.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/BehaviorSourceMap.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/BehaviorSourceMap.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
 module Generated.HospitalCapacity.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/BehaviorContract.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/BehaviorContract.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/BehaviorContract.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Hospital.Codec (encodeHospitalEvent, parseHospitalEvent, hospitalCodec)
@@ -205,6 +206,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Codec.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Codec.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Codec.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Codec (
     hospitalCodec,
     parseHospitalEvent,
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Domain.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Domain.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Domain.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/EventStream.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/EventStream.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/EventStream.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.EventStream
   ( hospitalCategory
   , hospitalCommandCategory
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Harness.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Harness.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Harness.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Hospital.Domain
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Projection.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Projection.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Projection.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Transducer.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Transducer.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Transducer.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Hospital/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Transducer
   ( hospitalTransducer
   , hospitalFoldFingerprint
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/Process.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/Process.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/Process.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/Process.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
 module Generated.HospitalCapacity.HospitalSurge.Process
   ( hospitalSurgeProcessName
   , hospitalSurgeCategory
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
 module Generated.HospitalCapacity.HospitalSurge.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Inspection.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Inspection.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Inspection.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
 module Generated.HospitalCapacity.Nominals
   ( CommandId
   , parseCommandId
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals/Internal.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals/Internal.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals/Internal.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
 module Generated.HospitalCapacity.Nominals.Internal
   ( CommandId
   , parseCommandId
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/ReplayAudit.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/ReplayAudit.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/ReplayAudit.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/BehaviorContract.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/BehaviorContract.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/BehaviorContract.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Surge.Codec (encodeSurgeEvent, parseSurgeEvent, surgeCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Codec.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Codec.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Codec.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Codec (
     surgeCodec,
     parseSurgeEvent,
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Domain.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Domain.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Domain.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Domain where
 
 import Data.Text (Text)
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/EventStream.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/EventStream.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/EventStream.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.EventStream
   ( surgeCategory
   , surgeCommandCategory
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Harness.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Harness.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Harness.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Surge.Domain
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Projection.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Projection.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Projection.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Transducer.hs b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Transducer.hs
--- a/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Transducer.hs
+++ b/test/conformance-process-runtime/Generated/HospitalCapacity/Surge/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Transducer
   ( surgeTransducer
   , surgeFoldFingerprint
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/BehaviorSourceMap.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/BehaviorSourceMap.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/BehaviorSourceMap.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context incident-response behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context incident-response behavior source map; do not edit.
 module Generated.IncidentResponse.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/BehaviorContract.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/BehaviorContract.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/BehaviorContract.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IncidentResponse.Escalation.Codec (encodeEscalationEvent, parseEscalationEvent, escalationCodec)
@@ -294,6 +295,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Codec.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Codec.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Codec.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.Codec (
     escalationCodec,
     parseEscalationEvent,
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Domain.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Domain.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Domain.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/EventStream.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/EventStream.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/EventStream.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.EventStream
   ( escalationCategory
   , escalationCommandCategory
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Harness.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Harness.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Harness.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.Harness (harnessAssertions) where
 
 import Generated.IncidentResponse.Escalation.Domain
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Projection.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Projection.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Projection.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Transducer.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Transducer.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Transducer.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Escalation/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Escalation; do not edit.
 module Generated.IncidentResponse.Escalation.Transducer
   ( escalationTransducer
   , escalationFoldFingerprint
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/BehaviorContract.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/BehaviorContract.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/BehaviorContract.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IncidentResponse.Incident.Codec (encodeIncidentEvent, parseIncidentEvent, incidentCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Codec.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Codec.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Codec.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.Codec (
     incidentCodec,
     parseIncidentEvent,
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Domain.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Domain.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Domain.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/EventStream.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/EventStream.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/EventStream.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.EventStream
   ( incidentCategory
   , incidentCommandCategory
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Harness.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Harness.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Harness.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.Harness (harnessAssertions) where
 
 import Generated.IncidentResponse.Incident.Domain
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Projection.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Projection.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Projection.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Transducer.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Transducer.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Transducer.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Incident/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.IncidentResponse.Incident.Transducer
   ( incidentTransducer
   , incidentFoldFingerprint
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Input.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Input.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Input.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Input.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process input IncidentEscalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input IncidentEscalation; do not edit.
 module Generated.IncidentResponse.IncidentEscalation.Input (IncidentEscalationInput (..)) where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Process.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Process.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Process.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/Process.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# OPTIONS_GHC -Wno-missing-signatures #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process reaction IncidentEscalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction IncidentEscalation; do not edit.
 module Generated.IncidentResponse.IncidentEscalation.Process
   ( IncidentEscalationInput (..)
   , incidentEscalationProcessName
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/ProcessHarness.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/ProcessHarness.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/ProcessHarness.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/IncidentEscalation/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process IncidentEscalation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process IncidentEscalation; do not edit.
 module Generated.IncidentResponse.IncidentEscalation.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Inspection.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Inspection.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Inspection.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context incident-response inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context incident-response inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context incident-response generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context incident-response generated nominal declarations; do not edit.
 module Generated.IncidentResponse.Nominals
   ( EscalationNoOp (..)
   , escalationNoOpText
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals/Internal.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals/Internal.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals/Internal.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context incident-response generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context incident-response generated nominal ID internals; do not edit.
 module Generated.IncidentResponse.Nominals.Internal
   ( IncidentId
   , parseIncidentId
diff --git a/test/conformance-process-state-authority/Generated/IncidentResponse/ReplayAudit.hs b/test/conformance-process-state-authority/Generated/IncidentResponse/ReplayAudit.hs
--- a/test/conformance-process-state-authority/Generated/IncidentResponse/ReplayAudit.hs
+++ b/test/conformance-process-state-authority/Generated/IncidentResponse/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context incident-response replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context incident-response replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/BehaviorSourceMap.hs b/test/conformance-process-timers/Generated/ProcessTimers/BehaviorSourceMap.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/BehaviorSourceMap.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-timers behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-timers behavior source map; do not edit.
 module Generated.ProcessTimers.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/BehaviorContract.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/BehaviorContract.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/BehaviorContract.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.ProcessTimers.Incident.Codec (encodeIncidentEvent, parseIncidentEvent, incidentCodec)
@@ -241,6 +242,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Codec.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Codec.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Codec.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.Codec (
     incidentCodec,
     parseIncidentEvent,
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Domain.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Domain.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Domain.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/EventStream.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/EventStream.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/EventStream.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.EventStream
   ( incidentCategory
   , incidentCommandCategory
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Harness.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Harness.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Harness.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.Harness (harnessAssertions) where
 
 import Generated.ProcessTimers.Incident.Domain
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Projection.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Projection.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Projection.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Transducer.hs b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Transducer.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Incident/Transducer.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Incident/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Incident; do not edit.
 module Generated.ProcessTimers.Incident.Transducer
   ( incidentTransducer
   , incidentFoldFingerprint
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/BehaviorContract.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/BehaviorContract.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/BehaviorContract.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.ProcessTimers.IncidentSaga.Codec (encodeIncidentSagaEvent, parseIncidentSagaEvent, incidentSagaCodec)
@@ -205,6 +206,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Codec.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Codec.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Codec.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.Codec (
     incidentSagaCodec,
     parseIncidentSagaEvent,
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Domain.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Domain.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Domain.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/EventStream.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/EventStream.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/EventStream.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.EventStream
   ( incidentSagaCategory
   , incidentSagaCommandCategory
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Harness.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Harness.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Harness.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.Harness (harnessAssertions) where
 
 import Generated.ProcessTimers.IncidentSaga.Domain
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Projection.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Projection.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Projection.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Transducer.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Transducer.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Transducer.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentSaga/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate IncidentSaga; do not edit.
 module Generated.ProcessTimers.IncidentSaga.Transducer
   ( incidentSagaTransducer
   , incidentSagaFoldFingerprint
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Input.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Input.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Input.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Input.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE DeriveAnyClass #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process input IncidentTimers; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input IncidentTimers; do not edit.
 module Generated.ProcessTimers.IncidentTimers.Input (IncidentTimersInput (..)) where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Process.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Process.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Process.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/Process.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# OPTIONS_GHC -Wno-missing-signatures #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process reaction IncidentTimers; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction IncidentTimers; do not edit.
 module Generated.ProcessTimers.IncidentTimers.Process
   ( IncidentTimersInput (..)
   , incidentTimersProcessName
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/ProcessHarness.hs b/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/ProcessHarness.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/ProcessHarness.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/IncidentTimers/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from process IncidentTimers; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process IncidentTimers; do not edit.
 module Generated.ProcessTimers.IncidentTimers.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Inspection.hs b/test/conformance-process-timers/Generated/ProcessTimers/Inspection.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Inspection.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-timers inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-timers inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Nominals.hs b/test/conformance-process-timers/Generated/ProcessTimers/Nominals.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Nominals.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-timers generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-timers generated nominal declarations; do not edit.
 module Generated.ProcessTimers.Nominals
   ( IncidentId
   , parseIncidentId
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/Nominals/Internal.hs b/test/conformance-process-timers/Generated/ProcessTimers/Nominals/Internal.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/Nominals/Internal.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-timers generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-timers generated nominal ID internals; do not edit.
 module Generated.ProcessTimers.Nominals.Internal
   ( IncidentId
   , parseIncidentId
diff --git a/test/conformance-process-timers/Generated/ProcessTimers/ReplayAudit.hs b/test/conformance-process-timers/Generated/ProcessTimers/ReplayAudit.hs
--- a/test/conformance-process-timers/Generated/ProcessTimers/ReplayAudit.hs
+++ b/test/conformance-process-timers/Generated/ProcessTimers/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context process-timers replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context process-timers replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process/Generated/HospitalCapacity/BehaviorSourceMap.hs b/test/conformance-process/Generated/HospitalCapacity/BehaviorSourceMap.hs
--- a/test/conformance-process/Generated/HospitalCapacity/BehaviorSourceMap.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
 module Generated.HospitalCapacity.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/BehaviorContract.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/BehaviorContract.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/BehaviorContract.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Hospital.Codec (encodeHospitalEvent, parseHospitalEvent, hospitalCodec)
@@ -205,6 +206,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/Codec.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/Codec.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/Codec.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Codec (
     hospitalCodec,
     parseHospitalEvent,
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/Domain.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/Domain.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/Domain.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/EventStream.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/EventStream.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/EventStream.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.EventStream
   ( hospitalCategory
   , hospitalCommandCategory
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/Harness.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/Harness.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/Harness.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Hospital.Domain
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/Projection.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/Projection.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/Projection.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process/Generated/HospitalCapacity/Hospital/Transducer.hs b/test/conformance-process/Generated/HospitalCapacity/Hospital/Transducer.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Hospital/Transducer.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Hospital/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Hospital; do not edit.
 module Generated.HospitalCapacity.Hospital.Transducer
   ( hospitalTransducer
   , hospitalFoldFingerprint
diff --git a/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/Process.hs b/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/Process.hs
--- a/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/Process.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/Process.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
 module Generated.HospitalCapacity.HospitalSurge.Process
   ( hospitalSurgeProcessName
   , hospitalSurgeCategory
diff --git a/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs b/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs
--- a/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/HospitalSurge/ProcessHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from process HospitalSurge; do not edit.
 module Generated.HospitalCapacity.HospitalSurge.ProcessHarness (processHarnessValues) where
 
 -- | (label, value): the spec's deterministic process/timer decisions,
diff --git a/test/conformance-process/Generated/HospitalCapacity/Inspection.hs b/test/conformance-process/Generated/HospitalCapacity/Inspection.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Inspection.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-process/Generated/HospitalCapacity/Nominals.hs b/test/conformance-process/Generated/HospitalCapacity/Nominals.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Nominals.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
 module Generated.HospitalCapacity.Nominals
   ( CommandId
   , parseCommandId
diff --git a/test/conformance-process/Generated/HospitalCapacity/Nominals/Internal.hs b/test/conformance-process/Generated/HospitalCapacity/Nominals/Internal.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Nominals/Internal.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
 module Generated.HospitalCapacity.Nominals.Internal
   ( CommandId
   , parseCommandId
diff --git a/test/conformance-process/Generated/HospitalCapacity/ReplayAudit.hs b/test/conformance-process/Generated/HospitalCapacity/ReplayAudit.hs
--- a/test/conformance-process/Generated/HospitalCapacity/ReplayAudit.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/BehaviorContract.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/BehaviorContract.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/BehaviorContract.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Surge.Codec (encodeSurgeEvent, parseSurgeEvent, surgeCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/Codec.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/Codec.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/Codec.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Codec (
     surgeCodec,
     parseSurgeEvent,
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/Domain.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/Domain.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/Domain.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Domain where
 
 import Data.Text (Text)
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/EventStream.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/EventStream.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/EventStream.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.EventStream
   ( surgeCategory
   , surgeCommandCategory
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/Harness.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/Harness.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/Harness.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Surge.Domain
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/Projection.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/Projection.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/Projection.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-process/Generated/HospitalCapacity/Surge/Transducer.hs b/test/conformance-process/Generated/HospitalCapacity/Surge/Transducer.hs
--- a/test/conformance-process/Generated/HospitalCapacity/Surge/Transducer.hs
+++ b/test/conformance-process/Generated/HospitalCapacity/Surge/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Surge; do not edit.
 module Generated.HospitalCapacity.Surge.Transducer
   ( surgeTransducer
   , surgeFoldFingerprint
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/BehaviorSourceMap.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/BehaviorSourceMap.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/BehaviorSourceMap.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context catalog-demo behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context catalog-demo behavior source map; do not edit.
 module Generated.CatalogDemo.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModel.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModel.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModel.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
 module Generated.CatalogDemo.CatalogAudit.ReadModel
   ( catalogAuditReadModel
   , catalogAuditQualifiedTable
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelHarness.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelHarness.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelHarness.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
 module Generated.CatalogDemo.CatalogAudit.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.CatalogDemo.CatalogAudit.ReadModel (catalogAuditReadModel)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelTable.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelTable.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelTable.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
 module Generated.CatalogDemo.CatalogAudit.ReadModelTable (catalogAuditQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Inspection.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Inspection.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Inspection.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context catalog-demo inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context catalog-demo inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/QueryContract.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/QueryContract.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/QueryContract.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
 module Generated.CatalogDemo.OrderInline.QueryContract
   ( OrderInlineQueryInput
   , OrderInlineQueryResult
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModel.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModel.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModel.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
 module Generated.CatalogDemo.OrderInline.ReadModel
   ( orderInlineReadModel
   , orderInlineQualifiedTable
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelHarness.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelHarness.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelHarness.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
 module Generated.CatalogDemo.OrderInline.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.CatalogDemo.OrderInline.ReadModel (orderInlineReadModel)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelTable.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelTable.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelTable.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderInline/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_inline; do not edit.
 module Generated.CatalogDemo.OrderInline.ReadModelTable (orderInlineQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModel.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModel.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModel.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_totals_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_totals_lookup; do not edit.
 module Generated.CatalogDemo.OrderTotalsLookup.ReadModel
   ( orderTotalsLookupReadModel
   , orderTotalsLookupQualifiedTable
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelHarness.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelHarness.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelHarness.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_totals_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_totals_lookup; do not edit.
 module Generated.CatalogDemo.OrderTotalsLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.CatalogDemo.OrderTotalsLookup.ReadModel (orderTotalsLookupReadModel)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelTable.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelTable.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelTable.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/OrderTotalsLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel order_totals_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel order_totals_lookup; do not edit.
 module Generated.CatalogDemo.OrderTotalsLookup.ReadModelTable (orderTotalsLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/BehaviorContract.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/BehaviorContract.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/BehaviorContract.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.CatalogDemo.Orders.Codec (encodeOrdersEvent, parseOrdersEvent, ordersCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Codec.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Codec.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Codec.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.Codec (
     ordersCodec,
     parseOrdersEvent,
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Domain.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Domain.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Domain.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/EventStream.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/EventStream.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/EventStream.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.EventStream
   ( ordersCategory
   , ordersCommandCategory
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Harness.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Harness.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Harness.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.Harness (harnessAssertions) where
 
 import Generated.CatalogDemo.Orders.Domain
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Projection.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Projection.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Projection.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Transducer.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Transducer.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Transducer.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Orders/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Orders; do not edit.
 module Generated.CatalogDemo.Orders.Transducer
   ( ordersTransducer
   , ordersFoldFingerprint
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/ProjectionCatalog.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/ProjectionCatalog.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/ProjectionCatalog.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from projection-catalog catalog-demo; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from projection-catalog catalog-demo; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.CatalogDemo.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/Queue.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/Queue.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/Queue.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workqueue qualification_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workqueue qualification_jobs; do not edit.
 module Generated.CatalogDemo.QualificationJobs.Queue
   ( QualificationJob (..)
   , encodeQualificationJob
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueueCodec.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueueCodec.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueueCodec.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workqueue qualification_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workqueue qualification_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueuePolicy.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueuePolicy.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueuePolicy.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/QualificationJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workqueue qualification_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workqueue qualification_jobs; do not edit.
 module Generated.CatalogDemo.QualificationJobs.QueuePolicy
   ( QualificationJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/ReplayAudit.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/ReplayAudit.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/ReplayAudit.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context catalog-demo replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context catalog-demo replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModel.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModel.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModel.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel shipmentLookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel shipmentLookup; do not edit.
 module Generated.CatalogDemo.ShipmentLookup.ReadModel
   ( shipmentLookupReadModel
   , shipmentLookupQualifiedTable
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelHarness.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelHarness.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelHarness.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel shipmentLookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel shipmentLookup; do not edit.
 module Generated.CatalogDemo.ShipmentLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.CatalogDemo.ShipmentLookup.ReadModel (shipmentLookupReadModel)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelTable.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelTable.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelTable.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/ShipmentLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from readmodel shipmentLookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from readmodel shipmentLookup; do not edit.
 module Generated.CatalogDemo.ShipmentLookup.ReadModelTable (shipmentLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/BehaviorContract.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/BehaviorContract.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/BehaviorContract.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.CatalogDemo.Shipments.Codec (encodeShipmentsEvent, parseShipmentsEvent, shipmentsCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Codec.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Codec.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Codec.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.Codec (
     shipmentsCodec,
     parseShipmentsEvent,
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Domain.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Domain.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Domain.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/EventStream.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/EventStream.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/EventStream.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.EventStream
   ( shipmentsCategory
   , shipmentsCommandCategory
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Harness.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Harness.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Harness.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.Harness (harnessAssertions) where
 
 import Generated.CatalogDemo.Shipments.Domain
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Projection.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Projection.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Projection.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Transducer.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Transducer.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Transducer.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Shipments/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from aggregate Shipments; do not edit.
 module Generated.CatalogDemo.Shipments.Transducer
   ( shipmentsTransducer
   , shipmentsFoldFingerprint
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/Structural/Shape/QualificationPayload.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/Structural/Shape/QualificationPayload.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/Structural/Shape/QualificationPayload.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/Structural/Shape/QualificationPayload.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from mapped structural QualificationPayload; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from mapped structural QualificationPayload; do not edit.
 module Generated.CatalogDemo.Structural.Shape.QualificationPayload (QualificationPayloadShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralConformance.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralConformance.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralConformance.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context catalog-demo structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context catalog-demo structural conformance; do not edit.
 module Generated.CatalogDemo.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralProjections.hs b/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralProjections.hs
--- a/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralProjections.hs
+++ b/test/conformance-projection-catalog/Generated/CatalogDemo/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context catalog-demo mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from context catalog-demo mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-publisher-runtime/Generated/HospitalCapacity/Emergency/Contract.hs b/test/conformance-publisher-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
--- a/test/conformance-publisher-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
+++ b/test/conformance-publisher-runtime/Generated/HospitalCapacity/Emergency/Contract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from contract emergency; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from contract emergency; do not edit.
 module Generated.HospitalCapacity.Emergency.Contract
   ( EmergencyPayload (..)
   , TransferReservationAcceptedData (..)
diff --git a/test/conformance-publisher-runtime/Generated/HospitalCapacity/HospitalPublisher/Publisher.hs b/test/conformance-publisher-runtime/Generated/HospitalCapacity/HospitalPublisher/Publisher.hs
--- a/test/conformance-publisher-runtime/Generated/HospitalCapacity/HospitalPublisher/Publisher.hs
+++ b/test/conformance-publisher-runtime/Generated/HospitalCapacity/HospitalPublisher/Publisher.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from publisher hospitalPublisher; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from publisher hospitalPublisher; do not edit.
 module Generated.HospitalCapacity.HospitalPublisher.Publisher
   ( publisherOrdering
   , publisherBackoff
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModel
   ( acceptedTransferNeedsReadModel
   , acceptedTransferNeedsQualifiedTable
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModel (acceptedTransferNeedsReadModel, acceptedTransferNeedsAsyncProjection)
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModelTable (acceptedTransferNeedsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/Queue.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/Queue.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/Queue.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 module Generated.HospitalCapacity.ReservationWork.Queue
   ( ReservationWorkItem (..)
   , encodeReservationWorkItem
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 module Generated.HospitalCapacity.ReservationWork.QueuePolicy
   ( ReservationWorkOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModel
   ( transferDecisionsReadModel
   , transferDecisionsQualifiedTable
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.TransferDecisions.ReadModel (transferDecisionsReadModel, transferDecisionsAsyncProjection)
diff --git a/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs b/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
--- a/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
+++ b/test/conformance-queue-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelTable (transferDecisionsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs b/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModel
   ( acceptedTransferNeedsReadModel
   , acceptedTransferNeedsQualifiedTable
diff --git a/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs b/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModel (acceptedTransferNeedsReadModel, acceptedTransferNeedsAsyncProjection)
diff --git a/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs b/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/AcceptedTransferNeeds/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel accepted_transfer_needs; do not edit.
 module Generated.HospitalCapacity.AcceptedTransferNeeds.ReadModelTable (acceptedTransferNeedsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/Queue.hs b/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/Queue.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/Queue.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 module Generated.HospitalCapacity.ReservationWork.Queue
   ( ReservationWorkItem (..)
   , encodeReservationWorkItem
diff --git a/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs b/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs b/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/ReservationWork/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workqueue reservation_work; do not edit.
 module Generated.HospitalCapacity.ReservationWork.QueuePolicy
   ( ReservationWorkOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs b/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModel
   ( transferDecisionsReadModel
   , transferDecisionsQualifiedTable
diff --git a/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs b/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.TransferDecisions.ReadModel (transferDecisionsReadModel, transferDecisionsAsyncProjection)
diff --git a/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs b/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
--- a/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
+++ b/test/conformance-queue/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelTable (transferDecisionsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs b/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
--- a/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
+++ b/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModel
   ( transferDecisionsReadModel
   , transferDecisionsQualifiedTable
diff --git a/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs b/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
--- a/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
+++ b/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.HospitalCapacity.TransferDecisions.ReadModel (transferDecisionsReadModel, transferDecisionsAsyncProjection)
diff --git a/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs b/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
--- a/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
+++ b/test/conformance-readmodel-runtime/Generated/HospitalCapacity/TransferDecisions/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel transfer_decisions; do not edit.
 module Generated.HospitalCapacity.TransferDecisions.ReadModelTable (transferDecisionsQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/BehaviorSourceMap.hs b/test/conformance-refined-base16/Generated/RefinedBase16/BehaviorSourceMap.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/BehaviorSourceMap.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context refined-base16 behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context refined-base16 behavior source map; do not edit.
 module Generated.RefinedBase16.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/Queue.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/Queue.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/Queue.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue hash_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue hash_jobs; do not edit.
 module Generated.RefinedBase16.HashJobs.Queue
   ( HashJob (..)
   , encodeHashJob
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueueCodec.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueueCodec.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueueCodec.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue hash_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue hash_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueuePolicy.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueuePolicy.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueuePolicy.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue hash_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue hash_jobs; do not edit.
 module Generated.RefinedBase16.HashJobs.QueuePolicy
   ( HashJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/QueryContract.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/QueryContract.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/QueryContract.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
 module Generated.RefinedBase16.HashLookup.QueryContract
   ( HashLookupQueryInput
   , HashLookupQueryResult
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModel.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModel.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModel.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
 module Generated.RefinedBase16.HashLookup.ReadModel
   ( hashLookupReadModel
   , hashLookupQualifiedTable
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelHarness.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelHarness.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelHarness.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
 module Generated.RefinedBase16.HashLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.RefinedBase16.HashLookup.ReadModel (hashLookupReadModel)
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelTable.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelTable.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelTable.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel hash_lookup; do not edit.
 module Generated.RefinedBase16.HashLookup.ReadModelTable (hashLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/BehaviorContract.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/BehaviorContract.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/BehaviorContract.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.RefinedBase16.HashStore.Codec (encodeHashStoreEvent, parseHashStoreEvent, hashStoreCodec)
@@ -254,6 +255,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Codec.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Codec.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Codec.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.Codec (
     hashStoreCodec,
     parseHashStoreEvent,
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Domain.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Domain.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Domain.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/EventStream.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/EventStream.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/EventStream.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.EventStream
   ( hashStoreCategory
   , hashStoreCommandCategory
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Harness.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Harness.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Harness.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.Harness (harnessAssertions) where
 
 import Generated.RefinedBase16.HashStore.Domain
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Projection.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Projection.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Projection.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Transducer.hs b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Transducer.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Transducer.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/HashStore/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate HashStore; do not edit.
 module Generated.RefinedBase16.HashStore.Transducer
   ( hashStoreTransducer
   , hashStoreFoldFingerprint
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/Inspection.hs b/test/conformance-refined-base16/Generated/RefinedBase16/Inspection.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/Inspection.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context refined-base16 inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context refined-base16 inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/ProjectionCatalog.hs b/test/conformance-refined-base16/Generated/RefinedBase16/ProjectionCatalog.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/ProjectionCatalog.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog refined-base16; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog refined-base16; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.RefinedBase16.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/ReplayAudit.hs b/test/conformance-refined-base16/Generated/RefinedBase16/ReplayAudit.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/ReplayAudit.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context refined-base16 replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context refined-base16 replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/ContentHash.hs b/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/ContentHash.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/ContentHash.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/ContentHash.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural ContentHash; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural ContentHash; do not edit.
 module Generated.RefinedBase16.Structural.Shape.ContentHash (ContentHashShape) where
 
 import Data.ByteString (ByteString)
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/HashEnvelope.hs b/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/HashEnvelope.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/HashEnvelope.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/HashEnvelope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural HashEnvelope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural HashEnvelope; do not edit.
 module Generated.RefinedBase16.Structural.Shape.HashEnvelope (HashEnvelopeShape (..)) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/MaybeContentHash.hs b/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/MaybeContentHash.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/MaybeContentHash.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/Structural/Shape/MaybeContentHash.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural MaybeContentHash; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural MaybeContentHash; do not edit.
 module Generated.RefinedBase16.Structural.Shape.MaybeContentHash (MaybeContentHashShape) where
 
 import Generated.RefinedBase16.Structural.Shape.ContentHash qualified as ContentHash
diff --git a/test/conformance-refined-base16/Generated/RefinedBase16/StructuralConformance.hs b/test/conformance-refined-base16/Generated/RefinedBase16/StructuralConformance.hs
--- a/test/conformance-refined-base16/Generated/RefinedBase16/StructuralConformance.hs
+++ b/test/conformance-refined-base16/Generated/RefinedBase16/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context refined-base16 structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context refined-base16 structural conformance; do not edit.
 module Generated.RefinedBase16.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-replay/Generated/ReplayDivergence/BehaviorSourceMap.hs b/test/conformance-replay/Generated/ReplayDivergence/BehaviorSourceMap.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/BehaviorSourceMap.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context replay-divergence behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context replay-divergence behavior source map; do not edit.
 module Generated.ReplayDivergence.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Inspection.hs b/test/conformance-replay/Generated/ReplayDivergence/Inspection.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Inspection.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context replay-divergence inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context replay-divergence inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/BehaviorContract.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/BehaviorContract.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/BehaviorContract.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.ReplayDivergence.Note.Codec (encodeNoteEvent, parseNoteEvent, noteCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/Codec.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/Codec.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/Codec.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.Codec (
     noteCodec,
     parseNoteEvent,
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/Domain.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/Domain.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/Domain.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/EventStream.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/EventStream.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/EventStream.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.EventStream
   ( noteCategory
   , noteCommandCategory
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/Harness.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/Harness.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/Harness.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.Harness (harnessAssertions) where
 
 import Generated.ReplayDivergence.Note.Domain
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/Projection.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/Projection.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/Projection.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-replay/Generated/ReplayDivergence/Note/Transducer.hs b/test/conformance-replay/Generated/ReplayDivergence/Note/Transducer.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/Note/Transducer.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/Note/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Note; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Note; do not edit.
 module Generated.ReplayDivergence.Note.Transducer
   ( noteTransducer
   , noteFoldFingerprint
diff --git a/test/conformance-replay/Generated/ReplayDivergence/ReplayAudit.hs b/test/conformance-replay/Generated/ReplayDivergence/ReplayAudit.hs
--- a/test/conformance-replay/Generated/ReplayDivergence/ReplayAudit.hs
+++ b/test/conformance-replay/Generated/ReplayDivergence/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context replay-divergence replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context replay-divergence replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-router-full/Generated/IncidentPaging/BehaviorSourceMap.hs b/test/conformance-router-full/Generated/IncidentPaging/BehaviorSourceMap.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/BehaviorSourceMap.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging behavior source map; do not edit.
 module Generated.IncidentPaging.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Inspection.hs b/test/conformance-router-full/Generated/IncidentPaging/Inspection.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Inspection.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/BehaviorContract.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/BehaviorContract.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/BehaviorContract.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IncidentPaging.Page.Codec (encodePageEvent, parsePageEvent, pageCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/Codec.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/Codec.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/Codec.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Codec (
     pageCodec,
     parsePageEvent,
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/Domain.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/Domain.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/Domain.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Domain where
 
 import Data.Text (Text)
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/EventStream.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/EventStream.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/EventStream.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.EventStream
   ( pageCategory
   , pageCommandCategory
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/Harness.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/Harness.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/Harness.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Harness (harnessAssertions) where
 
 import Generated.IncidentPaging.Page.Domain
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/Projection.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/Projection.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/Projection.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-router-full/Generated/IncidentPaging/Page/Transducer.hs b/test/conformance-router-full/Generated/IncidentPaging/Page/Transducer.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/Page/Transducer.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/Page/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Transducer
   ( pageTransducer
   , pageFoldFingerprint
diff --git a/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/Router.hs b/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/Router.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/Router.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/Router.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
 module Generated.IncidentPaging.PagingRouter.Router
   ( pagingRouterName
   , pagingRouterWorkerOptions
diff --git a/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/RouterHarness.hs b/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
 module Generated.IncidentPaging.PagingRouter.RouterHarness (routerHarnessValues) where
 
 routerHarnessValues :: [(String, String)]
diff --git a/test/conformance-router-full/Generated/IncidentPaging/ReplayAudit.hs b/test/conformance-router-full/Generated/IncidentPaging/ReplayAudit.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/ReplayAudit.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModel.hs b/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModel
   ( serviceOncallReadModel
   , serviceOncallQualifiedTable
diff --git a/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs b/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.IncidentPaging.ServiceOncall.ReadModel (serviceOncallReadModel, serviceOncallAsyncProjection)
diff --git a/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs b/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
--- a/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
+++ b/test/conformance-router-full/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModelTable (serviceOncallQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/BehaviorSourceMap.hs b/test/conformance-router-runtime/Generated/IncidentPaging/BehaviorSourceMap.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/BehaviorSourceMap.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging behavior source map; do not edit.
 module Generated.IncidentPaging.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Inspection.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Inspection.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Inspection.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/BehaviorContract.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/BehaviorContract.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/BehaviorContract.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IncidentPaging.Page.Codec (encodePageEvent, parsePageEvent, pageCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Codec.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Codec.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Codec.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Codec (
     pageCodec,
     parsePageEvent,
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Domain.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Domain.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Domain.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Domain where
 
 import Data.Text (Text)
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/EventStream.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/EventStream.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/EventStream.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.EventStream
   ( pageCategory
   , pageCommandCategory
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Harness.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Harness.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Harness.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Harness (harnessAssertions) where
 
 import Generated.IncidentPaging.Page.Domain
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Projection.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Projection.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Projection.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Transducer.hs b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Transducer.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/Page/Transducer.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/Page/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Transducer
   ( pageTransducer
   , pageFoldFingerprint
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/Router.hs b/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/Router.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/Router.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/Router.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
 module Generated.IncidentPaging.PagingRouter.Router
   ( pagingRouterName
   , pagingRouterWorkerOptions
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/RouterHarness.hs b/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
 module Generated.IncidentPaging.PagingRouter.RouterHarness (routerHarnessValues) where
 
 routerHarnessValues :: [(String, String)]
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/ReplayAudit.hs b/test/conformance-router-runtime/Generated/IncidentPaging/ReplayAudit.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/ReplayAudit.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModel.hs b/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModel
   ( serviceOncallReadModel
   , serviceOncallQualifiedTable
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs b/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.IncidentPaging.ServiceOncall.ReadModel (serviceOncallReadModel, serviceOncallAsyncProjection)
diff --git a/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs b/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
--- a/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
+++ b/test/conformance-router-runtime/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModelTable (serviceOncallQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-router/Generated/IncidentPaging/BehaviorSourceMap.hs b/test/conformance-router/Generated/IncidentPaging/BehaviorSourceMap.hs
--- a/test/conformance-router/Generated/IncidentPaging/BehaviorSourceMap.hs
+++ b/test/conformance-router/Generated/IncidentPaging/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging behavior source map; do not edit.
 module Generated.IncidentPaging.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-router/Generated/IncidentPaging/Inspection.hs b/test/conformance-router/Generated/IncidentPaging/Inspection.hs
--- a/test/conformance-router/Generated/IncidentPaging/Inspection.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/BehaviorContract.hs b/test/conformance-router/Generated/IncidentPaging/Page/BehaviorContract.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/BehaviorContract.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.IncidentPaging.Page.Codec (encodePageEvent, parsePageEvent, pageCodec)
@@ -217,6 +218,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/Codec.hs b/test/conformance-router/Generated/IncidentPaging/Page/Codec.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/Codec.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Codec (
     pageCodec,
     parsePageEvent,
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/Domain.hs b/test/conformance-router/Generated/IncidentPaging/Page/Domain.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/Domain.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Domain where
 
 import Data.Text (Text)
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/EventStream.hs b/test/conformance-router/Generated/IncidentPaging/Page/EventStream.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/EventStream.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.EventStream
   ( pageCategory
   , pageCommandCategory
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/Harness.hs b/test/conformance-router/Generated/IncidentPaging/Page/Harness.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/Harness.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Harness (harnessAssertions) where
 
 import Generated.IncidentPaging.Page.Domain
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/Projection.hs b/test/conformance-router/Generated/IncidentPaging/Page/Projection.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/Projection.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-router/Generated/IncidentPaging/Page/Transducer.hs b/test/conformance-router/Generated/IncidentPaging/Page/Transducer.hs
--- a/test/conformance-router/Generated/IncidentPaging/Page/Transducer.hs
+++ b/test/conformance-router/Generated/IncidentPaging/Page/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Page; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Page; do not edit.
 module Generated.IncidentPaging.Page.Transducer
   ( pageTransducer
   , pageFoldFingerprint
diff --git a/test/conformance-router/Generated/IncidentPaging/PagingRouter/Router.hs b/test/conformance-router/Generated/IncidentPaging/PagingRouter/Router.hs
--- a/test/conformance-router/Generated/IncidentPaging/PagingRouter/Router.hs
+++ b/test/conformance-router/Generated/IncidentPaging/PagingRouter/Router.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
 module Generated.IncidentPaging.PagingRouter.Router
   ( pagingRouterName
   , pagingRouterWorkerOptions
diff --git a/test/conformance-router/Generated/IncidentPaging/PagingRouter/RouterHarness.hs b/test/conformance-router/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
--- a/test/conformance-router/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
+++ b/test/conformance-router/Generated/IncidentPaging/PagingRouter/RouterHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from router PagingRouter; do not edit.
 module Generated.IncidentPaging.PagingRouter.RouterHarness (routerHarnessValues) where
 
 routerHarnessValues :: [(String, String)]
diff --git a/test/conformance-router/Generated/IncidentPaging/ReplayAudit.hs b/test/conformance-router/Generated/IncidentPaging/ReplayAudit.hs
--- a/test/conformance-router/Generated/IncidentPaging/ReplayAudit.hs
+++ b/test/conformance-router/Generated/IncidentPaging/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context incident-paging replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context incident-paging replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModel.hs b/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
--- a/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
+++ b/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModel
   ( serviceOncallReadModel
   , serviceOncallQualifiedTable
diff --git a/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs b/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
--- a/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
+++ b/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Generated.IncidentPaging.ServiceOncall.ReadModel (serviceOncallReadModel, serviceOncallAsyncProjection)
diff --git a/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs b/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
--- a/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
+++ b/test/conformance-router/Generated/IncidentPaging/ServiceOncall/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel service_oncall; do not edit.
 module Generated.IncidentPaging.ServiceOncall.ReadModelTable (serviceOncallQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/BehaviorSourceMap.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/BehaviorSourceMap.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/BehaviorSourceMap.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions behavior source map; do not edit.
 module Generated.AggregateScalarExpressions.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Inspection.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Inspection.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Inspection.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions generated nominal declarations; do not edit.
 module Generated.AggregateScalarExpressions.Nominals
   ( AccountMode (..)
   , accountModeText
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals/Internal.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals/Internal.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals/Internal.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions generated nominal ID internals; do not edit.
 module Generated.AggregateScalarExpressions.Nominals.Internal
   ( RequestId
   , parseRequestId
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ReplayAudit.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ReplayAudit.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ReplayAudit.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/BehaviorContract.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/BehaviorContract.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/BehaviorContract.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.AggregateScalarExpressions.ScalarAccount.Codec (encodeScalarAccountEvent, parseScalarAccountEvent, scalarAccountCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Codec.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Codec.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Codec.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.Codec (
     scalarAccountCodec,
     parseScalarAccountEvent,
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Domain.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Domain.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Domain.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/EventStream.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/EventStream.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/EventStream.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.EventStream
   ( scalarAccountCategory
   , scalarAccountCommandCategory
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Harness.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Harness.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Harness.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.Harness (harnessAssertions) where
 
 import Generated.AggregateScalarExpressions.ScalarAccount.Domain
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Projection.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Projection.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Projection.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Transducer.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Transducer.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Transducer.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ScalarAccount/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ScalarAccount; do not edit.
 module Generated.AggregateScalarExpressions.ScalarAccount.Transducer
   ( scalarAccountTransducer
   , scalarAccountFoldFingerprint
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Structural/Shape/Limits.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Structural/Shape/Limits.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Structural/Shape/Limits.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/Structural/Shape/Limits.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural Limits; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural Limits; do not edit.
 module Generated.AggregateScalarExpressions.Structural.Shape.Limits (LimitsShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralConformance.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralConformance.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralConformance.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions structural conformance; do not edit.
 module Generated.AggregateScalarExpressions.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralProjections.hs b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralProjections.hs
--- a/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralProjections.hs
+++ b/test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context aggregate-scalar-expressions mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context aggregate-scalar-expressions mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/BehaviorContract.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/BehaviorContract.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/BehaviorContract.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Proof.WorkspaceProof.Alpha.Generated.Codec (encodeAlphaEvent, parseAlphaEvent, alphaCodec)
@@ -241,6 +242,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Codec.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Codec.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Codec.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.Codec (
     alphaCodec,
     parseAlphaEvent,
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Domain.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Domain.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Domain.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/EventStream.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/EventStream.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/EventStream.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.EventStream
   ( alphaCategory
   , alphaCommandCategory
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Harness.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Harness.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Harness.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.Harness (harnessAssertions) where
 
 import Proof.WorkspaceProof.Alpha.Generated.Domain
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Projection.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Projection.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Projection.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Transducer.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Transducer.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Transducer.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Alpha/Generated/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Alpha; do not edit.
 module Proof.WorkspaceProof.Alpha.Generated.Transducer
   ( alphaTransducer
   , alphaFoldFingerprint
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModel.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModel.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModel.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel alpha_view; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel alpha_view; do not edit.
 module Proof.WorkspaceProof.AlphaView.Generated.ReadModel
   ( alphaViewReadModel
   , alphaViewQualifiedTable
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelHarness.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelHarness.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelHarness.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel alpha_view; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel alpha_view; do not edit.
 module Proof.WorkspaceProof.AlphaView.Generated.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Proof.WorkspaceProof.AlphaView.Generated.ReadModel (alphaViewReadModel, alphaViewAsyncProjection)
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelTable.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelTable.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelTable.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/AlphaView/Generated/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel alpha_view; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel alpha_view; do not edit.
 module Proof.WorkspaceProof.AlphaView.Generated.ReadModelTable (alphaViewQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/BehaviorContract.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/BehaviorContract.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/BehaviorContract.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Proof.WorkspaceProof.Assignment.Generated.Codec (encodeAssignmentEvent, parseAssignmentEvent, assignmentCodec)
@@ -242,6 +243,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Codec.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Codec.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Codec.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.Codec (
     assignmentCodec,
     parseAssignmentEvent,
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Domain.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Domain.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Domain.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/EventStream.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/EventStream.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/EventStream.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.EventStream
   ( assignmentCategory
   , assignmentCommandCategory
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Harness.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Harness.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Harness.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.Harness (harnessAssertions) where
 
 import Proof.WorkspaceProof.Assignment.Generated.Domain
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Projection.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Projection.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Projection.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Transducer.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Transducer.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Transducer.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Assignment/Generated/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Assignment; do not edit.
 module Proof.WorkspaceProof.Assignment.Generated.Transducer
   ( assignmentTransducer
   , assignmentFoldFingerprint
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/BehaviorContract.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/BehaviorContract.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/BehaviorContract.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/BehaviorContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -17,6 +17,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Proof.WorkspaceProof.Beta.Generated.Codec (encodeBetaEvent, parseBetaEvent, betaCodec)
@@ -205,6 +206,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Codec.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Codec.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Codec.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.Codec (
     betaCodec,
     parseBetaEvent,
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Domain.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Domain.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Domain.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.Domain where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/EventStream.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/EventStream.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/EventStream.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.EventStream
   ( betaCategory
   , betaCommandCategory
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Harness.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Harness.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Harness.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Harness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.Harness (harnessAssertions) where
 
 import Proof.WorkspaceProof.Beta.Generated.Domain
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Projection.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Projection.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Projection.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Transducer.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Transducer.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Transducer.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Beta/Generated/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Beta; do not edit.
 module Proof.WorkspaceProof.Beta.Generated.Transducer
   ( betaTransducer
   , betaFoldFingerprint
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModel.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModel.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModel.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel beta_view; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel beta_view; do not edit.
 module Proof.WorkspaceProof.BetaView.Generated.ReadModel
   ( betaViewReadModel
   , betaViewQualifiedTable
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelHarness.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelHarness.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelHarness.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel beta_view; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel beta_view; do not edit.
 module Proof.WorkspaceProof.BetaView.Generated.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts) where
 
 import Proof.WorkspaceProof.BetaView.Generated.ReadModel (betaViewReadModel, betaViewAsyncProjection)
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelTable.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelTable.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelTable.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/BetaView/Generated/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from readmodel beta_view; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from readmodel beta_view; do not edit.
 module Proof.WorkspaceProof.BetaView.Generated.ReadModelTable (betaViewQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/BehaviorSourceMap.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/BehaviorSourceMap.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/BehaviorSourceMap.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof behavior source map; do not edit.
 module Proof.WorkspaceProof.Generated.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Conformance.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Conformance.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Conformance.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Conformance.hs
@@ -1,7 +1,8 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof service conformance facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof service conformance facade; do not edit.
 module Proof.WorkspaceProof.Generated.Conformance
   ( runServiceConformanceChecks
   , serviceConformanceFacts
+  , runServiceBehaviorChecks
   ) where
 
 import Proof.WorkspaceProof.Generated.StructuralConformance qualified as StructuralConformance
@@ -11,6 +12,13 @@
 import Proof.WorkspaceProof.AlphaView.Generated.ReadModelHarness qualified as AlphaView
 import Proof.WorkspaceProof.BetaView.Generated.ReadModelHarness qualified as BetaView
 import Proof.WorkspaceProof.WorkspaceProofWorkflow.Generated.WorkflowFacts qualified as WorkspaceProofWorkflow
+import Proof.WorkspaceProof.Alpha.Generated.BehaviorContract qualified as AlphaBehaviorContract
+import Proof.WorkspaceProof.Alpha.BehaviorHoles qualified as AlphaBehaviorHoles
+import Proof.WorkspaceProof.Assignment.Generated.BehaviorContract qualified as AssignmentBehaviorContract
+import Proof.WorkspaceProof.Assignment.BehaviorHoles qualified as AssignmentBehaviorHoles
+import Proof.WorkspaceProof.Beta.Generated.BehaviorContract qualified as BetaBehaviorContract
+import Proof.WorkspaceProof.Beta.BehaviorHoles qualified as BetaBehaviorHoles
+import Data.Text qualified as Text
 
 runServiceConformanceChecks :: IO [(String, Bool)]
 runServiceConformanceChecks =
@@ -26,3 +34,11 @@
 serviceConformanceFacts :: [(String, String)]
 serviceConformanceFacts =
     [("workflow/WorkspaceProofWorkflow/" <> fact, value) | (fact, value) <- WorkspaceProofWorkflow.workflowFactValues]
+
+runServiceBehaviorChecks :: IO [(String, Bool)]
+runServiceBehaviorChecks =
+  pure (
+    [("aggregate/Alpha/behavior/" <> Text.unpack row, passed) | (row, passed) <- AlphaBehaviorContract.behaviorConformanceRows (AlphaBehaviorContract.behaviorCoverageReport AlphaBehaviorHoles.behaviorWitnesses)]
+    <> [("aggregate/Assignment/behavior/" <> Text.unpack row, passed) | (row, passed) <- AssignmentBehaviorContract.behaviorConformanceRows (AssignmentBehaviorContract.behaviorCoverageReport AssignmentBehaviorHoles.behaviorWitnesses)]
+    <> [("aggregate/Beta/behavior/" <> Text.unpack row, passed) | (row, passed) <- BetaBehaviorContract.behaviorConformanceRows (BetaBehaviorContract.behaviorCoverageReport BetaBehaviorHoles.behaviorWitnesses)]
+  )
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Inspection.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Inspection.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Inspection.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof generated nominal declarations; do not edit.
 module Proof.WorkspaceProof.Generated.Nominals
   ( ProofId
   , parseProofId
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals/Internal.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals/Internal.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals/Internal.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof generated nominal ID internals; do not edit.
 module Proof.WorkspaceProof.Generated.Nominals.Internal
   ( ProofId
   , parseProofId
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/ReplayAudit.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/ReplayAudit.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/ReplayAudit.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/StructuralConformance.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/StructuralConformance.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/StructuralConformance.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/Generated/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context workspace-proof structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context workspace-proof structural conformance; do not edit.
 module Proof.WorkspaceProof.Generated.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowFacts.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowFacts.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowFacts.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowFacts.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workflow WorkspaceProofWorkflow; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workflow WorkspaceProofWorkflow; do not edit.
 module Proof.WorkspaceProof.WorkspaceProofWorkflow.Generated.WorkflowFacts (WorkflowFacts (..), workflowFacts, workflowFactValues) where
 
 -- | The workflow's deterministic decisions, pinned as typed pure facts.
diff --git a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowRuntime.hs b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowRuntime.hs
--- a/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowRuntime.hs
+++ b/test/conformance-service-package/runtime/src/Proof/WorkspaceProof/WorkspaceProofWorkflow/Generated/WorkflowRuntime.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from workflow WorkspaceProofWorkflow; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from workflow WorkspaceProofWorkflow; do not edit.
 module Proof.WorkspaceProof.WorkspaceProofWorkflow.Generated.WorkflowRuntime
   ( workflowName
   , AwaitBinding
diff --git a/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-dsl-conformance-ledger.txt b/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-dsl-conformance-ledger.txt
--- a/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-dsl-conformance-ledger.txt
+++ b/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-dsl-conformance-ledger.txt
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from conformance package workspace workspace-proof; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from conformance package workspace workspace-proof; do not edit.
 keiro-dsl conformance ledger v1
 service-key workspace workspace-proof
 runtime-package keiro-dsl-conformance-service-runtime
diff --git a/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-workspace-proof-conformance.cabal b/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-workspace-proof-conformance.cabal
--- a/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-workspace-proof-conformance.cabal
+++ b/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/keiro-workspace-proof-conformance.cabal
@@ -1,5 +1,5 @@
 cabal-version: 3.0
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from conformance package workspace workspace-proof; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from conformance package workspace workspace-proof; do not edit.
 name: keiro-workspace-proof-conformance
 version: 0.0.0.0
 synopsis: Generated conformance runner for Keiro service workspace-proof
diff --git a/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/src/Main.hs b/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/src/Main.hs
--- a/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/src/Main.hs
+++ b/test/conformance-service-package/runtime/src/keiro-dsl-conformance.workspace.workspace-proof/src/Main.hs
@@ -1,12 +1,16 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from conformance package workspace workspace-proof; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from conformance package workspace workspace-proof; do not edit.
 module Main (main) where
 
 import Control.Monad (when)
 import Data.List (group, groupBy, sort, sortOn)
-import Proof.WorkspaceProof.Generated.Conformance (runServiceConformanceChecks, serviceConformanceFacts)
+import Proof.WorkspaceProof.Generated.Conformance (runServiceBehaviorChecks, runServiceConformanceChecks, serviceConformanceFacts)
 import KeiroConformance.Expectations (expectedServiceConformanceFacts)
-import System.Exit (exitFailure)
+import System.Environment (getArgs, getProgName)
+import System.Exit (ExitCode (ExitFailure), exitFailure, exitSuccess, exitWith)
+import System.IO (hPutStr, hPutStrLn, stderr)
 
+data RunMode = DefaultChecks | BehaviorComplete
+
 data FactResult
   = FactMatch String String
   | FactMismatch String String String
@@ -17,15 +21,55 @@
 
 main :: IO ()
 main = do
+  mode <- getArgs >>= parseArguments
   checks <- runServiceConformanceChecks
   mapM_ renderCheck checks
-  case compareFacts expectedServiceConformanceFacts serviceConformanceFacts of
+  factsPassed <- case compareFacts expectedServiceConformanceFacts serviceConformanceFacts of
     Left duplicates -> do
       mapM_ (putStrLn . ("FAIL  duplicate conformance fact key: " <>)) duplicates
-      exitFailure
+      pure False
     Right facts -> do
       mapM_ renderFact facts
-      when (any (not . snd) checks || any factFailed facts) exitFailure
+      pure (not (any factFailed facts))
+  behaviorPassed <- case mode of
+    DefaultChecks -> pure True
+    BehaviorComplete -> do
+      rows <- runServiceBehaviorChecks
+      mapM_ renderCheck rows
+      pure (all snd rows)
+  when (any (not . snd) checks || not factsPassed || not behaviorPassed) exitFailure
+
+parseArguments :: [String] -> IO RunMode
+parseArguments arguments = case arguments of
+  [] -> pure DefaultChecks
+  ["--behavior-complete"] -> pure BehaviorComplete
+  ["--help"] -> do
+    usage >>= putStr
+    exitSuccess
+  _ -> do
+    hPutStrLn stderr ("unrecognized arguments: " <> unwords arguments)
+    usage >>= hPutStr stderr
+    exitWith (ExitFailure 2)
+
+usage :: IO String
+usage = do
+  program <- getProgName
+  pure (unlines
+    [ "usage: " <> program <> " [--behavior-complete | --help]"
+    , ""
+    , "Default: run the generated service checks (structural, read-model, and"
+    , "aggregate harness assertions, including hole-owned initial live edges) and"
+    , "compare service facts with KeiroConformance.Expectations. The default is not"
+    , "a complete witness gate: Pending, missing, duplicate, stale, or failing"
+    , "BehaviorHoles witnesses outside that initial-edge subset do not fail it."
+    , ""
+    , "--behavior-complete  also evaluate every declared behavior key of every"
+    , "                     aggregate against its BehaviorHoles witnesses and fail"
+    , "                     on any pending, missing, duplicate, stale, or failed"
+    , "                     witness. Passing witnesses whose evidence is unverified"
+    , "                     still pass; this is finite evidence, not a proof."
+    , "--help               print this message and exit."
+    ])
 
 renderCheck :: (String, Bool) -> IO ()
 renderCheck (key, passed) = putStrLn ((if passed then "PASS  " else "FAIL  ") <> key)
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/BehaviorSourceMap.hs b/test/conformance-snapshot/Generated/HospitalCapacity/BehaviorSourceMap.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/BehaviorSourceMap.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
 module Generated.HospitalCapacity.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Inspection.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Inspection.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Inspection.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Nominals.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Nominals.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Nominals.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
 module Generated.HospitalCapacity.Nominals
   ( BedType (..)
   , bedTypeText
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Nominals/Internal.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Nominals/Internal.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Nominals/Internal.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
 module Generated.HospitalCapacity.Nominals.Internal
   ( CommandId
   , parseCommandId
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/ReplayAudit.hs b/test/conformance-snapshot/Generated/HospitalCapacity/ReplayAudit.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/ReplayAudit.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/BehaviorContract.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Reservation.Codec (encodeReservationEvent, parseReservationEvent, reservationCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Codec.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Codec.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Codec.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Codec (
     reservationCodec,
     parseReservationEvent,
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Domain.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Domain.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Domain.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/EventStream.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/EventStream.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/EventStream.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.EventStream
   ( reservationCategory
   , reservationCommandCategory
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Harness.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Harness.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Harness.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Reservation.Domain
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Projection.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Projection.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Projection.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Projection
   ( transferDecisionsProjection
   , transferDecisionsStatusFor
diff --git a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Transducer.hs b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Transducer.hs
--- a/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Transducer.hs
+++ b/test/conformance-snapshot/Generated/HospitalCapacity/Reservation/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Transducer
   ( reservationTransducer
   , reservationFoldFingerprint
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/BehaviorSourceMap.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/BehaviorSourceMap.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/BehaviorSourceMap.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves behavior source map; do not edit.
 module Generated.StructuralNominalLeaves.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Inspection.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Inspection.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Inspection.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominal/Shape/Channel.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominal/Shape/Channel.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominal/Shape/Channel.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominal/Shape/Channel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from bound nominal enum representation Channel; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from bound nominal enum representation Channel; do not edit.
 module Generated.StructuralNominalLeaves.Nominal.Shape.Channel (ChannelRepresentation (..), channelRepresentationText) where
 
 import Data.Text (Text)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/NominalProjections.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/NominalProjections.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/NominalProjections.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/NominalProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves nominal scalar projection facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves nominal scalar projection facade; do not edit.
 module Generated.StructuralNominalLeaves.NominalProjections where
 
 import Data.KindID qualified as KindID
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves generated nominal declarations; do not edit.
 module Generated.StructuralNominalLeaves.Nominals
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals/Internal.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals/Internal.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals/Internal.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves generated nominal ID internals; do not edit.
 module Generated.StructuralNominalLeaves.Nominals.Internal
   ( TemplateId
   , parseTemplateId
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ProjectionCatalog.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ProjectionCatalog.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ProjectionCatalog.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog structural-nominal-leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog structural-nominal-leaves; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.StructuralNominalLeaves.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ReplayAudit.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ReplayAudit.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ReplayAudit.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/NominalLeaves.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/NominalLeaves.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/NominalLeaves.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves structural nominal leaves; do not edit.
 module Generated.StructuralNominalLeaves.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), parseJSON, toJSON, withText)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateBook.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateBook.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateBook.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateBook.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TemplateBook; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TemplateBook; do not edit.
 module Generated.StructuralNominalLeaves.Structural.Shape.TemplateBook (TemplateBookShape (..)) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupInput.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupInput.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupInput.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupInput.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TemplateLookupInput; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TemplateLookupInput; do not edit.
 module Generated.StructuralNominalLeaves.Structural.Shape.TemplateLookupInput (TemplateLookupInputShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupRow.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupRow.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupRow.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateLookupRow.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TemplateLookupRow; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TemplateLookupRow; do not edit.
 module Generated.StructuralNominalLeaves.Structural.Shape.TemplateLookupRow (TemplateLookupRowShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateRef.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateRef.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateRef.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateRef.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TemplateRef; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TemplateRef; do not edit.
 module Generated.StructuralNominalLeaves.Structural.Shape.TemplateRef (TemplateRefShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateState.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateState.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateState.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/Structural/Shape/TemplateState.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TemplateState; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TemplateState; do not edit.
 module Generated.StructuralNominalLeaves.Structural.Shape.TemplateState (TemplateStateShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralConformance.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralConformance.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralConformance.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves structural conformance; do not edit.
 module Generated.StructuralNominalLeaves.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralProjections.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralProjections.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralProjections.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-nominal-leaves mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-nominal-leaves mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/BehaviorContract.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/BehaviorContract.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/BehaviorContract.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.StructuralNominalLeaves.TemplateCatalog.Codec (encodeTemplateCatalogEvent, parseTemplateCatalogEvent, templateCatalogCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Codec.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Codec.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Codec.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.Codec (
     templateCatalogCodec,
     parseTemplateCatalogEvent,
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Domain.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Domain.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Domain.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/EventStream.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/EventStream.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/EventStream.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.EventStream
   ( templateCatalogCategory
   , templateCatalogCommandCategory
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Harness.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Harness.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Harness.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.Harness (harnessAssertions) where
 
 import Generated.StructuralNominalLeaves.TemplateCatalog.Domain
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Projection.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Projection.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Projection.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Transducer.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Transducer.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Transducer.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateCatalog/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate TemplateCatalog; do not edit.
 module Generated.StructuralNominalLeaves.TemplateCatalog.Transducer
   ( templateCatalogTransducer
   , templateCatalogFoldFingerprint
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/Router.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/Router.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/Router.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/Router.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from router TemplateDeliveryRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from router TemplateDeliveryRouter; do not edit.
 module Generated.StructuralNominalLeaves.TemplateDeliveryRouter.Router
   ( templateDeliveryRouterName
   , templateDeliveryRouterWorkerOptions
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/RouterHarness.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/RouterHarness.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/RouterHarness.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateDeliveryRouter/RouterHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from router TemplateDeliveryRouter; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from router TemplateDeliveryRouter; do not edit.
 module Generated.StructuralNominalLeaves.TemplateDeliveryRouter.RouterHarness (routerHarnessValues) where
 
 routerHarnessValues :: [(String, String)]
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/QueryContract.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/QueryContract.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/QueryContract.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.StructuralNominalLeaves.TemplateLookup.QueryContract
   ( TemplateLookupQueryInput
   , TemplateLookupQueryResult
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModel.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModel.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModel.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.StructuralNominalLeaves.TemplateLookup.ReadModel
   ( templateLookupReadModel
   , templateLookupQualifiedTable
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelHarness.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelHarness.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelHarness.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.StructuralNominalLeaves.TemplateLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.StructuralNominalLeaves.TemplateLookup.ReadModel (templateLookupReadModel)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelTable.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelTable.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelTable.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel template_lookup; do not edit.
 module Generated.StructuralNominalLeaves.TemplateLookup.ReadModelTable (templateLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/Queue.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/Queue.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/Queue.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
 module Generated.StructuralNominalLeaves.TemplateWork.Queue
   ( TemplateWork (..)
   , encodeTemplateWork
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueueCodec.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueueCodec.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueueCodec.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueuePolicy.hs b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueuePolicy.hs
--- a/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueuePolicy.hs
+++ b/test/conformance-structural-nominals/Generated/StructuralNominalLeaves/TemplateWork/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue template_work; do not edit.
 module Generated.StructuralNominalLeaves.TemplateWork.QueuePolicy
   ( TemplateWorkOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/BehaviorSourceMap.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/BehaviorSourceMap.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/BehaviorSourceMap.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-text-sets behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-text-sets behavior source map; do not edit.
 module Generated.StructuralTextSets.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Inspection.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Inspection.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Inspection.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-text-sets inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-text-sets inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/Queue.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/Queue.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/Queue.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/Queue.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue label_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue label_jobs; do not edit.
 module Generated.StructuralTextSets.LabelJobs.Queue
   ( LabelJob (..)
   , encodeLabelJob
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueueCodec.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueueCodec.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueueCodec.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueueCodec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue label_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue label_jobs; do not edit.
 -- | Versioned job payload envelope: @{\"v\",\"t\",\"data\"}@.
 --
 -- Deploy workers before producers when raising its schema version. Do not
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueuePolicy.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueuePolicy.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueuePolicy.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelJobs/QueuePolicy.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from workqueue label_jobs; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from workqueue label_jobs; do not edit.
 module Generated.StructuralTextSets.LabelJobs.QueuePolicy
   ( LabelJobsOutcome (..)
   , retryPolicy, jobOutcomeFor
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/QueryContract.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/QueryContract.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/QueryContract.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/QueryContract.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
 module Generated.StructuralTextSets.LabelLookup.QueryContract
   ( LabelLookupQueryInput
   , LabelLookupQueryResult
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModel.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModel.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModel.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModel.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
 module Generated.StructuralTextSets.LabelLookup.ReadModel
   ( labelLookupReadModel
   , labelLookupQualifiedTable
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelHarness.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelHarness.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelHarness.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelHarness.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
 module Generated.StructuralTextSets.LabelLookup.ReadModelHarness (readModelFacts, readModelFactResults, runReadModelFacts, catalogFactsAgainst) where
 
 import Generated.StructuralTextSets.LabelLookup.ReadModel (labelLookupReadModel)
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelTable.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelTable.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelTable.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelLookup/ReadModelTable.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from readmodel label_lookup; do not edit.
 module Generated.StructuralTextSets.LabelLookup.ReadModelTable (labelLookupQualifiedTable) where
 
 import Data.Text (Text)
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/BehaviorContract.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/BehaviorContract.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/BehaviorContract.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.StructuralTextSets.LabelStore.Codec (encodeLabelStoreEvent, parseLabelStoreEvent, labelStoreCodec)
@@ -254,6 +255,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Codec.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Codec.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Codec.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.Codec (
     labelStoreCodec,
     parseLabelStoreEvent,
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Domain.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Domain.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Domain.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Domain.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.Domain where
 
 import Data.Aeson (FromJSON, ToJSON)
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/EventStream.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/EventStream.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/EventStream.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.EventStream
   ( labelStoreCategory
   , labelStoreCommandCategory
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Harness.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Harness.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Harness.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.Harness (harnessAssertions) where
 
 import Generated.StructuralTextSets.LabelStore.Domain
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Projection.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Projection.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Projection.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Transducer.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Transducer.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Transducer.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/LabelStore/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate LabelStore; do not edit.
 module Generated.StructuralTextSets.LabelStore.Transducer
   ( labelStoreTransducer
   , labelStoreFoldFingerprint
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/ProjectionCatalog.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/ProjectionCatalog.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/ProjectionCatalog.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/ProjectionCatalog.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from projection-catalog structural-text-sets; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from projection-catalog structural-text-sets; do not edit.
 {-# LANGUAGE OverloadedStrings #-}
 module Generated.StructuralTextSets.ProjectionCatalog
   ( projectionCatalog
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/ReplayAudit.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/ReplayAudit.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/ReplayAudit.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-text-sets replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-text-sets replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/LabelEnvelope.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/LabelEnvelope.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/LabelEnvelope.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/LabelEnvelope.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural LabelEnvelope; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural LabelEnvelope; do not edit.
 module Generated.StructuralTextSets.Structural.Shape.LabelEnvelope (LabelEnvelopeShape (..)) where
 
 import Data.Map.Strict (Map)
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/MaybeTextLabels.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/MaybeTextLabels.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/MaybeTextLabels.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/MaybeTextLabels.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural MaybeTextLabels; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural MaybeTextLabels; do not edit.
 module Generated.StructuralTextSets.Structural.Shape.MaybeTextLabels (MaybeTextLabelsShape) where
 
 import Data.Set (Set)
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/TextLabels.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/TextLabels.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/TextLabels.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/Structural/Shape/TextLabels.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural TextLabels; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural TextLabels; do not edit.
 module Generated.StructuralTextSets.Structural.Shape.TextLabels (TextLabelsShape) where
 
 import Data.Set (Set)
diff --git a/test/conformance-structural-text-sets/Generated/StructuralTextSets/StructuralConformance.hs b/test/conformance-structural-text-sets/Generated/StructuralTextSets/StructuralConformance.hs
--- a/test/conformance-structural-text-sets/Generated/StructuralTextSets/StructuralConformance.hs
+++ b/test/conformance-structural-text-sets/Generated/StructuralTextSets/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context structural-text-sets structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context structural-text-sets structural conformance; do not edit.
 module Generated.StructuralTextSets.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/BehaviorContract.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/BehaviorContract.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/BehaviorContract.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.StructuralConformance.ArtifactCatalog.Codec (encodeArtifactCatalogEvent, parseArtifactCatalogEvent, artifactCatalogCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Codec.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Codec.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Codec.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.Codec (
     artifactCatalogCodec,
     parseArtifactCatalogEvent,
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Domain.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Domain.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Domain.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/EventStream.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/EventStream.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/EventStream.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.EventStream
   ( artifactCatalogCategory
   , artifactCatalogCommandCategory
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Harness.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Harness.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Harness.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.Harness (harnessAssertions) where
 
 import Generated.StructuralConformance.ArtifactCatalog.Domain
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Projection.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Projection.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Projection.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Transducer.hs b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Transducer.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Transducer.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ArtifactCatalog/Transducer.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate ArtifactCatalog; do not edit.
 module Generated.StructuralConformance.ArtifactCatalog.Transducer
   ( artifactCatalogTransducer
   , artifactCatalogFoldFingerprint
diff --git a/test/conformance-structural/Generated/StructuralConformance/BehaviorSourceMap.hs b/test/conformance-structural/Generated/StructuralConformance/BehaviorSourceMap.hs
--- a/test/conformance-structural/Generated/StructuralConformance/BehaviorSourceMap.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context structural-conformance behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context structural-conformance behavior source map; do not edit.
 module Generated.StructuralConformance.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-structural/Generated/StructuralConformance/Inspection.hs b/test/conformance-structural/Generated/StructuralConformance/Inspection.hs
--- a/test/conformance-structural/Generated/StructuralConformance/Inspection.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context structural-conformance inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context structural-conformance inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-structural/Generated/StructuralConformance/ReplayAudit.hs b/test/conformance-structural/Generated/StructuralConformance/ReplayAudit.hs
--- a/test/conformance-structural/Generated/StructuralConformance/ReplayAudit.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context structural-conformance replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context structural-conformance replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactInfo.hs b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactInfo.hs
--- a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactInfo.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactInfo.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural ArtifactInfo; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural ArtifactInfo; do not edit.
 module Generated.StructuralConformance.Structural.Shape.ArtifactInfo (ArtifactInfoShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactKind.hs b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactKind.hs
--- a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactKind.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactKind.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural ArtifactKind; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural ArtifactKind; do not edit.
 module Generated.StructuralConformance.Structural.Shape.ArtifactKind (ArtifactKindShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactLocation.hs b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactLocation.hs
--- a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactLocation.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactLocation.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural ArtifactLocation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural ArtifactLocation; do not edit.
 module Generated.StructuralConformance.Structural.Shape.ArtifactLocation (ArtifactLocationShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactMetadata.hs b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactMetadata.hs
--- a/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactMetadata.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/Structural/Shape/ArtifactMetadata.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from mapped structural ArtifactMetadata; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from mapped structural ArtifactMetadata; do not edit.
 module Generated.StructuralConformance.Structural.Shape.ArtifactMetadata (ArtifactMetadataShape (..)) where
 
 import Data.Text (Text)
diff --git a/test/conformance-structural/Generated/StructuralConformance/StructuralConformance.hs b/test/conformance-structural/Generated/StructuralConformance/StructuralConformance.hs
--- a/test/conformance-structural/Generated/StructuralConformance/StructuralConformance.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context structural-conformance structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context structural-conformance structural conformance; do not edit.
 module Generated.StructuralConformance.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-structural/Generated/StructuralConformance/StructuralProjections.hs b/test/conformance-structural/Generated/StructuralConformance/StructuralProjections.hs
--- a/test/conformance-structural/Generated/StructuralConformance/StructuralProjections.hs
+++ b/test/conformance-structural/Generated/StructuralConformance/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context structural-conformance mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context structural-conformance mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance-structural/Main.hs b/test/conformance-structural/Main.hs
--- a/test/conformance-structural/Main.hs
+++ b/test/conformance-structural/Main.hs
@@ -21,9 +21,14 @@
 import Keiki.Symbolic (symIsBot)
 import Keiro.Codec.Structural (FixtureCases (..))
 import System.Exit (exitFailure)
+import Generated.StructuralConformance.ArtifactCatalog.Transducer (artifactCatalogTransducer)
+import TopologyMachineProof (proveTopologyMachines, topologyMachineProofLine, walkMachine)
 
 main :: IO ()
 main = do
+    -- Structural registers, one edge emitting two events into a terminal state.
+    proof <- proveTopologyMachines "test/fixtures/structural-conformance.keiro" [] [walkMachine "ArtifactCatalog" artifactCatalogTransducer]
+    putStrLn (topologyMachineProofLine proof)
     goldenAssertions <- loadGoldenAssertions
     let assertions =
             [("structural/" <> label, passed) | (label, passed) <- structuralConformanceAssertions]
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/BehaviorSourceMap.hs b/test/conformance-topology-machine/Generated/TopologyMachine/BehaviorSourceMap.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/BehaviorSourceMap.hs
@@ -0,0 +1,53 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context topology-machine behavior source map; do not edit.
+module Generated.TopologyMachine.BehaviorSourceMap
+  ( BehaviorSourceLocation (..)
+  , behaviorSourceLocation
+  , renderBehaviorSourceLocation
+  ) where
+
+import Data.Text (Text)
+import Data.Text qualified as T
+
+data BehaviorSourceLocation = BehaviorSourceLocation
+  { file :: !FilePath
+  , line :: !Int
+  , column :: !Int
+  }
+  deriving stock (Eq, Ord, Show)
+
+behaviorSourceLocation :: Text -> Maybe BehaviorSourceLocation
+behaviorSourceLocation key = case key of
+  "behavior-v1-002dd349c9f95c03" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 16)
+  "behavior-v1-339bb773d33d1cd9" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 32 3)
+  "behavior-v1-364d670a2b00ba7a" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 31)
+  "behavior-v1-4703c81ac84fd269" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 21)
+  "behavior-v1-4ad1b28167914e12" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 16)
+  "behavior-v1-4c06e1818180b41a" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 10)
+  "behavior-v1-4c3acea05eae1527" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 34 3)
+  "behavior-v1-5b1cf802887be9da" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 31)
+  "behavior-v1-681e78594be5e34d" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 26 3)
+  "behavior-v1-6dc85069e4d4aeaf" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 31)
+  "behavior-v1-820d02611d3fe202" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 16)
+  "behavior-v1-8592eed35edbc505" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 41 10)
+  "behavior-v1-86aedf6e0162577f" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 10)
+  "behavior-v1-acb73cfddfb6ec54" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 31)
+  "behavior-v1-b3bf157ed703ffaf" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 10)
+  "behavior-v1-bba7be6454e48fd5" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 27 3)
+  "behavior-v1-c193804300699444" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 21)
+  "behavior-v1-cd039e17dcc38865" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 21)
+  "behavior-v1-cf6a23ed42e4970a" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 33 3)
+  "behavior-v1-d9f622535671546c" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 51 3)
+  "behavior-v1-e07448f38133b7e0" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 28 3)
+  "behavior-v1-ec060a2c3596b1c2" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 21)
+  "behavior-v1-ed926b1ef15794db" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 11 31)
+  "behavior-v1-edb42bb9533e3443" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 49 3)
+  "behavior-v1-f281427a09b33c8d" -> Just (BehaviorSourceLocation "keiro-dsl/test/fixtures/topology-machine.keiro" 50 3)
+  _ -> Nothing
+
+renderBehaviorSourceLocation :: Text -> Text
+renderBehaviorSourceLocation key = case behaviorSourceLocation key of
+  Just location -> T.pack location.file <> ":" <> tshow location.line <> ":" <> tshow location.column
+  Nothing -> "<internal invariant: missing behavior source for " <> key <> ">"
+
+tshow :: Show value => value -> Text
+tshow = T.pack . show
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Inspection.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Inspection.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Inspection.hs
@@ -0,0 +1,49 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context topology-machine inspection catalog; do not edit.
+--
+-- The complete read-only inspection catalog for this service: one aggregate
+-- inspector per declared aggregate, the replay-audit targets and the projection
+-- catalog. Mount them through Keiro.Ops.AppHooks; see docs/user/operations.md.
+module Generated.TopologyMachine.Inspection
+  ( aggregateInspectorCatalog
+  , aggregateInspectors
+  , inspectionAuditTargets
+  , inspectionProjectionCatalog
+  ) where
+
+import Data.Aeson (Value, object, (.=))
+import Data.Text (pack)
+import Generated.TopologyMachine.Order.EventStream qualified as Order
+import Generated.TopologyMachine.OrderSaga.EventStream qualified as OrderSaga
+import Generated.TopologyMachine.ReplayAudit (auditTargets)
+import Keiki.Core (RegFile)
+import Keiro.EventStream (EventStream (..))
+import Keiro.Inspection.Aggregate (AggregateInspectors, SomeAggregateInspector (..), aggregateInspector, displayViaStateCodec)
+import Keiro.Inspection.Aggregate qualified
+import Keiro.Projection.Catalog (ValidatedProjectionCatalog, Validation (..), emptyProjectionCatalog, validateProjectionCatalog)
+import Keiro.ReplayAudit (SomeAuditTarget)
+import Keiro.Stream (categoryText)
+
+aggregateInspectorCatalog :: [SomeAggregateInspector]
+aggregateInspectorCatalog =
+  [ SomeAggregateInspector (aggregateInspector (categoryText Order.orderCategory) Order.orderEventStream Order.orderCategory (displayFoldedState Order.orderEventStreamDef))
+  , SomeAggregateInspector (aggregateInspector (categoryText OrderSaga.orderSagaCategory) OrderSaga.orderSagaEventStream OrderSaga.orderSagaCategory (displayFoldedState OrderSaga.orderSagaEventStreamDef))
+  ]
+
+aggregateInspectors :: AggregateInspectors
+aggregateInspectors = case Keiro.Inspection.Aggregate.aggregateInspectors aggregateInspectorCatalog of
+  Right inspectors -> inspectors
+  Left message -> error ("keiro-dsl generated an invalid aggregate inspector catalog: " <> show message)
+
+inspectionAuditTargets :: [SomeAuditTarget]
+inspectionAuditTargets = auditTargets
+
+inspectionProjectionCatalog :: ValidatedProjectionCatalog
+inspectionProjectionCatalog = case validateProjectionCatalog emptyProjectionCatalog of
+  Success catalog -> catalog
+  Failure diagnostics -> error ("keiro-dsl generated an invalid empty projection catalog: " <> show diagnostics)
+
+-- The aggregate's own state codec when its definition declares one (snapshot
+-- aggregates), otherwise the vertex label.
+displayFoldedState :: (Show s) => EventStream phi rs s ci co -> s -> RegFile rs -> Value
+displayFoldedState EventStream {stateCodec = Just codec} = displayViaStateCodec codec
+displayFoldedState EventStream {stateCodec = Nothing} = \state _ -> object ["state" .= pack (show state)]
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Nominals.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Nominals.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Nominals.hs
@@ -0,0 +1,9 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context topology-machine generated nominal declarations; do not edit.
+module Generated.TopologyMachine.Nominals
+  ( OrderId
+  , parseOrderId
+  , mkOrderId
+  , orderIdText
+  ) where
+
+import Generated.TopologyMachine.Nominals.Internal (OrderId, mkOrderId, parseOrderId, orderIdText)
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Nominals/Internal.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Nominals/Internal.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Nominals/Internal.hs
@@ -0,0 +1,40 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context topology-machine generated nominal ID internals; do not edit.
+module Generated.TopologyMachine.Nominals.Internal
+  ( OrderId
+  , parseOrderId
+  , mkOrderId
+  , orderIdText
+  , unsafeOrderIdFromLegacyText
+  ) where
+
+import Data.Aeson (FromJSON (..), ToJSON (..), withText)
+import Data.Text (Text)
+import Data.Text qualified as T
+import GHC.Generics (Generic)
+import Keiki.Shape (CanonicalTypeName)
+import Keiro.Codec.IdDomain (typeIdV7Domain, validateIdDomainText)
+
+newtype OrderId = OrderId Text
+  deriving stock (Generic, Eq, Ord, Show)
+
+instance CanonicalTypeName OrderId
+
+instance ToJSON OrderId where
+  toJSON = toJSON . orderIdText
+
+instance FromJSON OrderId where
+  parseJSON = withText "OrderId" (either (fail . T.unpack) pure . parseOrderId)
+
+parseOrderId :: Text -> Either Text OrderId
+parseOrderId input = case validateIdDomainText (typeIdV7Domain "ord") input of
+  Left reason -> Left (T.pack (show reason))
+  Right () -> Right (OrderId input)
+
+mkOrderId :: Text -> Either Text OrderId
+mkOrderId = parseOrderId
+
+orderIdText :: OrderId -> Text
+orderIdText (OrderId value) = value
+
+unsafeOrderIdFromLegacyText :: Text -> OrderId
+unsafeOrderIdFromLegacyText = OrderId
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/BehaviorContract.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/BehaviorContract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/BehaviorContract.hs
@@ -0,0 +1,620 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.BehaviorContract
+  ( BehaviorKey (..)
+  , unBehaviorKey
+  , ObligationKind (..)
+  , EvidenceLevel (..)
+  , GuardCoverage (..)
+  , BehaviorRequirement (..)
+  , RejectionClass (..)
+  , LiveExpectation (..)
+  , BehaviorWitness (..)
+  , BehaviorFailure (..)
+  , BehaviorConformanceReport (..)
+  , behaviorRequirements
+  , behaviorCoverageReport
+  , behaviorObligationReport
+  , behaviorConformancePassed
+  , behaviorConformancePassedWith
+  , renderBehaviorConformanceText
+  , behaviorConformanceRows
+  ) where
+
+import Generated.TopologyMachine.Order.Codec (encodeOrderEvent, parseOrderEvent, orderCodec)
+import Generated.TopologyMachine.Order.Domain
+import Generated.TopologyMachine.Order.Transducer (orderTransducer)
+import Generated.TopologyMachine.BehaviorSourceMap qualified as BehaviorSourceMap
+import Data.Aeson (ToJSON (..), object, (.=))
+import Data.List (sortOn)
+import Data.List.NonEmpty (NonEmpty)
+import Data.List.NonEmpty qualified as NonEmpty
+import Data.Map.Strict qualified as Map
+import Data.Text (Text)
+import Data.Text qualified as T
+import Keiki.Core qualified as K (EdgeMode (..), EdgeRef (..), RegFile, ReplayAttribution (..), ReplayEventSpan (..), ReplaySuccess (..), StepFailure (..), StepSuccess (..), applyEventsDetailedEither, stepDetailedEither)
+import Keiro.Codec qualified as Codec (Codec (eventType), EventType (..))
+
+newtype BehaviorKey = BehaviorKey { unBehaviorKey :: Text }
+  deriving stock (Eq, Ord, Show)
+
+unBehaviorKey :: BehaviorKey -> Text
+unBehaviorKey (BehaviorKey value) = value
+
+data ObligationKind = LiveTransition | RequiredRejection | ReplayTransition
+  deriving stock (Eq, Ord, Show)
+
+data EvidenceLevel = GeneratedAuthoritative | HoleWitnessed | LegacyRuntimeWitness
+  deriving stock (Eq, Ord, Show)
+
+data GuardCoverage = GuardTotal | GuardPartial | GuardUnknown | GuardNotApplicable
+  deriving stock (Eq, Ord, Show)
+
+data BehaviorRequirement = BehaviorRequirement
+  { key :: !BehaviorKey
+  , kind :: !ObligationKind
+  , evidence :: !EvidenceLevel
+  , guardCoverage :: !GuardCoverage
+  , source :: !OrderVertex
+  , commandName :: !Text
+  , expectedEdge :: !(Maybe (K.EdgeRef OrderVertex))
+  , target :: !(Maybe OrderVertex)
+  , eventKinds :: ![Text]
+  }
+  deriving stock (Eq, Show)
+
+data RejectionClass = RejectNoOutgoingEdges | RejectNoMatchingEdge
+  deriving stock (Eq, Show)
+
+data LiveExpectation
+  = Emits (NonEmpty OrderEvent)
+  | Rejects RejectionClass
+  | NoOp
+  deriving stock (Eq, Show)
+
+data BehaviorWitness
+  = Pending BehaviorKey
+  | LiveWitness
+      { key :: BehaviorKey
+      , history :: [OrderEvent]
+      , command :: OrderCommand
+      , expected :: LiveExpectation
+      }
+  | ReplayWitness
+      { key :: BehaviorKey
+      , historyPrefix :: [OrderEvent]
+      , observedChunk :: [OrderEvent]
+      }
+  deriving stock (Eq, Show)
+
+data BehaviorFailure = BehaviorFailure
+  { key :: !BehaviorKey
+  , subject :: !Text
+  , code :: !Text
+  , detail :: !Text
+  }
+  deriving stock (Eq, Show)
+
+instance ToJSON BehaviorFailure where
+  toJSON behaviorFailure = object
+    [ "key" .= unBehaviorKey behaviorFailure.key
+    , "subject" .= behaviorFailure.subject
+    , "code" .= behaviorFailure.code
+    , "detail" .= behaviorFailure.detail
+    ]
+
+data BehaviorConformanceReport = BehaviorConformanceReport
+  { required :: ![BehaviorKey]
+  , filled :: ![BehaviorKey]
+  , pending :: ![BehaviorKey]
+  , missing :: ![BehaviorKey]
+  , duplicate :: ![BehaviorKey]
+  , stale :: ![BehaviorKey]
+  , failed :: ![BehaviorFailure]
+  , verified :: ![BehaviorKey]
+  , unverified :: ![BehaviorKey]
+  }
+  deriving stock (Eq, Show)
+
+instance ToJSON BehaviorConformanceReport where
+  toJSON report = object
+    [ "schema" .= ("keiro/behavior-conformance/1" :: Text)
+    , "required" .= keyTexts report.required
+    , "filled" .= keyTexts report.filled
+    , "pending" .= keyTexts report.pending
+    , "missing" .= keyTexts report.missing
+    , "duplicate" .= keyTexts report.duplicate
+    , "stale" .= keyTexts report.stale
+    , "failed" .= report.failed
+    , "verified" .= keyTexts report.verified
+    , "unverified" .= keyTexts report.unverified
+    ]
+
+behaviorRequirements :: [BehaviorRequirement]
+behaviorRequirements =
+  [ -- OrderOpen x PlaceOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-002dd349c9f95c03"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderOpen
+      , commandName = "PlaceOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderOpen x ShipOrder: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-339bb773d33d1cd9"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderOpen
+      , commandName = "ShipOrder"
+      , expectedEdge = (Just (K.EdgeRef OrderOpen 1))
+      , target = Just OrderInTransit
+      , eventKinds = ["OrderShipped", "ShipmentLabelled"]
+      }
+  , -- OrderDone x CloseOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-364d670a2b00ba7a"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDone
+      , commandName = "CloseOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderInTransit x AmendOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-4703c81ac84fd269"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderInTransit
+      , commandName = "AmendOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderOpen x CloseOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-4ad1b28167914e12"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderOpen
+      , commandName = "CloseOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderDraft x AmendOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-4c06e1818180b41a"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDraft
+      , commandName = "AmendOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderInTransit x CloseOrder: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-4c3acea05eae1527"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderInTransit
+      , commandName = "CloseOrder"
+      , expectedEdge = (Just (K.EdgeRef OrderInTransit 0))
+      , target = Just OrderDone
+      , eventKinds = ["OrderClosed"]
+      }
+  , -- OrderDone x NoteOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-5b1cf802887be9da"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDone
+      , commandName = "NoteOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderDraft x PlaceOrder: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-681e78594be5e34d"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderDraft
+      , commandName = "PlaceOrder"
+      , expectedEdge = (Just (K.EdgeRef OrderDraft 0))
+      , target = Just OrderOpen
+      , eventKinds = ["OrderPlaced"]
+      }
+  , -- OrderDone x AmendOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-6dc85069e4d4aeaf"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDone
+      , commandName = "AmendOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderOpen x NoteOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-820d02611d3fe202"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderOpen
+      , commandName = "NoteOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderDraft x CloseOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-86aedf6e0162577f"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDraft
+      , commandName = "CloseOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderDone x ShipOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-acb73cfddfb6ec54"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDone
+      , commandName = "ShipOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderDraft x ShipOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-b3bf157ed703ffaf"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDraft
+      , commandName = "ShipOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderOpen x AmendOrder: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-bba7be6454e48fd5"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderOpen
+      , commandName = "AmendOrder"
+      , expectedEdge = (Just (K.EdgeRef OrderOpen 0))
+      , target = Just OrderOpen
+      , eventKinds = ["OrderAmended"]
+      }
+  , -- OrderInTransit x NoteOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-c193804300699444"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderInTransit
+      , commandName = "NoteOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderInTransit x PlaceOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-cd039e17dcc38865"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderInTransit
+      , commandName = "PlaceOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderOpen x CloseOrder: replay-only transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-cf6a23ed42e4970a"
+      , kind = ReplayTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderOpen
+      , commandName = "CloseOrder"
+      , expectedEdge = (Just (K.EdgeRef OrderOpen 2))
+      , target = Just OrderDone
+      , eventKinds = ["OrderClosed"]
+      }
+  , -- OrderDraft x NoteOrder: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-e07448f38133b7e0"
+      , kind = LiveTransition
+      , evidence = HoleWitnessed
+      , guardCoverage = GuardTotal
+      , source = OrderDraft
+      , commandName = "NoteOrder"
+      , expectedEdge = (Just (K.EdgeRef OrderDraft 1))
+      , target = Just OrderDraft
+      , eventKinds = ["OrderNoted"]
+      }
+  , -- OrderInTransit x ShipOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-ec060a2c3596b1c2"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderInTransit
+      , commandName = "ShipOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderDone x PlaceOrder: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-ed926b1ef15794db"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderDone
+      , commandName = "PlaceOrder"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  ]
+
+behaviorCoverageReport :: [BehaviorWitness] -> BehaviorConformanceReport
+behaviorCoverageReport = coverageReportFor behaviorRequirements
+
+-- | Execute one required obligation and the witnesses carrying its key.
+-- Hole-owned initial harness probes use the consumer's history-backed evidence.
+behaviorObligationReport :: BehaviorKey -> [BehaviorWitness] -> BehaviorConformanceReport
+behaviorObligationReport key witnesses =
+  coverageReportFor
+    [requirement | requirement <- behaviorRequirements, requirement.key == key]
+    [witness | witness <- witnesses, behaviorWitnessKey witness == key]
+
+coverageReportFor :: [BehaviorRequirement] -> [BehaviorWitness] -> BehaviorConformanceReport
+coverageReportFor requirements witnesses =
+  BehaviorConformanceReport
+    { required = sortedKeys (Map.keys requiredByKey)
+    , filled = sortedKeys [key | (key, [witness]) <- Map.toList witnessGroups, Map.member key requiredByKey, not (isPending witness)]
+    , pending = sortedKeys [key | (key, rows) <- Map.toList witnessGroups, Map.member key requiredByKey, any isPending rows]
+    , missing = sortedKeys [key | key <- Map.keys requiredByKey, Map.notMember key witnessGroups]
+    , duplicate = sortedKeys [key | (key, rows) <- Map.toList witnessGroups, length rows > 1]
+    , stale = sortedKeys [key | key <- Map.keys witnessGroups, Map.notMember key requiredByKey]
+    , failed = sortOn (unBehaviorKey . (.key)) failures
+    , verified = sortedKeys [requirement.key | (requirement, Right ()) <- executions, proofStrength requirement]
+    , unverified = sortedKeys [requirement.key | (requirement, Right ()) <- executions, not (proofStrength requirement)]
+    }
+ where
+  requiredByKey = Map.fromList [(requirement.key, requirement) | requirement <- requirements]
+  witnessGroups = Map.fromListWith (flip (<>)) [(behaviorWitnessKey witness, [witness]) | witness <- witnesses]
+  executions =
+    [ (requirement, runWitness requirement witness)
+    | (key, [witness]) <- Map.toList witnessGroups
+    , not (isPending witness)
+    , Just requirement <- [Map.lookup key requiredByKey]
+    ]
+  failures = [behaviorFailure | (_, Left behaviorFailure) <- executions]
+
+behaviorConformancePassed :: BehaviorConformanceReport -> Bool
+behaviorConformancePassed = behaviorConformancePassedWith False
+
+behaviorConformancePassedWith :: Bool -> BehaviorConformanceReport -> Bool
+behaviorConformancePassedWith failOnUnverified report =
+  null report.pending
+    && null report.missing
+    && null report.duplicate
+    && null report.stale
+    && null report.failed
+    && (not failOnUnverified || null report.unverified)
+
+renderBehaviorConformanceText :: BehaviorConformanceReport -> Text
+renderBehaviorConformanceText report = T.unlines
+  [ "behavior conformance: Order"
+  , "schema: keiro/behavior-conformance/1"
+  , countLine "required" report.required
+  , countLine "filled" report.filled
+  , countLine "pending" report.pending
+  , countLine "missing" report.missing
+  , countLine "duplicate" report.duplicate
+  , countLine "stale" report.stale
+  , "failed: " <> tshow (length report.failed)
+  , countLine "verified" report.verified
+  , countLine "unverified" report.unverified
+  ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
+
+runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
+runWitness requirement witness = case witness of
+  Pending _ -> failure requirement "pending" "witness is still Pending"
+  LiveWitness _ history command expectation -> runLive requirement history command expectation
+  ReplayWitness _ prefix chunk -> runReplay requirement prefix chunk
+
+runLive :: BehaviorRequirement -> [OrderEvent] -> OrderCommand -> LiveExpectation -> Either BehaviorFailure ()
+runLive requirement history command expectation = do
+  settled <- settleHistory requirement "history" history
+  ensure requirement (K.replaySuccessState settled == requirement.source) "history-wrong-source" "history does not settle at the required source vertex"
+  ensure requirement (commandKind command == requirement.commandName) "command-mismatch" "witness command constructor does not match the required state/command cell"
+  case requirement.kind of
+    ReplayTransition -> failure requirement "witness-kind" "a replay-only requirement needs ReplayWitness"
+    RequiredRejection -> runRejection requirement (K.replaySuccessState settled, K.replaySuccessRegs settled) command expectation
+    LiveTransition -> runAcceptance requirement (K.replaySuccessState settled, K.replaySuccessRegs settled) command expectation
+
+runRejection :: BehaviorRequirement -> (OrderVertex, K.RegFile OrderRegs) -> OrderCommand -> LiveExpectation -> Either BehaviorFailure ()
+runRejection requirement seed command expectation = case expectation of
+  Emits _ -> failure requirement "expectation-kind" "a rejection requirement cannot expect emitted events"
+  NoOp -> failure requirement "expectation-kind" "a rejection requirement cannot expect an accepted no-op"
+  Rejects expectedClass -> case K.stepDetailedEither orderTransducer seed command of
+    Left K.NoOutgoingEdges {} -> ensure requirement (expectedClass == RejectNoOutgoingEdges) "rejection-class" "expected NoMatchingEdge but runtime returned NoOutgoingEdges"
+    Left K.NoMatchingEdge {} -> ensure requirement (expectedClass == RejectNoMatchingEdge) "rejection-class" "expected NoOutgoingEdges but runtime returned NoMatchingEdge"
+    Left K.AmbiguousEdges {} -> failure requirement "ambiguous-edges" "AmbiguousEdges can never satisfy a rejection witness"
+    Right _ -> failure requirement "unexpected-acceptance" "runtime accepted a command required to reject"
+
+runAcceptance :: BehaviorRequirement -> (OrderVertex, K.RegFile OrderRegs) -> OrderCommand -> LiveExpectation -> Either BehaviorFailure ()
+runAcceptance requirement seed command expectation = case expectation of
+  Rejects _ -> failure requirement "expectation-kind" "a live-transition requirement needs Emits or NoOp"
+  NoOp -> case K.stepDetailedEither orderTransducer seed command of
+    Left stepFailure -> failure requirement "unexpected-rejection" (tshow stepFailure)
+    Right success -> do
+      checkAcceptedEnvelope requirement success
+      ensure requirement (null (K.stepSuccessOutputs success)) "noop-emitted" "NoOp emitted one or more events"
+      ensure requirement (K.stepSuccessState success == fst seed) "noop-vertex-change" "NoOp changed the control vertex"
+      ensure requirement (regsEqual (K.stepSuccessRegs success) (snd seed)) "noop-register-change" "NoOp changed one or more registers"
+  Emits expectedEvents -> case K.stepDetailedEither orderTransducer seed command of
+    Left stepFailure -> failure requirement "unexpected-rejection" (tshow stepFailure)
+    Right success -> do
+      checkAcceptedEnvelope requirement success
+      let expected = NonEmpty.toList expectedEvents
+          actual = K.stepSuccessOutputs success
+      ensure requirement (actual == expected) "event-value-mismatch" ("runtime event values differ from the exact witness expectation; actual=" <> tshow actual <> " expected=" <> tshow expected)
+      ensure requirement (map eventKind actual == requirement.eventKinds) "event-envelope-mismatch" ("runtime event kinds differ from the declared ordered envelope; actual=" <> tshow (map eventKind actual) <> " expected=" <> tshow requirement.eventKinds)
+      decoded <- either (failure requirement "emitted-codec-decode") Right (decodeEvents actual)
+      replayed <- case K.applyEventsDetailedEither orderTransducer seed decoded of
+        Left replayFailure -> failure requirement "emitted-replay-failed" (tshow replayFailure)
+        Right replaySuccess -> Right replaySuccess
+      ensure requirement (K.replaySuccessState replayed == K.stepSuccessState success) "forward-replay-vertex" "decoded emissions replay to a different vertex"
+      ensure requirement (regsEqual (K.replaySuccessRegs replayed) (K.stepSuccessRegs success)) "forward-replay-registers" "decoded emissions replay to different registers"
+      checkSingleAttribution requirement K.Live (length decoded) (K.replaySuccessTrace replayed)
+
+checkAcceptedEnvelope :: BehaviorRequirement -> K.StepSuccess OrderRegs OrderVertex OrderEvent -> Either BehaviorFailure ()
+checkAcceptedEnvelope requirement success = do
+  ensure requirement (K.stepSuccessMode success == K.Live) "forward-mode" ("forward execution selected a non-live edge; actual=" <> tshow (K.stepSuccessMode success) <> " expected=" <> tshow K.Live)
+  ensure requirement (Just (K.stepSuccessEdge success) == requirement.expectedEdge) "edge-attribution" ("runtime selected a different guarded sibling; actual=" <> tshow (Just (K.stepSuccessEdge success)) <> " expected=" <> tshow requirement.expectedEdge)
+  ensure requirement (Just (K.stepSuccessState success) == requirement.target) "target-mismatch" ("runtime reached a different target vertex; actual=" <> tshow (Just (K.stepSuccessState success)) <> " expected=" <> tshow requirement.target)
+
+runReplay :: BehaviorRequirement -> [OrderEvent] -> [OrderEvent] -> Either BehaviorFailure ()
+runReplay requirement prefix chunk = case requirement.kind of
+  ReplayTransition -> do
+    settled <- settleHistory requirement "history-prefix" prefix
+    ensure requirement (K.replaySuccessState settled == requirement.source) "history-wrong-source" "history prefix does not settle at the replay edge source"
+    ensure requirement (not (null chunk)) "empty-replay-chunk" "a replay-only edge has no observable empty chunk"
+    decoded <- either (failure requirement "replay-chunk-codec-decode") Right (decodeEvents chunk)
+    replayed <- case K.applyEventsDetailedEither orderTransducer (K.replaySuccessState settled, K.replaySuccessRegs settled) decoded of
+      Left replayFailure -> failure requirement "replay-chunk-failed" (tshow replayFailure)
+      Right replaySuccess -> Right replaySuccess
+    ensure requirement (Just (K.replaySuccessState replayed) == requirement.target) "target-mismatch" ("replay chunk reached a different target vertex; actual=" <> tshow (Just (K.replaySuccessState replayed)) <> " expected=" <> tshow requirement.target)
+    checkSingleAttribution requirement K.ReplayOnly (length decoded) (K.replaySuccessTrace replayed)
+  _ -> failure requirement "witness-kind" "ReplayWitness supplied for a non-replay requirement"
+
+checkSingleAttribution :: BehaviorRequirement -> K.EdgeMode -> Int -> [K.ReplayAttribution OrderVertex] -> Either BehaviorFailure ()
+checkSingleAttribution requirement expectedMode eventCount trace = case trace of
+  [attribution] -> do
+    ensure requirement (Just (K.replayAttributionEdge attribution) == requirement.expectedEdge) "replay-edge-attribution" ("replay selected a different edge; actual=" <> tshow (Just (K.replayAttributionEdge attribution)) <> " expected=" <> tshow requirement.expectedEdge)
+    ensure requirement (K.replayAttributionMode attribution == expectedMode) "replay-mode-attribution" ("replay selected the wrong live/replay-only phase; actual=" <> tshow (K.replayAttributionMode attribution) <> " expected=" <> tshow expectedMode)
+    ensure requirement (K.replayAttributionSource attribution == requirement.source) "replay-source-attribution" ("replay attribution starts at the wrong source; actual=" <> tshow (K.replayAttributionSource attribution) <> " expected=" <> tshow requirement.source)
+    ensure requirement (Just (K.replayAttributionTarget attribution) == requirement.target) "replay-target-attribution" ("replay attribution ends at the wrong target; actual=" <> tshow (Just (K.replayAttributionTarget attribution)) <> " expected=" <> tshow requirement.target)
+    ensure requirement (K.replayAttributionSpan attribution == K.ReplayEventSpan 0 eventCount) "replay-span-attribution" ("replay attribution did not consume the exact chunk; actual=" <> tshow (K.replayAttributionSpan attribution) <> " expected=" <> tshow (K.ReplayEventSpan 0 eventCount))
+  _ -> failure requirement "replay-trace-cardinality" "expected exactly one completed-edge attribution"
+
+settleHistory :: BehaviorRequirement -> Text -> [OrderEvent] -> Either BehaviorFailure (K.ReplaySuccess OrderRegs OrderVertex)
+settleHistory requirement label history = do
+  decoded <- either (failure requirement (label <> "-codec-decode")) Right (decodeEvents history)
+  case K.applyEventsDetailedEither orderTransducer (OrderDraft, initialOrderRegs) decoded of
+    Left replayFailure -> failure requirement (label <> "-replay-failed") (tshow replayFailure)
+    Right replaySuccess -> Right replaySuccess
+
+decodeEvents :: [OrderEvent] -> Either Text [OrderEvent]
+decodeEvents = traverse (\event -> parseOrderEvent (Codec.eventType orderCodec event) (encodeOrderEvent event))
+
+commandKind :: OrderCommand -> Text
+commandKind command = case command of
+  PlaceOrder _ -> "PlaceOrder"
+  AmendOrder _ -> "AmendOrder"
+  NoteOrder _ -> "NoteOrder"
+  ShipOrder _ -> "ShipOrder"
+  CloseOrder _ -> "CloseOrder"
+
+eventKind :: OrderEvent -> Text
+eventKind event = case Codec.eventType orderCodec event of Codec.EventType tag -> tag
+
+regsEqual :: K.RegFile OrderRegs -> K.RegFile OrderRegs -> Bool
+regsEqual _ _ = True
+
+proofStrength :: BehaviorRequirement -> Bool
+proofStrength requirement =
+  requirement.evidence == GeneratedAuthoritative
+    && requirement.guardCoverage `elem` [GuardTotal, GuardNotApplicable]
+
+behaviorWitnessKey :: BehaviorWitness -> BehaviorKey
+behaviorWitnessKey witness = case witness of
+  Pending key -> key
+  LiveWitness { key = key } -> key
+  ReplayWitness { key = key } -> key
+
+isPending :: BehaviorWitness -> Bool
+isPending Pending {} = True
+isPending _ = False
+
+ensure :: BehaviorRequirement -> Bool -> Text -> Text -> Either BehaviorFailure ()
+ensure requirement condition code detail = if condition then Right () else failure requirement code detail
+failure :: BehaviorRequirement -> Text -> Text -> Either BehaviorFailure failed
+failure requirement code detail =
+  Left
+    ( BehaviorFailure
+        requirement.key
+        (tshow requirement.source <> " x " <> requirement.commandName <> ": " <> kindPhrase <> " (" <> BehaviorSourceMap.renderBehaviorSourceLocation (unBehaviorKey requirement.key) <> ")")
+        code
+        detail
+    )
+ where
+  kindPhrase = case requirement.kind of
+    LiveTransition -> "live transition"
+    RequiredRejection -> "required rejection"
+    ReplayTransition -> "replay-only transition"
+sortedKeys :: [BehaviorKey] -> [BehaviorKey]
+sortedKeys = sortOn unBehaviorKey
+keyTexts :: [BehaviorKey] -> [Text]
+keyTexts = map unBehaviorKey
+countLine :: Text -> [BehaviorKey] -> Text
+countLine label values = label <> ": " <> tshow (length values)
+tshow :: Show value => value -> Text
+tshow = T.pack . show
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/Codec.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Codec.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Codec.hs
@@ -0,0 +1,123 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.Codec (
+    orderCodec,
+    parseOrderEvent,
+    encodeOrderEvent,
+) where
+
+import Generated.TopologyMachine.Order.Domain
+import Generated.TopologyMachine.Nominals (orderIdText)
+import Generated.TopologyMachine.Nominals.Internal (unsafeOrderIdFromLegacyText)
+import Data.Aeson (Value, object, withObject, (.:), (.=))
+import Data.Aeson.Types (parseEither)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NonEmpty
+import Data.Text (Text)
+import qualified Data.Text as T
+import Keiro.Codec (Codec (..), EventType (..))
+
+
+
+
+
+orderEventTypes :: NonEmpty EventType
+orderEventTypes = EventType "OrderPlaced" :| [EventType "OrderAmended", EventType "OrderNoted", EventType "OrderShipped", EventType "ShipmentLabelled", EventType "OrderClosed"]
+
+orderCodec :: Codec OrderEvent
+orderCodec =
+  Codec
+    { eventTypes = orderEventTypes
+    , eventType = \case
+        OrderPlaced{} -> EventType "OrderPlaced"
+        OrderAmended{} -> EventType "OrderAmended"
+        OrderNoted{} -> EventType "OrderNoted"
+        OrderShipped{} -> EventType "OrderShipped"
+        ShipmentLabelled{} -> EventType "ShipmentLabelled"
+        OrderClosed{} -> EventType "OrderClosed"
+    , schemaVersion = 1
+    , encode = encodeOrderEvent
+    , decode = parseOrderEvent
+    , upcasters = []
+    }
+
+encodeOrderEvent :: OrderEvent -> Value
+encodeOrderEvent = \case
+  OrderPlaced payload ->
+    object
+      [ "kind" .= ("OrderPlaced" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+  OrderAmended payload ->
+    object
+      [ "kind" .= ("OrderAmended" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+  OrderNoted payload ->
+    object
+      [ "kind" .= ("OrderNoted" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      , "note" .= payload.note
+      ]
+  OrderShipped payload ->
+    object
+      [ "kind" .= ("OrderShipped" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+  ShipmentLabelled payload ->
+    object
+      [ "kind" .= ("ShipmentLabelled" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+  OrderClosed payload ->
+    object
+      [ "kind" .= ("OrderClosed" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+
+parseOrderEvent :: EventType -> Value -> Either Text OrderEvent
+parseOrderEvent (EventType tag) = mapLeftText . parseEither (withObject "OrderEvent" go)
+  where
+    go o = do
+      case tag of
+        "OrderPlaced" ->
+          OrderPlaced
+            <$> ( OrderPlacedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        "OrderAmended" ->
+          OrderAmended
+            <$> ( OrderAmendedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        "OrderNoted" ->
+          OrderNoted
+            <$> ( OrderNotedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                    <*> o .: "note"
+                )
+        "OrderShipped" ->
+          OrderShipped
+            <$> ( OrderShippedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        "ShipmentLabelled" ->
+          ShipmentLabelled
+            <$> ( ShipmentLabelledData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        "OrderClosed" ->
+          OrderClosed
+            <$> ( OrderClosedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        _ -> fail ("unknown event type " <> show tag <> "; expected one of: " <> renderExpectedEventTypes orderEventTypes)
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+renderExpectedEventTypes :: NonEmpty EventType -> String
+renderExpectedEventTypes =
+  T.unpack
+    . T.intercalate ", "
+    . map (\(EventType eventTypeName) -> eventTypeName)
+    . NonEmpty.toList
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/Domain.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Domain.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Domain.hs
@@ -0,0 +1,97 @@
+{-# LANGUAGE TemplateHaskell #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.Domain where
+
+import Data.Text (Text)
+import GHC.Generics (Generic)
+import Keiki.Core (RegFile (..))
+import Generated.TopologyMachine.Nominals (OrderId)
+import Keiki.Generics.TH (deriveAggregateCtorsAll, deriveWireCtorsAll)
+
+data OrderVertex = OrderDraft | OrderOpen | OrderInTransit | OrderDone
+  deriving stock (Generic, Eq, Ord, Show, Enum, Bounded)
+
+data PlaceOrderData = PlaceOrderData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data AmendOrderData = AmendOrderData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data NoteOrderData = NoteOrderData
+  { orderId :: !OrderId
+  , note :: !Text
+  }
+  deriving stock (Generic, Eq, Show)
+
+data ShipOrderData = ShipOrderData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data CloseOrderData = CloseOrderData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderCommand = PlaceOrder !PlaceOrderData
+  | AmendOrder !AmendOrderData
+  | NoteOrder !NoteOrderData
+  | ShipOrder !ShipOrderData
+  | CloseOrder !CloseOrderData
+  deriving stock (Generic, Eq, Show)
+
+data OrderPlacedData = OrderPlacedData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderAmendedData = OrderAmendedData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderNotedData = OrderNotedData
+  { orderId :: !OrderId
+  , note :: !Text
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderShippedData = OrderShippedData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data ShipmentLabelledData = ShipmentLabelledData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderClosedData = OrderClosedData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderEvent = OrderPlaced !OrderPlacedData
+  | OrderAmended !OrderAmendedData
+  | OrderNoted !OrderNotedData
+  | OrderShipped !OrderShippedData
+  | ShipmentLabelled !ShipmentLabelledData
+  | OrderClosed !OrderClosedData
+  deriving stock (Generic, Eq, Show)
+
+type OrderRegs =
+  '[]
+
+initialOrderRegs :: RegFile OrderRegs
+initialOrderRegs =
+  RNil
+
+$(deriveAggregateCtorsAll ''OrderCommand ''OrderRegs)
+
+
+
+$(deriveWireCtorsAll ''OrderEvent)
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/EventStream.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/EventStream.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/EventStream.hs
@@ -0,0 +1,49 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.EventStream
+  ( orderCategory
+  , orderCommandCategory
+  , orderEventStream
+  , orderEventStreamDef
+  , OrderEventStream
+  , OrderEventStreamDef
+  ) where
+
+import Generated.TopologyMachine.Order.Domain
+import Generated.TopologyMachine.Order.Codec (orderCodec)
+import Generated.TopologyMachine.Order.Transducer (orderTransducer)
+import Keiki.Core (HsPred)
+import Keiro.EventStream (EventStream (..), SnapshotPolicy (..))
+import Keiro.EventStream.Validate (ValidatedEventStream, mkEventStreamOrThrow)
+import Keiro.Stream qualified as Stream
+
+-- The validated aggregate stream category (hole-kind 5: referenced, never retyped).
+-- Entity streams are '<category>-<id>' via Keiro.Stream.entityStream.
+-- categoryUnsafe is safe here because this generated literal passed the DSL category proof.
+orderCategory :: Stream.StreamCategory OrderEventStreamDef
+orderCategory = Stream.categoryUnsafe "order"
+
+-- The same category text, typed for command envelopes such as PMCommand.
+orderCommandCategory :: Stream.StreamCategory OrderCommand
+orderCommandCategory = Stream.categoryUnsafe "order"
+
+type OrderEventStreamDef =
+  EventStream (HsPred OrderRegs OrderCommand) OrderRegs OrderVertex OrderCommand OrderEvent
+
+type OrderEventStream =
+  ValidatedEventStream (HsPred OrderRegs OrderCommand) OrderRegs OrderVertex OrderCommand OrderEvent
+
+orderEventStreamDef :: OrderEventStreamDef
+orderEventStreamDef =
+  EventStream
+    { transducer = orderTransducer,
+      initialState = OrderDraft,
+      initialRegisters = initialOrderRegs,
+      eventCodec = orderCodec,
+      resolveStreamName = Stream.streamName,
+      snapshotPolicy = Never,
+      stateCodec = Nothing
+    }
+
+orderEventStream :: OrderEventStream
+orderEventStream =
+  mkEventStreamOrThrow "Order" orderEventStreamDef
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/Harness.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Harness.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Harness.hs
@@ -0,0 +1,104 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.Harness (harnessAssertions) where
+
+import Generated.TopologyMachine.Order.Domain
+import Generated.TopologyMachine.Order.Codec (encodeOrderEvent, parseOrderEvent, orderCodec)
+import Generated.TopologyMachine.Order.Transducer (orderTransducer)
+import Keiki.Core (applyEventsEither, defaultValidationOptions, step, validateTransducer)
+import Keiro.Codec (eventType)
+import Generated.TopologyMachine.Nominals (OrderId, parseOrderId)
+import TopologyMachine.Order.BehaviorHoles (behaviorWitnesses)
+import Generated.TopologyMachine.Order.BehaviorContract (BehaviorConformanceReport (..), BehaviorKey (..), behaviorObligationReport)
+
+-- | (label, passed). A driver runs these and exits non-zero on any False,
+-- naming the failing assertion. Filling a hole wrongly turns a specific
+-- entry False; pending Hole witnesses fail until filled and verified.
+harnessAssertions :: [(String, Bool)]
+harnessAssertions =
+  [ ("validateTransducer is empty", null (validateTransducer defaultValidationOptions orderTransducer))
+  -- clock-free: spec samples no wall clock (verified at scaffold time)
+  , ("golden round-trip: OrderPlaced", roundTrips sampleEventOrderPlaced)
+  , ("golden round-trip: OrderAmended", roundTrips sampleEventOrderAmended)
+  , ("golden round-trip: OrderNoted", roundTrips sampleEventOrderNoted)
+  , ("golden round-trip: OrderShipped", roundTrips sampleEventOrderShipped)
+  , ("golden round-trip: ShipmentLabelled", roundTrips sampleEventShipmentLabelled)
+  , ("golden round-trip: OrderClosed", roundTrips sampleEventOrderClosed)
+  , ("accepts PlaceOrder from OrderDraft", acceptPlaceOrder)
+  , ("accepts NoteOrder from OrderDraft", acceptNoteOrder)
+  ]
+  ++ forwardReplayPlaceOrder
+  ++ forwardReplayNoteOrder
+
+roundTrips :: OrderEvent -> Bool
+roundTrips e = parseOrderEvent (eventType orderCodec e) (encodeOrderEvent e) == Right e
+
+-- | One required obligation carrying exactly one non-pending witness.
+holeWitnessFilled :: BehaviorKey -> BehaviorConformanceReport -> Bool
+holeWitnessFilled key report = report.required == [key] && report.filled == [key]
+
+sampleOrderId :: OrderId
+sampleOrderId =
+  case parseOrderId "ord_01h455vb4pex5vsknk084sn02q" of
+    Right parsed -> parsed
+    Left problem -> error (show problem)
+
+sampleEventOrderPlaced :: OrderEvent
+sampleEventOrderPlaced = OrderPlaced (OrderPlacedData sampleOrderId)
+
+sampleEventOrderAmended :: OrderEvent
+sampleEventOrderAmended = OrderAmended (OrderAmendedData sampleOrderId)
+
+sampleEventOrderNoted :: OrderEvent
+sampleEventOrderNoted = OrderNoted (OrderNotedData sampleOrderId "sample-note")
+
+sampleEventOrderShipped :: OrderEvent
+sampleEventOrderShipped = OrderShipped (OrderShippedData sampleOrderId)
+
+sampleEventShipmentLabelled :: OrderEvent
+sampleEventShipmentLabelled = ShipmentLabelled (ShipmentLabelledData sampleOrderId)
+
+sampleEventOrderClosed :: OrderEvent
+sampleEventOrderClosed = OrderClosed (OrderClosedData sampleOrderId)
+
+acceptPlaceOrder :: Bool
+acceptPlaceOrder =
+  case step orderTransducer (OrderDraft, initialOrderRegs) (PlaceOrder (PlaceOrderData sampleOrderId)) of
+    Just (v, _, _) -> v == OrderOpen
+    Nothing -> False
+
+-- Hole-owned initial edge: the consumer's history-backed live witness
+-- proves acceptance through the generated behavior contract.
+holeWitnessNoteOrder :: BehaviorConformanceReport
+holeWitnessNoteOrder = behaviorObligationReport (BehaviorKey "behavior-v1-e07448f38133b7e0") behaviorWitnesses
+
+acceptNoteOrder :: Bool
+acceptNoteOrder = holeWitnessFilled (BehaviorKey "behavior-v1-e07448f38133b7e0") holeWitnessNoteOrder && null holeWitnessNoteOrder.failed
+
+-- forward/replay equality (plan 147): cross the persisted codec boundary,
+-- replay the emitted chain, and compare the final vertex and every register.
+forwardReplayPlaceOrder :: [(String, Bool)]
+forwardReplayPlaceOrder =
+  case step orderTransducer (OrderDraft, initialOrderRegs) (PlaceOrder (PlaceOrderData sampleOrderId)) of
+    Nothing -> [(prefix <> "forward step accepted", False)]
+    Just (forwardVertex, _forwardRegs, emitted) ->
+      case mapM (\event -> parseOrderEvent (eventType orderCodec event) (encodeOrderEvent event)) emitted of
+        Left _ -> [(prefix <> "emitted chain decodes", False)]
+        Right decodedEvents ->
+          case applyEventsEither orderTransducer (OrderDraft, initialOrderRegs) decodedEvents of
+            Left _ -> [(prefix <> "replay succeeds", False)]
+            Right (replayVertex, _replayRegs) ->
+              [ (prefix <> "final vertex", replayVertex == forwardVertex)
+              ]
+  where
+    prefix = "forward/replay equality: PlaceOrder from OrderDraft -- "
+
+-- The behavior contract decodes emissions through the persisted codec,
+-- replays them, and compares the final vertex and every register.
+forwardReplayNoteOrder :: [(String, Bool)]
+forwardReplayNoteOrder =
+  [ (prefix <> "hole witness filled", holeWitnessFilled key holeWitnessNoteOrder)
+  , (prefix <> "hole witness verified", holeWitnessFilled key holeWitnessNoteOrder && null holeWitnessNoteOrder.failed)
+  ]
+  where
+    key = BehaviorKey "behavior-v1-e07448f38133b7e0"
+    prefix = "forward/replay equality: NoteOrder from OrderDraft -- "
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/Projection.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Projection.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Projection.hs
@@ -0,0 +1,4 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.Projection () where
+
+-- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/Order/Transducer.hs b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Transducer.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/Order/Transducer.hs
@@ -0,0 +1,95 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE QualifiedDo #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Order; do not edit.
+module Generated.TopologyMachine.Order.Transducer
+  ( orderTransducer
+  , orderFoldFingerprint
+  , BehaviorOwnership (..)
+  , orderPredicateVerifications
+  ) where
+
+import Generated.TopologyMachine.Order.Domain
+import Data.Text (Text)
+import Keiki.Builder qualified as B
+import Keiki.Core (HsPred, SymTransducer)
+import Keiki.Core qualified as K
+import Keiki.Symbolic qualified as S
+import TopologyMachine.Order.Holes qualified as Holes
+import Data.Text qualified as T
+import Keiro.Snapshot.Codec (FoldVersion (..))
+
+orderTransducer
+  :: SymTransducer
+       (HsPred OrderRegs OrderCommand)
+       OrderRegs
+       OrderVertex
+       OrderCommand
+       OrderEvent
+orderTransducer =
+  B.buildTransducer OrderDraft initialOrderRegs isTerminal do
+    B.from OrderDraft do
+      B.onCmd inCtorPlaceOrder $ \d -> B.do
+        B.emit wireOrderPlaced (OrderPlacedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderOpen
+      B.onCmd inCtorNoteOrder $ \d -> B.do
+        Holes.transition3DraftNoteOrderHole d
+        B.emit wireOrderNoted (OrderNotedTermFields
+          { orderId = d.orderId
+          , note = d.note
+          })
+        B.goto OrderDraft
+    B.from OrderOpen do
+      B.onCmd inCtorAmendOrder $ \d -> B.do
+        B.emit wireOrderAmended (OrderAmendedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderOpen
+      B.onCmd inCtorShipOrder $ \d -> B.do
+        B.emit wireOrderShipped (OrderShippedTermFields
+          { orderId = d.orderId
+          })
+        B.emit wireShipmentLabelled (ShipmentLabelledTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderInTransit
+      B.onCmd inCtorCloseOrder $ \d -> B.do
+        B.replayOnly
+        B.emit wireOrderClosed (OrderClosedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderDone
+    B.from OrderInTransit do
+      B.onCmd inCtorCloseOrder $ \d -> B.do
+        B.emit wireOrderClosed (OrderClosedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderDone
+ where
+  isTerminal = \case
+    OrderDone -> True
+    _ -> False
+
+orderFoldFingerprint :: Text
+orderFoldFingerprint = T.intercalate "|" ("59f9affd6bc65029795cf0065ee455aa" : [foldToken Holes.transition3DraftNoteOrderHoleFoldVersion] ) where foldToken (FoldVersion token) = T.pack (show (T.length token)) <> ":" <> token
+
+data BehaviorOwnership = GeneratedOwned | HoleOwned
+  deriving stock (Eq, Show)
+
+-- Every checked transition predicate is audited through Keiki's conservative
+-- symbolic verifier. Opaque Hole terms remain explicitly unverified.
+orderPredicateVerifications :: IO [(Text, BehaviorOwnership, S.PredicateVerification)]
+orderPredicateVerifications = sequence
+  [ verifyTransition "transition1DraftPlaceOrder" GeneratedOwned OrderDraft 0
+  , verifyTransition "transition3DraftNoteOrder" HoleOwned OrderDraft 1
+  , verifyTransition "transition2OpenAmendOrder" GeneratedOwned OrderOpen 0
+  , verifyTransition "transition4OpenShipOrder" GeneratedOwned OrderOpen 1
+  , verifyTransition "transition5OpenCloseOrder" GeneratedOwned OrderOpen 2
+  , verifyTransition "transition6InTransitCloseOrder" GeneratedOwned OrderInTransit 0
+  ]
+ where
+  verifyTransition label owner source edgeIndex =
+    case drop edgeIndex (K.edgesOut orderTransducer source) of
+      K.Edge predicate _ _ _ _ : _ -> (\result -> (label, owner, result)) <$> S.verifyPredicate predicate
+      [] -> pure (label, owner, S.UnverifiedSolverFailure "generated transition edge missing")
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/Input.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/Input.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/Input.hs
@@ -0,0 +1,14 @@
+{-# LANGUAGE DeriveAnyClass #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process input OrderFlow; do not edit.
+module Generated.TopologyMachine.OrderFlow.Input (OrderFlowInput (..)) where
+
+import Data.Aeson (FromJSON, ToJSON)
+import GHC.Generics (Generic)
+import Generated.TopologyMachine.Nominals qualified as N
+
+data OrderFlowInput
+  = OrderRequested
+      { orderId :: !N.OrderId
+      }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromJSON, ToJSON)
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/Process.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/Process.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/Process.hs
@@ -0,0 +1,78 @@
+{-# OPTIONS_GHC -Wno-missing-signatures #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process reaction OrderFlow; do not edit.
+module Generated.TopologyMachine.OrderFlow.Process
+  ( OrderFlowInput (..)
+  , orderFlowProcessName
+  , orderFlowCategory
+  , orderFlowProcessWorkerOptions
+  , orderFlowReactionVersion
+  , orderFlowReactionFingerprint
+  , orderFlowReact
+  , orderFlowProcessManager
+  , orderFlowRunProcessWorker
+  ) where
+
+import Data.Text (Text)
+import Numeric.Natural (Natural)
+import Generated.TopologyMachine.OrderFlow.Input (OrderFlowInput (..))
+import TopologyMachine.OrderFlow.ProcessHoles (decodeOrderFlowInput)
+import Generated.TopologyMachine.OrderSaga.Domain qualified as Saga
+import Generated.TopologyMachine.OrderSaga.EventStream (orderSagaEventStream, OrderSagaEventStreamDef)
+import Generated.TopologyMachine.Order.Domain qualified as Target
+import Generated.TopologyMachine.Order.EventStream (orderCommandCategory, orderEventStream)
+import Generated.TopologyMachine.Nominals qualified as N
+import Keiro.Command (DomainCommandHandler (..), SilentDomainDecision (..))
+import Keiro.ProcessManager (PMCommand (..))
+import Keiro.ProcessManager.Reaction qualified as Reaction
+import Keiro.Stream qualified as Stream
+import Keiro.ProcessManager (PoisonPolicy (..), RejectedCommandPolicy (..), WorkerOptions (..))
+import Shibuya.Core.Ack (RetryDelay (..))
+
+orderFlowProcessName :: Text
+orderFlowProcessName = "order-flow"
+
+orderFlowCategory :: Stream.StreamCategory OrderSagaEventStreamDef
+orderFlowCategory = Stream.categoryUnsafe "orderSaga"
+
+orderFlowProcessWorkerOptions :: WorkerOptions es msg
+orderFlowProcessWorkerOptions =
+  WorkerOptions
+    { poisonPolicy = PoisonHalt,
+      rejectedCommandPolicy = RejectedHalt,
+      transientRetryDelay = RetryDelay 5, -- matches defaultWorkerOptions; runtime tuning
+      metrics = Nothing -- runtime configuration; install at call site
+    }
+
+orderFlowReactionVersion :: Natural
+orderFlowReactionVersion = 1
+
+orderFlowReactionFingerprint :: Text
+orderFlowReactionFingerprint = "cf31810a738a8543f700a1930f8df04a09056449e103c4eb1b3b9039b1bd6f46"
+
+orderFlowCorrelate :: OrderFlowInput -> Text
+orderFlowCorrelate input = case input of
+  OrderRequested { orderId } -> (N.orderIdText orderId)
+
+orderFlowReact :: OrderFlowInput -> Reaction.ReactionPlan Saga.OrderSagaCommand Target.OrderCommand
+orderFlowReact input = case input of
+  OrderRequested { orderId }
+    -> Reaction.AdvanceReaction { command = Saga.RecordRequest (Saga.RecordRequestData { Saga.orderId = orderId }), followUps = [], onAccepted = [Reaction.FollowDispatch (PMCommand (Stream.entityStream orderCommandCategory (N.orderIdText orderId)) (Target.PlaceOrder (Target.PlaceOrderData { Target.orderId = orderId })))] }
+
+orderFlowProcessManager =
+  Reaction.ReactiveProcessManager
+    { name = orderFlowProcessName
+    , correlate = orderFlowCorrelate
+    , sagaHandler = DomainCommandHandler { eventStream = orderSagaEventStream, classifySilent = \_ -> SilentNoOp () }
+    , streamFor = Stream.entityStream orderFlowCategory
+    , targetEventStream = orderEventStream
+    , targetProjections = const []
+    , react = orderFlowReact
+    }
+
+orderFlowRunProcessWorker options adapter =
+  Reaction.runReactiveProcessManagerWorkerWith
+    orderFlowProcessWorkerOptions
+    options
+    orderFlowProcessManager
+    adapter
+    (\event -> case decodeOrderFlowInput event of Nothing -> Nothing; Just input -> Just (event, input))
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/ProcessHarness.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/ProcessHarness.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderFlow/ProcessHarness.hs
@@ -0,0 +1,16 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from process OrderFlow; do not edit.
+module Generated.TopologyMachine.OrderFlow.ProcessHarness (processHarnessValues) where
+
+-- | (label, value): the spec's deterministic process/timer decisions,
+-- lowered to plain values so a driver can assert them against a committed
+-- expectation. The driver's expectation is hand-written (not generated), so a
+-- spec change that alters a decision diverges from it and turns a specific
+-- assertion red — the spec->behaviour pin. (Live-runtime behavioural
+-- conformance of the filled ProcessManager is the M5 step.)
+processHarnessValues :: [(String, String)]
+processHarnessValues =
+  [ ("reactionOwnership", "generated-declarative")
+  , ("reactionVersion", "1")
+  , ("reactionFingerprint", "cf31810a738a8543f700a1930f8df04a09056449e103c4eb1b3b9039b1bd6f46")
+  , ("reaction.OrderRequested.0", "guard=always;advance=RecordRequest;followUps=;accepted=dispatch:Order.PlaceOrder")
+  ]
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/BehaviorContract.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/BehaviorContract.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/BehaviorContract.hs
@@ -0,0 +1,413 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.BehaviorContract
+  ( BehaviorKey (..)
+  , unBehaviorKey
+  , ObligationKind (..)
+  , EvidenceLevel (..)
+  , GuardCoverage (..)
+  , BehaviorRequirement (..)
+  , RejectionClass (..)
+  , LiveExpectation (..)
+  , BehaviorWitness (..)
+  , BehaviorFailure (..)
+  , BehaviorConformanceReport (..)
+  , behaviorRequirements
+  , behaviorCoverageReport
+  , behaviorObligationReport
+  , behaviorConformancePassed
+  , behaviorConformancePassedWith
+  , renderBehaviorConformanceText
+  , behaviorConformanceRows
+  ) where
+
+import Generated.TopologyMachine.OrderSaga.Codec (encodeOrderSagaEvent, parseOrderSagaEvent, orderSagaCodec)
+import Generated.TopologyMachine.OrderSaga.Domain
+import Generated.TopologyMachine.OrderSaga.Transducer (orderSagaTransducer)
+import Generated.TopologyMachine.BehaviorSourceMap qualified as BehaviorSourceMap
+import Data.Aeson (ToJSON (..), object, (.=))
+import Data.List (sortOn)
+import Data.List.NonEmpty (NonEmpty)
+import Data.List.NonEmpty qualified as NonEmpty
+import Data.Map.Strict qualified as Map
+import Data.Text (Text)
+import Data.Text qualified as T
+import Keiki.Core qualified as K (EdgeMode (..), EdgeRef (..), RegFile, ReplayAttribution (..), ReplayEventSpan (..), ReplaySuccess (..), StepFailure (..), StepSuccess (..), applyEventsDetailedEither, stepDetailedEither)
+import Keiro.Codec qualified as Codec (Codec (eventType), EventType (..))
+
+newtype BehaviorKey = BehaviorKey { unBehaviorKey :: Text }
+  deriving stock (Eq, Ord, Show)
+
+unBehaviorKey :: BehaviorKey -> Text
+unBehaviorKey (BehaviorKey value) = value
+
+data ObligationKind = LiveTransition | RequiredRejection | ReplayTransition
+  deriving stock (Eq, Ord, Show)
+
+data EvidenceLevel = GeneratedAuthoritative | HoleWitnessed | LegacyRuntimeWitness
+  deriving stock (Eq, Ord, Show)
+
+data GuardCoverage = GuardTotal | GuardPartial | GuardUnknown | GuardNotApplicable
+  deriving stock (Eq, Ord, Show)
+
+data BehaviorRequirement = BehaviorRequirement
+  { key :: !BehaviorKey
+  , kind :: !ObligationKind
+  , evidence :: !EvidenceLevel
+  , guardCoverage :: !GuardCoverage
+  , source :: !OrderSagaVertex
+  , commandName :: !Text
+  , expectedEdge :: !(Maybe (K.EdgeRef OrderSagaVertex))
+  , target :: !(Maybe OrderSagaVertex)
+  , eventKinds :: ![Text]
+  }
+  deriving stock (Eq, Show)
+
+data RejectionClass = RejectNoOutgoingEdges | RejectNoMatchingEdge
+  deriving stock (Eq, Show)
+
+data LiveExpectation
+  = Emits (NonEmpty OrderSagaEvent)
+  | Rejects RejectionClass
+  | NoOp
+  deriving stock (Eq, Show)
+
+data BehaviorWitness
+  = Pending BehaviorKey
+  | LiveWitness
+      { key :: BehaviorKey
+      , history :: [OrderSagaEvent]
+      , command :: OrderSagaCommand
+      , expected :: LiveExpectation
+      }
+  | ReplayWitness
+      { key :: BehaviorKey
+      , historyPrefix :: [OrderSagaEvent]
+      , observedChunk :: [OrderSagaEvent]
+      }
+  deriving stock (Eq, Show)
+
+data BehaviorFailure = BehaviorFailure
+  { key :: !BehaviorKey
+  , subject :: !Text
+  , code :: !Text
+  , detail :: !Text
+  }
+  deriving stock (Eq, Show)
+
+instance ToJSON BehaviorFailure where
+  toJSON behaviorFailure = object
+    [ "key" .= unBehaviorKey behaviorFailure.key
+    , "subject" .= behaviorFailure.subject
+    , "code" .= behaviorFailure.code
+    , "detail" .= behaviorFailure.detail
+    ]
+
+data BehaviorConformanceReport = BehaviorConformanceReport
+  { required :: ![BehaviorKey]
+  , filled :: ![BehaviorKey]
+  , pending :: ![BehaviorKey]
+  , missing :: ![BehaviorKey]
+  , duplicate :: ![BehaviorKey]
+  , stale :: ![BehaviorKey]
+  , failed :: ![BehaviorFailure]
+  , verified :: ![BehaviorKey]
+  , unverified :: ![BehaviorKey]
+  }
+  deriving stock (Eq, Show)
+
+instance ToJSON BehaviorConformanceReport where
+  toJSON report = object
+    [ "schema" .= ("keiro/behavior-conformance/1" :: Text)
+    , "required" .= keyTexts report.required
+    , "filled" .= keyTexts report.filled
+    , "pending" .= keyTexts report.pending
+    , "missing" .= keyTexts report.missing
+    , "duplicate" .= keyTexts report.duplicate
+    , "stale" .= keyTexts report.stale
+    , "failed" .= report.failed
+    , "verified" .= keyTexts report.verified
+    , "unverified" .= keyTexts report.unverified
+    ]
+
+behaviorRequirements :: [BehaviorRequirement]
+behaviorRequirements =
+  [ -- OrderSagaWaiting x FinishRequest: required rejection
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-8592eed35edbc505"
+      , kind = RequiredRejection
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardNotApplicable
+      , source = OrderSagaWaiting
+      , commandName = "FinishRequest"
+      , expectedEdge = Nothing
+      , target = Nothing
+      , eventKinds = []
+      }
+  , -- OrderSagaRequested x RecordRequest: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-d9f622535671546c"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderSagaRequested
+      , commandName = "RecordRequest"
+      , expectedEdge = (Just (K.EdgeRef OrderSagaRequested 1))
+      , target = Just OrderSagaRequested
+      , eventKinds = ["RequestRecorded"]
+      }
+  , -- OrderSagaWaiting x RecordRequest: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-edb42bb9533e3443"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderSagaWaiting
+      , commandName = "RecordRequest"
+      , expectedEdge = (Just (K.EdgeRef OrderSagaWaiting 0))
+      , target = Just OrderSagaRequested
+      , eventKinds = ["RequestRecorded"]
+      }
+  , -- OrderSagaRequested x FinishRequest: live transition
+    BehaviorRequirement
+      { key = BehaviorKey "behavior-v1-f281427a09b33c8d"
+      , kind = LiveTransition
+      , evidence = GeneratedAuthoritative
+      , guardCoverage = GuardTotal
+      , source = OrderSagaRequested
+      , commandName = "FinishRequest"
+      , expectedEdge = (Just (K.EdgeRef OrderSagaRequested 0))
+      , target = Just OrderSagaWaiting
+      , eventKinds = ["RequestFinished"]
+      }
+  ]
+
+behaviorCoverageReport :: [BehaviorWitness] -> BehaviorConformanceReport
+behaviorCoverageReport = coverageReportFor behaviorRequirements
+
+-- | Execute one required obligation and the witnesses carrying its key.
+-- Hole-owned initial harness probes use the consumer's history-backed evidence.
+behaviorObligationReport :: BehaviorKey -> [BehaviorWitness] -> BehaviorConformanceReport
+behaviorObligationReport key witnesses =
+  coverageReportFor
+    [requirement | requirement <- behaviorRequirements, requirement.key == key]
+    [witness | witness <- witnesses, behaviorWitnessKey witness == key]
+
+coverageReportFor :: [BehaviorRequirement] -> [BehaviorWitness] -> BehaviorConformanceReport
+coverageReportFor requirements witnesses =
+  BehaviorConformanceReport
+    { required = sortedKeys (Map.keys requiredByKey)
+    , filled = sortedKeys [key | (key, [witness]) <- Map.toList witnessGroups, Map.member key requiredByKey, not (isPending witness)]
+    , pending = sortedKeys [key | (key, rows) <- Map.toList witnessGroups, Map.member key requiredByKey, any isPending rows]
+    , missing = sortedKeys [key | key <- Map.keys requiredByKey, Map.notMember key witnessGroups]
+    , duplicate = sortedKeys [key | (key, rows) <- Map.toList witnessGroups, length rows > 1]
+    , stale = sortedKeys [key | key <- Map.keys witnessGroups, Map.notMember key requiredByKey]
+    , failed = sortOn (unBehaviorKey . (.key)) failures
+    , verified = sortedKeys [requirement.key | (requirement, Right ()) <- executions, proofStrength requirement]
+    , unverified = sortedKeys [requirement.key | (requirement, Right ()) <- executions, not (proofStrength requirement)]
+    }
+ where
+  requiredByKey = Map.fromList [(requirement.key, requirement) | requirement <- requirements]
+  witnessGroups = Map.fromListWith (flip (<>)) [(behaviorWitnessKey witness, [witness]) | witness <- witnesses]
+  executions =
+    [ (requirement, runWitness requirement witness)
+    | (key, [witness]) <- Map.toList witnessGroups
+    , not (isPending witness)
+    , Just requirement <- [Map.lookup key requiredByKey]
+    ]
+  failures = [behaviorFailure | (_, Left behaviorFailure) <- executions]
+
+behaviorConformancePassed :: BehaviorConformanceReport -> Bool
+behaviorConformancePassed = behaviorConformancePassedWith False
+
+behaviorConformancePassedWith :: Bool -> BehaviorConformanceReport -> Bool
+behaviorConformancePassedWith failOnUnverified report =
+  null report.pending
+    && null report.missing
+    && null report.duplicate
+    && null report.stale
+    && null report.failed
+    && (not failOnUnverified || null report.unverified)
+
+renderBehaviorConformanceText :: BehaviorConformanceReport -> Text
+renderBehaviorConformanceText report = T.unlines
+  [ "behavior conformance: OrderSaga"
+  , "schema: keiro/behavior-conformance/1"
+  , countLine "required" report.required
+  , countLine "filled" report.filled
+  , countLine "pending" report.pending
+  , countLine "missing" report.missing
+  , countLine "duplicate" report.duplicate
+  , countLine "stale" report.stale
+  , "failed: " <> tshow (length report.failed)
+  , countLine "verified" report.verified
+  , countLine "unverified" report.unverified
+  ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
+
+runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
+runWitness requirement witness = case witness of
+  Pending _ -> failure requirement "pending" "witness is still Pending"
+  LiveWitness _ history command expectation -> runLive requirement history command expectation
+  ReplayWitness _ prefix chunk -> runReplay requirement prefix chunk
+
+runLive :: BehaviorRequirement -> [OrderSagaEvent] -> OrderSagaCommand -> LiveExpectation -> Either BehaviorFailure ()
+runLive requirement history command expectation = do
+  settled <- settleHistory requirement "history" history
+  ensure requirement (K.replaySuccessState settled == requirement.source) "history-wrong-source" "history does not settle at the required source vertex"
+  ensure requirement (commandKind command == requirement.commandName) "command-mismatch" "witness command constructor does not match the required state/command cell"
+  case requirement.kind of
+    ReplayTransition -> failure requirement "witness-kind" "a replay-only requirement needs ReplayWitness"
+    RequiredRejection -> runRejection requirement (K.replaySuccessState settled, K.replaySuccessRegs settled) command expectation
+    LiveTransition -> runAcceptance requirement (K.replaySuccessState settled, K.replaySuccessRegs settled) command expectation
+
+runRejection :: BehaviorRequirement -> (OrderSagaVertex, K.RegFile OrderSagaRegs) -> OrderSagaCommand -> LiveExpectation -> Either BehaviorFailure ()
+runRejection requirement seed command expectation = case expectation of
+  Emits _ -> failure requirement "expectation-kind" "a rejection requirement cannot expect emitted events"
+  NoOp -> failure requirement "expectation-kind" "a rejection requirement cannot expect an accepted no-op"
+  Rejects expectedClass -> case K.stepDetailedEither orderSagaTransducer seed command of
+    Left K.NoOutgoingEdges {} -> ensure requirement (expectedClass == RejectNoOutgoingEdges) "rejection-class" "expected NoMatchingEdge but runtime returned NoOutgoingEdges"
+    Left K.NoMatchingEdge {} -> ensure requirement (expectedClass == RejectNoMatchingEdge) "rejection-class" "expected NoOutgoingEdges but runtime returned NoMatchingEdge"
+    Left K.AmbiguousEdges {} -> failure requirement "ambiguous-edges" "AmbiguousEdges can never satisfy a rejection witness"
+    Right _ -> failure requirement "unexpected-acceptance" "runtime accepted a command required to reject"
+
+runAcceptance :: BehaviorRequirement -> (OrderSagaVertex, K.RegFile OrderSagaRegs) -> OrderSagaCommand -> LiveExpectation -> Either BehaviorFailure ()
+runAcceptance requirement seed command expectation = case expectation of
+  Rejects _ -> failure requirement "expectation-kind" "a live-transition requirement needs Emits or NoOp"
+  NoOp -> case K.stepDetailedEither orderSagaTransducer seed command of
+    Left stepFailure -> failure requirement "unexpected-rejection" (tshow stepFailure)
+    Right success -> do
+      checkAcceptedEnvelope requirement success
+      ensure requirement (null (K.stepSuccessOutputs success)) "noop-emitted" "NoOp emitted one or more events"
+      ensure requirement (K.stepSuccessState success == fst seed) "noop-vertex-change" "NoOp changed the control vertex"
+      ensure requirement (regsEqual (K.stepSuccessRegs success) (snd seed)) "noop-register-change" "NoOp changed one or more registers"
+  Emits expectedEvents -> case K.stepDetailedEither orderSagaTransducer seed command of
+    Left stepFailure -> failure requirement "unexpected-rejection" (tshow stepFailure)
+    Right success -> do
+      checkAcceptedEnvelope requirement success
+      let expected = NonEmpty.toList expectedEvents
+          actual = K.stepSuccessOutputs success
+      ensure requirement (actual == expected) "event-value-mismatch" ("runtime event values differ from the exact witness expectation; actual=" <> tshow actual <> " expected=" <> tshow expected)
+      ensure requirement (map eventKind actual == requirement.eventKinds) "event-envelope-mismatch" ("runtime event kinds differ from the declared ordered envelope; actual=" <> tshow (map eventKind actual) <> " expected=" <> tshow requirement.eventKinds)
+      decoded <- either (failure requirement "emitted-codec-decode") Right (decodeEvents actual)
+      replayed <- case K.applyEventsDetailedEither orderSagaTransducer seed decoded of
+        Left replayFailure -> failure requirement "emitted-replay-failed" (tshow replayFailure)
+        Right replaySuccess -> Right replaySuccess
+      ensure requirement (K.replaySuccessState replayed == K.stepSuccessState success) "forward-replay-vertex" "decoded emissions replay to a different vertex"
+      ensure requirement (regsEqual (K.replaySuccessRegs replayed) (K.stepSuccessRegs success)) "forward-replay-registers" "decoded emissions replay to different registers"
+      checkSingleAttribution requirement K.Live (length decoded) (K.replaySuccessTrace replayed)
+
+checkAcceptedEnvelope :: BehaviorRequirement -> K.StepSuccess OrderSagaRegs OrderSagaVertex OrderSagaEvent -> Either BehaviorFailure ()
+checkAcceptedEnvelope requirement success = do
+  ensure requirement (K.stepSuccessMode success == K.Live) "forward-mode" ("forward execution selected a non-live edge; actual=" <> tshow (K.stepSuccessMode success) <> " expected=" <> tshow K.Live)
+  ensure requirement (Just (K.stepSuccessEdge success) == requirement.expectedEdge) "edge-attribution" ("runtime selected a different guarded sibling; actual=" <> tshow (Just (K.stepSuccessEdge success)) <> " expected=" <> tshow requirement.expectedEdge)
+  ensure requirement (Just (K.stepSuccessState success) == requirement.target) "target-mismatch" ("runtime reached a different target vertex; actual=" <> tshow (Just (K.stepSuccessState success)) <> " expected=" <> tshow requirement.target)
+
+runReplay :: BehaviorRequirement -> [OrderSagaEvent] -> [OrderSagaEvent] -> Either BehaviorFailure ()
+runReplay requirement prefix chunk = case requirement.kind of
+  ReplayTransition -> do
+    settled <- settleHistory requirement "history-prefix" prefix
+    ensure requirement (K.replaySuccessState settled == requirement.source) "history-wrong-source" "history prefix does not settle at the replay edge source"
+    ensure requirement (not (null chunk)) "empty-replay-chunk" "a replay-only edge has no observable empty chunk"
+    decoded <- either (failure requirement "replay-chunk-codec-decode") Right (decodeEvents chunk)
+    replayed <- case K.applyEventsDetailedEither orderSagaTransducer (K.replaySuccessState settled, K.replaySuccessRegs settled) decoded of
+      Left replayFailure -> failure requirement "replay-chunk-failed" (tshow replayFailure)
+      Right replaySuccess -> Right replaySuccess
+    ensure requirement (Just (K.replaySuccessState replayed) == requirement.target) "target-mismatch" ("replay chunk reached a different target vertex; actual=" <> tshow (Just (K.replaySuccessState replayed)) <> " expected=" <> tshow requirement.target)
+    checkSingleAttribution requirement K.ReplayOnly (length decoded) (K.replaySuccessTrace replayed)
+  _ -> failure requirement "witness-kind" "ReplayWitness supplied for a non-replay requirement"
+
+checkSingleAttribution :: BehaviorRequirement -> K.EdgeMode -> Int -> [K.ReplayAttribution OrderSagaVertex] -> Either BehaviorFailure ()
+checkSingleAttribution requirement expectedMode eventCount trace = case trace of
+  [attribution] -> do
+    ensure requirement (Just (K.replayAttributionEdge attribution) == requirement.expectedEdge) "replay-edge-attribution" ("replay selected a different edge; actual=" <> tshow (Just (K.replayAttributionEdge attribution)) <> " expected=" <> tshow requirement.expectedEdge)
+    ensure requirement (K.replayAttributionMode attribution == expectedMode) "replay-mode-attribution" ("replay selected the wrong live/replay-only phase; actual=" <> tshow (K.replayAttributionMode attribution) <> " expected=" <> tshow expectedMode)
+    ensure requirement (K.replayAttributionSource attribution == requirement.source) "replay-source-attribution" ("replay attribution starts at the wrong source; actual=" <> tshow (K.replayAttributionSource attribution) <> " expected=" <> tshow requirement.source)
+    ensure requirement (Just (K.replayAttributionTarget attribution) == requirement.target) "replay-target-attribution" ("replay attribution ends at the wrong target; actual=" <> tshow (Just (K.replayAttributionTarget attribution)) <> " expected=" <> tshow requirement.target)
+    ensure requirement (K.replayAttributionSpan attribution == K.ReplayEventSpan 0 eventCount) "replay-span-attribution" ("replay attribution did not consume the exact chunk; actual=" <> tshow (K.replayAttributionSpan attribution) <> " expected=" <> tshow (K.ReplayEventSpan 0 eventCount))
+  _ -> failure requirement "replay-trace-cardinality" "expected exactly one completed-edge attribution"
+
+settleHistory :: BehaviorRequirement -> Text -> [OrderSagaEvent] -> Either BehaviorFailure (K.ReplaySuccess OrderSagaRegs OrderSagaVertex)
+settleHistory requirement label history = do
+  decoded <- either (failure requirement (label <> "-codec-decode")) Right (decodeEvents history)
+  case K.applyEventsDetailedEither orderSagaTransducer (OrderSagaWaiting, initialOrderSagaRegs) decoded of
+    Left replayFailure -> failure requirement (label <> "-replay-failed") (tshow replayFailure)
+    Right replaySuccess -> Right replaySuccess
+
+decodeEvents :: [OrderSagaEvent] -> Either Text [OrderSagaEvent]
+decodeEvents = traverse (\event -> parseOrderSagaEvent (Codec.eventType orderSagaCodec event) (encodeOrderSagaEvent event))
+
+commandKind :: OrderSagaCommand -> Text
+commandKind command = case command of
+  RecordRequest _ -> "RecordRequest"
+  FinishRequest _ -> "FinishRequest"
+
+eventKind :: OrderSagaEvent -> Text
+eventKind event = case Codec.eventType orderSagaCodec event of Codec.EventType tag -> tag
+
+regsEqual :: K.RegFile OrderSagaRegs -> K.RegFile OrderSagaRegs -> Bool
+regsEqual _ _ = True
+
+proofStrength :: BehaviorRequirement -> Bool
+proofStrength requirement =
+  requirement.evidence == GeneratedAuthoritative
+    && requirement.guardCoverage `elem` [GuardTotal, GuardNotApplicable]
+
+behaviorWitnessKey :: BehaviorWitness -> BehaviorKey
+behaviorWitnessKey witness = case witness of
+  Pending key -> key
+  LiveWitness { key = key } -> key
+  ReplayWitness { key = key } -> key
+
+isPending :: BehaviorWitness -> Bool
+isPending Pending {} = True
+isPending _ = False
+
+ensure :: BehaviorRequirement -> Bool -> Text -> Text -> Either BehaviorFailure ()
+ensure requirement condition code detail = if condition then Right () else failure requirement code detail
+failure :: BehaviorRequirement -> Text -> Text -> Either BehaviorFailure failed
+failure requirement code detail =
+  Left
+    ( BehaviorFailure
+        requirement.key
+        (tshow requirement.source <> " x " <> requirement.commandName <> ": " <> kindPhrase <> " (" <> BehaviorSourceMap.renderBehaviorSourceLocation (unBehaviorKey requirement.key) <> ")")
+        code
+        detail
+    )
+ where
+  kindPhrase = case requirement.kind of
+    LiveTransition -> "live transition"
+    RequiredRejection -> "required rejection"
+    ReplayTransition -> "replay-only transition"
+sortedKeys :: [BehaviorKey] -> [BehaviorKey]
+sortedKeys = sortOn unBehaviorKey
+keyTexts :: [BehaviorKey] -> [Text]
+keyTexts = map unBehaviorKey
+countLine :: Text -> [BehaviorKey] -> Text
+countLine label values = label <> ": " <> tshow (length values)
+tshow :: Show value => value -> Text
+tshow = T.pack . show
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Codec.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Codec.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Codec.hs
@@ -0,0 +1,77 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.Codec (
+    orderSagaCodec,
+    parseOrderSagaEvent,
+    encodeOrderSagaEvent,
+) where
+
+import Generated.TopologyMachine.OrderSaga.Domain
+import Generated.TopologyMachine.Nominals (orderIdText)
+import Generated.TopologyMachine.Nominals.Internal (unsafeOrderIdFromLegacyText)
+import Data.Aeson (Value, object, withObject, (.:), (.=))
+import Data.Aeson.Types (parseEither)
+import Data.List.NonEmpty (NonEmpty (..))
+import Data.List.NonEmpty qualified as NonEmpty
+import Data.Text (Text)
+import qualified Data.Text as T
+import Keiro.Codec (Codec (..), EventType (..))
+
+
+
+
+
+orderSagaEventTypes :: NonEmpty EventType
+orderSagaEventTypes = EventType "RequestRecorded" :| [EventType "RequestFinished"]
+
+orderSagaCodec :: Codec OrderSagaEvent
+orderSagaCodec =
+  Codec
+    { eventTypes = orderSagaEventTypes
+    , eventType = \case
+        RequestRecorded{} -> EventType "RequestRecorded"
+        RequestFinished{} -> EventType "RequestFinished"
+    , schemaVersion = 1
+    , encode = encodeOrderSagaEvent
+    , decode = parseOrderSagaEvent
+    , upcasters = []
+    }
+
+encodeOrderSagaEvent :: OrderSagaEvent -> Value
+encodeOrderSagaEvent = \case
+  RequestRecorded payload ->
+    object
+      [ "kind" .= ("RequestRecorded" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+  RequestFinished payload ->
+    object
+      [ "kind" .= ("RequestFinished" :: Text)
+      , "orderId" .= orderIdText payload.orderId
+      ]
+
+parseOrderSagaEvent :: EventType -> Value -> Either Text OrderSagaEvent
+parseOrderSagaEvent (EventType tag) = mapLeftText . parseEither (withObject "OrderSagaEvent" go)
+  where
+    go o = do
+      case tag of
+        "RequestRecorded" ->
+          RequestRecorded
+            <$> ( RequestRecordedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        "RequestFinished" ->
+          RequestFinished
+            <$> ( RequestFinishedData
+                    <$> (unsafeOrderIdFromLegacyText <$> o .: "orderId")
+                )
+        _ -> fail ("unknown event type " <> show tag <> "; expected one of: " <> renderExpectedEventTypes orderSagaEventTypes)
+
+mapLeftText :: Either String b -> Either Text b
+mapLeftText = either (Left . T.pack) Right
+
+renderExpectedEventTypes :: NonEmpty EventType -> String
+renderExpectedEventTypes =
+  T.unpack
+    . T.intercalate ", "
+    . map (\(EventType eventTypeName) -> eventTypeName)
+    . NonEmpty.toList
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Domain.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Domain.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Domain.hs
@@ -0,0 +1,52 @@
+{-# LANGUAGE TemplateHaskell #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.Domain where
+
+import GHC.Generics (Generic)
+import Keiki.Core (RegFile (..))
+import Generated.TopologyMachine.Nominals (OrderId)
+import Keiki.Generics.TH (deriveAggregateCtorsAll, deriveWireCtorsAll)
+
+data OrderSagaVertex = OrderSagaWaiting | OrderSagaRequested
+  deriving stock (Generic, Eq, Ord, Show, Enum, Bounded)
+
+data RecordRequestData = RecordRequestData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data FinishRequestData = FinishRequestData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderSagaCommand = RecordRequest !RecordRequestData
+  | FinishRequest !FinishRequestData
+  deriving stock (Generic, Eq, Show)
+
+data RequestRecordedData = RequestRecordedData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data RequestFinishedData = RequestFinishedData
+  { orderId :: !OrderId
+  }
+  deriving stock (Generic, Eq, Show)
+
+data OrderSagaEvent = RequestRecorded !RequestRecordedData
+  | RequestFinished !RequestFinishedData
+  deriving stock (Generic, Eq, Show)
+
+type OrderSagaRegs =
+  '[]
+
+initialOrderSagaRegs :: RegFile OrderSagaRegs
+initialOrderSagaRegs =
+  RNil
+
+$(deriveAggregateCtorsAll ''OrderSagaCommand ''OrderSagaRegs)
+
+
+
+$(deriveWireCtorsAll ''OrderSagaEvent)
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/EventStream.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/EventStream.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/EventStream.hs
@@ -0,0 +1,49 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.EventStream
+  ( orderSagaCategory
+  , orderSagaCommandCategory
+  , orderSagaEventStream
+  , orderSagaEventStreamDef
+  , OrderSagaEventStream
+  , OrderSagaEventStreamDef
+  ) where
+
+import Generated.TopologyMachine.OrderSaga.Domain
+import Generated.TopologyMachine.OrderSaga.Codec (orderSagaCodec)
+import Generated.TopologyMachine.OrderSaga.Transducer (orderSagaTransducer)
+import Keiki.Core (HsPred)
+import Keiro.EventStream (EventStream (..), SnapshotPolicy (..))
+import Keiro.EventStream.Validate (ValidatedEventStream, mkEventStreamOrThrow)
+import Keiro.Stream qualified as Stream
+
+-- The validated aggregate stream category (hole-kind 5: referenced, never retyped).
+-- Entity streams are '<category>-<id>' via Keiro.Stream.entityStream.
+-- categoryUnsafe is safe here because this generated literal passed the DSL category proof.
+orderSagaCategory :: Stream.StreamCategory OrderSagaEventStreamDef
+orderSagaCategory = Stream.categoryUnsafe "orderSaga"
+
+-- The same category text, typed for command envelopes such as PMCommand.
+orderSagaCommandCategory :: Stream.StreamCategory OrderSagaCommand
+orderSagaCommandCategory = Stream.categoryUnsafe "orderSaga"
+
+type OrderSagaEventStreamDef =
+  EventStream (HsPred OrderSagaRegs OrderSagaCommand) OrderSagaRegs OrderSagaVertex OrderSagaCommand OrderSagaEvent
+
+type OrderSagaEventStream =
+  ValidatedEventStream (HsPred OrderSagaRegs OrderSagaCommand) OrderSagaRegs OrderSagaVertex OrderSagaCommand OrderSagaEvent
+
+orderSagaEventStreamDef :: OrderSagaEventStreamDef
+orderSagaEventStreamDef =
+  EventStream
+    { transducer = orderSagaTransducer,
+      initialState = OrderSagaWaiting,
+      initialRegisters = initialOrderSagaRegs,
+      eventCodec = orderSagaCodec,
+      resolveStreamName = Stream.streamName,
+      snapshotPolicy = Never,
+      stateCodec = Nothing
+    }
+
+orderSagaEventStream :: OrderSagaEventStream
+orderSagaEventStream =
+  mkEventStreamOrThrow "OrderSaga" orderSagaEventStreamDef
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Harness.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Harness.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Harness.hs
@@ -0,0 +1,61 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.Harness (harnessAssertions) where
+
+import Generated.TopologyMachine.OrderSaga.Domain
+import Generated.TopologyMachine.OrderSaga.Codec (encodeOrderSagaEvent, parseOrderSagaEvent, orderSagaCodec)
+import Generated.TopologyMachine.OrderSaga.Transducer (orderSagaTransducer)
+import Keiki.Core (applyEventsEither, defaultValidationOptions, step, validateTransducer)
+import Keiro.Codec (eventType)
+import Generated.TopologyMachine.Nominals (OrderId, parseOrderId)
+
+-- | (label, passed). A driver runs these and exits non-zero on any False,
+-- naming the failing assertion. Filling a hole wrongly turns a specific
+-- entry False; the scaffold cannot.
+harnessAssertions :: [(String, Bool)]
+harnessAssertions =
+  [ ("validateTransducer is empty", null (validateTransducer defaultValidationOptions orderSagaTransducer))
+  -- clock-free: spec samples no wall clock (verified at scaffold time)
+  , ("golden round-trip: RequestRecorded", roundTrips sampleEventRequestRecorded)
+  , ("golden round-trip: RequestFinished", roundTrips sampleEventRequestFinished)
+  , ("accepts RecordRequest from OrderSagaWaiting", acceptRecordRequest)
+  ]
+  ++ forwardReplayRecordRequest
+
+roundTrips :: OrderSagaEvent -> Bool
+roundTrips e = parseOrderSagaEvent (eventType orderSagaCodec e) (encodeOrderSagaEvent e) == Right e
+
+sampleOrderId :: OrderId
+sampleOrderId =
+  case parseOrderId "ord_01h455vb4pex5vsknk084sn02q" of
+    Right parsed -> parsed
+    Left problem -> error (show problem)
+
+sampleEventRequestRecorded :: OrderSagaEvent
+sampleEventRequestRecorded = RequestRecorded (RequestRecordedData sampleOrderId)
+
+sampleEventRequestFinished :: OrderSagaEvent
+sampleEventRequestFinished = RequestFinished (RequestFinishedData sampleOrderId)
+
+acceptRecordRequest :: Bool
+acceptRecordRequest =
+  case step orderSagaTransducer (OrderSagaWaiting, initialOrderSagaRegs) (RecordRequest (RecordRequestData sampleOrderId)) of
+    Just (v, _, _) -> v == OrderSagaRequested
+    Nothing -> False
+
+-- forward/replay equality (plan 147): cross the persisted codec boundary,
+-- replay the emitted chain, and compare the final vertex and every register.
+forwardReplayRecordRequest :: [(String, Bool)]
+forwardReplayRecordRequest =
+  case step orderSagaTransducer (OrderSagaWaiting, initialOrderSagaRegs) (RecordRequest (RecordRequestData sampleOrderId)) of
+    Nothing -> [(prefix <> "forward step accepted", False)]
+    Just (forwardVertex, _forwardRegs, emitted) ->
+      case mapM (\event -> parseOrderSagaEvent (eventType orderSagaCodec event) (encodeOrderSagaEvent event)) emitted of
+        Left _ -> [(prefix <> "emitted chain decodes", False)]
+        Right decodedEvents ->
+          case applyEventsEither orderSagaTransducer (OrderSagaWaiting, initialOrderSagaRegs) decodedEvents of
+            Left _ -> [(prefix <> "replay succeeds", False)]
+            Right (replayVertex, _replayRegs) ->
+              [ (prefix <> "final vertex", replayVertex == forwardVertex)
+              ]
+  where
+    prefix = "forward/replay equality: RecordRequest from OrderSagaWaiting -- "
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Projection.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Projection.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Projection.hs
@@ -0,0 +1,4 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.Projection () where
+
+-- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Transducer.hs b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Transducer.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/OrderSaga/Transducer.hs
@@ -0,0 +1,67 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE QualifiedDo #-}
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate OrderSaga; do not edit.
+module Generated.TopologyMachine.OrderSaga.Transducer
+  ( orderSagaTransducer
+  , orderSagaFoldFingerprint
+  , BehaviorOwnership (..)
+  , orderSagaPredicateVerifications
+  ) where
+
+import Generated.TopologyMachine.OrderSaga.Domain
+import Data.Text (Text)
+import Keiki.Builder qualified as B
+import Keiki.Core (HsPred, SymTransducer)
+import Keiki.Core qualified as K
+import Keiki.Symbolic qualified as S
+
+orderSagaTransducer
+  :: SymTransducer
+       (HsPred OrderSagaRegs OrderSagaCommand)
+       OrderSagaRegs
+       OrderSagaVertex
+       OrderSagaCommand
+       OrderSagaEvent
+orderSagaTransducer =
+  B.buildTransducer OrderSagaWaiting initialOrderSagaRegs isTerminal do
+    B.from OrderSagaWaiting do
+      B.onCmd inCtorRecordRequest $ \d -> B.do
+        B.emit wireRequestRecorded (RequestRecordedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderSagaRequested
+    B.from OrderSagaRequested do
+      B.onCmd inCtorFinishRequest $ \d -> B.do
+        B.emit wireRequestFinished (RequestFinishedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderSagaWaiting
+      B.onCmd inCtorRecordRequest $ \d -> B.do
+        B.emit wireRequestRecorded (RequestRecordedTermFields
+          { orderId = d.orderId
+          })
+        B.goto OrderSagaRequested
+ where
+  isTerminal = \case
+
+    _ -> False
+
+orderSagaFoldFingerprint :: Text
+orderSagaFoldFingerprint = "92f1cc8a504a5980e93fda9ed2a7727b"
+
+data BehaviorOwnership = GeneratedOwned | HoleOwned
+  deriving stock (Eq, Show)
+
+-- Every checked transition predicate is audited through Keiki's conservative
+-- symbolic verifier. Opaque Hole terms remain explicitly unverified.
+orderSagaPredicateVerifications :: IO [(Text, BehaviorOwnership, S.PredicateVerification)]
+orderSagaPredicateVerifications = sequence
+  [ verifyTransition "transition1WaitingRecordRequest" GeneratedOwned OrderSagaWaiting 0
+  , verifyTransition "transition2RequestedFinishRequest" GeneratedOwned OrderSagaRequested 0
+  , verifyTransition "transition3RequestedRecordRequest" GeneratedOwned OrderSagaRequested 1
+  ]
+ where
+  verifyTransition label owner source edgeIndex =
+    case drop edgeIndex (K.edgesOut orderSagaTransducer source) of
+      K.Edge predicate _ _ _ _ : _ -> (\result -> (label, owner, result)) <$> S.verifyPredicate predicate
+      [] -> pure (label, owner, S.UnverifiedSolverFailure "generated transition edge missing")
diff --git a/test/conformance-topology-machine/Generated/TopologyMachine/ReplayAudit.hs b/test/conformance-topology-machine/Generated/TopologyMachine/ReplayAudit.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Generated/TopologyMachine/ReplayAudit.hs
@@ -0,0 +1,30 @@
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context topology-machine replay-audit assembly; do not edit.
+--
+-- Deployment contract:
+--   * replay-neutral diff: no data audit is required;
+--   * affected diff: run AuditTargeted with the emitted affected set
+--     against a production copy under the candidate binary;
+--   * one-time runtime cutover: run AuditFull;
+--   * any non-zero audit exit blocks deployment.
+module Generated.TopologyMachine.ReplayAudit (auditTargets) where
+
+import Generated.TopologyMachine.Order.EventStream qualified as Order
+import Generated.TopologyMachine.OrderSaga.EventStream qualified as OrderSaga
+import Keiro.ReplayAudit (AuditTarget (..), SomeAuditTarget (..), streamInCategory)
+import Keiro.Stream qualified as Stream
+
+auditTargets :: [SomeAuditTarget]
+auditTargets =
+  [ SomeAuditTarget
+      AuditTarget
+        { eventStream = Order.orderEventStream
+        , category = Stream.categoryText Order.orderCategory
+        , mkStream = streamInCategory (Stream.categoryText Order.orderCategory)
+        }
+  , SomeAuditTarget
+      AuditTarget
+        { eventStream = OrderSaga.orderSagaEventStream
+        , category = Stream.categoryText OrderSaga.orderSagaCategory
+        , mkStream = streamInCategory (Stream.categoryText OrderSaga.orderSagaCategory)
+        }
+  ]
diff --git a/test/conformance-topology-machine/Main.hs b/test/conformance-topology-machine/Main.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/Main.hs
@@ -0,0 +1,69 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+{- | The topology machine proof for its dedicated fixture. @keiro-dsl topology@
+exports each aggregate's state machine from the specification alone. This
+suite compiles the generated keiki transducers of
+@keiro-dsl/test/fixtures/topology-machine.keiro@, walks them with keiki's own
+accessors (see "TopologyMachineProof"), and fails unless the result equals the
+exported @machine@ object for every aggregate, including the process saga. It
+also guards its own coverage, so a fixture edit cannot make the pass vacuous.
+-}
+module Main (main) where
+
+import Control.Monad (unless)
+import Data.List (sort)
+import Data.Text qualified as T
+import Generated.TopologyMachine.Order.Transducer (orderTransducer)
+import Generated.TopologyMachine.OrderSaga.Transducer (orderSagaTransducer)
+import Keiro.Dsl.Topology
+import System.Exit (exitFailure)
+import TopologyMachineProof
+
+main :: IO ()
+main = do
+  proof <-
+    proveTopologyMachines
+      "test/fixtures/topology-machine.keiro"
+      []
+      [ walkMachine "Order" orderTransducer,
+        walkMachine "OrderSaga" orderSagaTransducer
+      ]
+  mapM_
+    ( \(aggregate, machine) ->
+        putStrLn
+          ( "machine "
+              <> T.unpack aggregate
+              <> ": "
+              <> show (length machine.states)
+              <> " states, "
+              <> show (length machine.edges)
+              <> " edges match keiki"
+          )
+    )
+    proof.compared
+  putStrLn (topologyMachineProofLine proof)
+  -- Guard against a vacuous pass after a fixture edit.
+  let machines = map snd proof.compared
+      comparedNames = map fst proof.compared
+      allEdges = concatMap (.edges) machines
+      replayOnly = any ((== MachineReplayOnly) . (.mode)) allEdges
+      twoEvents = any ((>= 2) . length . (.events)) allEdges
+      multiEdgeState = or [length [() | e <- m.edges, e.source == s.name] >= 2 | m <- machines, s <- m.states]
+      sagas = [toRef.name | topologyEdge <- proof.topology.edges, topologyEdge.relation == Saga, let toRef = topologyEdge.to]
+      sagaCompared = not (null sagas) && all (`elem` comparedNames) sagas
+      everyAggregate = sort [node.name | node <- proof.topology.nodes, node.kind == AggregateKind] == sort comparedNames
+  unless (replayOnly && twoEvents && multiEdgeState && sagaCompared && everyAggregate) $ do
+    putStrLn
+      ( "coverage incomplete: replay-only="
+          <> show replayOnly
+          <> " two-event="
+          <> show twoEvents
+          <> " multi-edge-state="
+          <> show multiEdgeState
+          <> " saga-compared="
+          <> show sagaCompared
+          <> " every-aggregate="
+          <> show everyAggregate
+      )
+    exitFailure
+  putStrLn "coverage: replay-only edge, two-event edge, multi-edge state, process saga present"
diff --git a/test/conformance-topology-machine/TopologyMachine/Order/BehaviorHoles.hs b/test/conformance-topology-machine/TopologyMachine/Order/BehaviorHoles.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/TopologyMachine/Order/BehaviorHoles.hs
@@ -0,0 +1,29 @@
+-- Consumer-owned behavioral witnesses. Created once; never overwritten.
+module TopologyMachine.Order.BehaviorHoles (behaviorWitnesses) where
+
+import Generated.TopologyMachine.Order.BehaviorContract
+
+behaviorWitnesses :: [BehaviorWitness]
+behaviorWitnesses =
+  [ Pending (BehaviorKey "behavior-v1-002dd349c9f95c03") -- OrderOpen x PlaceOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-339bb773d33d1cd9") -- OrderOpen x ShipOrder: live transition
+  , Pending (BehaviorKey "behavior-v1-364d670a2b00ba7a") -- OrderDone x CloseOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-4703c81ac84fd269") -- OrderInTransit x AmendOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-4ad1b28167914e12") -- OrderOpen x CloseOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-4c06e1818180b41a") -- OrderDraft x AmendOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-4c3acea05eae1527") -- OrderInTransit x CloseOrder: live transition
+  , Pending (BehaviorKey "behavior-v1-5b1cf802887be9da") -- OrderDone x NoteOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-681e78594be5e34d") -- OrderDraft x PlaceOrder: live transition
+  , Pending (BehaviorKey "behavior-v1-6dc85069e4d4aeaf") -- OrderDone x AmendOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-820d02611d3fe202") -- OrderOpen x NoteOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-86aedf6e0162577f") -- OrderDraft x CloseOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-acb73cfddfb6ec54") -- OrderDone x ShipOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-b3bf157ed703ffaf") -- OrderDraft x ShipOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-bba7be6454e48fd5") -- OrderOpen x AmendOrder: live transition
+  , Pending (BehaviorKey "behavior-v1-c193804300699444") -- OrderInTransit x NoteOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-cd039e17dcc38865") -- OrderInTransit x PlaceOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-cf6a23ed42e4970a") -- OrderOpen x CloseOrder: replay-only transition
+  , Pending (BehaviorKey "behavior-v1-e07448f38133b7e0") -- OrderDraft x NoteOrder: live transition
+  , Pending (BehaviorKey "behavior-v1-ec060a2c3596b1c2") -- OrderInTransit x ShipOrder: required rejection
+  , Pending (BehaviorKey "behavior-v1-ed926b1ef15794db") -- OrderDone x PlaceOrder: required rejection
+  ]
diff --git a/test/conformance-topology-machine/TopologyMachine/Order/Holes.hs b/test/conformance-topology-machine/TopologyMachine/Order/Holes.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/TopologyMachine/Order/Holes.hs
@@ -0,0 +1,33 @@
+{-# LANGUAGE BlockArguments #-}
+{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE DuplicateRecordFields #-}
+{-# LANGUAGE OverloadedRecordDot #-}
+{-# LANGUAGE QualifiedDo #-}
+{-# LANGUAGE TypeApplications #-}
+-- This is a HAND-OWNED version-2 hook module. keiro-dsl creates it once
+-- and never overwrites it. Generated code owns every transition envelope
+-- and every declared guard/write. This module supplies explicit event-field
+-- mappings and explicitly selected Hole behavior only; fields(Command)
+-- identity mappings are generated directly and have no hook.
+module TopologyMachine.Order.Holes
+  ( transition3DraftNoteOrderHole
+  , transition3DraftNoteOrderHoleFoldVersion
+  ) where
+
+import Generated.TopologyMachine.Order.Domain
+import Keiki.Builder qualified as B
+import Keiki.Generics (RegFieldsOf)
+
+
+import Keiki.Core qualified as K
+import Keiro.Snapshot.Codec (FoldVersion (..))
+
+-- HOLE: add the predicate and ordered register updates for this transition.
+-- The generated transducer still owns command matching, mode, emits, and goto.
+transition3DraftNoteOrderHole :: B.PayloadProj OrderRegs OrderCommand (RegFieldsOf NoteOrderData) -> B.EdgeBuilder OrderRegs OrderCommand OrderEvent OrderVertex ('Just (RegFieldsOf NoteOrderData)) writes writes ()
+transition3DraftNoteOrderHole _d = B.requireGuard K.PTop
+
+-- Bump this token whenever the Hole predicate or updates change.
+transition3DraftNoteOrderHoleFoldVersion :: FoldVersion
+transition3DraftNoteOrderHoleFoldVersion = FoldVersion "transition3DraftNoteOrder-fold-v1"
+
diff --git a/test/conformance-topology-machine/TopologyMachine/OrderFlow/ProcessHoles.hs b/test/conformance-topology-machine/TopologyMachine/OrderFlow/ProcessHoles.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/TopologyMachine/OrderFlow/ProcessHoles.hs
@@ -0,0 +1,9 @@
+-- keiro-dsl process-hole contract v1
+-- HAND-OWNED typed decoder; created once and never overwritten.
+module TopologyMachine.OrderFlow.ProcessHoles (decodeOrderFlowInput) where
+
+import Generated.TopologyMachine.OrderFlow.Input (OrderFlowInput)
+import Kiroku.Store.Types (RecordedEvent)
+
+decodeOrderFlowInput :: RecordedEvent -> Maybe OrderFlowInput
+decodeOrderFlowInput = error "fill decodeOrderFlowInput"
diff --git a/test/conformance-topology-machine/TopologyMachine/OrderSaga/BehaviorHoles.hs b/test/conformance-topology-machine/TopologyMachine/OrderSaga/BehaviorHoles.hs
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/TopologyMachine/OrderSaga/BehaviorHoles.hs
@@ -0,0 +1,12 @@
+-- Consumer-owned behavioral witnesses. Created once; never overwritten.
+module TopologyMachine.OrderSaga.BehaviorHoles (behaviorWitnesses) where
+
+import Generated.TopologyMachine.OrderSaga.BehaviorContract
+
+behaviorWitnesses :: [BehaviorWitness]
+behaviorWitnesses =
+  [ Pending (BehaviorKey "behavior-v1-8592eed35edbc505") -- OrderSagaWaiting x FinishRequest: required rejection
+  , Pending (BehaviorKey "behavior-v1-d9f622535671546c") -- OrderSagaRequested x RecordRequest: live transition
+  , Pending (BehaviorKey "behavior-v1-edb42bb9533e3443") -- OrderSagaWaiting x RecordRequest: live transition
+  , Pending (BehaviorKey "behavior-v1-f281427a09b33c8d") -- OrderSagaRequested x FinishRequest: live transition
+  ]
diff --git a/test/conformance-topology-machine/keiro-dsl-cabal-fragment.context.topology-machine.txt b/test/conformance-topology-machine/keiro-dsl-cabal-fragment.context.topology-machine.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/keiro-dsl-cabal-fragment.context.topology-machine.txt
@@ -0,0 +1,49 @@
+-- keiro-dsl build manifest for keiro-dsl/test/fixtures/topology-machine.keiro
+-- Paste the complete fragment below into the consuming Cabal stanza.
+-- The generated layer is overwritten on every scaffold; hole modules are
+-- create-if-absent (filled by hand).
+
+default-language: GHC2024
+default-extensions:
+    DuplicateRecordFields
+    NoFieldSelectors
+    OverloadedRecordDot
+    OverloadedStrings
+
+other-modules:
+    Generated.TopologyMachine.BehaviorSourceMap
+    Generated.TopologyMachine.Inspection
+    Generated.TopologyMachine.Nominals
+    Generated.TopologyMachine.Nominals.Internal
+    Generated.TopologyMachine.Order.BehaviorContract
+    Generated.TopologyMachine.Order.Codec
+    Generated.TopologyMachine.Order.Domain
+    Generated.TopologyMachine.Order.EventStream
+    Generated.TopologyMachine.Order.Harness
+    Generated.TopologyMachine.Order.Projection
+    Generated.TopologyMachine.Order.Transducer
+    Generated.TopologyMachine.OrderFlow.Input
+    Generated.TopologyMachine.OrderFlow.Process
+    Generated.TopologyMachine.OrderFlow.ProcessHarness
+    Generated.TopologyMachine.OrderSaga.BehaviorContract
+    Generated.TopologyMachine.OrderSaga.Codec
+    Generated.TopologyMachine.OrderSaga.Domain
+    Generated.TopologyMachine.OrderSaga.EventStream
+    Generated.TopologyMachine.OrderSaga.Harness
+    Generated.TopologyMachine.OrderSaga.Projection
+    Generated.TopologyMachine.OrderSaga.Transducer
+    Generated.TopologyMachine.ReplayAudit
+    TopologyMachine.Order.BehaviorHoles
+    TopologyMachine.Order.Holes
+    TopologyMachine.OrderFlow.ProcessHoles
+    TopologyMachine.OrderSaga.BehaviorHoles
+
+build-depends:
+    , aeson
+    , base
+    , keiki
+    , keiro
+    , shibuya-core
+    , text
+    , time
+    , uuid
diff --git a/test/conformance-topology-machine/keiro-dsl-ledger.context.topology-machine.txt b/test/conformance-topology-machine/keiro-dsl-ledger.context.topology-machine.txt
new file mode 100644
--- /dev/null
+++ b/test/conformance-topology-machine/keiro-dsl-ledger.context.topology-machine.txt
@@ -0,0 +1,88 @@
+keiro-dsl scaffold record v1
+spec: keiro-dsl/test/fixtures/topology-machine.keiro
+module-root: (none)
+layout: prefixed
+source-language {"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"sourceForm":"declared"}
+semantic-contract {"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"}
+naming-edition idiomatic-v2
+module-role {"family":"BehaviorSourceMap","kind":"generated","ownerKind":"context","ownerName":"context topology-machine behavior source map","path":"Generated/TopologyMachine/BehaviorSourceMap.hs"}
+module-role {"family":"Nominals","kind":"generated","ownerKind":"context","ownerName":"context topology-machine generated nominal declarations","path":"Generated/TopologyMachine/Nominals.hs"}
+module-role {"family":"Internal","kind":"generated","ownerKind":"context","ownerName":"context topology-machine generated nominal ID internals","path":"Generated/TopologyMachine/Nominals/Internal.hs"}
+module-role {"family":"ReplayAudit","kind":"generated","ownerKind":"context","ownerName":"context topology-machine replay-audit assembly","path":"Generated/TopologyMachine/ReplayAudit.hs"}
+module-role {"family":"Inspection","kind":"generated","ownerKind":"context","ownerName":"context topology-machine inspection catalog","path":"Generated/TopologyMachine/Inspection.hs"}
+module-role {"family":"Domain","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/Domain.hs"}
+module-role {"family":"Codec","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/Codec.hs"}
+module-role {"family":"Transducer","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/Transducer.hs"}
+module-role {"family":"BehaviorContract","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/BehaviorContract.hs"}
+module-role {"family":"BehaviorHoles","kind":"hole","ownerKind":"aggregate","ownerName":"aggregate behavior witnesses Order (line 9)","path":"TopologyMachine/Order/BehaviorHoles.hs"}
+module-role {"family":"EventStream","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/EventStream.hs"}
+module-role {"family":"Projection","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/Projection.hs"}
+module-role {"family":"Holes","kind":"hole","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"TopologyMachine/Order/Holes.hs"}
+module-role {"family":"Harness","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate Order (line 9)","path":"Generated/TopologyMachine/Order/Harness.hs"}
+module-role {"family":"Domain","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/Domain.hs"}
+module-role {"family":"Codec","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/Codec.hs"}
+module-role {"family":"Transducer","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/Transducer.hs"}
+module-role {"family":"BehaviorContract","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/BehaviorContract.hs"}
+module-role {"family":"BehaviorHoles","kind":"hole","ownerKind":"aggregate","ownerName":"aggregate behavior witnesses OrderSaga (line 39)","path":"TopologyMachine/OrderSaga/BehaviorHoles.hs"}
+module-role {"family":"EventStream","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/EventStream.hs"}
+module-role {"family":"Projection","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/Projection.hs"}
+module-role {"family":"Harness","kind":"generated","ownerKind":"aggregate","ownerName":"aggregate OrderSaga (line 39)","path":"Generated/TopologyMachine/OrderSaga/Harness.hs"}
+module-role {"family":"Input","kind":"generated","ownerKind":"process","ownerName":"process input OrderFlow (line 55)","path":"Generated/TopologyMachine/OrderFlow/Input.hs"}
+module-role {"family":"Process","kind":"generated","ownerKind":"process","ownerName":"process reaction OrderFlow (line 55)","path":"Generated/TopologyMachine/OrderFlow/Process.hs"}
+module-role {"family":"ProcessHoles","kind":"hole","ownerKind":"process","ownerName":"process decoder OrderFlow (line 55)","path":"TopologyMachine/OrderFlow/ProcessHoles.hs"}
+module-role {"family":"ProcessHarness","kind":"generated","ownerKind":"process","ownerName":"process OrderFlow (line 55)","path":"Generated/TopologyMachine/OrderFlow/ProcessHarness.hs"}
+generated Generated/TopologyMachine/BehaviorSourceMap.hs
+generated Generated/TopologyMachine/Nominals.hs
+generated Generated/TopologyMachine/Nominals/Internal.hs
+generated Generated/TopologyMachine/ReplayAudit.hs
+generated Generated/TopologyMachine/Inspection.hs
+generated Generated/TopologyMachine/Order/Domain.hs
+generated Generated/TopologyMachine/Order/Codec.hs
+generated Generated/TopologyMachine/Order/Transducer.hs
+generated Generated/TopologyMachine/Order/BehaviorContract.hs
+hole TopologyMachine/Order/BehaviorHoles.hs
+generated Generated/TopologyMachine/Order/EventStream.hs
+generated Generated/TopologyMachine/Order/Projection.hs
+hole TopologyMachine/Order/Holes.hs
+generated Generated/TopologyMachine/Order/Harness.hs
+generated Generated/TopologyMachine/OrderSaga/Domain.hs
+generated Generated/TopologyMachine/OrderSaga/Codec.hs
+generated Generated/TopologyMachine/OrderSaga/Transducer.hs
+generated Generated/TopologyMachine/OrderSaga/BehaviorContract.hs
+hole TopologyMachine/OrderSaga/BehaviorHoles.hs
+generated Generated/TopologyMachine/OrderSaga/EventStream.hs
+generated Generated/TopologyMachine/OrderSaga/Projection.hs
+generated Generated/TopologyMachine/OrderSaga/Harness.hs
+generated Generated/TopologyMachine/OrderFlow/Input.hs
+generated Generated/TopologyMachine/OrderFlow/Process.hs
+hole TopologyMachine/OrderFlow/ProcessHoles.hs
+generated Generated/TopologyMachine/OrderFlow/ProcessHarness.hs
+id-domain id-domain|name=OrderId|contract=keiro-dsl/id-domain/typeid-v7/1|prefix=ord|separator=_|json=canonical-json-text
+nominal-equality nominal-equality|name=OrderId|contract=keiro-dsl/nominal-equality/2|key=Text|domain=typeid-v7-text:ord:keiro-dsl/id-domain/typeid-v7/1|owner=generated
+behavior {"aggregate":"Order","command":"PlaceOrder","evidence":"generated-authoritative","key":"behavior-v1-002dd349c9f95c03","kind":"required-rejection","outputs":[],"source":"Open"}
+behavior {"aggregate":"Order","command":"ShipOrder","evidence":"generated-authoritative","key":"behavior-v1-339bb773d33d1cd9","kind":"live-transition","outputs":[{"command":"ShipOrder","ownership":"generated-command-identity"},{"command":"ShipOrder","ownership":"generated-command-identity"}],"source":"Open"}
+behavior {"aggregate":"Order","command":"CloseOrder","evidence":"generated-authoritative","key":"behavior-v1-364d670a2b00ba7a","kind":"required-rejection","outputs":[],"source":"Done"}
+behavior {"aggregate":"Order","command":"AmendOrder","evidence":"generated-authoritative","key":"behavior-v1-4703c81ac84fd269","kind":"required-rejection","outputs":[],"source":"InTransit"}
+behavior {"aggregate":"Order","command":"CloseOrder","evidence":"generated-authoritative","key":"behavior-v1-4ad1b28167914e12","kind":"required-rejection","outputs":[],"source":"Open"}
+behavior {"aggregate":"Order","command":"AmendOrder","evidence":"generated-authoritative","key":"behavior-v1-4c06e1818180b41a","kind":"required-rejection","outputs":[],"source":"Draft"}
+behavior {"aggregate":"Order","command":"CloseOrder","evidence":"generated-authoritative","key":"behavior-v1-4c3acea05eae1527","kind":"live-transition","outputs":[{"command":"CloseOrder","ownership":"generated-command-identity"}],"source":"InTransit"}
+behavior {"aggregate":"Order","command":"NoteOrder","evidence":"generated-authoritative","key":"behavior-v1-5b1cf802887be9da","kind":"required-rejection","outputs":[],"source":"Done"}
+behavior {"aggregate":"Order","command":"PlaceOrder","evidence":"generated-authoritative","key":"behavior-v1-681e78594be5e34d","kind":"live-transition","outputs":[{"command":"PlaceOrder","ownership":"generated-command-identity"}],"source":"Draft"}
+behavior {"aggregate":"Order","command":"AmendOrder","evidence":"generated-authoritative","key":"behavior-v1-6dc85069e4d4aeaf","kind":"required-rejection","outputs":[],"source":"Done"}
+behavior {"aggregate":"Order","command":"NoteOrder","evidence":"generated-authoritative","key":"behavior-v1-820d02611d3fe202","kind":"required-rejection","outputs":[],"source":"Open"}
+behavior {"aggregate":"OrderSaga","command":"FinishRequest","evidence":"generated-authoritative","key":"behavior-v1-8592eed35edbc505","kind":"required-rejection","outputs":[],"source":"Waiting"}
+behavior {"aggregate":"Order","command":"CloseOrder","evidence":"generated-authoritative","key":"behavior-v1-86aedf6e0162577f","kind":"required-rejection","outputs":[],"source":"Draft"}
+behavior {"aggregate":"Order","command":"ShipOrder","evidence":"generated-authoritative","key":"behavior-v1-acb73cfddfb6ec54","kind":"required-rejection","outputs":[],"source":"Done"}
+behavior {"aggregate":"Order","command":"ShipOrder","evidence":"generated-authoritative","key":"behavior-v1-b3bf157ed703ffaf","kind":"required-rejection","outputs":[],"source":"Draft"}
+behavior {"aggregate":"Order","command":"AmendOrder","evidence":"generated-authoritative","key":"behavior-v1-bba7be6454e48fd5","kind":"live-transition","outputs":[{"command":"AmendOrder","ownership":"generated-command-identity"}],"source":"Open"}
+behavior {"aggregate":"Order","command":"NoteOrder","evidence":"generated-authoritative","key":"behavior-v1-c193804300699444","kind":"required-rejection","outputs":[],"source":"InTransit"}
+behavior {"aggregate":"Order","command":"PlaceOrder","evidence":"generated-authoritative","key":"behavior-v1-cd039e17dcc38865","kind":"required-rejection","outputs":[],"source":"InTransit"}
+behavior {"aggregate":"Order","command":"CloseOrder","evidence":"generated-authoritative","key":"behavior-v1-cf6a23ed42e4970a","kind":"replay-transition","outputs":[{"command":"CloseOrder","ownership":"generated-command-identity"}],"source":"Open"}
+behavior {"aggregate":"OrderSaga","command":"RecordRequest","evidence":"generated-authoritative","key":"behavior-v1-d9f622535671546c","kind":"live-transition","outputs":[{"command":"RecordRequest","ownership":"generated-command-identity"}],"source":"Requested"}
+behavior {"aggregate":"Order","command":"NoteOrder","evidence":"hole-witnessed","key":"behavior-v1-e07448f38133b7e0","kind":"live-transition","outputs":[{"command":"NoteOrder","ownership":"generated-command-identity"}],"source":"Draft"}
+behavior {"aggregate":"Order","command":"ShipOrder","evidence":"generated-authoritative","key":"behavior-v1-ec060a2c3596b1c2","kind":"required-rejection","outputs":[],"source":"InTransit"}
+behavior {"aggregate":"Order","command":"PlaceOrder","evidence":"generated-authoritative","key":"behavior-v1-ed926b1ef15794db","kind":"required-rejection","outputs":[],"source":"Done"}
+behavior {"aggregate":"OrderSaga","command":"RecordRequest","evidence":"generated-authoritative","key":"behavior-v1-edb42bb9533e3443","kind":"live-transition","outputs":[{"command":"RecordRequest","ownership":"generated-command-identity"}],"source":"Waiting"}
+behavior {"aggregate":"OrderSaga","command":"FinishRequest","evidence":"generated-authoritative","key":"behavior-v1-f281427a09b33c8d","kind":"live-transition","outputs":[{"command":"FinishRequest","ownership":"generated-command-identity"}],"source":"Requested"}
+process-reaction {"fingerprint":"cf31810a738a8543f700a1930f8df04a09056449e103c4eb1b3b9039b1bd6f46","holeObligations":["decodeOrderFlowInput :: RecordedEvent -> Maybe OrderFlowInput"],"processName":"order-flow","verification":"generated-declarative","version":1}
+semantic-impact {"declarations":[],"mappedSurfaceEvidenceVersion":1,"serviceInventory":[]}
diff --git a/test/conformance-v2/Generated/HospitalCapacity/BehaviorSourceMap.hs b/test/conformance-v2/Generated/HospitalCapacity/BehaviorSourceMap.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/BehaviorSourceMap.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
 module Generated.HospitalCapacity.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Inspection.hs b/test/conformance-v2/Generated/HospitalCapacity/Inspection.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Inspection.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Nominals.hs b/test/conformance-v2/Generated/HospitalCapacity/Nominals.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Nominals.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
 module Generated.HospitalCapacity.Nominals
   ( BedType (..)
   , bedTypeText
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Nominals/Internal.hs b/test/conformance-v2/Generated/HospitalCapacity/Nominals/Internal.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Nominals/Internal.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
 module Generated.HospitalCapacity.Nominals.Internal
   ( CommandId
   , parseCommandId
diff --git a/test/conformance-v2/Generated/HospitalCapacity/ReplayAudit.hs b/test/conformance-v2/Generated/HospitalCapacity/ReplayAudit.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/ReplayAudit.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/BehaviorContract.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Reservation.Codec (encodeReservationEvent, parseReservationEvent, reservationCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Codec.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Codec.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Codec.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Codec (
     reservationCodec,
     parseReservationEvent,
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Domain.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Domain.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Domain.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/EventStream.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/EventStream.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/EventStream.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.EventStream
   ( reservationCategory
   , reservationCommandCategory
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Harness.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Harness.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Harness.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Reservation.Domain
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Projection.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Projection.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Projection.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Projection
   ( transferDecisionsProjection
   , transferDecisionsStatusFor
diff --git a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Transducer.hs b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Transducer.hs
--- a/test/conformance-v2/Generated/HospitalCapacity/Reservation/Transducer.hs
+++ b/test/conformance-v2/Generated/HospitalCapacity/Reservation/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Transducer
   ( reservationTransducer
   , reservationFoldFingerprint
diff --git a/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs b/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
--- a/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
+++ b/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
 module Generated.HospitalCapacity.HospitalTransferReservation.WorkflowFacts (WorkflowFacts (..), workflowFacts, workflowFactValues) where
 
 -- | The workflow's deterministic decisions, pinned as typed pure facts.
diff --git a/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs b/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
--- a/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
+++ b/test/conformance-workflow-full/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
 module Generated.HospitalCapacity.HospitalTransferReservation.WorkflowRuntime
   ( workflowName
   , AwaitBinding
diff --git a/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs b/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
--- a/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
+++ b/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
 module Generated.HospitalCapacity.HospitalTransferReservation.WorkflowFacts (WorkflowFacts (..), workflowFacts, workflowFactValues) where
 
 -- | The workflow's deterministic decisions, pinned as typed pure facts.
diff --git a/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs b/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
--- a/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
+++ b/test/conformance-workflow-runtime/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
 module Generated.HospitalCapacity.HospitalTransferReservation.WorkflowRuntime
   ( workflowName
   , AwaitBinding
diff --git a/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs b/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
--- a/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
+++ b/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowFacts.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
 module Generated.HospitalCapacity.HospitalTransferReservation.WorkflowFacts (WorkflowFacts (..), workflowFacts, workflowFactValues) where
 
 -- | The workflow's deterministic decisions, pinned as typed pure facts.
diff --git a/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs b/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
--- a/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
+++ b/test/conformance-workflow/Generated/HospitalCapacity/HospitalTransferReservation/WorkflowRuntime.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 5) from workflow HospitalTransferReservation; do not edit.
 module Generated.HospitalCapacity.HospitalTransferReservation.WorkflowRuntime
   ( workflowName
   , AwaitBinding
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/BehaviorSourceMap.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/BehaviorSourceMap.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/BehaviorSourceMap.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof behavior source map; do not edit.
 module Generated.WorkspaceNominalProof.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Inspection.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Inspection.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Inspection.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof generated nominal declarations; do not edit.
 module Generated.WorkspaceNominalProof.Nominals
   ( ProjectId
   , parseProjectId
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals/Internal.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals/Internal.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals/Internal.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof generated nominal ID internals; do not edit.
 module Generated.WorkspaceNominalProof.Nominals.Internal
   ( ProjectId
   , parseProjectId
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/BehaviorContract.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/BehaviorContract.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/BehaviorContract.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.WorkspaceNominalProof.Project.Codec (encodeProjectEvent, parseProjectEvent, projectCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Codec.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Codec.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Codec.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.Codec (
     projectCodec,
     parseProjectEvent,
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Domain.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Domain.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Domain.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/EventStream.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/EventStream.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/EventStream.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.EventStream
   ( projectCategory
   , projectCommandCategory
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Harness.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Harness.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Harness.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.Harness (harnessAssertions) where
 
 import Generated.WorkspaceNominalProof.Project.Domain
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Projection.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Projection.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Projection.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Transducer.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Transducer.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Transducer.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Project/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate Project; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate Project; do not edit.
 module Generated.WorkspaceNominalProof.Project.Transducer
   ( projectTransducer
   , projectFoldFingerprint
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/BehaviorContract.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/BehaviorContract.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/BehaviorContract.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.WorkspaceNominalProof.ProjectArtifact.Codec (encodeProjectArtifactEvent, parseProjectArtifactEvent, projectArtifactCodec)
@@ -218,6 +219,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Codec.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Codec.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Codec.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.Codec (
     projectArtifactCodec,
     parseProjectArtifactEvent,
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Domain.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Domain.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Domain.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/EventStream.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/EventStream.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/EventStream.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.EventStream
   ( projectArtifactCategory
   , projectArtifactCommandCategory
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Harness.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Harness.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Harness.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.Harness (harnessAssertions) where
 
 import Generated.WorkspaceNominalProof.ProjectArtifact.Domain
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Projection.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Projection.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Projection.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.Projection () where
 
 -- No projection declarations are present; this module keeps the generated manifest inventory total.
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Transducer.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Transducer.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Transducer.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ProjectArtifact/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from aggregate ProjectArtifact; do not edit.
 module Generated.WorkspaceNominalProof.ProjectArtifact.Transducer
   ( projectArtifactTransducer
   , projectArtifactFoldFingerprint
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ReplayAudit.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ReplayAudit.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ReplayAudit.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/NominalLeaves.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/NominalLeaves.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/NominalLeaves.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/NominalLeaves.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof structural nominal leaves; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof structural nominal leaves; do not edit.
 module Generated.WorkspaceNominalProof.Structural.NominalLeaves where
 
 import Data.Aeson (Value (..), withText)
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ArtifactClaim.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ArtifactClaim.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ArtifactClaim.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ArtifactClaim.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural ArtifactClaim; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural ArtifactClaim; do not edit.
 module Generated.WorkspaceNominalProof.Structural.Shape.ArtifactClaim (ArtifactClaimShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ProjectClaim.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ProjectClaim.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ProjectClaim.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/Structural/Shape/ProjectClaim.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from mapped structural ProjectClaim; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from mapped structural ProjectClaim; do not edit.
 module Generated.WorkspaceNominalProof.Structural.Shape.ProjectClaim (ProjectClaimShape (..)) where
 
 import GHC.Generics (Generic)
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralConformance.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralConformance.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralConformance.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralConformance.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof structural conformance; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof structural conformance; do not edit.
 module Generated.WorkspaceNominalProof.StructuralConformance
   ( structuralConformanceAssertions
   ) where
diff --git a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralProjections.hs b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralProjections.hs
--- a/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralProjections.hs
+++ b/test/conformance-workspace-nominals/Generated/WorkspaceNominalProof/StructuralProjections.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 6) from context workspace-nominal-proof mapped structural facade; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 6) from context workspace-nominal-proof mapped structural facade; do not edit.
 -- Equality witnesses are emitted for Text, Int, Bool, Natural, and UTCTime.
 -- Nominal ID and enum leaves carry exact canonical-text domains.
 -- Int, Natural, and UTCTime belong to Keiki's ordered subset.
diff --git a/test/conformance/Generated/HospitalCapacity/BehaviorSourceMap.hs b/test/conformance/Generated/HospitalCapacity/BehaviorSourceMap.hs
--- a/test/conformance/Generated/HospitalCapacity/BehaviorSourceMap.hs
+++ b/test/conformance/Generated/HospitalCapacity/BehaviorSourceMap.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity behavior source map; do not edit.
 module Generated.HospitalCapacity.BehaviorSourceMap
   ( BehaviorSourceLocation (..)
   , behaviorSourceLocation
diff --git a/test/conformance/Generated/HospitalCapacity/Inspection.hs b/test/conformance/Generated/HospitalCapacity/Inspection.hs
--- a/test/conformance/Generated/HospitalCapacity/Inspection.hs
+++ b/test/conformance/Generated/HospitalCapacity/Inspection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity inspection catalog; do not edit.
 --
 -- The complete read-only inspection catalog for this service: one aggregate
 -- inspector per declared aggregate, the replay-audit targets and the projection
diff --git a/test/conformance/Generated/HospitalCapacity/Nominals.hs b/test/conformance/Generated/HospitalCapacity/Nominals.hs
--- a/test/conformance/Generated/HospitalCapacity/Nominals.hs
+++ b/test/conformance/Generated/HospitalCapacity/Nominals.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE DeriveAnyClass #-}
 {-# LANGUAGE TypeFamilies #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal declarations; do not edit.
 module Generated.HospitalCapacity.Nominals
   ( BedType (..)
   , bedTypeText
diff --git a/test/conformance/Generated/HospitalCapacity/Nominals/Internal.hs b/test/conformance/Generated/HospitalCapacity/Nominals/Internal.hs
--- a/test/conformance/Generated/HospitalCapacity/Nominals/Internal.hs
+++ b/test/conformance/Generated/HospitalCapacity/Nominals/Internal.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity generated nominal ID internals; do not edit.
 module Generated.HospitalCapacity.Nominals.Internal
   ( CommandId
   , parseCommandId
diff --git a/test/conformance/Generated/HospitalCapacity/ReplayAudit.hs b/test/conformance/Generated/HospitalCapacity/ReplayAudit.hs
--- a/test/conformance/Generated/HospitalCapacity/ReplayAudit.hs
+++ b/test/conformance/Generated/HospitalCapacity/ReplayAudit.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from context hospital-capacity replay-audit assembly; do not edit.
 --
 -- Deployment contract:
 --   * replay-neutral diff: no data audit is required;
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/BehaviorContract.hs b/test/conformance/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/BehaviorContract.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.BehaviorContract
   ( BehaviorKey (..)
   , unBehaviorKey
@@ -18,6 +18,7 @@
   , behaviorConformancePassed
   , behaviorConformancePassedWith
   , renderBehaviorConformanceText
+  , behaviorConformanceRows
   ) where
 
 import Generated.HospitalCapacity.Reservation.Codec (encodeReservationEvent, parseReservationEvent, reservationCodec)
@@ -266,6 +267,32 @@
   , countLine "verified" report.verified
   , countLine "unverified" report.unverified
   ] <> T.unlines ["FAIL " <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail | behaviorFailure <- report.failed]
+
+-- | One single-line check row per pending, missing, duplicate, and stale key
+-- and per failed witness, then one summary row carrying the report policy.
+-- Unverified keys are not failures under 'behaviorConformancePassed'.
+behaviorConformanceRows :: BehaviorConformanceReport -> [(Text, Bool)]
+behaviorConformanceRows report =
+  keyRows "pending" report.pending
+    <> keyRows "missing" report.missing
+    <> keyRows "duplicate" report.duplicate
+    <> keyRows "stale" report.stale
+    <> [("failed/" <> unBehaviorKey behaviorFailure.key <> " " <> behaviorFailure.subject <> " [" <> behaviorFailure.code <> "] " <> behaviorFailure.detail, False) | behaviorFailure <- report.failed]
+    <> [(summary, behaviorConformancePassed report)]
+ where
+  keyRows category keys = [(category <> "/" <> unBehaviorKey key, False) | key <- keys]
+  summary =
+    "summary"
+      <> countField "required" report.required
+      <> countField "filled" report.filled
+      <> countField "pending" report.pending
+      <> countField "missing" report.missing
+      <> countField "duplicate" report.duplicate
+      <> countField "stale" report.stale
+      <> " failed=" <> tshow (length report.failed)
+      <> countField "verified" report.verified
+      <> countField "unverified" report.unverified
+  countField label values = " " <> label <> "=" <> tshow (length values)
 
 runWitness :: BehaviorRequirement -> BehaviorWitness -> Either BehaviorFailure ()
 runWitness requirement witness = case witness of
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/Codec.hs b/test/conformance/Generated/HospitalCapacity/Reservation/Codec.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/Codec.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/Codec.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Codec (
     reservationCodec,
     parseReservationEvent,
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/Domain.hs b/test/conformance/Generated/HospitalCapacity/Reservation/Domain.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/Domain.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/Domain.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE TemplateHaskell #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Domain where
 
 import Data.Proxy (Proxy (..))
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/EventStream.hs b/test/conformance/Generated/HospitalCapacity/Reservation/EventStream.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/EventStream.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/EventStream.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.EventStream
   ( reservationCategory
   , reservationCommandCategory
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/Harness.hs b/test/conformance/Generated/HospitalCapacity/Reservation/Harness.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/Harness.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/Harness.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE OverloadedLabels #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Harness (harnessAssertions) where
 
 import Generated.HospitalCapacity.Reservation.Domain
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/Projection.hs b/test/conformance/Generated/HospitalCapacity/Reservation/Projection.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/Projection.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/Projection.hs
@@ -1,4 +1,4 @@
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Projection
   ( transferDecisionsProjection
   , transferDecisionsStatusFor
diff --git a/test/conformance/Generated/HospitalCapacity/Reservation/Transducer.hs b/test/conformance/Generated/HospitalCapacity/Reservation/Transducer.hs
--- a/test/conformance/Generated/HospitalCapacity/Reservation/Transducer.hs
+++ b/test/conformance/Generated/HospitalCapacity/Reservation/Transducer.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE BlockArguments #-}
 {-# LANGUAGE OverloadedLabels #-}
 {-# LANGUAGE QualifiedDo #-}
--- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
+-- @generated by keiro-dsl 0.26.0.0 (language keiro-dsl 4) from aggregate Reservation; do not edit.
 module Generated.HospitalCapacity.Reservation.Transducer
   ( reservationTransducer
   , reservationFoldFingerprint
diff --git a/test/fixtures/contract-foreign-event-discriminator-body.keiro b/test/fixtures/contract-foreign-event-discriminator-body.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-discriminator-body.keiro
@@ -0,0 +1,52 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: Optional text
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: Optional typeid "member"
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator messageType
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-foreign-event-envelope-language5.keiro b/test/fixtures/contract-foreign-event-envelope-language5.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-envelope-language5.keiro
@@ -0,0 +1,14 @@
+language keiro-dsl 5
+context contract-foreign-event-envelope-language5
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+  }
+}
diff --git a/test/fixtures/contract-foreign-event-language5.keiro b/test/fixtures/contract-foreign-event-language5.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-language5.keiro
@@ -0,0 +1,14 @@
+language keiro-dsl 5
+context contract-foreign-event-language5
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: typeid "member"
+    note: Optional text
+  }
+}
diff --git a/test/fixtures/contract-foreign-event-optional-added.keiro b/test/fixtures/contract-foreign-event-optional-added.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-optional-added.keiro
@@ -0,0 +1,53 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: Optional text
+    reason: Optional text
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: Optional typeid "member"
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-foreign-event-optional-literal-to-declared.keiro b/test/fixtures/contract-foreign-event-optional-literal-to-declared.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-optional-literal-to-declared.keiro
@@ -0,0 +1,52 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: Optional text
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: Optional MemberId
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-foreign-event-optional-literal-to-required-declared.keiro b/test/fixtures/contract-foreign-event-optional-literal-to-required-declared.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-optional-literal-to-required-declared.keiro
@@ -0,0 +1,52 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: Optional text
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: MemberId
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-foreign-event-optional-scalar-change.keiro b/test/fixtures/contract-foreign-event-optional-scalar-change.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-optional-scalar-change.keiro
@@ -0,0 +1,52 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: Optional int
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: Optional typeid "member"
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-foreign-event-optional-to-required.keiro b/test/fixtures/contract-foreign-event-optional-to-required.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event-optional-to-required.keiro
@@ -0,0 +1,52 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: text
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: Optional typeid "member"
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-foreign-event.keiro b/test/fixtures/contract-foreign-event.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-foreign-event.keiro
@@ -0,0 +1,52 @@
+language keiro-dsl 6
+context contract-foreign-event
+
+id MemberId prefix=member
+
+contract audit {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "audit.notes"
+
+  event MemberNoted on notes {
+    memberId: MemberId
+    note: Optional text
+  }
+
+  event RegistrationSeen on notes {
+    registrationId: typeid "registration"
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+    referrerId: Optional typeid "member"
+  }
+
+  event NotesCleared on notes { }
+}
+
+contract registration {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic completed "registration.completed.v1"
+
+  event RegistrationCompleted on completed {
+    registrationId: typeid "registration"
+    occurredAt: text
+    ownerEmail: Optional text
+    mlsMemberId: Optional MemberId
+    legacyAccountId: Optional int
+  }
+}
+
+contract signals {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic beats "signals.beats"
+
+  event Pinged on beats { }
+
+  event Ponged on beats { }
+}
diff --git a/test/fixtures/contract-rollout-after.keiro b/test/fixtures/contract-rollout-after.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-rollout-after.keiro
@@ -0,0 +1,37 @@
+language keiro-dsl 6
+context contract-rollout
+
+contract presence {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "rollout.presence"
+
+  event Noted on notes {
+    subject: text
+    note: text
+  }
+}
+
+contract origin {
+  schemaVersion 1
+  discriminator messageType
+
+  topic signals "rollout.origin"
+
+  event Signaled on signals {
+    subject: text
+  }
+}
+
+contract growth {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "rollout.growth"
+
+  event Grown on notes {
+    subject: text
+    reason: Optional text
+  }
+}
diff --git a/test/fixtures/contract-rollout-before.keiro b/test/fixtures/contract-rollout-before.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/contract-rollout-before.keiro
@@ -0,0 +1,36 @@
+language keiro-dsl 6
+context contract-rollout
+
+contract presence {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "rollout.presence"
+
+  event Noted on notes {
+    subject: text
+    note: Optional text
+  }
+}
+
+contract origin {
+  schemaVersion 1
+  discriminator from envelope
+
+  topic signals "rollout.origin"
+
+  event Signaled on signals {
+    subject: text
+  }
+}
+
+contract growth {
+  schemaVersion 1
+  discriminator messageType
+
+  topic notes "rollout.growth"
+
+  event Grown on notes {
+    subject: text
+  }
+}
diff --git a/test/fixtures/input-source/sourced.keiro b/test/fixtures/input-source/sourced.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/input-source/sourced.keiro
@@ -0,0 +1,179 @@
+language keiro-dsl 6
+context input-source
+
+mapped structural record TransferRouteInput {
+  haskell package=keiro-dsl module=Conformance.InputSource.Domain type=TransferRouteInput
+  binding = "Conformance.InputSource.Bindings.transferRouteInputBinding"
+  binding-version = "1"
+  canonical-type = "conformance.input-source.TransferRouteInput.v1"
+  fixtures = "Conformance.InputSource.Bindings.transferRouteInputCases"
+  wire object constructor=TransferRouteInput unknown-fields=reject {
+    transferNeedId as "transfer_need_id" : Text required
+    region         as "region"           : Text required
+  }
+}
+
+mapped structural record HospitalLoadRow {
+  haskell package=keiro-dsl module=Conformance.InputSource.Domain type=HospitalLoadRow
+  binding = "Conformance.InputSource.Bindings.hospitalLoadRowBinding"
+  binding-version = "1"
+  canonical-type = "conformance.input-source.HospitalLoadRow.v1"
+  fixtures = "Conformance.InputSource.Bindings.hospitalLoadRowCases"
+  wire object constructor=HospitalLoadRow unknown-fields=reject {
+    hospitalId    as "hospital_id"    : Text required
+    region        as "region"         : Text required
+    availableBeds as "available_beds" : Int  required
+  }
+}
+
+target hospital_load_table {
+  schema = "public"
+  table = "hospital_load"
+  reset = clear
+}
+
+rebuild-group reporting {
+  targets = [ hospital_load_table ]
+  order = [ hospital_load_table ]
+}
+
+projection-owner hospital_load_writer {
+  source = category "hospitalLoad"
+  delivery = subscription
+  group = reporting
+  targets = [ hospital_load_table ]
+  order = 10
+  subscription = "input-source-hospital-load"
+  dedup = "input-source-hospital-load-v1"
+  checkpoint-on-missing = fail
+  replay = explicit
+}
+
+readmodel hospital_load {
+  columns {}
+  query input = TransferRouteInput
+  query result = List HospitalLoadRow
+  version = 1
+  shape = "fnv1a:3c07a19c552c3547"
+  freshness = wait-for-head category "hospitalLoad"
+  group = reporting
+  targets = [ hospital_load_table ]
+}
+
+aggregate Hospital
+  regs
+    routed Bool = False
+  states Open Routed!
+
+  command RouteAcceptedTransferNeed { transferNeedId:Text hospitalId:Text }
+  event TransferNeedRouted = fields(RouteAcceptedTransferNeed)
+
+  Open -- RouteAcceptedTransferNeed --> write routed := true ; emit TransferNeedRouted ; goto Routed
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+router HospitalTransferRouter
+  name "hospital-transfer-router"
+  input AcceptedHospitalTransferNeed from intake transferInbox event TransferNeedAccepted : TransferRouteInput
+  key input.transferNeedId
+  resolve declarative {
+    identity = "hospital-transfer-selection"
+    version = 1
+    query = read-model hospital_load with input
+    where = row.region == input.region && row.availableBeds > 0
+    recipient = row.hospitalId
+    order = target-stream
+    dedupe = target-stream
+    max-recipients = 64
+    empty => ack
+    failure => retry
+    redelivery = stable-union
+    partial = retain-successes
+  }
+  target Hospital
+  projections []
+  dispatch-each RouteAcceptedTransferNeed {
+    transferNeedId=input.transferNeedId
+    hospitalId=row.hospitalId
+  }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => deadLetter
+  poison => halt
+
+id TransferNeedId prefix=tneed
+
+contract transfers {
+  schemaVersion 1
+  discriminator messageType
+
+  topic needs "transfers.needs"
+
+  event TransferNeedAccepted on needs {
+    transferNeedId: text
+    region: text
+  }
+  event TransferNeedWithdrawn on needs {
+    transferNeedId: text
+  }
+}
+
+intake transferInbox {
+  contract transfers
+  topic needs
+  accept TransferNeedAccepted TransferNeedWithdrawn
+
+  bind source from header "keiro-source"
+  bind schemaVersion from header "keiro-schema-version"
+  bind messageId from header "keiro-message-id"
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  persist = full-envelope
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
+
+aggregate TransferSaga
+  regs
+  states Waiting
+  command NoteTransferNeed { transferNeedId:Text }
+  command NoteWithdrawal { transferNeedId:Text }
+  event TransferNeedNoted = fields(NoteTransferNeed)
+  event WithdrawalNoted = fields(NoteWithdrawal)
+  Waiting -- NoteTransferNeed --> emit TransferNeedNoted ; goto Waiting
+  Waiting -- NoteWithdrawal --> emit WithdrawalNoted ; goto Waiting
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process TransferNeedTracking
+  name "transfer-need-tracking"
+  reactions version 1
+  input TransferNeedArrived from intake transferInbox event TransferNeedAccepted { transferNeedId:Text }
+  input TransferNeedWithdrawnInput { transferNeedId:Text }
+  correlate input.transferNeedId via raw
+  saga TransferSaga category "transferSaga"
+  target TransferSaga
+  projections [ ]
+  on TransferNeedArrived
+    advance NoteTransferNeed { transferNeedId }
+  on TransferNeedWithdrawnInput
+    advance NoteWithdrawal { transferNeedId }
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
diff --git a/test/fixtures/input-source/unsourced.keiro b/test/fixtures/input-source/unsourced.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/input-source/unsourced.keiro
@@ -0,0 +1,179 @@
+language keiro-dsl 6
+context input-source
+
+mapped structural record TransferRouteInput {
+  haskell package=keiro-dsl module=Conformance.InputSource.Domain type=TransferRouteInput
+  binding = "Conformance.InputSource.Bindings.transferRouteInputBinding"
+  binding-version = "1"
+  canonical-type = "conformance.input-source.TransferRouteInput.v1"
+  fixtures = "Conformance.InputSource.Bindings.transferRouteInputCases"
+  wire object constructor=TransferRouteInput unknown-fields=reject {
+    transferNeedId as "transfer_need_id" : Text required
+    region         as "region"           : Text required
+  }
+}
+
+mapped structural record HospitalLoadRow {
+  haskell package=keiro-dsl module=Conformance.InputSource.Domain type=HospitalLoadRow
+  binding = "Conformance.InputSource.Bindings.hospitalLoadRowBinding"
+  binding-version = "1"
+  canonical-type = "conformance.input-source.HospitalLoadRow.v1"
+  fixtures = "Conformance.InputSource.Bindings.hospitalLoadRowCases"
+  wire object constructor=HospitalLoadRow unknown-fields=reject {
+    hospitalId    as "hospital_id"    : Text required
+    region        as "region"         : Text required
+    availableBeds as "available_beds" : Int  required
+  }
+}
+
+target hospital_load_table {
+  schema = "public"
+  table = "hospital_load"
+  reset = clear
+}
+
+rebuild-group reporting {
+  targets = [ hospital_load_table ]
+  order = [ hospital_load_table ]
+}
+
+projection-owner hospital_load_writer {
+  source = category "hospitalLoad"
+  delivery = subscription
+  group = reporting
+  targets = [ hospital_load_table ]
+  order = 10
+  subscription = "input-source-hospital-load"
+  dedup = "input-source-hospital-load-v1"
+  checkpoint-on-missing = fail
+  replay = explicit
+}
+
+readmodel hospital_load {
+  columns {}
+  query input = TransferRouteInput
+  query result = List HospitalLoadRow
+  version = 1
+  shape = "fnv1a:3c07a19c552c3547"
+  freshness = wait-for-head category "hospitalLoad"
+  group = reporting
+  targets = [ hospital_load_table ]
+}
+
+aggregate Hospital
+  regs
+    routed Bool = False
+  states Open Routed!
+
+  command RouteAcceptedTransferNeed { transferNeedId:Text hospitalId:Text }
+  event TransferNeedRouted = fields(RouteAcceptedTransferNeed)
+
+  Open -- RouteAcceptedTransferNeed --> write routed := true ; emit TransferNeedRouted ; goto Routed
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+router HospitalTransferRouter
+  name "hospital-transfer-router"
+  input AcceptedHospitalTransferNeed : TransferRouteInput
+  key input.transferNeedId
+  resolve declarative {
+    identity = "hospital-transfer-selection"
+    version = 1
+    query = read-model hospital_load with input
+    where = row.region == input.region && row.availableBeds > 0
+    recipient = row.hospitalId
+    order = target-stream
+    dedupe = target-stream
+    max-recipients = 64
+    empty => ack
+    failure => retry
+    redelivery = stable-union
+    partial = retain-successes
+  }
+  target Hospital
+  projections []
+  dispatch-each RouteAcceptedTransferNeed {
+    transferNeedId=input.transferNeedId
+    hospitalId=row.hospitalId
+  }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => deadLetter
+  poison => halt
+
+id TransferNeedId prefix=tneed
+
+contract transfers {
+  schemaVersion 1
+  discriminator messageType
+
+  topic needs "transfers.needs"
+
+  event TransferNeedAccepted on needs {
+    transferNeedId: text
+    region: text
+  }
+  event TransferNeedWithdrawn on needs {
+    transferNeedId: text
+  }
+}
+
+intake transferInbox {
+  contract transfers
+  topic needs
+  accept TransferNeedAccepted TransferNeedWithdrawn
+
+  bind source from header "keiro-source"
+  bind schemaVersion from header "keiro-schema-version"
+  bind messageId from header "keiro-message-id"
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  persist = full-envelope
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
+
+aggregate TransferSaga
+  regs
+  states Waiting
+  command NoteTransferNeed { transferNeedId:Text }
+  command NoteWithdrawal { transferNeedId:Text }
+  event TransferNeedNoted = fields(NoteTransferNeed)
+  event WithdrawalNoted = fields(NoteWithdrawal)
+  Waiting -- NoteTransferNeed --> emit TransferNeedNoted ; goto Waiting
+  Waiting -- NoteWithdrawal --> emit WithdrawalNoted ; goto Waiting
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process TransferNeedTracking
+  name "transfer-need-tracking"
+  reactions version 1
+  input TransferNeedArrived { transferNeedId:Text }
+  input TransferNeedWithdrawnInput { transferNeedId:Text }
+  correlate input.transferNeedId via raw
+  saga TransferSaga category "transferSaga"
+  target TransferSaga
+  projections [ ]
+  on TransferNeedArrived
+    advance NoteTransferNeed { transferNeedId }
+  on TransferNeedWithdrawnInput
+    advance NoteWithdrawal { transferNeedId }
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
diff --git a/test/fixtures/input-source/workspace/integration.keiro b/test/fixtures/input-source/workspace/integration.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/input-source/workspace/integration.keiro
@@ -0,0 +1,48 @@
+language keiro-dsl 6
+context input-source
+
+contract transfers {
+  schemaVersion 1
+  discriminator messageType
+
+  topic needs "transfers.needs"
+
+  event TransferNeedAccepted on needs {
+    transferNeedId: text
+    region: text
+  }
+  event TransferNeedWithdrawn on needs {
+    transferNeedId: text
+  }
+}
+
+intake transferInbox {
+  contract transfers
+  topic needs
+  accept TransferNeedAccepted TransferNeedWithdrawn
+
+  bind source from header "keiro-source"
+  bind schemaVersion from header "keiro-schema-version"
+  bind messageId from header "keiro-message-id"
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  persist = full-envelope
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
diff --git a/test/fixtures/input-source/workspace/routing.keiro b/test/fixtures/input-source/workspace/routing.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/input-source/workspace/routing.keiro
@@ -0,0 +1,133 @@
+language keiro-dsl 6
+context input-source
+
+mapped structural record TransferRouteInput {
+  haskell package=keiro-dsl module=Conformance.InputSource.Domain type=TransferRouteInput
+  binding = "Conformance.InputSource.Bindings.transferRouteInputBinding"
+  binding-version = "1"
+  canonical-type = "conformance.input-source.TransferRouteInput.v1"
+  fixtures = "Conformance.InputSource.Bindings.transferRouteInputCases"
+  wire object constructor=TransferRouteInput unknown-fields=reject {
+    transferNeedId as "transfer_need_id" : Text required
+    region         as "region"           : Text required
+  }
+}
+
+mapped structural record HospitalLoadRow {
+  haskell package=keiro-dsl module=Conformance.InputSource.Domain type=HospitalLoadRow
+  binding = "Conformance.InputSource.Bindings.hospitalLoadRowBinding"
+  binding-version = "1"
+  canonical-type = "conformance.input-source.HospitalLoadRow.v1"
+  fixtures = "Conformance.InputSource.Bindings.hospitalLoadRowCases"
+  wire object constructor=HospitalLoadRow unknown-fields=reject {
+    hospitalId    as "hospital_id"    : Text required
+    region        as "region"         : Text required
+    availableBeds as "available_beds" : Int  required
+  }
+}
+
+target hospital_load_table {
+  schema = "public"
+  table = "hospital_load"
+  reset = clear
+}
+
+rebuild-group reporting {
+  targets = [ hospital_load_table ]
+  order = [ hospital_load_table ]
+}
+
+projection-owner hospital_load_writer {
+  source = category "hospitalLoad"
+  delivery = subscription
+  group = reporting
+  targets = [ hospital_load_table ]
+  order = 10
+  subscription = "input-source-hospital-load"
+  dedup = "input-source-hospital-load-v1"
+  checkpoint-on-missing = fail
+  replay = explicit
+}
+
+readmodel hospital_load {
+  columns {}
+  query input = TransferRouteInput
+  query result = List HospitalLoadRow
+  version = 1
+  shape = "fnv1a:3c07a19c552c3547"
+  freshness = wait-for-head category "hospitalLoad"
+  group = reporting
+  targets = [ hospital_load_table ]
+}
+
+aggregate Hospital
+  regs
+    routed Bool = False
+  states Open Routed!
+
+  command RouteAcceptedTransferNeed { transferNeedId:Text hospitalId:Text }
+  event TransferNeedRouted = fields(RouteAcceptedTransferNeed)
+
+  Open -- RouteAcceptedTransferNeed --> write routed := true ; emit TransferNeedRouted ; goto Routed
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+router HospitalTransferRouter
+  name "hospital-transfer-router"
+  input AcceptedHospitalTransferNeed from intake transferInbox event TransferNeedAccepted : TransferRouteInput
+  key input.transferNeedId
+  resolve declarative {
+    identity = "hospital-transfer-selection"
+    version = 1
+    query = read-model hospital_load with input
+    where = row.region == input.region && row.availableBeds > 0
+    recipient = row.hospitalId
+    order = target-stream
+    dedupe = target-stream
+    max-recipients = 64
+    empty => ack
+    failure => retry
+    redelivery = stable-union
+    partial = retain-successes
+  }
+  target Hospital
+  projections []
+  dispatch-each RouteAcceptedTransferNeed {
+    transferNeedId=input.transferNeedId
+    hospitalId=row.hospitalId
+  }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => deadLetter
+  poison => halt
+
+id TransferNeedId prefix=tneed
+
+aggregate TransferSaga
+  regs
+  states Waiting
+  command NoteTransferNeed { transferNeedId:Text }
+  command NoteWithdrawal { transferNeedId:Text }
+  event TransferNeedNoted = fields(NoteTransferNeed)
+  event WithdrawalNoted = fields(NoteWithdrawal)
+  Waiting -- NoteTransferNeed --> emit TransferNeedNoted ; goto Waiting
+  Waiting -- NoteWithdrawal --> emit WithdrawalNoted ; goto Waiting
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process TransferNeedTracking
+  name "transfer-need-tracking"
+  reactions version 1
+  input TransferNeedArrived from intake transferInbox event TransferNeedAccepted { transferNeedId:Text }
+  input TransferNeedWithdrawnInput { transferNeedId:Text }
+  correlate input.transferNeedId via raw
+  saga TransferSaga category "transferSaga"
+  target TransferSaga
+  projections [ ]
+  on TransferNeedArrived
+    advance NoteTransferNeed { transferNeedId }
+  on TransferNeedWithdrawnInput
+    advance NoteWithdrawal { transferNeedId }
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
diff --git a/test/fixtures/input-source/workspace/service.keiro-workspace b/test/fixtures/input-source/workspace/service.keiro-workspace
new file mode 100644
--- /dev/null
+++ b/test/fixtures/input-source/workspace/service.keiro-workspace
@@ -0,0 +1,3 @@
+service input-source
+spec integration.keiro
+spec routing.keiro
diff --git a/test/fixtures/intake-delegated-noop.keiro b/test/fixtures/intake-delegated-noop.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/intake-delegated-noop.keiro
@@ -0,0 +1,72 @@
+language keiro-dsl 6
+context delivery-outcomes
+
+# A delegated intake whose downstream command is sometimes a typed no-op:
+# a delivery status never moves backwards, so recording an outcome after the
+# delivery is final changes nothing. The hand-written handler runs the command
+# through Keiro.Inbox.Delegated.delegatedDomainCommand, which acknowledges the
+# no-op with a completed inbox row instead of a marker event.
+
+contract courier {
+  schemaVersion 1
+  discriminator messageType
+  topic deliveryEvents "courier.delivery.events"
+  event DeliveryOutcomeReported on deliveryEvents {
+    deliveryId: text
+    outcome: text
+  }
+}
+
+intake deliveryOutcomeInbox {
+  contract courier
+  topic deliveryEvents
+  accept DeliveryOutcomeReported
+
+  bind source from header "keiro-source" required
+  bind schemaVersion from header "keiro-schema-version" required cross-check body
+  bind messageId from header "keiro-message-id" required cross-check body
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  idempotence delegated
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
+
+enum DeliveryRejection { NeverRejected=never-rejected }
+enum DeliveryNoOp { AlreadyFinal=already-final }
+
+aggregate DeliveryStatus
+  domain-outcomes rejection=DeliveryRejection no-op=DeliveryNoOp
+  regs
+    finalOutcome Text = "none"
+  states Pending Delivered
+
+  command RecordOutcome { outcome:Text }
+
+  event OutcomeRecorded = fields(RecordOutcome)
+
+  Pending -- RecordOutcome -->
+    write finalOutcome := cmd.outcome
+    outcome accepted
+    emit OutcomeRecorded
+    goto Delivered
+
+  Delivered -- RecordOutcome -->
+    outcome no-op DeliveryNoOp.AlreadyFinal
+    goto Delivered
diff --git a/test/fixtures/topology-machine.keiro b/test/fixtures/topology-machine.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology-machine.keiro
@@ -0,0 +1,71 @@
+language keiro-dsl 6
+context topology-machine
+
+id OrderId prefix=ord
+
+# Order covers: three or more states, two edges leaving Draft separated by an
+# edge leaving Open, a replay-only edge, a two-event edge, a terminal state
+# and a hole-owned transition body.
+aggregate Order
+  regs
+  states Draft Open InTransit Done!
+
+  command PlaceOrder { orderId }
+  command AmendOrder { orderId }
+  command NoteOrder { orderId note:Text }
+  command ShipOrder { orderId }
+  command CloseOrder { orderId }
+
+  event OrderPlaced = fields(PlaceOrder)
+  event OrderAmended = fields(AmendOrder)
+  event OrderNoted = fields(NoteOrder)
+  event OrderShipped = fields(ShipOrder)
+  event ShipmentLabelled = fields(ShipOrder)
+  event OrderClosed = fields(CloseOrder)
+
+  Draft -- PlaceOrder --> emit OrderPlaced ; goto Open
+  Open -- AmendOrder --> emit OrderAmended ; goto Open
+  Draft -- NoteOrder -->
+    implementation hole
+    emit OrderNoted
+    goto Draft
+  Open -- ShipOrder --> emit OrderShipped ; emit ShipmentLabelled ; goto InTransit
+  replay-only Open -- CloseOrder --> emit OrderClosed ; goto Done
+  InTransit -- CloseOrder --> emit OrderClosed ; goto Done
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+# OrderSaga is the process manager's own state.
+aggregate OrderSaga
+  regs
+  states Waiting Requested
+
+  command RecordRequest { orderId }
+  command FinishRequest { orderId }
+
+  event RequestRecorded = fields(RecordRequest)
+  event RequestFinished = fields(FinishRequest)
+
+  Waiting -- RecordRequest --> emit RequestRecorded ; goto Requested
+  Requested -- FinishRequest --> emit RequestFinished ; goto Waiting
+  Requested -- RecordRequest --> emit RequestRecorded ; goto Requested
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process OrderFlow
+  name "order-flow"
+  reactions version 1
+  input OrderRequested { orderId:OrderId }
+  correlate input.orderId via idText
+  saga OrderSaga category "orderSaga"
+  target Order
+  projections [ ]
+  on OrderRequested
+    advance RecordRequest { orderId }
+      accepted
+        dispatch Order@input.orderId PlaceOrder { orderId }
+          on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+      silent no-action
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
diff --git a/test/fixtures/topology/hospital-capacity.keiro b/test/fixtures/topology/hospital-capacity.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/hospital-capacity.keiro
@@ -0,0 +1,724 @@
+language keiro-dsl 6
+
+context hospital-capacity
+layout collocated
+
+id CommandId prefix=cmd
+id HospitalId prefix=hosp
+id CapacitySnapshotId prefix=cap
+id TransferReservationId prefix=rsv
+id IncidentId prefix=inc
+id TriageRecordId prefix=tri
+
+enum BedType {
+  Icu=icu
+  MedicalSurgical=medical-surgical
+  EmergencyDepartment=emergency-department
+  Pediatric=pediatric
+}
+
+enum CapacityLevel {
+  Normal=normal
+  Constrained=constrained
+  Surge=surge
+  Critical=critical
+}
+
+enum DivertStatus {
+  Open=open
+  PartialDivert=partial-divert
+  TotalDivert=total-divert
+}
+
+enum PatientAcuity {
+  RedTag=red
+  YellowTag=yellow
+  GreenTag=green
+}
+
+enum ServiceLine {
+  Trauma=trauma
+  IcuService=icu
+  EmergencyMedicine=emergency-medicine
+  Pediatrics=pediatrics
+}
+
+enum SupplyCode {
+  BloodOPositive=blood-o-positive
+  Ventilator=ventilator
+  PersonalProtectiveEquipment=ppe
+}
+
+enum HospitalVertex {
+  HospitalUnreported=hospital-unreported
+  HospitalOperational=hospital-operational
+  HospitalInSurge=hospital-in-surge
+  HospitalConstrained=hospital-constrained
+}
+
+enum CapacityVertex {
+  CapacityUnreported=capacity-unreported
+  CapacityOpen=capacity-open
+  CapacityReserved=capacity-reserved
+}
+
+enum ReservationVertex {
+  ReservationUnrequested=reservation-unrequested
+  ReservationHeld=reservation-held
+  ReservationConfirmed=reservation-confirmed
+  ReservationExpired=reservation-expired
+  ReservationAdmitted=reservation-admitted
+  ReservationReleased=reservation-released
+}
+
+enum SupplyVertex {
+  SupplyUnreported=supply-unreported
+  SupplyAdequate=supply-adequate
+  SupplyConstrained=supply-constrained
+}
+
+enum SurgeVertex {
+  SurgeIdle=surge-idle
+  SurgeRequested=surge-requested
+  SurgeFollowedUp=surge-followed-up
+}
+
+target transfer_candidates_table {
+  schema = "hospital_capacity"
+  table = "hospital_readiness"
+  reset = clear
+}
+
+target accepted_transfer_needs_table {
+  schema = "hospital_capacity"
+  table = "accepted_transfer_needs"
+  reset = clear
+}
+
+rebuild-group hospital_routing {
+  targets = [ transfer_candidates_table accepted_transfer_needs_table ]
+  order = [ transfer_candidates_table accepted_transfer_needs_table ]
+}
+
+projection-owner transfer_candidates_writer {
+  source = aggregate Capacity
+  delivery = subscription
+  group = hospital_routing
+  targets = [ transfer_candidates_table ]
+  order = 10
+  subscription = "hospital-capacity-transfer-candidates-router"
+  dedup = "hospital-capacity-transfer-candidates-router-v1"
+  checkpoint-on-missing = from-beginning
+  replay = explicit
+}
+
+projection-owner accepted_transfer_needs_writer {
+  source = category "incidentInbox"
+  delivery = subscription
+  group = hospital_routing
+  targets = [ accepted_transfer_needs_table ]
+  order = 20
+  subscription = "hospital-capacity-accepted-transfer-needs"
+  dedup = "hospital-capacity-accepted-transfer-needs-v1"
+  checkpoint-on-missing = from-beginning
+  replay = explicit
+}
+
+readmodel hospital_readiness {
+  table = "hospital_readiness"
+  schema = "hospital_capacity"
+  columns {
+    hospital_id text required
+    divert_status text required
+    capacity_level text required
+    surge_mode bool required
+    supply_constrained bool required
+    available_service_lines text required
+    active_regional_demand bigint required
+    available_icu_beds bigint
+    reserved_icu_beds bigint
+    occupied_icu_beds bigint
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:bdba8264c0857a2f"
+  freshness = immediate
+}
+
+readmodel transfer_decisions {
+  table = "transfer_decisions"
+  schema = "hospital_capacity"
+  columns {
+    reservation_id text required
+    hospital_id text required
+    patient_acuity text required
+    required_bed_type text required
+    status text required
+    source_message_id text required
+    expiration_deadline text required
+    admission_outcome text
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:9df0bdb5c8d16660"
+  freshness = immediate
+}
+
+readmodel transfer_candidates {
+  columns {
+    hospital_id text required
+    divert_status text required
+    available_icu_beds bigint required
+    reservation_id text required
+    command_id text required
+    expiration_deadline text required
+    life_critical_override bool required
+  }
+  version = 1
+  shape = "fnv1a:317282c2634acbfa"
+  freshness = immediate
+  group = hospital_routing
+  targets = [ transfer_candidates_table ]
+}
+
+readmodel accepted_transfer_needs {
+  columns {
+    message_id text required
+    reservation_id text required
+    idempotency_key text required
+    incident_id text required
+    triage_record_id text required
+    region text required
+    patient_acuity text required
+    required_bed_type text required
+    red_count bigint required
+    requested_by_service text required
+    source text required
+    kafka_topic text required
+    kafka_partition bigint required
+    kafka_offset bigint required
+    accepted_at timestamptz required
+  }
+  version = 1
+  shape = "fnv1a:171f7280df5863fc"
+  freshness = immediate
+  group = hospital_routing
+  targets = [ accepted_transfer_needs_table ]
+}
+
+aggregate Hospital
+  regs
+    hospitalId HospitalId = placeholder
+    divertStatus DivertStatus = Open
+    surgeMode Bool = False
+    capacityLevel CapacityLevel = Normal
+    activeRegionalDemand Int = 0
+    supplyConstrained Bool = False
+    hospitalState HospitalVertex = HospitalUnreported
+  states HospitalUnreported HospitalOperational HospitalInSurge HospitalConstrained
+
+  command ReportHospitalStatus { hospitalId commandId divertStatus capacityLevel activeRegionalDemand:Int }
+  command ActivateSurge { hospitalId commandId }
+  command NoteSupplyLevel { hospitalId commandId supplyCode availableUnits:Int thresholdUnits:Int }
+
+  event HospitalStatusReported = fields(ReportHospitalStatus)
+  event HospitalSurgeActivated = fields(ActivateSurge)
+  event HospitalSupplyConstraintNoted = fields(NoteSupplyLevel)
+
+  HospitalUnreported -- ReportHospitalStatus -->
+    write hospitalId := cmd.hospitalId
+    write divertStatus := cmd.divertStatus
+    write capacityLevel := cmd.capacityLevel
+    write activeRegionalDemand := cmd.activeRegionalDemand
+    write hospitalState := HospitalVertex.HospitalOperational
+    emit HospitalStatusReported
+    goto HospitalOperational
+  HospitalOperational -- ReportHospitalStatus -->
+    write divertStatus := cmd.divertStatus
+    write capacityLevel := cmd.capacityLevel
+    write activeRegionalDemand := cmd.activeRegionalDemand
+    emit HospitalStatusReported
+    goto HospitalOperational
+  HospitalOperational -- ActivateSurge -->
+    guard surgeMode == false
+    write surgeMode := true
+    write capacityLevel := CapacityLevel.Surge
+    write hospitalState := HospitalVertex.HospitalInSurge
+    emit HospitalSurgeActivated
+    goto HospitalInSurge
+  HospitalOperational -- NoteSupplyLevel -->
+    guard availableUnits < thresholdUnits
+    write supplyConstrained := true
+    write hospitalState := HospitalVertex.HospitalConstrained
+    emit HospitalSupplyConstraintNoted
+    goto HospitalConstrained
+  HospitalInSurge -- ReportHospitalStatus -->
+    write divertStatus := cmd.divertStatus
+    write capacityLevel := cmd.capacityLevel
+    write activeRegionalDemand := cmd.activeRegionalDemand
+    emit HospitalStatusReported
+    goto HospitalInSurge
+  HospitalInSurge -- NoteSupplyLevel -->
+    guard availableUnits < thresholdUnits
+    write supplyConstrained := true
+    write hospitalState := HospitalVertex.HospitalConstrained
+    emit HospitalSupplyConstraintNoted
+    goto HospitalConstrained
+  HospitalConstrained -- ReportHospitalStatus -->
+    write divertStatus := cmd.divertStatus
+    write capacityLevel := cmd.capacityLevel
+    write activeRegionalDemand := cmd.activeRegionalDemand
+    write hospitalState := HospitalVertex.HospitalOperational
+    emit HospitalStatusReported
+    goto HospitalOperational
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection hospital_readiness key=hospitalId
+    status-map {
+      HospitalStatusReported=>operational
+      HospitalSurgeActivated=>surge
+      HospitalSupplyConstraintNoted=>constrained
+    }
+
+aggregate Capacity
+  regs
+    hospitalId HospitalId = placeholder
+    snapshotId CapacitySnapshotId = placeholder
+    availableIcuBeds Int = 0
+    staffedIcuBeds Int = 0
+    reservedIcuBeds Int = 0
+    occupiedIcuBeds Int = 0
+    surgeMode Bool = False
+    capacityState CapacityVertex = CapacityUnreported
+  states CapacityUnreported CapacityOpen CapacityReserved
+
+  command ReportCapacity { hospitalId commandId snapshotId availableIcuBeds:Int staffedIcuBeds:Int reservedIcuBeds:Int occupiedIcuBeds:Int surgeMode:Bool }
+  command ReserveIcuBed { hospitalId commandId reservationId }
+  command ReleaseIcuReservation { hospitalId commandId reservationId }
+
+  event CapacityReported = fields(ReportCapacity)
+  event IcuBedReserved = fields(ReserveIcuBed)
+  event IcuReservationReleased = fields(ReleaseIcuReservation)
+
+  CapacityUnreported -- ReportCapacity -->
+    write hospitalId := cmd.hospitalId
+    write snapshotId := cmd.snapshotId
+    write availableIcuBeds := cmd.availableIcuBeds
+    write staffedIcuBeds := cmd.staffedIcuBeds
+    write reservedIcuBeds := cmd.reservedIcuBeds
+    write occupiedIcuBeds := cmd.occupiedIcuBeds
+    write surgeMode := cmd.surgeMode
+    write capacityState := CapacityVertex.CapacityOpen
+    emit CapacityReported
+    goto CapacityOpen
+  CapacityOpen -- ReserveIcuBed -->
+    write capacityState := CapacityVertex.CapacityReserved
+    emit IcuBedReserved
+    goto CapacityReserved
+  CapacityReserved -- ReserveIcuBed -->
+    emit IcuBedReserved
+    goto CapacityReserved
+  CapacityReserved -- ReleaseIcuReservation -->
+    write capacityState := CapacityVertex.CapacityOpen
+    emit IcuReservationReleased
+    goto CapacityOpen
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection hospital_readiness key=hospitalId
+    status-map {
+      CapacityReported=>reported
+      IcuBedReserved=>reserved
+      IcuReservationReleased=>open
+    }
+
+aggregate Reservation
+  regs
+    reservationId TransferReservationId = placeholder
+    hospitalId HospitalId = placeholder
+    patientAcuity PatientAcuity = GreenTag
+    requiredBedType BedType = MedicalSurgical
+    sourceMessageId Text = ""
+    reservationState ReservationVertex = ReservationUnrequested
+    expirationDeadline Text = ""
+    admissionOutcome Text = ""
+  states ReservationUnrequested ReservationHeld ReservationConfirmed ReservationExpired! ReservationAdmitted! ReservationReleased!
+
+  command RequestTransferReservation { reservationId hospitalId commandId patientAcuity requiredBedType sourceMessageId:Text expirationDeadline:Text divertStatus lifeCriticalOverride:Bool }
+  command ConfirmReservation { reservationId hospitalId commandId }
+  command ExpireReservation { reservationId hospitalId commandId }
+  command AdmitPatient { reservationId hospitalId commandId admissionOutcome:Text }
+  command ReleaseReservation { reservationId hospitalId commandId }
+
+  event TransferReservationCreated = fields(RequestTransferReservation)
+  event TransferReservationConfirmed = fields(ConfirmReservation)
+  event TransferReservationExpired = fields(ExpireReservation)
+  event PatientAdmitted = fields(AdmitPatient)
+  event TransferReservationReleased = fields(ReleaseReservation)
+
+  ReservationUnrequested -- RequestTransferReservation -->
+    guard divertStatus != DivertStatus.TotalDivert || lifeCriticalOverride
+    write reservationId := cmd.reservationId
+    write hospitalId := cmd.hospitalId
+    write patientAcuity := cmd.patientAcuity
+    write requiredBedType := cmd.requiredBedType
+    write sourceMessageId := cmd.sourceMessageId
+    write expirationDeadline := cmd.expirationDeadline
+    write reservationState := ReservationVertex.ReservationHeld
+    emit TransferReservationCreated
+    goto ReservationHeld
+  ReservationHeld -- ConfirmReservation -->
+    write reservationState := ReservationVertex.ReservationConfirmed
+    emit TransferReservationConfirmed
+    goto ReservationConfirmed
+  ReservationHeld -- ExpireReservation -->
+    write reservationState := ReservationVertex.ReservationExpired
+    emit TransferReservationExpired
+    goto ReservationExpired
+  ReservationHeld -- ReleaseReservation -->
+    write reservationState := ReservationVertex.ReservationReleased
+    emit TransferReservationReleased
+    goto ReservationReleased
+  ReservationConfirmed -- AdmitPatient -->
+    write admissionOutcome := cmd.admissionOutcome
+    write reservationState := ReservationVertex.ReservationAdmitted
+    emit PatientAdmitted
+    goto ReservationAdmitted
+  ReservationConfirmed -- ReleaseReservation -->
+    write reservationState := ReservationVertex.ReservationReleased
+    emit TransferReservationReleased
+    goto ReservationReleased
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection transfer_decisions key=reservationId
+    status-map {
+      TransferReservationCreated=>held
+      TransferReservationConfirmed=>confirmed
+      TransferReservationExpired=>expired
+      PatientAdmitted=>admitted
+      TransferReservationReleased=>released
+    }
+
+aggregate Supply
+  regs
+    hospitalId HospitalId = placeholder
+    supplyCode SupplyCode = BloodOPositive
+    availableUnits Int = 0
+    thresholdUnits Int = 0
+    constrained Bool = False
+    supplyState SupplyVertex = SupplyUnreported
+  states SupplyUnreported SupplyAdequate SupplyConstrained
+
+  command ReportSupplyLevel { hospitalId commandId supplyCode availableUnits:Int thresholdUnits:Int }
+  command NoteSupplyConstraint { hospitalId commandId supplyCode availableUnits:Int thresholdUnits:Int }
+  command ReplenishSupply { hospitalId commandId supplyCode availableUnits:Int thresholdUnits:Int }
+
+  event SupplyLevelReported = fields(ReportSupplyLevel)
+  event SupplyConstraintNoted = fields(NoteSupplyConstraint)
+  event SupplyReplenished = fields(ReplenishSupply)
+
+  SupplyUnreported -- ReportSupplyLevel -->
+    write hospitalId := cmd.hospitalId
+    write supplyCode := cmd.supplyCode
+    write availableUnits := cmd.availableUnits
+    write thresholdUnits := cmd.thresholdUnits
+    write constrained := false
+    write supplyState := SupplyVertex.SupplyAdequate
+    emit SupplyLevelReported
+    goto SupplyAdequate
+  SupplyUnreported -- NoteSupplyConstraint -->
+    guard cmd.availableUnits < cmd.thresholdUnits
+    write hospitalId := cmd.hospitalId
+    write supplyCode := cmd.supplyCode
+    write availableUnits := cmd.availableUnits
+    write thresholdUnits := cmd.thresholdUnits
+    write constrained := true
+    write supplyState := SupplyVertex.SupplyConstrained
+    emit SupplyConstraintNoted
+    goto SupplyConstrained
+  SupplyAdequate -- NoteSupplyConstraint -->
+    guard cmd.availableUnits < cmd.thresholdUnits
+    write hospitalId := cmd.hospitalId
+    write supplyCode := cmd.supplyCode
+    write availableUnits := cmd.availableUnits
+    write thresholdUnits := cmd.thresholdUnits
+    write constrained := true
+    write supplyState := SupplyVertex.SupplyConstrained
+    emit SupplyConstraintNoted
+    goto SupplyConstrained
+  SupplyConstrained -- ReplenishSupply -->
+    guard cmd.availableUnits >= cmd.thresholdUnits
+    write hospitalId := cmd.hospitalId
+    write supplyCode := cmd.supplyCode
+    write availableUnits := cmd.availableUnits
+    write thresholdUnits := cmd.thresholdUnits
+    write constrained := false
+    write supplyState := SupplyVertex.SupplyAdequate
+    emit SupplyReplenished
+    goto SupplyAdequate
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+aggregate Surge
+  regs
+    hospitalId HospitalId = placeholder
+    availableIcuBeds Int = 0
+    redDemand Int = 0
+    timerIdScheduled Text = ""
+    surgeRequested Bool = False
+    timerFired Bool = False
+    surgeState SurgeVertex = SurgeIdle
+  states SurgeIdle SurgeRequested SurgeFollowedUp!
+
+  command NoteSurgeThreshold { hospitalId availableIcuBeds:Int redDemand:Int timerId:Text }
+  command MarkSurgeTimerFired { hospitalId timerId:Text }
+
+  event SurgeThresholdNoted = fields(NoteSurgeThreshold)
+  event SurgeTimerFired = fields(MarkSurgeTimerFired)
+
+  SurgeIdle -- NoteSurgeThreshold -->
+    write hospitalId := cmd.hospitalId
+    write availableIcuBeds := cmd.availableIcuBeds
+    write redDemand := cmd.redDemand
+    write timerIdScheduled := timerId
+    write surgeRequested := true
+    write surgeState := SurgeVertex.SurgeRequested
+    emit SurgeThresholdNoted
+    goto SurgeRequested
+  SurgeRequested -- MarkSurgeTimerFired -->
+    write timerFired := true
+    write surgeState := SurgeVertex.SurgeFollowedUp
+    emit SurgeTimerFired
+    goto SurgeFollowedUp
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process HospitalSurge
+  name "hospital-surge"
+  input SurgeInput { hospitalId availableIcuBeds:Int redDemand:Int observedAt:Time }
+  correlate input.hospitalId via idText
+  saga Surge category "hospitalSurge"
+  target Hospital
+  projections [ hospital_readiness ]
+
+  on SurgeInput
+    advance NoteSurgeThreshold { hospitalId availableIcuBeds redDemand timerId=timer.id }
+    dispatch Hospital@input.hospitalId ActivateSurge { hospitalId }
+      on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+    schedule surgeFollowUp
+
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, emitIndex)
+  rejected => halt
+  poison => halt
+
+  timer surgeFollowUp
+    id uuidv5 "hospital-surge-timer:" <> correlationId
+    fireAt input.observedAt + 5m
+    payload { kind="hospital-surge-follow-up" hospitalId }
+    fire dispatch Surge@correlationId MarkSurgeTimerFired { hospitalId timerId }
+      fired-event-id uuidv5 "hospital-surge-fired:" <> correlationId
+      on-ok Fired ; on-reject Fired ; on-ambiguous Retry ; on-error Retry ; not-mine Retry
+    decode unknown-status => Cancelled
+    max-attempts 5 dead-letter "hospital surge timer exceeded ceiling"
+
+router TransferNeedRouter
+  name "hospital-capacity-transfer-need"
+  input AcceptedTransferNeed { messageId incidentId triageRecordId region patientAcuity requiredBedType redCount:Int requestedByService }
+  key input.messageId via raw
+  resolve stable via read-model transfer_candidates row { hospitalId divertStatus availableIcuBeds reservationId commandId expirationDeadline lifeCriticalOverride }
+  target Reservation
+  projections [ transfer_decisions ]
+  dispatch-each RequestTransferReservation {
+    reservationId=resolved.reservationId
+    hospitalId=resolved.hospitalId
+    commandId=resolved.commandId
+    patientAcuity=input.patientAcuity
+    requiredBedType=input.requiredBedType
+    sourceMessageId=input.messageId
+    expirationDeadline=resolved.expirationDeadline
+    divertStatus=resolved.divertStatus
+    lifeCriticalOverride=resolved.lifeCriticalOverride
+  }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
+
+workflow HospitalTransferReservation
+  name "hospital-transfer-reservation"
+  in ReservationWorkflowInput { reservationId:Id hospitalId:Id patientAcuity:PatientAcuity requiredBedType:BedType }
+  out ReservationWorkflowSummary
+  id from input.reservationId via idText
+  body
+    step create-transfer-hold -> ReservationHold
+    await reservation-confirmation -> ReservationConfirmation
+    step release-or-retain-capacity -> CapacityRelease
+    step summarize-reservation -> ReservationWorkflowSummary
+
+operation SignalReservationConfirmation
+  signal reservation-confirmation of HospitalTransferReservation
+    key from reservationId via reservationWorkflowId
+    value ReservationConfirmation
+
+operation RunReservationWorkflow
+  run HospitalTransferReservation
+    input ReservationWorkflowInput
+    outcome -> ReservationWorkflowRun
+
+contract emergency {
+  schemaVersion 1
+  discriminator messageType
+
+  topic incidentEvents "emergency.incident.events"
+  topic hospitalEvents "emergency.hospital.events"
+
+  event IncidentTransferNeedDeclared on incidentEvents {
+    incidentId: typeid "inc"
+    triageRecordId: typeid "tri"
+    region: text
+    patientAcuity: text
+    requiredBedType: text
+    redCount: int
+    requestedByService: text
+  }
+  event TransferReservationRequested on incidentEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    region: text
+    patientAcuity: text
+    requiredBedType: text
+    expirationDeadline: text
+  }
+  event HospitalCapacitySnapshotPublished on hospitalEvents {
+    hospitalId: typeid "hosp"
+    snapshotId: typeid "cap"
+    region: text
+    divertStatus: text
+    capacityLevel: text
+    availableIcuBeds: int
+    staffedIcuBeds: int
+    reservedIcuBeds: int
+    occupiedIcuBeds: int
+  }
+  event TransferReservationAccepted on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    patientAcuity: text
+    requiredBedType: text
+    expirationDeadline: text
+  }
+  event TransferReservationRejected on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    reason: text
+  }
+  event PatientAdmitted on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    admissionOutcome: text
+  }
+  event TransferExpired on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    expiredAt: text
+  }
+}
+
+intake incidentInbox {
+  contract emergency
+  topic incidentEvents
+  accept IncidentTransferNeedDeclared
+
+  bind source from header "keiro-source" required
+  bind schemaVersion from header "keiro-schema-version" required cross-check body
+  bind messageId from header "keiro-message-id" required cross-check body
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  persist = full-envelope
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
+
+emit hospitalIntegrationOutbox {
+  contract emergency
+  topic hospitalEvents
+  source "hospital-capacity"
+  key incidentId
+  map status {
+    "confirmed" => TransferReservationAccepted
+    "released" => TransferReservationRejected
+    "expired" => TransferExpired
+    "admitted" => PatientAdmitted
+    "published" => HospitalCapacitySnapshotPublished
+    _ => skip
+  }
+  messageId derive "msg" hole
+  idempotencyKey derive hole
+}
+
+publisher hospitalPublisher {
+  emit hospitalIntegrationOutbox
+  ordering PerKeyHeadOfLine
+  maxAttempts 10
+  backoff constant 2s
+  outboxId stable from messageId
+}
+
+workqueue reservation_work {
+  queue logical = "hospital_capacity.reservation_work"
+  derive physical = "hospital_capacity_reservation_work"
+         dlq = "hospital_capacity_reservation_work_dlq"
+         table = "pgmq.q_hospital_capacity_reservation_work"
+
+  ordering unordered
+  provision standard
+
+  payload ReservationWorkItem {
+    reservationId -> "reservation_id" text required
+    hospitalId -> "hospital_id" text required
+    commandId -> "command_id" text required
+    patientAcuity -> "patient_acuity" text required
+    requiredBedType -> "required_bed_type" text required
+    sourceMessageId -> "source_message_id" text required
+    expirationDeadline -> "expiration_deadline" text required
+    divertStatus -> "divert_status" text required
+    lifeCriticalOverride -> "life_critical_override" bool required
+  }
+
+  retry maxRetries = 3 delay = 5s dlq = on
+
+  disposition {
+    storeFailure -> retry 5s
+    commandRejected -> deadLetter
+    decodeFailure -> deadLetter
+    onCodecReject -> deadLetter
+  }
+}
+
+dispatch reservation_work_dispatch {
+  source readModel = accepted_transfer_needs key = messageId
+  fanout body = resolveTransferCandidates
+  dedup key = reservationId
+        seenIn readModel = transfer_decisions field = reservation_id
+        seenIn queue = reservation_work field = reservation_id
+  enqueue to = reservation_work
+}
diff --git a/test/fixtures/topology/hospital-capacity.topology.golden.json b/test/fixtures/topology/hospital-capacity.topology.golden.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/hospital-capacity.topology.golden.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{},"from":{"kind":"dispatch","name":"reservation_work_dispatch"},"relation":"enqueues","to":{"kind":"workqueue","name":"reservation_work"}},{"attributes":{"role":"source"},"from":{"kind":"dispatch","name":"reservation_work_dispatch"},"relation":"reads","to":{"kind":"read-model","name":"accepted_transfer_needs"}},{"attributes":{"role":"dedupe"},"from":{"kind":"dispatch","name":"reservation_work_dispatch"},"relation":"reads","to":{"kind":"read-model","name":"transfer_decisions"}},{"attributes":{"events":["TransferReservationAccepted","TransferReservationRejected","TransferExpired","PatientAdmitted","HospitalCapacitySnapshotPublished"],"topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"from":{"kind":"emit","name":"hospitalIntegrationOutbox"},"relation":"publishes","to":{"kind":"contract","name":"emergency"}},{"attributes":{"events":["IncidentTransferNeedDeclared"],"topic":"emergency.incident.events","topicAlias":"incidentEvents"},"from":{"kind":"intake","name":"incidentInbox"},"relation":"subscribes","to":{"kind":"contract","name":"emergency"}},{"attributes":{},"from":{"kind":"operation","name":"RunReservationWorkflow"},"relation":"runs","to":{"kind":"workflow","name":"HospitalTransferReservation"}},{"attributes":{"label":"reservation-confirmation"},"from":{"kind":"operation","name":"SignalReservationConfirmation"},"relation":"signals","to":{"kind":"workflow","name":"HospitalTransferReservation"}},{"attributes":{"command":"ActivateSurge"},"from":{"kind":"process","name":"HospitalSurge"},"relation":"dispatches","to":{"kind":"aggregate","name":"Hospital"}},{"attributes":{"command":"MarkSurgeTimerFired"},"from":{"kind":"process","name":"HospitalSurge"},"relation":"dispatches","to":{"kind":"aggregate","name":"Surge"}},{"attributes":{"table":"hospital_readiness"},"from":{"kind":"process","name":"HospitalSurge"},"relation":"projects","to":{"kind":"aggregate","name":"Capacity"}},{"attributes":{"table":"hospital_readiness"},"from":{"kind":"process","name":"HospitalSurge"},"relation":"projects","to":{"kind":"aggregate","name":"Hospital"}},{"attributes":{"category":"hospitalSurge"},"from":{"kind":"process","name":"HospitalSurge"},"relation":"saga","to":{"kind":"aggregate","name":"Surge"}},{"attributes":{},"from":{"kind":"projection-owner","name":"accepted_transfer_needs_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"hospital_routing"}},{"attributes":{},"from":{"kind":"projection-owner","name":"accepted_transfer_needs_writer"},"relation":"writes","to":{"kind":"projection-target","name":"accepted_transfer_needs_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"transfer_candidates_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Capacity"}},{"attributes":{},"from":{"kind":"projection-owner","name":"transfer_candidates_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"hospital_routing"}},{"attributes":{},"from":{"kind":"projection-owner","name":"transfer_candidates_writer"},"relation":"writes","to":{"kind":"projection-target","name":"transfer_candidates_table"}},{"attributes":{},"from":{"kind":"publisher","name":"hospitalPublisher"},"relation":"delivers","to":{"kind":"emit","name":"hospitalIntegrationOutbox"}},{"attributes":{},"from":{"kind":"read-model","name":"accepted_transfer_needs"},"relation":"member-of","to":{"kind":"rebuild-group","name":"hospital_routing"}},{"attributes":{},"from":{"kind":"read-model","name":"accepted_transfer_needs"},"relation":"observes","to":{"kind":"projection-target","name":"accepted_transfer_needs_table"}},{"attributes":{},"from":{"kind":"read-model","name":"transfer_candidates"},"relation":"member-of","to":{"kind":"rebuild-group","name":"hospital_routing"}},{"attributes":{},"from":{"kind":"read-model","name":"transfer_candidates"},"relation":"observes","to":{"kind":"projection-target","name":"transfer_candidates_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"hospital_routing"},"relation":"groups","to":{"kind":"projection-target","name":"accepted_transfer_needs_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"hospital_routing"},"relation":"groups","to":{"kind":"projection-target","name":"transfer_candidates_table"}},{"attributes":{"command":"RequestTransferReservation"},"from":{"kind":"router","name":"TransferNeedRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"Reservation"}},{"attributes":{"table":"transfer_decisions"},"from":{"kind":"router","name":"TransferNeedRouter"},"relation":"projects","to":{"kind":"aggregate","name":"Reservation"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"TransferNeedRouter"},"relation":"reads","to":{"kind":"read-model","name":"transfer_candidates"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"hospital-capacity.keiro","sha256":"sha256:0c849100a91719ea9e034eb042187f3f4ab41f85689a90b85dedf651dfb3ae5e"}],"nodes":[{"context":"hospital-capacity","details":{"category":"capacity","commands":["ReportCapacity","ReserveIcuBed","ReleaseIcuReservation"],"events":["CapacityReported","IcuBedReserved","IcuReservationReleased"],"machine":{"edges":[{"command":"ReportCapacity","edgeIndex":0,"events":["CapacityReported"],"mode":"Live","source":"CapacityUnreported","target":"CapacityOpen"},{"command":"ReserveIcuBed","edgeIndex":0,"events":["IcuBedReserved"],"mode":"Live","source":"CapacityOpen","target":"CapacityReserved"},{"command":"ReserveIcuBed","edgeIndex":0,"events":["IcuBedReserved"],"mode":"Live","source":"CapacityReserved","target":"CapacityReserved"},{"command":"ReleaseIcuReservation","edgeIndex":1,"events":["IcuReservationReleased"],"mode":"Live","source":"CapacityReserved","target":"CapacityOpen"}],"initial":"CapacityUnreported","ownership":"generated","states":[{"name":"CapacityUnreported","terminal":false},{"name":"CapacityOpen","terminal":false},{"name":"CapacityReserved","terminal":false}]},"states":["CapacityUnreported","CapacityOpen","CapacityReserved"]},"kind":"aggregate","line":283,"member":"hospital-capacity.keiro","name":"Capacity"},{"context":"hospital-capacity","details":{"category":"hospital","commands":["ReportHospitalStatus","ActivateSurge","NoteSupplyLevel"],"events":["HospitalStatusReported","HospitalSurgeActivated","HospitalSupplyConstraintNoted"],"machine":{"edges":[{"command":"ReportHospitalStatus","edgeIndex":0,"events":["HospitalStatusReported"],"mode":"Live","source":"HospitalUnreported","target":"HospitalOperational"},{"command":"ReportHospitalStatus","edgeIndex":0,"events":["HospitalStatusReported"],"mode":"Live","source":"HospitalOperational","target":"HospitalOperational"},{"command":"ActivateSurge","edgeIndex":1,"events":["HospitalSurgeActivated"],"mode":"Live","source":"HospitalOperational","target":"HospitalInSurge"},{"command":"NoteSupplyLevel","edgeIndex":2,"events":["HospitalSupplyConstraintNoted"],"mode":"Live","source":"HospitalOperational","target":"HospitalConstrained"},{"command":"ReportHospitalStatus","edgeIndex":0,"events":["HospitalStatusReported"],"mode":"Live","source":"HospitalInSurge","target":"HospitalInSurge"},{"command":"NoteSupplyLevel","edgeIndex":1,"events":["HospitalSupplyConstraintNoted"],"mode":"Live","source":"HospitalInSurge","target":"HospitalConstrained"},{"command":"ReportHospitalStatus","edgeIndex":0,"events":["HospitalStatusReported"],"mode":"Live","source":"HospitalConstrained","target":"HospitalOperational"}],"initial":"HospitalUnreported","ownership":"generated","states":[{"name":"HospitalUnreported","terminal":false},{"name":"HospitalOperational","terminal":false},{"name":"HospitalInSurge","terminal":false},{"name":"HospitalConstrained","terminal":false}]},"states":["HospitalUnreported","HospitalOperational","HospitalInSurge","HospitalConstrained"]},"kind":"aggregate","line":209,"member":"hospital-capacity.keiro","name":"Hospital"},{"context":"hospital-capacity","details":{"category":"reservation","commands":["RequestTransferReservation","ConfirmReservation","ExpireReservation","AdmitPatient","ReleaseReservation"],"events":["TransferReservationCreated","TransferReservationConfirmed","TransferReservationExpired","PatientAdmitted","TransferReservationReleased"],"machine":{"edges":[{"command":"RequestTransferReservation","edgeIndex":0,"events":["TransferReservationCreated"],"mode":"Live","source":"ReservationUnrequested","target":"ReservationHeld"},{"command":"ConfirmReservation","edgeIndex":0,"events":["TransferReservationConfirmed"],"mode":"Live","source":"ReservationHeld","target":"ReservationConfirmed"},{"command":"ExpireReservation","edgeIndex":1,"events":["TransferReservationExpired"],"mode":"Live","source":"ReservationHeld","target":"ReservationExpired"},{"command":"ReleaseReservation","edgeIndex":2,"events":["TransferReservationReleased"],"mode":"Live","source":"ReservationHeld","target":"ReservationReleased"},{"command":"AdmitPatient","edgeIndex":0,"events":["PatientAdmitted"],"mode":"Live","source":"ReservationConfirmed","target":"ReservationAdmitted"},{"command":"ReleaseReservation","edgeIndex":1,"events":["TransferReservationReleased"],"mode":"Live","source":"ReservationConfirmed","target":"ReservationReleased"}],"initial":"ReservationUnrequested","ownership":"generated","states":[{"name":"ReservationUnrequested","terminal":false},{"name":"ReservationHeld","terminal":false},{"name":"ReservationConfirmed","terminal":false},{"name":"ReservationExpired","terminal":true},{"name":"ReservationAdmitted","terminal":true},{"name":"ReservationReleased","terminal":true}]},"states":["ReservationUnrequested","ReservationHeld","ReservationConfirmed","ReservationExpired","ReservationAdmitted","ReservationReleased"]},"kind":"aggregate","line":334,"member":"hospital-capacity.keiro","name":"Reservation"},{"context":"hospital-capacity","details":{"category":"supply","commands":["ReportSupplyLevel","NoteSupplyConstraint","ReplenishSupply"],"events":["SupplyLevelReported","SupplyConstraintNoted","SupplyReplenished"],"machine":{"edges":[{"command":"ReportSupplyLevel","edgeIndex":0,"events":["SupplyLevelReported"],"mode":"Live","source":"SupplyUnreported","target":"SupplyAdequate"},{"command":"NoteSupplyConstraint","edgeIndex":1,"events":["SupplyConstraintNoted"],"mode":"Live","source":"SupplyUnreported","target":"SupplyConstrained"},{"command":"NoteSupplyConstraint","edgeIndex":0,"events":["SupplyConstraintNoted"],"mode":"Live","source":"SupplyAdequate","target":"SupplyConstrained"},{"command":"ReplenishSupply","edgeIndex":0,"events":["SupplyReplenished"],"mode":"Live","source":"SupplyConstrained","target":"SupplyAdequate"}],"initial":"SupplyUnreported","ownership":"generated","states":[{"name":"SupplyUnreported","terminal":false},{"name":"SupplyAdequate","terminal":false},{"name":"SupplyConstrained","terminal":false}]},"states":["SupplyUnreported","SupplyAdequate","SupplyConstrained"]},"kind":"aggregate","line":401,"member":"hospital-capacity.keiro","name":"Supply"},{"context":"hospital-capacity","details":{"category":"surge","commands":["NoteSurgeThreshold","MarkSurgeTimerFired"],"events":["SurgeThresholdNoted","SurgeTimerFired"],"machine":{"edges":[{"command":"NoteSurgeThreshold","edgeIndex":0,"events":["SurgeThresholdNoted"],"mode":"Live","source":"SurgeIdle","target":"SurgeRequested"},{"command":"MarkSurgeTimerFired","edgeIndex":0,"events":["SurgeTimerFired"],"mode":"Live","source":"SurgeRequested","target":"SurgeFollowedUp"}],"initial":"SurgeIdle","ownership":"generated","states":[{"name":"SurgeIdle","terminal":false},{"name":"SurgeRequested","terminal":false},{"name":"SurgeFollowedUp","terminal":true}]},"states":["SurgeIdle","SurgeRequested","SurgeFollowedUp"]},"kind":"aggregate","line":461,"member":"hospital-capacity.keiro","name":"Surge"},{"context":"hospital-capacity","details":{"discriminator":"messageType","events":["IncidentTransferNeedDeclared","TransferReservationRequested","HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"schemaVersion":1,"topics":[{"alias":"incidentEvents","topic":"emergency.incident.events"},{"alias":"hospitalEvents","topic":"emergency.hospital.events"}]},"kind":"contract","line":567,"member":"hospital-capacity.keiro","name":"emergency"},{"context":"hospital-capacity","details":{"dedupReadModel":"transfer_decisions","enqueueTo":"reservation_work","sourceReadModel":"accepted_transfer_needs"},"kind":"dispatch","line":717,"member":"hospital-capacity.keiro","name":"reservation_work_dispatch"},{"context":"hospital-capacity","details":{"contract":"emergency","events":["TransferReservationAccepted","TransferReservationRejected","TransferExpired","PatientAdmitted","HospitalCapacitySnapshotPublished"],"key":"incidentId","source":"hospital-capacity","topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"kind":"emit","line":661,"member":"hospital-capacity.keiro","name":"hospitalIntegrationOutbox"},{"context":"hospital-capacity","details":{"accepts":["IncidentTransferNeedDeclared"],"contract":"emergency","dedupe":{"key":"messageId","policy":"PreferIntegrationMessageId"},"idempotence":"inbox-table","topic":"emergency.incident.events","topicAlias":"incidentEvents"},"kind":"intake","line":630,"member":"hospital-capacity.keiro","name":"incidentInbox"},{"context":"hospital-capacity","details":{"form":"run","subject":"HospitalTransferReservation"},"kind":"operation","line":562,"member":"hospital-capacity.keiro","name":"RunReservationWorkflow"},{"context":"hospital-capacity","details":{"form":"signal","label":"reservation-confirmation","subject":"HospitalTransferReservation"},"kind":"operation","line":557,"member":"hospital-capacity.keiro","name":"SignalReservationConfirmation"},{"context":"hospital-capacity","details":{"correlate":{"field":"hospitalId","via":"idText"},"inputs":["SurgeInput"],"poison":"halt","projections":["hospital_readiness"],"rejected":"halt","saga":{"aggregate":"Surge","category":"hospitalSurge"},"stableName":"hospital-surge","target":"Hospital","timers":["surgeFollowUp"]},"kind":"process","line":495,"member":"hospital-capacity.keiro","name":"HospitalSurge"},{"context":"hospital-capacity","details":{"dedup":"hospital-capacity-accepted-transfer-needs-v1","delivery":"subscription","group":"hospital_routing","order":20,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"category","name":"incidentInbox"}],"subscription":"hospital-capacity-accepted-transfer-needs","targets":["accepted_transfer_needs_table"]},"kind":"projection-owner","line":115,"member":"hospital-capacity.keiro","name":"accepted_transfer_needs_writer"},{"context":"hospital-capacity","details":{"dedup":"hospital-capacity-transfer-candidates-router-v1","delivery":"subscription","group":"hospital_routing","order":10,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Capacity"}],"subscription":"hospital-capacity-transfer-candidates-router","targets":["transfer_candidates_table"]},"kind":"projection-owner","line":103,"member":"hospital-capacity.keiro","name":"transfer_candidates_writer"},{"context":"hospital-capacity","details":{"dependsOn":[],"reset":"clear","schema":"hospital_capacity","table":"accepted_transfer_needs"},"kind":"projection-target","line":92,"member":"hospital-capacity.keiro","name":"accepted_transfer_needs_table"},{"context":"hospital-capacity","details":{"dependsOn":[],"reset":"clear","schema":"hospital_capacity","table":"hospital_readiness"},"kind":"projection-target","line":86,"member":"hospital-capacity.keiro","name":"transfer_candidates_table"},{"context":"hospital-capacity","details":{"backoff":{"kind":"constant","max":null,"multiplier":null,"window":"2s"},"emit":"hospitalIntegrationOutbox","maxAttempts":10,"ordering":"PerKeyHeadOfLine","outboxField":"messageId"},"kind":"publisher","line":678,"member":"hospital-capacity.keiro","name":"hospitalPublisher"},{"context":"hospital-capacity","details":{"backingTarget":null,"group":"hospital_routing","observedTargets":["accepted_transfer_needs_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":184,"member":"hospital-capacity.keiro","name":"accepted_transfer_needs"},{"context":"hospital-capacity","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"hospital_capacity","table":"hospital_readiness","version":1},"kind":"read-model","line":127,"member":"hospital-capacity.keiro","name":"hospital_readiness"},{"context":"hospital-capacity","details":{"backingTarget":null,"group":"hospital_routing","observedTargets":["transfer_candidates_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":167,"member":"hospital-capacity.keiro","name":"transfer_candidates"},{"context":"hospital-capacity","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"hospital_capacity","table":"transfer_decisions","version":1},"kind":"read-model","line":148,"member":"hospital-capacity.keiro","name":"transfer_decisions"},{"context":"hospital-capacity","details":{"order":["transfer_candidates_table","accepted_transfer_needs_table"],"targets":["transfer_candidates_table","accepted_transfer_needs_table"]},"kind":"rebuild-group","line":98,"member":"hospital-capacity.keiro","name":"hospital_routing"},{"context":"hospital-capacity","details":{"input":"AcceptedTransferNeed","projections":["transfer_decisions"],"resolvesFrom":"transfer_candidates","stableName":"hospital-capacity-transfer-need","target":"Reservation"},"kind":"router","line":523,"member":"hospital-capacity.keiro","name":"TransferNeedRouter"},{"context":"hospital-capacity","details":{"input":"ReservationWorkflowInput","output":"ReservationWorkflowSummary","stableName":"hospital-transfer-reservation","steps":[{"form":"step","label":"create-transfer-hold"},{"form":"await","label":"reservation-confirmation"},{"form":"step","label":"release-or-retain-capacity"},{"form":"step","label":"summarize-reservation"}]},"kind":"workflow","line":546,"member":"hospital-capacity.keiro","name":"HospitalTransferReservation"},{"context":"hospital-capacity","details":{"dlq":"hospital_capacity_reservation_work_dlq","dlqOn":true,"logical":"hospital_capacity.reservation_work","maxRetries":3,"ordering":"unordered","physical":"hospital_capacity_reservation_work","table":"pgmq.q_hospital_capacity_reservation_work"},"kind":"workqueue","line":686,"member":"hospital-capacity.keiro","name":"reservation_work"}],"schema":"keiro-dsl/service-topology/1","service":"hospital-capacity","source":{"kind":"source","path":"hospital-capacity.keiro"}}
diff --git a/test/fixtures/topology/incident-command-sourced.keiro b/test/fixtures/topology/incident-command-sourced.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/incident-command-sourced.keiro
@@ -0,0 +1,665 @@
+language keiro-dsl 6
+
+context incident-command
+layout collocated
+
+id CommandId prefix=cmd
+id IncidentId prefix=inc
+id ResourceId prefix=res
+id TriageRecordId prefix=tri
+id HospitalId prefix=hosp
+id CapacitySnapshotId prefix=cap
+id TransferReservationId prefix=rsv
+
+enum Severity {
+  Minor=Minor
+  Major=Major
+  MassCasualty=MassCasualty
+  HazardousMaterials=HazardousMaterials
+}
+
+enum ResourceCapability {
+  Ambulance=Ambulance
+  EngineCompany=EngineCompany
+  HazmatTeam=HazmatTeam
+  EvacuationTransport=EvacuationTransport
+}
+
+enum IncidentVertex {
+  IncidentNotDeclared=incident-not-declared
+  IncidentOpen=incident-open
+  IncidentEvacuating=incident-evacuating
+  IncidentStabilized=incident-stabilized
+  IncidentClosedVertex=incident-closed-vertex
+}
+
+enum TriageVertex {
+  TriageNotStarted=triage-not-started
+  TriageCollecting=triage-collecting
+}
+
+enum FieldResourceVertex {
+  ResourceUnregistered=resource-unregistered
+  ResourceAvailable=resource-available
+  ResourceAssignedVertex=resource-assigned-vertex
+}
+
+enum EscalationVertex {
+  EscalationIdle=escalation-idle
+  AwaitingAcknowledgement=awaiting-acknowledgement
+  Escalated=escalated
+  EscalationSettled=escalation-settled
+}
+
+target evacuation_zones_table {
+  schema = "incident_command"
+  table = "evacuation_zones"
+  reset = clear
+}
+
+target command_audit_history_table {
+  schema = "incident_command"
+  table = "command_audit_history"
+  reset = clear
+}
+
+target capacity_change_candidates_table {
+  schema = "incident_command"
+  table = "pending_transfer_needs"
+  reset = clear
+}
+
+rebuild-group incident_reporting {
+  targets = [ evacuation_zones_table command_audit_history_table capacity_change_candidates_table ]
+  order = [ evacuation_zones_table command_audit_history_table capacity_change_candidates_table ]
+}
+
+projection-owner evacuation_zones_writer {
+  source = aggregate Incident
+  delivery = inline
+  group = incident_reporting
+  targets = [ evacuation_zones_table ]
+  order = 10
+  replay = explicit
+}
+
+projection-owner command_audit_history_writer {
+  source = aggregate Incident
+  delivery = subscription
+  group = incident_reporting
+  targets = [ command_audit_history_table ]
+  order = 20
+  subscription = "incident-command-command-audit"
+  dedup = "incident-command-command-audit-v1"
+  checkpoint-on-missing = from-beginning
+  replay = explicit
+}
+
+projection-owner capacity_change_candidates_writer {
+  source = category "hospitalInbox"
+  delivery = subscription
+  group = incident_reporting
+  targets = [ capacity_change_candidates_table ]
+  order = 30
+  subscription = "incident-command-capacity-change-router"
+  dedup = "incident-command-capacity-change-router-v1"
+  checkpoint-on-missing = from-beginning
+  replay = explicit
+}
+
+readmodel incident_dashboard {
+  table = "incident_dashboard"
+  schema = "incident_command"
+  columns {
+    incident_id text required
+    severity text required
+    status text required
+    commander text
+    safety_perimeter_established bool required
+    evacuation_ordered bool required
+    evacuation_complete bool required
+    active_resource_ids text required
+    red_count bigint required
+    yellow_count bigint required
+    green_count bigint required
+    pending_transfer_needs bigint required
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:9d42f7941cb4eb1a"
+  freshness = immediate
+}
+
+readmodel evacuation_zones {
+  columns {
+    incident_id text required
+    zone_id text required
+    status text required
+    evacuation_ordered bool required
+    evacuation_complete bool required
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:dddb5c896a540dd1"
+  freshness = immediate
+  group = incident_reporting
+  targets = [ evacuation_zones_table ]
+}
+
+readmodel field_resource_assignments {
+  table = "field_resource_assignments"
+  schema = "incident_command"
+  columns {
+    resource_id text required
+    capability text required
+    status text required
+    current_incident_id text
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:d6b2ee1c42287d01"
+  freshness = immediate
+}
+
+readmodel pending_transfer_needs {
+  table = "pending_transfer_needs"
+  schema = "incident_command"
+  columns {
+    incident_id text required
+    triage_record_id text required
+    region text required
+    red_count bigint required
+    status text required
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:a960a62a26114735"
+  freshness = immediate
+}
+
+readmodel command_audit_history {
+  columns {
+    command_id text required
+    aggregate_type text required
+    aggregate_id text required
+    event_type text required
+    global_position bigint required
+    stream_version bigint required
+  }
+  version = 1
+  shape = "fnv1a:1d41b65d6c4579ba"
+  freshness = immediate
+  group = incident_reporting
+  targets = [ command_audit_history_table ]
+}
+
+readmodel capacity_change_candidates {
+  columns {
+    command_id text required
+    incident_id text required
+    pending_transfer_needs bigint required
+  }
+  version = 1
+  shape = "fnv1a:88efe4aaf1475cb6"
+  freshness = immediate
+  group = incident_reporting
+  targets = [ capacity_change_candidates_table ]
+}
+
+aggregate Incident
+  regs
+    incidentId IncidentId = placeholder
+    commander Text = ""
+    hasCommander Bool = False
+    severity Severity = Minor
+    redCount Int = 0
+    yellowCount Int = 0
+    greenCount Int = 0
+    safetyPerimeterEstablished Bool = False
+    evacuationOrdered Bool = False
+    evacuationComplete Bool = False
+    pendingTransferNeeds Int = 0
+    closed Bool = False
+    incidentState IncidentVertex = IncidentNotDeclared
+  states IncidentNotDeclared IncidentOpen IncidentEvacuating IncidentStabilized IncidentClosedVertex!
+
+  command DeclareIncident { incidentId commandId severity hazardousMaterial:Bool }
+  command AssignCommander { incidentId commandId commander:Text }
+  command EstablishSafetyPerimeter { incidentId commandId }
+  command DispatchResource { incidentId commandId resourceId }
+  command OrderEvacuation { incidentId commandId }
+  command RecordTriage { incidentId commandId redCount:Int yellowCount:Int greenCount:Int pendingTransferNeeds:Int }
+  command CompleteEvacuation { incidentId commandId }
+  command ReconsiderTransferPlan { incidentId commandId hospitalId:Text snapshotId:Text region:Text availableIcuBeds:Int pendingTransferNeeds:Int }
+  command CloseIncident { incidentId commandId }
+
+  event IncidentDeclared = fields(DeclareIncident)
+  event CommanderAssigned = fields(AssignCommander)
+  event SafetyPerimeterEstablished = fields(EstablishSafetyPerimeter)
+  event ResourceDispatched = fields(DispatchResource)
+  event EvacuationOrdered = fields(OrderEvacuation)
+  event IncidentTriageRecorded = fields(RecordTriage)
+  event EvacuationCompleted = fields(CompleteEvacuation)
+  event TransferPlanReconsidered = fields(ReconsiderTransferPlan)
+  event IncidentClosed = fields(CloseIncident)
+
+  IncidentNotDeclared -- DeclareIncident -->
+    write incidentId := cmd.incidentId
+    write severity := cmd.severity
+    write incidentState := IncidentVertex.IncidentOpen
+    emit IncidentDeclared
+    goto IncidentOpen
+  IncidentOpen -- AssignCommander -->
+    write commander := cmd.commander
+    write hasCommander := true
+    emit CommanderAssigned
+    goto IncidentOpen
+  IncidentOpen -- EstablishSafetyPerimeter -->
+    write safetyPerimeterEstablished := true
+    emit SafetyPerimeterEstablished
+    goto IncidentOpen
+  IncidentOpen -- DispatchResource --> emit ResourceDispatched ; goto IncidentOpen
+  IncidentOpen -- RecordTriage -->
+    write redCount := cmd.redCount
+    write yellowCount := cmd.yellowCount
+    write greenCount := cmd.greenCount
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit IncidentTriageRecorded
+    goto IncidentOpen
+  IncidentOpen -- ReconsiderTransferPlan -->
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit TransferPlanReconsidered
+    goto IncidentOpen
+  IncidentOpen -- OrderEvacuation -->
+    guard severity == Severity.MassCasualty && hasCommander
+    write evacuationOrdered := true
+    write incidentState := IncidentVertex.IncidentEvacuating
+    emit EvacuationOrdered
+    goto IncidentEvacuating
+  IncidentOpen -- CloseIncident -->
+    guard closed == false && evacuationComplete
+    write closed := true
+    write incidentState := IncidentVertex.IncidentClosedVertex
+    emit IncidentClosed
+    goto IncidentClosedVertex
+  IncidentEvacuating -- RecordTriage -->
+    write redCount := cmd.redCount
+    write yellowCount := cmd.yellowCount
+    write greenCount := cmd.greenCount
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit IncidentTriageRecorded
+    goto IncidentEvacuating
+  IncidentEvacuating -- ReconsiderTransferPlan -->
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit TransferPlanReconsidered
+    goto IncidentEvacuating
+  IncidentEvacuating -- CompleteEvacuation -->
+    write evacuationComplete := true
+    write incidentState := IncidentVertex.IncidentStabilized
+    emit EvacuationCompleted
+    goto IncidentStabilized
+  IncidentStabilized -- CloseIncident -->
+    guard closed == false && evacuationComplete
+    write closed := true
+    write incidentState := IncidentVertex.IncidentClosedVertex
+    emit IncidentClosed
+    goto IncidentClosedVertex
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection incident_dashboard key=incidentId
+    status-map {
+      IncidentDeclared=>open
+      CommanderAssigned=>open
+      SafetyPerimeterEstablished=>open
+      ResourceDispatched=>open
+      EvacuationOrdered=>evacuating
+      IncidentTriageRecorded=>active
+      EvacuationCompleted=>stabilized
+      TransferPlanReconsidered=>active
+      IncidentClosed=>closed
+    }
+
+aggregate Triage
+  regs
+    triageRecordId TriageRecordId = placeholder
+    incidentId IncidentId = placeholder
+    redCount Int = 0
+    yellowCount Int = 0
+    greenCount Int = 0
+    transportPriority Int = 0
+    transferNeedEmitted Bool = False
+    triageState TriageVertex = TriageNotStarted
+  states TriageNotStarted TriageCollecting
+
+  command StartTriage { triageRecordId incidentId commandId }
+  command MarkRed { triageRecordId incidentId commandId redCount:Int transportPriority:Int }
+  command MarkYellow { triageRecordId incidentId commandId yellowCount:Int }
+  command MarkGreen { triageRecordId incidentId commandId greenCount:Int }
+
+  event TriageStarted = fields(StartTriage)
+  event RedPatientMarked = fields(MarkRed)
+  event YellowPatientMarked = fields(MarkYellow)
+  event GreenPatientMarked = fields(MarkGreen)
+  event TransferNeedEmitted = fields(MarkRed)
+
+  TriageNotStarted -- StartTriage -->
+    write triageRecordId := cmd.triageRecordId
+    write incidentId := cmd.incidentId
+    write triageState := TriageVertex.TriageCollecting
+    emit TriageStarted
+    goto TriageCollecting
+  TriageCollecting -- MarkRed -->
+    guard transferNeedEmitted == false
+    write redCount := cmd.redCount
+    write transportPriority := cmd.transportPriority
+    write transferNeedEmitted := true
+    emit RedPatientMarked
+    emit TransferNeedEmitted
+    goto TriageCollecting
+  TriageCollecting -- MarkYellow -->
+    write yellowCount := cmd.yellowCount
+    emit YellowPatientMarked
+    goto TriageCollecting
+  TriageCollecting -- MarkGreen -->
+    write greenCount := cmd.greenCount
+    emit GreenPatientMarked
+    goto TriageCollecting
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection pending_transfer_needs key=incidentId
+    status-map partial { TransferNeedEmitted=>pending }
+
+aggregate FieldResource
+  regs
+    resourceId ResourceId = placeholder
+    capability ResourceCapability = Ambulance
+    assignedIncidentId IncidentId = placeholder
+    available Bool = False
+    resourceState FieldResourceVertex = ResourceUnregistered
+  states ResourceUnregistered ResourceAvailable ResourceAssignedVertex
+
+  command RegisterResource { resourceId commandId capability }
+  command AssignResource { resourceId commandId incidentId }
+  command ReleaseResource { resourceId commandId incidentId }
+
+  event ResourceRegistered = fields(RegisterResource)
+  event ResourceAssigned = fields(AssignResource)
+  event ResourceReleased = fields(ReleaseResource)
+
+  ResourceUnregistered -- RegisterResource -->
+    write resourceId := cmd.resourceId
+    write capability := cmd.capability
+    write available := true
+    write resourceState := FieldResourceVertex.ResourceAvailable
+    emit ResourceRegistered
+    goto ResourceAvailable
+  ResourceAvailable -- AssignResource -->
+    guard available
+    write assignedIncidentId := incidentId
+    write available := false
+    write resourceState := FieldResourceVertex.ResourceAssignedVertex
+    emit ResourceAssigned
+    goto ResourceAssignedVertex
+  ResourceAssignedVertex -- AssignResource -->
+    guard available
+    write assignedIncidentId := incidentId
+    write available := false
+    emit ResourceAssigned
+    goto ResourceAssignedVertex
+  ResourceAssignedVertex -- ReleaseResource -->
+    write available := true
+    write resourceState := FieldResourceVertex.ResourceAvailable
+    emit ResourceReleased
+    goto ResourceAvailable
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection field_resource_assignments key=resourceId
+    status-map {
+      ResourceRegistered=>available
+      ResourceAssigned=>assigned
+      ResourceReleased=>available
+    }
+
+aggregate Escalation
+  regs
+    incidentId IncidentId = placeholder
+    lastSeverity Severity = Minor
+    escalationLevel Int = 0
+    timerIdScheduled Text = ""
+    acknowledged Bool = False
+    mutualAidDispatched Bool = False
+    terminal Bool = False
+    escalationState EscalationVertex = EscalationIdle
+  states EscalationIdle AwaitingAcknowledgement Escalated EscalationSettled!
+
+  command NoteCriticalIncident { incidentId severity timerId:Text }
+  command AcknowledgeEscalation { incidentId }
+  command MarkEscalationTimerFired { incidentId timerId:Text }
+
+  event CriticalIncidentNoted = fields(NoteCriticalIncident)
+  event EscalationAcknowledged = fields(AcknowledgeEscalation)
+  event EscalationTimerFired = fields(MarkEscalationTimerFired)
+
+  EscalationIdle -- NoteCriticalIncident -->
+    write incidentId := cmd.incidentId
+    write lastSeverity := severity
+    write timerIdScheduled := timerId
+    write escalationState := EscalationVertex.AwaitingAcknowledgement
+    emit CriticalIncidentNoted
+    goto AwaitingAcknowledgement
+  AwaitingAcknowledgement -- AcknowledgeEscalation -->
+    write acknowledged := true
+    write terminal := true
+    write escalationState := EscalationVertex.EscalationSettled
+    emit EscalationAcknowledged
+    goto EscalationSettled
+  AwaitingAcknowledgement -- MarkEscalationTimerFired -->
+    write mutualAidDispatched := true
+    write escalationState := EscalationVertex.Escalated
+    emit EscalationTimerFired
+    goto Escalated
+  Escalated -- AcknowledgeEscalation -->
+    write acknowledged := true
+    write terminal := true
+    write escalationState := EscalationVertex.EscalationSettled
+    emit EscalationAcknowledged
+    goto EscalationSettled
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process IncidentEscalation
+  name "incident-escalation"
+  input CriticalIncidentDeclared { incidentId severity raisedAt:Time }
+  correlate input.incidentId via idText
+  saga Escalation category "incidentEscalation"
+  target Incident
+  projections [ incident_dashboard ]
+
+  on CriticalIncidentDeclared
+    advance NoteCriticalIncident { incidentId severity timerId=timer.id }
+    schedule escalationDeadline
+
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, emitIndex)
+  rejected => halt
+  poison => halt
+
+  timer escalationDeadline
+    id uuidv5 "incident-escalation-timer:" <> correlationId
+    fireAt input.raisedAt + 5m
+    payload { kind="incident-escalation-deadline" incidentId }
+    fire dispatch Escalation@correlationId MarkEscalationTimerFired { incidentId timerId }
+      fired-event-id uuidv5 "incident-escalation-fired:" <> correlationId
+      on-ok Fired ; on-reject Fired ; on-ambiguous Retry ; on-error Retry ; not-mine Retry
+    decode unknown-status => Cancelled
+    max-attempts 5 dead-letter "incident escalation timer exceeded ceiling"
+
+router ResourceDispatchRouter
+  name "incident-command-resource-dispatch"
+  input ResourceDispatchedInput { incidentId resourceId commandId }
+  key input.resourceId via resourceDispatchKey
+  resolve stable via read-model field_resource_assignments row { resourceId status currentIncidentId }
+  target FieldResource
+  projections [ field_resource_assignments ]
+  dispatch-each AssignResource { resourceId=resolved.resourceId commandId=input.commandId incidentId=input.incidentId }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
+
+router CapacityChangeRouter
+  name "incident-command-capacity-change"
+  input AcceptedHospitalCapacitySnapshot from intake hospitalInbox event HospitalCapacitySnapshotPublished { messageId hospitalId snapshotId region divertStatus availableIcuBeds:Int }
+  key input.messageId via raw
+  resolve stable via read-model capacity_change_candidates row { incidentId pendingTransferNeeds commandId }
+  target Incident
+  projections [ incident_dashboard ]
+  dispatch-each ReconsiderTransferPlan {
+    incidentId=resolved.incidentId
+    commandId=resolved.commandId
+    hospitalId=input.hospitalId
+    snapshotId=input.snapshotId
+    region=input.region
+    availableIcuBeds=input.availableIcuBeds
+    pendingTransferNeeds=resolved.pendingTransferNeeds
+  }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
+
+workflow IncidentEvacuation
+  name "incident-evacuation"
+  in IncidentEvacuationInput { incidentId:Id commander:Text requestedTransportUnits:Int }
+  out EvacuationWorkflowSummary
+  id from input.incidentId via idText
+  body
+    step establish-command-post -> Text
+    step request-transport -> TransportRequest
+    step notify-hospital-capacity -> HospitalNotification
+    await hospital-capacity-acknowledgement -> HospitalCapacityAcknowledgement
+    step mark-evacuation-ready -> EvacuationWorkflowSummary
+
+operation SignalHospitalCapacityAcknowledgement
+  signal hospital-capacity-acknowledgement of IncidentEvacuation
+    key from incidentId via evacuationWorkflowId
+    value HospitalCapacityAcknowledgement
+
+operation RunIncidentEvacuation
+  run IncidentEvacuation
+    input IncidentEvacuationInput
+    outcome -> IncidentEvacuationRun
+
+contract emergency {
+  schemaVersion 1
+  discriminator messageType
+
+  topic incidentEvents "emergency.incident.events"
+  topic hospitalEvents "emergency.hospital.events"
+
+  event IncidentTransferNeedDeclared on incidentEvents {
+    incidentId: typeid "inc"
+    triageRecordId: typeid "tri"
+    region: text
+    patientAcuity: text
+    requiredBedType: text
+    redCount: int
+    requestedByService: text
+  }
+  event TransferReservationRequested on incidentEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    region: text
+    patientAcuity: text
+    requiredBedType: text
+    expirationDeadline: text
+  }
+  event HospitalCapacitySnapshotPublished on hospitalEvents {
+    hospitalId: typeid "hosp"
+    snapshotId: typeid "cap"
+    region: text
+    divertStatus: text
+    capacityLevel: text
+    availableIcuBeds: int
+    staffedIcuBeds: int
+    reservedIcuBeds: int
+    occupiedIcuBeds: int
+  }
+  event TransferReservationAccepted on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    patientAcuity: text
+    requiredBedType: text
+    expirationDeadline: text
+  }
+  event TransferReservationRejected on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    reason: text
+  }
+  event PatientAdmitted on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    admissionOutcome: text
+  }
+  event TransferExpired on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    expiredAt: text
+  }
+}
+
+intake hospitalInbox {
+  contract emergency
+  topic hospitalEvents
+  accept HospitalCapacitySnapshotPublished TransferReservationAccepted TransferReservationRejected PatientAdmitted TransferExpired
+
+  bind source from header "keiro-source" required
+  bind schemaVersion from header "keiro-schema-version" required cross-check body
+  bind messageId from header "keiro-message-id" required cross-check body
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  persist = full-envelope
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
+
+emit incidentTransferNeed {
+  contract emergency
+  topic incidentEvents
+  source "incident-command"
+  key incidentId
+  map eventType {
+    "TransferNeedEmitted" => IncidentTransferNeedDeclared
+    _ => skip
+  }
+  messageId derive "msg" hole
+  idempotencyKey derive hole
+}
+
+publisher incidentPublisher {
+  emit incidentTransferNeed
+  ordering PerKeyHeadOfLine
+  maxAttempts 10
+  backoff constant 2s
+  outboxId stable from messageId
+}
diff --git a/test/fixtures/topology/incident-command-sourced.topology.golden.json b/test/fixtures/topology/incident-command-sourced.topology.golden.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/incident-command-sourced.topology.golden.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{"events":["IncidentTransferNeedDeclared"],"topic":"emergency.incident.events","topicAlias":"incidentEvents"},"from":{"kind":"emit","name":"incidentTransferNeed"},"relation":"publishes","to":{"kind":"contract","name":"emergency"}},{"attributes":{"events":["HospitalCapacitySnapshotPublished"],"input":"AcceptedHospitalCapacitySnapshot"},"from":{"kind":"intake","name":"hospitalInbox"},"relation":"feeds","to":{"kind":"router","name":"CapacityChangeRouter"}},{"attributes":{"events":["HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"from":{"kind":"intake","name":"hospitalInbox"},"relation":"subscribes","to":{"kind":"contract","name":"emergency"}},{"attributes":{},"from":{"kind":"operation","name":"RunIncidentEvacuation"},"relation":"runs","to":{"kind":"workflow","name":"IncidentEvacuation"}},{"attributes":{"label":"hospital-capacity-acknowledgement"},"from":{"kind":"operation","name":"SignalHospitalCapacityAcknowledgement"},"relation":"signals","to":{"kind":"workflow","name":"IncidentEvacuation"}},{"attributes":{"command":"MarkEscalationTimerFired"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"dispatches","to":{"kind":"aggregate","name":"Escalation"}},{"attributes":{"table":"incident_dashboard"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"projects","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"category":"incidentEscalation"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"saga","to":{"kind":"aggregate","name":"Escalation"}},{"attributes":{},"from":{"kind":"projection-owner","name":"capacity_change_candidates_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"capacity_change_candidates_writer"},"relation":"writes","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"writes","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"writes","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{},"from":{"kind":"publisher","name":"incidentPublisher"},"relation":"delivers","to":{"kind":"emit","name":"incidentTransferNeed"}},{"attributes":{},"from":{"kind":"read-model","name":"capacity_change_candidates"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"capacity_change_candidates"},"relation":"observes","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"read-model","name":"command_audit_history"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"command_audit_history"},"relation":"observes","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"read-model","name":"evacuation_zones"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"evacuation_zones"},"relation":"observes","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{"command":"ReconsiderTransferPlan"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"table":"incident_dashboard"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"projects","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"reads","to":{"kind":"read-model","name":"capacity_change_candidates"}},{"attributes":{"command":"AssignResource"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"FieldResource"}},{"attributes":{"table":"field_resource_assignments"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"projects","to":{"kind":"aggregate","name":"FieldResource"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"reads","to":{"kind":"read-model","name":"field_resource_assignments"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"incident-command-sourced.keiro","sha256":"sha256:22c5a1de9761edea1aa5849081c03279486046284a834684f48dabee0894b60c"}],"nodes":[{"context":"incident-command","details":{"category":"escalation","commands":["NoteCriticalIncident","AcknowledgeEscalation","MarkEscalationTimerFired"],"events":["CriticalIncidentNoted","EscalationAcknowledged","EscalationTimerFired"],"machine":{"edges":[{"command":"NoteCriticalIncident","edgeIndex":0,"events":["CriticalIncidentNoted"],"mode":"Live","source":"EscalationIdle","target":"AwaitingAcknowledgement"},{"command":"AcknowledgeEscalation","edgeIndex":0,"events":["EscalationAcknowledged"],"mode":"Live","source":"AwaitingAcknowledgement","target":"EscalationSettled"},{"command":"MarkEscalationTimerFired","edgeIndex":1,"events":["EscalationTimerFired"],"mode":"Live","source":"AwaitingAcknowledgement","target":"Escalated"},{"command":"AcknowledgeEscalation","edgeIndex":0,"events":["EscalationAcknowledged"],"mode":"Live","source":"Escalated","target":"EscalationSettled"}],"initial":"EscalationIdle","ownership":"generated","states":[{"name":"EscalationIdle","terminal":false},{"name":"AwaitingAcknowledgement","terminal":false},{"name":"Escalated","terminal":false},{"name":"EscalationSettled","terminal":true}]},"states":["EscalationIdle","AwaitingAcknowledgement","Escalated","EscalationSettled"]},"kind":"aggregate","line":423,"member":"incident-command-sourced.keiro","name":"Escalation"},{"context":"incident-command","details":{"category":"fieldResource","commands":["RegisterResource","AssignResource","ReleaseResource"],"events":["ResourceRegistered","ResourceAssigned","ResourceReleased"],"machine":{"edges":[{"command":"RegisterResource","edgeIndex":0,"events":["ResourceRegistered"],"mode":"Live","source":"ResourceUnregistered","target":"ResourceAvailable"},{"command":"AssignResource","edgeIndex":0,"events":["ResourceAssigned"],"mode":"Live","source":"ResourceAvailable","target":"ResourceAssignedVertex"},{"command":"AssignResource","edgeIndex":0,"events":["ResourceAssigned"],"mode":"Live","source":"ResourceAssignedVertex","target":"ResourceAssignedVertex"},{"command":"ReleaseResource","edgeIndex":1,"events":["ResourceReleased"],"mode":"Live","source":"ResourceAssignedVertex","target":"ResourceAvailable"}],"initial":"ResourceUnregistered","ownership":"generated","states":[{"name":"ResourceUnregistered","terminal":false},{"name":"ResourceAvailable","terminal":false},{"name":"ResourceAssignedVertex","terminal":false}]},"states":["ResourceUnregistered","ResourceAvailable","ResourceAssignedVertex"]},"kind":"aggregate","line":372,"member":"incident-command-sourced.keiro","name":"FieldResource"},{"context":"incident-command","details":{"category":"incident","commands":["DeclareIncident","AssignCommander","EstablishSafetyPerimeter","DispatchResource","OrderEvacuation","RecordTriage","CompleteEvacuation","ReconsiderTransferPlan","CloseIncident"],"events":["IncidentDeclared","CommanderAssigned","SafetyPerimeterEstablished","ResourceDispatched","EvacuationOrdered","IncidentTriageRecorded","EvacuationCompleted","TransferPlanReconsidered","IncidentClosed"],"machine":{"edges":[{"command":"DeclareIncident","edgeIndex":0,"events":["IncidentDeclared"],"mode":"Live","source":"IncidentNotDeclared","target":"IncidentOpen"},{"command":"AssignCommander","edgeIndex":0,"events":["CommanderAssigned"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"EstablishSafetyPerimeter","edgeIndex":1,"events":["SafetyPerimeterEstablished"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"DispatchResource","edgeIndex":2,"events":["ResourceDispatched"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"RecordTriage","edgeIndex":3,"events":["IncidentTriageRecorded"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"ReconsiderTransferPlan","edgeIndex":4,"events":["TransferPlanReconsidered"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"OrderEvacuation","edgeIndex":5,"events":["EvacuationOrdered"],"mode":"Live","source":"IncidentOpen","target":"IncidentEvacuating"},{"command":"CloseIncident","edgeIndex":6,"events":["IncidentClosed"],"mode":"Live","source":"IncidentOpen","target":"IncidentClosedVertex"},{"command":"RecordTriage","edgeIndex":0,"events":["IncidentTriageRecorded"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentEvacuating"},{"command":"ReconsiderTransferPlan","edgeIndex":1,"events":["TransferPlanReconsidered"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentEvacuating"},{"command":"CompleteEvacuation","edgeIndex":2,"events":["EvacuationCompleted"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentStabilized"},{"command":"CloseIncident","edgeIndex":0,"events":["IncidentClosed"],"mode":"Live","source":"IncidentStabilized","target":"IncidentClosedVertex"}],"initial":"IncidentNotDeclared","ownership":"generated","states":[{"name":"IncidentNotDeclared","terminal":false},{"name":"IncidentOpen","terminal":false},{"name":"IncidentEvacuating","terminal":false},{"name":"IncidentStabilized","terminal":false},{"name":"IncidentClosedVertex","terminal":true}]},"states":["IncidentNotDeclared","IncidentOpen","IncidentEvacuating","IncidentStabilized","IncidentClosedVertex"]},"kind":"aggregate","line":209,"member":"incident-command-sourced.keiro","name":"Incident"},{"context":"incident-command","details":{"category":"triage","commands":["StartTriage","MarkRed","MarkYellow","MarkGreen"],"events":["TriageStarted","RedPatientMarked","YellowPatientMarked","GreenPatientMarked","TransferNeedEmitted"],"machine":{"edges":[{"command":"StartTriage","edgeIndex":0,"events":["TriageStarted"],"mode":"Live","source":"TriageNotStarted","target":"TriageCollecting"},{"command":"MarkRed","edgeIndex":0,"events":["RedPatientMarked","TransferNeedEmitted"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"},{"command":"MarkYellow","edgeIndex":1,"events":["YellowPatientMarked"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"},{"command":"MarkGreen","edgeIndex":2,"events":["GreenPatientMarked"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"}],"initial":"TriageNotStarted","ownership":"generated","states":[{"name":"TriageNotStarted","terminal":false},{"name":"TriageCollecting","terminal":false}]},"states":["TriageNotStarted","TriageCollecting"]},"kind":"aggregate","line":322,"member":"incident-command-sourced.keiro","name":"Triage"},{"context":"incident-command","details":{"discriminator":"messageType","events":["IncidentTransferNeedDeclared","TransferReservationRequested","HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"schemaVersion":1,"topics":[{"alias":"incidentEvents","topic":"emergency.incident.events"},{"alias":"hospitalEvents","topic":"emergency.hospital.events"}]},"kind":"contract","line":552,"member":"incident-command-sourced.keiro","name":"emergency"},{"context":"incident-command","details":{"contract":"emergency","events":["IncidentTransferNeedDeclared"],"key":"incidentId","source":"incident-command","topic":"emergency.incident.events","topicAlias":"incidentEvents"},"kind":"emit","line":646,"member":"incident-command-sourced.keiro","name":"incidentTransferNeed"},{"context":"incident-command","details":{"accepts":["HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"contract":"emergency","dedupe":{"key":"messageId","policy":"PreferIntegrationMessageId"},"idempotence":"inbox-table","topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"kind":"intake","line":615,"member":"incident-command-sourced.keiro","name":"hospitalInbox"},{"context":"incident-command","details":{"form":"run","subject":"IncidentEvacuation"},"kind":"operation","line":547,"member":"incident-command-sourced.keiro","name":"RunIncidentEvacuation"},{"context":"incident-command","details":{"form":"signal","label":"hospital-capacity-acknowledgement","subject":"IncidentEvacuation"},"kind":"operation","line":542,"member":"incident-command-sourced.keiro","name":"SignalHospitalCapacityAcknowledgement"},{"context":"incident-command","details":{"correlate":{"field":"incidentId","via":"idText"},"inputs":["CriticalIncidentDeclared"],"poison":"halt","projections":["incident_dashboard"],"rejected":"halt","saga":{"aggregate":"Escalation","category":"incidentEscalation"},"stableName":"incident-escalation","target":"Incident","timers":["escalationDeadline"]},"kind":"process","line":470,"member":"incident-command-sourced.keiro","name":"IncidentEscalation"},{"context":"incident-command","details":{"dedup":"incident-command-capacity-change-router-v1","delivery":"subscription","group":"incident_reporting","order":30,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"category","name":"hospitalInbox"}],"subscription":"incident-command-capacity-change-router","targets":["capacity_change_candidates_table"]},"kind":"projection-owner","line":98,"member":"incident-command-sourced.keiro","name":"capacity_change_candidates_writer"},{"context":"incident-command","details":{"dedup":"incident-command-command-audit-v1","delivery":"subscription","group":"incident_reporting","order":20,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Incident"}],"subscription":"incident-command-command-audit","targets":["command_audit_history_table"]},"kind":"projection-owner","line":86,"member":"incident-command-sourced.keiro","name":"command_audit_history_writer"},{"context":"incident-command","details":{"dedup":null,"delivery":"inline","group":"incident_reporting","order":10,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Incident"}],"subscription":null,"targets":["evacuation_zones_table"]},"kind":"projection-owner","line":77,"member":"incident-command-sourced.keiro","name":"evacuation_zones_writer"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"pending_transfer_needs"},"kind":"projection-target","line":66,"member":"incident-command-sourced.keiro","name":"capacity_change_candidates_table"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"command_audit_history"},"kind":"projection-target","line":60,"member":"incident-command-sourced.keiro","name":"command_audit_history_table"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"evacuation_zones"},"kind":"projection-target","line":54,"member":"incident-command-sourced.keiro","name":"evacuation_zones_table"},{"context":"incident-command","details":{"backoff":{"kind":"constant","max":null,"multiplier":null,"window":"2s"},"emit":"incidentTransferNeed","maxAttempts":10,"ordering":"PerKeyHeadOfLine","outboxField":"messageId"},"kind":"publisher","line":659,"member":"incident-command-sourced.keiro","name":"incidentPublisher"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["capacity_change_candidates_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":196,"member":"incident-command-sourced.keiro","name":"capacity_change_candidates"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["command_audit_history_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":180,"member":"incident-command-sourced.keiro","name":"command_audit_history"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["evacuation_zones_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":133,"member":"incident-command-sourced.keiro","name":"evacuation_zones"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"field_resource_assignments","version":1},"kind":"read-model","line":149,"member":"incident-command-sourced.keiro","name":"field_resource_assignments"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"incident_dashboard","version":1},"kind":"read-model","line":110,"member":"incident-command-sourced.keiro","name":"incident_dashboard"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"pending_transfer_needs","version":1},"kind":"read-model","line":164,"member":"incident-command-sourced.keiro","name":"pending_transfer_needs"},{"context":"incident-command","details":{"order":["evacuation_zones_table","command_audit_history_table","capacity_change_candidates_table"],"targets":["evacuation_zones_table","command_audit_history_table","capacity_change_candidates_table"]},"kind":"rebuild-group","line":72,"member":"incident-command-sourced.keiro","name":"incident_reporting"},{"context":"incident-command","details":{"input":"AcceptedHospitalCapacitySnapshot","projections":["incident_dashboard"],"resolvesFrom":"capacity_change_candidates","stableName":"incident-command-capacity-change","target":"Incident"},"kind":"router","line":509,"member":"incident-command-sourced.keiro","name":"CapacityChangeRouter"},{"context":"incident-command","details":{"input":"ResourceDispatchedInput","projections":["field_resource_assignments"],"resolvesFrom":"field_resource_assignments","stableName":"incident-command-resource-dispatch","target":"FieldResource"},"kind":"router","line":496,"member":"incident-command-sourced.keiro","name":"ResourceDispatchRouter"},{"context":"incident-command","details":{"input":"IncidentEvacuationInput","output":"EvacuationWorkflowSummary","stableName":"incident-evacuation","steps":[{"form":"step","label":"establish-command-post"},{"form":"step","label":"request-transport"},{"form":"step","label":"notify-hospital-capacity"},{"form":"await","label":"hospital-capacity-acknowledgement"},{"form":"step","label":"mark-evacuation-ready"}]},"kind":"workflow","line":530,"member":"incident-command-sourced.keiro","name":"IncidentEvacuation"}],"schema":"keiro-dsl/service-topology/2","service":"incident-command-sourced","source":{"kind":"source","path":"incident-command-sourced.keiro"}}
diff --git a/test/fixtures/topology/incident-command.keiro b/test/fixtures/topology/incident-command.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/incident-command.keiro
@@ -0,0 +1,665 @@
+language keiro-dsl 6
+
+context incident-command
+layout collocated
+
+id CommandId prefix=cmd
+id IncidentId prefix=inc
+id ResourceId prefix=res
+id TriageRecordId prefix=tri
+id HospitalId prefix=hosp
+id CapacitySnapshotId prefix=cap
+id TransferReservationId prefix=rsv
+
+enum Severity {
+  Minor=Minor
+  Major=Major
+  MassCasualty=MassCasualty
+  HazardousMaterials=HazardousMaterials
+}
+
+enum ResourceCapability {
+  Ambulance=Ambulance
+  EngineCompany=EngineCompany
+  HazmatTeam=HazmatTeam
+  EvacuationTransport=EvacuationTransport
+}
+
+enum IncidentVertex {
+  IncidentNotDeclared=incident-not-declared
+  IncidentOpen=incident-open
+  IncidentEvacuating=incident-evacuating
+  IncidentStabilized=incident-stabilized
+  IncidentClosedVertex=incident-closed-vertex
+}
+
+enum TriageVertex {
+  TriageNotStarted=triage-not-started
+  TriageCollecting=triage-collecting
+}
+
+enum FieldResourceVertex {
+  ResourceUnregistered=resource-unregistered
+  ResourceAvailable=resource-available
+  ResourceAssignedVertex=resource-assigned-vertex
+}
+
+enum EscalationVertex {
+  EscalationIdle=escalation-idle
+  AwaitingAcknowledgement=awaiting-acknowledgement
+  Escalated=escalated
+  EscalationSettled=escalation-settled
+}
+
+target evacuation_zones_table {
+  schema = "incident_command"
+  table = "evacuation_zones"
+  reset = clear
+}
+
+target command_audit_history_table {
+  schema = "incident_command"
+  table = "command_audit_history"
+  reset = clear
+}
+
+target capacity_change_candidates_table {
+  schema = "incident_command"
+  table = "pending_transfer_needs"
+  reset = clear
+}
+
+rebuild-group incident_reporting {
+  targets = [ evacuation_zones_table command_audit_history_table capacity_change_candidates_table ]
+  order = [ evacuation_zones_table command_audit_history_table capacity_change_candidates_table ]
+}
+
+projection-owner evacuation_zones_writer {
+  source = aggregate Incident
+  delivery = inline
+  group = incident_reporting
+  targets = [ evacuation_zones_table ]
+  order = 10
+  replay = explicit
+}
+
+projection-owner command_audit_history_writer {
+  source = aggregate Incident
+  delivery = subscription
+  group = incident_reporting
+  targets = [ command_audit_history_table ]
+  order = 20
+  subscription = "incident-command-command-audit"
+  dedup = "incident-command-command-audit-v1"
+  checkpoint-on-missing = from-beginning
+  replay = explicit
+}
+
+projection-owner capacity_change_candidates_writer {
+  source = category "hospitalInbox"
+  delivery = subscription
+  group = incident_reporting
+  targets = [ capacity_change_candidates_table ]
+  order = 30
+  subscription = "incident-command-capacity-change-router"
+  dedup = "incident-command-capacity-change-router-v1"
+  checkpoint-on-missing = from-beginning
+  replay = explicit
+}
+
+readmodel incident_dashboard {
+  table = "incident_dashboard"
+  schema = "incident_command"
+  columns {
+    incident_id text required
+    severity text required
+    status text required
+    commander text
+    safety_perimeter_established bool required
+    evacuation_ordered bool required
+    evacuation_complete bool required
+    active_resource_ids text required
+    red_count bigint required
+    yellow_count bigint required
+    green_count bigint required
+    pending_transfer_needs bigint required
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:9d42f7941cb4eb1a"
+  freshness = immediate
+}
+
+readmodel evacuation_zones {
+  columns {
+    incident_id text required
+    zone_id text required
+    status text required
+    evacuation_ordered bool required
+    evacuation_complete bool required
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:dddb5c896a540dd1"
+  freshness = immediate
+  group = incident_reporting
+  targets = [ evacuation_zones_table ]
+}
+
+readmodel field_resource_assignments {
+  table = "field_resource_assignments"
+  schema = "incident_command"
+  columns {
+    resource_id text required
+    capability text required
+    status text required
+    current_incident_id text
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:d6b2ee1c42287d01"
+  freshness = immediate
+}
+
+readmodel pending_transfer_needs {
+  table = "pending_transfer_needs"
+  schema = "incident_command"
+  columns {
+    incident_id text required
+    triage_record_id text required
+    region text required
+    red_count bigint required
+    status text required
+    last_seen bigint required
+  }
+  version = 1
+  shape = "fnv1a:a960a62a26114735"
+  freshness = immediate
+}
+
+readmodel command_audit_history {
+  columns {
+    command_id text required
+    aggregate_type text required
+    aggregate_id text required
+    event_type text required
+    global_position bigint required
+    stream_version bigint required
+  }
+  version = 1
+  shape = "fnv1a:1d41b65d6c4579ba"
+  freshness = immediate
+  group = incident_reporting
+  targets = [ command_audit_history_table ]
+}
+
+readmodel capacity_change_candidates {
+  columns {
+    command_id text required
+    incident_id text required
+    pending_transfer_needs bigint required
+  }
+  version = 1
+  shape = "fnv1a:88efe4aaf1475cb6"
+  freshness = immediate
+  group = incident_reporting
+  targets = [ capacity_change_candidates_table ]
+}
+
+aggregate Incident
+  regs
+    incidentId IncidentId = placeholder
+    commander Text = ""
+    hasCommander Bool = False
+    severity Severity = Minor
+    redCount Int = 0
+    yellowCount Int = 0
+    greenCount Int = 0
+    safetyPerimeterEstablished Bool = False
+    evacuationOrdered Bool = False
+    evacuationComplete Bool = False
+    pendingTransferNeeds Int = 0
+    closed Bool = False
+    incidentState IncidentVertex = IncidentNotDeclared
+  states IncidentNotDeclared IncidentOpen IncidentEvacuating IncidentStabilized IncidentClosedVertex!
+
+  command DeclareIncident { incidentId commandId severity hazardousMaterial:Bool }
+  command AssignCommander { incidentId commandId commander:Text }
+  command EstablishSafetyPerimeter { incidentId commandId }
+  command DispatchResource { incidentId commandId resourceId }
+  command OrderEvacuation { incidentId commandId }
+  command RecordTriage { incidentId commandId redCount:Int yellowCount:Int greenCount:Int pendingTransferNeeds:Int }
+  command CompleteEvacuation { incidentId commandId }
+  command ReconsiderTransferPlan { incidentId commandId hospitalId:Text snapshotId:Text region:Text availableIcuBeds:Int pendingTransferNeeds:Int }
+  command CloseIncident { incidentId commandId }
+
+  event IncidentDeclared = fields(DeclareIncident)
+  event CommanderAssigned = fields(AssignCommander)
+  event SafetyPerimeterEstablished = fields(EstablishSafetyPerimeter)
+  event ResourceDispatched = fields(DispatchResource)
+  event EvacuationOrdered = fields(OrderEvacuation)
+  event IncidentTriageRecorded = fields(RecordTriage)
+  event EvacuationCompleted = fields(CompleteEvacuation)
+  event TransferPlanReconsidered = fields(ReconsiderTransferPlan)
+  event IncidentClosed = fields(CloseIncident)
+
+  IncidentNotDeclared -- DeclareIncident -->
+    write incidentId := cmd.incidentId
+    write severity := cmd.severity
+    write incidentState := IncidentVertex.IncidentOpen
+    emit IncidentDeclared
+    goto IncidentOpen
+  IncidentOpen -- AssignCommander -->
+    write commander := cmd.commander
+    write hasCommander := true
+    emit CommanderAssigned
+    goto IncidentOpen
+  IncidentOpen -- EstablishSafetyPerimeter -->
+    write safetyPerimeterEstablished := true
+    emit SafetyPerimeterEstablished
+    goto IncidentOpen
+  IncidentOpen -- DispatchResource --> emit ResourceDispatched ; goto IncidentOpen
+  IncidentOpen -- RecordTriage -->
+    write redCount := cmd.redCount
+    write yellowCount := cmd.yellowCount
+    write greenCount := cmd.greenCount
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit IncidentTriageRecorded
+    goto IncidentOpen
+  IncidentOpen -- ReconsiderTransferPlan -->
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit TransferPlanReconsidered
+    goto IncidentOpen
+  IncidentOpen -- OrderEvacuation -->
+    guard severity == Severity.MassCasualty && hasCommander
+    write evacuationOrdered := true
+    write incidentState := IncidentVertex.IncidentEvacuating
+    emit EvacuationOrdered
+    goto IncidentEvacuating
+  IncidentOpen -- CloseIncident -->
+    guard closed == false && evacuationComplete
+    write closed := true
+    write incidentState := IncidentVertex.IncidentClosedVertex
+    emit IncidentClosed
+    goto IncidentClosedVertex
+  IncidentEvacuating -- RecordTriage -->
+    write redCount := cmd.redCount
+    write yellowCount := cmd.yellowCount
+    write greenCount := cmd.greenCount
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit IncidentTriageRecorded
+    goto IncidentEvacuating
+  IncidentEvacuating -- ReconsiderTransferPlan -->
+    write pendingTransferNeeds := cmd.pendingTransferNeeds
+    emit TransferPlanReconsidered
+    goto IncidentEvacuating
+  IncidentEvacuating -- CompleteEvacuation -->
+    write evacuationComplete := true
+    write incidentState := IncidentVertex.IncidentStabilized
+    emit EvacuationCompleted
+    goto IncidentStabilized
+  IncidentStabilized -- CloseIncident -->
+    guard closed == false && evacuationComplete
+    write closed := true
+    write incidentState := IncidentVertex.IncidentClosedVertex
+    emit IncidentClosed
+    goto IncidentClosedVertex
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection incident_dashboard key=incidentId
+    status-map {
+      IncidentDeclared=>open
+      CommanderAssigned=>open
+      SafetyPerimeterEstablished=>open
+      ResourceDispatched=>open
+      EvacuationOrdered=>evacuating
+      IncidentTriageRecorded=>active
+      EvacuationCompleted=>stabilized
+      TransferPlanReconsidered=>active
+      IncidentClosed=>closed
+    }
+
+aggregate Triage
+  regs
+    triageRecordId TriageRecordId = placeholder
+    incidentId IncidentId = placeholder
+    redCount Int = 0
+    yellowCount Int = 0
+    greenCount Int = 0
+    transportPriority Int = 0
+    transferNeedEmitted Bool = False
+    triageState TriageVertex = TriageNotStarted
+  states TriageNotStarted TriageCollecting
+
+  command StartTriage { triageRecordId incidentId commandId }
+  command MarkRed { triageRecordId incidentId commandId redCount:Int transportPriority:Int }
+  command MarkYellow { triageRecordId incidentId commandId yellowCount:Int }
+  command MarkGreen { triageRecordId incidentId commandId greenCount:Int }
+
+  event TriageStarted = fields(StartTriage)
+  event RedPatientMarked = fields(MarkRed)
+  event YellowPatientMarked = fields(MarkYellow)
+  event GreenPatientMarked = fields(MarkGreen)
+  event TransferNeedEmitted = fields(MarkRed)
+
+  TriageNotStarted -- StartTriage -->
+    write triageRecordId := cmd.triageRecordId
+    write incidentId := cmd.incidentId
+    write triageState := TriageVertex.TriageCollecting
+    emit TriageStarted
+    goto TriageCollecting
+  TriageCollecting -- MarkRed -->
+    guard transferNeedEmitted == false
+    write redCount := cmd.redCount
+    write transportPriority := cmd.transportPriority
+    write transferNeedEmitted := true
+    emit RedPatientMarked
+    emit TransferNeedEmitted
+    goto TriageCollecting
+  TriageCollecting -- MarkYellow -->
+    write yellowCount := cmd.yellowCount
+    emit YellowPatientMarked
+    goto TriageCollecting
+  TriageCollecting -- MarkGreen -->
+    write greenCount := cmd.greenCount
+    emit GreenPatientMarked
+    goto TriageCollecting
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection pending_transfer_needs key=incidentId
+    status-map partial { TransferNeedEmitted=>pending }
+
+aggregate FieldResource
+  regs
+    resourceId ResourceId = placeholder
+    capability ResourceCapability = Ambulance
+    assignedIncidentId IncidentId = placeholder
+    available Bool = False
+    resourceState FieldResourceVertex = ResourceUnregistered
+  states ResourceUnregistered ResourceAvailable ResourceAssignedVertex
+
+  command RegisterResource { resourceId commandId capability }
+  command AssignResource { resourceId commandId incidentId }
+  command ReleaseResource { resourceId commandId incidentId }
+
+  event ResourceRegistered = fields(RegisterResource)
+  event ResourceAssigned = fields(AssignResource)
+  event ResourceReleased = fields(ReleaseResource)
+
+  ResourceUnregistered -- RegisterResource -->
+    write resourceId := cmd.resourceId
+    write capability := cmd.capability
+    write available := true
+    write resourceState := FieldResourceVertex.ResourceAvailable
+    emit ResourceRegistered
+    goto ResourceAvailable
+  ResourceAvailable -- AssignResource -->
+    guard available
+    write assignedIncidentId := incidentId
+    write available := false
+    write resourceState := FieldResourceVertex.ResourceAssignedVertex
+    emit ResourceAssigned
+    goto ResourceAssignedVertex
+  ResourceAssignedVertex -- AssignResource -->
+    guard available
+    write assignedIncidentId := incidentId
+    write available := false
+    emit ResourceAssigned
+    goto ResourceAssignedVertex
+  ResourceAssignedVertex -- ReleaseResource -->
+    write available := true
+    write resourceState := FieldResourceVertex.ResourceAvailable
+    emit ResourceReleased
+    goto ResourceAvailable
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+  projection field_resource_assignments key=resourceId
+    status-map {
+      ResourceRegistered=>available
+      ResourceAssigned=>assigned
+      ResourceReleased=>available
+    }
+
+aggregate Escalation
+  regs
+    incidentId IncidentId = placeholder
+    lastSeverity Severity = Minor
+    escalationLevel Int = 0
+    timerIdScheduled Text = ""
+    acknowledged Bool = False
+    mutualAidDispatched Bool = False
+    terminal Bool = False
+    escalationState EscalationVertex = EscalationIdle
+  states EscalationIdle AwaitingAcknowledgement Escalated EscalationSettled!
+
+  command NoteCriticalIncident { incidentId severity timerId:Text }
+  command AcknowledgeEscalation { incidentId }
+  command MarkEscalationTimerFired { incidentId timerId:Text }
+
+  event CriticalIncidentNoted = fields(NoteCriticalIncident)
+  event EscalationAcknowledged = fields(AcknowledgeEscalation)
+  event EscalationTimerFired = fields(MarkEscalationTimerFired)
+
+  EscalationIdle -- NoteCriticalIncident -->
+    write incidentId := cmd.incidentId
+    write lastSeverity := severity
+    write timerIdScheduled := timerId
+    write escalationState := EscalationVertex.AwaitingAcknowledgement
+    emit CriticalIncidentNoted
+    goto AwaitingAcknowledgement
+  AwaitingAcknowledgement -- AcknowledgeEscalation -->
+    write acknowledged := true
+    write terminal := true
+    write escalationState := EscalationVertex.EscalationSettled
+    emit EscalationAcknowledged
+    goto EscalationSettled
+  AwaitingAcknowledgement -- MarkEscalationTimerFired -->
+    write mutualAidDispatched := true
+    write escalationState := EscalationVertex.Escalated
+    emit EscalationTimerFired
+    goto Escalated
+  Escalated -- AcknowledgeEscalation -->
+    write acknowledged := true
+    write terminal := true
+    write escalationState := EscalationVertex.EscalationSettled
+    emit EscalationAcknowledged
+    goto EscalationSettled
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+process IncidentEscalation
+  name "incident-escalation"
+  input CriticalIncidentDeclared { incidentId severity raisedAt:Time }
+  correlate input.incidentId via idText
+  saga Escalation category "incidentEscalation"
+  target Incident
+  projections [ incident_dashboard ]
+
+  on CriticalIncidentDeclared
+    advance NoteCriticalIncident { incidentId severity timerId=timer.id }
+    schedule escalationDeadline
+
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, emitIndex)
+  rejected => halt
+  poison => halt
+
+  timer escalationDeadline
+    id uuidv5 "incident-escalation-timer:" <> correlationId
+    fireAt input.raisedAt + 5m
+    payload { kind="incident-escalation-deadline" incidentId }
+    fire dispatch Escalation@correlationId MarkEscalationTimerFired { incidentId timerId }
+      fired-event-id uuidv5 "incident-escalation-fired:" <> correlationId
+      on-ok Fired ; on-reject Fired ; on-ambiguous Retry ; on-error Retry ; not-mine Retry
+    decode unknown-status => Cancelled
+    max-attempts 5 dead-letter "incident escalation timer exceeded ceiling"
+
+router ResourceDispatchRouter
+  name "incident-command-resource-dispatch"
+  input ResourceDispatchedInput { incidentId resourceId commandId }
+  key input.resourceId via resourceDispatchKey
+  resolve stable via read-model field_resource_assignments row { resourceId status currentIncidentId }
+  target FieldResource
+  projections [ field_resource_assignments ]
+  dispatch-each AssignResource { resourceId=resolved.resourceId commandId=input.commandId incidentId=input.incidentId }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
+
+router CapacityChangeRouter
+  name "incident-command-capacity-change"
+  input AcceptedHospitalCapacitySnapshot { messageId hospitalId snapshotId region divertStatus availableIcuBeds:Int }
+  key input.messageId via raw
+  resolve stable via read-model capacity_change_candidates row { incidentId pendingTransferNeeds commandId }
+  target Incident
+  projections [ incident_dashboard ]
+  dispatch-each ReconsiderTransferPlan {
+    incidentId=resolved.incidentId
+    commandId=resolved.commandId
+    hospitalId=input.hospitalId
+    snapshotId=input.snapshotId
+    region=input.region
+    availableIcuBeds=input.availableIcuBeds
+    pendingTransferNeeds=resolved.pendingTransferNeeds
+  }
+    on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+  dispatch-id strategy=uuidv5 from=(name, key, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
+
+workflow IncidentEvacuation
+  name "incident-evacuation"
+  in IncidentEvacuationInput { incidentId:Id commander:Text requestedTransportUnits:Int }
+  out EvacuationWorkflowSummary
+  id from input.incidentId via idText
+  body
+    step establish-command-post -> Text
+    step request-transport -> TransportRequest
+    step notify-hospital-capacity -> HospitalNotification
+    await hospital-capacity-acknowledgement -> HospitalCapacityAcknowledgement
+    step mark-evacuation-ready -> EvacuationWorkflowSummary
+
+operation SignalHospitalCapacityAcknowledgement
+  signal hospital-capacity-acknowledgement of IncidentEvacuation
+    key from incidentId via evacuationWorkflowId
+    value HospitalCapacityAcknowledgement
+
+operation RunIncidentEvacuation
+  run IncidentEvacuation
+    input IncidentEvacuationInput
+    outcome -> IncidentEvacuationRun
+
+contract emergency {
+  schemaVersion 1
+  discriminator messageType
+
+  topic incidentEvents "emergency.incident.events"
+  topic hospitalEvents "emergency.hospital.events"
+
+  event IncidentTransferNeedDeclared on incidentEvents {
+    incidentId: typeid "inc"
+    triageRecordId: typeid "tri"
+    region: text
+    patientAcuity: text
+    requiredBedType: text
+    redCount: int
+    requestedByService: text
+  }
+  event TransferReservationRequested on incidentEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    region: text
+    patientAcuity: text
+    requiredBedType: text
+    expirationDeadline: text
+  }
+  event HospitalCapacitySnapshotPublished on hospitalEvents {
+    hospitalId: typeid "hosp"
+    snapshotId: typeid "cap"
+    region: text
+    divertStatus: text
+    capacityLevel: text
+    availableIcuBeds: int
+    staffedIcuBeds: int
+    reservedIcuBeds: int
+    occupiedIcuBeds: int
+  }
+  event TransferReservationAccepted on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    patientAcuity: text
+    requiredBedType: text
+    expirationDeadline: text
+  }
+  event TransferReservationRejected on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    reason: text
+  }
+  event PatientAdmitted on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    admissionOutcome: text
+  }
+  event TransferExpired on hospitalEvents {
+    incidentId: typeid "inc"
+    reservationId: typeid "rsv"
+    hospitalId: typeid "hosp"
+    expiredAt: text
+  }
+}
+
+intake hospitalInbox {
+  contract emergency
+  topic hospitalEvents
+  accept HospitalCapacitySnapshotPublished TransferReservationAccepted TransferReservationRejected PatientAdmitted TransferExpired
+
+  bind source from header "keiro-source" required
+  bind schemaVersion from header "keiro-schema-version" required cross-check body
+  bind messageId from header "keiro-message-id" required cross-check body
+  bind key from kafka-key
+  bind occurredAt from kafka-cursor
+  bind idempotencyKey from body
+
+  dedupe key messageId policy PreferIntegrationMessageId
+  persist = full-envelope
+
+  decode {
+    envelope strict-required lenient-optional
+    body strict schemaVersion == 1
+  }
+
+  disposition {
+    processed => ackOk
+    duplicate => ackOk
+    inProgress => retry 5s
+    previouslyFailed => deadLetter "previous inbox failure"
+    decodeFailed => deadLetter
+    dedupeFailed => deadLetter
+    storeFailed => retry 5s
+  }
+}
+
+emit incidentTransferNeed {
+  contract emergency
+  topic incidentEvents
+  source "incident-command"
+  key incidentId
+  map eventType {
+    "TransferNeedEmitted" => IncidentTransferNeedDeclared
+    _ => skip
+  }
+  messageId derive "msg" hole
+  idempotencyKey derive hole
+}
+
+publisher incidentPublisher {
+  emit incidentTransferNeed
+  ordering PerKeyHeadOfLine
+  maxAttempts 10
+  backoff constant 2s
+  outboxId stable from messageId
+}
diff --git a/test/fixtures/topology/incident-command.topology.golden.json b/test/fixtures/topology/incident-command.topology.golden.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/incident-command.topology.golden.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{"events":["IncidentTransferNeedDeclared"],"topic":"emergency.incident.events","topicAlias":"incidentEvents"},"from":{"kind":"emit","name":"incidentTransferNeed"},"relation":"publishes","to":{"kind":"contract","name":"emergency"}},{"attributes":{"events":["HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"from":{"kind":"intake","name":"hospitalInbox"},"relation":"subscribes","to":{"kind":"contract","name":"emergency"}},{"attributes":{},"from":{"kind":"operation","name":"RunIncidentEvacuation"},"relation":"runs","to":{"kind":"workflow","name":"IncidentEvacuation"}},{"attributes":{"label":"hospital-capacity-acknowledgement"},"from":{"kind":"operation","name":"SignalHospitalCapacityAcknowledgement"},"relation":"signals","to":{"kind":"workflow","name":"IncidentEvacuation"}},{"attributes":{"command":"MarkEscalationTimerFired"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"dispatches","to":{"kind":"aggregate","name":"Escalation"}},{"attributes":{"table":"incident_dashboard"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"projects","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"category":"incidentEscalation"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"saga","to":{"kind":"aggregate","name":"Escalation"}},{"attributes":{},"from":{"kind":"projection-owner","name":"capacity_change_candidates_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"capacity_change_candidates_writer"},"relation":"writes","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"writes","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"writes","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{},"from":{"kind":"publisher","name":"incidentPublisher"},"relation":"delivers","to":{"kind":"emit","name":"incidentTransferNeed"}},{"attributes":{},"from":{"kind":"read-model","name":"capacity_change_candidates"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"capacity_change_candidates"},"relation":"observes","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"read-model","name":"command_audit_history"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"command_audit_history"},"relation":"observes","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"read-model","name":"evacuation_zones"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"evacuation_zones"},"relation":"observes","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{"command":"ReconsiderTransferPlan"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"table":"incident_dashboard"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"projects","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"reads","to":{"kind":"read-model","name":"capacity_change_candidates"}},{"attributes":{"command":"AssignResource"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"FieldResource"}},{"attributes":{"table":"field_resource_assignments"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"projects","to":{"kind":"aggregate","name":"FieldResource"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"reads","to":{"kind":"read-model","name":"field_resource_assignments"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"incident-command.keiro","sha256":"sha256:deb5b334a630431d78f82541b0de4a912f2b19a5f08709634bc326e16d2b47ff"}],"nodes":[{"context":"incident-command","details":{"category":"escalation","commands":["NoteCriticalIncident","AcknowledgeEscalation","MarkEscalationTimerFired"],"events":["CriticalIncidentNoted","EscalationAcknowledged","EscalationTimerFired"],"machine":{"edges":[{"command":"NoteCriticalIncident","edgeIndex":0,"events":["CriticalIncidentNoted"],"mode":"Live","source":"EscalationIdle","target":"AwaitingAcknowledgement"},{"command":"AcknowledgeEscalation","edgeIndex":0,"events":["EscalationAcknowledged"],"mode":"Live","source":"AwaitingAcknowledgement","target":"EscalationSettled"},{"command":"MarkEscalationTimerFired","edgeIndex":1,"events":["EscalationTimerFired"],"mode":"Live","source":"AwaitingAcknowledgement","target":"Escalated"},{"command":"AcknowledgeEscalation","edgeIndex":0,"events":["EscalationAcknowledged"],"mode":"Live","source":"Escalated","target":"EscalationSettled"}],"initial":"EscalationIdle","ownership":"generated","states":[{"name":"EscalationIdle","terminal":false},{"name":"AwaitingAcknowledgement","terminal":false},{"name":"Escalated","terminal":false},{"name":"EscalationSettled","terminal":true}]},"states":["EscalationIdle","AwaitingAcknowledgement","Escalated","EscalationSettled"]},"kind":"aggregate","line":423,"member":"incident-command.keiro","name":"Escalation"},{"context":"incident-command","details":{"category":"fieldResource","commands":["RegisterResource","AssignResource","ReleaseResource"],"events":["ResourceRegistered","ResourceAssigned","ResourceReleased"],"machine":{"edges":[{"command":"RegisterResource","edgeIndex":0,"events":["ResourceRegistered"],"mode":"Live","source":"ResourceUnregistered","target":"ResourceAvailable"},{"command":"AssignResource","edgeIndex":0,"events":["ResourceAssigned"],"mode":"Live","source":"ResourceAvailable","target":"ResourceAssignedVertex"},{"command":"AssignResource","edgeIndex":0,"events":["ResourceAssigned"],"mode":"Live","source":"ResourceAssignedVertex","target":"ResourceAssignedVertex"},{"command":"ReleaseResource","edgeIndex":1,"events":["ResourceReleased"],"mode":"Live","source":"ResourceAssignedVertex","target":"ResourceAvailable"}],"initial":"ResourceUnregistered","ownership":"generated","states":[{"name":"ResourceUnregistered","terminal":false},{"name":"ResourceAvailable","terminal":false},{"name":"ResourceAssignedVertex","terminal":false}]},"states":["ResourceUnregistered","ResourceAvailable","ResourceAssignedVertex"]},"kind":"aggregate","line":372,"member":"incident-command.keiro","name":"FieldResource"},{"context":"incident-command","details":{"category":"incident","commands":["DeclareIncident","AssignCommander","EstablishSafetyPerimeter","DispatchResource","OrderEvacuation","RecordTriage","CompleteEvacuation","ReconsiderTransferPlan","CloseIncident"],"events":["IncidentDeclared","CommanderAssigned","SafetyPerimeterEstablished","ResourceDispatched","EvacuationOrdered","IncidentTriageRecorded","EvacuationCompleted","TransferPlanReconsidered","IncidentClosed"],"machine":{"edges":[{"command":"DeclareIncident","edgeIndex":0,"events":["IncidentDeclared"],"mode":"Live","source":"IncidentNotDeclared","target":"IncidentOpen"},{"command":"AssignCommander","edgeIndex":0,"events":["CommanderAssigned"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"EstablishSafetyPerimeter","edgeIndex":1,"events":["SafetyPerimeterEstablished"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"DispatchResource","edgeIndex":2,"events":["ResourceDispatched"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"RecordTriage","edgeIndex":3,"events":["IncidentTriageRecorded"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"ReconsiderTransferPlan","edgeIndex":4,"events":["TransferPlanReconsidered"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"OrderEvacuation","edgeIndex":5,"events":["EvacuationOrdered"],"mode":"Live","source":"IncidentOpen","target":"IncidentEvacuating"},{"command":"CloseIncident","edgeIndex":6,"events":["IncidentClosed"],"mode":"Live","source":"IncidentOpen","target":"IncidentClosedVertex"},{"command":"RecordTriage","edgeIndex":0,"events":["IncidentTriageRecorded"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentEvacuating"},{"command":"ReconsiderTransferPlan","edgeIndex":1,"events":["TransferPlanReconsidered"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentEvacuating"},{"command":"CompleteEvacuation","edgeIndex":2,"events":["EvacuationCompleted"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentStabilized"},{"command":"CloseIncident","edgeIndex":0,"events":["IncidentClosed"],"mode":"Live","source":"IncidentStabilized","target":"IncidentClosedVertex"}],"initial":"IncidentNotDeclared","ownership":"generated","states":[{"name":"IncidentNotDeclared","terminal":false},{"name":"IncidentOpen","terminal":false},{"name":"IncidentEvacuating","terminal":false},{"name":"IncidentStabilized","terminal":false},{"name":"IncidentClosedVertex","terminal":true}]},"states":["IncidentNotDeclared","IncidentOpen","IncidentEvacuating","IncidentStabilized","IncidentClosedVertex"]},"kind":"aggregate","line":209,"member":"incident-command.keiro","name":"Incident"},{"context":"incident-command","details":{"category":"triage","commands":["StartTriage","MarkRed","MarkYellow","MarkGreen"],"events":["TriageStarted","RedPatientMarked","YellowPatientMarked","GreenPatientMarked","TransferNeedEmitted"],"machine":{"edges":[{"command":"StartTriage","edgeIndex":0,"events":["TriageStarted"],"mode":"Live","source":"TriageNotStarted","target":"TriageCollecting"},{"command":"MarkRed","edgeIndex":0,"events":["RedPatientMarked","TransferNeedEmitted"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"},{"command":"MarkYellow","edgeIndex":1,"events":["YellowPatientMarked"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"},{"command":"MarkGreen","edgeIndex":2,"events":["GreenPatientMarked"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"}],"initial":"TriageNotStarted","ownership":"generated","states":[{"name":"TriageNotStarted","terminal":false},{"name":"TriageCollecting","terminal":false}]},"states":["TriageNotStarted","TriageCollecting"]},"kind":"aggregate","line":322,"member":"incident-command.keiro","name":"Triage"},{"context":"incident-command","details":{"discriminator":"messageType","events":["IncidentTransferNeedDeclared","TransferReservationRequested","HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"schemaVersion":1,"topics":[{"alias":"incidentEvents","topic":"emergency.incident.events"},{"alias":"hospitalEvents","topic":"emergency.hospital.events"}]},"kind":"contract","line":552,"member":"incident-command.keiro","name":"emergency"},{"context":"incident-command","details":{"contract":"emergency","events":["IncidentTransferNeedDeclared"],"key":"incidentId","source":"incident-command","topic":"emergency.incident.events","topicAlias":"incidentEvents"},"kind":"emit","line":646,"member":"incident-command.keiro","name":"incidentTransferNeed"},{"context":"incident-command","details":{"accepts":["HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"contract":"emergency","dedupe":{"key":"messageId","policy":"PreferIntegrationMessageId"},"idempotence":"inbox-table","topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"kind":"intake","line":615,"member":"incident-command.keiro","name":"hospitalInbox"},{"context":"incident-command","details":{"form":"run","subject":"IncidentEvacuation"},"kind":"operation","line":547,"member":"incident-command.keiro","name":"RunIncidentEvacuation"},{"context":"incident-command","details":{"form":"signal","label":"hospital-capacity-acknowledgement","subject":"IncidentEvacuation"},"kind":"operation","line":542,"member":"incident-command.keiro","name":"SignalHospitalCapacityAcknowledgement"},{"context":"incident-command","details":{"correlate":{"field":"incidentId","via":"idText"},"inputs":["CriticalIncidentDeclared"],"poison":"halt","projections":["incident_dashboard"],"rejected":"halt","saga":{"aggregate":"Escalation","category":"incidentEscalation"},"stableName":"incident-escalation","target":"Incident","timers":["escalationDeadline"]},"kind":"process","line":470,"member":"incident-command.keiro","name":"IncidentEscalation"},{"context":"incident-command","details":{"dedup":"incident-command-capacity-change-router-v1","delivery":"subscription","group":"incident_reporting","order":30,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"category","name":"hospitalInbox"}],"subscription":"incident-command-capacity-change-router","targets":["capacity_change_candidates_table"]},"kind":"projection-owner","line":98,"member":"incident-command.keiro","name":"capacity_change_candidates_writer"},{"context":"incident-command","details":{"dedup":"incident-command-command-audit-v1","delivery":"subscription","group":"incident_reporting","order":20,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Incident"}],"subscription":"incident-command-command-audit","targets":["command_audit_history_table"]},"kind":"projection-owner","line":86,"member":"incident-command.keiro","name":"command_audit_history_writer"},{"context":"incident-command","details":{"dedup":null,"delivery":"inline","group":"incident_reporting","order":10,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Incident"}],"subscription":null,"targets":["evacuation_zones_table"]},"kind":"projection-owner","line":77,"member":"incident-command.keiro","name":"evacuation_zones_writer"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"pending_transfer_needs"},"kind":"projection-target","line":66,"member":"incident-command.keiro","name":"capacity_change_candidates_table"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"command_audit_history"},"kind":"projection-target","line":60,"member":"incident-command.keiro","name":"command_audit_history_table"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"evacuation_zones"},"kind":"projection-target","line":54,"member":"incident-command.keiro","name":"evacuation_zones_table"},{"context":"incident-command","details":{"backoff":{"kind":"constant","max":null,"multiplier":null,"window":"2s"},"emit":"incidentTransferNeed","maxAttempts":10,"ordering":"PerKeyHeadOfLine","outboxField":"messageId"},"kind":"publisher","line":659,"member":"incident-command.keiro","name":"incidentPublisher"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["capacity_change_candidates_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":196,"member":"incident-command.keiro","name":"capacity_change_candidates"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["command_audit_history_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":180,"member":"incident-command.keiro","name":"command_audit_history"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["evacuation_zones_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":133,"member":"incident-command.keiro","name":"evacuation_zones"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"field_resource_assignments","version":1},"kind":"read-model","line":149,"member":"incident-command.keiro","name":"field_resource_assignments"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"incident_dashboard","version":1},"kind":"read-model","line":110,"member":"incident-command.keiro","name":"incident_dashboard"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"pending_transfer_needs","version":1},"kind":"read-model","line":164,"member":"incident-command.keiro","name":"pending_transfer_needs"},{"context":"incident-command","details":{"order":["evacuation_zones_table","command_audit_history_table","capacity_change_candidates_table"],"targets":["evacuation_zones_table","command_audit_history_table","capacity_change_candidates_table"]},"kind":"rebuild-group","line":72,"member":"incident-command.keiro","name":"incident_reporting"},{"context":"incident-command","details":{"input":"AcceptedHospitalCapacitySnapshot","projections":["incident_dashboard"],"resolvesFrom":"capacity_change_candidates","stableName":"incident-command-capacity-change","target":"Incident"},"kind":"router","line":509,"member":"incident-command.keiro","name":"CapacityChangeRouter"},{"context":"incident-command","details":{"input":"ResourceDispatchedInput","projections":["field_resource_assignments"],"resolvesFrom":"field_resource_assignments","stableName":"incident-command-resource-dispatch","target":"FieldResource"},"kind":"router","line":496,"member":"incident-command.keiro","name":"ResourceDispatchRouter"},{"context":"incident-command","details":{"input":"IncidentEvacuationInput","output":"EvacuationWorkflowSummary","stableName":"incident-evacuation","steps":[{"form":"step","label":"establish-command-post"},{"form":"step","label":"request-transport"},{"form":"step","label":"notify-hospital-capacity"},{"form":"await","label":"hospital-capacity-acknowledgement"},{"form":"step","label":"mark-evacuation-ready"}]},"kind":"workflow","line":530,"member":"incident-command.keiro","name":"IncidentEvacuation"}],"schema":"keiro-dsl/service-topology/1","service":"incident-command","source":{"kind":"source","path":"incident-command.keiro"}}
diff --git a/test/fixtures/topology/projection-catalog.keiro b/test/fixtures/topology/projection-catalog.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/projection-catalog.keiro
@@ -0,0 +1,309 @@
+language keiro-dsl 6
+context catalog-demo
+
+mapped opaque OrderPayload {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=OrderPayload
+  codec = "catalog-demo.order-payload.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.orderPayloadCases"
+}
+
+mapped opaque SharedReference {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=SharedReference
+  codec = "catalog-demo.shared-reference.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.sharedReferenceCases"
+}
+
+mapped structural record QualificationPayload {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=QualificationPayload
+  binding = "CatalogDemo.MappedBindings.qualificationPayloadBinding"
+  binding-version = "1"
+  canonical-type = "catalog-demo.QualificationPayload.v1"
+  fixtures = "CatalogDemo.MappedBindings.qualificationPayloadCases"
+  wire object constructor=QualificationPayload unknown-fields=reject {
+    qualificationId as "qualification_id" : Text          required
+    note            as "note"             : Optional Text required
+  }
+}
+
+mapped opaque QueueMetadata {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=QueueMetadata
+  codec = "catalog-demo.queue-metadata.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.queueMetadataCases"
+}
+
+mapped opaque QueryCriteria {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=QueryCriteria
+  codec = "catalog-demo.query-criteria.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.queryCriteriaCases"
+}
+
+mapped opaque QualificationResult {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=QualificationResult
+  codec = "catalog-demo.qualification-result.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.qualificationResultCases"
+}
+
+mapped opaque RegisterState {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=RegisterState
+  codec = "catalog-demo.register-state.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.registerStateCases"
+  initial = "CatalogDemo.MappedBindings.initialRegisterState"
+}
+
+mapped opaque UnusedQualification {
+  haskell package=keiro-dsl module=CatalogDemo.MappedDomain type=UnusedQualification
+  codec = "catalog-demo.unused-qualification.json"
+  version = "1"
+  fixtures = "CatalogDemo.MappedBindings.unusedQualificationCases"
+}
+
+target order_summary {
+  schema = "sales"
+  table = "order_summary"
+  reset = clear
+}
+
+target audit_log {
+  schema = "sales"
+  table = "audit_log"
+  reset = preserve
+}
+
+target order_totals {
+  schema = "sales"
+  table = "order_totals"
+  reset = clear
+  depends-on = [ order_summary ]
+}
+
+target shipment_summary {
+  schema = "sales"
+  table = "shipment_summary"
+  reset = preserve
+}
+
+rebuild-group reporting {
+  targets = [ order_summary order_totals audit_log ]
+  order = [ order_summary order_totals audit_log ]
+}
+
+rebuild-group shipping {
+  targets = [ shipment_summary ]
+  order = [ shipment_summary ]
+}
+
+projection-revision reporting_v1 {
+  group = reporting
+  target order_summary {
+    schema-version = "v1"
+    provisioner = "reporting-v1-order-summary"
+    provisioner-version = 1
+    expected-shape = "order-summary-v1"
+    validator = "reporting-v1-order-summary-validator"
+    validator-version = 1
+    promotion index "order_summary_status_idx__v1" -> "order_summary_status_idx"
+  }
+  target order_totals {
+    schema-version = "v1"
+    provisioner = "reporting-v1-order-totals"
+    provisioner-version = 1
+    expected-shape = "order-totals-v1"
+    validator = "reporting-v1-order-totals-validator"
+    validator-version = 1
+    promotion constraint "order_totals_pkey__v1" -> "order_totals_pkey"
+  }
+  target audit_log {
+    schema-version = "v1"
+    provisioner = "reporting-v1-audit-log"
+    provisioner-version = 1
+    expected-shape = "audit-log-v1"
+    validator = "reporting-v1-audit-log-validator"
+    validator-version = 1
+    promotion owned-sequence "audit_log_id_seq__v1" -> "audit_log_id_seq"
+  }
+}
+
+projection-revision reporting_v2 {
+  group = reporting
+  target order_summary {
+    schema-version = "v2"
+    provisioner = "reporting-v2-order-summary"
+    provisioner-version = 1
+    expected-shape = "order-summary-v2"
+    validator = "reporting-v2-order-summary-validator"
+    validator-version = 1
+    promotion index "order_summary_status_idx__v2" -> "order_summary_status_idx"
+  }
+  target order_totals {
+    schema-version = "v2"
+    provisioner = "reporting-v2-order-totals"
+    provisioner-version = 1
+    expected-shape = "order-totals-v2"
+    validator = "reporting-v2-order-totals-validator"
+    validator-version = 1
+    promotion constraint "order_totals_pkey__v2" -> "order_totals_pkey"
+  }
+  target audit_log {
+    schema-version = "v2"
+    provisioner = "reporting-v2-audit-log"
+    provisioner-version = 1
+    expected-shape = "audit-log-v2"
+    validator = "reporting-v2-audit-log-validator"
+    validator-version = 1
+    promotion owned-sequence "audit_log_id_seq__v2" -> "audit_log_id_seq"
+  }
+}
+
+projection-owner order_summary_writer {
+  source = aggregate Orders
+  delivery = inline
+  group = reporting
+  targets = [ order_summary order_totals ]
+  order = 10
+  replay = explicit
+}
+
+projection-owner shipment_writer {
+  source = aggregate Shipments
+  delivery = inline
+  group = shipping
+  targets = [ shipment_summary ]
+  order = 10
+  replay = live-only "carrier events cannot be replayed"
+}
+
+readmodel order_inline {
+  columns {
+    order_id text required
+  }
+  query input = QueryCriteria
+  query result = Optional QualificationResult
+  version = 1
+  shape = "fnv1a:784e511a19f74c58"
+  freshness = immediate
+  group = reporting
+  targets = [ order_summary ]
+}
+
+readmodel order_totals_lookup {
+  columns {
+    total bigint required
+  }
+  version = 1
+  shape = "fnv1a:768a23d719dcb4d4"
+  freshness = immediate
+  group = reporting
+  targets = [ order_totals ]
+}
+
+readmodel order_overview {
+  columns {
+    order_id text required
+    total bigint required
+  }
+  version = 1
+  shape = "fnv1a:99577ebb66c83b81"
+  freshness = immediate
+  group = reporting
+  targets = [ order_summary order_totals ]
+  backing = order_summary
+}
+
+external-read order_totals_reader {
+  version = 1
+  query = order_totals_lookup
+  result-schema = "app_contract"
+  result-type = "order_totals_row_v1"
+  compatible-revisions = [ reporting_v1 reporting_v2 ]
+  surface-generation = 1
+}
+
+workqueue qualification_jobs {
+  queue logical = "catalog-demo.qualification-jobs"
+  derive physical = "catalog_demo_qualification_jobs"
+         dlq = "catalog_demo_qualification_jobs_dlq"
+         table = "pgmq.q_catalog_demo_qualification_jobs"
+
+  payload QualificationJob {
+    sharedReference -> "shared_reference" : SharedReference
+    qualification   -> "payload"          : QualificationPayload
+    metadata        -> "metadata"         : QueueMetadata
+    maybeMetadata   -> "maybe_metadata"   : Optional QueueMetadata
+    attempt         -> "attempt"          int
+    trace           -> "trace"            : Json
+  }
+
+  retry maxRetries = 3 delay = 1s dlq = on
+
+  disposition {
+    storeFailure -> retry 1s
+    commandRejected -> deadLetter
+    decodeFailure -> deadLetter
+    onCodecReject -> deadLetter
+  }
+}
+
+readmodel shipmentLookup {
+  columns {
+    shipment_id text required
+  }
+  version = 1
+  shape = "fnv1a:d0c39c966ea2f0b4"
+  freshness = immediate
+  group = shipping
+  targets = [ shipment_summary ]
+}
+
+readmodel catalogAudit {
+  columns {
+    event_id text required
+  }
+  version = 1
+  shape = "fnv1a:9682af3ada04bf50"
+  freshness = immediate
+  group = reporting
+  targets = [ audit_log ]
+}
+
+projection-owner audit_writer {
+  source = category "audit"
+  delivery = subscription
+  group = reporting
+  targets = [ audit_log ]
+  order = 20
+  subscription = "catalog-demo-audit"
+  dedup = "catalog-demo-audit-v1"
+  checkpoint-on-missing = from-current-head
+  replay = explicit
+}
+
+aggregate Orders
+  regs
+    total Natural = 0
+    qualificationState RegisterState = initial
+  states Empty Recorded!
+
+  command RecordOrder { amount:Natural orderPayload:OrderPayload sharedReference:SharedReference }
+  event OrderRecorded = fields(RecordOrder)
+
+  Empty -- RecordOrder --> write total := amount ; emit OrderRecorded ; goto Recorded
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
+
+aggregate Shipments
+  regs
+    accepted Bool = False
+  states Empty Recorded!
+
+  command RecordShipment { sharedReference:SharedReference accepted:Bool }
+  event ShipmentRecorded = fields(RecordShipment)
+
+  Empty -- RecordShipment --> write accepted := cmd.accepted ; emit ShipmentRecorded ; goto Recorded
+
+  wire kind=ctorName fields=camelCase schemaVersion=1
diff --git a/test/fixtures/topology/projection-catalog.topology.golden.json b/test/fixtures/topology/projection-catalog.topology.golden.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/projection-catalog.topology.golden.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{},"from":{"kind":"external-read","name":"order_totals_reader_v1"},"relation":"compatible-with","to":{"kind":"projection-revision","name":"reporting_v1"}},{"attributes":{},"from":{"kind":"external-read","name":"order_totals_reader_v1"},"relation":"compatible-with","to":{"kind":"projection-revision","name":"reporting_v2"}},{"attributes":{},"from":{"kind":"external-read","name":"order_totals_reader_v1"},"relation":"exposes","to":{"kind":"read-model","name":"order_totals_lookup"}},{"attributes":{},"from":{"kind":"projection-owner","name":"audit_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"audit_writer"},"relation":"writes","to":{"kind":"projection-target","name":"audit_log"}},{"attributes":{},"from":{"kind":"projection-owner","name":"order_summary_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Orders"}},{"attributes":{},"from":{"kind":"projection-owner","name":"order_summary_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"order_summary_writer"},"relation":"writes","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{},"from":{"kind":"projection-owner","name":"order_summary_writer"},"relation":"writes","to":{"kind":"projection-target","name":"order_totals"}},{"attributes":{},"from":{"kind":"projection-owner","name":"shipment_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Shipments"}},{"attributes":{},"from":{"kind":"projection-owner","name":"shipment_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"shipping"}},{"attributes":{},"from":{"kind":"projection-owner","name":"shipment_writer"},"relation":"writes","to":{"kind":"projection-target","name":"shipment_summary"}},{"attributes":{"schemaVersion":"v1"},"from":{"kind":"projection-revision","name":"reporting_v1"},"relation":"revises","to":{"kind":"projection-target","name":"audit_log"}},{"attributes":{"schemaVersion":"v1"},"from":{"kind":"projection-revision","name":"reporting_v1"},"relation":"revises","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{"schemaVersion":"v1"},"from":{"kind":"projection-revision","name":"reporting_v1"},"relation":"revises","to":{"kind":"projection-target","name":"order_totals"}},{"attributes":{},"from":{"kind":"projection-revision","name":"reporting_v1"},"relation":"revises","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{"schemaVersion":"v2"},"from":{"kind":"projection-revision","name":"reporting_v2"},"relation":"revises","to":{"kind":"projection-target","name":"audit_log"}},{"attributes":{"schemaVersion":"v2"},"from":{"kind":"projection-revision","name":"reporting_v2"},"relation":"revises","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{"schemaVersion":"v2"},"from":{"kind":"projection-revision","name":"reporting_v2"},"relation":"revises","to":{"kind":"projection-target","name":"order_totals"}},{"attributes":{},"from":{"kind":"projection-revision","name":"reporting_v2"},"relation":"revises","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"projection-target","name":"order_totals"},"relation":"depends-on","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{},"from":{"kind":"read-model","name":"catalogAudit"},"relation":"member-of","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"catalogAudit"},"relation":"observes","to":{"kind":"projection-target","name":"audit_log"}},{"attributes":{},"from":{"kind":"read-model","name":"order_inline"},"relation":"member-of","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"order_inline"},"relation":"observes","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{},"from":{"kind":"read-model","name":"order_overview"},"relation":"backed-by","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{},"from":{"kind":"read-model","name":"order_overview"},"relation":"member-of","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"order_overview"},"relation":"observes","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{},"from":{"kind":"read-model","name":"order_overview"},"relation":"observes","to":{"kind":"projection-target","name":"order_totals"}},{"attributes":{},"from":{"kind":"read-model","name":"order_totals_lookup"},"relation":"member-of","to":{"kind":"rebuild-group","name":"reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"order_totals_lookup"},"relation":"observes","to":{"kind":"projection-target","name":"order_totals"}},{"attributes":{},"from":{"kind":"read-model","name":"shipmentLookup"},"relation":"member-of","to":{"kind":"rebuild-group","name":"shipping"}},{"attributes":{},"from":{"kind":"read-model","name":"shipmentLookup"},"relation":"observes","to":{"kind":"projection-target","name":"shipment_summary"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"reporting"},"relation":"groups","to":{"kind":"projection-target","name":"audit_log"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"reporting"},"relation":"groups","to":{"kind":"projection-target","name":"order_summary"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"reporting"},"relation":"groups","to":{"kind":"projection-target","name":"order_totals"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"shipping"},"relation":"groups","to":{"kind":"projection-target","name":"shipment_summary"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"projection-catalog.keiro","sha256":"sha256:66f0a5130e1963b07be31a11bf95dbe6f023300b98fd11337034b2a904b32a43"}],"nodes":[{"context":"catalog-demo","details":{"category":"orders","commands":["RecordOrder"],"events":["OrderRecorded"],"machine":{"edges":[{"command":"RecordOrder","edgeIndex":0,"events":["OrderRecorded"],"mode":"Live","source":"Empty","target":"Recorded"}],"initial":"Empty","ownership":"generated","states":[{"name":"Empty","terminal":false},{"name":"Recorded","terminal":true}]},"states":["Empty","Recorded"]},"kind":"aggregate","line":286,"member":"projection-catalog.keiro","name":"Orders"},{"context":"catalog-demo","details":{"category":"shipments","commands":["RecordShipment"],"events":["ShipmentRecorded"],"machine":{"edges":[{"command":"RecordShipment","edgeIndex":0,"events":["ShipmentRecorded"],"mode":"Live","source":"Empty","target":"Recorded"}],"initial":"Empty","ownership":"generated","states":[{"name":"Empty","terminal":false},{"name":"Recorded","terminal":true}]},"states":["Empty","Recorded"]},"kind":"aggregate","line":299,"member":"projection-catalog.keiro","name":"Shipments"},{"context":"catalog-demo","details":{"compatibleRevisions":["reporting_v1","reporting_v2"],"contract":"order_totals_reader","queryModel":"order_totals_lookup","resultSchema":"app_contract","resultType":"order_totals_row_v1","surfaceGeneration":1,"version":1},"kind":"external-read","line":218,"member":"projection-catalog.keiro","name":"order_totals_reader_v1"},{"context":"catalog-demo","details":{"dedup":"catalog-demo-audit-v1","delivery":"subscription","group":"reporting","order":20,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"category","name":"audit"}],"subscription":"catalog-demo-audit","targets":["audit_log"]},"kind":"projection-owner","line":274,"member":"projection-catalog.keiro","name":"audit_writer"},{"context":"catalog-demo","details":{"dedup":null,"delivery":"inline","group":"reporting","order":10,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Orders"}],"subscription":null,"targets":["order_summary","order_totals"]},"kind":"projection-owner","line":163,"member":"projection-catalog.keiro","name":"order_summary_writer"},{"context":"catalog-demo","details":{"dedup":null,"delivery":"inline","group":"shipping","order":10,"replay":{"mode":"live-only","reason":"carrier events cannot be replayed"},"sources":[{"kind":"aggregate","name":"Shipments"}],"subscription":null,"targets":["shipment_summary"]},"kind":"projection-owner","line":172,"member":"projection-catalog.keiro","name":"shipment_writer"},{"context":"catalog-demo","details":{"group":"reporting","targets":[{"schemaVersion":"v1","target":"order_summary"},{"schemaVersion":"v1","target":"order_totals"},{"schemaVersion":"v1","target":"audit_log"}]},"kind":"projection-revision","line":101,"member":"projection-catalog.keiro","name":"reporting_v1"},{"context":"catalog-demo","details":{"group":"reporting","targets":[{"schemaVersion":"v2","target":"order_summary"},{"schemaVersion":"v2","target":"order_totals"},{"schemaVersion":"v2","target":"audit_log"}]},"kind":"projection-revision","line":132,"member":"projection-catalog.keiro","name":"reporting_v2"},{"context":"catalog-demo","details":{"dependsOn":[],"reset":"preserve","schema":"sales","table":"audit_log"},"kind":"projection-target","line":72,"member":"projection-catalog.keiro","name":"audit_log"},{"context":"catalog-demo","details":{"dependsOn":[],"reset":"clear","schema":"sales","table":"order_summary"},"kind":"projection-target","line":66,"member":"projection-catalog.keiro","name":"order_summary"},{"context":"catalog-demo","details":{"dependsOn":["order_summary"],"reset":"clear","schema":"sales","table":"order_totals"},"kind":"projection-target","line":78,"member":"projection-catalog.keiro","name":"order_totals"},{"context":"catalog-demo","details":{"dependsOn":[],"reset":"preserve","schema":"sales","table":"shipment_summary"},"kind":"projection-target","line":85,"member":"projection-catalog.keiro","name":"shipment_summary"},{"context":"catalog-demo","details":{"backingTarget":null,"group":"reporting","observedTargets":["audit_log"],"schema":null,"table":null,"version":1},"kind":"read-model","line":263,"member":"projection-catalog.keiro","name":"catalogAudit"},{"context":"catalog-demo","details":{"backingTarget":null,"group":"reporting","observedTargets":["order_summary"],"schema":null,"table":null,"version":1},"kind":"read-model","line":181,"member":"projection-catalog.keiro","name":"order_inline"},{"context":"catalog-demo","details":{"backingTarget":"order_summary","group":"reporting","observedTargets":["order_summary","order_totals"],"schema":null,"table":null,"version":1},"kind":"read-model","line":205,"member":"projection-catalog.keiro","name":"order_overview"},{"context":"catalog-demo","details":{"backingTarget":null,"group":"reporting","observedTargets":["order_totals"],"schema":null,"table":null,"version":1},"kind":"read-model","line":194,"member":"projection-catalog.keiro","name":"order_totals_lookup"},{"context":"catalog-demo","details":{"backingTarget":null,"group":"shipping","observedTargets":["shipment_summary"],"schema":null,"table":null,"version":1},"kind":"read-model","line":252,"member":"projection-catalog.keiro","name":"shipmentLookup"},{"context":"catalog-demo","details":{"order":["order_summary","order_totals","audit_log"],"targets":["order_summary","order_totals","audit_log"]},"kind":"rebuild-group","line":91,"member":"projection-catalog.keiro","name":"reporting"},{"context":"catalog-demo","details":{"order":["shipment_summary"],"targets":["shipment_summary"]},"kind":"rebuild-group","line":96,"member":"projection-catalog.keiro","name":"shipping"},{"context":"catalog-demo","details":{"dlq":"catalog_demo_qualification_jobs_dlq","dlqOn":true,"logical":"catalog-demo.qualification-jobs","maxRetries":3,"ordering":"unordered","physical":"catalog_demo_qualification_jobs","table":"pgmq.q_catalog_demo_qualification_jobs"},"kind":"workqueue","line":227,"member":"projection-catalog.keiro","name":"qualification_jobs"}],"schema":"keiro-dsl/service-topology/1","service":"projection-catalog","source":{"kind":"source","path":"projection-catalog.keiro"}}
diff --git a/test/fixtures/topology/schema-examples/aggregate-without-machine.valid.json b/test/fixtures/topology/schema-examples/aggregate-without-machine.valid.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/schema-examples/aggregate-without-machine.valid.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{"command":"EscalateIncident"},"from":{"kind":"process","name":"IncidentReaction"},"relation":"dispatches","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"category":"incidentSaga"},"from":{"kind":"process","name":"IncidentReaction"},"relation":"saga","to":{"kind":"aggregate","name":"IncidentSaga"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"coordination/reaction.keiro","sha256":"sha256:769e0db56e12da0ca312f8b18f80ae96151519459b319b7952ade9ceb5d0ee8e"},{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"domain/incident.keiro","sha256":"sha256:8876120d81378f44878842706ec3d57eef7b67c8318d916ec45f82d8ce7289f5"}],"nodes":[{"context":"incident-reaction","details":{"commands":["EscalateIncident"],"events":["IncidentEscalated"],"states":["Open"]},"kind":"aggregate","line":13,"member":"domain/incident.keiro","name":"Incident"},{"context":"incident-reaction","details":{"commands":["RecordIncident"],"events":["IncidentRecorded"],"states":["Open"]},"kind":"aggregate","line":6,"member":"domain/incident.keiro","name":"IncidentSaga"},{"context":"incident-reaction","details":{"correlate":{"field":"incidentId","via":"idText"},"inputs":["IncidentReported"],"poison":"halt","projections":[],"rejected":"halt","saga":{"aggregate":"IncidentSaga","category":"incidentSaga"},"stableName":"incident-reaction","target":"Incident","timers":[]},"kind":"process","line":4,"member":"coordination/reaction.keiro","name":"IncidentReaction"}],"schema":"keiro-dsl/service-topology/1","service":"incident-reaction","source":{"kind":"workspace","path":"service.keiro-workspace"}}
diff --git a/test/fixtures/topology/schema-examples/contract-envelope-discriminator.valid.json b/test/fixtures/topology/schema-examples/contract-envelope-discriminator.valid.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/schema-examples/contract-envelope-discriminator.valid.json
@@ -0,0 +1,1 @@
+{"edges":[],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"contract-foreign-event.keiro","sha256":"sha256:3baaa87823fe8b22b015463bda533929490dd0ad106b21ebc65cbd0a468cf66a"}],"nodes":[{"context":"contract-foreign-event","details":{"discriminator":"messageType","events":["MemberNoted","RegistrationSeen"],"schemaVersion":1,"topics":[{"alias":"notes","topic":"audit.notes"}]},"kind":"contract","line":6,"member":"contract-foreign-event.keiro","name":"audit"},{"context":"contract-foreign-event","details":{"discriminator":null,"events":["RegistrationCompleted"],"schemaVersion":1,"topics":[{"alias":"completed","topic":"registration.completed.v1"}]},"kind":"contract","line":26,"member":"contract-foreign-event.keiro","name":"registration"}],"schema":"keiro-dsl/service-topology/1","service":"contract-foreign-event","source":{"kind":"source","path":"contract-foreign-event.keiro"}}
diff --git a/test/fixtures/topology/schema-examples/feeds-under-schema-1.invalid.json b/test/fixtures/topology/schema-examples/feeds-under-schema-1.invalid.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/schema-examples/feeds-under-schema-1.invalid.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{"events":["IncidentTransferNeedDeclared"],"topic":"emergency.incident.events","topicAlias":"incidentEvents"},"from":{"kind":"emit","name":"incidentTransferNeed"},"relation":"publishes","to":{"kind":"contract","name":"emergency"}},{"attributes":{"events":["HospitalCapacitySnapshotPublished"],"input":"AcceptedHospitalCapacitySnapshot"},"from":{"kind":"intake","name":"hospitalInbox"},"relation":"feeds","to":{"kind":"router","name":"CapacityChangeRouter"}},{"attributes":{"events":["HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"from":{"kind":"intake","name":"hospitalInbox"},"relation":"subscribes","to":{"kind":"contract","name":"emergency"}},{"attributes":{},"from":{"kind":"operation","name":"RunIncidentEvacuation"},"relation":"runs","to":{"kind":"workflow","name":"IncidentEvacuation"}},{"attributes":{"label":"hospital-capacity-acknowledgement"},"from":{"kind":"operation","name":"SignalHospitalCapacityAcknowledgement"},"relation":"signals","to":{"kind":"workflow","name":"IncidentEvacuation"}},{"attributes":{"command":"MarkEscalationTimerFired"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"dispatches","to":{"kind":"aggregate","name":"Escalation"}},{"attributes":{"table":"incident_dashboard"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"projects","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"category":"incidentEscalation"},"from":{"kind":"process","name":"IncidentEscalation"},"relation":"saga","to":{"kind":"aggregate","name":"Escalation"}},{"attributes":{},"from":{"kind":"projection-owner","name":"capacity_change_candidates_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"capacity_change_candidates_writer"},"relation":"writes","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"command_audit_history_writer"},"relation":"writes","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"consumes","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"projection-owner","name":"evacuation_zones_writer"},"relation":"writes","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{},"from":{"kind":"publisher","name":"incidentPublisher"},"relation":"delivers","to":{"kind":"emit","name":"incidentTransferNeed"}},{"attributes":{},"from":{"kind":"read-model","name":"capacity_change_candidates"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"capacity_change_candidates"},"relation":"observes","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"read-model","name":"command_audit_history"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"command_audit_history"},"relation":"observes","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"read-model","name":"evacuation_zones"},"relation":"member-of","to":{"kind":"rebuild-group","name":"incident_reporting"}},{"attributes":{},"from":{"kind":"read-model","name":"evacuation_zones"},"relation":"observes","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"capacity_change_candidates_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"command_audit_history_table"}},{"attributes":{},"from":{"kind":"rebuild-group","name":"incident_reporting"},"relation":"groups","to":{"kind":"projection-target","name":"evacuation_zones_table"}},{"attributes":{"command":"ReconsiderTransferPlan"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"table":"incident_dashboard"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"projects","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"CapacityChangeRouter"},"relation":"reads","to":{"kind":"read-model","name":"capacity_change_candidates"}},{"attributes":{"command":"AssignResource"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"dispatches","to":{"kind":"aggregate","name":"FieldResource"}},{"attributes":{"table":"field_resource_assignments"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"projects","to":{"kind":"aggregate","name":"FieldResource"}},{"attributes":{"role":"resolve"},"from":{"kind":"router","name":"ResourceDispatchRouter"},"relation":"reads","to":{"kind":"read-model","name":"field_resource_assignments"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"incident-command-sourced.keiro","sha256":"sha256:22c5a1de9761edea1aa5849081c03279486046284a834684f48dabee0894b60c"}],"nodes":[{"context":"incident-command","details":{"commands":["NoteCriticalIncident","AcknowledgeEscalation","MarkEscalationTimerFired"],"events":["CriticalIncidentNoted","EscalationAcknowledged","EscalationTimerFired"],"machine":{"edges":[{"command":"NoteCriticalIncident","edgeIndex":0,"events":["CriticalIncidentNoted"],"mode":"Live","source":"EscalationIdle","target":"AwaitingAcknowledgement"},{"command":"AcknowledgeEscalation","edgeIndex":0,"events":["EscalationAcknowledged"],"mode":"Live","source":"AwaitingAcknowledgement","target":"EscalationSettled"},{"command":"MarkEscalationTimerFired","edgeIndex":1,"events":["EscalationTimerFired"],"mode":"Live","source":"AwaitingAcknowledgement","target":"Escalated"},{"command":"AcknowledgeEscalation","edgeIndex":0,"events":["EscalationAcknowledged"],"mode":"Live","source":"Escalated","target":"EscalationSettled"}],"initial":"EscalationIdle","ownership":"generated","states":[{"name":"EscalationIdle","terminal":false},{"name":"AwaitingAcknowledgement","terminal":false},{"name":"Escalated","terminal":false},{"name":"EscalationSettled","terminal":true}]},"states":["EscalationIdle","AwaitingAcknowledgement","Escalated","EscalationSettled"]},"kind":"aggregate","line":423,"member":"incident-command-sourced.keiro","name":"Escalation"},{"context":"incident-command","details":{"commands":["RegisterResource","AssignResource","ReleaseResource"],"events":["ResourceRegistered","ResourceAssigned","ResourceReleased"],"machine":{"edges":[{"command":"RegisterResource","edgeIndex":0,"events":["ResourceRegistered"],"mode":"Live","source":"ResourceUnregistered","target":"ResourceAvailable"},{"command":"AssignResource","edgeIndex":0,"events":["ResourceAssigned"],"mode":"Live","source":"ResourceAvailable","target":"ResourceAssignedVertex"},{"command":"AssignResource","edgeIndex":0,"events":["ResourceAssigned"],"mode":"Live","source":"ResourceAssignedVertex","target":"ResourceAssignedVertex"},{"command":"ReleaseResource","edgeIndex":1,"events":["ResourceReleased"],"mode":"Live","source":"ResourceAssignedVertex","target":"ResourceAvailable"}],"initial":"ResourceUnregistered","ownership":"generated","states":[{"name":"ResourceUnregistered","terminal":false},{"name":"ResourceAvailable","terminal":false},{"name":"ResourceAssignedVertex","terminal":false}]},"states":["ResourceUnregistered","ResourceAvailable","ResourceAssignedVertex"]},"kind":"aggregate","line":372,"member":"incident-command-sourced.keiro","name":"FieldResource"},{"context":"incident-command","details":{"commands":["DeclareIncident","AssignCommander","EstablishSafetyPerimeter","DispatchResource","OrderEvacuation","RecordTriage","CompleteEvacuation","ReconsiderTransferPlan","CloseIncident"],"events":["IncidentDeclared","CommanderAssigned","SafetyPerimeterEstablished","ResourceDispatched","EvacuationOrdered","IncidentTriageRecorded","EvacuationCompleted","TransferPlanReconsidered","IncidentClosed"],"machine":{"edges":[{"command":"DeclareIncident","edgeIndex":0,"events":["IncidentDeclared"],"mode":"Live","source":"IncidentNotDeclared","target":"IncidentOpen"},{"command":"AssignCommander","edgeIndex":0,"events":["CommanderAssigned"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"EstablishSafetyPerimeter","edgeIndex":1,"events":["SafetyPerimeterEstablished"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"DispatchResource","edgeIndex":2,"events":["ResourceDispatched"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"RecordTriage","edgeIndex":3,"events":["IncidentTriageRecorded"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"ReconsiderTransferPlan","edgeIndex":4,"events":["TransferPlanReconsidered"],"mode":"Live","source":"IncidentOpen","target":"IncidentOpen"},{"command":"OrderEvacuation","edgeIndex":5,"events":["EvacuationOrdered"],"mode":"Live","source":"IncidentOpen","target":"IncidentEvacuating"},{"command":"CloseIncident","edgeIndex":6,"events":["IncidentClosed"],"mode":"Live","source":"IncidentOpen","target":"IncidentClosedVertex"},{"command":"RecordTriage","edgeIndex":0,"events":["IncidentTriageRecorded"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentEvacuating"},{"command":"ReconsiderTransferPlan","edgeIndex":1,"events":["TransferPlanReconsidered"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentEvacuating"},{"command":"CompleteEvacuation","edgeIndex":2,"events":["EvacuationCompleted"],"mode":"Live","source":"IncidentEvacuating","target":"IncidentStabilized"},{"command":"CloseIncident","edgeIndex":0,"events":["IncidentClosed"],"mode":"Live","source":"IncidentStabilized","target":"IncidentClosedVertex"}],"initial":"IncidentNotDeclared","ownership":"generated","states":[{"name":"IncidentNotDeclared","terminal":false},{"name":"IncidentOpen","terminal":false},{"name":"IncidentEvacuating","terminal":false},{"name":"IncidentStabilized","terminal":false},{"name":"IncidentClosedVertex","terminal":true}]},"states":["IncidentNotDeclared","IncidentOpen","IncidentEvacuating","IncidentStabilized","IncidentClosedVertex"]},"kind":"aggregate","line":209,"member":"incident-command-sourced.keiro","name":"Incident"},{"context":"incident-command","details":{"commands":["StartTriage","MarkRed","MarkYellow","MarkGreen"],"events":["TriageStarted","RedPatientMarked","YellowPatientMarked","GreenPatientMarked","TransferNeedEmitted"],"machine":{"edges":[{"command":"StartTriage","edgeIndex":0,"events":["TriageStarted"],"mode":"Live","source":"TriageNotStarted","target":"TriageCollecting"},{"command":"MarkRed","edgeIndex":0,"events":["RedPatientMarked","TransferNeedEmitted"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"},{"command":"MarkYellow","edgeIndex":1,"events":["YellowPatientMarked"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"},{"command":"MarkGreen","edgeIndex":2,"events":["GreenPatientMarked"],"mode":"Live","source":"TriageCollecting","target":"TriageCollecting"}],"initial":"TriageNotStarted","ownership":"generated","states":[{"name":"TriageNotStarted","terminal":false},{"name":"TriageCollecting","terminal":false}]},"states":["TriageNotStarted","TriageCollecting"]},"kind":"aggregate","line":322,"member":"incident-command-sourced.keiro","name":"Triage"},{"context":"incident-command","details":{"discriminator":"messageType","events":["IncidentTransferNeedDeclared","TransferReservationRequested","HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"schemaVersion":1,"topics":[{"alias":"incidentEvents","topic":"emergency.incident.events"},{"alias":"hospitalEvents","topic":"emergency.hospital.events"}]},"kind":"contract","line":552,"member":"incident-command-sourced.keiro","name":"emergency"},{"context":"incident-command","details":{"contract":"emergency","events":["IncidentTransferNeedDeclared"],"key":"incidentId","source":"incident-command","topic":"emergency.incident.events","topicAlias":"incidentEvents"},"kind":"emit","line":646,"member":"incident-command-sourced.keiro","name":"incidentTransferNeed"},{"context":"incident-command","details":{"accepts":["HospitalCapacitySnapshotPublished","TransferReservationAccepted","TransferReservationRejected","PatientAdmitted","TransferExpired"],"contract":"emergency","dedupe":{"key":"messageId","policy":"PreferIntegrationMessageId"},"idempotence":"inbox-table","topic":"emergency.hospital.events","topicAlias":"hospitalEvents"},"kind":"intake","line":615,"member":"incident-command-sourced.keiro","name":"hospitalInbox"},{"context":"incident-command","details":{"form":"run","subject":"IncidentEvacuation"},"kind":"operation","line":547,"member":"incident-command-sourced.keiro","name":"RunIncidentEvacuation"},{"context":"incident-command","details":{"form":"signal","label":"hospital-capacity-acknowledgement","subject":"IncidentEvacuation"},"kind":"operation","line":542,"member":"incident-command-sourced.keiro","name":"SignalHospitalCapacityAcknowledgement"},{"context":"incident-command","details":{"correlate":{"field":"incidentId","via":"idText"},"inputs":["CriticalIncidentDeclared"],"poison":"halt","projections":["incident_dashboard"],"rejected":"halt","saga":{"aggregate":"Escalation","category":"incidentEscalation"},"stableName":"incident-escalation","target":"Incident","timers":["escalationDeadline"]},"kind":"process","line":470,"member":"incident-command-sourced.keiro","name":"IncidentEscalation"},{"context":"incident-command","details":{"dedup":"incident-command-capacity-change-router-v1","delivery":"subscription","group":"incident_reporting","order":30,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"category","name":"hospitalInbox"}],"subscription":"incident-command-capacity-change-router","targets":["capacity_change_candidates_table"]},"kind":"projection-owner","line":98,"member":"incident-command-sourced.keiro","name":"capacity_change_candidates_writer"},{"context":"incident-command","details":{"dedup":"incident-command-command-audit-v1","delivery":"subscription","group":"incident_reporting","order":20,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Incident"}],"subscription":"incident-command-command-audit","targets":["command_audit_history_table"]},"kind":"projection-owner","line":86,"member":"incident-command-sourced.keiro","name":"command_audit_history_writer"},{"context":"incident-command","details":{"dedup":null,"delivery":"inline","group":"incident_reporting","order":10,"replay":{"mode":"explicit","reason":null},"sources":[{"kind":"aggregate","name":"Incident"}],"subscription":null,"targets":["evacuation_zones_table"]},"kind":"projection-owner","line":77,"member":"incident-command-sourced.keiro","name":"evacuation_zones_writer"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"pending_transfer_needs"},"kind":"projection-target","line":66,"member":"incident-command-sourced.keiro","name":"capacity_change_candidates_table"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"command_audit_history"},"kind":"projection-target","line":60,"member":"incident-command-sourced.keiro","name":"command_audit_history_table"},{"context":"incident-command","details":{"dependsOn":[],"reset":"clear","schema":"incident_command","table":"evacuation_zones"},"kind":"projection-target","line":54,"member":"incident-command-sourced.keiro","name":"evacuation_zones_table"},{"context":"incident-command","details":{"backoff":{"kind":"constant","max":null,"multiplier":null,"window":"2s"},"emit":"incidentTransferNeed","maxAttempts":10,"ordering":"PerKeyHeadOfLine","outboxField":"messageId"},"kind":"publisher","line":659,"member":"incident-command-sourced.keiro","name":"incidentPublisher"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["capacity_change_candidates_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":196,"member":"incident-command-sourced.keiro","name":"capacity_change_candidates"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["command_audit_history_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":180,"member":"incident-command-sourced.keiro","name":"command_audit_history"},{"context":"incident-command","details":{"backingTarget":null,"group":"incident_reporting","observedTargets":["evacuation_zones_table"],"schema":null,"table":null,"version":1},"kind":"read-model","line":133,"member":"incident-command-sourced.keiro","name":"evacuation_zones"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"field_resource_assignments","version":1},"kind":"read-model","line":149,"member":"incident-command-sourced.keiro","name":"field_resource_assignments"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"incident_dashboard","version":1},"kind":"read-model","line":110,"member":"incident-command-sourced.keiro","name":"incident_dashboard"},{"context":"incident-command","details":{"backingTarget":null,"group":null,"observedTargets":[],"schema":"incident_command","table":"pending_transfer_needs","version":1},"kind":"read-model","line":164,"member":"incident-command-sourced.keiro","name":"pending_transfer_needs"},{"context":"incident-command","details":{"order":["evacuation_zones_table","command_audit_history_table","capacity_change_candidates_table"],"targets":["evacuation_zones_table","command_audit_history_table","capacity_change_candidates_table"]},"kind":"rebuild-group","line":72,"member":"incident-command-sourced.keiro","name":"incident_reporting"},{"context":"incident-command","details":{"input":"AcceptedHospitalCapacitySnapshot","projections":["incident_dashboard"],"resolvesFrom":"capacity_change_candidates","stableName":"incident-command-capacity-change","target":"Incident"},"kind":"router","line":509,"member":"incident-command-sourced.keiro","name":"CapacityChangeRouter"},{"context":"incident-command","details":{"input":"ResourceDispatchedInput","projections":["field_resource_assignments"],"resolvesFrom":"field_resource_assignments","stableName":"incident-command-resource-dispatch","target":"FieldResource"},"kind":"router","line":496,"member":"incident-command-sourced.keiro","name":"ResourceDispatchRouter"},{"context":"incident-command","details":{"input":"IncidentEvacuationInput","output":"EvacuationWorkflowSummary","stableName":"incident-evacuation","steps":[{"form":"step","label":"establish-command-post"},{"form":"step","label":"request-transport"},{"form":"step","label":"notify-hospital-capacity"},{"form":"await","label":"hospital-capacity-acknowledgement"},{"form":"step","label":"mark-evacuation-ready"}]},"kind":"workflow","line":530,"member":"incident-command-sourced.keiro","name":"IncidentEvacuation"}],"schema":"keiro-dsl/service-topology/1","service":"incident-command-sourced","source":{"kind":"source","path":"incident-command-sourced.keiro"}}
diff --git a/test/fixtures/topology/schema-examples/malformed-machine.invalid.json b/test/fixtures/topology/schema-examples/malformed-machine.invalid.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/schema-examples/malformed-machine.invalid.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{"command":"EscalateIncident"},"from":{"kind":"process","name":"IncidentReaction"},"relation":"dispatches","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"category":"incidentSaga"},"from":{"kind":"process","name":"IncidentReaction"},"relation":"saga","to":{"kind":"aggregate","name":"IncidentSaga"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"coordination/reaction.keiro","sha256":"sha256:769e0db56e12da0ca312f8b18f80ae96151519459b319b7952ade9ceb5d0ee8e"},{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"domain/incident.keiro","sha256":"sha256:8876120d81378f44878842706ec3d57eef7b67c8318d916ec45f82d8ce7289f5"}],"nodes":[{"context":"incident-reaction","details":{"commands":["EscalateIncident"],"events":["IncidentEscalated"],"machine":{"edges":[{"command":"EscalateIncident","edgeIndex":0,"events":["IncidentEscalated"],"mode":"Sometimes","source":"Open","target":"Open"}],"initial":"Open","ownership":"generated"},"states":["Open"]},"kind":"aggregate","line":13,"member":"domain/incident.keiro","name":"Incident"},{"context":"incident-reaction","details":{"commands":["RecordIncident"],"events":["IncidentRecorded"],"machine":{"edges":[{"command":"RecordIncident","edgeIndex":0,"events":["IncidentRecorded"],"mode":"Live","source":"Open","target":"Open"}],"initial":"Open","ownership":"generated","states":[{"name":"Open","terminal":false}]},"states":["Open"]},"kind":"aggregate","line":6,"member":"domain/incident.keiro","name":"IncidentSaga"},{"context":"incident-reaction","details":{"correlate":{"field":"incidentId","via":"idText"},"inputs":["IncidentReported"],"poison":"halt","projections":[],"rejected":"halt","saga":{"aggregate":"IncidentSaga","category":"incidentSaga"},"stableName":"incident-reaction","target":"Incident","timers":[]},"kind":"process","line":4,"member":"coordination/reaction.keiro","name":"IncidentReaction"}],"schema":"keiro-dsl/service-topology/1","service":"incident-reaction","source":{"kind":"workspace","path":"service.keiro-workspace"}}
diff --git a/test/fixtures/topology/workspace/coordination/reaction.keiro b/test/fixtures/topology/workspace/coordination/reaction.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/workspace/coordination/reaction.keiro
@@ -0,0 +1,20 @@
+language keiro-dsl 6
+context incident-reaction
+
+process IncidentReaction
+  name "incident-reaction"
+  reactions version 1
+  input IncidentReported { incidentId:IncidentId }
+  correlate input.incidentId via idText
+  saga IncidentSaga category "incidentSaga"
+  target Incident
+  projections [ ]
+  on IncidentReported
+    advance RecordIncident { incidentId }
+      accepted
+        dispatch Incident@input.incidentId EscalateIncident { incidentId }
+          on-appended AckOk ; on-duplicate AckOk ; on-failed Retry
+      silent no-action
+  dispatch-id strategy=uuidv5 from=(name, correlationId, sourceEventId, targetStreamName, occurrence)
+  rejected => halt
+  poison => halt
diff --git a/test/fixtures/topology/workspace/domain/incident.keiro b/test/fixtures/topology/workspace/domain/incident.keiro
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/workspace/domain/incident.keiro
@@ -0,0 +1,18 @@
+language keiro-dsl 6
+context incident-reaction
+
+id IncidentId prefix=inc
+
+aggregate IncidentSaga
+  regs
+  states Open
+  command RecordIncident { incidentId }
+  event IncidentRecorded = fields(RecordIncident)
+  Open -- RecordIncident --> emit IncidentRecorded ; goto Open
+
+aggregate Incident
+  regs
+  states Open
+  command EscalateIncident { incidentId }
+  event IncidentEscalated = fields(EscalateIncident)
+  Open -- EscalateIncident --> emit IncidentEscalated ; goto Open
diff --git a/test/fixtures/topology/workspace/service.keiro-workspace b/test/fixtures/topology/workspace/service.keiro-workspace
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/workspace/service.keiro-workspace
@@ -0,0 +1,3 @@
+service incident-reaction
+spec domain/incident.keiro
+spec coordination/reaction.keiro
diff --git a/test/fixtures/topology/workspace/service.topology.golden.json b/test/fixtures/topology/workspace/service.topology.golden.json
new file mode 100644
--- /dev/null
+++ b/test/fixtures/topology/workspace/service.topology.golden.json
@@ -0,0 +1,1 @@
+{"edges":[{"attributes":{"command":"EscalateIncident"},"from":{"kind":"process","name":"IncidentReaction"},"relation":"dispatches","to":{"kind":"aggregate","name":"Incident"}},{"attributes":{"category":"incidentSaga"},"from":{"kind":"process","name":"IncidentReaction"},"relation":"saga","to":{"kind":"aggregate","name":"IncidentSaga"}}],"effectiveSemanticContract":{"languageSupport":"candidate","languageVersion":6,"runtimeSemantics":"keiro-dsl/runtime-semantics/5"},"generator":{"tool":"keiro-dsl","version":"<version>"},"members":[{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"coordination/reaction.keiro","sha256":"sha256:769e0db56e12da0ca312f8b18f80ae96151519459b319b7952ade9ceb5d0ee8e"},{"declaredLanguageVersion":6,"effectiveLanguageVersion":6,"path":"domain/incident.keiro","sha256":"sha256:8876120d81378f44878842706ec3d57eef7b67c8318d916ec45f82d8ce7289f5"}],"nodes":[{"context":"incident-reaction","details":{"category":"incident","commands":["EscalateIncident"],"events":["IncidentEscalated"],"machine":{"edges":[{"command":"EscalateIncident","edgeIndex":0,"events":["IncidentEscalated"],"mode":"Live","source":"Open","target":"Open"}],"initial":"Open","ownership":"generated","states":[{"name":"Open","terminal":false}]},"states":["Open"]},"kind":"aggregate","line":13,"member":"domain/incident.keiro","name":"Incident"},{"context":"incident-reaction","details":{"category":"incidentSaga","commands":["RecordIncident"],"events":["IncidentRecorded"],"machine":{"edges":[{"command":"RecordIncident","edgeIndex":0,"events":["IncidentRecorded"],"mode":"Live","source":"Open","target":"Open"}],"initial":"Open","ownership":"generated","states":[{"name":"Open","terminal":false}]},"states":["Open"]},"kind":"aggregate","line":6,"member":"domain/incident.keiro","name":"IncidentSaga"},{"context":"incident-reaction","details":{"correlate":{"field":"incidentId","via":"idText"},"inputs":["IncidentReported"],"poison":"halt","projections":[],"rejected":"halt","saga":{"aggregate":"IncidentSaga","category":"incidentSaga"},"stableName":"incident-reaction","target":"Incident","timers":[]},"kind":"process","line":4,"member":"coordination/reaction.keiro","name":"IncidentReaction"}],"schema":"keiro-dsl/service-topology/1","service":"incident-reaction","source":{"kind":"workspace","path":"service.keiro-workspace"}}
diff --git a/test/topology-machine-proof/TopologyMachineProof.hs b/test/topology-machine-proof/TopologyMachineProof.hs
new file mode 100644
--- /dev/null
+++ b/test/topology-machine-proof/TopologyMachineProof.hs
@@ -0,0 +1,170 @@
+{-# LANGUAGE OverloadedRecordDot #-}
+
+-- | The shared topology machine proof. @keiro-dsl topology@ exports each
+-- aggregate's state machine from the specification alone. A conformance suite
+-- that compiles generated keiki transducers walks each one with keiki's own
+-- accessors ('edgesOut', 'target', 'mode', 'initial', 'isFinal',
+-- 'edgeInputName' and each output's wire-constructor name) through
+-- 'walkMachine', and 'proveTopologyMachines' fails unless every walked machine
+-- equals the exported @machine@ object of its fixture. It also fails when an
+-- aggregate whose exported machine ownership is @generated@ is neither compared
+-- nor named as excluded with a reason, so a corpus cannot silently drop one.
+module TopologyMachineProof
+  ( WalkedMachine,
+    walkMachine,
+    MachineProof (..),
+    proveTopologyMachines,
+    topologyMachineProofLine,
+  )
+where
+
+import Control.Monad (filterM, forM, forM_, unless, when)
+import Data.Aeson (Value (..))
+import Data.Aeson qualified as Aeson
+import Data.Aeson.Key qualified as Key
+import Data.Aeson.KeyMap qualified as KeyMap
+import Data.ByteString qualified as BS
+import Data.ByteString.Lazy.Char8 qualified as LBS8
+import Data.Text (Text)
+import Data.Text qualified as T
+import Data.Text.Encoding qualified as TE
+import Keiki.Core (Edge (..), EdgeMode (..), HsPred, OutTerm (..), SymTransducer (..))
+import Keiki.Render.Mermaid (edgeInputName)
+import Keiro.Dsl.Parser (parseSourceDocument, renderParseFailure)
+import Keiro.Dsl.SemanticContract (checkedSource)
+import Keiro.Dsl.SourceIndex (ParsedSourceDocument (..))
+import Keiro.Dsl.Topology
+import Keiro.Dsl.Validate (Diagnostic (..), Severity (..), renderDiagnostic, validateService)
+import Keiro.Dsl.Workspace (oneMemberParsedDocumentWorkspace)
+import System.Directory (doesFileExist)
+import System.Exit (exitFailure)
+import System.FilePath (takeFileName)
+import System.IO (hPutStrLn, stderr)
+
+-- | An aggregate name and its walked keiki machine, or why it could not be
+-- walked.
+type WalkedMachine = (Text, Either Text MachineTopology)
+
+-- | Walk a real generated keiki transducer into the exported shape. The Text
+-- argument is the aggregate name, removed from the front of each shown vertex.
+-- An edge whose guard names no command constructor is a conformance failure.
+walkMachine ::
+  (Bounded s, Enum s, Show s) =>
+  Text ->
+  SymTransducer (HsPred rs ci) rs s ci co ->
+  WalkedMachine
+walkMachine aggregate transducer = (aggregate, walked)
+  where
+    walked = do
+      edges <-
+        fmap concat . forM vertices $ \vertex ->
+          forM (zip [0 ..] (transducer.edgesOut vertex)) $ \(edgeIndex, edge) -> do
+            command <- case edgeInputName edge of
+              Just name -> Right name
+              Nothing -> Left (aggregate <> ": edge " <> stateName vertex <> "#" <> T.pack (show edgeIndex) <> " names no command constructor")
+            pure
+              MachineEdge
+                { source = stateName vertex,
+                  edgeIndex = edgeIndex,
+                  target = stateName edge.target,
+                  mode = case edge.mode of
+                    Live -> MachineLive
+                    ReplayOnly -> MachineReplayOnly,
+                  command = command,
+                  events = [T.pack wireCtor.wcName | OPack _ wireCtor _ <- edge.output]
+                }
+      pure
+        MachineTopology
+          { ownership = MachineGenerated,
+            initial = stateName transducer.initial,
+            states = [MachineState {name = stateName vertex, terminal = transducer.isFinal vertex} | vertex <- vertices],
+            edges = edges
+          }
+    vertices = [minBound .. maxBound]
+    stateName vertex =
+      let shown = T.pack (show vertex)
+       in maybe shown id (T.stripPrefix aggregate shown)
+
+-- | The exported document and the machines that matched it, in the order
+-- they were given.
+data MachineProof = MachineProof
+  { topology :: ServiceTopology,
+    compared :: [(Text, MachineTopology)]
+  }
+
+-- | Export the topology of the fixture (a path relative to the keiro-dsl
+-- package, also tried under @keiro-dsl/@), compare every walked machine with
+-- the exported @machine@ of its aggregate, and fail on the first difference.
+-- The second argument names aggregates deliberately left out, each with its
+-- reason; every other aggregate whose exported ownership is @generated@ must be
+-- walked. Failures are printed on standard error, so a suite with a
+-- machine-readable standard output stays parseable.
+proveTopologyMachines :: FilePath -> [(Text, Text)] -> [WalkedMachine] -> IO MachineProof
+proveTopologyMachines fixture excluded walked = do
+  topology <- exportedTopology fixture
+  compared <- forM walked $ \(aggregate, walkResult) -> do
+    actual <- either (failWith . T.unpack) pure walkResult
+    let exported = exportedMachine topology aggregate
+        actualValue = machineValue actual
+    when (exported /= Just actualValue) $ do
+      hPutStrLn stderr ("topology machine proof: " <> fixture <> ": machine " <> T.unpack aggregate <> ": exported machine differs from keiki")
+      hPutStrLn stderr "exported:"
+      LBS8.hPutStrLn stderr (maybe "(none)" Aeson.encode exported)
+      hPutStrLn stderr "keiki:"
+      LBS8.hPutStrLn stderr (Aeson.encode actualValue)
+      exitFailure
+    pure (aggregate, actual)
+  let walkedNames = map fst walked
+      excludedNames = map fst excluded
+      generated = [node.name | node <- topology.nodes, node.kind == AggregateKind, ownershipOf node == Just (String "generated")]
+      unaccounted = [name | name <- generated, name `notElem` walkedNames, name `notElem` excludedNames]
+      contradictory = [name | name <- excludedNames, name `elem` walkedNames]
+  forM_ excluded $ \(name, reason) ->
+    when (T.null (T.strip reason)) (failWith ("topology machine proof: " <> fixture <> ": exclusion of " <> T.unpack name <> " gives no reason"))
+  unless (null contradictory) $
+    failWith ("topology machine proof: " <> fixture <> ": aggregates both compared and excluded: " <> T.unpack (T.intercalate ", " contradictory))
+  unless (null unaccounted) $
+    failWith ("topology machine proof: " <> fixture <> ": generated aggregates neither compared nor excluded: " <> T.unpack (T.intercalate ", " unaccounted))
+  pure MachineProof {topology = topology, compared = compared}
+
+-- | The line each suite prints after a successful proof.
+topologyMachineProofLine :: MachineProof -> String
+topologyMachineProofLine proof =
+  "topology machine proof: " <> show count <> (if count == 1 then " aggregate matches keiki" else " aggregates match keiki")
+  where
+    count = length proof.compared
+
+ownershipOf :: TopologyNode -> Maybe Value
+ownershipOf node = case KeyMap.lookup (Key.fromText "machine") node.details of
+  Just (Object machine) -> KeyMap.lookup (Key.fromText "ownership") machine
+  _ -> Nothing
+
+exportedTopology :: FilePath -> IO ServiceTopology
+exportedTopology fixture = do
+  path <- locate fixture
+  bytes <- BS.readFile path
+  source <- either (failWith . show) pure (TE.decodeUtf8' bytes)
+  document <- either (failWith . T.unpack . renderParseFailure) pure (parseSourceDocument path source)
+  let errors = [diagnostic | diagnostic <- validateService (checkedSource document.parsedSource), diagnostic.severity == Error]
+  unless (null errors) (failWith (T.unpack (T.unlines (map (renderDiagnostic path) errors))))
+  workspace <- either (failWith . show) pure (oneMemberParsedDocumentWorkspace path document)
+  either
+    (failWith . T.unpack . renderTopologyError)
+    pure
+    (buildServiceTopology TopologySingleSource path workspace [(takeFileName path, memberDigest bytes)])
+
+exportedMachine :: ServiceTopology -> Text -> Maybe Value
+exportedMachine topology aggregate =
+  case [node | node <- topology.nodes, node.kind == AggregateKind, node.name == aggregate] of
+    node : _ -> KeyMap.lookup (Key.fromText "machine") node.details
+    [] -> Nothing
+
+locate :: FilePath -> IO FilePath
+locate relative = do
+  found <- filterM doesFileExist [relative, "keiro-dsl/" <> relative]
+  case found of
+    path : _ -> pure path
+    [] -> failWith ("topology machine proof: cannot locate " <> relative)
+
+failWith :: String -> IO a
+failWith message = hPutStrLn stderr message >> exitFailure
