Interface: GovernanceEvent
Defined in: packages/core/src/observability/DebugObserver.ts:128
Emitted during governance operations (contract materialization, lockfile generation, integrity verification, attestation).
Connects the introspection/governance modules to observability, enabling debug logging and telemetry for CI/CD pipeline steps.
Properties
detail?
readonly optional detail: string;Defined in: packages/core/src/observability/DebugObserver.ts:137
Optional details (e.g. "3 tools compiled", "lockfile stale")
durationMs
readonly durationMs: number;Defined in: packages/core/src/observability/DebugObserver.ts:139
Milliseconds spent in this operation
label
readonly label: string;Defined in: packages/core/src/observability/DebugObserver.ts:133
Human-readable label
operation
readonly operation: GovernanceOperation;Defined in: packages/core/src/observability/DebugObserver.ts:131
Which governance operation ran
outcome
readonly outcome: "success" | "failure" | "drift";Defined in: packages/core/src/observability/DebugObserver.ts:135
Outcome of the operation
timestamp
readonly timestamp: number;Defined in: packages/core/src/observability/DebugObserver.ts:140
type
readonly type: "governance";Defined in: packages/core/src/observability/DebugObserver.ts:129