Skip to content

governance: add local link gate to pre-commit#201

Merged
ChBrain merged 5 commits into
mainfrom
governance/local-ci-parity
May 16, 2026
Merged

governance: add local link gate to pre-commit#201
ChBrain merged 5 commits into
mainfrom
governance/local-ci-parity

Conversation

@ChBrain

@ChBrain ChBrain commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add local link integrity check in pre-commit for staged regions markdown files
  • Keep local validation aligned with CI link checks
  • Clarify pre-commit validation chain comment to match actual orchestrator layers

Why

  • Trust, but verify: checks that can run locally should fail locally before push
  • Prevent CI-only surprise failures for broken markdown links

Validation

  • python -m pytest -q tests/test_links.py -k nigeria
  • python -m pytest -q tests/test_hook_scope_e2e.py -k world_branch_allows_anything_in_regions

@ChBrain
ChBrain force-pushed the governance/local-ci-parity branch from 4bad60a to c6e4b61 Compare May 16, 2026 17:23
@ChBrain
ChBrain merged commit ffde294 into main May 16, 2026
33 checks passed
@ChBrain
ChBrain deleted the governance/local-ci-parity branch May 16, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant