Repository navigation
v1.91.292.0 Stable channel: a regression exception beside the security one, and the stale weekly wording - #3533
Merged
Merged
Conversation
…uts; weekly wording follows the twice-weekly cadence Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ion tag reruns only with its recorded reason; a version may end the sentence Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
garrytan
added a commit
that referenced
this pull request
Oct 28, 2026
…3533) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… base=origin/main@6f27f0c policy=base origin/main@6f27f0c269cb:.gstack/ship-policy.json) STAMP_VERSION: 1.91.292.0 stage version: done (wrote 1.91.292.0) stage release_tool: done (bun scripts/gen-agents-digest.ts) stage changelog: done (Unreleased -> 1.91.292.0) stage stamp_paths: skipped (no tentative mention newer than the fork version 1.91.291.0 and none of base 1.91.291.0 on a line this branch added) stage mirror: skipped (no mirror in policy) stage apply: done (4 file(s)) FILES: CHANGELOG.md VERSION agents-digest/gstack-AGENTS.md package.json MERGE_CONDITION: sha=40a8df86de0bda12cedea7dbdc744b90f4b1d5eb GSTACK_RESULT: skill=restamp status=complete run=/workspace/gstack/.gstack/tmp/restamp-journal.json Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai Bot
added a commit
that referenced
this pull request
Oct 28, 2026
…at QM's pack cap instead of claiming QM works (GSTA-135) (#3532) * fix(harness): print error lines again; register qm stops before QM's pack cap instead of claiming QM works Bun gives every thrown Error an own numeric 'line' property, which shadowed HarnessError.prototype.line(), so every refused gstack-harness command crashed with 'e.line is not a function'. The printer is now report(). QM imports a skill pack by cloning the whole repository and refuses past 32 MiB / 5,000 files (Harness Evals preflight, HARN-5); gstack's repository is 73 MiB in 4,280 files. register qm now measures first and stops with HARNESS_QM_PACK_TOO_LARGE before any request; QM's own cap refusal maps to the same code. docs/hosts.md lists QM as not available yet. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * s Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix(harness): read QM's recorded import error for the cap; refuse to size a non-git checkout; skip symlinks like QM Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * chore: drop a stray a/SKILL.md committed by a scratch experiment Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: no doc implies QM registration works (document-release audit) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs(install): stable's 72-hour rule also excepts a regression fix (#3533) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- 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.
What changed
A fix for something the last stable release did right used to wait out the 72-hour floor; now
--regression "#n: worked in v<X>: why"with--refpasses it once the tool ties the claim to that release, and the reason is recorded in the tag and notes like a security cut.Why
Garry was asked whether a fix for a regression on stable may skip the twice-weekly cadence and the 72-hour floor the way a security fix does, and answered "Regression" (2026-10-28). Without it, a broken stable stays broken on every team install for up to three days while the fix sits on main.
Blast radius
Only scripts/release-cut.ts and the release workflow change behavior, and they touch nothing but the stable branch, v* tags and GitHub Releases. That is safe because every regression refusal happens before the first push, the exception needs a maintainer-applied
regressionlabel plus a published earlier release, and test/release-cut.test.ts drives real git repos through each path (script ran). The rest is wording.Approvals
Source: gstack-approvals record for gsta-136-regression-exception (display only; not an approval citation).
Summary
The regression exception is defined tightly. The reason must name exactly one earlier stable release
v<X>and at least one#n. The cut is refused withREFUSED_REGRESSIONunlessv<X>is an annotated tag strictly behind current stable with a published, non-draft GitHub Release,#ncarries theregressionlabel (the maintainer's declaration; asecuritylabel does not count, nor the reverse), and a released commit references#n. Whether the behavior really worked inv<X>stays attested by the maintainer. The sanitized reason and evidence go into the tag (Regression:/Verified:) and the release notes, exactly like a security cut, and a half-done cut finishes from its tag.Two guards apply to both exceptions:
--securitywith--regressionis refused (one exception per cut), and rerunning against an unmoved exception tag must supply the reason that tag recorded.FLOOR_UNKNOWN(undatable or unpublished stable) still yields to a security cut alone. The workflow gains aregressioninput that, likesecurity, errors before the script runs whenrefis empty.The stale weekly/Monday wording now says twice weekly in README.md, bin/gstack-update-channel.sh (comment and the no-stable-yet message, now "until the first stable release is cut", with test/update-channel.test.ts updated to match), the /gstack-upgrade
AHEAD_OF_STABLEline and the evals-main-backstop.yml comments. docs/releases.md gains a Regression releases section; docs/recommended-harness.md and the CHANGELOG describe it.Test Coverage
New describe block "release-cut: the regression exception": the floor bypass, each refusal (no
v<X>, two versions, no#n, current stable as anchor, tag ahead of stable, unannotated tag, no published release, missing or security-only label, no referencing commit, no stable yet), both exceptions together, a mismatched rerun reason, FLOOR_UNKNOWN staying security-only, a version ending a sentence, notes and tag record, and CLI exit codes. test/weekly-release-workflow.test.ts checks the new input and its ref guard.Tests: test/release-cut.test.ts 25 → 27 test() calls plus the new table-driven cases; test/weekly-release-workflow.test.ts and test/update-channel.test.ts updated.
Tests ran: tests 557
Pre-Landing Review
No blocking findings in the specialist pass. One informational note stays open (an existing pattern shared with security): a plain hotfix tag that never moved stable, rerun with an exception, verifies, but the tag keeps its old message with no exception line, so a retry after a partial cut drops the record from the notes (scripts/release-cut.ts:~486).
REVIEW_LOOP: passes=2 blocking_found=0 deferred=0 noted=1 fixed=1 scope=frozen
Gate edits: none outside the lane's own release script, workflow and tests.
Outside review: gpt-6.1-sol adversarial pass on 8260497 found a High (an abandoned tag from a half-done cut qualified as the earlier release) and a Medium (an unmoved tag recording reason A accepted reason B); both were fixed in 40a8df8 with tests, and a fix-check reviewer found nothing at the floor.
Eval Results
No prompt-related files changed apart from one wording line in the gstack-upgrade template; eval:select picked no paid cases, so evals were skipped.
Plan Completion
Built as planned from autoplan run autoplan2-20261028070618 (CEO + Eng, one round, every recommendation taken).
Documentation
Status: current. Scope: docs/releases.md, docs/recommended-harness.md, README.md:41 and :244, the CHANGELOG [Unreleased] entry and the gstack-upgrade template, checked against scripts/release-cut.ts and the workflow at 40a8df8.
Debt outside this lane: docs/install.md:21 still says "except for a security fix" (owned by GSTA-135).
Test plan
🤖 Generated with Claude Code