Skip to content

RFC-014: Contract Governor Shared Infrastructure — 2. Architecture

AIGP SpecificationRFC-014: Contract Governor Shared Infrastructure › 2. Architecture

← 1. Purpose · Section index · 3. Package Distribution →

2. Architecture

contract-governor (pip)
ContractGovernor StipulationConfig ValidationResult
ValidationPipeline StipulationProcessor
Universal engine installed in every Docker image
identity-service analytics-service governance-server runbook-service
(Gandalf) (Conversion) (Policy) (Execution)
ingredients ingredients ingredients ingredients
gandalf- gandalf- gandalf- gandalf-
api.yaml api.yaml api.yaml api.yaml
stipula- stipula- stipula- stipula-
tion-*. tion-*. tion-*. tion-*.
yaml yaml yaml yaml

Each amigo runs the same contract-governor engine but loads its own:

Amigo Contract Stipulations Domain
identity-service ingredients/gandalf-api.yaml ingredients/stipulation-gandalf-v*.yaml Identity & SCIM operations
analytics-service ingredients/gandalf-api.yaml ingredients/stipulation-ana-gandalf-v*.yaml Policy conversion & analytics
governance-server ingredients/gandalf-api.yaml ingredients/stipulation-gov-v*.yaml AI governance & policy
runbook-service ingredients/gandalf-api.yaml ingredients/stipulation-run-v*.yaml Execution orchestration

← 1. Purpose · Section index · 3. Package Distribution →