Skip to content

ci/agents: zizmor advisory findings are check-run annotations — invisible to every agent surface (green check, unread annotations) #510

Closed

Description

@kyle-sexton

Problem

zizmor findings are invisible to every agent in the pipeline. The zizmor lane (reusable workflow from melodic-software/ci-workflows, invoked in ci.yml) runs in advisory mode: findings are emitted as check-run annotations and the job exits green ("zizmor reported findings (exit 13); advisory mode keeps this lane successful").

No agent surface reads annotations:

  • babysit snapshot reads check conclusions (sees success) and PR review threads/comments.
  • work-lane post-green review pass and claude[bot] review read the diff and PR comments.
  • Nothing calls the check-runs annotations API.

Result: real security findings sit in the Actions UI (visible to a human scrolling commits/files, which is how this was noticed) and are never triaged, never become required fixes.

Evidence

PR #456 head, check zizmor / zizmor: conclusion: success, annotations_count: 2, including:

warning .github/dependabot.yml:43: insufficient cooldown in Dependabot updates: missing cooldown configuration

Candidate fixes (triage to weigh)

  1. Babysit snapshot: when any check has annotations_count > 0 at warning+ level, surface annotations in the PR digest / needs_worker signal (annotations API: GET /repos/{owner}/{repo}/check-runs/{id}/annotations).
  2. Route zizmor SARIF to code scanning and have agents read code-scanning alerts (durable, per-line, dismissable — better contract than transient annotations).
  3. Flip advisory mode to blocking for warning+ severity (change lives in ci-workflows reusable workflow per cross-repo ownership; consumer repos opt in via input).

Options compose: 3 stops the bleeding for new findings; 1 or 2 makes existing/advisory findings agent-visible.

Relations

Filed from control-tower checkpoint on operator observation (2026-07-19).

Activity

  1. added
    needs-triage
    area: security
    on Jul 19, 2026
  2. kyle-sexton commented on Jul 19, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage. · Category: ci/agents (security-signal visibility) · Priority: priority: high (real security findings sit green + unread; agnosticism/side-effect on a priority surface). Routed status: ready.

    Plan

    zizmor runs advisory (findings → check-run annotations, job exits green), and NO agent surface reads annotations — babysit reads check conclusions (success), reviews read diff + PR comments. Real findings (e.g. PR #456: dependabot.yml:43 insufficient cooldown) are never triaged.

    Make findings agent-visible (composed):

    • Option 1 (default, in-repo): babysit snapshot flags any check with annotations_count > 0 at warning+ level and surfaces the annotations (API: GET /repos/{owner}/{repo}/check-runs/{id}/annotations) in the PR digest / needs_worker signal.
    • Option 3 (recommended, cross-repo): flip advisory→blocking for warning+ severity in the zizmor reusable workflow (owned by melodic-software/ci-workflows; consumer repos opt in via input) — stops the bleeding for new findings.
    • Option 2 (future, bigger): route zizmor SARIF to code scanning; agents read code-scanning alerts (durable, per-line, dismissable — better contract than transient annotations). Noted as the more-durable alternative, maintainer-vetoable.

    Immediate concrete fix (separable, cheap): the surfaced dependabot.yml cooldown config — fixable now regardless of the visibility work.

    Acceptance

    • A check that is green-with-warning+-annotations is surfaced by the babysit snapshot as an actionable signal, not swallowed by the green conclusion.
    • (If option 3 taken) warning+ zizmor findings block via the ci-workflows input.
    • The dependabot.yml cooldown finding is resolved.

    Sibling to #509 (no dedicated security-review pass) — same "security signal exists but isn't wired to agents" family; independently actionable.

    Decision defaulted: option 1 (babysit surfaces warning+ annotations) + option 3 (advisory→blocking in ci-workflows); option 2 (SARIF→code-scanning) as the more-durable future path — veto before merge

  3. added
    status: ready
    and removed
    needs-triage
    on Jul 19, 2026
  4. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Parking pickup — this issue's own body lists 3 candidate fixes and asks to "triage to weigh," which is a scope/ownership decision, not a mechanical fix. Also: option 3 (flip zizmor advisory→blocking) is a ci-workflows reusable-workflow change per this org's cross-repo ownership split (Actions-execution behavior lives upstream there, not in this consumer repo) — out of scope for this lane regardless of which option wins. Option 1 (babysit snapshot surfaces annotations) additionally collides with an in-flight PR on the source-control plugin this cycle (cross-lane guard), so it can't be picked even if selected.

    RECOMMENDED: Option 2 — route zizmor SARIF to GitHub code scanning (durable, per-line, dismissable alerts; existing codeql-style agent surfaces can read them) as a claude-code-plugins-local CI config change, plus the trivial immediate fix noted in the issue body (dependabot.yml missing cooldown config) in the same PR. This stays entirely inside this repo, doesn't touch a plugin with an open PR, and doesn't require the ci-workflows change.

    Options:

    1. Option 2 (recommended) — code-scanning route + dependabot.yml cooldown fix, this repo only.
    2. Option 1 — babysit snapshot annotation surfacing. Correct long-term signal path but touches source-control:babysit-prs, currently blocked by open PRs fix(source-control): babysit snapshot classifies Approve-with-nits bot review as non-blocking (#499) #567/fix(source-control): require per-thread pins for autonomous bulk babysit thread resolves #561 on that plugin; would need to wait a cycle.
    3. Option 3 — flip advisory→blocking. Requires a melodic-software/ci-workflows change first (different repo, different lane/ownership per CLAUDE.md); this repo only consumes the opt-in input once upstream ships it.

    label: status: needs-decision

  5. added
    needs-owner-decision
    on Jul 20, 2026
  6. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Class-B research resolution (control-tower agent, Opus). Operator-sanctioned research-resolution pass, 2026-07-20.

    Settling question: Does routing zizmor SARIF output to GitHub code scanning make findings readable by existing agent surfaces (gh api code-scanning alerts), and is that the documented, durable ingestion path?

    Answer: yes on the mechanism, with two honest qualifiers — but implementing it is a cross-repo (ci-workflows) change, not this-repo-only as the decide-lane brief assumed.

    The ingestion path is real, documented, and durable

    • zizmor emits SARIF natively via --format=sarif — a first-class, documented output format (zizmor usage docs).
    • GitHub code scanning ingests third-party SARIF via github/codeql-action/upload-sarif; zizmor's own docs publish this exact recipe as its recommended Advanced Security integration (zizmor integrations, GitHub: uploading a SARIF file).
    • Findings land as durable, per-line, dismissable code-scanning alerts, queryable at GET /repos/{owner}/{repo}/code-scanning/alerts (code scanning REST API). That is a strictly better contract than the transient check-run annotations we get today.
    • Free on this repo. melodic-software/claude-code-plugins is public. GitHub gates a Code Security license on private repos only ("If you want to use code scanning on private repositories, you need a GitHub Code Security license" — about code scanning); third-party SARIF upload is supported for public repos on GitHub.com (SARIF support). The REST API's "403 if GitHub Advanced Security is not enabled" note is the private-repo path. This is the free path — not the paid code-scanning SKU that autonomy's guardrail policy keeps advisory/opt-in. On a public repo the only required permission is security-events: write (contents/actions: read are private-repo-only per the zizmor recipe).

    Qualifier 1 — visibility, not blocking

    In SARIF mode zizmor always exits 0 even when it has findings (integrations). So Option 2 populates the alerts surface but does not gate CI. That is exactly the issue's complaint (real findings sit green-and-unread), so it's the right fix for visibility. It is orthogonal to Option 3 (the actual gate); they compose, matching this issue's "composed" framing. Option 2 alone does not make CI red.

    Qualifier 2 — "existing agent surfaces": ad-hoc yes, auto-routed no

    Once alerts exist, any agent can read them ad hoc via gh api /repos/melodic-software/claude-code-plugins/code-scanning/alerts — that satisfies the settling question's parenthetical. But no current surface auto-reads code-scanning alerts: today's readers (source-control pull-request/babysit fetch-annotations.sh, review:ci-log-auditor) walk check-runs + the Annotations API, not code-scanning alerts. A reader that pulls alerts into the PR digest / needs_worker signal is follow-on work, not delivered by the upload alone.

    Disposition: cross-repo — routes to melodic-software/ci-workflows

    zizmor does not run in this repo. This repo's ci.yml zizmor lane calls the reusable workflow melodic-software/ci-workflows/.github/workflows/zizmor.yml@90f1c54, which runs zizmor with --format=github (annotations). The load-bearing change — produce SARIF + upload it — lives in that reusable workflow, whose own header already reserves this: "SARIF upload to the Security tab is a separate, later decision; SARIF mode would add an opt-in input plus the matching security-events: write permission." Per the org's ownership split (reusable Actions-execution behavior is ci-workflows-owned), the core of Option 2 is upstream. Duplicating zizmor's checksum-pinned invocation inline in this repo to avoid the upstream edit would violate the no-duplication / ownership rules, so upstream-first is the correct shape.

    Implementation sketch (upstream-first):

    In ci-workflows/.github/workflows/zizmor.yml (owner change): add an opt-in upload-sarif boolean input (default false, preserving advisory-annotations default); when true, run zizmor --format=sarif ... > results.sarif (note: exits 0), declare security-events: write on the job, and add a github/codeql-action/upload-sarif@<pinned> step with sarif_file: results.sarif + a category.

    In this repo's .github/workflows/ci.yml zizmor lane (consumer opt-in, only after upstream ships): pass with: upload-sarif: true and grant security-events: write on the caller job (currently contents: read); the ci-status aggregate already lists the lane.

    Scope note (not my assigned question, flagged for accuracy): the decide-lane tiebreak that picked Option 2 partly because it "stays entirely inside this repo" no longer holds — that premise is false. I am not re-adjudicating Option 1/Option 3 here; the reusable workflow does expose a fail-on-findings input this repo currently leaves at its advisory default, so the ownership comparison across options deserves a fresh look by the operator rather than my assertion.

    Labels unchanged (cross-repo trigger). Flagging for operator routing to a ci-workflows work item; the consumer-side opt-in in this repo is a small follow-up gated on that landing.

  7. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Control-tower routing (2026-07-20). Cross-repo work item filed: melodic-software/ci-workflows#154 (opt-in SARIF + code-scanning upload in the reusable zizmor.yml — the research-recommended option 2 mechanics). Remaining here for the operator: option re-adjudication given the research's two findings — (a) the decide-lane brief's "stays in-repo" premise is false (zizmor runs via the reusable workflow), and (b) the reusable workflow already exposes fail-on-findings, so the option-3 blocking-mode comparison deserves a fresh look. Consumer opt-in in this repo is a small follow-up once ci-workflows#154 lands. Also note the audit's MERGE-INTO #532 verdict for this issue rides on the #607 batch decision.

  8. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Class-B research-resolution pass (control-tower agent, Opus), 2026-07-20 — dedup + label correction, no new research.

    The surfacing mechanism is already research-settled and routed on this issue (zizmor --format=sarif → github/codeql-action/upload-sarif → durable, per-line, dismissable code-scanning alerts; cross-repo, filed as ci-workflows#154). This pass does not re-litigate that — re-posting the same citations would only duplicate.

    Label correction: this issue carried both status: needs-decision and status: ready — contradictory. status: ready is removed. The accurate state is status: needs-decision: the load-bearing change is cross-repo (ci-workflows#154), and the remaining in-repo item is operator option adjudication (Option 1 babysit-annotations / Option 2 SARIF→code-scanning / Option 3 advisory→blocking), which is convention/ownership-shaped — not work-lane-executable here. Leaving it flagged ready risks a work lane picking up a cross-repo-blocked item. The separable in-repo dependabot.yml cooldown fix remains independently actionable but does not make the issue as a whole ready.

    Operator veto window (Class B research-resolution, control tower dispatch).

  9. removed
    status: ready
    on Jul 20, 2026
  10. kyle-sexton commented on Jul 20, 2026

    @kyle-sexton
    MemberAuthor

    Operator decision brief (control-tower, 2026-07-20). Resolves the remaining fork — Option 1 / 2 / 3 / composition, and in what order — now that the mechanism and cross-repo split are research-settled above. No labels changed; no other comment edited.

    Problem (2 sentences)

    zizmor runs advisory (exit 0, findings emitted only as check-run annotations), and no agent surface reads annotations — babysit reads check conclusions (success), reviews read the diff — so real Actions-security findings sit green and never get triaged. The open question is not whether to fix but which of three composable fixes to take, in what order, given that two of them are cross-repo.

    What the repo actually does today (verified)

    • .github/workflows/ci.yml, zizmor: job: calls melodic-software/ci-workflows/.github/workflows/zizmor.yml@90f1c54935203fa31b5b3d1f41531228be2c2b7f with only runner: ubuntu-24.04, paths: ., and permissions: { contents: read }. It passes neither fail-on-findings nor any SARIF input — so the lane is advisory by omission (the lane comment says so: "findings annotate without blocking").
    • The zizmor lane is in the ci-status needs: graph. So ci-status (the single required check) already depends on it — the enforcement wiring is present; only the advisory default keeps it from ever going red.
    • The pinned reusable workflow already exposes a fail-on-findings boolean input (default false). This means Option 3 is a one-line change in this repo (with: fail-on-findings: true) at the current pin — no upstream edit, no new pin. This corrects the 2026-07-20T02:37 decide-lane comment, which treated Option 3 as blocked on a ci-workflows change; that premise is false at pin 90f1c54 (and the 04:41 routing note already flagged it for a fresh look — confirmed here).
    • Caveat on what the flip actually gates: verified against the run step — it runs --format=github --persona=regular and fail-on-findings keys purely on zizmor's finding exit codes (11–14). There is no severity floor (--min-severity) in the lane, so flipping blocks on any finding the regular persona emits, not specifically "warning+". "Block warning+" is the issue author's intent; the one-line flip is broader than that. Narrowing to warning+ would itself need an upstream input.
    • The reusable workflow does not yet expose a SARIF/upload-sarif input; its header reserves that as "a separate, later decision." That work is filed and open as ci-workflows#154 — so Option 2's load-bearing change is genuinely upstream and not-yet-landed.
    • (Citing by job/step name, not line number: ci.yml was read via the API without line anchors, and I will not fabricate them.)

    External facts

    Mechanism, durability, and the "free on a public repo" finding are already cited in-thread (zizmor --format=sarif, codeql-action/upload-sarif, code-scanning REST API, public-repo licensing) — not repeating the citations here. One consequence worth making explicit: because a blocking zizmor turns the lane — and therefore ci-status — red, and babysit already reads check conclusions, Option 3 makes new findings noticed for free (the red ci-status conclusion babysit already reads), on top of enforcing them. That is "something failed," not the finding text — reading the finding still needs the lane log or the annotations API, so Option 3 does not fully subsume Option 1's "read the content" value. Option 2 makes findings visible without blocking (SARIF mode still exits 0).

    Options

    RECOMMENDED — Compose 3 then 2, sequenced; defer 1

    Order: (0) fix the one known finding → (1) flip Option 3 in-repo now → (2) land Option 2 via ci-workflows#154, opt in here after.

    • Phase 0 — clean the current finding set, then flip (in-repo, cheap, separable). The issue recorded annotations_count: 2 on PR feat(source-control): babysit-prs merge-step STOP, bare-wrapper pipe rule, snapshot exit-code taxonomy, cross-PR dependency channel #456 with only one named (dependabot.yml cooldown); that PR's head no longer carries annotations (they are transient — the issue's whole point), so the live set must be re-confirmed (run the audit at main HEAD) before flipping. This matters because a blocking flip red-lines every open PR on whatever the current audit emits, not just the one named finding. Fix the confirmed findings first; this is the precondition for Phase 1 and is independently worth doing.
    • Phase 1 — Option 3, fail-on-findings: true in ci.yml (in-repo, one line, after Phase 0). Because the input already exists at the current pin and the lane is already in ci-status's needs, this is the cheapest move that both stops the bleeding (new findings under the regular persona block merge) and makes findings noticed (red ci-status conclusion, already read by babysit). Fully reversible (delete the line). Blast radius is the tradeoff to weigh: it adds a merge gate with no severity floor (see the caveat above) that can red-line a PR on advisory-grade findings — see the reversibility section.
    • Phase 2 — Option 2, SARIF → code scanning (upstream-first via ci-workflows#154, then a small consumer opt-in here: upload-sarif: true + security-events: write). This is the durable layer: per-line, dismissable, queryable code-scanning alerts — a strictly better triage contract than transient annotations, and it captures findings on already-merged code that a PR-diff-scoped block never sees. Visibility-only (exits 0), so it composes with, does not replace, Phase 1.
    • Defer Option 1 (babysit surfaces annotations). It is the weakest contract (transient annotations, a bespoke reader) and is blocked this cycle by in-flight source-control PRs. Once Phase 1 lands, its core value (findings reach agents) is already delivered by the red conclusion; once Phase 2 lands, the durable-alert surface supersedes annotation-scraping. Fold the residual "an agent actively reads the security signal into its flow" need into the autonomy pipeline: no dedicated security-review pass — automated code review only #509 security-review-pass family rather than building an annotations reader that Option 2 obsoletes.

    Rationale: Phase 1 is the highest value-per-effort move and, contrary to the earlier tiebreak, is the one that actually stays in-repo — the "stays in-repo" property the 02:37 comment attributed to Option 2 in fact belongs to Option 3 at the current pin. Phase 2 is the right durable investment but is upstream-gated, so it should not block the immediate stop-the-bleeding. Option 1 is dominated by the other two.

    Alternative A — Option 2 only (visibility, no gate)

    Land ci-workflows#154, opt in here; do not flip blocking. Reversible (opt-out input), zero merge-friction, free. Tradeoff: findings become durable and queryable but nothing forces triage — this is precisely today's failure mode (findings sit unread) softened, not closed. Choose this if the operator wants no new merge gate.

    Alternative B — Option 3 only (gate, no durable surface)

    Flip fail-on-findings: true after Phase 0; skip SARIF. Reversible. Tradeoff: stops the bleeding and is agent-visible via the red conclusion, but gives no per-line/dismissable record and never surfaces findings on already-merged code (only PR-diff findings block). Choose this if upstream #154 stalls and you want enforcement now.

    Not recommended — Option 1 first

    Blocked this cycle by source-control PRs, weakest contract, and superseded by 2/3. Only revisit if both 2 and 3 are vetoed.

    Reversibility / the one tradeoff the operator must own

    All three are individually reversible (delete a line / opt-out input). The single genuine policy call is Phase 1's blocking flip: it converts zizmor from advisory lint into a merge gate on the required ci-status check. That is a merge-tier / gating-policy decision — it interacts with the autopilot merge tier (#476), which gates auto-merge on proven-green ci-status; a now-blocking zizmor becomes part of what that tier must clear. If the operator's posture is "no advisory-grade lint should block merge," pick Alternative A instead and keep enforcement out. My recommendation assumes stopping the bleeding outweighs the added friction, but that is the value judgment to confirm, not assume.

    Cross-links

    Brief only — no decision taken, no label changed. Operator adjudicates Phase-1-vs-Alternative-A (gate or no gate); the rest sequences from there.

  11. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    Operator ruling (ratification interview, 2026-07-22 ~03:05Z): compose Option 3 then Option 2; defer Option 1 into #509.

    Flipping to status: ready (phase-sequenced).

  12. added
    status: ready
    and removed
    needs-owner-decision
    on Jul 22, 2026
  13. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    Lane: work. Parking per rule 7 — this presents 3 unweighted candidate fixes ("options compose", no ratified choice), and option 3 explicitly requires a change in a different repo (melodic-software/ci-workflows), which is out of this lane's scope (claude-code-plugins only) regardless of which option wins.

    Question: which mechanism makes zizmor findings agent-visible?

    RECOMMENDED: Option 2 — route zizmor SARIF to code scanning, have agents read code-scanning alerts.

    • Pros: durable (persists across runs, not transient check-run annotations), per-line/per-finding granularity, dismissable with an audit trail — a materially better contract than polling annotations, and GitHub's code-scanning-alerts API is a stable read surface every future agent surface (babysit, post-green review) can query the same way.
    • Cons: needs a SARIF-upload step wired into the zizmor job (github/codeql-action/upload-sarif or equivalent) — one-time setup cost; agents need a new read step (GET /repos/{owner}/{repo}/code-scanning/alerts) that doesn't exist in any current surface.

    Option 1 — babysit snapshot surfaces annotations_count > 0 in the PR digest.

    • Pros: no CI change, cheapest to ship, works with the advisory mode as-is.
    • Cons: transient (annotations aren't a durable per-finding record — no dismiss/track-over-time), and only wires ONE agent surface (babysit); the work-lane post-green review pass and claude[bot] review would still be blind to it, so the gap only half-closes.

    Option 3 — flip advisory to blocking for warning+ severity.

    • Pros: stops new findings from landing silently at all — strongest guarantee.
    • Cons: the actual change lives in melodic-software/ci-workflows (a different repo, out of this lane's scope per its standing rules), consumer repos then opt in via input — so even if chosen, this issue can't be closed by a PR in this repo alone; would need a companion PR there first.

    Separately, regardless of which option wins: the issue's own text flags an immediate concrete finding — dependabot.yml:43 missing cooldown config — as "cheap, fix regardless." That's a genuinely uncontested one-line fix independent of this design question. Not spinning it into this park (would confuse the "Closes #510" semantics — the finding-visibility gap stays open either way) — flagging it here so a future ready-item pick (or a human) can grab it as its own small fix, citing this comment.

    Moving to status: needs-decision, off status: ready.

  14. added
    needs-owner-decision
    and removed
    status: ready
    on Jul 22, 2026
  15. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    Claimed by work-2 lane (T5) at 2026-07-22T04:25:27Z. Applying the operator ruling (2026-07-22T03:17Z): Phase 0 (re-confirm live zizmor findings at main HEAD and fix them) + Phase 1 (flip fail-on-findings: true in this repo's .github/workflows/ci.yml at the current pin) — both in-repo. Phase 2 (SARIF via ci-workflows#154) is upstream/cross-repo and OUT OF SCOPE for this lane; Option 1 stays deferred to #509. Branch: fix/510-zizmor-fail-on-findings. PR opens DRAFT (high-blast merge-gate change — orchestrator diff-reads before ready; gate activates only on merge, which stays human/merge-lane).

  16. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    Reconciliation (work-2 / T5, 2026-07-22T04:34:28Z) — restoring actionable posture

    The status: needs-decision re-flag (work lane, 2026-07-22T04:23:51Z) rests on a premise that is empirically false and was already corrected by the operator brief: it claims "Option 3 lives in melodic-software/ci-workflows, a different repo."

    Primary-source verification (just now): the pinned reusable workflow melodic-software/ci-workflows/.github/workflows/zizmor.yml@90f1c54935203fa31b5b3d1f41531228be2c2b7f already exposes a fail-on-findings boolean input (declared at inputs.fail-on-findings, wired to FAIL_ON_FINDINGS in the run step). So Phase 1 is a one-line with: fail-on-findings: true change in THIS repo's ci.yml at the current pin — no ci-workflows change. Only Phase 2 (SARIF → code-scanning) is genuinely cross-repo, and it is correctly deferred upstream to ci-workflows#154; Option 1 is deferred to #509.

    This item is not an open design decision — the operator ruling of 2026-07-22T03:17:52Z ("compose Option 3 then Option 2; defer Option 1 into #509", flipped to ready, phase-sequenced) already adjudicated the fork. Re-parking it to needs-decision on the corrected premise is a re-gating of an operator decision (the #565 pattern).

    Action: removing status: needs-decision, restoring status: ready. Proceeding on the operator-ratified Phase 0 (re-confirm + fix live zizmor findings at main HEAD) + Phase 1 (flip fail-on-findings: true) in-repo, PR opens DRAFT (high-blast merge-gate — the gate activates only on merge, which stays human/merge-lane). Cross-referencing this re-gating example to #565.

  17. added
    status: ready
    and removed
    needs-owner-decision
    on Jul 22, 2026
  18. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    Phase 1 blocked by the Runner policy input-contract — needs a decision (new hard evidence)

    WIP is pushed as draft PR #948. Phase 0 is done and green (the dependabot-cooldown finding is fixed; the PR's own zizmor lane passes with fail-on-findings active). Phase 1 as briefed cannot go green in-repo — this is new hard evidence (a failing required check) that the 2026-07-22T04:23Z reconciliation to ready did not have.

    The blocker (evidence)

    Adding fail-on-findings: true to the zizmor call trips the required Runner policy lane (run 29891705036, job 88833276256):

    .github/workflows/ci.yml#zizmor: runner-target-contract: the reusable workflow
    call has inputs absent from its reviewed contract: fail-on-findings
    

    Runner policy is in the ci-status needs: list (.github/workflows/ci.yml:695), so this makes the required ci-status aggregate itself red — the task's stated verification gate (ci-status green) is unreachable in-repo.

    Root cause: the allowedInputs contract for the zizmor call lives only in .github/standards/runner-policy/policy.json, which is upstream-managed (sync-manifest runner-policy component; claude-code-plugins lists it under managed:). The contract for the pinned zizmor.yml@90f1c549 is ["runner","paths"] — fail-on-findings is not permitted, and there is no locally-owned seam to add an input: the repository-policy overlay (.github/runner-policy.json, repository-policy.schema.json) exposes only exceptions (hosted-permission reasons) and localRoutingGrants (permissions/secrets/routing), neither of which extends allowedInputs. The brief's premise held for the reusable workflow exposing the input; it missed this second governance gate.

    New material — the input was superseded upstream

    ci-workflows evolved after the pinned revision. At zizmor.yml@31a5b76c (2026-07-21, 3 days newer than the pinned 90f1c549):

    • fail-on-severity (never/low/medium/high) is the preferred blocking input; fail-on-findings is now an explicit legacy back-compat alias ("Prefer fail-on-severity"; true ≈ fail-on-severity: low).
    • The managed policy.json already approves fail-on-severity for the 31a5b76c contract (allowedInputs: ["runner","paths","fail-on-severity"]), same runner-input routing as the current pin.

    Options (RECOMMENDED first)

    A — RECOMMENDED: bump the zizmor pin 90f1c549 → 31a5b76c and use fail-on-severity: low (fully in-repo).

    • Passes Runner policy with no upstream change (contract already permits fail-on-severity); clean drop-in (identical routing; zizmor is the only ci-workflows reusable-workflow pin in ci.yml, so nothing else desyncs). low blocks on any finding at note-and-above — matches the brief's no-floor intent and equals the legacy fail-on-findings: true.
    • Trade-off: deviates from the brief's "do NOT change the pin." But the pin bump is the only in-repo path, uses the upstream-preferred input, and avoids adding a deprecated alias to an org-wide contract. A manual ci-workflows pin bump is exactly the "deliberate reviewed PR" the dependabot ci-workflows-ignore expects. Operator should also confirm the desired floor (low vs medium/high).

    B — upstream contract-add, keep the pin. Add fail-on-findings to the zizmor.yml@90f1c549 contract's allowedInputs in melodic-software/standards components/runner-policy/policy.json, then sync down; fail-on-findings: true at the current pin then passes.

    • Honors "keep the pin," but is cross-repo (standards PR + sync PR — not one-line/in-repo), is an org-wide contract change for every repo consuming that pin, and adds a deprecated alias the upstream says to migrate away from.

    C — split. Rescope PR #948 to Phase 0 only (the finding fix — already green, cleans main, the stated Phase 1 precondition); track the Phase 1 flip as a follow-up gated on the A-vs-B decision (Closes #510 → Refs #510).

    • Delivers value now and sequences Phase 1 behind its real dependency; operator may prefer 0+1 coherence in one PR.

    I have not edited the managed policy.json (forbidden — it would drift and be reverted on next sync) and have not changed the pin (not ratified). Parking for a decision.

  19. added
    needs-owner-decision
    on Jul 22, 2026
  20. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor

    DECISION: Option A — bump zizmor pin + fail-on-severity: low (resolved 2026-07-22T05:01:02Z)

    Made under the HOOTL directive via independent Opus consensus (implementer rec + fresh-context reviewer, both primary-source-verified):

    • The current-pin fail-on-findings path is governance-blocked in-repo: the allowedInputs contract lives in the MANAGED policy.json (synced from melodic-software/standards), and the repo-local overlay (.github/runner-policy.json) exposes no seam to extend allowedInputs. Editing the managed file is forbidden; blessing fail-on-findings at @90f1c549 would be a cross-repo standards change (Option B), which this lane cannot make (rule 11) and which adds a deprecated alias org-wide.
    • Option A is fully in-repo and governance-clean: bump the zizmor pin @90f1c549 → @31a5b76c (2026-07-21) and set fail-on-severity: low. The managed policy.json ALREADY approves fail-on-severity for the @31a5b76c contract (identical runner-input routing), so Runner policy passes with no upstream change.
    • Intent preserved: verified from the @31a5b76c guard code — fail-on-severity: low maps to blocking levels error/warning/note = every level zizmor emits (SARIF has no fourth level), and legacy fail-on-findings: true itself maps to low. So low is byte-for-byte the ratified "any finding blocks, no floor" behavior, using the upstream-PREFERRED input.
    • Pin bump safe: both revisions pin the identical zizmor binary (v1.27.0, sha256 277f2bd8…) — findings unchanged; only the report/gate mechanism differs. zizmor is the sole ci-workflows reusable-workflow pin in ci.yml, so nothing else desyncs.

    The operator's "current pin" phrasing was descriptive of then-current state, not a load-bearing constraint; A delivers the ratified intent via the modern, standards-compliant path ("never edit a managed materialization as the source of a change"). Phase 2 (SARIF → Security tab) stays deferred (ci-workflows#154); Option 1 deferred to #509. Implementing on PR #948.

  21. removed
    needs-owner-decision
    on Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: securitystatus: ready

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions