Skip to content

Add a pre-merge verification hook on gh pr merge #177

Description

@DocGerd

Turn the memorized #119 near-miss LAW into a mechanical guard.

Acceptance criteria

  • PreToolUse hook on gh pr merge blocks unless the PR head.sha equals the last pushed SHA AND check-runs exist for that exact SHA.
  • Emits a clear reason string on block.
  • Foreground-test the poll command once before arming (CLAUDE.md poll-loop gotcha).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: toolingRepo config, Claude automation, CI/CD metapriority: highDo next; blocks release or agentstype: choreTooling, deps, refactor, repo maintenance

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions