PostconditionCheck
One postcondition a `make` run promised: a named consequence, whether it was actually found on disk, and whether its absence should fail the run. `$required` is the line between a dangling reference and a handed-off decision: a missing `required` consequence (the entity file, the repository registration, a referenced enum) means the scaffold is internally inconsistent and the run is {@see PostconditionReport::ok()} `false`; a missing NON-required one (registering the plugin in `config/plugins.php` — the activation decision `make` deliberately hands to a human) is reported as advisory and never fails the run.
PostconditionCheck::__construct()
public function __construct(string $name, bool $ok, string $detail, bool $required = true):Parameters
| Name | Type | Description |
|---|---|---|
| $name | string | stable identifier of the promised consequence (e.g. `entity_file`, `repository_registered`, `enum:Status`) |
| $ok | bool | whether the consequence was actually found |
| $detail | string | human-readable one-line explanation of what was checked and the outcome |
| $required | bool | whether a missing consequence fails the run (`true`) or is advisory only (`false`) |