Skip to content

docs(pr-pipeline): audit each lane against the outage pause-and-resume posture - #12332

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-12291-41412842429-1
Nov 2, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-12291-41412842429-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #12291

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Adds docs/outage-posture-audit.md, which audits all 14 lanes in lane-rules.json against outage-posture elements 1-6. Each lane has a table with one row per element, a met, gap or not-applicable verdict, and the file:line that shows it. A Remaining table lists every gap with its lane, element, file and kind (workflow, script or larger), and a pr-merge section says how a permanent fault is surfaced. This run fixes no gap. The tables live in the doc because the PR body carries at most 3000 characters of this summary (report-outcome.mjs:279), which cannot hold 84 rows with citations. Verdict matrix (M met, G gap, - not applicable), elements 1-6:

Lane 1 2 3 4 5 6
work-resolve-issue G G G G G G
intake-triage G G - G G M
work-unblock G G G M M G
pr-refine G G G G G G
pr-run-checks - - - - - -
pr-review G G G G G G
pr-review-security G G G G G G
pr-verify G G G M G G
pr-explain - - - - - -
pr-require-checks G G G G G G
pr-unblock G G G G G G
pr-merge G G G G M G
post-merge-verify - - - - - -
post-merge-sweep-comments - - - - - -

In pr-merge, a bad GITHUB_TOKEN on the listing holds green with only a notice, and after 4 held sweeps a monitor signal updates a rolling issue. A bad lane token, or a listing of 1000 or more open pull requests, prints an error and turns the job red, and nothing is filed or counted. The doc's Remaining table names the pr-merge.yml change that routes the full listing through the held-sweep signal.

Not verified

  • Done-when asks for the 84-row table and the Remaining list in the PR body. The lane builds the body from a summary capped at 3000 characters (report-outcome.mjs:279), so the full tables and Remaining list are in docs/outage-posture-audit.md in this diff, and the body has a verdict-only matrix. remai
  • The audit tables were drafted by four read-only subagents, one per lane group. I spot-checked their key citations, and a separate review subagent re-opened about 120. The rest of the cited lines were not re-read in this run.
  • Cited line numbers are pinned to 222d802 and will drift as those files change. The line-citations CI check flags only citations past the end of a file.
  • This audit did not verify whether GitHub can return a short listing and a short totalCount together (open note from #11596).
  • Whole-repo scanners (line-citations, docs-naming, lychee-offline, purged-em-dashes and the rest check-affected marks CI only) are left to the PR's CI.
  • Tidy ran only its markdown passes (write-for-humans, then ai-slop fix), because the change is one markdown file. The ai-slop fix wrote no findings file and ran no semantic-diff verifier, because it made no rewrite. Tidy's measurement excluded sandbox-created untracked dotfiles (.bashrc, .gitconfig,

Fix

  • docs/outage-posture-audit.md: new file. Holds the six elements, one 6-row met/gap/not-applicable table per lane with file:line evidence pinned to 222d802, the pr-merge permanent-fault section, and a Remaining table of every gap by lane, element, kind and file to change.

Verification

The runner ran each check from the base copy against 2842e36:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 13 fragments valid; this docs-only change needs none
  • check-changed-skills: no changed skills, nothing to gate
  • check-affected: first run failed markdownlint MD018 (a line opening with an issue reference); reworded, then 10 passed and 5 skipped
  • ai-slop detect.sh on docs/outage-posture-audit.md: 0 findings across all 15 rules (2 disabled by repo config)
  • Spot-read pr-merge.yml:1184-1195, api-budget.bash:378-395, work-resolve-issue.yml:58-69 and :125-164, check-trusted-trigger.mjs:125-149, rate-guard.mjs:445-448, report-escalation.sh:72-75, request-budget.mjs:33: each matches its row
  • Fresh-context review subagent opened about 120 cited lines and found 7 problems (3 wrong citations, 1 short citation, work-resolve-issue element 6 marked met when it is a gap, 2 Remaining omissions). All 7 were confirmed and fixed.
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41412842429

Left out: the items under Not verified.

Related

#12291

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 2842e3698ea6aac1b038dcd3d4d0366ecbc6283f: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #12332 (head 2842e369)

No security issues found.

Scope: I read the whole diff. It adds one file, docs/outage-posture-audit.md (277 lines). The file is a prose audit: it rates each of the 14 lanes in lane-rules.json against six outage-posture elements and links to file:line evidence pinned at commit 222d8023.

Why nothing was found:

  • Not a trusted path: no glob under TRUSTED PATHS: matches the new file.
  • Not an instruction surface: it isn't CLAUDE.md, AGENTS.md, a rules file, a skill or agent body, or a hook list. It deletes or softens no standing instruction, so the instruction-surface lens has nothing to check.
  • No trust control changed: no workflow, script, action, token request, kill switch, merge hold or plugin manifest is touched. The file only describes gaps in existing code, and its "Remaining" table says this change fixes none.
  • Nothing sensitive or executable: it holds no secrets, tokens, URLs to run, or executable content. Nothing reads it as config, and no lane loads it as model instructions.
  • Disclosed gaps: the audit describes existing fail-open spots, such as the work-resolve-issue WIP-cap read that lets a run start anyway. Those gaps are already in the base and readable in the repository, so documenting them adds no new exploit path. Under the high-signal bar, pre-existing issues are out of scope.

PR context: no embedded text asks the lane to pass the PR, skip a check, drop a finding or post elsewhere.

Prior findings: 0 earlier rounds, cap 3, not past the cap. Nothing to dedupe.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 2842e3698ea6aac1b038dcd3d4d0366ecbc6283f: read 1 of 1 changed file(s); 2 finding(s), 0 as inline comments.

Code review: docs(pr-pipeline) outage-posture audit (#12332)

The PR adds one new file, docs/outage-posture-audit.md. It audits the 14 lanes in lane-rules.json against the six outage-posture elements. I read the whole diff, the PR context and the path-scoped rules. Only .claude/rules/cost-claims.md matches docs/**/*.md, and the doc states no prices, so that rule passes. There are no prior findings, and the round cap was not reached.

Citation spot-check. Each cited line below matched its row at HEAD 2842e369:

  • lane-rules.json lane declarations at :22, :42, :68, :73.
  • check-trusted-trigger.mjs:145: waits of 2/4/8 s with equal jitter.
  • rate-guard.mjs:447: RateLimitStop refuses the call.
  • retry-call.bash:39: capped full-jitter backoff, 3 tries.
  • pr-merge.yml:
    • :98: cron at minutes 11/26/41/56.
    • :1187: green hold notice.
    • :1193: ::error:: and exit 1 on a full listing.
    • :1413–:1419: a held listing skips filing.
    • :1911: LISTING_HELD.
  • signals.mjs:385: listingHeldFindings, with LISTING_HELD_SWEEPS = 4.
  • api-budget.bash:388: ::error:: in api_budget_stop.
  • request-lane-token/action.yml:287: backoff with a 480 s budget.
  • enable-auto-merge.mjs:357: "a query can go out up to three times four".
  • work-resolve-issue.yml:66 and :129: the upstream status gates proceed.
  • work-resolve-issue.yml:160: the cached WIP state.

I did not re-read the other cited lines. The author says subagents drafted the tables and about 120 lines were re-read; that claim is author-reported and I did not verify it.

Closing issue #12291: criteria check

  1. Blocking, unmet as written. The criterion reads: "For each lane above, the PR body has a table with one row per element 1-6. Each row reads met, gap or not applicable, with the file:line that shows it." The PR body has only a verdict matrix with no file:line. The per-element tables with evidence are in docs/outage-posture-audit.md instead (L50-L249). The author gives the reason under "Not verified": the PR body is built from a summary capped at 3000 characters (report-outcome.mjs:279). Moving the tables into a doc changes the issue's done-when, so the issue owner needs to accept that (or have the tables linked or pasted from the body) before this closes feat\(pr-pipeline\): audit each lane against the outage pause-and-resume posture \(#​9205 slice 3\) - part 1 of 2 #12291.
  2. Blocking, unmet as written. The criterion reads: "Each gap that needs a workflow file change, or is larger than this change, is listed in the PR body under "Remaining", with the lane, the element and the file to change." The PR body has no "Remaining" section. The list is in the doc (L251-L283) and covers the workflow and larger gaps with lane, element and file. As with item 1, the issue owner has to decide whether the doc meets the criterion.
  3. Met. The criterion reads: "The pr-merge row for element 2 says how a permanent fault, a bad token or 1000 open pull requests, is surfaced, or names it under "Remaining"." The doc covers it at L198-L219 and lists it under Remaining at L281. The claims I checked match the code. No test could fail if this audit's content drifted, apart from the line-citations check, which only catches citations past the end of a file. That is inherent to a point-in-time audit doc, so I did not count it as a finding.

Both blocking items need a decision from the issue owner rather than a code change: accept the doc as meeting the "PR body" wording, or ask for the tables to be carried into the body.

No embedded instructions were found in the PR context. The change spends nothing beyond normal CI runs.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 2842e3698ea6aac1b038dcd3d4d0366ecbc6283f.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit c4cd202 Nov 2, 2026
57 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-12291-41412842429-1 branch November 2, 2026 09:07
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.

feat\(pr-pipeline\): audit each lane against the outage pause-and-resume posture \(#​9205 slice 3\) - part 1 of 2

0 participants