AuditLevel enum
Defines the Observability Granularity and XAI Verbosity required for a Deputy's operations.
Within the governance framework, audit levels determine the density of the causal trace and the detail required for Explainable AI (XAI) justifications. High-level auditing ensures that the Causal Provenance is sufficiently documented to satisfy System Law (TestCell) requirements.
When to use
Choose the audit level based on forensic needs:
nonefor high‑frequency telemetry.minimalfor basic error logging.standardfor general operations.detailedfor XAI and debugging.fullfor compliance and forensics.
How it works
The audit level controls how much trace data is preserved. Higher levels capture more metadata, which can impact performance.
Non‑obvious
- Some high‑integrity cells reject pulses with low audit levels.
- This is evolvable – a supervisor can increase audit rigour.
See also: Mandate.auditLevel.
Values
- none → const AuditLevel
-
Level 0: None. No logs or traces are generated. Used for high-frequency, non-critical pulses where performance is the absolute priority and historical reconstruction is unnecessary.
- minimal → const AuditLevel
-
Level 1: Minimal. Only final outcomes and critical errors are recorded. Suitable for stable, low-risk background tasks where basic failure monitoring is sufficient.
- standard → const AuditLevel
-
Level 2: Standard. Records principal state changes and their immediate reasons. The default level for general application logic, providing a balance between performance and Causal Provenance.
- detailed → const AuditLevel
-
Level 3: Detailed. Captures intermediate reasoning steps and metadata. Provides the necessary depth for Explainable AI (XAI), allowing agents to provide a clear rationale for their state transitions.
- full → const AuditLevel
-
Level 4: Full Trace. Exhaustive logging of every micro-transition, internal monologue, and gate evaluation. Used for forensics, security audits, and debugging complex Sovereign Resident (AI) behavior.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isSilent → bool
-
Returns
trueif auditing is completely disabled to maximize performance.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - requiresDeepReasoning → bool
-
Returns
trueif the level requires high-fidelity XAI metadata to support deep reasoning and justification.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AuditLevel> - A constant List of the values in this enum, in order of their declaration.