Context
policy.py validates many fields at load time, but there is no standalone policy.schema.json. A schema would make operator config safer and easier to edit before service startup.
Proposal
Add a JSON Schema for policy.json and a validation command such as gab validate-policy.
Acceptance criteria
- Repository includes
policy.schema.json or an equivalent generated schema artifact.
gab validate-policy --policy path reports unknown fields and invalid values clearly.
- Documentation references the schema and validation command.
- Tests cover valid and invalid policy examples.
Priority
Low.
Context
policy.pyvalidates many fields at load time, but there is no standalonepolicy.schema.json. A schema would make operator config safer and easier to edit before service startup.Proposal
Add a JSON Schema for
policy.jsonand a validation command such asgab validate-policy.Acceptance criteria
policy.schema.jsonor an equivalent generated schema artifact.gab validate-policy --policy pathreports unknown fields and invalid values clearly.Priority
Low.