# StellaOps.Policy — Agent Charter ## Mission Deliver the policy engine outlined in `docs/modules/scanner/ARCHITECTURE.md` and related prose: - Define YAML schema (ignore rules, VEX inclusion/exclusion, vendor precedence, license gates). - Provide policy snapshot storage with revision digests and diagnostics. - Offer preview APIs to compare policy impacts on existing reports. ## Expectations - Coordinate with Scanner.WebService, Feedser, Vexer, UI, Notify. - Maintain deterministic serialization and unit tests for precedence rules. - Update `TASKS.md` and broadcast contract changes. ## Required Reading - `docs/modules/policy/architecture.md` - `docs/modules/platform/architecture-overview.md` ## Working Agreement - 1. Update task status to `DOING`/`DONE` in both `docs/implplan/SPRINTS.md` and the local `TASKS.md` when you start or finish work. - 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met. - 3. Keep changes deterministic (stable ordering, timestamps, hashes) and align with offline/air-gap expectations. - 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change. - 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.