SHACL Shape Governance

Ownership

Approval Flow

  1. Contributor runs python tools/shape_lint.py locally before opening a PR; CI runs it automatically and blocks merge on errors.
  2. Contributor runs python tools/shape_impact_analysis.py --shape-version <candidate> --graph <snapshot|ttl|nt> before PR:
  3. On errors: fix and re-run; on warnings: document the rationale in the PR and re-run after updates.
  4. Shared shapes require architecture sign-off (tag the architecture team as reviewers).
  5. Bounded-context shapes require domain owner approval (tag the owning team or add them as reviewers).

Conflict Resolution

Versioning Policy