Skip to content

v1.91.281.0 fix(flaky): repair four paid gate detectors, the design-floor focus picker and the judged review/plan-review prose (GSTA-128) - #3516

Merged
capy-ai[bot] merged 10 commits into
mainfrom
flaky-2026-10-27-paid
Oct 27, 2026
Merged

capy-ai[bot] merged 10 commits into
mainfrom
flaky-2026-10-27-paid

Conversation

@garrytan

@garrytan garrytan commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3516,
  "head": "d0ed2d938ef4c98352a53ea27ce3596824068568",
  "version": "1.91.276.0",
  "base": "main",
  "gate": {
    "remote-free-gate": {
      "pass": 18442,
      "fail": 0,
      "skip": 0
    },
    "focused-free": {
      "pass": 1017,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "pregate": "requires-remote cleared @0a8aabf6f981 (1 checks, current for 6f63da73d8a9)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/40542472794",
    "platform-qualification.yml/ios-swift-build: https://github.com/garrytan/gstack/actions/runs/40543345024",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/40542480659",
    "pregate.json/remote_gate: remote-gate tree=0a8aabf6f981 tests=18442"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      3516
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CONTRIBUTING.md, AGENTS.md, CLAUDE.md, TODOS.md and the 34 changed files at 6f63da7 against base 3e4240a (read-only /document-release audit, attempt 2)"
  },
  "review_loop": {
    "passes": 3,
    "blocking_found": 2,
    "deferred": 0,
    "noted": 16,
    "fixed": 7,
    "scope": "frozen"
  },
  "carry": {
    "from": "6f63da73d8a9127ce2a4264a1f0c2a565831539f",
    "reason": "base merge + test-only change + release metadata",
    "product_patch_id": "1c18d64c3929c907d032d579c526c3bb7eb221bd",
    "changed_paths": [
      "metadata:CHANGELOG.md",
      "metadata:VERSION",
      "metadata:agents-digest/gstack-AGENTS.md",
      "product:bin/gstack-pr-shots",
      "product:bin/gstack-pr-wait",
      "product:bin/gstack-ship-receipt",
      "product:captain/templates/merge-ask.md",
      "product:capy/skill/gstack/captain.md",
      "product:docs/TESTING_INTERNALS.md",
      "product:docs/captain.md",
      "product:docs/pregate.md",
      "product:docs/review-policy.md",
      "product:docs/ship-policy.md",
      "product:docs/skills.md",
      "product:docs/standalone-binaries.md",
      "product:docs/troubleshooting.md",
      "product:lib/gstack-post.ts",
      "product:lib/pr-wait-github.ts",
      "product:lib/pr-wait.ts",
      "product:lib/pregate/import-graph.ts",
      "product:lib/redact-patterns.ts",
      "product:lib/restamp.ts",
      "product:lib/ship-queue-train-ready.ts",
      "product:lib/ship-queue-train.ts",
      "product:lib/ship-receipt-prose.ts",
      "product:lib/ship-receipt.ts",
      "product:lib/tree-receipt.ts",
      "product:office-hours/SKILL.md",
      "metadata:package.json",
      "product:review/sections/review-army.md",
      "product:scripts/eval-readiness.ts",
      "product:scripts/harness-version.json",
      "product:scripts/lib/windows-curation.ts",
      "product:scripts/resolvers/preamble-hoist.ts",
      "product:scripts/resolvers/preamble/generate-ask-user-format.ts",
      "product:scripts/resolvers/review-army.ts",
      "product:scripts/test-pr-profile.ts",
      "product:scripts/train-gate.ts",
      "product:scripts/ubicloud/ubi-runner.sh",
      "product:ship/sections/capy-pr.md",
      "product:ship/sections/capy-pr.md.tmpl",
      "product:ship/sections/review-army.md",
      "test:test/approval-record.test.ts",
      "test:test/ceo-workflow-clarity.test.ts",
      "test:test/design-lint-fifth-cycle.test.ts",
      "test:test/eval-readiness.test.ts",
      "test:test/exercised-map.test.ts",
      "test:test/fixtures/context-budget.json",
      "test:test/gstack-restamp-queue.test.ts",
      "test:test/gstack-ship-receipt-docs.test.ts"
    ],
    "merge_commits": 1,
    "range_diff": "1:  79ac33c96 = 1:  79ac33c96 fix(flaky): repair the five paid gate detectors and the judged review/plan-review prose (GSTA-128)\n2:  93a41bcc5 = 2:  93a41bcc5 test(plan-review): expect the renamed routing row ('Any other mode') in the Eng provider case\n3:  ee73419c3 = 3:  ee73419c3 test(eval-select): register the three new free fixtures in FREE_FIXTURES\n4:  3712b7971 = 4:  3712b7971 fix(review): pre-landing review fixes for the paid flaky-case repairs\n5:  27a1b1fdb = 5:  27a1b1fdb fix(ship-hook-actor): read the owner's denial in the owner's own clause\n6:  a3b0c55ec = 6:  a3b0c55ec docs(changelog): [Unreleased] entry for the GSTA-128 paid flaky-case repairs\n7:  6f63da73d = 7:  6f63da73d docs(changelog): count the four repaired gate detectors, not five\n-:  --------- > 8:  d0ed2d938 test(parity): re-pin ship maxSizeRatio 1.7524 -> 1.7525 on the main-merged tree",
    "covers": [
      "pre-landing review",
      "adversarial review",
      "gate integrity",
      "documentation audit"
    ],
    "reruns": [
      "CI at head (gstack-ship-queue ready requires it); test and helper code changed since the reviewed head runs there unreviewed"
    ]
  }
}

What changed

Before: five paid gate reds with their captured causes. After: the focused checks green at 79ac33c with the parity caps held.

Before: the five paid reds of the 2026-10-27 ledger with what their captured transcripts show. After: the repaired detectors, fixtures and prose, proved by 1078 focused assertions at 79ac33c (the ship parity cap was later re-pinned 1.7524 → 1.7525 on the main-merged tree; see the last bullet).

Daily flaky pass (GSTA-128) over the paid entries of handoffs/flaky-ledger.md, each diagnosed from its captured transcript or judge output before any edit.

Detectors and fixtures

Judged prose (plan-eng-review and review judges, one sample under threshold each; the samples name the conflicts)

  • Plan-review headers read "If CODEX_MODE: ready": the plan-review preflight prints disabled, ready, not_installed or under_current_harness and never unverified, so "(or unverified)" named a branch nothing could enter. The doc-review header keeps "(or unverified)" only where the codex probe can print it. The routing row names the two other modes.
  • /review's final Scope Check is emitted in Step 3 after the full diff read (Step 1.5 keeps provisional notes), so Diff read: full records a read that has happened.
  • The small-diff rule and the specialists record agree: State Machines alone may dispatch below 50 lines, and the list is "empty or State Machines alone".
  • Step 5.8.2 names which post-fix rerun rule governs: an edited pass supersedes every earlier QA capture (exploratory §4); a zero-edit pass reuses only this invocation's unchanged-input evidence.
  • Nearby review prose tightened so review and plan-eng-review stay at their parity caps (review union 142,544 of 142,555, skeleton 58,948 of 59,073). The 24 generated-size pins that shrank are lowered in skill-md-size-allowlist.json; none of those is raised.
  • Ship parity cap 1.7524 → 1.7525 (test/helpers/carve-guards.ts maxSizeRatio, commit d0ed2d9 under GStack Minder's rule 19 grant). The review-army small-diff clause above (State Machines as item 9's call and a State Machines-only specialist list) is +5 union bytes in ship/sections/review-army.md. Main at v1.91.280.0 already measured 328,932 / 187,706 = 1.7524, four bytes under the cap after v1.91.279.0 eval:select exemptions and ETHOS.md registration (#3499), below-floor review rulings (#3504, #3485), Windows curation, GSTA-121 follow-ups #3515 and v1.91.280.0 fix(flaky): ubi-runner quota wait counts down; pregate TERM teardown and design-lint linearity measure what they mean (GSTA-128) #3517, so with this PR merged the tree measures 328,937 / 187,706 = 1.752405 and train 26's free run 40556676971 failed test/parity-suite.test.ts (ship: size ratio 1.752 > maxSizeRatio 1.7524). The pin moves one in the last place per the file's own rounding rule; no other cap or pin is raised.

Why

Three of these cases were REPEATs of entries fixed yesterday (#3472, #3332), so the train gate kept paying for in-run reruns of detector gaps rather than product defects. The judge cases were real prose conflicts an agent had to guess through. No eval threshold, trial count, sample count, case kind or budget changed; no retry added. The one pin that moved is the ship parity size cap named in What changed and Blast radius.

Verification

  • bun test over the 18 focused files (clarity, qa-lazy, outside-voice preflight, parity suite, size guard, workflow required steps, docsync x3, hook actor, floor fixture, gen-skill-docs, army budget, invocation, context budget, docs freshness, spawnsync tripwire, state-root ratchet, bun entry isolation, module-size ratchet): 1078 pass, 0 fail.
  • bun run typecheck: 0 errors. bun run gen:skill-docs output committed.
  • Stash checks: docsync grammar and hook-actor regressions fail with their helper changes stashed.
  • No paid runs: every repair was proved by replaying the captured transcripts through the current detector.

Approvals

Standing: CREW.md rule 16 (daily flaky pass, Garry 2026-10-19). Rule 19 grant (GStack Minder, 2026-10-27, after train 26 free run 40556676971): one merge of origin/main (703b004, v1.91.280.0) into this branch as 889c66a, CHANGELOG.md the only conflict, resolved with mergeChangelogs; the grant is spent. Paid eval spend $0 of the $10 lane cap; Ubicloud remote free gates: see Test plan.

Blast radius

The product change is test-harness code (four paid-gate detectors and their fixtures) plus review-skill prose: every SKILL.md and sections/*.md copy is regenerated from its template or resolver (bun run gen:skill-docs leaves the tree clean, checked by two reviewers and the Skill Docs Freshness lane), the detector changes are exercised by their captured transcripts replayed through the current helpers (script ran: 23/23 hook-actor, 287/287 docsync and dispatch tests), and the review skeleton's eight pinned host renders shrank by 3 characters each with no generated-size pin raised (script ran: exact-pin size guard). One cap moved: the ship parity maxSizeRatio in test/helpers/carve-guards.ts, 1.7524 → 1.7525, because the review-army small-diff ground text (+5 union bytes: 328,932 → 328,937 over the 187,706 baseline) lands on a main that was already four bytes under the cap; it is a test-only pin read by test/parity-suite.test.ts and changes nothing at runtime. Nothing outside test/, review/, plan-*/sections, ship/sections/review-army.md, five resolvers and CHANGELOG.md changes; no eval threshold, trial count, sample count, budget or ms bound moved.

Summary

Three of the 2026-10-27 paid reds were REPEATs of detector gaps, not product defects: a parent orienting with git branch -a, a parent honestly re-auditing docs after rejecting its first attempt, and a reply delegating the credential guard to the repo owner were all judged red by detectors that could not read them. This PR teaches the four detectors those shapes from their captured transcripts, gives /review's Scope Check a single emission point so Diff read: full exists when the check is written, and drops the plan-review header branch nothing could enter. The /ship review loop on this branch then fixed its own five in-diff findings (an honest docsync re-audit that re-edits the same document, a hook-actor arm that credited denials and first-person claims, the no-plan Scope Check path, Step 3's repeat-pass emission, the branch-listing interface prose) and, on pass 2, a recall regression in the pass-1 hook-actor guard. Themes: detector and fixture repairs; judged review prose; test registration (three free fixtures in FREE_FIXTURES; a stale plan-review assertion).

Test Coverage

Coverage diagram (Step 7, head ee73419 + the audit's two test extensions; the review-loop commits added probe sets to the same files):

CODE PATHS
├── Detector / fixture repairs (free-testable)
│   ├── docsync-observer: git branch grammar admits operand-free listings, refuses operands and write flags [★★★ TESTED] test/docsync-command-grammar.test.ts
│   ├── docsync-interface: declared branch-listing sentence [★★ TESTED] same test (string pin)
│   ├── docsync-contract: docsDispatchIndices / docsDispatchIndex [★★★ TESTED] test/ship-document-release-dispatch.test.ts
│   ├── two-attempt vetting: accepted contract = last dispatch; retained attempt-1 edit; re-audit re-claiming the path [★★★ TESTED] same (captured gate 40465691803 replay + both honest shapes)
│   ├── skill-e2e-ship-docsync runShipDocs body [→E2E] paid case; free mirror above
│   ├── ship-hook-actor toUser: noun-phrase phrasal object [★★★ TESTED] test/ship-hook-actor.test.ts (captured reply 40467320097, ablations, controls)
│   ├── ship-hook-actor ownersOwnHand: owner + themselves, denial in the owner's clause, contractions, first-person claims, negated subordinate clause [★★★ TESTED] same (9 credited / 13 refused probes; the credited ones fail on the pass-1 helper)
│   ├── ship-local-hook-train-replies.json: +2 rows [★★ TESTED] 10 replies replayed
│   ├── design-floor-focus-picker: coverAll alternative [★★★ TESTED] test/plan-design-floor-fixture.test.ts (captured menu → option 1; 8 mutations → null)
│   ├── FREE_FIXTURES +3 rows [★★ TESTED] test/free-fixtures.test.ts, test/touchfiles.test.ts
│   └── skill-md-size-allowlist: 24 pins lowered (+8 by 3 in the review fixes) [★★★ TESTED] test/skill-md-size-guard.test.ts (exact-pin ratchet)
├── Judged prose (resolvers + review/SKILL.md.tmpl; generated copies follow via gen:skill-docs [★★ TESTED])
│   ├── plan-review run header without "(or unverified)" [★★★] test/outside-voice-preflight.test.ts (fence ↔ header ↔ routing row, all hosts)
│   ├── doc review keeps "(or unverified)" only where its preflight prints it [★★] same
│   ├── review-army small-diff State Machines exemption + record line [★★★] test/review-workflow-clarity.test.ts
│   ├── Scope Check emitted once, in Step 3, first pass only; no-plan path and STOP trigger name the same point [★★★] test/review-workflow-clarity.test.ts
│   ├── Step 5.8 edited pass supersedes QA capture / zero-edit reuse [★★] same
│   └── review/SKILL.md.tmpl terseness edits [★ TESTED] size pins + parity suite [→EVAL]
USER FLOWS
├── ship-docsync-store parent orients with git status; git branch -a; git log [★★★ TESTED]
├── ship-docsync-completion parent rejects attempt 1, re-audits, reports attempt 2 [★★★ TESTED free replay] [→E2E live]
├── ship-local-hook-preservation reply delegates the guard to the owner [★★★ TESTED]
├── plan-design finding floor: "Should the review cover all 7 dimensions?" menu [★★★ TESTED]
└── /review Step 1.5 notes → plan audit → Step 2 → Step 3 diff read → Scope Check [→EVAL] + free pin
COVERAGE: 18/21 paths value-weighted (86%), 20/21 any test (95%); 0 paths with no test (1 paid-only [→E2E] with a free replay mirror)
QUALITY: ★★★ ×11, ★★ ×6, ★ ×1, →E2E ×1 (rated by a separate dispatch; the review-loop probes extend rated tests)

Tests: 1501 → 1501 files (+2 new cases, +2 extended by the audit; +4 cases extended by the review loop)
Coverage: 86% value-weighted (95% including 1 weakly covered path)
Test value: 2 tests written, 0 rejected by the authoring gate, 2 existing tests extended, 1 path weakly covered (weak = ★, gate-failing or unrated).
Weak path: the review template terseness edits are covered only by the byte-size ratchet (test/skill-md-size-guard.test.ts); their meaning is the paid judge's job.
Regression proof — the Step 7 tests fail at origin/main 3e4240a (preflight:127, clarity:136/285/354) · pass at ee73419 + edits; the pass-1 review fixes fail on the pre-fix helpers (acceptedChangedPaths old filter → unreported edits; hook-actor denial probe credited) and pass after; the pass-2 credited probes fail on the pass-1 helper and pass after.
Tests ran: remote free gate (Ubicloud, tree 0a8aabf6) 18442
Tests ran: focused free files on the shared machine 331 + 376 + 287 + 23 (per commit, see Test plan)

Pre-Landing Review

Pass 1 (full, candidate ee73419 + audit tests): Testing CRITICAL (two-attempt retained-edit filter reds an honest re-audit) fixed; Red Team CRITICAL (the circular Scope Check prerequisite survived on the no-plan path and the STOP trigger) fixed; outside voice (gpt-6.1-sol) Medium and native adversarial #4 (owner+reflexive arm credits denials and first-person claims) fixed; native #5 (Step 3 item 5 re-emits on repeat passes) fixed; branch-listing interface prose fixed; Maintainability, Simplification and five further items noted. Pass 2 (full, 3712b79): State Machines CRITICAL, a recall regression in the pass-1 hook-actor guard (a negated subordinate clause before the owner's request was refused), fixed together with the dead contraction alternative every reviewer flagged; nine items noted. Pass 3 (full, 27a1b1f): Testing, Simplification and the outside voice NO FINDINGS; Maintainability, native adversarial, State Machines and Red Team below-floor notes only; no edits, converged.
REVIEW_LOOP: passes=3 blocking_found=2 deferred=0 noted=16 fixed=7 scope=frozen
Gate edits: none detected (27 listed, 16 read; patterns: GATE_SUMMARY listed=27 eligible=16 inspected=16 unread=0 tagged={} unmatched=13; unlisted idioms: none reported)
Outside review: gpt-6.1-sol adversarial completed on every pass (pass 1 one Medium, fixed; pass 2 two Mediums, one fixed and one noted; pass 3 NO FINDINGS). Codex CLI: not installed (CODEX_MODE: not_installed), so no structured Codex review ran: missing coverage, not a pass.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded in the review log and not fixed in this PR. Pass 1:

  • INFORMATIONAL test/skill-e2e-ship-docsync.test.ts:93 retained paths come from the rejected attempt's own files_updated claim; attributing them to observed child writes needs child events the public capture does not carry (the observer still limits writes to the one allowed doc).
  • INFORMATIONAL ship/sections/documentation.md a ship report may say Documentation: current after a rejected attempt's doc edit stays in the tree; whether that under-disclosure is acceptable is a product call.
  • INFORMATIONAL ship/sections/review-army.md.tmpl:186 the ship persist line still says specialists is {} for every small-diff skip while the small-diff sentence now allows a State Machines-only list (ship sits at its parity and size caps).
  • INFORMATIONAL (advisory) test/helpers/docsync-contract.ts:66 docsDispatchIndex is a 3-line wrapper over docsDispatchIndices.
  • INFORMATIONAL test/helpers/docsync-contract.ts:76 docsDispatchIndices matches any Agent/Task whose input mentions the document-release skill; with .at(-1) and the two-attempt budget an extra match is now load-bearing.
  • INFORMATIONAL test/skill-e2e-ship-docsync.test.ts:86 every attempt is parsed strictly and the current scenario requires every attempt current; a malformed or blocked first attempt still reds (hypothetical shapes beyond the captured gate).
  • INFORMATIONAL scripts/resolvers/outside-voice-steps.ts:148 the review/ship adversarial step says "ready or unverified" on the codex host, whose preflight never prints unverified (sideways sibling of the plan-review fix; ship at its caps).

Pass 2 and 3 (the hook-actor owner+reflexive arm, test/helpers/ship-hook-actor.ts:141-154, heuristic slack outside every captured reply):

  • INFORMATIONAL :148 a denial whose negation precedes the owner noun ("There is no need for the repo owner to add the guard to the hooks themselves", "Nothing requires the repo owner to …", "It is not necessary for the owner to …", "Nobody on the team needs to …") is credited; "no longer needs" / "has no reason" / "has no obligation" are not in the denial alternation.
  • INFORMATIONAL :147 the first-person guard admits one auxiliary ("I have already wired the guard in so the owner can use it themselves" is credited); :143 third-person past-tense claims ("The owner had already set the hooks up themselves") are credited.
  • INFORMATIONAL :146 plural owner nouns (owners, maintainers) are not matched (pre-existing); :145 the arm anchors on the first reflexive ("The hooks won't merge themselves, so the repo owner needs to add the guard themselves" is refused); :148 an appositive between the owner noun and its verb ("The repo owner, not the installer, needs to …") is refused; :152 the sentence splitter does not split on ;/:.
  • INFORMATIONAL scripts/resolvers/sideways.ts:53 the partial-read "DRIFT DETECTED naming the unread paths" sentence has no test pin, and options B/C are chosen in Step 1.5 but approved by Step 3's full read; review/SKILL.md.tmpl:386 "an edited pass supersedes every earlier QA capture" is read at Step 4.7 before the pass's outcome is known; review/SKILL.md.tmpl:448 Step 5.8 still says quality_score is 10.0 when small-diff specialists were skipped (third owner of the small-diff rule).
  • INFORMATIONAL test/helpers/docsync-contract.ts:66 acceptedChangedPaths exempts a retained path on the rejected attempt's claim alone; the e2e does not assert distinct audit_ids across attempts (same item as pass 1).

Exploratory QA

Parent-owned smoke probes (Step 9.2.1) at ee73419: 7/7 probes passed (verdict pass; evidence under .gstack/qa-reports/ship3516/, gitignored): the four captured transcripts replay clean through the current detectors, the generated renders are fresh, the size guard holds on every host, and the free fixtures map to their consumers. Not rerun after the review-loop commits: those commits changed test helpers and templates covered by the focused suites and the remote free gate, and the probes' inputs (the captured fixtures) did not change. No live paid run (per the lane brief: the repaired paid cases were replayed free; the train gate is the screen).

Design Review

No frontend files changed — design review skipped.

Eval Results

No paid eval run in this lane (brief: the train gate is the screen). Prompt files changed (review/plan-review templates and resolvers): eval:select profile pr (dependents); the free parity suite, size guard, context budget and clarity pins pass at 6f63da7.

Greptile Review

No Greptile comments.

Scope Drift

Scope Check: CLEAN
Diff read: full (34 files, 7 commits) across three review passes
Undeclared behavior changes: none (the review-loop commits and the CHANGELOG entry are described in the Summary and the commit messages)

Plan Completion

Plan completion audit: not run (no plan bound to branch flaky-2026-10-27-paid; VERIFY_RESULT=skipped).

Issues

Refs #3516

Verification Results

No plan obligations (no plan bound); nothing to execute at Step 9 beyond the smoke probes above. VERIFY_RESULT=skipped.

TODOS

No TODO items completed in this PR.

Documentation

Status: current — every audited document already describes the shipped behavior; no edits, no blockers (read-only re-audit, attempt 2 of ship-20261027T162735Z-6f63da7).

Scope. Branch flaky-2026-10-27-paid at 6f63da7 against base 3e4240a: 7 commits, 34 files (+1332/-150). The release repairs four paid gate detectors (ship-docsync-store, ship-docsync-completion, ship-local-hook-preservation, plan-design-finding-floor), moves /review's Scope Check to one emission point in Step 3, drops the unreachable unverified branch from the plan-review run headers, tightens review/ship/plan-eng-review prose under their parity caps, lowers shrunken size pins, registers three free fixtures, and adds the [Unreleased] CHANGELOG entry. Audited committed, staged, unstaged and new content (staged/unstaged/untracked were empty) plus the entry-point docs and every doc the changed terms touch. Only delta from attempt 1 is the CHANGELOG headline count (five → four), which now matches the named cases.

Documentation health:
README.md Current (/review row and doc links unchanged by the diff)
CLAUDE.md Current
CONTRIBUTING.md Current (Unreleased-block prose-lint gate description still accurate)
AGENTS.md Current
CHANGELOG.md Current (protected; [Unreleased] headline now counts the four named gate cases)
docs/troubleshooting.md Current (CODEX_MODE: unverified entries still true: bin/gstack-codex-probe prints it for /review and doc-review)
docs/evals/detector-inventory.md Current (pinned snapshot at cbcccf9; repaired detectors not re-listed by design)
docs/TEST_PORTFOLIO.md, docs/TESTING_INTERNALS.md, docs/evals/judge-low-samples-2026-10.md Current (mechanisms and dated history, nothing contradicted)
TODOS.md Current (protected; no related item)

Coverage and debt. No new commands, flags, environment variables, skills or doc files shipped; the behavior changes are detector/fixture repairs and skill workflow prose carried by the skill text itself, with the CHANGELOG entry as the user-facing reference. No documentation debt. No architecture diagrams in scope; no diagram drift. Banned terms: none.

Test plan

  • At the re-READY head d0ed2d9 (main 703b004 merged, ship cap re-pinned): remote free gate (gstack-pregate --stage tests --remote --spend-cap 2, Ubicloud 16 vCPU) on tree 04670d61 = head d0ed2d9: 19,062 tests, 0 failed, $0.09 (run ship3516b-remote), VM destroyed. pull_request CI at d0ed2d9 green: Free Tests 40559306375 (free-suite 1–21, typecheck, quick-bun-default, macos-named-regressions, cso launchers), Windows Free Tests 40559306387 (6 shards), Quality gate 40559306381, Version Gate 40559306485, Skill Docs Freshness 40559306412, Workflow Lint 40559306638, E2E Evals pr-summary 40559306397; platform-qualification dispatched for the ios-swift-build lane: run 40561991764 success. gstack-pregate verify: ok, requires-remote cleared, current for tree 04670d61874c. Focused on the lane machine: parity-suite, skill-md-size-guard, skill-size-budget, module-size-ratchet, context-budget-ratchet 22 pass / 0 fail; ship union measured 328,937 / 187,706 = 1.752405 at d0ed2d9 vs 328,932 = 1.752379 on main 703b004.
  • /ship at d0ed2d9 carried the 6f63da7 receipt (CARRY: carried … base merge + test-only change + release metadata, product patch-id unchanged); the two commits since were hand-checked: 889c66a equals git merge-tree --write-tree 6f63da73 703b0049 on every path but CHANGELOG.md (0 markers, no line of either parent lost), d0ed2d9 touches only the maxSizeRatio line and one CHANGELOG bullet.
  • Remote free gate on tree 0a8aabf6 = head 6f63da7: 18,442 tests, 0 failed, $0.07 (run ship3516-r4); the same gate on tree 5844765e = 27a1b1f: 17,477 / 0, $0.06 (ship3516-r3); both VMs destroyed.
  • Free Tests dispatched on the branch at 6f63da7 (GitHub schedules no pull_request CI on a CHANGELOG-conflicting head): run 40542472794, 29 jobs success (free-suite 1–21, quick-bun-default, typecheck, macos-named-regressions, cso launchers, free-tests).
  • Windows Free Tests dispatched at 6f63da7: run 40542480659, windows-plan + 6 shards success.
  • Platform qualification dispatched at 6f63da7 for the ios-swift-build lane: run 40543345024 (ios-swift-build, security-ml, gitleaks) success.
  • gstack-pregate verify at 6f63da7: ok, requires-remote cleared, current for tree 0a8aabf6f981 (remote_gate by receipt; macOS, Windows and iOS lanes by the three run URLs).
  • bun test focused on the shared machine: 331 pass / 0 fail at 3712b79 (size guard on every host, review-workflow-clarity, ship-hook-actor, ship-document-release-dispatch, outside-voice-preflight, skill-size-budget, parity-suite, docsync-command-grammar); 376 / 0 (module-size-ratchet, spawnsync tripwire, skill-size-budget, free-fixtures, touchfiles, plan-review-cases, workflow-excerpt, ship-control-flow); 287 / 0 (docsync grammar, lifecycle interface, dispatch); 23 / 0 ship-hook-actor at 27a1b1f, with the new credited probes failing on the pass-1 helper first.
  • bun run typecheck: 0 errors. bun run typecheck:test: 819 known diagnostics, none new. bun run gen:skill-docs: tree clean at 6f63da7 and at d0ed2d9 (pregate regen fresh).
  • Local pregate stages (gstack-pregate run --allow-repo-commands, runs ship3516-final and ship3516b-preflight): regen, strays, literals, timing and guards pass; secrets warn (MEDIUM, non-credential run ids and fixture phone-shaped ids); lanes requires-remote, cleared above. gstack-pregate sealed: no-policy findings=0.

🤖 Generated with Claude Code

…/plan-review prose (GSTA-128)

Daily flaky pass over the 2026-10-27 Open ledger entries, paid cases first.

- ship-docsync-store (40458489644, 40477638211): docsync-observer admitted only
  `git branch --show-current`; both captured parents' fourth call was a read ending
  in `git branch -a`. Operand-free branch listings are now part of the read grammar.
- ship-docsync-completion (40465691803): the parent ran two /document-release
  dispatches and wrote the accepted second section into the report while the case
  compared the first. The contract now follows the last foreground dispatch.
- ship-local-hook-preservation (40467320097): the red reply delegated the guard to
  the repo owner ("have someone wire the guard in by hand"); toUser now reads a
  determiner-led phrasal object and owner/maintainer/someone + themselves.
- plan-design-finding-floor (x2): the pending menu asked to cover all 7 dimensions
  without the word "focus"; the picker now reads that question shape.
- Judge cases: plan-review headers no longer offer a "(or unverified)" branch the
  four-mode preflight can never print; /review's Scope Check is emitted in Step 3
  after the full diff read; the small-diff rule and the specialists record agree on
  State Machines; Step 5.8.2 names which post-fix rerun rule governs. Nearby prose
  tightened so review, ship and plan-eng-review stay at their parity caps; shrunk
  size pins lowered per the guard's own instruction.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 6 commits October 27, 2026 14:53
…in the Eng provider case

The GSTA-128 prose repair renamed the plan-review routing row from 'other preflight mode, including harness mismatch' to 'Any other mode (not_installed, under_current_harness)'; test/plan-review-cases.test.ts:657 still asserted the old text and failed quick-bun-default on #3516 (run 40524518937).

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
eval: select reported docsync-branch-listing-public.json, docsync-two-attempts-public.json and design-floor-focus-cover-all.json as unknown dependencies (needs touchfile entry) and fell back to the full gate on that alone. Each is read only by a free test, so they belong in FREE_FIXTURES beside their siblings.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Pass 1 of /ship's review loop on #3516 (core, four specialists, native and
outside adversarial, Red Team). Fixed in the diff:

- test/skill-e2e-ship-docsync.test.ts: the two-attempt retained-edit filter
  dropped a path from changedPaths even when the accepted contract's
  files_updated claimed it, so an honest re-audit that re-edits the same
  document read as 'unreported edits'. acceptedChangedPaths() in
  test/helpers/docsync-contract.ts keeps a retained path the accepted
  contract claims; the free replay proves the old filter red on that shape.
- test/helpers/ship-hook-actor.ts: the owner+reflexive manual-integration arm
  credited a denial ('so the owner does not have to do it themselves') or a
  first-person claim. ownersOwnHand() requires a hook noun, rejects a
  negation before the reflexive and a first-person subject; probes added.
- scripts/resolvers/plan-gates.ts + review/sections/manifest.json: the
  no-plan path still said 'Emit Step 1.5's Scope Check once' and the STOP
  trigger 'finishing Step 1.5's Scope Check', the circular prerequisite gate
  40454750574 flagged, on the path most reviews take. Both now point at
  Step 3 ('Step 3 emits the Scope Check once without plan fields';
  'Before leaving Step 1.5').
- review/SKILL.md.tmpl: Step 3 item 5 emits the Scope Check on the first
  pass only (a fix-range repeat pass reads a partial diff by construction);
  two prose tightenings keep the review skeleton under its pins, which are
  lowered by 3 on the eight pinned hosts.
- test/helpers/docsync-interface.ts: the declared branch-listing class now
  enumerates the exact flag set DOCS_BRANCH_LIST_FLAGS accepts.

Coverage audit (Step 7) tests: plan-review and doc-review run headers admit
only the CODEX_MODE values their preflight prints
(test/outside-voice-preflight.test.ts); the final Scope Check is emitted
once in Step 3 and every owner names that point, no-plan path and STOP
trigger included (test/review-workflow-clarity.test.ts).

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review pass 2 on #3516 (State Machines, with the same site flagged by every
other reviewer): the pass-1 negation guard in ownersOwnHand() scanned the
whole sentence prefix before the reflexive, so an honest request after a
negated subordinate clause ("Since the installer did not run, the repo owner
needs to add the guard to the existing hooks themselves") was refused, a
recall regression against ee73419 that would red the paid
ship-local-hook-preservation case. The guard now reads the clause from the
last owner noun to the reflexive, and its contraction alternative matches
"doesn't"/"won't" (the pass-1 form sat behind a word boundary and never
matched). Three credited and two refused probes added; the credited ones
fail on the pass-1 helper.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…repairs

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>
@capy-ai capy-ai Bot changed the title fix(flaky): repair the five paid gate detectors and the judged review/plan-review prose (GSTA-128) fix(flaky): repair four paid gate detectors, the design-floor focus picker and the judged review/plan-review prose (GSTA-128) Oct 27, 2026
garrytan and others added 3 commits October 27, 2026 18:19
Rule 19 grant from GStack Minder for #3516 after train 26 free run 40556676971 failed test/parity-suite.test.ts on main+#3516. CHANGELOG.md resolved with mergeChangelogs (additive); no other conflicts.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…erged tree

The review-army small-diff clause (+5 union bytes) lands on a main that
sat 4 bytes under the ship cap after #3515 and #3517: 328,932 -> 328,937
/ 187,706 = 1.7524 both ways at four places, so the pin moves one in the
last place. GStack Minder's rule 19 grant for #3516 after train 26 free
run 40556676971 failed test/parity-suite.test.ts. Before/after and the
reason are in the CHANGELOG entry.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… base=origin/main@703b004 policy=base origin/main@703b0049ebbe:.gstack/ship-policy.json)

ship, next in queue at 1.91.281.0
STAMP_VERSION: 1.91.281.0
claims: ignored (stamp-at-merge)
stage version: done (wrote 1.91.281.0)
stage release_tool: done (bun scripts/gen-agents-digest.ts)
stage changelog: done (Unreleased -> 1.91.281.0)
stage stamp_paths: skipped (no tentative mention newer than the fork version 1.91.276.0 and none of base 1.91.280.0 on a line this branch added)
stage mirror: skipped (no mirror in policy)
stage apply: done (4 file(s))
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5d8184d..4363f3d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
 # Changelog

-## [Unreleased]
+## [1.91.281.0] - 2026-10-27

 **Four paid gate detectors stop judging honest transcripts red, and /review's Scope Check has one emission point.** The 2026-10-27 flaky pass (GSTA-128) read each red transcript and repaired the detector or the prose it judged, never the threshold.

diff --git a/VERSION b/VERSION
index 3d95d39..12d5f1c 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.91.280.0
+1.91.281.0
diff --git a/agents-digest/gstack-AGENTS.md b/agents-digest/gstack-AGENTS.md
index 15ac5e1..2b81219 100644
--- a/agents-digest/gstack-AGENTS.md
+++ b/agents-digest/gstack-AGENTS.md
@@ -1,4 +1,4 @@
-# gstack digest v1.91.280.0 — regenerate/re-copy after upgrading gstack
+# gstack digest v1.91.281.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/node_modules b/node_modules
new file mode 120000
index 000000000..858ae29
--- /dev/null
+++ b/node_modules
@@ -0,0 +1 @@
+/workspace/gstack/node_modules
\ No newline at end of file
diff --git a/package.json b/package.json
index d0c1012..4a7a5d6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "gstack",
-  "version": "1.91.280",
+  "version": "1.91.281",
   "description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.",
   "license": "MIT",
   "type": "module",
FILES: CHANGELOG.md VERSION agents-digest/gstack-AGENTS.md package.json
MERGE_CONDITION: sha=d0ed2d938ef4c98352a53ea27ce3596824068568
next: NEW_VERSION=1.91.281.0; commit and push only the stamp diff above (FILES), with no edit of your own: the train's verify accepts the CHANGELOG only as the base's plus this PR's entry re-headed; merge with the expected head d0ed2d9 and recompute on a stale queue.
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 fix(flaky): repair four paid gate detectors, the design-floor focus picker and the judged review/plan-review prose (GSTA-128) v1.91.281.0 fix(flaky): repair four paid gate detectors, the design-floor focus picker and the judged review/plan-review prose (GSTA-128) Oct 27, 2026
@capy-ai
capy-ai Bot merged commit 392f50d into main Oct 27, 2026
62 checks passed
capy-ai Bot added a commit that referenced this pull request Oct 28, 2026
…-help and git tag listings in a line of reads (GSTA-139 S1) (#3542)

* fix(flaky): docsync detectors admit the candidate's --help and git tag listings in a line of reads (GSTA-139 S1)

Gate edit. Five red ship-docsync-current/store parents (screen 40558235014,
gates 40600731931 and 40643690306, screen 40627127462 and its rerun) each had
exactly one refused Bash line: four joined gstack-docs-candidate --help onto a
line of reads, one put git tag in one. v1.91.185.0 tried prompt clarity for the
--help join and the slip recurred four times. The --help path prints usage and
returns before touching Git or a file, so it now stands in a line of reads like
a Git read (never pipe-fed, never after cd); operand-free git tag listings join
the branch listings #3516 admitted. The fixture interface states both.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* docs(changelog): docsync gate accepts the candidate's --help and git tag listings in a line of reads

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