Three failures from the first push, all of them CI configuration rather
than code.
CodeQL and CI/Node both hit startup_failure with no logs. A caller cannot
grant a called workflow less than its jobs declare, and the run is
rejected before anything starts, so there is nothing to read.
reusable-codeql.yml's analyze job asks for `packages: read` to fetch
CodeQL packs, and reusable-web-react.yml's deploy job asks for `pages:
write` and `id-token: write`. The deploy job is skipped here
(deploy-pages: false), but permissions are validated at startup
regardless of `if:`.
This is the trap RELEASE-CI.md section 1 already records -- "callers
without a permissions block default everything to none" -- met from the
other direction: having a block is not enough if it grants less than the
callee asked for. Both comments now say so at the point of use.
cargo audit failed to compile rather than finding an advisory.
rustsec/audit-check builds cargo-audit from source, and
rust-toolchain.toml pinned that build to PipDock's 1.94.1; cargo-audit's
own dependency tree needs 1.96. The job now builds it with stable, which
is correct in principle too: the pin exists to make PipDock reproducible,
not its tooling, and cargo-audit only reads Cargo.lock.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>