Skip to content

fix(release): validate gate dir in release_gate_canary.sh (SEC010) - #7193

Merged
noahgift merged 1 commit into
mainfrom
fix/canary-sec010
Nov 17, 2026
Merged

noahgift merged 1 commit into
mainfrom
fix/canary-sec010

Conversation

@noahgift

@noahgift noahgift commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What and why

Main ef13445a9 (#7186) added scripts/release_gate_canary.sh. The pinned bashrs 7.4.2 gate (guard-cargo, scripts/check_bashrs_gate.sh) reported scripts/release_gate_canary.sh:15 SEC010 (cd "$DIR") and :16 SEC010 (cat "$DIR/PIN"), run 44072336628. This adds a path validation (case "$DIR": absolute, no ..) before the first use. Behaviour is unchanged: DIR is the git toplevel plus .ops/release.

Measured with the pinned bashrs 7.4.2: both canary lines are gone from the gate output (under the pinned 7.4.2 the gate goes from 2 findings to 0 over 680 files, rc=0; the ~151 SEC010 seen locally come from bashrs 7.4.3 on PATH, not the pin). make -s release-gate-canary prints PASS: release gate canary, 6/6 rows.

PRE-FLIGHT

  • GATE CHANGE: no.

ont-delta: none

Refs #7185

keep-open: #7185 stays open until make release-gate runs on the v0.75.0 tag

🤖 Generated with Claude Code

… SEC010)

Pmat-Ticket: PMAT-7185

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@noahgift noahgift added this to the 0.75.0 milestone Nov 17, 2026
@noahgift noahgift added the expedite OUT-112 expedite lane label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=7193 head=d6f03f729a0af9b5aa8b55ebd5da5eff028c7a24 verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

@noahgift
noahgift enabled auto-merge (squash) November 17, 2026 12:05
@noahgift
noahgift merged commit 57c8ec7 into main Nov 17, 2026
19 checks passed
@noahgift
noahgift deleted the fix/canary-sec010 branch November 17, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

expedite OUT-112 expedite lane

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant