fix: converge governance gates and cognitive security contracts#22319
fix: converge governance gates and cognitive security contracts#22319BrianCLong wants to merge 28 commits intomainfrom
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Important Review skippedToo many files! This PR contains 185 files, which is 35 over the limit of 150. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (185)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fb4644cc36
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "python3", | ||
| [ | ||
| "-c", | ||
| "import json, sys, yaml; json.dump(yaml.load(sys.stdin.read(), Loader=yaml.BaseLoader), sys.stdout)", |
There was a problem hiding this comment.
Remove undeclared PyYAML dependency from gate verifier
loadYaml now shells out to python3 and imports yaml, but the workflows that call this script (pr-gate and ci-guard) do not install PyYAML before execution. On runners/images where python3-yaml is absent (common on self-hosted/minimal environments), this check fails before any contract validation runs, turning required-check evaluation into an environment-dependent failure. Please either parse YAML in Node again (as before) or explicitly install/pin the Python dependency in the invoking workflows.
Useful? React with 👍 / 👎.
| {"context": "ci-guard / attestation-bundle-verifier"}, | ||
| {"context": "merge-surge / merge-queue"}, | ||
| {"context": "merge-surge / pr-fast"}, | ||
| {"context": "security-gates / gate"} |
There was a problem hiding this comment.
Include pr-gate context in branch protection payload
This branch-protection payload now requires only four contexts and omits pr-gate / gate, even though the same commit defines pr-gate / gate as canonical in required-check policy files. Running this script will configure branch protection with a weaker required-check set than policy, creating governance drift and allowing merges without the canonical PR gate. Add {"context": "pr-gate / gate"} to keep enforcement aligned.
Useful? React with 👍 / 👎.
Supersedes closed #22298. Continuing governance and CI convergence on the live branch tip. Branch-triggered workflow runs on fix/golden-main-governance-convergence-20260331 are the authoritative signal while checks settle on the new PR object.