Skip to content

feat: add governance policy linter CLI command #404

@imran-siddique

Description

@imran-siddique

Add a lint-policy subcommand to the agent-compliance CLI that validates YAML policy files for common mistakes: missing required fields, unknown rule types, conflicting rules (e.g., allow and deny same action), deprecated field names. Output: list of warnings/errors with file:line references. Place in packages/agent-compliance/src/agent_compliance/cli/. Use the PolicySchema from schemas/ for validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions