Repository navigation
Show the weekly benchmark in every stable release plan, ready to hold a measured drop (GST-3606) - #4755
Merged
Conversation
… a measured drop (GST-3606) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
A no-gstack comparison with missing numbers is now left out of the benchmark line instead of crashing the cut, any other failure to judge the records reads as unreadable, and text from the records is stripped of control characters before it reaches the job log. Review-Finding: p1/red-team#1 reader=red-team Review-Finding: p1/red-team#2 reader=red-team Review-Finding: p1/specialist-batched#1 reader=testing Review-Finding: p1/specialist-batched#2 reader=security Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… out of the benchmark line Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This was referenced Nov 24, 2026
Merged
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 24, 2026
- make-pdf no longer lets a NUL character hide an `onerror` handler, a `javascript:` link or a `<script>` tag from its sanitizer. (#4762) - After a blocking fix, /ship's second review round is always a full review whose every reader is recorded with the pass, instead of a narrower re-check whose result could go missing. (#4783, replacing #4781) - /ship's instructions now match how it reviews code. (#4779) - A weekly benchmark record can no longer slip text into the release job's log through its error messages, or lose a model row to an odd model name. (#4782) - Every stable release plan now prints the weekly benchmark's result, so you can see whether this week's gstack measurably fixes more or fewer bugs than the current stable release. (#4755) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every stable release plan now prints the weekly benchmark's result: whether this week's gstack measurably fixes more or fewer bugs than the current stable release.
Why: about 30 PRs land a week and this is the first number that says whether agents using gstack got better or worse; a measured drop should not reach every stable install.
Nothing to do: holding is off for the first two weekly records, so this only reports for now.
What changed
The stable release docs gain a Weekly benchmark section, and every cut plan prints the weekly result, report only for now.
Garry asked "Is Gstack this week significantly better than last week?" gstack-evals now answers that every Saturday and publishes a
weekly.jsonrecord. Until now the stable release never looked at it. The release tool now reads those records and prints oneBENCHMARK:line on every cut plan, dry runs included, using the same rule gstack-evals uses to decide which record counts. The code to hold a regular cut on a measured drop is in place and tested, but it stays switched off until two weekly records have arrived on time; security, data-loss and regression fixes always ship. A hand-run cut can pass a hold with a newbenchmark_waiverinput, which is written into the release tag so a retried cut is not held again. A malformed record reads as unreadable instead of stopping the cut, and text from the records is cleaned before it reaches the job log.Why
"Is Gstack this week significantly better than last week?" (Garry, 2026-11-21). The weekly benchmark now measures that, and the stable release is where a measured drop would reach everyone, so the cut has to see the number before it can ever hold on it.
Blast radius
Only the stable release tool and its workflow change:
crew/scripts/release-cut.tsgains one benchmark block after its existing plan, andplanRelease,gateVerdictandreadTrainNotesare untouched, so gstack-evals' resolver shim still loads the module (its export test passes). WithBENCHMARK.holdfalse the gate always passes, which the report-only test and a live read against garrytan/gstack-evals (BENCHMARK: none (no weekly record published yet) (report only)) confirm.Pre-Landing Review
Two review rounds at full depth (a gate-class change: specialists, red-team, a second native reader and a second-model review on GPT-6.2 Sol).
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
sf-d93a26797613security finding, details recorded privatelysf-15b3e575a938security finding, details recorded privatelyExploratory QA
Functional smoke (CLI, report only). Before the fix: a live read of garrytan/gstack-evals passed; a record with a null no-gstack comparison crashed the status line (reproduced twice); record text with a newline could start a workflow-command line. After the fix, all three reran on the fixed tree and passed. Not run: the hold-on paths through the CLI, since holding is a constant that is off; they are covered by unit tests of the gate.
Design Review
No frontend files changed — design review skipped.
Eval Results
No prompt-related files changed — evals skipped.
Scope Drift
Scope Check: CLEAN
Plan Completion
Every item in the approved plan is delivered: the record reader and resolver rule, the
BENCHMARK:line on every cut plan, the hold table with the switch off, the waiver input, the tests and the Weekly benchmark docs.Verification Results
The plan's checks: 1 PASS (the real fetch against garrytan/gstack-evals, run locally on this tree), 0 FAIL. The
Dry run against mainCI job currently refuses before any new code runs because main's own release gate is red; the same refusal reproduces with main's own code.TODOS
No TODO items completed in this PR.
Documentation
Status: updated. docs/releases.md now matches the weekly benchmark code after b6b6322; two small factual edits, no blockers.
Scope: the release diff b5eb401..b6b6322 (crew/lib/release-benchmark.ts, crew/scripts/release-cut.ts, .github/workflows/weekly-release.yml, changelog.d fragment, tests, docs/releases.md), plus the docs that reference the stable release tooling (crew/docs/recommended-harness.md, README.md channel notes). No staged, unstaged or untracked content.
Doc diff:
vs_nonewith a missing or non-numeric number is left out of the BENCHMARK line instead of making the record unreadable (b6b6322).crew/lib/release-benchmark.tsto the files whose PR runs the dry run against main, matching the workflow'spull_request.paths.Coverage:
Debt:
--benchmark-waiveris documented only in release-cut.ts's usage line and through the workflow input (common gap, reference-only). crew/docs/recommended-harness.md's stable-release summary doesn't mention the weekly benchmark (it links to docs/releases.md). Record-text control-character stripping isn't described anywhere (intentionally left out).Diagram drift: none; no diagrams reference the release tooling.
Tests
bun test crew/test/release-benchmark.test.ts crew/test/release-cut.test.ts crew/test/release-cadence.test.ts test/weekly-release-workflow.test.ts: 73 pass, 0 failbun run typecheck: 0 errors;bun run typecheck:test: none newAgent notes
Refs GST-3606
Approvals
Approved: yes (record r-57e97403a7e4). The full approval record stays private.
Plan: approved (record r-fdf5dcc147b1)
Plan check: approved (record r-fdf5dcc147b1)
REVIEW_LOOP: passes=2 blocking_found=3 deferred=0 noted=4 fixed=4 scope=frozen open=2 dispatches=8
Gate edits: none detected (12 listed, 5 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Ruled note: redacted at b6b6322 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-23T18:45Z) at 2026-11-23T18:29:29.338Z: security finding, details recorded privately (approval a-e53bf6e2dd25)
Ruled note: redacted at b6b6322 ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-23T18:45Z) at 2026-11-23T18:29:29.437Z: security finding, details recorded privately (approval a-0f182993efb5)
🤖 Generated with Claude Code