Skip to content

Policy Packs & Enforcement Modes (Advisory/Mixed/Hard) #158

@djm81

Description

@djm81

Why

Policy enforcement needs reusable packs and per-rule modes without inventing a second clean-code-specific severity system.

What Changes

  • Keep advisory, mixed, and hard enforcement modes as the only mode model.
  • Add the built-in specfact/clean-code-principles pack with per-rule mode mapping.
  • Let clean-code consumers inherit defaults from profile-01-config-layering and override modes through .specfact/policy.yaml.

OpenSpec Change Proposal: policy-02-packs-and-modes

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogSpecfact backlog related topicchange-proposalProposal for a new changeenhancementNew feature or requestopenspecopenspec change

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions