Skip to content

fix: restore post-merge scanner startup and preserve supplemental coverage - #64

Merged
hyperpolymath merged 3 commits into
mainfrom
arena/50103063-cicd-suite
Oct 31, 2026
Merged

hyperpolymath merged 3 commits into
mainfrom
arena/50103063-cicd-suite

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Fixes

  • Restore scan / gitleaks using the published main commit d285b0a, not a pre-squash PR SHA. The old run explicitly said workflow was not found.
  • Confirmed the canonical legacy standards reusable is rejected by Actions admission policy. Instead of expanding policy, replace that remote bundle with in-suite Rust/shell detector ports and remove the duplicated Gitleaks pass.
  • Preserve legacy detector rules/exceptions against frozen exact-revision test oracles; redact values, refuse ambiguous shell locations and scanner population errors, and remove the expired environment-controlled grace window.
  • Wire supplements into the new scanner implementation's aggregate verdict; read PR shell-ignore policy from the trusted base.
  • Add a publication guard so production callers cannot pin an implementation that has not landed on main.

Validation on current head 1574030

  • 26 differential fixtures plus 5 security-hardening controls pass.
  • Real Gitleaks + integrated verdict fixtures pass on hosted CI; push control job 41147146078 passed in 28 seconds, PR control job 41147150904 in 23 seconds.
  • Actual scan / gitleaks passed in 10 seconds (41147150838).
  • Both live supplemental jobs pass (41147150759); no legacy zero-job failure remains on this head.
  • CodeQL, SonarCloud, GitGuardian, component audit and shell-contract checks pass. Semgrep also passed (1m52s); all current-head visible checks pass. No quality gate was disabled.

Publishing/rollout boundary

The current production caller deliberately remains pinned to already-published d285b0a; standalone supplement jobs preserve this repository's additional checks now. Merge this implementation first, observe main, then use the resulting main SHA for integrated consumer canaries. Do not pin production callers to intermediate commits from this PR.

No consumer repositories have been edited, no admin merge performed, no required context removed, and no admission policy expanded. Full-history remains the default. See docs/SCANNER-STARTUP-AND-PARITY.adoc. Empirical fixtures are not a whole-estate equivalence proof.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e4215100-4cc0-4eba-869c-8712327413b9
Commits

Reviewing files that changed from the base of the PR and between c47af81 and 1574030.

Files selected for processing: 13
  • .github/workflows/secret-scanner-legacy.yml
  • .github/workflows/secret-scanner-self-test.yml
  • README.adoc
  • actions/secret-scan-check/check.sh
  • actions/secret-scan-check/rust-supplement.sh
  • actions/secret-scan-check/shell-supplement.sh
  • actions/secret-scan-check/test.sh
  • docs/SCANNER-STARTUP-AND-PARITY.adoc
  • scripts/verify-published-scanner-pin.sh
  • tests/fixtures/legacy-secret-scanner/rust.sh
  • tests/fixtures/legacy-secret-scanner/shell.sh
  • tests/published-scanner-pin.sh
  • tests/secret-scanner-supplements.sh

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 84c224c2-dc29-49cd-bfe9-dcc4255245af
Commits

Reviewing files that changed from the base of the PR and between d285b0a and c47af81.

Files selected for processing: 2
  • .github/workflows/secret-scanner-legacy.yml
  • .github/workflows/secret-scanner.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details
Context from checks skipped due to timeout: 5
  • GitHub Check: scan / gitleaks
  • GitHub Check: controls
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Analyze (actions)
  • GitHub Check: controls
Additional comments: 3
.github/workflows/secret-scanner-legacy.yml: 2

5-7: LGTM!

28-28: Stability & Availability

The change itself is supported by the inspected evidence. Line 28 now calls metadatastician/standards/.github/workflows/secret-scanner-reusable.yml at commit 74d2f66f575246cf6e313ae7775f44df6e097ff2. The PR objectives state that this repoint is intentional. They also state that the same SHA is used for the moved coordinate, and that the previous workflow-not-found failure is the reason for the change.

The comment does not identify a defect in the diff. It asks the author to confirm that an organisation or repository Actions policy permits the new source, and to run legacy at the exact SHA. Those steps are external checks. The PR objectives list live startup validation as a pre-merge or rollout requirement. That requirement is not a repository-owned contract that this diff breaks. The repository does not contain the Actions policy, and the cited raw-file contents were not inspected in this checkout. No repository source shows that the pinned reference fails, is unreachable, or violates a configured rule.

The stated consequence, a failed or blocked legacy run, is an operational validation outcome. It is not a material defect established by the reviewed code. Keeping the check as a review finding would turn a pending rollout validation into a code issue.

.github/workflows/secret-scanner.yml: 1

19-19: Stability & Availability

The changed line replaces the previous reusable-workflow pin 50dc27f47e39f7ac046596c071ed4ea80b4989e0 with d285b0a6f9bd85c7d678619dd6269437127dddb5. The comment does not identify a defect in this pin. Its request for a live startup check and differential fixtures before merge is a general validation reminder. The PR objectives state that procedure as intent. The supplied context does not show that this diff breaks a repository-owned validation contract.

The comment also asserts that GitHub applies repository and organisation policy when it resolves reusable workflows. That is a general platform statement. The comment does not tie it to a condition in this workflow or to a failure in the pinned file. The prior review notes report that the pinned secret-scanner-reusable.yml exists and defines the expected gitleaks job. I did not re-inspect that file in this turn.

No inspected source establishes a material subject, path, and consequence for this change. The concern is unsubstantiated.

📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the automated secret-scanning workflow configuration and clarified which scan check is required.
    • Retained the legacy workflow as a comparison configuration.

The primary secret-scanner workflow now references a different pinned reusable-workflow commit. The legacy workflow documentation clarifies its comparison role and required-check ownership, and its reusable-workflow repository reference changes.

Changes: Secret scanner workflow updates

Layer / File(s) Summary
Update scanner workflow references
.github/workflows/secret-scanner.yml, .github/workflows/secret-scanner-legacy.yml
The scan job uses a new reusable-workflow commit. The legacy workflow is described as a comparison bundle, with secret-scanner.yml identified as owning the required scan / gitleaks context. The legacy workflow’s repository reference changes to metadatastician/standards; its workflow path and commit remain unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Possibly related PRs

Merge Risk: Minimal · previous review c47af

The workflow changes are locally compatible. Complete the documented live and policy validation before rollout.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly identifies the scanner startup fix and preservation of supplemental coverage. It matches the workflow pin and legacy caller changes.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description is specific and related to the changeset. It explains that the scanner is repinned to published main commit d285b0a, that the legacy caller moves to metadatastician/standards, and that…
Full details: Description check

Explanation

The description is specific and related to the changeset. It explains that the scanner is repinned to published main commit d285b0a, that the legacy caller moves to metadatastician/standards, and that supplemental detector ports replace the remote bundle. It also lists validation results and a rollout boundary, which match the workflow changes and PR objectives.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hyperpolymath
hyperpolymath marked this pull request as ready for review October 30, 2026 23:52
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T23:54:14.093280Z c47af81 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

hyperpolymath and others added 2 commits October 30, 2026 23:52
…ial controls

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
…icts

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 41f8a32 into main Oct 31, 2026
18 checks passed
@hyperpolymath
hyperpolymath deleted the arena/50103063-cicd-suite branch October 31, 2026 00:03
hyperpolymath added a commit that referenced this pull request Oct 31, 2026
)

## Next stage after #64
- Advances the suite caller to published merge SHA
41f8a32, including the integrated
Gitleaks/Rust/shell verdict. No intermediate PR pin.
- Adds read-only full-history corpus audits of three pinned public
default-branch snapshots: unified-dataset-vocab, idrisiser and
gitbot-fleet. These do not modify consumers or execute their code.
- Found fleet rules explicitly require scan / rust-secrets and scan /
shell-secrets as well as scan / gitleaks. Adds SHA-bound result receipts
and compatibility result jobs without duplicating full scans or removing
requirements.
- Tests the exact result-job shell from parsed YAML: findings,
infrastructure errors, timeouts, missing receipts, cancellation,
skipping and mismatched subjects cannot pass. Integration fixtures test
actual receipt emission.
- Restricts corpus audits to PR context after CodeQL flagged the
unnecessary manual-dispatch surface. The alert is fixed, not suppressed.

## Current-head evidence (0f0500f)
All current-head checks and workflow runs passed, including CodeQL,
SonarCloud, GitGuardian, Semgrep, audit and control suites.
- Suite caller: 9-second job, success (41154022526).
- Corpus audit jobs: unified-dataset-vocab 8s; idrisiser 8s;
gitbot-fleet 14s (41154022359).
- Real detector, differential, publication and receipt controls:
27-second PR job, success (41154022420).

## Important rollout boundary
No consumer caller or policy has been changed. Corpus audits use
published suite 41f8a3; they do not prove consumer Actions admission,
consumer lock-sync or PR merge readiness. The added compatibility jobs
are tested at source level but must be witnessed through real consumer
callers after publication.

Review and merge normally to publish this implementation. Then pin
representative consumer PRs to this PR's resulting main SHA (not an
intermediate PR commit), verify all required contexts and
consumer-specific lock rules, and expand only after those canaries pass.
Full history stays the default; no admin override, dropped required
context, broad permission grant or global suppression is part of this
change.

---------

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant