fix(governance): enforce live Actions policy - #622
Conversation
|
CI credential diagnosis (2026-08-24): the new live policy check is working and failing closed. |
Complete standards#486 with a live policy detector, verified all-or-selected setter, reusable preflight, RSR integration, task recipes, policy documentation, and adversarial fixtures. The standards repository setting was also corrected to allowed_actions=all with sha_pinning_required=true and verified through a GET read-back.
e2f4c51 to
f9acfb3
Compare
|



Summary
Closes #486.
check-actions-policy.shinspect the live repository policy rather than duplicating the tree scannerset-allowed-actions.shto apply the recorded default (all+ mandatory SHA pinning), retain a selected high-sensitivity mode, escalate repo → org → enterprise, and verify every write through a GETThe live
hyperpolymath/standardssetting was corrected fromselected + sha_pinning_required=falseto the issue's decision of record:{"enabled":true,"allowed_actions":"all","sha_pinning_required":true}The PUT was followed immediately by that GET response; no estate-wide/org policy was changed.
Verification
scripts/tests/actions-policy-486-test.sh: 11/11 pass, covering all/selected compliance, pinning-off, disabled Actions, empty/missing selected entries, setter read-back reset refusal, selected setter mode, and RSR pass/fail behavioryqgh actions-lock --verify-localcoveragejust validatepassesgit diff --checkpassesToken note
The reusable accepts
HYPATIA_SCAN_PAT(the existing standards secret) for Administration-read access and falls back togithub.token. The local governance caller usessecrets: inherit; cross-repository callers can explicitly map that secret.