POST /v1/controlbook (how).
Shape
controlbook.yaml
Top-level fields
Obligation fields
human_review_required is accepted in the file but does not route
anything to the review queue today.Gold score
formula_type is one of weighted_average, minimum_threshold or
all_must_pass. (custom_expression is reserved and not implemented.) app_weights maps obligation ids to
weights. The agent is compliant when the score reaches compliant_threshold
(default 0.85). Under weighted_average, a score below minimum_floor
(default 0.80) is clamped to 0; under minimum_threshold, every
obligation must also clear the floor.
The policy catalog
29 regulations ship. List them withsengol policy list, filter with
--region or --industry, and inspect one with sengol regulation show <ID>.
Custom policies
Add internal policies undercustom_policies in sengol.yaml. Ids must not
collide with built-in ones:
sengol.yaml
display_name and region. Optional: industries, authority,
url, version, and report (title, subtitle, plain_language).