GovernanceDecision
An immutable architecture decision that governs the system's behavior. Each decision has a unique ID, a lifecycle status, and what it governs.
GovernanceDecision::__construct()
public function __construct(string $id, string $title, Milpa\Governance\DecisionStatus $status, ?string $bornInSlice, ?string $supersedes, array $governs, array $policies, string $contentHash):Parameters
| Name | Type | Description |
|---|---|---|
| $id | string | Unique identifier of the decision (e.g.: "ADR-0004") |
| $title | string | Descriptive title of the decision |
| $status | DecisionStatus | Current status in the lifecycle |
| $bornInSlice | ?string | Development slice where it was born (e.g.: "ADR#14") |
| $supersedes | ?string | ID of the decision it replaces, if any |
| $governs | array<string> | List of identifiers for what this decision governs |
| $policies | array<mixed> | List of derived policies (free-form) |
| $contentHash | string | Hash of the full content to validate integrity |