Skip to content

v1.91.292.0 Stable channel: a regression exception beside the security one, and the stale weekly wording - #3533

Merged
capy-ai[bot] merged 3 commits into
mainfrom
gsta-136-regression-exception
Oct 28, 2026
Merged

capy-ai[bot] merged 3 commits into
mainfrom
gsta-136-regression-exception

Conversation

@garrytan

@garrytan garrytan commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3533,
  "head": "40a8df86de0bda12cedea7dbdc744b90f4b1d5eb",
  "version": "1.91.291.0",
  "base": "main",
  "gate": {
    "tests": {
      "pass": 557,
      "fail": 0,
      "skip": 0
    },
    "remote_gate": {
      "pass": 19070,
      "fail": 0,
      "skip": 0
    }
  },
  "spend_usd": 0.08,
  "session_kind": "unattended",
  "pregate": "requires-remote cleared @e4649d31ded0 (1 checks, current for 40a8df86de0b)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/40650698017",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/40650698018",
    "pregate.json/remote_gate: remote-gate tree=e4649d31ded0 tests=19070"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/releases.md, docs/recommended-harness.md, README.md:41,244, CHANGELOG.md [Unreleased], gstack-upgrade/SKILL.md.tmpl (+ generated SKILL.md), checked against scripts/release-cut.ts and .github/workflows/weekly-release.yml at HEAD 40a8df86d; docs/install.md:21 excluded (GSTA-135)"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 1,
    "fixed": 1,
    "scope": "frozen"
  }
}

What changed

A regression fix 20 h after stable moved: before, held by the floor for 52 more hours; after, verified and passed

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 --ref passes 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 regression label 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

Date Asked Exact words Outcome Covers Still pending
2026-10-28 Approve the plan "Stable channel: a regression exception beside the security one, and the stale weekly wording" (autoplan run autoplan2-20261028070618, 1 decisions) “Regression (Garry, 2026-10-28, relayed by GStack Minder: if the autoplan raises no decision beyond his rulings, his word covers it, so build)” (GStack Minder relaying Garry (2026-10-28: Regression), relayed by agent:jam_01M5ZVKHMMWY7GZN7JJ2B1H8Q4) approved the reviewed plan (sha256 8f97a3980e51), every recommendation taken none
2026-10-28 May a fix for a regression on stable bypass the cadence and the 72-hour floor like the security exception? “Regression” (Garry (via GStack Minder)) approved a regression exception defined as a fix for behavior that worked in an earlier stable release, recorded like security none

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 with REFUSED_REGRESSION unless v<X> is an annotated tag strictly behind current stable with a published, non-draft GitHub Release, #n carries the regression label (the maintainer's declaration; a security label does not count, nor the reverse), and a released commit references #n. Whether the behavior really worked in v<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: --security with --regression is 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 a regression input that, like security, errors before the script runs when ref is 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_STABLE line 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

  • bun test test/release-cut.test.ts test/weekly-release-workflow.test.ts test/update-channel.test.ts test/parity-suite.test.ts test/module-size-ratchet.test.ts test/spawnsync-timeout-tripwire.test.ts test/bun-entry-isolation.test.ts test/gen-skill-docs.test.ts: 557 pass, 0 fail at 40a8df8
  • gstack-pregate --stage tests --remote (Ubicloud, tree e4649d31ded0): 19070 tests, 0 failed, $0.08
  • Free Tests (run 40650698017) and Windows Free Tests (run 40650698018) green at 40a8df8; macOS and Windows lanes cleared
  • bun run typecheck: clean; typecheck:test: no new diagnostics

🤖 Generated with Claude Code

garrytan and others added 2 commits October 28, 2026 07:20
…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>
@trunk-io

trunk-io Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

😎 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>
@github-actions github-actions Bot changed the title Stable channel: a regression exception beside the security one, and the stale weekly wording v1.91.292.0 Stable channel: a regression exception beside the security one, and the stale weekly wording Oct 28, 2026
@capy-ai
capy-ai Bot merged commit 219f748 into main Oct 28, 2026
64 of 65 checks passed
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>
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