Skip to content

Add pull-request style, audit, and Autopilot gates - #3

Merged
VladimirBrejcha merged 3 commits into
mainfrom
codex/tap-hosted-ci
Sep 3, 2026
Merged

Add pull-request style, audit, and Autopilot gates#3
VladimirBrejcha merged 3 commits into
mainfrom
codex/tap-hosted-ci

Conversation

@VladimirBrejcha

Copy link
Copy Markdown
Contributor

Summary

  • Pull requests and main now run script/verify.sh (brew style, brew audit --strict, formula --online, and cask --online with the known Alpha findings allowed).
  • Root autopilot.yml uses the same verify command.
  • The scheduled Formula/Cask sync now uses actions/checkout@v7.

Closes fiveonecode/simulator-broker#54.

Test plan

  • bash script/verify.sh locally
  • Hosted CI
  • Bugbot reports no issues

Made with Cursor

Why:
- The public tap only had a scheduled Formula/Cask sync. Pull requests had no hosted style or audit gate and no Autopilot origin contract.

Changed:
- Add script/verify.sh as the shared CI and Autopilot command.
- Run that command on pull requests and main.
- Keep the known Alpha cask --online pre-release and empty-livecheck findings explicit.
- Upgrade the sync workflow to checkout v7.

Verification:
- bash script/verify.sh passed locally.

Affected:
- script/verify.sh
- .github/workflows/ci.yml
- .github/workflows/sync-from-product.yml
- .github/pull_request_template.md
- autopilot.yml
- README.md

Refs:
- fiveonecode/simulator-broker#54

Session:
- task-sessions/tap-hosted-ci-20260903

Co-authored-by: Cursor <cursoragent@cursor.com>
@VladimirBrejcha VladimirBrejcha added the autopilot:on Ask Autopilot to verify this PR label Sep 3, 2026
Why:
- GitHub Actions colors brew output and emits workflow error commands, so the cask --online allowlist treated progress and annotation lines as unexpected findings.

Changed:
- Parse only dashed or starred audit findings after stripping color.
- Disable Homebrew color and GitHub Actions annotations inside the verify script.

Verification:
- brew style fiveonecodeci/simulator-broker
- bash script/verify.sh

Affected:
- script/verify.sh

Refs:
- fiveonecode/simulator-broker#54
- #3

Session:
- task-sessions/tap-hosted-ci-20260903

Co-authored-by: Cursor <cursoragent@cursor.com>
Why:
- Unauthenticated cask --online livecheck exhausted the GitHub Actions runner IP rate limit and failed the new tap CI job.

Changed:
- Pass github.token to Homebrew as HOMEBREW_GITHUB_API_TOKEN.

Verification:
- brew style fiveonecodeci/simulator-broker

Affected:
- .github/workflows/ci.yml

Refs:
- fiveonecode/simulator-broker#54
- #3

Session:
- task-sessions/tap-hosted-ci-20260903

Co-authored-by: Cursor <cursoragent@cursor.com>
@VladimirBrejcha
VladimirBrejcha merged commit da9eee0 into main Sep 3, 2026
1 check passed
@VladimirBrejcha
VladimirBrejcha deleted the codex/tap-hosted-ci branch September 3, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autopilot:on Ask Autopilot to verify this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public Homebrew tap has no PR CI or Autopilot contract

1 participant