Concept

How the GitHub check works

A pull request has to cite existing, non-retired records, so a retired decision cannot come back through a merge.

For: Team developer, Project lead, Tester

What it checks

The pull request…Result
cites no record codeFails, unless it has the label no-requirement
cites a code that does not existFails
cites a Retired recordFails
cites a Draft or Approved recordPasses with a warning
cites only Authority recordsPasses

Set it up

  1. Run /corpole:init and accept the GitHub Action, or copy it from Agents → Repository kit.
  2. Create a service token on the project's Agents page.
  3. Add it to the repository as the secret CORPOLE_TOKEN.

Why it matters

Agents write most of the pull requests. The check makes each one say which requirement it serves, and stops work built on a requirement you already retired.