Skip to content
docsv0.1.0

GovernanceStatus

The plan's health status report (GOV-3): one `GateStatus` per gate, in the plan's contractual order, plus the exact count per condition. The system MEASURES, it does not diagnose: `summary()` counts each gate exactly once and does NOT collapse to a single verdict. "No signal" (null condition) is a separate number, never interpreted as health or as failure (ADR#18).

GovernanceStatus::__construct()

public function __construct(string $planHash, array $gates):

Parameters

Parameters of __construct()
NameTypeDescription
$planHashstringHash of the plan this status was derived from
$gateslist<GateStatus>Status per gate, in the plan's contractual order

GovernanceStatus::summary()

public function summary(): array

Exact count per condition. Each gate falls into exactly one bucket, and `total === count($gates)`.

GovernanceStatus::toArray()

public function toArray(): array

Serializes the full report.