Skip to content
docsv0.1.0

GovernanceProfile

Governance profile: the static declaration of which decisions and gates govern the system. It is the source of truth that the Governance Plan is built from.

GovernanceProfile::__construct()

public function __construct(string $schemaVersion, string $name, string $version, array $decisionIds, array $gates, array $artifacts, array $actors):

Parameters

Parameters of __construct()
NameTypeDescription
$schemaVersionstringSchema version of this profile
$namestringName of the profile (e.g.: "milpa-framework")
$versionstringSemantic version of the profile
$decisionIdsarray<string>List of decision IDs that make up this profile
$gatesarray<GovernanceGate>List of GovernanceGate that validate conformance
$artifactsarray<RequiredArtifact>List of RequiredArtifact that must exist
$actorsarray<mixed>List of authorized actors (free-form)