arkgate 4.8.24 → 4.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/README.md +2 -2
  3. package/bin/ark-check-runtime.mjs +17 -14
  4. package/bin/ark-layer-match.mjs +115 -13
  5. package/bin/ark-mcp-runtime.mjs +36 -31
  6. package/bin/ark-shared.mjs +4 -23
  7. package/bin/lib/adoption-stance.mjs +2 -2
  8. package/bin/lib/adr-path.mjs +3 -3
  9. package/bin/lib/agent-gates.mjs +0 -61
  10. package/bin/lib/agent-homes.mjs +12 -21
  11. package/bin/lib/agent-projection-command.mjs +4 -4
  12. package/bin/lib/ambient-state.mjs +9 -30
  13. package/bin/lib/analysis-engine.mjs +14 -14
  14. package/bin/lib/architecture-scan.mjs +11 -9
  15. package/bin/lib/ark-order-doctor.mjs +3 -28
  16. package/bin/lib/ark-order-facts.mjs +6 -99
  17. package/bin/lib/ark-order-types.mjs +1 -2
  18. package/bin/lib/ark-run-doctor.mjs +3 -28
  19. package/bin/lib/ark-run-facts.mjs +30 -40
  20. package/bin/lib/ark-run-sensors.mjs +1 -1
  21. package/bin/lib/arkrule-file-hints.mjs +2 -47
  22. package/bin/lib/arkrules-contract.mjs +124 -133
  23. package/bin/lib/arkrules-sensors.mjs +7 -5
  24. package/bin/lib/check-args.mjs +63 -1
  25. package/bin/lib/ci-and-commands.mjs +8 -72
  26. package/bin/lib/ci-merge-boundary.mjs +1 -1
  27. package/bin/lib/class-source-scan.mjs +5 -5
  28. package/bin/lib/clone-detection.mjs +474 -0
  29. package/bin/lib/codex-home.mjs +1 -1
  30. package/bin/lib/config-contract-slices.mjs +44 -6
  31. package/bin/lib/config-contract.mjs +40 -117
  32. package/bin/lib/config-extras.mjs +16 -22
  33. package/bin/lib/contract-smells.mjs +33 -15
  34. package/bin/lib/core-ratchet.mjs +0 -2
  35. package/bin/lib/dashboard-cli.mjs +2 -2
  36. package/bin/lib/deep-module-coach.mjs +2 -4
  37. package/bin/lib/deploy-path.mjs +13 -38
  38. package/bin/lib/design-smells.mjs +2 -2
  39. package/bin/lib/diagnostic-catalog.mjs +8 -1
  40. package/bin/lib/doctor-advisories.mjs +55 -9
  41. package/bin/lib/doctor-green-cite.mjs +1 -1
  42. package/bin/lib/doctor-human.mjs +1 -1
  43. package/bin/lib/doctor-next-actions.mjs +2 -2
  44. package/bin/lib/doctor-plan.mjs +4 -6
  45. package/bin/lib/duplication-io.mjs +572 -0
  46. package/bin/lib/effective-contract-load.mjs +181 -44
  47. package/bin/lib/entry-points-io.mjs +424 -0
  48. package/bin/lib/extra-merge-teeth.mjs +36 -0
  49. package/bin/lib/field-install.mjs +38 -14
  50. package/bin/lib/first-run-help.mjs +7 -3
  51. package/bin/lib/flat-parent-importers.mjs +5 -3
  52. package/bin/lib/gate-files.mjs +30 -89
  53. package/bin/lib/github-enforcement.mjs +165 -28
  54. package/bin/lib/golden-pattern.mjs +1 -1
  55. package/bin/lib/hook-templates.mjs +16 -16
  56. package/bin/lib/html-report-advisories.mjs +4 -0
  57. package/bin/lib/html-report-depth.mjs +2 -2
  58. package/bin/lib/html-report.mjs +2 -2
  59. package/bin/lib/import-graph-projection.mjs +112 -0
  60. package/bin/lib/improvement-compass-doctor.mjs +1 -24
  61. package/bin/lib/invariant-coverage-io.mjs +4 -3
  62. package/bin/lib/invariant-coverage.mjs +26 -0
  63. package/bin/lib/invariant-probe-cli.mjs +347 -0
  64. package/bin/lib/invariant-probe-io.mjs +165 -0
  65. package/bin/lib/invariant-probe-runner.mjs +268 -0
  66. package/bin/lib/invariant-probe-sites.mjs +174 -0
  67. package/bin/lib/invariant-probe-workspace.mjs +183 -0
  68. package/bin/lib/invariant-probe.mjs +461 -0
  69. package/bin/lib/invariant-tests-path.mjs +16 -22
  70. package/bin/lib/literal-path-drift.mjs +4 -2
  71. package/bin/lib/managed-upgrade.mjs +2 -8
  72. package/bin/lib/mcp-adoption.mjs +4 -5
  73. package/bin/lib/mcp-hook-payload.mjs +4 -4
  74. package/bin/lib/orphan-modules-io.mjs +458 -0
  75. package/bin/lib/orphan-modules.mjs +251 -0
  76. package/bin/lib/outside-importers.mjs +197 -0
  77. package/bin/lib/package-manager.mjs +3 -3
  78. package/bin/lib/parse-health.mjs +1 -1
  79. package/bin/lib/persistence-write-hint.mjs +33 -8
  80. package/bin/lib/pin-dependent-gates.mjs +2 -2
  81. package/bin/lib/policy-delta-io.mjs +60 -12
  82. package/bin/lib/post-green-path.mjs +1 -1
  83. package/bin/lib/prepare-change.mjs +3 -9
  84. package/bin/lib/prepare-write.mjs +1 -2
  85. package/bin/lib/presets.mjs +56 -68
  86. package/bin/lib/product-copy.mjs +1 -6
  87. package/bin/lib/project-root.mjs +43 -85
  88. package/bin/lib/resolved-candidate-facts.mjs +90 -62
  89. package/bin/lib/rules-under-contract.mjs +72 -8
  90. package/bin/lib/scan-files.mjs +4 -4
  91. package/bin/lib/schema-validation.mjs +130 -0
  92. package/bin/lib/sensor-promote-cli.mjs +2 -11
  93. package/bin/lib/sensor-promote-io.mjs +33 -22
  94. package/bin/lib/sensor-promotion.mjs +1 -1
  95. package/bin/lib/skill-catalog-apply.mjs +1 -1
  96. package/bin/lib/skill-install.mjs +42 -38
  97. package/bin/lib/snippet-analysis.mjs +1 -1
  98. package/bin/lib/start-install-recovery.mjs +1 -1
  99. package/bin/lib/start-preview.mjs +1 -1
  100. package/bin/lib/states-transitions-presence.mjs +3 -3
  101. package/bin/lib/status-command.mjs +2 -18
  102. package/bin/lib/status-manifest.mjs +18 -26
  103. package/bin/lib/status-transition-catalog.mjs +0 -6
  104. package/bin/lib/suggestions.mjs +3 -3
  105. package/bin/lib/team-parliament-io.mjs +3 -17
  106. package/bin/lib/team-parliament.mjs +15 -9
  107. package/bin/lib/upgrade-behavior-changes.mjs +2 -2
  108. package/bin/lib/upgrade-command.mjs +2 -24
  109. package/bin/lib/upgrade-outcome.mjs +1 -1
  110. package/bin/lib/upstream-report.mjs +21 -10
  111. package/bin/lib/violations.mjs +10 -9
  112. package/bin/lib/weakest-link.mjs +13 -0
  113. package/bin/lib/write-path-capabilities.mjs +2 -2
  114. package/dist/chunk-G3JRBJGH.js +16 -0
  115. package/dist/chunk-R3AJ5RSZ.cjs +16 -0
  116. package/dist/{configTypes-BJbaeoj4.d.cts → configTypes-GPvvdleM.d.cts} +12 -1
  117. package/dist/{configTypes-BJbaeoj4.d.ts → configTypes-GPvvdleM.d.ts} +12 -1
  118. package/dist/eslint/index.cjs +11 -11
  119. package/dist/eslint/index.d.cts +10 -1
  120. package/dist/eslint/index.d.ts +10 -1
  121. package/dist/eslint/index.js +11 -11
  122. package/dist/index.cjs +34 -34
  123. package/dist/index.d.cts +587 -515
  124. package/dist/index.d.ts +587 -515
  125. package/dist/index.js +34 -34
  126. package/dist/nestjs/index.cjs +1 -1
  127. package/dist/nestjs/index.d.cts +1 -1
  128. package/dist/nestjs/index.d.ts +1 -1
  129. package/dist/nestjs/index.js +1 -1
  130. package/dist/order/index.cjs +1 -1
  131. package/dist/order/index.js +1 -1
  132. package/dist/runtime/index.cjs +12 -12
  133. package/dist/runtime/index.d.cts +174 -136
  134. package/dist/runtime/index.d.ts +174 -136
  135. package/dist/runtime/index.js +12 -12
  136. package/dist/{types-DRinG-vT.d.cts → types-CnauMQQL.d.cts} +33 -25
  137. package/dist/{types-DRinG-vT.d.ts → types-CnauMQQL.d.ts} +33 -25
  138. package/docs/README.md +3 -1
  139. package/docs/agent-guide.md +140 -6
  140. package/docs/ai-gates.md +15 -1
  141. package/docs/configuration.md +40 -11
  142. package/docs/diagnostics.md +119 -3
  143. package/docs/package-surface.md +4 -1
  144. package/docs/product-voice.md +7 -1
  145. package/package.json +11 -2
  146. package/schemas/ark.config.schema.json +31 -3
  147. package/schemas/ark.invariant-probe.schema.json +368 -0
  148. package/server.json +2 -2
  149. package/templates/agent-skills/README.md +1 -1
  150. package/templates/agent-skills/ark-adopt/SKILL.md +1 -0
  151. package/templates/agent-skills/ark-contract/SKILL.md +17 -0
  152. package/templates/agent-skills/ark-coverage/SKILL.md +2 -0
  153. package/templates/agent-skills/ark-explore/SKILL.md +7 -0
  154. package/templates/agent-skills/ark-fix/SKILL.md +20 -0
  155. package/templates/agent-skills/ark-place/SKILL.md +8 -0
  156. package/templates/skills/ark-adopt.md +1 -0
  157. package/templates/skills/ark-contract.md +17 -0
  158. package/templates/skills/ark-coverage.md +2 -0
  159. package/templates/skills/ark-explore.md +7 -0
  160. package/templates/skills/ark-fix.md +20 -0
  161. package/templates/skills/ark-place.md +8 -0
  162. package/bin/lib/ark-order-error.mjs +0 -18
  163. package/bin/lib/ark-order-invariants.mjs +0 -388
  164. package/bin/lib/stable-hash.mjs +0 -90
  165. package/dist/chunk-MBXCFLO4.js +0 -16
  166. package/dist/chunk-RNQHRDCQ.cjs +0 -16
@@ -1,5 +1,5 @@
1
- import { a as AuditStore, b as AuditRecord, c as AuditQuery, d as CreateAuditTrailOptions, e as AuditTrail, f as CreateArchitectureProfileOptions, g as ArchitectureProfile, h as ArkCheckConfig, i as CreateArchitectureProfileFromArkConfigOptions, j as CreateElevenLayerArkConfigOptions, D as DependencyGraph, I as IntentRegistry, E as EventContractRegistry, k as EventContract, l as DomainEvent, m as EventContractValidationResult, n as IntentName, o as DefineIntentOptions, p as IntentCreator, M as MetadataRegistry, R as ReadModelStore, q as CreateProjectionRegistryOptions, P as ProjectionRegistry, r as PolicyViolation, s as PolicySeverity, t as PolicyEnforcementMode, u as Policy, G as GraphEdge, v as IntentRelationship, w as EventBufferStore, x as EventBufferRecord, y as EventBufferStatus, z as EventBusOptions, B as EventBus, F as CreateObservabilityReporterOptions, O as ObservabilityReporter, H as PolicyEngine, J as ArkManifest, W as WorkflowStore, S as SagaContext, K as WorkflowSnapshot, L as SagaDefinition, N as CreateWorkflowEngineOptions, Q as SagaInstance, T as WorkflowEngine, U as DependencyInformationPackage, C as CreateArkKernelOptions, A as ArkKernel, V as ArkKernelConfig, X as CreateArkKernelFromConfigOptions, Y as TraceRecordType, Z as TraceRecord, _ as OutboxStatus, $ as OutboxRecord, a0 as ObservabilityDriftReport, a1 as ArkConfig, a2 as ArkConfigLoadResult } from '../types-DRinG-vT.js';
2
- export { a3 as ARK_RUN_COMPONENT_LIFETIMES, a4 as ARK_RUN_EPHEMERAL_DEFAULT, a5 as ARK_RUN_GRAPH_DEFAULT_SLICE, a6 as ARK_RUN_GRAPH_NODE_KINDS, a7 as ARK_RUN_GRAPH_PROCESS_EDGE_KINDS, a8 as ARK_RUN_GRAPH_SCHEMA_VERSION, a9 as ARK_RUN_GRAPH_SLICES, aa as ARK_RUN_GRAPH_TECHNICAL_EDGE_KINDS, ab as ARK_RUN_INFORMATION_PACKAGE_SCHEMA_VERSION, ac as ARK_RUN_INSPECTOR_DEFAULT_HOST, ad as ARK_RUN_INSPECTOR_DEFAULT_PORT, ae as ARK_RUN_INSPECTOR_EVENTS_PATH, af as ARK_RUN_INSPECTOR_GRAPH_PATH, ag as ARK_RUN_INSPECTOR_MONITOR_SAMPLE_LIMIT, ah as ARK_RUN_INSPECTOR_OUTBOX_PATH, ai as ARK_RUN_INSPECTOR_SCHEMA_VERSION, aj as ARK_RUN_INSPECTOR_SNAPSHOT_PATH, ak as ARK_RUN_INSPECTOR_SSE_EVENT, al as ARK_RUN_INSPECTOR_TRANSPORT_FALLBACK, am as ARK_RUN_INSPECTOR_WORKFLOWS_PATH, an as ARK_RUN_TRANSPORT_KINDS, ao as ArchitectureLayer, ap as ArchitectureLayerConfig, aq as ArchitectureRule, ar as ArkManifestArchitecture, as as ArkManifestData, at as ArkManifestEntityLink, au as ArkManifestGraph, av as ArkManifestIntent, aw as ArkManifestPolicy, ax as ArkManifestProjection, ay as ArkRunBrokerAdapter, az as ArkRunComponentLifetime, aA as ArkRunDeliveredVia, aB as ArkRunExtendedInfo, aC as ArkRunGraph, aD as ArkRunGraphEdge, aE as ArkRunGraphEdgeKind, aF as ArkRunGraphMatch, aG as ArkRunGraphMatchInput, aH as ArkRunGraphNode, aI as ArkRunGraphNodeKind, aJ as ArkRunGraphProcessEdgeKind, aK as ArkRunGraphQuery, aL as ArkRunGraphResolvedQuery, aM as ArkRunGraphSlice, aN as ArkRunGraphTechnicalEdgeKind, aO as ArkRunInformationPackageComponent, aP as ArkRunInspectorBind, aQ as ArkRunInspectorBindError, aR as ArkRunInspectorBindInput, aS as ArkRunInspectorHandle, aT as ArkRunInspectorHardening, aU as ArkRunInspectorHardeningDurability, aV as ArkRunInspectorMonitorBuildOptions, aW as ArkRunInspectorOutboxMonitor, aX as ArkRunInspectorOutboxRecordSummary, aY as ArkRunInspectorProductionError, aZ as ArkRunInspectorSnapshot, a_ as ArkRunInspectorSnapshotInput, a$ as ArkRunInspectorSource, b0 as ArkRunInspectorStoreDurability, b1 as ArkRunInspectorStoreDurabilityKind, b2 as ArkRunInspectorStoreRole, b3 as ArkRunInspectorTransportFacts, b4 as ArkRunInspectorWorkflowSummary, b5 as ArkRunInspectorWorkflowsMonitor, b6 as ArkRunPublisher, b7 as ArkRunRegisterOptions, b8 as ArkRunRegistrationHandle, b9 as ArkRunSendOptions, ba as ArkRunSendPlan, bb as ArkRunSendPlanInput, bc as ArkRunSendResult, bd as ArkRunTransportKind, be as AuditRecordInput, bf as AuditRecordType, bg as CorrelationId, bh as EntityMeta, bi as EventContractIssue, bj as EventHandler, bk as EventInterceptionInfo, bl as EventInterceptor, bm as EventInterceptorContext, bn as EventMetadata, bo as EventPayloadPatch, bp as EventPayloadSchema, bq as EventPublisher, br as EventSchemaField, bs as EventSchemaFieldType, bt as FieldMeta, bu as GraphNode, bv as IntentRelationshipKind, bw as InvalidArkRunGraphQueryError, bx as InvalidArkRunSendOptionError, by as ObservabilityFlow, bz as ObservedLayerFlowMode, bA as OutboxStore, bB as PolicyEvaluationResult, bC as ProjectionCheckpoint, bD as ProjectionDefinition, bE as PublishedEventRecord, bF as RetryPolicy, bG as SagaStatus, bH as SagaStep, bI as StartArkRunInspectorOptions, bJ as TraceSink, bK as Unsubscribe, bL as WorkflowDefinition, bM as WorkflowStatus, bN as WorkflowStep, bO as appendDecisionTape, bP as arkRunGraphQueryFromSearchParams, bQ as arkRunInspectorUrl, bR as buildArkRunInspectorHardening, bS as buildArkRunInspectorOutboxMonitor, bT as buildArkRunInspectorSnapshot, bU as buildArkRunInspectorWorkflowsMonitor, bV as buildDependencyInformationPackage, bW as classifyArkRunInspectorStoreDurability, bX as closeArkRunGraphQuery, bY as closedArkRunEphemeral, bZ as closedArkRunTransportKind, b_ as formatArkRunGraphMermaid, b$ as formatArkRunInspectorSseEvent, c0 as isArkRunInspectorLoopbackHost, c1 as isArkRunInspectorProductionEnv, c2 as requestArkRunGraph, c3 as resolveArkRunInspectorBind, c4 as resolveArkRunSendPlan, c5 as startArkRunInspector, c6 as unavailableArkRunInspectorOutboxMonitor, c7 as unavailableArkRunInspectorWorkflowsMonitor } from '../types-DRinG-vT.js';
1
+ import { a as AuditStore, b as AuditRecord, c as AuditQuery, d as CreateAuditTrailOptions, e as AuditTrail, f as CreateArchitectureProfileOptions, g as ArchitectureProfile, h as ArkCheckConfig, i as CreateArchitectureProfileFromArkConfigOptions, j as CreateElevenLayerArkConfigOptions, D as DependencyGraph, I as IntentRegistry, E as EventContractRegistry, k as EventContract, l as DomainEvent, m as EventContractValidationResult, n as IntentName, o as DefineIntentOptions, p as IntentCreator, M as MetadataRegistry, R as ReadModelStore, q as CreateProjectionRegistryOptions, P as ProjectionRegistry, r as PolicyViolation, s as PolicySeverity, t as PolicyEnforcementMode, u as Policy, G as GraphEdge, v as IntentRelationship, w as EventBufferStore, x as EventBufferRecord, y as EventBufferStatus, z as EventBusOptions, B as EventBus, F as CreateObservabilityReporterOptions, O as ObservabilityReporter, H as PolicyEngine, J as ArkManifest, W as WorkflowStore, S as SagaContext, K as WorkflowSnapshot, L as SagaDefinition, N as CreateWorkflowEngineOptions, Q as SagaInstance, T as WorkflowEngine, U as ArkConfig, V as ArkConfigLoadResult, X as DependencyInformationPackage, C as CreateArkKernelOptions, A as ArkKernel, Y as ArkKernelConfig, Z as CreateArkKernelFromConfigOptions, _ as TraceRecordType, $ as TraceRecord, a0 as OutboxStatus, a1 as OutboxRecord, a2 as ObservabilityDriftReport } from '../types-CnauMQQL.js';
2
+ export { a3 as ARK_RUN_COMPONENT_LIFETIMES, a4 as ARK_RUN_EPHEMERAL_DEFAULT, a5 as ARK_RUN_GRAPH_DEFAULT_SLICE, a6 as ARK_RUN_GRAPH_NODE_KINDS, a7 as ARK_RUN_GRAPH_PROCESS_EDGE_KINDS, a8 as ARK_RUN_GRAPH_SCHEMA_VERSION, a9 as ARK_RUN_GRAPH_SLICES, aa as ARK_RUN_GRAPH_TECHNICAL_EDGE_KINDS, ab as ARK_RUN_INFORMATION_PACKAGE_SCHEMA_VERSION, ac as ARK_RUN_INSPECTOR_DEFAULT_HOST, ad as ARK_RUN_INSPECTOR_DEFAULT_PORT, ae as ARK_RUN_INSPECTOR_EVENTS_PATH, af as ARK_RUN_INSPECTOR_GRAPH_PATH, ag as ARK_RUN_INSPECTOR_MONITOR_SAMPLE_LIMIT, ah as ARK_RUN_INSPECTOR_OUTBOX_PATH, ai as ARK_RUN_INSPECTOR_SCHEMA_VERSION, aj as ARK_RUN_INSPECTOR_SNAPSHOT_PATH, ak as ARK_RUN_INSPECTOR_SSE_EVENT, al as ARK_RUN_INSPECTOR_TRANSPORT_FALLBACK, am as ARK_RUN_INSPECTOR_WORKFLOWS_PATH, an as ARK_RUN_TRANSPORT_KINDS, ao as ArchitectureLayer, ap as ArchitectureLayerConfig, aq as ArchitectureRule, ar as ArkManifestArchitecture, as as ArkManifestData, at as ArkManifestEntityLink, au as ArkManifestGraph, av as ArkManifestIntent, aw as ArkManifestPolicy, ax as ArkManifestProjection, ay as ArkRunBrokerAdapter, az as ArkRunComponentLifetime, aA as ArkRunDeliveredVia, aB as ArkRunExtendedInfo, aC as ArkRunGraph, aD as ArkRunGraphEdge, aE as ArkRunGraphEdgeKind, aF as ArkRunGraphMatch, aG as ArkRunGraphMatchInput, aH as ArkRunGraphNode, aI as ArkRunGraphNodeKind, aJ as ArkRunGraphProcessEdgeKind, aK as ArkRunGraphQuery, aL as ArkRunGraphResolvedQuery, aM as ArkRunGraphSlice, aN as ArkRunGraphTechnicalEdgeKind, aO as ArkRunInformationPackageComponent, aP as ArkRunInspectorBind, aQ as ArkRunInspectorBindError, aR as ArkRunInspectorBindInput, aS as ArkRunInspectorHandle, aT as ArkRunInspectorHardening, aU as ArkRunInspectorHardeningDurability, aV as ArkRunInspectorMonitorBuildOptions, aW as ArkRunInspectorOutboxMonitor, aX as ArkRunInspectorOutboxRecordSummary, aY as ArkRunInspectorProductionError, aZ as ArkRunInspectorSnapshot, a_ as ArkRunInspectorSnapshotInput, a$ as ArkRunInspectorSource, b0 as ArkRunInspectorStoreDurability, b1 as ArkRunInspectorStoreDurabilityKind, b2 as ArkRunInspectorStoreRole, b3 as ArkRunInspectorTransportFacts, b4 as ArkRunInspectorWorkflowSummary, b5 as ArkRunInspectorWorkflowsMonitor, b6 as ArkRunPublisher, b7 as ArkRunRegisterOptions, b8 as ArkRunRegistrationHandle, b9 as ArkRunSendOptions, ba as ArkRunSendPlan, bb as ArkRunSendPlanInput, bc as ArkRunSendResult, bd as ArkRunTransportKind, be as AuditRecordInput, bf as AuditRecordType, bg as CorrelationId, bh as EntityMeta, bi as EventContractIssue, bj as EventHandler, bk as EventInterceptionInfo, bl as EventInterceptor, bm as EventInterceptorContext, bn as EventMetadata, bo as EventPayloadPatch, bp as EventPayloadSchema, bq as EventPublisher, br as EventSchemaField, bs as EventSchemaFieldType, bt as FieldMeta, bu as GraphNode, bv as IntentRelationshipKind, bw as InvalidArkRunGraphQueryError, bx as InvalidArkRunSendOptionError, by as ObservabilityFlow, bz as ObservedLayerFlowMode, bA as OutboxStore, bB as PolicyEvaluationResult, bC as ProjectionCheckpoint, bD as ProjectionDefinition, bE as PublishedEventRecord, bF as RetryPolicy, bG as SagaStatus, bH as SagaStep, bI as StartArkRunInspectorOptions, bJ as TraceSink, bK as Unsubscribe, bL as WorkflowDefinition, bM as WorkflowStatus, bN as WorkflowStep, bO as appendDecisionTape, bP as arkRunGraphQueryFromSearchParams, bQ as arkRunInspectorUrl, bR as buildArkRunInspectorHardening, bS as buildArkRunInspectorOutboxMonitor, bT as buildArkRunInspectorSnapshot, bU as buildArkRunInspectorWorkflowsMonitor, bV as buildDependencyInformationPackage, bW as classifyArkRunInspectorStoreDurability, bX as closeArkRunGraphQuery, bY as closedArkRunEphemeral, bZ as closedArkRunTransportKind, b_ as formatArkRunGraphMermaid, b$ as formatArkRunInspectorSseEvent, c0 as isArkRunInspectorLoopbackHost, c1 as isArkRunInspectorProductionEnv, c2 as requestArkRunGraph, c3 as resolveArkRunInspectorBind, c4 as resolveArkRunSendPlan, c5 as startArkRunInspector, c6 as unavailableArkRunInspectorOutboxMonitor, c7 as unavailableArkRunInspectorWorkflowsMonitor } from '../types-CnauMQQL.js';
3
3
 
4
4
  /**
5
5
  * Reference in-process audit store. **Not production durability** — records do not
@@ -290,7 +290,10 @@ declare class InMemoryEventBuffer implements EventBufferStore {
290
290
  list(status?: EventBufferStatus): Promise<EventBufferRecord[]>;
291
291
  clear(): Promise<void>;
292
292
  }
293
- /** @deprecated Use InMemoryEventBuffer. */
293
+ /**
294
+ * @deprecated Use InMemoryEventBuffer.
295
+ * @alias Kept as a public alias of `arkgate/runtime` until its removal.
296
+ */
294
297
  declare const InMemoryOutboxStore: typeof InMemoryEventBuffer;
295
298
 
296
299
  /**
@@ -444,7 +447,7 @@ declare function createSaga<P extends SagaContext = SagaContext>(def: SagaDefini
444
447
  }): SagaInstance<P>;
445
448
 
446
449
  /** ArkGate library version — single source of truth. */
447
- declare const version = "4.8.24";
450
+ declare const version = "4.8.26";
448
451
 
449
452
  /** Versioned public result contract types + JSON Schema (adapter envelope). */
450
453
  /**
@@ -857,138 +860,6 @@ declare function createAdapterResult(input: {
857
860
  warnings?: readonly AdapterViolationInput[];
858
861
  }): CurrentAdapterResult;
859
862
 
860
- /**
861
- * In-memory shadow / replay / compare for ArkRun information packages (XP07 / ADR 0033).
862
- * Not durable. Not a second bus. Stripped snapshots only.
863
- */
864
-
865
- type InformationPackageDiff = {
866
- readonly path: string;
867
- readonly left: unknown;
868
- readonly right: unknown;
869
- };
870
- type InformationPackageCompare = {
871
- readonly equal: boolean;
872
- readonly diffs: readonly InformationPackageDiff[];
873
- };
874
- /** Shadow: identity snapshot. The live kernel is not copied. */
875
- declare function shadowInformationPackage(pack: DependencyInformationPackage): DependencyInformationPackage;
876
- declare function compareInformationPackages(left: DependencyInformationPackage, right: DependencyInformationPackage): InformationPackageCompare;
877
- /**
878
- * Replay: apply sequential snapshots as the "tape". Each step is compared to
879
- * the previous shadow. No bus, no store, no time travel across processes.
880
- */
881
- declare function replayInformationPackages(tape: readonly DependencyInformationPackage[]): InformationPackageCompare[];
882
-
883
- /**
884
- * Default cap for in-memory history, trace, audit, and default event-buffer
885
- * records. Without a cap a long-running process grows without bound on every
886
- * publish. Pass `maxHistorySize: Infinity` to explicitly opt back into unbounded
887
- * retention. An injected `eventBuffer` owns its own retention.
888
- */
889
- declare const DEFAULT_MAX_HISTORY_SIZE = 1000;
890
- declare function createArkKernel(options?: CreateArkKernelOptions): ArkKernel;
891
- /**
892
- * Preferred ArkRun factory. Each call is a new isolated instance — there is no
893
- * process-wide singleton.
894
- */
895
- declare function createStrictArkKernel(options?: CreateArkKernelOptions): ArkKernel;
896
- declare function createArkKernelFromConfig(config: ArkKernelConfig, options?: CreateArkKernelFromConfigOptions): ArkKernel;
897
- /**
898
- * Strict kernel whose runtime layer profile comes from `ark.config.json`.
899
- * Hard observed-layer-flow needs every layer a deny rule names to resolve an
900
- * intent: declared `intentPrefixes`, or a canonical 11-layer name (`DomainModel`,
901
- * `ApplicationOrchestration`, … — what `ark init` writes) which gets the built-in
902
- * prefixes. A custom-named deny layer without prefixes is recorded as a
903
- * `layer.observedFlowUnresolvable` audit record (`ARKRUN_LAYER_FLOW_UNRESOLVABLE`);
904
- * passing `enforceObservedLayerFlow: 'hard'` explicitly throws `ArkKernelConfigError`
905
- * instead.
906
- */
907
- declare function createStrictArkKernelFromConfig(config: ArkKernelConfig, options?: CreateArkKernelFromConfigOptions): ArkKernel;
908
- declare function createLenientArkKernelFromConfig(config: ArkKernelConfig, options?: CreateArkKernelFromConfigOptions): ArkKernel;
909
- declare function createLenientArkKernel(options?: CreateArkKernelOptions): ArkKernel;
910
-
911
- interface ArkTestSnapshot {
912
- events: DomainEvent[];
913
- traces: TraceRecord[];
914
- audit: AuditRecord[];
915
- outbox: OutboxRecord[];
916
- observability: ObservabilityDriftReport;
917
- }
918
- interface ArkTestHarness {
919
- events(intent?: string): DomainEvent[];
920
- traces(type?: TraceRecordType): TraceRecord[];
921
- audit(query?: AuditQuery): Promise<AuditRecord[]>;
922
- outbox(status?: OutboxStatus): Promise<OutboxRecord[]>;
923
- observability(): ObservabilityDriftReport;
924
- snapshot(): Promise<ArkTestSnapshot>;
925
- clear(): Promise<void>;
926
- }
927
-
928
- declare function createArkTestHarness(kernel: ArkKernel): ArkTestHarness;
929
-
930
- /**
931
- * Ports & Adapters basic contracts.
932
- */
933
- interface Port<T = unknown> {
934
- readonly name: string;
935
- readonly ownerLayer?: string;
936
- readonly intent?: IntentName;
937
- readonly allowedAdapters?: string[];
938
- readonly __port?: T;
939
- }
940
- interface Adapter<T = unknown> {
941
- readonly name?: string;
942
- readonly layer?: string;
943
- readonly intent?: IntentName;
944
- readonly port: Port<T>;
945
- readonly impl: T;
946
- }
947
- interface DefinePortOptions {
948
- ownerLayer?: string;
949
- intent?: IntentName;
950
- allowedAdapters?: string[];
951
- }
952
- interface CreateAdapterOptions {
953
- name?: string;
954
- layer?: string;
955
- intent?: IntentName;
956
- requiredKeys?: string[];
957
- }
958
- /**
959
- * Simple contract checker (duck typing + optional required keys).
960
- */
961
- type ContractCheckResult = {
962
- ok: true;
963
- } | {
964
- ok: false;
965
- missing: string[];
966
- };
967
- interface AdapterGovernanceIssue {
968
- ruleId: 'ADAPTER_NOT_ALLOWED_FOR_PORT';
969
- message: string;
970
- port: string;
971
- adapter?: string;
972
- }
973
- type AdapterGovernanceResult = {
974
- ok: true;
975
- issues: [];
976
- } | {
977
- ok: false;
978
- issues: AdapterGovernanceIssue[];
979
- };
980
-
981
- /**
982
- * Ports and Adapters utilities.
983
- *
984
- * definePort + createAdapter with basic runtime contract validation.
985
- */
986
-
987
- declare function definePort<T = unknown>(name: string, options?: DefinePortOptions): Port<T>;
988
- declare function createAdapter<T>(port: Port<T>, impl: T, requiredKeysOrOptions?: string[] | CreateAdapterOptions, adapterOptions?: CreateAdapterOptions): Adapter<T>;
989
- declare function checkContract(impl: unknown, requiredKeys?: string[]): ContractCheckResult;
990
- declare function checkAdapterGovernance(adapter: Adapter): AdapterGovernanceResult;
991
-
992
863
  /**
993
864
  * AI Code Gate (basic).
994
865
  *
@@ -2364,6 +2235,8 @@ type ArkRuleProvenance = {
2364
2235
  sourceFile: string;
2365
2236
  ruleId: string;
2366
2237
  layer: string;
2238
+ /** Set when the rule was read from a child-slice file. Absent on central files. */
2239
+ childId?: string;
2367
2240
  };
2368
2241
  type EffectiveStructureRule = ArkRuleStructureEntry & {
2369
2242
  mode: ArkRuleMode;
@@ -2377,6 +2250,8 @@ type EffectiveArkRules = {
2377
2250
  schemaVersion: '1.0';
2378
2251
  byLayer: Record<string, {
2379
2252
  sourceFile: string;
2253
+ /** Every file merged into this layer, central paths first. Absent on older catalogs. */
2254
+ sourceFiles?: string[];
2380
2255
  structure: EffectiveStructureRule[];
2381
2256
  invariants: EffectiveInvariantRule[];
2382
2257
  }>;
@@ -2384,6 +2259,30 @@ type EffectiveArkRules = {
2384
2259
  invariants: EffectiveInvariantRule[];
2385
2260
  };
2386
2261
 
2262
+ /** Priority order: guard-family operators first, constants last. */
2263
+ declare const INVARIANT_PROBE_OPERATORS: readonly ["negate-guard", "drop-throw", "flip-comparison", "boundary-shift", "const-shift"];
2264
+ type ProbeOperator = (typeof INVARIANT_PROBE_OPERATORS)[number];
2265
+ declare const INVARIANT_PROBE_VERDICTS: readonly ["killed", "survived", "not-reached", "inconclusive", "unprobeable"];
2266
+ type ProbeVerdict = (typeof INVARIANT_PROBE_VERDICTS)[number];
2267
+ declare const INVARIANT_PROBE_REASONS: readonly ["all-killed", "mutant-survived", "reach-canary-survived", "baseline-red", "baseline-timeout", "runner-error", "file-not-loaded", "mutant-runtime-error", "no-symbol", "declaration-only", "symbol-not-found", "no-covering-test", "no-site"];
2268
+ type ProbeReason = (typeof INVARIANT_PROBE_REASONS)[number];
2269
+ /** What promotion and status read from one row. */
2270
+ type InvariantProbeSummary = {
2271
+ verdict: ProbeVerdict;
2272
+ reason: ProbeReason;
2273
+ /** False when a hashed input changed since the run; a stale row changes nothing. */
2274
+ fresh: boolean;
2275
+ survivors: Array<{
2276
+ operator: ProbeOperator;
2277
+ line: number;
2278
+ original: string;
2279
+ replacement: string;
2280
+ }>;
2281
+ staleBecause?: string[];
2282
+ symbolFile?: string;
2283
+ probedOn?: string;
2284
+ };
2285
+
2387
2286
  /**
2388
2287
  * Pure invariant coverage evidence (ADR 0014 / AR09–AR10).
2389
2288
  *
@@ -2436,6 +2335,13 @@ type InvariantCoverageEvidence = {
2436
2335
  * so existing promote fixtures stay valid; the evaluator always sets it.
2437
2336
  */
2438
2337
  coverageRootsDeclared?: boolean;
2338
+ /**
2339
+ * Committed mutation-probe evidence for this invariant (ADR 0039), attached
2340
+ * by Tooling when `.ark/invariant-probe.json` has a row. Additive: absent on
2341
+ * every evaluation that has no artifact. Only a fresh `survived` /
2342
+ * `not-reached` changes promotion; every other state changes nothing.
2343
+ */
2344
+ probe?: InvariantProbeSummary;
2439
2345
  };
2440
2346
  /**
2441
2347
  * What the Tooling scan actually saw. Every discard has a counted reason —
@@ -3087,4 +2993,136 @@ type ArkDesignDeltaResult = {
3087
2993
  error?: string;
3088
2994
  };
3089
2995
 
2996
+ /**
2997
+ * In-memory shadow / replay / compare for ArkRun information packages (XP07 / ADR 0033).
2998
+ * Not durable. Not a second bus. Stripped snapshots only.
2999
+ */
3000
+
3001
+ type InformationPackageDiff = {
3002
+ readonly path: string;
3003
+ readonly left: unknown;
3004
+ readonly right: unknown;
3005
+ };
3006
+ type InformationPackageCompare = {
3007
+ readonly equal: boolean;
3008
+ readonly diffs: readonly InformationPackageDiff[];
3009
+ };
3010
+ /** Shadow: identity snapshot. The live kernel is not copied. */
3011
+ declare function shadowInformationPackage(pack: DependencyInformationPackage): DependencyInformationPackage;
3012
+ declare function compareInformationPackages(left: DependencyInformationPackage, right: DependencyInformationPackage): InformationPackageCompare;
3013
+ /**
3014
+ * Replay: apply sequential snapshots as the "tape". Each step is compared to
3015
+ * the previous shadow. No bus, no store, no time travel across processes.
3016
+ */
3017
+ declare function replayInformationPackages(tape: readonly DependencyInformationPackage[]): InformationPackageCompare[];
3018
+
3019
+ /**
3020
+ * Default cap for in-memory history, trace, audit, and default event-buffer
3021
+ * records. Without a cap a long-running process grows without bound on every
3022
+ * publish. Pass `maxHistorySize: Infinity` to explicitly opt back into unbounded
3023
+ * retention. An injected `eventBuffer` owns its own retention.
3024
+ */
3025
+ declare const DEFAULT_MAX_HISTORY_SIZE = 1000;
3026
+ declare function createArkKernel(options?: CreateArkKernelOptions): ArkKernel;
3027
+ /**
3028
+ * Preferred ArkRun factory. Each call is a new isolated instance — there is no
3029
+ * process-wide singleton.
3030
+ */
3031
+ declare function createStrictArkKernel(options?: CreateArkKernelOptions): ArkKernel;
3032
+ declare function createArkKernelFromConfig(config: ArkKernelConfig, options?: CreateArkKernelFromConfigOptions): ArkKernel;
3033
+ /**
3034
+ * Strict kernel whose runtime layer profile comes from `ark.config.json`.
3035
+ * Hard observed-layer-flow needs every layer a deny rule names to resolve an
3036
+ * intent: declared `intentPrefixes`, or a canonical 11-layer name (`DomainModel`,
3037
+ * `ApplicationOrchestration`, … — what `ark init` writes) which gets the built-in
3038
+ * prefixes. A custom-named deny layer without prefixes is recorded as a
3039
+ * `layer.observedFlowUnresolvable` audit record (`ARKRUN_LAYER_FLOW_UNRESOLVABLE`);
3040
+ * passing `enforceObservedLayerFlow: 'hard'` explicitly throws `ArkKernelConfigError`
3041
+ * instead.
3042
+ */
3043
+ declare function createStrictArkKernelFromConfig(config: ArkKernelConfig, options?: CreateArkKernelFromConfigOptions): ArkKernel;
3044
+ declare function createLenientArkKernelFromConfig(config: ArkKernelConfig, options?: CreateArkKernelFromConfigOptions): ArkKernel;
3045
+ declare function createLenientArkKernel(options?: CreateArkKernelOptions): ArkKernel;
3046
+
3047
+ interface ArkTestSnapshot {
3048
+ events: DomainEvent[];
3049
+ traces: TraceRecord[];
3050
+ audit: AuditRecord[];
3051
+ outbox: OutboxRecord[];
3052
+ observability: ObservabilityDriftReport;
3053
+ }
3054
+ interface ArkTestHarness {
3055
+ events(intent?: string): DomainEvent[];
3056
+ traces(type?: TraceRecordType): TraceRecord[];
3057
+ audit(query?: AuditQuery): Promise<AuditRecord[]>;
3058
+ outbox(status?: OutboxStatus): Promise<OutboxRecord[]>;
3059
+ observability(): ObservabilityDriftReport;
3060
+ snapshot(): Promise<ArkTestSnapshot>;
3061
+ clear(): Promise<void>;
3062
+ }
3063
+
3064
+ declare function createArkTestHarness(kernel: ArkKernel): ArkTestHarness;
3065
+
3066
+ /**
3067
+ * Ports & Adapters basic contracts.
3068
+ */
3069
+ interface Port<T = unknown> {
3070
+ readonly name: string;
3071
+ readonly ownerLayer?: string;
3072
+ readonly intent?: IntentName;
3073
+ readonly allowedAdapters?: string[];
3074
+ readonly __port?: T;
3075
+ }
3076
+ interface Adapter<T = unknown> {
3077
+ readonly name?: string;
3078
+ readonly layer?: string;
3079
+ readonly intent?: IntentName;
3080
+ readonly port: Port<T>;
3081
+ readonly impl: T;
3082
+ }
3083
+ interface DefinePortOptions {
3084
+ ownerLayer?: string;
3085
+ intent?: IntentName;
3086
+ allowedAdapters?: string[];
3087
+ }
3088
+ interface CreateAdapterOptions {
3089
+ name?: string;
3090
+ layer?: string;
3091
+ intent?: IntentName;
3092
+ requiredKeys?: string[];
3093
+ }
3094
+ /**
3095
+ * Simple contract checker (duck typing + optional required keys).
3096
+ */
3097
+ type ContractCheckResult = {
3098
+ ok: true;
3099
+ } | {
3100
+ ok: false;
3101
+ missing: string[];
3102
+ };
3103
+ interface AdapterGovernanceIssue {
3104
+ ruleId: 'ADAPTER_NOT_ALLOWED_FOR_PORT';
3105
+ message: string;
3106
+ port: string;
3107
+ adapter?: string;
3108
+ }
3109
+ type AdapterGovernanceResult = {
3110
+ ok: true;
3111
+ issues: [];
3112
+ } | {
3113
+ ok: false;
3114
+ issues: AdapterGovernanceIssue[];
3115
+ };
3116
+
3117
+ /**
3118
+ * Ports and Adapters utilities.
3119
+ *
3120
+ * definePort + createAdapter with basic runtime contract validation.
3121
+ */
3122
+
3123
+ declare function definePort<T = unknown>(name: string, options?: DefinePortOptions): Port<T>;
3124
+ declare function createAdapter<T>(port: Port<T>, impl: T, requiredKeysOrOptions?: string[] | CreateAdapterOptions, adapterOptions?: CreateAdapterOptions): Adapter<T>;
3125
+ declare function checkContract(impl: unknown, requiredKeys?: string[]): ContractCheckResult;
3126
+ declare function checkAdapterGovernance(adapter: Adapter): AdapterGovernanceResult;
3127
+
3090
3128
  export { type AICodeGate, type AICodeGateContext, type AICodeGateOptions, type AICodeGateResult, type AICodeGateViolation, type AIGateExtension, ANALYSIS_IR_SCHEMA_VERSION, ARK_ANALYSIS_RESULT_SCHEMA, ARK_ANALYSIS_RESULT_SCHEMA_VERSION, ARK_DESIGN_DELTA_SCHEMA_VERSION, ARK_ENFORCEMENT_STATE_SCHEMA_VERSION, type Adapter, type AdapterCompletenessReason, type AdapterDiagnostic, type AdapterGovernanceIssue, type AdapterGovernanceResult, type AdapterResult, type AdapterSeverity, type AdapterViolationInput, type AnalysisCapabilityUse, type AnalysisCompilerOptions, type AnalysisCompleteness, type AnalysisContract, type AnalysisEvidence, type AnalysisFile, type AnalysisFileChange, type AnalysisFileInput, type AnalysisImportEdge, type AnalysisIr, type AnalysisMode, type AnalysisResult, type AnalysisViolation, type AnalyzeArchitectureConvergenceInput, type AnalyzeChangeInput, type AnalyzePolicyDeltaInput, type AnalyzeProjectInput, type AnalyzeResolvedProjectInput, type ArchitectureActualChange, type ArchitectureChangeMap, type ArchitectureChangeMapContract, type ArchitectureChangeMapDependency, type ArchitectureChangeMapFile, type ArchitectureChangeOperation, type ArchitectureConvergenceClassification, type ArchitectureConvergenceFinding, type ArchitectureConvergenceResult, type ArchitectureDependency, type ArchitectureEngineEdge, type ArchitectureEngineResult, type ArchitectureEngineViolation, ArchitectureProfile, ArkCheckConfig, type ArkDesignDeltaResult, type ArkEnforcementHost, type ArkEnforcementState, ArkKernel, ArkKernelConfig, ArkKernelConfigError, ArkManifest, type ArkTestHarness, type ArkTestSnapshot, AuditQuery, AuditRecord, AuditStore, AuditTrail, type BuildPublishPolicyContextOptions, type ChangePreflightResult, type CollectAnalysisConfigWarningsInput, type ContractCheckResult, type CreateAdapterOptions, CreateArchitectureProfileFromArkConfigOptions, CreateArchitectureProfileOptions, CreateArkKernelFromConfigOptions, CreateArkKernelOptions, type CreateArkManifestOptions, CreateAuditTrailOptions, CreateElevenLayerArkConfigOptions, CreateObservabilityReporterOptions, CreateProjectionRegistryOptions, CreateWorkflowEngineOptions, DEFAULT_MAX_HISTORY_SIZE, DIAGNOSTIC_CATALOG, DIAGNOSTIC_CATALOG_SCHEMA_VERSION, DIAGNOSTIC_DOCS_RELATIVE_PATH, DIAGNOSTIC_RULE_IDS, DefineIntentOptions, type DefinePolicyOptions, type DefinePortOptions, DependencyGraph, DependencyInformationPackage, type DesignDeltaChange, type DesignDeltaEnforcementScope, type DesignDeltaIdentity, type DesignSmellEvidence, type DesignSmellFinding, type DesignSmellId, type DiagnosticCatalogEntry, type DiagnosticCategory, DomainEvent, type EnforcementBoundaryState, type EnforcementEvidence, type EnforcementEvidenceField, type EnforcementVerification, type EvaluateArchitectureGraphInput, EventBufferRecord, EventBufferStatus, EventBufferStore, EventBus, EventBusOptions, EventContract, EventContractRegistry, EventContractRegistryImpl, EventContractValidationResult, EventContractViolationError, type ForbiddenCapabilityUse, GraphEdge, type GraphPolicyContext, InMemoryAuditStore, InMemoryEventBuffer, type InMemoryEventBufferOptions, InMemoryOutboxStore, InMemoryReadModelStore, InMemoryWorkflowStore, type InformationPackageCompare, type InformationPackageDiff, IntentCreator, IntentCreator as IntentDefinition, IntentName, type IntentNameValidation, IntentRegistry, IntentRelationship, InvalidIntentNameError, type LayerFlowRule, LayerPolicyContextError, type LayerPolicyOptions, MANIFEST_SCHEMA_VERSION, MetadataRegistry, ObservabilityDriftReport, ObservabilityReporter, ObservedLayerFlowViolationError, OutboxRecord, OutboxStatus, POLICY_DELTA_SCHEMA_VERSION, Policy, type PolicyDelta, type PolicyDeltaAcknowledgement, type PolicyDeltaAnalysis, type PolicyDeltaClassification, type PolicyDeltaFinding, PolicyEnforcementMode, PolicyEngine, PolicySeverity, PolicyViolation, PolicyViolationError, type Port, type PreflightResolvedChangeInput, type PreparedChangeFile, ProjectionRegistry, type PublishPolicyContext, RESOLVED_CANDIDATE_FACTS_SCHEMA, RESOLVED_CANDIDATE_FACTS_SCHEMA_VERSION, ReadModelStore, type ResolvedAmbientFact, type ResolvedAnalysisFile, type ResolvedAnalysisIr, type ResolvedAnalysisResult, type ResolvedArkRunCompositionRootHitFact, type ResolvedArkRunDeclarationFact, type ResolvedArkRunKernelCallFact, type ResolvedArkRunKernelCallKind, type ResolvedArkRunManagedNewFact, type ResolvedCandidateFacts, type ResolvedCandidateFactsInput, type ResolvedCapability, type ResolvedCapabilityFact, type ResolvedChangePreflightResult, type ResolvedDependencyFact, type ResolvedDependencyKind, type ResolvedDependencyState, type ResolvedFactsCompleteness, type ResolvedFactsReason, type ResolvedFileFact, type ResolvedIntentReferenceFact, type ResolvedPublishFact, type ResolvedSafetyFact, type ResolvedSafetyKind, type ResolvedSafetyReport, SagaDefinition, SagaInstance, type SemanticDependency, type SemanticDependencyKind, SourceMetadataOverrideError, type SyncRegistryOptions, TraceRecord, TraceRecordType, UnknownEventSourceError, UnregisteredIntentError, WorkflowEngine, WorkflowSnapshot, WorkflowStore, analyzeArchitectureConvergence, analyzeChange, analyzePolicyDelta, analyzeProject, analyzeResolvedProject, architecturalPolicies, buildPublishPolicyContext, catalogFixForRuleId, catalogWhyForRuleId, checkAdapterGovernance, checkContract, classifyArkPolicyDelta, collectAnalysisConfigWarnings, collectForbiddenCapabilityUses, compareInformationPackages, createAICodeGate, createAdapter, createAdapterResult, createArchitectureProfile, createArchitectureProfileFromArkConfig, createArkKernel, createArkKernelFromConfig, createArkManifest, createArkTestHarness, createAuditTrail, createDependencyGraph, createElevenLayerArkConfig, createEventBus, createEventContractRegistry, createIntentRegistry, createLenientArkKernel, createLenientArkKernelFromConfig, createMetadataRegistry, createObservabilityReporter, createProjectionRegistry, createResolvedCandidateFacts, createSaga, createStrictArkKernel, createStrictArkKernelFromConfig, createWorkflowEngine, defaultIntentRegistry, defineArchitectureProfilePolicy, defineIntent, defineLayerPolicy, definePolicy, definePort, definePublishPolicy, detectArchitectureCycles, deterministicHash, diagnosticDocsFragment, diagnosticDocsPath, elevenLayerProfile, evaluateArchitectureGraph, explainViolation, extractSemanticDependencies, getDiagnosticCatalogEntry, isCataloguedOrArkRuleFamily, isKnownDiagnosticCode, isLayerPolicy, loadContract, loadResolvedCandidateFacts, policyDeltaAcknowledgementMatches, preflightChange, preflightResolvedChange, replayInformationPackages, resolvedFactsEvidenceRequirementsHash, serializeDiagnosticCatalog, shadowInformationPackage, stableSerialize, syncRegistryToGraph, toAdapterDiagnostic, validateIntentName, version };