diff --git a/CHANGELOG.md b/CHANGELOG.md index a844ed15d..441b3c38b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,82 @@ # Changelog +## [1.102.2.0] - 2026-11-21 + +**Habits from nine teams, written into gstack.** The agents' start card says never to write a file back from a read that came back cut off, and to write launch and env files with a file tool or a quoted heredoc. The factory page says a green fake or dry run isn't done until one run drives the real path, and that a check must see your change and count what its name says. The team manual (`crew/docs/captain.md`) says to change the design when review rounds keep finding the same kind of case, to narrow an over-catching safety guard only with a tested exemption, and to move a thread's waits, watches and automations with its work (the rotation handoff and successor brief now carry a Clocks table). `docs/ship-policy.md` says to land review exclusions and secrets allowlist entries in their own PR first. `/eval-plan` asks each plan to record how task machines were checked for answers the agent could read. `docs/working-across-agent-systems.md` treats a relayed approval as a claim and decides harness pins from a repro, not release notes. + +**Three more habits from teams that run evals.** `/eval-plan` says a grader that runs git inside an agent's repo treats that repo as hostile: a sanitized copy of `.git` with no config, hooks, attributes, textconv or signature display, the original index timestamps, no API keys in its environment, and a test that plants each setting. The agents' start card says to find a drive copy in the drive's version history before deleting its source. `docs/working-across-agent-systems.md` says to take each result row's model from the requests the run captured, on every scored row, timeouts included. + +The /ship conductor trial plan gives its real-problem judge one more attempt on fresh labels after it missed its agreement bar twice, and stops the trial incomplete if it misses again (GST-3003). + +The /ship conductor trial plan now stops a trial only at the final remote-gate refusal, gives both arms the same note that the brief overrides team rules, and counts every report the no-gstack arm returns (GST-3003). + +The /ship conductor trial plan now ends a trial at the remote gate when its case base isn't main, gives the no-gstack arm a test runner, and audits every trial for exposure to the plan (GST-3003). + +The /ship conductor trial plan now runs an uncounted pilot in every arm before its counted trials and takes one planned look at half the cases (GST-3003). + +**gstack's own use on Capy can be counted, and is kept out of real-use numbers.** Agent-driven sessions on Capy still send no telemetry by default. When the owner's `preferences.yaml` beside the Capy gstack skill holds `telemetry_capy: anonymous`, each skill run there sends one row at the anonymous tier (no device ID, even on a machine set to `community`), labelled `source=capy`, or `source=gt` with `telemetry_capy_source: gt`. Eval and CI labels still win on Capy, unattended sessions elsewhere are unchanged, the ingest function accepts both labels, and the public dashboard's views count only `live` rows. `bin/gstack-telemetry-tier` is the one place that reads these settings. + +**Free Tests shards finish closer together.** The recorded per-file test times that Free Tests uses to split the suite were last refreshed on 11-09, and 67 test files added since then had no time at all. The planner counted each of those as a 54-second file, about an hour of work that doesn't exist, so some shards got far more real work than others. The times are now re-recorded for all 1,727 files, and six files that newly run past the 60-second limit are listed with a follow-up to split them. The runner-size trial input also accepts `ubicloud-standard-16`. + +**The weekly test-time recording can land again on its own.** Free Tests splits the suite using recorded test times, and the weekly job that refreshes them had not landed a refresh since 11-09. Its Windows half ran four files at once on a four-core runner, so tests that pass in the nightly run failed under the load, and the recording had outgrown its 30-minute limit. Its seed pull request also waited on a maintainer whenever a new file ran past 60 seconds. The Windows recording now runs two files at a time with an hour's limit; a trial timed all 921 files cleanly in 38 minutes. The bot now lists each new slow file in the allowlist with a follow-up to split it, and drops files that are back under 60 seconds, so its pull request passes the seed check without a hand edit and its description names every file it listed. + +**The job-log tree.json step's recommended sleep is long enough for real runners.** When a repository's artifact storage is full, gstack reads `tree.json` from one log line the named step prints. The docs recommended `sleep 2` after that line, but runners stamp output up to a second or more after it is printed and the jobs API cuts step times to the second, so a Ubicloud run (44845717681) was refused as `CI_CARRY_TREE_LOG_UNBOUND` and the carry fell back to running tests locally. The docs, the troubleshooting fix and the refusal's fix line now say `sleep 5` after the line, and a test binds the documented sleeps to every sub-second offset with up to 2.5 s of stamping delay (GST-3339). + +**Pull requests no longer wait on the Trunk flaky-test upload, and the quick tier's flaky passes now reach Trunk.** The upload that sends Free Tests results to Trunk was a job inside Free Tests, so in about one pull request run in four it was the last job to finish: usually by a few seconds, but by about three minutes in the slowest twentieth of those runs and once by more than six. It now runs as its own workflow after Free Tests completes, outside the pull request's check list. The quick tier on the install-default Bun now keeps its JUnit reports too (`bun run test:quick --junit-dir ` is new), and they go to Trunk as the `bun-default` variant, so a test that fails and then passes on its one retry there shows up in Trunk, not only in the flake ledger. + +**Windows Setup E2E finishes sooner on install changes.** Its two long jobs ran every case one after another, so a pull request that touched an install file waited about 8 minutes for the slower one. The false-positive recovery and the two forced-CSO-failure cases now run on their own Windows runners beside the setup case, and the held-install journey splits into three jobs (clean and already-unmerged, dirty then trial and go-back, dirty then a later release), each building the same fixture from `scripts/windows-held-install-fixture.sh`. Every case still runs on every in-scope pull request, and each job checks that its own cases ran. + +**Skills no longer stop on Codex when they clean up temp files.** Codex CLI refuses any shell command that runs `rm` with a force flag (`-f`, `-rf`, `--force`), including inside a `trap`, and with approvals off it rejects the whole command ("rm -f style commands are not permitted"). 67 of the 1,239 shell blocks in gstack's Codex skills did that, across 34 files, among them /office-hours, /review, /ship, the plan reviews, /spec and /gstack-upgrade. They now remove a file that is known to exist with plain `rm`, one that may already be gone with `rm 2>/dev/null || true`, and folders with `rm -r`; /ship's leftover-worktree cleanup adds ``). Customer names and prices stay in the private `~/.gstack` copy; repo copies use roles or initials. Builder mode is unchanged. + +**/plan-tune's dream cycle now logs each send of your typed answers to Anthropic.** `gstack-distill-free-text` was the one off-machine sender missing from `gstack-egress list`; it now writes its entry first, holding no answer text, and sends nothing if it can't. The off-machine send test also fails on any new model-provider call that skips the log. Reported by @robbiesierra in #4617. + +**Landing a ready PR no longer depends on a hand-copied gate decision, and the ready note, release PR and squash message say the right thing.** `gstack-ship-queue ready` now writes the signed, applied, non-security gate decisions into the PR's ready note, and landing reads them from there, so a decision recorded on the /ship machine reaches the landing machine without a hand copy; `--accept` still decides what lands. The ready note shows the decision trail's flags from its trail-read row instead of a placeholder, and calls a PR from a fork an outside PR rather than a sibling it trial-merged. Reopening a release PR now rewrites its description. When /ship's finish step left no plan line, the ready note writes the plan's public form, without the plan record's row. A stacked PR's squash message no longer repeats its parent's trailers. docs/ship-budget.md now says how to restart the budget meter for a stopped run whose ledger closed. + +**/ship no longer asks for a fresh review because of a stacked parent that main already had.** When a PR was reviewed after its parent had squash-merged into main, and then merged main again, /ship measured from the parent's old commits and refused over the parent's files. It now measures from the merge base, so an unchanged PR keeps its review, and context that main moved next to the PR's own lines gets one scoped review of just that file (yc-software/qm#3457). The patch comparison also always uses three lines of context, so a `diff.context` setting in your git config can't hide moved lines. + +**Results PRs with large captured agent sessions can be reviewed.** When the gate scan tags a data file (a `.jsonl` transcript, a CSV, a log, or a results JSON) only because a captured session quotes a lint pragma, an env check or a `--no-verify` push on single lines, /ship's readers now get those tagged lines with context instead of the whole file, the same way files with a credential line already work. Code, declared-only files, anything under a test, CI, config or snapshot path, renamed files and files with a tag that spans lines still go to readers whole, and the gate review still runs. A diff that is still over the 2 MB review limit now names its largest files, and a gate-tagged file whose name holds a space is no longer dropped from review. + +**/ship no longer stalls on review notes a reviewer already cleared, counts review rounds the way the review policy reads them, and keeps security findings out of the PR body.** When a reviewer reports no blocking findings, its summary bullets such as "noted P2 findings", "deferred P1" or "P0 or P1" become notes the lead lowers with a reason, instead of blockers with no way to clear them. A fix-check, the scoped re-read after the one fix round, no longer counts as a review round in the review loop, the PR history or the receipt. A round grant the owner gave in a message while a /ship run was stopped can be recorded with `gstack-approvals round-grant --owner-ref :`, which marks it as relayed. The receipt's list of round grants now shows a security finding as its ruled public form, or as an opaque id when it has no ruling, with the grant's reason recorded privately in that case, so posting the PR body no longer stops on a finding the owner had already ruled not security class. + +- **/ship's review readers are now told never to stop processes they didn't start.** Every brief a /ship review pass sends to a reader now says that other runs share the machine, so the reader must not run `pkill`, `killall`, kill by name or pattern, or kill a process id its own command didn't start, whatever the rest of the brief asks. A red-team reader had run `pkill -x sleep` on a machine shared by several /ship runs and ended processes those runs had started. (GST-3360) + +**/ship's review no longer stops when Capy's own drive sync database grows past 100 MB.** The per-stage fetch sweep now ignores that database (`state.db` and its SQLite side files under `~/.capy/drive-engine`), so it crossing the download line mid-stage no longer quarantines the stage and blocks every later one. A real download of 100 MB or more anywhere else, `~/.capy/drive-engine` and `~/.capy/work` included, and an existing file a stage writes past the line, still count. + +- **/ship's preflight now honors your repository's time limit for rerunning CI-skipped tests, and tells you when a fresh worktree needs its packages installed.** When preflight reuses a CI run and reruns the test files CI skipped, it now stops that rerun at the base branch's `ci_record_timeout_s` (it used 600 s even when the repository set 900 s; accept already honored the setting), and prints the limit it used as `CI_RECORD_TIMEOUT:`. And when the checkout's `package.json` declares packages but there is no `node_modules`, as in a fresh worktree for a second /ship run on the same machine, preflight's test step stops with `STOP: DEPS_MISSING` and the exact install command for the lockfile (for example `bun install --frozen-lockfile`) instead of running checks that can't find the repository's own tools. An installed Yarn Plug'n'Play checkout, which has no `node_modules`, is not stopped. (GST-3360) + +**The slowest free test file is now six files.** `test/review-pass.test.ts` took about 263 seconds on its own, and Free Tests can't split a file across workers, so one shard waited on it every run. Its cases now live in six files of 25 to 40 seconds each on CI (run 44875106601), sharing their fixtures through `test/helpers/review-pass-harness.ts`. No case changed. The duration seed lists the six files, and the slow-file allowlist no longer needs an entry for it. + +**Step 11.5 keeps a reviewed head current across base-only merges.** When a merge lane merges main into a PR after its review, `gstack-review-read` now reads the review rows CURRENT if every commit since the review is a clean merge of the base and the branch's own patch is byte-identical, so a /ship run that stopped before its receipt finishes without another review round (harness-evals#515). An own edit, a conflict resolution, an edit inside a merge, base context moved beside the branch's hunks or an uncommitted change still reads STALE and says which. + +**On a Capy install, only the owner's opt-in sends telemetry.** A shell that never sourced the launch file, such as a /ship reader subagent's or a Codex skill's that reaches gstack through a linked `bin/`, used to fall back to the machine's telemetry setting and send rows labelled `live`; it now sends nothing, as docs/privacy.md already says. Error runs now fill `error_class` from their exit reason (the same fixed list), and each onboarding step and outcome is sent at most once a day per install, so a loop that reruns `./setup` no longer floods the counts. Test runs strip the launch file's preferences-file and loadout variables and the Claude plugin state root, and the ship test fixture drops every launch marker even when `bun test` runs outside the checkout, so a fixture can no longer read the owner's real approvals or preferences. + +**New page: working across agent systems.** `docs/working-across-agent-systems.md` says how to run gstack work when more than one agent system touches a repository: one sender per boundary, answer on the pull request, let a filtered workflow ring the other side instead of polling, treat every message as a paid turn, pin the other harness's version and model, and keep runs cheap. It is self-contained, so any agent can be told to read it first. + ## [1.102.1.0] - 2026-11-20 **Two /ship approval records stop needing workarounds.** A run id like `507-7192673` in an approval for a follow-up review is no longer read as a phone number, either when it is recorded or when the Approvals table is posted to a private PR; the same digits anywhere else are still caught. And a team named "GStack …" (like `GStack Minder (GSTA-36)`) can record rulings, gate answers and test exceptions, while gstack's own names are still refused. diff --git a/VERSION b/VERSION index 2a9af83ae..490912c10 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.102.1.0 +1.102.2.0 diff --git a/agents-digest/gstack-AGENTS.md b/agents-digest/gstack-AGENTS.md index e98ca94c0..3753ba748 100644 --- a/agents-digest/gstack-AGENTS.md +++ b/agents-digest/gstack-AGENTS.md @@ -1,4 +1,4 @@ -# gstack digest v1.102.1.0 — regenerate/re-copy after upgrading gstack +# gstack digest v1.102.2.0 — regenerate/re-copy after upgrading gstack Behavioral rules from gstack (https://github.com/garrytan/gstack), compressed for agent hosts without a full skill install. The full skills add workflows, diff --git a/changelog.d/agent-habits-second-batch.md b/changelog.d/agent-habits-second-batch.md deleted file mode 100644 index 4ea8b1456..000000000 --- a/changelog.d/agent-habits-second-batch.md +++ /dev/null @@ -1 +0,0 @@ -**Habits from nine teams, written into gstack.** The agents' start card says never to write a file back from a read that came back cut off, and to write launch and env files with a file tool or a quoted heredoc. The factory page says a green fake or dry run isn't done until one run drives the real path, and that a check must see your change and count what its name says. The team manual (`crew/docs/captain.md`) says to change the design when review rounds keep finding the same kind of case, to narrow an over-catching safety guard only with a tested exemption, and to move a thread's waits, watches and automations with its work (the rotation handoff and successor brief now carry a Clocks table). `docs/ship-policy.md` says to land review exclusions and secrets allowlist entries in their own PR first. `/eval-plan` asks each plan to record how task machines were checked for answers the agent could read. `docs/working-across-agent-systems.md` treats a relayed approval as a claim and decides harness pins from a repro, not release notes. diff --git a/changelog.d/agent-habits-third-batch.md b/changelog.d/agent-habits-third-batch.md deleted file mode 100644 index a33857d04..000000000 --- a/changelog.d/agent-habits-third-batch.md +++ /dev/null @@ -1 +0,0 @@ -**Three more habits from teams that run evals.** `/eval-plan` says a grader that runs git inside an agent's repo treats that repo as hostile: a sanitized copy of `.git` with no config, hooks, attributes, textconv or signature display, the original index timestamps, no API keys in its environment, and a test that plants each setting. The agents' start card says to find a drive copy in the drive's version history before deleting its source. `docs/working-across-agent-systems.md` says to take each result row's model from the requests the run captured, on every scored row, timeouts included. diff --git a/changelog.d/capy-g1-judge-second-attempt.md b/changelog.d/capy-g1-judge-second-attempt.md deleted file mode 100644 index c0a3fb416..000000000 --- a/changelog.d/capy-g1-judge-second-attempt.md +++ /dev/null @@ -1 +0,0 @@ -The /ship conductor trial plan gives its real-problem judge one more attempt on fresh labels after it missed its agreement bar twice, and stops the trial incomplete if it misses again (GST-3003). diff --git a/changelog.d/capy-g1-pilot-amendment-2.md b/changelog.d/capy-g1-pilot-amendment-2.md deleted file mode 100644 index 8fd151ead..000000000 --- a/changelog.d/capy-g1-pilot-amendment-2.md +++ /dev/null @@ -1 +0,0 @@ -The /ship conductor trial plan now stops a trial only at the final remote-gate refusal, gives both arms the same note that the brief overrides team rules, and counts every report the no-gstack arm returns (GST-3003). diff --git a/changelog.d/capy-g1-pilot-amendment.md b/changelog.d/capy-g1-pilot-amendment.md deleted file mode 100644 index bef435622..000000000 --- a/changelog.d/capy-g1-pilot-amendment.md +++ /dev/null @@ -1 +0,0 @@ -The /ship conductor trial plan now ends a trial at the remote gate when its case base isn't main, gives the no-gstack arm a test runner, and audits every trial for exposure to the plan (GST-3003). diff --git a/changelog.d/capy-g1-r111-r113.md b/changelog.d/capy-g1-r111-r113.md deleted file mode 100644 index d8686f950..000000000 --- a/changelog.d/capy-g1-r111-r113.md +++ /dev/null @@ -1 +0,0 @@ -The /ship conductor trial plan now runs an uncounted pilot in every arm before its counted trials and takes one planned look at half the cases (GST-3003). diff --git a/changelog.d/capy-telemetry-opt-in.md b/changelog.d/capy-telemetry-opt-in.md deleted file mode 100644 index 17a6be8f1..000000000 --- a/changelog.d/capy-telemetry-opt-in.md +++ /dev/null @@ -1 +0,0 @@ -**gstack's own use on Capy can be counted, and is kept out of real-use numbers.** Agent-driven sessions on Capy still send no telemetry by default. When the owner's `preferences.yaml` beside the Capy gstack skill holds `telemetry_capy: anonymous`, each skill run there sends one row at the anonymous tier (no device ID, even on a machine set to `community`), labelled `source=capy`, or `source=gt` with `telemetry_capy_source: gt`. Eval and CI labels still win on Capy, unattended sessions elsewhere are unchanged, the ingest function accepts both labels, and the public dashboard's views count only `live` rows. `bin/gstack-telemetry-tier` is the one place that reads these settings. diff --git a/changelog.d/ci-free-seed-refresh.md b/changelog.d/ci-free-seed-refresh.md deleted file mode 100644 index 8a94d0fd0..000000000 --- a/changelog.d/ci-free-seed-refresh.md +++ /dev/null @@ -1 +0,0 @@ -**Free Tests shards finish closer together.** The recorded per-file test times that Free Tests uses to split the suite were last refreshed on 11-09, and 67 test files added since then had no time at all. The planner counted each of those as a 54-second file, about an hour of work that doesn't exist, so some shards got far more real work than others. The times are now re-recorded for all 1,727 files, and six files that newly run past the 60-second limit are listed with a follow-up to split them. The runner-size trial input also accepts `ubicloud-standard-16`. diff --git a/changelog.d/ci-seed-recorder-unstuck.md b/changelog.d/ci-seed-recorder-unstuck.md deleted file mode 100644 index e9e26cb53..000000000 --- a/changelog.d/ci-seed-recorder-unstuck.md +++ /dev/null @@ -1 +0,0 @@ -**The weekly test-time recording can land again on its own.** Free Tests splits the suite using recorded test times, and the weekly job that refreshes them had not landed a refresh since 11-09. Its Windows half ran four files at once on a four-core runner, so tests that pass in the nightly run failed under the load, and the recording had outgrown its 30-minute limit. Its seed pull request also waited on a maintainer whenever a new file ran past 60 seconds. The Windows recording now runs two files at a time with an hour's limit; a trial timed all 921 files cleanly in 38 minutes. The bot now lists each new slow file in the allowlist with a follow-up to split it, and drops files that are back under 60 seconds, so its pull request passes the seed check without a hand edit and its description names every file it listed. diff --git a/changelog.d/ci-tree-log-sleep-after.md b/changelog.d/ci-tree-log-sleep-after.md deleted file mode 100644 index 15607e7ad..000000000 --- a/changelog.d/ci-tree-log-sleep-after.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -important: blocker ---- -**The job-log tree.json step's recommended sleep is long enough for real runners.** When a repository's artifact storage is full, gstack reads `tree.json` from one log line the named step prints. The docs recommended `sleep 2` after that line, but runners stamp output up to a second or more after it is printed and the jobs API cuts step times to the second, so a Ubicloud run (44845717681) was refused as `CI_CARRY_TREE_LOG_UNBOUND` and the carry fell back to running tests locally. The docs, the troubleshooting fix and the refusal's fix line now say `sleep 5` after the line, and a test binds the documented sleeps to every sub-second offset with up to 2.5 s of stamping delay (GST-3339). diff --git a/changelog.d/ci-trunk-upload-after-run.md b/changelog.d/ci-trunk-upload-after-run.md deleted file mode 100644 index bf57b73e1..000000000 --- a/changelog.d/ci-trunk-upload-after-run.md +++ /dev/null @@ -1 +0,0 @@ -**Pull requests no longer wait on the Trunk flaky-test upload, and the quick tier's flaky passes now reach Trunk.** The upload that sends Free Tests results to Trunk was a job inside Free Tests, so in about one pull request run in four it was the last job to finish: usually by a few seconds, but by about three minutes in the slowest twentieth of those runs and once by more than six. It now runs as its own workflow after Free Tests completes, outside the pull request's check list. The quick tier on the install-default Bun now keeps its JUnit reports too (`bun run test:quick --junit-dir ` is new), and they go to Trunk as the `bun-default` variant, so a test that fails and then passes on its one retry there shows up in Trunk, not only in the flake ledger. diff --git a/changelog.d/ci-windows-setup-e2e-parallel.md b/changelog.d/ci-windows-setup-e2e-parallel.md deleted file mode 100644 index 796bed519..000000000 --- a/changelog.d/ci-windows-setup-e2e-parallel.md +++ /dev/null @@ -1 +0,0 @@ -**Windows Setup E2E finishes sooner on install changes.** Its two long jobs ran every case one after another, so a pull request that touched an install file waited about 8 minutes for the slower one. The false-positive recovery and the two forced-CSO-failure cases now run on their own Windows runners beside the setup case, and the held-install journey splits into three jobs (clean and already-unmerged, dirty then trial and go-back, dirty then a later release), each building the same fixture from `scripts/windows-held-install-fixture.sh`. Every case still runs on every in-scope pull request, and each job checks that its own cases ran. diff --git a/changelog.d/codex-renders-stop-using-forced-rm.md b/changelog.d/codex-renders-stop-using-forced-rm.md deleted file mode 100644 index a3b74b7d2..000000000 --- a/changelog.d/codex-renders-stop-using-forced-rm.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -important: blocker ---- -**Skills no longer stop on Codex when they clean up temp files.** Codex CLI refuses any shell command that runs `rm` with a force flag (`-f`, `-rf`, `--force`), including inside a `trap`, and with approvals off it rejects the whole command ("rm -f style commands are not permitted"). 67 of the 1,239 shell blocks in gstack's Codex skills did that, across 34 files, among them /office-hours, /review, /ship, the plan reviews, /spec and /gstack-upgrade. They now remove a file that is known to exist with plain `rm`, one that may already be gone with `rm 2>/dev/null || true`, and folders with `rm -r`; /ship's leftover-worktree cleanup adds ``). Customer names and prices stay in the private `~/.gstack` copy; repo copies use roles or initials. Builder mode is unchanged. diff --git a/changelog.d/plan-tune-distill-logs-anthropic-sends.md b/changelog.d/plan-tune-distill-logs-anthropic-sends.md deleted file mode 100644 index 6f69db187..000000000 --- a/changelog.d/plan-tune-distill-logs-anthropic-sends.md +++ /dev/null @@ -1 +0,0 @@ -**/plan-tune's dream cycle now logs each send of your typed answers to Anthropic.** `gstack-distill-free-text` was the one off-machine sender missing from `gstack-egress list`; it now writes its entry first, holding no answer text, and sends nothing if it can't. The off-machine send test also fails on any new model-provider call that skips the log. Reported by @robbiesierra in #4617. diff --git a/changelog.d/ready-land-fixes.md b/changelog.d/ready-land-fixes.md deleted file mode 100644 index 00de64ad2..000000000 --- a/changelog.d/ready-land-fixes.md +++ /dev/null @@ -1 +0,0 @@ -**Landing a ready PR no longer depends on a hand-copied gate decision, and the ready note, release PR and squash message say the right thing.** `gstack-ship-queue ready` now writes the signed, applied, non-security gate decisions into the PR's ready note, and landing reads them from there, so a decision recorded on the /ship machine reaches the landing machine without a hand copy; `--accept` still decides what lands. The ready note shows the decision trail's flags from its trail-read row instead of a placeholder, and calls a PR from a fork an outside PR rather than a sibling it trial-merged. Reopening a release PR now rewrites its description. When /ship's finish step left no plan line, the ready note writes the plan's public form, without the plan record's row. A stacked PR's squash message no longer repeats its parent's trailers. docs/ship-budget.md now says how to restart the budget meter for a stopped run whose ledger closed. diff --git a/changelog.d/receipt-carry-held-parent.md b/changelog.d/receipt-carry-held-parent.md deleted file mode 100644 index 10f6179b7..000000000 --- a/changelog.d/receipt-carry-held-parent.md +++ /dev/null @@ -1 +0,0 @@ -**/ship no longer asks for a fresh review because of a stacked parent that main already had.** When a PR was reviewed after its parent had squash-merged into main, and then merged main again, /ship measured from the parent's old commits and refused over the parent's files. It now measures from the merge base, so an unchanged PR keeps its review, and context that main moved next to the PR's own lines gets one scoped review of just that file (yc-software/qm#3457). The patch comparison also always uses three lines of context, so a `diff.context` setting in your git config can't hide moved lines. diff --git a/changelog.d/review-cuts-gate-tagged-data-files.md b/changelog.d/review-cuts-gate-tagged-data-files.md deleted file mode 100644 index 9ad23286e..000000000 --- a/changelog.d/review-cuts-gate-tagged-data-files.md +++ /dev/null @@ -1 +0,0 @@ -**Results PRs with large captured agent sessions can be reviewed.** When the gate scan tags a data file (a `.jsonl` transcript, a CSV, a log, or a results JSON) only because a captured session quotes a lint pragma, an env check or a `--no-verify` push on single lines, /ship's readers now get those tagged lines with context instead of the whole file, the same way files with a credential line already work. Code, declared-only files, anything under a test, CI, config or snapshot path, renamed files and files with a tag that spans lines still go to readers whole, and the gate review still runs. A diff that is still over the 2 MB review limit now names its largest files, and a gate-tagged file whose name holds a space is no longer dropped from review. diff --git a/changelog.d/review-reader-bullets-round-count-relayed-grants.md b/changelog.d/review-reader-bullets-round-count-relayed-grants.md deleted file mode 100644 index 7052e7133..000000000 --- a/changelog.d/review-reader-bullets-round-count-relayed-grants.md +++ /dev/null @@ -1 +0,0 @@ -**/ship no longer stalls on review notes a reviewer already cleared, counts review rounds the way the review policy reads them, and keeps security findings out of the PR body.** When a reviewer reports no blocking findings, its summary bullets such as "noted P2 findings", "deferred P1" or "P0 or P1" become notes the lead lowers with a reason, instead of blockers with no way to clear them. A fix-check, the scoped re-read after the one fix round, no longer counts as a review round in the review loop, the PR history or the receipt. A round grant the owner gave in a message while a /ship run was stopped can be recorded with `gstack-approvals round-grant --owner-ref :`, which marks it as relayed. The receipt's list of round grants now shows a security finding as its ruled public form, or as an opaque id when it has no ruling, with the grant's reason recorded privately in that case, so posting the PR body no longer stops on a finding the owner had already ruled not security class. diff --git a/changelog.d/review-readers-never-kill-other-processes.md b/changelog.d/review-readers-never-kill-other-processes.md deleted file mode 100644 index c5ad680cb..000000000 --- a/changelog.d/review-readers-never-kill-other-processes.md +++ /dev/null @@ -1 +0,0 @@ -- **/ship's review readers are now told never to stop processes they didn't start.** Every brief a /ship review pass sends to a reader now says that other runs share the machine, so the reader must not run `pkill`, `killall`, kill by name or pattern, or kill a process id its own command didn't start, whatever the rest of the brief asks. A red-team reader had run `pkill -x sleep` on a machine shared by several /ship runs and ended processes those runs had started. (GST-3360) diff --git a/changelog.d/review-sweep-skips-capy-drive-engine.md b/changelog.d/review-sweep-skips-capy-drive-engine.md deleted file mode 100644 index d83e498a4..000000000 --- a/changelog.d/review-sweep-skips-capy-drive-engine.md +++ /dev/null @@ -1 +0,0 @@ -**/ship's review no longer stops when Capy's own drive sync database grows past 100 MB.** The per-stage fetch sweep now ignores that database (`state.db` and its SQLite side files under `~/.capy/drive-engine`), so it crossing the download line mid-stage no longer quarantines the stage and blocks every later one. A real download of 100 MB or more anywhere else, `~/.capy/drive-engine` and `~/.capy/work` included, and an existing file a stage writes past the line, still count. diff --git a/changelog.d/ship-preflight-ci-rerun-limit-and-install-check.md b/changelog.d/ship-preflight-ci-rerun-limit-and-install-check.md deleted file mode 100644 index a3aa697d5..000000000 --- a/changelog.d/ship-preflight-ci-rerun-limit-and-install-check.md +++ /dev/null @@ -1 +0,0 @@ -- **/ship's preflight now honors your repository's time limit for rerunning CI-skipped tests, and tells you when a fresh worktree needs its packages installed.** When preflight reuses a CI run and reruns the test files CI skipped, it now stops that rerun at the base branch's `ci_record_timeout_s` (it used 600 s even when the repository set 900 s; accept already honored the setting), and prints the limit it used as `CI_RECORD_TIMEOUT:`. And when the checkout's `package.json` declares packages but there is no `node_modules`, as in a fresh worktree for a second /ship run on the same machine, preflight's test step stops with `STOP: DEPS_MISSING` and the exact install command for the lockfile (for example `bun install --frozen-lockfile`) instead of running checks that can't find the repository's own tools. An installed Yarn Plug'n'Play checkout, which has no `node_modules`, is not stopped. (GST-3360) diff --git a/changelog.d/split-review-pass-tests.md b/changelog.d/split-review-pass-tests.md deleted file mode 100644 index 76052d90a..000000000 --- a/changelog.d/split-review-pass-tests.md +++ /dev/null @@ -1 +0,0 @@ -**The slowest free test file is now six files.** `test/review-pass.test.ts` took about 263 seconds on its own, and Free Tests can't split a file across workers, so one shard waited on it every run. Its cases now live in six files of 25 to 40 seconds each on CI (run 44875106601), sharing their fixtures through `test/helpers/review-pass-harness.ts`. No case changed. The duration seed lists the six files, and the slow-file allowlist no longer needs an entry for it. diff --git a/changelog.d/step-11-5-base-merge-only.md b/changelog.d/step-11-5-base-merge-only.md deleted file mode 100644 index 55c2fc713..000000000 --- a/changelog.d/step-11-5-base-merge-only.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -important: blocker ---- -**Step 11.5 keeps a reviewed head current across base-only merges.** When a merge lane merges main into a PR after its review, `gstack-review-read` now reads the review rows CURRENT if every commit since the review is a clean merge of the base and the branch's own patch is byte-identical, so a /ship run that stopped before its receipt finishes without another review round (harness-evals#515). An own edit, a conflict resolution, an edit inside a merge, base context moved beside the branch's hunks or an uncommitted change still reads STALE and says which. diff --git a/changelog.d/telemetry-env-fixes-batch-b.md b/changelog.d/telemetry-env-fixes-batch-b.md deleted file mode 100644 index 2fc8fe7b1..000000000 --- a/changelog.d/telemetry-env-fixes-batch-b.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -important: security ---- -**On a Capy install, only the owner's opt-in sends telemetry.** A shell that never sourced the launch file, such as a /ship reader subagent's or a Codex skill's that reaches gstack through a linked `bin/`, used to fall back to the machine's telemetry setting and send rows labelled `live`; it now sends nothing, as docs/privacy.md already says. Error runs now fill `error_class` from their exit reason (the same fixed list), and each onboarding step and outcome is sent at most once a day per install, so a loop that reruns `./setup` no longer floods the counts. Test runs strip the launch file's preferences-file and loadout variables and the Claude plugin state root, and the ship test fixture drops every launch marker even when `bun test` runs outside the checkout, so a fixture can no longer read the owner's real approvals or preferences. diff --git a/changelog.d/working-across-agent-systems.md b/changelog.d/working-across-agent-systems.md deleted file mode 100644 index 76f34f221..000000000 --- a/changelog.d/working-across-agent-systems.md +++ /dev/null @@ -1 +0,0 @@ -**New page: working across agent systems.** `docs/working-across-agent-systems.md` says how to run gstack work when more than one agent system touches a repository: one sender per boundary, answer on the pull request, let a filtered workflow ring the other side instead of polling, treat every message as a paid turn, pin the other harness's version and model, and keep runs cheap. It is self-contained, so any agent can be told to read it first. diff --git a/package.json b/package.json index 837cdd27b..9adc1efdd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gstack", - "version": "1.102.1", + "version": "1.102.2", "description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.", "license": "MIT", "type": "module",