Skip to content

Prove the audit gate fails on a pull request (do not merge) - #32

Closed
illodev wants to merge 1 commit into
mainfrom
chore/prove-t-0148-audit-gate-fails
Closed

Prove the audit gate fails on a pull request (do not merge)#32
illodev wants to merge 1 commit into
mainfrom
chore/prove-t-0148-audit-gate-fails

Conversation

@illodev

@illodev illodev commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Do not merge. This PR exists to fail.

T-0148's last criterion is "a pull request proves it fails there first". PRs #30 and #31 showed the audit job running and passing, which proves the wiring and the green path. The red path had only been run locally, and this repository does not treat a local run as proof of a pull request — so here is the run.

The diff pins hono to 4.12.33 — the version carrying GHSA-8j4g-w8fx-2239, which #31 overrode away — and changes nothing else. The audit job should go red on the pnpm audit --audit-level=moderate step.

It also demonstrates #31's threshold change on a single tree: this exact install exits 1 at --audit-level=moderate and 0 at --audit-level=high. That is the whole argument for aligning the floor with the one Dependabot alerts on, on one install rather than in prose.

Will be closed unmerged as soon as the run is linked from T-0148.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D3LTdq3mzMAQ98rwBegGjU

Throwaway branch for T-0148's last criterion: "a pull request proves it
fails there first". CI had shown the `audit` job running and passing on
#30 and #31, which proves the wiring and the green path; the red path had
only ever been run locally, and this repository does not treat a local run
as proof of a pull request.

So this pins `hono` to 4.12.33 deliberately — the version carrying
GHSA-8j4g-w8fx-2239, which T-0222 overrode away — and nothing else. The
`audit` job should go red.

It also demonstrates T-0222's threshold change on one tree: this exact
install exits 1 at `--audit-level=moderate` and 0 at `--audit-level=high`,
which is the whole argument for lowering the floor to the one Dependabot
alerts on.

To be closed unmerged once the run is recorded on T-0148.

Cards: T-0148

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D3LTdq3mzMAQ98rwBegGjU
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workfile Ready Ready Preview Aug 7, 2026 6:52pm
workfile-site Ready Ready Preview Aug 7, 2026 6:52pm

@illodev

illodev commented Aug 7, 2026

Copy link
Copy Markdown
Owner Author

Proof recorded on T-0148: the audit job failed on this pull request at the pnpm audit --audit-level=moderate step with GHSA-8j4g-w8fx-2239 and exit code 1 — https://github.com/illodev/workfile/actions/runs/31208898683/job/92966664406

Closing unmerged, as intended. The advisory now surfaces on a pull request instead of on a tag push, which is what T-0148 asked for.

@illodev illodev closed this Aug 7, 2026
@illodev
illodev deleted the chore/prove-t-0148-audit-gate-fails branch August 7, 2026 18:54
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.

1 participant