Skip to content

Feat/green polarity classifier - #76

Merged
hyperpolymath merged 10 commits into
mainfrom
feat/green-polarity-classifier
Sep 15, 2026
Merged

hyperpolymath merged 10 commits into
mainfrom
feat/green-polarity-classifier

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Changes

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent)
  • Code is formatted (just fmt or equivalent)
  • Linter is clean (no new warnings or errors)
  • No banned language patterns (no TypeScript, no npm/bun, no Go/Python)
  • No unsafe blocks without // SAFETY: comments
  • No banned functions (believe_me, unsafeCoerce, Obj.magic, Admitted, sorry)
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • .machine_readable/descriptiles/STATE.a2ml updated (if project state changed)
  • .machine_readable/descriptiles/ECOSYSTEM.a2ml updated (if integrations changed)
  • .machine_readable/descriptiles/META.a2ml updated (if architectural decisions changed)
  • Documentation updated for user-facing changes
  • TOPOLOGY.md updated (if architecture changed)
  • CHANGELOG or release notes updated
  • New dependencies reviewed for license compatibility (MPL-2.0 / MPL-2.0)
  • ABI/FFI changes validated (src/interface/abi/ and src/interface/ffi/ consistent)

Testing

Screenshots

hyperpolymath and others added 7 commits September 4, 2026 00:45
`squabble fight` classifies only RED checks, so a gate that could not run
reports green and is never inspected. That is the whole fake-green class:
a scanner goes missing, a stub writes `[]`, the check goes green, and the
gate silently stops being a gate.

Adds `squabble-core::polarity`: Genuine | NotApplicable | Vacuous.

* Evidence tier is declared and singular — Actions jobs-API step
  conclusions. Causes needing workflow YAML or script source are absent;
  a variant we cannot witness from the declared source would be a
  taxonomy, not a classifier.
* Scanner-agnostic. The signature is host-supplied from
  `gate_triage.a2ml`; no scanner name appears in this crate. ANCHOR
  declares `hypatia-dependent` an IS-NOT.
* Axis 0 (applicability) is checked first and is THREE-way: undeclared
  falls through, declared-and-matched falls through, only
  declared-and-contradicted is NotApplicable. Treating undeclared as
  NotApplicable would make this classifier its own fake green (planted
  break: 10 of 21 tests fail).
* The signature is a CONJUNCTION. A skipped scan with no stub-writing
  step is a legitimately optional step, not vacuity.
* Never recommends deletion from a stub-rate: at run_count == 1 the rate
  is exactly 0.0 or 1.0, so one stubbed run would read as "useless
  everywhere". The directive reserves that judgement to the owner, so the
  rate is reported as evidence instead.

Adds `ExpertGroup::GateTriage` so vacuity has a consumer — an enum
nothing reads is itself a fake gate. It deliberately names no estate
service: `boj::route` now returns `Option<ExpertCall>` and yields None
for it, recorded as an honest non-dispatch rather than a silent skip.
A wildcard arm would have routed owner-facing findings to hypatia by the
back door.

SPARK is untouched: gate_machine.ads models only Check_Run/Gate_State/
Evaluate, not this crate the check annotations, so `Green IFF non-empty
AND all Passed` holds bit-for-bit. Witnessed by a Rust test asserting
`Gate::evaluate()` is unchanged across classification.

Note: `boj` is an off-by-default cargo feature, so plain `cargo build`
never compiled it and missed the non-exhaustive match. Verified with
--all-features.

Refs #39, #58
`squabble fight` classified only RED checks, so a gate that could not run
reported green and was never inspected. That is the whole fake-green class:
a scanner goes missing, a stub writes `[]`, the check goes green, and the
gate silently stops being a gate.

Host wiring for the classifier landed in 8ac9108:

- `fetch.rs` reads each successful check's job id out of `detailsUrl`
  (the rollup exposes no job id field) and pulls step conclusions from
  `repos/{slug}/actions/jobs/{id}`. Status contexts with no job are
  skipped rather than guessed at.
- `fight.rs` classifies those greens against the repo's own
  `gate_triage.a2ml` signature and folds any vacuity finding into the
  report's escalations. A gate with no usable signature costs zero API
  calls, so this is fail-safe by default.
- A fully green gate yields `Outcome::Green`, which carries no `Report`
  and so has no typed home for the finding. Per issue #58's go/no-go
  ("if it needs a new state, write a spec first and stop"), that path
  reports on stderr — visible in both human and `--json` modes — with
  the limitation named in the message. Not a silent skip.

`gate_triage.a2ml` goes draft -> active, and now records which evidence
fields the host can actually measure. Two of the four cannot be measured
from the jobs API, so they render `unmeasured` and can never reach the
destructive recommendation.

Verified: cargo test --workspace --all-features (112 passed) and
cargo clippy --workspace --all-features --all-targets -- -D warnings,
both run unpiped so the exit code is real.
`step_concluded` compares step names exactly. The directive shipped
"Create stub findings", but the real workflow step is
"Create stub findings (when Hypatia unavailable)" — 33 of 33 local
`static-analysis-gate.yml` copies, zero variants. So the signature matched
no job on earth and every green check would have classified `Genuine`,
forever. The classifier hunting fake greens was about to become one.

The strings came from a ruling, not from a workflow file. Fixed at source
(the directive), not by loosening the matcher: exact comparison is correct
when the names are uniform, and the census says they are.

The tests did not catch this because both of them asked the wrong question:

- `the_repos_own_directive_parses` asserted only `is_usable()` — "are the
  lists non-empty" — while its consumer needs "do these names match a real
  job". Renamed and strengthened to assert the literal names.
- the end-to-end test built its signature from an inline fixture carrying
  the same wrong string as its payload, so it agreed with itself and proved
  nothing. It now loads this repo's own directive, so drift on either side
  fails it.

Both are proven able to fail: restoring the abbreviation fails each one and
nothing else; reverting it returns them to green.

Added a negative control — a scan that really ran must not be reported
vacuous — so the classifier is pinned in both directions.

The directive also now records three limits it previously implied away:
- coverage is hypatia-only; the identical panic-attack (33/33) and
  patch-bridge (27/33) stub paths are NOT matched, because the quantifier is
  `all` and one signature describes one scanner. An undercount, never a
  false alarm.
- `run-count` and `stub-rate` are single-run values, not a measured history.
- applicability (axis 0) is core-only; `fight` passes the defaults, so the
  operator-type / channel axis cannot fire in production yet.

Verified: cargo test --workspace --all-features (113 passed), clippy
--all-features --all-targets -D warnings clean, and `just quality` green —
all run unpiped so the exit codes are real.
Both classifier fixtures now name the run they came from, so a reader can
re-fetch them rather than trust the shape:

- vacuous: hyperpolymath/session-sentinel run 33813809227
- genuine: hyperpolymath/echidnabot run 33712324720

Fetched 2026-09-04, and they are a three-way live control: echidnabot's
scan ran (`Run Hypatia scan=success`, stub skipped) and classifies Genuine,
while session-sentinel and hybrid-automation-router (run 33817428163) both
show `Run Hypatia scan=skipped` with the stub succeeding and classify
Vacuous. That is exactly the set the estate census predicted as
permanently green, and the classifier stays silent on the working one.

Both step names are now confirmed byte-exact against the live API, not
only against workflow YAML.
Three real defects, all raised on review of this PR and all verified
against the source before changing anything.

1. `classify()` tested `steps.is_empty()` FIRST and returned
   `Vacuous { NoStepsRecorded }`. But an empty step list means the jobs
   API showed us nothing — it is not a report that the job ran nothing.
   Escalating it is a genuine false alarm, and it falsifies the
   undercount-never-false-alarm property the directive promises. This
   module exists to catch guards that answer a different question from
   the one their consumer needs; it had become one.

   The cause is removed, not merely bypassed. The empty case is an
   EXPLICIT early return, because `[].iter().all(..)` is vacuously true
   in Rust: deleting the arm would have let the empty case fall through
   to `AllStepsSkipped` and reach the identical wrong verdict under a
   different label. That is proven, not asserted — with the early return
   neutered, both new tests fail.

   `no-silent-skip` still holds: the host reports the uninspectable
   green on stderr, exactly as it already does for a fetch error.

   `AllStepsSkipped` is KEPT. A job that concluded success with every
   recorded step skipped enforced nothing, whether or not a signature
   matched. The directive's coverage note is corrected to say so rather
   than the code being bent to fit stale prose (Doctrine #10).

2. `job_id_from_details_url` cut the id on `/` only, so any details URL
   carrying `?check_suite_focus=true` (GitHub appends it routinely) or a
   `#step:` fragment failed to parse and the green was skipped without a
   word — a silent undercount by construction.

3. `Evidence.stub_rate` was hardcoded `1.0`, reporting stub evidence for
   jobs that genuinely ran. It is now measured. The signature match moved
   to `VacuitySignature::matches` so host and classifier ask the same
   question: `Evidence` is an input to `classify` while the cause is its
   output, so deriving the rate from the cause would have been circular.
   `Recommendation::from_evidence` does not read `stub_rate`, so the
   recommendation branch is unchanged.

Every new test proven able to fail by a planted break, reverted.
115 tests pass; clippy -D warnings clean; `just quality` green.

Note on witnesses: this repo's rust-ci workflow cannot run. It is pinned
at standards@5b1d0022, which does not exist upstream (404), so the run
dies at startup with jobs=0. Four more workflows here are pinned at
standards@7fdc2705, which exists but is reachable from no branch. Those
five reds are pre-existing on main — every blob is byte-identical to
origin/main — and are repaired by the pin sweep, not here. The local
runs above are therefore the only witnesses for this change.

Co-Authored-By: Claude Opus 5 <[email protected]>
Apply principle of least privilege for GITHUB_TOKEN:
- Change top-level permissions to read-only
- Jobs inherit read permissions, can escalate as needed

This resolves Scorecard TokenPermissionsID alerts.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>
- Add Optimus-Branch.json for branch protection
- Add Immutable-Tags.json for tag protection
- Remove deprecated branches: from settings.yml
- Keep labels and repository metadata

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 59 minutes.

Check out review usage here.

View limit details

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

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 1cb3de48-4dfa-448a-a843-159e6b743f5b

📥 Commits

Reviewing files that changed from the base of the PR and between 3956212 and 10fefba.

📒 Files selected for processing (4)
  • .github/rulesets/Immutable-Tags.json
  • .github/rulesets/Optimus-Branch.json
  • .github/settings.yml
  • .github/workflows/dependabot-automerge.yml

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 enabled auto-merge (squash) September 12, 2026 15:24
hyperpolymath and others added 3 commits September 15, 2026 13:25
The polarity work on this branch already landed: PR #60 squash-merged this
very branch as 7b49589, and PR #72 (485d78e) then extended it with the
multi-scanner SignatureSet and axis-0 applicability this branch never had.
Re-proposing the older snapshot is what made the five files conflict at
thirty-five hunks.

All five conflicted files therefore resolve to main, which is a strict
superset: it carries every fingerprint of this branch's own bugfix
7c27241 ("stop reading absence of evidence as evidence of vacuity") --
the explicit empty-step early return, the `matches` helper, the honest
stub_rate on both CLI paths -- and retains a legacy fallback that still
parses this branch's flat-key directive format.

What survives the merge is the work that is genuinely new here: the
least-privilege pass on dependabot-automerge.yml and the two declarative
rulesets that replace the inert probot/settings template.

Verified: conflict-marker tokens 0 (yq negative control confirms the
oracle rejects markers), 27/27 workflows parse, 0 tag refs under
sha_pinning_required, and 0 Rust files differ from main.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WgqXnnNWBkiKMyUeLqzcuN
The least-privilege pass narrowed `contents` to `read` on the line whose
own trailing comment reads "needed to enable auto-merge". The workflow's
operative step is `gh pr merge --auto --squash`, which calls the
enablePullRequestAutoMerge mutation; that mutation requires write on
repository contents. At `read` the approve step still succeeds and only
the last step fails, so the failure mode is quiet: Dependabot PRs get
approved and then sit there unmerged.

Restores write on contents alone. `actions: read` and the narrow
pull-requests scope are untouched, and the standing NB against adding
`secrets: read` or `id-token: write` still holds. Comment now states the
dependency so the next least-privilege pass does not re-narrow it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WgqXnnNWBkiKMyUeLqzcuN
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 93c66c6 into main Sep 15, 2026
43 of 44 checks passed
@hyperpolymath
hyperpolymath deleted the feat/green-polarity-classifier branch September 15, 2026 12:52
hyperpolymath added a commit that referenced this pull request Oct 9, 2026
…126)

## Summary

PR 1 of 2 for a signed, pinned release pipeline. When a `v*` tag is
pushed, `release.yml` will build a static `squabble` binary for
`x86_64-unknown-linux-musl` using the workspace MSRV toolchain (1.85.0).
It publishes the binary with a `SHA256SUMS` file and a Sigstore
build-provenance attestation for both files. The Justfile's
`release-tag` now creates a **signed** tag. The crate version on `main`
is **0.1.0**.

**Sequencing.** No tag is created or pushed by this PR.

1. This PR merges.
2. The owner pushes a signed tag `v0.1.0`; tagging is the owner's call,
and tags here are immutable.
3. `release.yml` runs and publishes `squabble-x86_64-linux-musl` and
`SHA256SUMS`, with an attestation.
4. **PR 2** adds the consumer action (`verify-satisfied`). It pins the
real sha256 from that release and checks it with `gh attestation
verify`.

## Changes

- **`.github/workflows/release.yml`** is rewritten in block YAML (not
KYAML). The SPDX header is kept.
- **Trigger and permissions:** `push: tags: ['v*']`. Top-level
permissions are `contents: read` only.
  - **`build` job:**
    - checkout with `persist-credentials: false`
- `dtolnay/rust-toolchain` with `toolchain: 1.85.0` and `targets:
x86_64-unknown-linux-musl`
    - `sudo apt-get install -y musl-tools`
- `cargo build --locked --release -p squabble-cli --target
x86_64-unknown-linux-musl`
- stages `dist/squabble-x86_64-linux-musl` and `dist/SHA256SUMS`,
running `sha256sum` inside `dist/` so the names are bare
- a step that **fails** if either file is missing or empty, then runs
`sha256sum -c`
    - `upload-artifact` with `if-no-files-found: error`
  - **`release` job:**
- `needs: build`. Its permissions are exactly `contents: write`,
`id-token: write` and `attestations: write`.
- `download-artifact`, then a guard that fails on an empty or incomplete
`dist/`
- `attest-build-provenance` with `subject-path: 'dist/*'`, with **no
skip condition**
- `softprops/action-gh-release` with `files: dist/*`,
`generate_release_notes: true` and `fail_on_unmatched_files: true`
- **Removed:** the git-cliff `changelog` job, and the language
auto-detect build stub.
- **Pinning:** every `uses:` is pinned to a full commit SHA, with its
tag in a trailing comment.
- **`.github/workflows/actions.lock`** is edited **by hand**. Only the
`release.yml` entry and the records it alone used are touched. `gh
actions-lock` was **not** run in rewrite/fix mode.
  - The `release.yml` list now names the six SHA refs.
  - It adds three SHA-keyed `dependencies:` records:
    - `actions/download-artifact@3e5f45b2…`
- `actions/attest-build-provenance@4d101475…`, with its nested
`actions/attest@508db95…`, which was already recorded
    - `softprops/action-gh-release@efb35369…`
- It prunes the two tag-keyed records that only `release.yml` used:
`actions/[email protected]` and
`softprops/[email protected]`.
- The lock stays transitively closed. Repo and owner IDs were re-read
through GraphQL.
- **`Justfile` `release-tag`:** `git tag -a` becomes `git tag -s`. The
`Immutable-Tags` ruleset has a `required_signatures` rule. The recipe
now produces a signed tag whatever the local `tag.gpgsign` setting is;
on this machine `tag.gpgsign=true` was already set, so the behaviour
here does not change.

## Type of change

<!-- This repo's template has no "Type of change" section; added so the
pins block below sits where the estate PR convention expects it. -->

- New feature (CI/release pipeline). No Rust source, public API or
behaviour of `squabble` changes.

## 📌 New pins

**Head SHA: `9853570e107db3f4c5aec5b3266ed2c9e9703902`**

| Action | Pinned commit | Tag |
|---|---|---|
| `actions/checkout` | **`3d3c42e5aac5ba805825da76410c181273ba90b1`** |
v7.0.1 |
| `dtolnay/rust-toolchain` |
**`6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772`** | **no tag** (see below)
|
| `actions/upload-artifact` |
**`043fb46d1a93c77aae656e7c1c64a875d1fc6a0a`** | v7.0.1 |
| `actions/download-artifact` |
**`3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c`** | v8.0.1 |
| `actions/attest-build-provenance` |
**`4d101475d8b20a2381f78447822ac1eab6504dd8`** | v4.2.2 |
| ↳ nested `actions/attest` |
**`508db95dd578ae2727ebd6217d5ba78e4fbda05d`** | v4.2.1 |
| `softprops/action-gh-release` |
**`efb35369e0ad2afab669f228072c1b0d510eae64`** | v3.0.3 (peeled commit;
the annotated tag object is `e598afbe…`) |

Each SHA was checked with `git ls-remote` against the upstream tag.

`dtolnay/rust-toolchain@6c977a6c` is an untagged `master` commit from
2026-08-04, the merge of #182, and an ancestor of the moving `v1`
branch. It is the SHA this repo's lock already records for the standards
reusable workflows. It predates upstream's input-hardening change
(`83d0610`, "Safely handle action inputs"). The inputs here are constant
strings, so that change does not apply to this workflow.

No other lockfile records, container digests or Cargo.lock entries
change.

## RSR Quality Checklist

### Required

- [x] Tests pass: `cargo +1.85.0 test --locked --workspace` gives 279
passed, 0 failed (123 + 64 + 59 + 33).
- [ ] Code is formatted: N/A. No Rust source is changed; the only
changes are YAML, the lockfile and one Justfile line.
- [ ] Linter is clean: **not fully**.
  - `actionlint` is clean on `release.yml`.
- Pre-commit `editorconfig-checker` fails on `Justfile` lines 210–216
(indentation). That failure is **already on `origin/main`**: the same
check on `git show origin/main:Justfile` fails identically. This PR
changes only line 533.
- The repo-wide `lint-workflows` (Workflow Security Linter) red is
pre-existing; see "CI on this head" under Testing.
- [x] No banned language patterns. YAML, lockfile and Justfile only.
- [ ] No `unsafe` blocks without `// SAFETY:`: N/A, no Rust changed.
- [ ] No banned functions: N/A, no Rust, Idris, Lean or OCaml changed.
- [x] SPDX header present on the modified `release.yml` (line 1, kept).
`actions.lock` keeps the machine-generated header it already had, and
`Justfile` keeps its existing header.
- [x] No secrets, credentials or `.env` files. Pre-commit `gitleaks` and
`detect-private-key` passed.

### As Applicable

- [ ] `STATE.a2ml`: N/A. A2ML is retired estate-wide and is not created
or edited here.
- [ ] `ECOSYSTEM.a2ml`: N/A, same reason.
- [ ] `META.a2ml`: N/A, same reason.
- [ ] Documentation: N/A in this PR. The verify commands are in the
`release.yml` header comment; user-facing install docs land with PR 2.
- [ ] `TOPOLOGY.md`: N/A, no architecture change.
- [ ] `CHANGELOG`: not updated. The release now uses
`generate_release_notes: true`, and the git-cliff job is gone.
- [ ] New dependencies license review: N/A. No crate dependencies are
added; only CI actions are pinned.
- [ ] ABI/FFI: N/A, untouched.

## Testing

### How has this been verified?

| Command | Result |
|---|---|
| `rustup toolchain install 1.85.0 --profile minimal --target
x86_64-unknown-linux-musl` (into the estate tools rustup) | installed
rustc 1.85.0 (4d91de4e4 2025-02-17) |
| `cargo +1.85.0 build --locked --release -p squabble-cli --target
x86_64-unknown-linux-musl` | **rc=0**; produced `ELF 64-bit LSB pie
executable, x86-64, static-pie linked`, 2,343,240 bytes. `squabble
--version` printed `squabble 0.1.0` |
| `cargo tree --locked -p squabble-cli --target
x86_64-unknown-linux-musl -e normal,build` | 29 lines. No C-compiling
crate (`ring`, `cc`, `*-sys`) is in the default tree, which is why the
musl link works here without `musl-gcc` |
| `cargo metadata --locked` (`rust-version` of every package) | the
highest in the default graph is 1.85; `wasip2` declares 1.87.0 but is
not in the musl default tree, and the 1.85.0 build above succeeded |
| `cargo +1.85.0 test --locked --workspace` | 279 passed, 0 failed |
| `bash scripts/check-lock-sync.sh` | rc=0: in sync, transitively
closed, 0 dangling edges, every workflow keyed |
| `gh actions-lock --no-fix` | rc=0; the working tree was byte-identical
before and after |
| `actionlint .github/workflows/release.yml` (1.7.7) | rc=0 |
| `pre-commit run --files <the 3 files>` | all hooks pass except two
(details below) |
| `bash standards/.githooks/docstring-scan.sh --worktree --check` |
rc=0. No shell functions were added or modified (0 touched), so §5d does
not apply |
| `git log -1 --show-signature` | `Good "git" signature … ED25519` |

**Positive controls.** Each one shows that a check above can return a
failure.

- Dropping the `softprops@efb35369` record makes `check-lock-sync.sh`
exit 1.
- A wrong `commit:` digest on the `download-artifact` SHA record makes
`gh actions-lock --no-fix` exit 2.
- A planted `needs: buidl` makes `actionlint` exit 1.
- **`gh actions-lock --no-fix` exited 0 on the dangling-edge plant.**
That is the blind spot documented in `check-lock-sync.sh`;
`check-lock-sync.sh` is the gate that catches it.

**The two pre-commit hooks that did not pass:**

- **`editorconfig-checker` fails** on `Justfile` lines 210–216. This is
pre-existing on `origin/main` (see the checklist above), and this PR
changes only line 533.
- **`validate-k9` could not run.** Its hook repo,
`https://github.com/hyperpolymath/k9-pre-commit`, does not resolve: `git
fetch` reports "Repository not found", and GraphQL `repository(...)`
returns NOT_FOUND. As a result, `pre-commit run` aborts before any hook
runs. Every other hook was run from a scratch copy of
`.pre-commit-config.yaml` with only that repo block removed. No `.k9`
files are changed in this PR.

**Not verified locally, and only provable by the first tag run:**

- `apt-get install musl-tools` on the runner. It is not needed for the
current default dependency tree, but is kept for any future C
dependency.
- `actions/download-artifact` reading a same-run artifact without
`actions: read`. The README at `3e5f45b2` scopes default access to the
current run.
- The OIDC and Sigstore attestation itself. The repo is **public**, so
it uses the Sigstore public-good instance and the attestation is
publicly verifiable.
- `softprops/action-gh-release` creating the release.

### CI on this head (`9853570e`)

Read from `commits/9853570e…/check-runs` with `--paginate` (52 runs),
`commits/9853570e…/statuses` (plural, deduped by context), REST
`pulls/126/reviews`, GraphQL `reviewThreads` and `rules/branches/main`.

- **Effective rules on `main`:** `deletion`, `non_fast_forward`,
`required_status_checks`. The only required context is `scan /
gitleaks`, and it is **success**.
- **Check-runs:** 47 success, 3 skipped (`automerge`, `rust-ci / Cargo
audit (security)`, `rust-ci / llvm-cov line coverage`; skipped
satisfies, but they carry no evidence), 2 failure (both
`lint-workflows`, one run per trigger).
- **Apps that reported:** github-actions, codefactor-io, gitguardian,
github-advanced-security, semgrep-code-hyperpolymath and sonarqubecloud
(Quality Gate passed) as check-runs, plus `CodeRabbit` and `Codeac
analyze results` as legacy statuses. Codeac says "1 errors and 3
warnings" in a `success` state, which is the same text it gives on
`main` @ `a4cd088`.
- **CodeRabbit:** APPROVED, "No actionable comments were generated".
There are 0 review threads and 0 inline comments.
- **Code scanning:** I took the set difference by alert number. The 31
open alerts on `refs/pull/126/merge` (Hypatia and CodeQL analyses of
merge commit `76836fa6`) are a subset of the 46 open alerts on `main`,
so this PR introduces **0 alerts**. That includes the pre-existing
Hypatia #64 and #76, which fire on the case-folded duplicate
`Swatinem/rust-cache` / `swatinem/rust-cache@6323deb1` record already
present in `main`'s `actions.lock`. This PR does not touch that record.
- **`lint-workflows` is red, and it is pre-existing.**
- The failing step is `Check SHA-Pinned Actions`; `Check SPDX Headers`
and `Check Permissions Declaration` pass.
- The same step is red on `main` (run 36649482714 at `b12657f5`, whose
`.github/workflows/` is identical to `a4cd088`; 39 findings). This head
has 36 findings, all in files this PR does not change. The PR **removes
3** of them, the tag-pinned `release.yml` refs.
- 5 of the 36 are the linter matching the nested `uses:` keys inside
`actions.lock` itself. That is a linter false positive, and `main` has
the same 5.
- **Deferral:** `lint-workflows` is deferred to #127 (acceptance: the
step is green on `main`, the 31 refs are SHA-pinned and lock-covered,
and the linter no longer reads `actions.lock`).

## Screenshots

N/A. Terminal results are in the Testing table above.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_015bTuGfwCcvjrmNFejydTML

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants