Skip to content

Register the no-retries CI and Sonar workflow bytes - #374

Merged
rmcdaniel merged 1 commit into
mainfrom
general/295b-apt-registry
Nov 13, 2026
Merged

rmcdaniel merged 1 commit into
mainfrom
general/295b-apt-registry

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Part of #295. Must merge before #373.

#373 adds one step to ci.yml (contracts) and sonar.yml (analysis). The step writes Acquire::Retries "0"; before shivammathur/setup-php, which can call apt-get on unpinned hosted runners (CVE-2026-109518). Both are reviewed complex workflows. Validate native policy subject checks the PR's workflow bytes against main's protected_policy_context.py registry, so #373 fails with Protected pilot requires closed literal commands or exact reviewed workflow bytes until those bytes are registered on main.

Change: this PR touches only the registry. It adds REVIEWED_APT_NO_RETRIES_SOURCE_CI_SUCCESSORS to the control-plane registries, with the exact bytes from #373 at head 617778f2:

  • ci.yml: 760de748e04a5c652d0174b8bb68b689aed98c17aed10a06b628af6b931719fc
  • sonar.yml: f7fad8367df4a4e9565d97e13aa120d55038ed9c749fdfcd86e1312bfca3cced

The earlier identities stay registered, and no workflow file changes. These identities do nothing until #373's exact bytes land, the same way earlier successors were registered. They need Security's exact-source review.

tests.test_protected_policy_context passes locally.

🤖 Generated with Claude Code

Add the exact SHA-256 identities of ci.yml and sonar.yml as changed by
#373, which adds one step writing APT's Acquire::Retries "0" before
setup-php (CVE-2026-109518). The protected context check runs main's
registry, so these inert identities must land before #373 can pass.
Existing identities stay registered; no workflow changes here.

Refs #295

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel rmcdaniel added the agent:general Pull request opened by General agent label Nov 13, 2026
@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel

Copy link
Copy Markdown
Member Author

Security PASS at a9f20ba. It adds a single registry, REVIEWED_APT_NO_RETRIES_SOURCE_CI_SUCCESSORS, wired into github-control-plane only. Its two hashes equal the exact bytes of #373's head (617778f): ci.yml 760de748…19fc and sonar.yml f7fad836…cced. Main's current bytes still equal the previously registered 44953364… / 829ac16a…. The only difference between #373's workflows and main is one step before setup-php in each, writing Acquire::Retries "0"; to /etc/apt/apt.conf.d/99-no-retries. No other registry or identity changes.

@rmcdaniel
rmcdaniel merged commit 114ad7d into main Nov 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:general Pull request opened by General agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant