AIKernel.NET
version: 0.0.2 / status: Refactor / edition: Draft / published: 2026-05-16 / updated: 2026-05-16

Japanese version: Governance Interfaces

Governance Interfaces

1. Responsibility Boundary

Governance covers execution authorization, auditability, attention-quality supervision, admission gating, and trajectory evidence exchange. ICriticalOperationGate and IComputationalComplexityGate bound pre-inference entry, IAttentionGuard and IAttentionObserver monitor reasoning integrity, trajectory governance DTOs carry semantic ellipsoid and score evidence, and the IAuditEvent family establishes traceable audit records. For v0.0.5, governance DTOs also expose admission replay records and Semantic IR slot vocabulary so Core/runtime packages can attach fail-closed pre-inference evidence to ReplayLog without adding implementation behavior to the contract package.

  • UC-13 Runtime Signature Verification and Governance
  • UC-20 Deterministic Replay and Audit
  • UC-21 Policy Enforcement

4. Dependency Boundary

  • Depends on: AIKernel.Dtos, AIKernel.Contracts, AIKernel.Enums
  • Called by: AIKernel.Abstractions.Execution, AIKernel.Abstractions.Hosting, AIKernel.Abstractions.Prompt

5. Documents

6. Shared DTO / Enum Vocabulary

  • AdmissibilityReplayRecord: replay-compatible evidence emitted by a pre-inference admission gate.
  • AdmissibilityGateKind: prompt override, capability admission, critical operation, computational complexity, policy decision, context integrity, and runtime invariant gates.
  • AdmissibilityDecisionKind: admit, deny, transform, delegate, decompose, suspend for approval, clarify, read-only, and quarantine decisions.
  • SemanticIrSlot: the G/T/C/B Semantic IR slot vocabulary used by semantic compilation and DSL admission.

AdmissibilityReplayRecord.Metadata is the extension point for paper-level fields such as validator versions, budget, complexity profile, attached requirements, delegated solver identity, timestamp, and trace identifiers. Runtime packages should canonicalize and hash those metadata values before attaching them to ReplayLog.


Changelog

  • v0.0.0 / v0.0.0.0: Initial draft
  • v0.0.1 (2026-05-06): Version upgrade aligned with documentation guidelines
  • v0.0.4 (2026-06-04): Moved IHistorySummarizer documentation to the history interface category.
  • v0.0.4 (2026-06-04): Added ChatChain governance contract documentation.
  • v0.0.4 (2026-06-04): Added IAuditLogger to the governance interface index.
  • v0.0.5 (2026-06-05): Added admission replay and Semantic IR slot vocabulary notes.
Source: architecture/interfaces/governance/index.md