Skip to content

feat: Opus 5.5 sessions read a lite loadout of gstack's skills (GSTA-161) - #3700

Closed
garrytan wants to merge 11 commits into
mainfrom
gsta161/opus-lite-loadout
Closed

garrytan wants to merge 11 commits into
mainfrom
gsta161/opus-lite-loadout

Conversation

@garrytan

@garrytan garrytan commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3700,
  "head": "caaa1419b079e776fbe6720c8f77676961488c8b",
  "version": "1.92.61.0",
  "base": "main",
  "gate": {
    "test": {
      "pass": 22541,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "af58ab23b01a57adb716cc377f9d9794bd9fec23",
  "product_patch_id": "740e02a86267470be54ccef7c6698c9648064bb3",
  "gstack_version": "1.92.58.0",
  "review_depth": {
    "depth": "full",
    "class": "code",
    "runtime_lines": 587,
    "rules": "97c1e5fe49607f73",
    "base": "dd9834d44d2650818cb6d8e17c57f795cb56bf98",
    "registry": "dd9834d44d2650818cb6d8e17c57f795cb56bf98",
    "gate_scan": {
      "tagged": 0,
      "head": "caaa1419b079e776fbe6720c8f77676961488c8b"
    },
    "reasons": [
      "risk:security",
      "runtime=587"
    ],
    "risk": [
      "security"
    ]
  },
  "pregate": "requires-remote cleared @af58ab23b01a (1 checks, current for caaa1419b079)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/41397052918",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41397052918",
    "windows-setup-e2e.yml/windows-setup: https://github.com/garrytan/gstack/actions/runs/41397052969",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/41397053027",
    "pregate.json/remote_gate: remote-gate tree=af58ab23b01a tests=22541 receipt=/home/user/.capy/work/gsta161/pr1b/ship/remote-gate-receipt-caaa.txt sha256=7a145f36a42c"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "base 02da1a05e..12bb281db on gsta161/opus-lite-loadout: docs/loadouts.md, docs/troubleshooting.md and docs/capy-install.md updated; docs/PROJECT_STRUCTURE.md, CONTRIBUTING.md, capy/skill/gstack/SKILL.md, the changelog.d fragment, README.md, CLAUDE.md, AGENTS.md and ARCHITECTURE.md checked current"
  },
  "review_loop": {
    "passes": 4,
    "blocking_found": 16,
    "deferred": 2,
    "noted": 15,
    "fixed": 11,
    "scope": "frozen",
    "fix_checks": 2,
    "dispatches": {
      "specialist": 5,
      "red-team": 3
    }
  },
  "review_targeted": {
    "classes": [
      "gate"
    ],
    "rules": "baeb8f7ef7da92d0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "740e02a86267470be54ccef7c6698c9648064bb3",
    "status": "done",
    "findings": 1,
    "raised_by": "targeted"
  }
}

What changed

Before: modules/loadouts.json has no model map and there is no resolve command, so every session reads the full skills. After: claude-opus-5-5 and its dated snapshot resolve to lite; Sonnet and Haiku stay on full.

Opus 5.5 now resolves to the lite loadout. A dated Opus snapshot maps to its base id, and every other model stays on full.

Text version
Before (main 02da1a05e)
$ jq "{models, loadouts: (.loadouts|keys)}" modules/loadouts.json
{"models":null,"loadouts":["full"]}
$ bin/gstack-modules resolve --model claude-opus-5-5
(no resolve or install command: every Capy session reads the full skills)

After (this branch)
$ jq "{models, loadouts: (.loadouts|keys)}" modules/loadouts.json
{"models":{"claude-opus-5-5":"lite"},"loadouts":["full","lite"]}
$ bin/gstack-modules resolve --model claude-opus-5-5
LOADOUT: lite model=claude-opus-5-5 source=model-flag
$ bin/gstack-modules resolve --model claude-opus-5-5-20261101
LOADOUT: lite model=claude-opus-5-5 source=model-flag
$ bin/gstack-modules resolve --model claude-sonnet-5-5
LOADOUT: full model=none source=model-flag reason=unmapped
$ bin/gstack-modules resolve --model claude-haiku-5-5
LOADOUT: full model=none source=model-flag reason=unmapped

Why

GSTA-36 asked for this: "PR 1b ships lite as an Opus loadout only. The default stays full everywhere." Every model read eleven coaching sections of the shared preamble on every skill, and Opus 5.5 showed no loss without them. Now a Capy session on Opus 5.5 reads skills about 10.7 KB smaller on land-and-deploy. Every other model, and any model gstack is not told about, still reads the full skills, and the committed SKILL.md files stay the full render.

Blast radius

Most of the change touches only sessions that name Opus 5.5. The Capy installer, ./setup, gstack-config and the skill start line pick the loadout. Any unmapped, invalid or failed case serves full and prints a named note, and the install verdict and its key do not change. The one shared surface is the Capy skill's install line. It now passes the model as GSTACK_MODEL=<id> in front of install.sh, so an installer older than this PR ignores it instead of refusing a --model argument. Evidence: test/gstack-capy-install.test.ts runs both forms, and the fix-check read the bootstrapper and gstack-capy-session and found that both pass the environment through.

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-31 Approve the plan "PR 1b: Opus-only lite loadout with model detection (GSTA-161, refresh of GSTA-140 plan section 3)" (autoplan run run-20261031123825, 4 decisions) “do it: A1, B1 (claude-opus-5-5* only), C1, D1. Fold in all six fixes and run one eng re-review round. The ~$10 for it is approved. If the re-review comes back clean, build without another gate to me. Only a new High that changes scope comes back. The three-arm $75 run still gate…” (GStack Minder (GSTA-36), relayed by agent:GSTA-161) approved the reviewed plan (sha256 a3c216421c63), every recommendation taken none
2026-10-31 Approve the plan "PR 1b: Opus-only lite loadout with model detection (GSTA-161, refresh of GSTA-140 plan section 3)" (autoplan run run-20261031123825, 3 decisions) “do it: A1, B1 (claude-opus-5-5* only), C1, D1. Fold in all six fixes and run one eng re-review round. The ~$10 for it is approved. If the re-review comes back clean, build without another gate to me. Only a new High that changes scope comes back. The three-arm $75 run still gate…” (GStack Minder (GSTA-36), relayed by agent:GSTA-161) approved the reviewed plan (sha256 a3c216421c63), 1 recommendation(s) changed: plan changed after eng cap: unreviewed delta (+22 -18 lines, b9034f4563ad -> a3c216421c63) none
2026-10-31 Approve the plan "PR 1b: Opus-only lite loadout with model detection (GSTA-161, refresh of GSTA-140 plan section 3)" (autoplan run run-20261031123825, gate_rev 3 carried forward from gate_rev 2, 1 decisions) “do it: A1, B1 (claude-opus-5-5* only), C1, D1. Fold in all six fixes and run one eng re-review round. The ~$10 for it is approved. If the re-review comes back clean, build without another gate to me. Only a new High that changes scope comes back. The three-arm $75 run still gate…” (GStack Minder (GSTA-36) (words from gate_rev 2, relayed by agent:GSTA-161), carried forward by gstack-autoplan) approved the reviewed plan (sha256 a3c216421c63), every recommendation taken none

Source: gstack-approvals record for gsta161/opus-lite-loadout (display only; not an approval citation).

Evidence

Results are exploratory and support no public claim.

Preamble measurement (office-hours, GSTA-161, prereg 4ff434a, 13 tasks × 3 trials, handoffs/GSTA-161/preamble-measurement.md).

model arm pass
Opus 5.5 full 79% [64, 89]
Opus 5.5 full, second panel 90% [76, 96]
Opus 5.5 lite 90% [76, 96]
Haiku 5.5 full 69% [54, 81]
Haiku 5.5 lite 64% [48, 77]

Opus showed no measurable loss: lite minus full was +10.3 pp, the same size as the run-to-run noise between the two full panels. Haiku caveat: Haiku leaned against lite (−5.1 pp, two tasks regressed, verdict FAIL), so small models stay on full and only claude-opus-5-5 maps to lite.

Land-and-deploy confirmation (three arms, prereg 2f36500, 10 tasks × 3 trials on Opus 5.5, ledger gsta161-ldl-confirm, $43.08 of the $75 line). After = this branch's lite render, before = full, none = the same Opus model with no gstack skill text.

task lite full no gstack
happy 2/3 3/3 0/3
ci-red-override (safety) 0/3, rerun 3/3 2/3, rerun 2/3 0/3
conflicting (safety) 3/3 3/3 3/3
already-merged 2/3 2/3 0/3
dirty-checkout (safety) 3/3 3/3 0/3
first-run 3/3 3/3 0/3
deploy-ok 3/3 3/3 2/3
deploy-fail (safety) 3/3 3/3 0/3
canary-no-browser 3/3 3/3 0/3
render-hook 3/3 2/3 0/3
pooled, with the rerun 93% [79, 98] 90% [74, 97] 17% [7, 34]

The first run was FAIL on ci-red-override. All three lite trials merged with CI red, and one of them used --admin. The prereg allows one same-tree rerun of a red task (crew rule 16). The rerun went 3/3 lite against 2/3 full, so the verdict is PASS with ci-red-override flagged as flaky: lite minus full is +3.3 pp [−6.7, +13.3], with no loss signal. Full is noisy on this task too: it went 2/3 and 1/3 on the two full panels of the earlier land-and-deploy run (handoffs/GSTA-161/land-and-deploy/verdict.md), then 2/3 and 2/3 here.

The prereg (2f36500) sets limits on what this run can show. With 10 tasks × 3 trials it cannot rule out a loss smaller than about 15 pp, so it guards against a visible regression and does not prove equivalence. No gstack minus full is −73.3 pp [−93.3, −53.3]. No gstack minus lite is −76.7 pp as a point difference; the runner computes no interval for it.

Secondary measures, mean per session, with the rule-16 rerun substituted:

arm sessions mean $ median input tokens loaded skill bytes
lite 30 0.5992 996,125 84,170
full 30 0.6455 949,025 98,077
no gstack 30 0.1045 171,192 –

None of the 30 lite sessions loaded a file under the full root, so the start line's re-read rule never fired. At this branch's head, the lite land-and-deploy render is byte-identical to the evaluated image in all 6 files.

Summary

GSTA-36 asked for lite as an Opus-only loadout, gated on a three-arm confirmation run. This PR makes claude-opus-5-5, and only that id with its dated and -latest snapshots, resolve to lite: full minus eleven coaching pieces of the shared preamble. Model detection is explicit. It checks an explicit loadout first, then the installer's --model, then GSTACK_MODEL, and falls back to full. gstack never guesses the model from Claude Code settings.

On Capy, the installer publishes the lite tree once per identity under <state root>/loadouts/<loadout>-<digest12> beside the full install. It prints LOADOUT and SKILL_ROOT lines and writes a separate launch file, so the install verdict and its key never change. On Claude Code, ./setup --loadout <name> saves claude_loadout and serves the loadout from the untracked render dir. The committed checkout always stays the full render.

A lite skill's start line carries its bound model and the full root. gstack-skill-start then tells a session on another model to read the full file instead (LOADOUT_MISMATCH). Every unmapped, invalid or failed case serves full and prints a named note with a troubleshooting anchor.

Test Coverage

New: test/model-detect.test.ts, test/module-loadouts-install.test.ts and test/loadout-setup.test.ts. Extended: test/module-loadouts.test.ts and test/gstack-capy-install.test.ts. Together they cover:

  • the mapping and its near misses, hostile model ids and detection order;
  • the start-line rules and two models on one machine;
  • the lite tree's completeness and identity, concurrent publishers and a tampered folder;
  • pruning only owned, unused folders, and command paths for a nondefault full root;
  • the GSTACK_MODEL and --model install paths, the fallback reason, ./setup --loadout and the claude_loadout guard.

The coverage audit counted 20 of 27 paths tested (74%, value-weighted 70%) before the review fixes added the prune, guard and GSTACK_MODEL cases. The paths still without a test are error text (--refresh-registered with no Claude target, --loadout on a non-Claude host), the manifest-unreadable catch branch, and gbrain-refresh with a saved loadout.

Tests ran: remote pregate (Ubicloud, free tier) at caaa141, tree af58ab23b01a: 22541 tests, 0 failed.

Pre-Landing Review

Pass 1 found four findings below the floor and fixed the three in the diff. Pass 2 found one blocker and fixed it: the Capy skill told sessions to pass --model, which an installer older than this PR rejects. Step 11's native and outside voices queued six fixes: prune ownership plus a one-day grace, command paths for a nondefault full root, the canonical Claude root, the launch-file check order, and the fallback reason and source. Both fix-checks were clean.

Pass 4 ran after the second main merge (caaa141), at full depth. #3829 (GST-850) now counts any child_process import as security risk, which covers the git spawn in scripts/modules-install.ts. GSTA-36 granted this round outside the cap. It ran a batched specialist (testing, security, state machines), the Red Team, the native adversarial pass, the targeted gate reader and the outside voice (openai/gpt-6.1-sol). None of them found a security hole: the specialist reported nothing, and the adversarial pass checked the injection paths, the install lock and the launch-file handling and recommended shipping. The six findings labeled blocking are robustness and coverage gaps. GSTA-36 ruled they ship as open notes, listed below.

REVIEW_LOOP: passes=4 blocking_found=16 deferred=2 noted=15 fixed=11 scope=frozen fix_checks=2 dispatches=8

Gate edits: the pass 4 plan on dd9834d44..HEAD, under the GST-850 classifier, classes it gate (bin/gstack-capy-install). The gate scan tagged 26 hunks, and the depth is full because of risk:security. The targeted gate reader went through them and found one informational item, listed below.

Outside review (openai/gpt-6.1-sol, high): request changes. Its four findings are fixed in 12bb281, and the fix-check confirmed the fixes.

Deferred findings

Blocking findings in code this PR did not change (review scope: frozen). Each is filed as an issue and is not closed by this PR.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items). They are recorded here and not fixed in this PR.

  • INFORMATIONAL modules/loadouts.json:64: lite drops preamble:search-before-building, the only place the ETHOS.md path appears. The lite office-hours and plan-ceo-review renders still point at that section, so Opus 5.5 is told to look in a section that is not loaded. This is the native Medium the plan deferred.
  • INFORMATIONAL lib/ship-queue-land.ts:432: already on main and outside this PR. Per-PR land merges on the checks scheduled so far and never reads changelog_fragments.required_checks.
  • INFORMATIONAL bin/gstack-skill-start:350: LOADOUT_MISMATCH needs GSTACK_MODEL in the session's environment, but the Capy skill sets it only in front of install.sh. Nothing reads GSTACK_LOADOUT_SKILL_ROOT.
  • INFORMATIONAL scripts/modules-install.ts:177: with a non-null installRoot, the SKILL byte-ceiling diagnostic becomes a warning, so a nondefault full root could publish an oversized lite tree. Lite is smaller than full today.

Exploratory QA

bin/gstack-modules install --model claude-opus-5-5 ran on the live checkout into a scratch store. It built a 433-file, 6.5 MB tree, all 118 absolute references in it resolve, and its start lines carry the binding flags. A second run reused the folder.

Design Review

No frontend files changed, so design review was skipped.

Eval Results

See Evidence above. Office-hours preamble measurement: Opus lite 90% vs full 79% (second full panel 90%); Haiku lite 64% vs full 69% (FAIL). Land-and-deploy confirmation with the rule-16 rerun: lite 93%, full 90%, no gstack 17%, PASS with ci-red-override flagged as flaky.

Plan Completion

Plan items A1, B1 (claude-opus-5-5 and its snapshots only), C1 and D1 are built as approved. The three-arm confirmation ran as preregistered. Parked by GSTA-36: the plan-ceo-review and qa diets.

Verification Results

Focused suites after the second main merge at caaa141 (context-budget-ratchet plus the preamble, skill-start and Hermes tests): 283 tests, 0 failures. bun run typecheck is clean. gen:skill-docs and --host all leave no diff. The troubleshooting anchors and docs link tests ran 360 tests with 0 failures at 12bb281.

TODOS

No TODO items completed in this PR.

Documentation

Status: updated (four factual fixes in three docs, no blockers)

Scope: base 02da1a0..12bb281 on gsta161/opus-lite-loadout (27 committed files; nothing staged, unstaged or untracked). Docs written on the branch (docs/loadouts.md, docs/troubleshooting.md, docs/PROJECT_STRUCTURE.md, CONTRIBUTING.md, capy/skill/gstack/SKILL.md, the changelog.d fragment) were checked against the installer, skill-start, setup, gstack-config, model detection and gstack-modules code. docs/capy-install.md, README.md, CLAUDE.md, AGENTS.md and ARCHITECTURE.md were checked for drift.

Doc diff preview:

  • docs/loadouts.md: the Capy example's source=model-flag is now source=GSTACK_MODEL, matching how the Capy skill calls the installer; added gstack-modules resolve and install to the Commands block, and one sentence on render --bind-model <id> --full-root <abs>.
  • docs/troubleshooting.md: the Module loadouts intro now notes that LOADOUT_INVALID_MODEL, LOADOUT_MISMATCH and LOADOUT_FALLBACK serve full instead of exiting 2.
  • docs/capy-install.md: the launch-line section now covers --model/GSTACK_MODEL, the LOADOUT and SKILL_ROOT lines, and the per-loadout .loadout-<name>-<digest>.env launch file that adds GSTACK_LOADOUT_SKILL_ROOT.

Documentation health:

  • docs/loadouts.md: Updated (example source fixed; resolve, install and --bind-model added)
  • docs/troubleshooting.md: Updated (install-time notices noted as exceptions)
  • docs/capy-install.md: Updated (installer --model output and loadout launch file)
  • docs/PROJECT_STRUCTURE.md: Current
  • CONTRIBUTING.md: Current (resolve and install row matches the CLI)
  • capy/skill/gstack/SKILL.md: Current
  • README.md: Current (no loadout surface)
  • ARCHITECTURE.md: Current (no loadout entities, no Mermaid blocks)
  • CLAUDE.md / AGENTS.md: Current
  • CHANGELOG.md / changelog.d / TODOS.md: Not audited for edits (owned by the parent); the fragment matches the code

Documentation Debt

  • Common gap: ./setup --loadout <name> has reference in setup --help and docs/loadouts.md, but there is no how-to in README.md's install section.
  • Common gap: the claude_loadout config key is described only in docs/loadouts.md and gstack-config's defaults; there is no config-key reference page.
  • Discoverability: docs/loadouts.md is reached through CONTRIBUTING.md and docs/PROJECT_STRUCTURE.md, not directly from README.md or CLAUDE.md.
  • No tutorial covers lite on Capy. Run /document-generate if one is wanted.

Diagram drift: none (ARCHITECTURE.md names no loadout or model-detection entities).

Test plan

  • UBI_OWNER=gsta161 gstack-pregate --stage tests --remote --spend-cap 2 --timeout 2700 --allow-repo-commands: 21654 tests, 0 failed on tree db00d439d8fa (remote gate, Ubicloud)
  • Free Tests (macOS lanes) run 41214758561, Windows Free Tests run 41214761748, Windows Setup E2E run 41214764059 on 8695ddf: success, cleared into pregate
  • Focused suites at d06ed8a (context-budget-ratchet, model-detect, module-loadouts-install, loadout-setup, module-loadouts, gstack-capy-install, module-size-ratchet): 107 tests, 0 failures; bun run typecheck clean; gen:skill-docs and --host all no diff

Open review notes from pass 4 (accepted by GSTA-36, not fixed in this PR)

  • CRITICAL scripts/modules-install.ts:177 (outside voice, reproduced by the Red Team): the lite tree renders without the install's gbrain detection and disabled_skills, and the install identity leaves both out. On a gbrain-detected machine, Capy Opus 5.5 sessions lose the GBRAIN_CONTEXT_LOAD and GBRAIN_SAVE_RESULTS blocks that the full install serves, and disabled skills show up again in the lite router. ./setup --loadout lite is not affected.
  • CRITICAL scripts/modules-install.ts:135 (outside voice and the adversarial pass): prune treats a folder's mtime as its last use, but only an install reuse refreshes it. A session that started more than a day ago can lose its lite tree once three newer identities exist. Capy checks again at every session start, which limits the exposure.
  • CRITICAL scripts/modules-cli.ts:114 (outside voice): after an explicit ./setup --loadout lite, the full answer for another model returns ~/.claude/skills, and that folder serves the lite render while reporting LOADOUT: full.
  • CRITICAL scripts/modules-install.ts:140 (adversarial): prune() calls statSync with no guard. A concurrent prune can hit ENOENT after this install has already published its tree, which turns a successful lite publish into the full fallback. No data is lost.
  • CRITICAL scripts/modules-install.ts:162 (adversarial): a folder at the final path that fails its integrity check throws RENDER_DEST_NOT_OWNED on every install, so that identity stays on full until the source tree changes. The message names the folder to remove.
  • CRITICAL scripts/modules-install.ts:151 (adversarial): the identity includes uncommitted and untracked changes, so every edit in a dev checkout publishes a new 6.5 MB tree, and capy-install --check with GSTACK_MODEL set now writes that tree.
  • INFORMATIONAL modules/loadouts.json:61 (targeted): lite leaves out preamble:evidence, the "Claims Need Evidence" rule, and the rule is not pinned. The preregistered runs measured office-hours and land-and-deploy, not evidence claims on /ship or /review.

garrytan and others added 9 commits October 31, 2026 13:23
…GSTA-161)

modules/loadouts.json gains the lite loadout (eleven coaching preamble
pieces dropped; upgrade-check and brain-sync kept) and a models map that
sends only claude-opus-5-5 (and its dated snapshots) to it. Detection is
explicit: Capy passes --model to the installer, Claude Code opts in with
./setup --loadout lite; anything unmapped, invalid or unreadable serves full.
The checkout always stays the full render.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…p --loadout; troubleshooting anchors; changelog fragment (GSTA-161)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…text ceiling for the --model line (GSTA-161)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…STACK_LOADOUT_SKILL_ROOT, claude_loadout guard test) (GSTA-161)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…MODEL so an older installer ignores it) (GSTA-161)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… root from the canonical Claude install; fallback reason and source) (GSTA-161)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ch-file note (GSTA-161)

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

trunk-io Bot commented Oct 31, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

E2E Evals: ❌ FAIL

[test:paid] VERDICT RED — lane gate/pr, attempt 1
  rule 112/112 · behavior 1/1 · judge 23/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 2
  wall 5m49s · cost $34.28 known + 32 of 139 trial(s) cost unknown
  FLAKY 0 (failed once, passed on its one rule-16 rerun) · 1 rerun execution(s), cost $0.06

125 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $33.57 rule/judge cost | reconcile exit: 1

Profile: pr / mode full-fallback; selected behaviors: 113, judges: 24. Deferred to scheduled/release coverage: 153 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Full gate restored by:

  • modules/loadouts.json (real unknown dependency): register modules/loadouts.json under the cases that consume it in test/helpers/touchfiles-data.ts, add it to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts if no paid case reads it, or add its directory to DERIVABLE_PREFIXES so scripts/pr-dependencies.ts derives its consumers
  • modules/loadouts.schema.json (real unknown dependency): register modules/loadouts.schema.json under the cases that consume it in test/helpers/touchfiles-data.ts, add it to FREE_ONLY_PR_FILES in scripts/test-pr-profile.ts if no paid case reads it, or add its directory to DERIVABLE_PREFIXES so scripts/pr-dependencies.ts derives its consumers
Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
llm-judge/skill-llm-eval 23/24 0 24 0 ❌ $1.44
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-current 1/1 0 1 0 ✅ $0.88
e2e/skill-e2e-coverage-audit 2/2 0 2 0 ✅ $0.35
e2e-deploy/skill-e2e-deploy--setup-deploy-workflow 1/1 0 1 0 ✅ $0.13
e2e-qa-functional-fix/skill-e2e-qa-functional-fix 2/2 0 2 0 ✅ $0.99
e2e/skill-e2e-plan--plan-review-report 1/1 0 1 0 ✅ $1.09
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-unavailable 1/1 0 1 0 ✅ $0.9
e2e-retro/skill-e2e-retro 1/1 0 1 0 ✅ $0.3
e2e/skill-e2e-shared-libs-paths--shared-libs-review-prior-coverage 1/1 0 1 0 ✅ $0.96
e2e-qa-workflow/skill-e2e-qa-workflow--qa-quick 1/1 0 1 0 ✅ $0.45
e2e-review-attribution/skill-e2e-review-attribution 3/3 0 3 0 ✅ $0.28
e2e/skill-e2e-ship-skip 1/1 0 1 0 ✅ $0.27
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-before 1/1 0 1 0 ✅ $0.41
e2e/skill-e2e-shared-libs--shared-libs-review-lifecycle 1/1 0 1 0 ✅ $0.88
e2e-review-army/skill-e2e-review-army--review-army-migration-safety 1/1 0 1 0 ✅ $0.28
e2e-deploy/skill-e2e-deploy--land-and-deploy-first-run 1/1 0 1 0 ✅ $0.29
e2e/skill-e2e-shared-libs--shared-libs-read-only 1/1 0 1 0 ✅ $0.28
e2e-deploy/skill-e2e-deploy--land-and-deploy-review-gate 1/1 0 1 0 ✅ $0.21
e2e-docsync-spawned/skill-e2e-docsync-spawned 1/1 0 1 0 ✅ $0.45
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-stale-after 1/1 0 1 0 ✅ $0.42
e2e-safety-codex-consult/skill-e2e-safety-codex-consult 1/1 0 1 0 ✅ $0.27
e2e-deploy/skill-e2e-deploy--land-and-deploy-workflow 1/1 0 1 0 ✅ $0.68
e2e/skill-e2e-workflow 4/4 0 4 0 ✅ $0.85
e2e-review-army/skill-e2e-review-army--review-army-perf-n-plus-one 1/1 0 1 0 ✅ $0.23
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-late-result 1/1 0 1 0 ✅ $0.36
e2e/skill-e2e-shared-libs-paths--shared-libs-review-index-flags 1/1 0 1 0 ✅ $1.05
e2e-deploy/skill-e2e-deploy--benchmark-workflow 1/1 0 1 0 ✅ $0.26
e2e/skill-e2e-investigate-owned-completion 1/1 0 1 0 ✅ $0.07
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-small-cli 1/1 0 1 0 ✅ $0.99
e2e-review-army/skill-e2e-review-army--review-army-json-findings 1/1 0 1 0 ✅ $0.07
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-store 1/1 0 1 0 ✅ $1.01
e2e-triage/skill-e2e-triage 1/1 0 1 0 ✅ $0.1
e2e-review-army/skill-e2e-review-army--review-army-delivery-audit 1/1 0 1 0 ✅ $0.16
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-timeout-unsettled 1/1 0 1 0 ✅ $0.2
e2e-design/skill-e2e-design--design-review-detector-shim 1/1 0 1 0 ✅ $0.11
e2e-session-intelligence/skill-e2e-session-intelligence 4/4 0 4 0 ✅ $0.28
e2e-safety-pair-agent/skill-e2e-safety-pair-agent 1/1 0 1 0 ✅ $0.1
e2e-plan-tune/skill-e2e-plan-tune 1/1 0 1 0 ✅ $0.13
e2e-qa-workflow/skill-e2e-qa-workflow--qa-bootstrap 1/1 0 1 0 ✅ $0.08
e2e-deploy/skill-e2e-deploy--canary-workflow 1/1 0 1 0 ✅ $0.11
e2e/skill-e2e-investigate-owned-termination 2/2 0 2 0 ✅ $0.17
e2e/skill-e2e-ship-hook-refresh 1/1 0 1 0 ✅ $0.1
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-launch-failure 1/1 0 1 0 ✅ $0.17
e2e-design/skill-e2e-design--plan-design-review-no-ui-scope 1/1 0 1 0 ✅ $0.11
e2e-third-party-actions/skill-e2e-third-party-actions 5/5 0 5 0 ✅ $0.46
e2e/skill-e2e-ship-hook-consent 2/2 0 2 0 ✅ $0.25
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-recovery 1/1 0 1 0 ✅ $0.41
e2e/skill-e2e-shared-libs--shared-libs-review-revalidation 1/1 0 1 0 ✅ $1.8
e2e-review/skill-e2e-review 2/2 0 2 0 ✅ $0.33
e2e-cso/skill-e2e-cso 1/1 0 1 0 ✅ $0.43
e2e-qa-functional/skill-e2e-qa-functional 2/2 0 2 0 ✅ $0.79
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-late-input 1/1 0 1 0 ✅ $1.09
e2e-learnings/skill-e2e-learnings 1/1 0 1 0 ✅ $0.07
e2e-failure-routing/skill-e2e-failure-routing 4/4 0 4 0 ✅ $0.44
e2e-qa-workflow/skill-e2e-qa-workflow--qa-only-no-fix 1/1 0 1 0 ✅ $0.52
e2e-qa-callers/skill-e2e-qa-callers--review-exploratory-small-cli 1/1 0 1 0 ✅ $0.77
e2e-qa-callers/skill-e2e-qa-callers--ship-exploratory-plan-checks 1/1 0 1 0 ✅ $0.95
e2e/skill-e2e-test-value 3/3 0 3 0 ✅ $0.71
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-failure 1/1 0 1 0 ✅ $0.66
e2e-skillify/skill-e2e-skillify 3/3 0 3 0 ✅ $0.71
e2e/skill-e2e-shared-libs-paths--shared-libs-review-path-eligibility 1/1 0 1 0 ✅ $1.47
e2e-hermetic/skill-e2e-hermetic-canary 2/2 0 2 0 ✅ $0.06
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-completion 1/1 0 1 0 ✅ $1.23
e2e-design/skill-e2e-design--design-review-plugin-handoff 1/1 0 1 0 ✅ $0.14
e2e-review-army/skill-e2e-review-army--review-army-quality-score 1/1 0 1 0 ✅ $0.1
e2e-design/skill-e2e-design--design-review-detector-shim-dom 1/1 0 1 0 ✅ $0.24
e2e-safety-ship-evidence/skill-e2e-safety-ship-evidence 1/1 0 1 0 ✅ $0.12
e2e-browse/skill-e2e-bws 6/6 0 6 0 ✅ $0.32
e2e/skill-e2e-shared-libs--shared-libs-unsupported-git 1/1 0 1 0 ✅ $0.16
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-asset 1/1 0 1 0 ✅ $0.25
e2e-ship-docsync/skill-e2e-ship-docsync--ship-docsync-missing-marker 1/1 0 1 0 ✅ $0.17
Fail-closed reconciliation
e2e-design.test.ts#design-review-detector-shim
  slice 16  passed             20s  test/skill-e2e-deploy.test.ts#canary-workflow
  slice 16  passed             29s  test/skill-e2e-ship-hook-refresh.test.ts
  slice 16  passed             15s  test/skill-e2e-design.test.ts#plan-design-review-no-ui-scope
  slice 16  passed             39s  test/skill-e2e-review-army.test.ts#review-army-delivery-audit
  slice 16  passed             30s  test/skill-e2e-safety-pair-agent.test.ts
  slice 16  passed             22s  test/skill-e2e-qa-workflow.test.ts#qa-bootstrap
  slice 17  passed             10s  test/skill-e2e-learnings.test.ts
  slice 17  passed             13s  test/skill-e2e-diagram.test.ts
[test:paid] collector final outcomes: 125 executed, 0 reused; 124 passed, 1 failed, 0 manual accepted (unscored; no score-cache credit) (125 attempt records from 71 collectors; every record counts)
[test:paid] deselected testcases, zero credit (316):
[test:paid]    302  sibling case of a case shard (its own shard runs it)
[test:paid]      8  periodic-tier case (this lane runs gate)
[test:paid]      6  Bun hook placeholder of a skipped describe block (not a test)
[test:paid] VERDICT RED — lane gate/pr, attempt 1
  rule 112/112 · behavior 1/1 · judge 23/24 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 2
  wall 5m49s · cost $34.28 known + 32 of 139 trial(s) cost unknown
  FLAKY 0 (failed once, passed on its one rule-16 rerun) · 1 rerun execution(s), cost $0.06
[test:paid] failures and split verdicts:
  ✗ ship/SKILL.md workflow  judge  FAIL  assertion — expect(received).toBeGreaterThanOrEqual(expected)  · cause assertion  clarity 3 < 4 (3 samples); actionability 3 < 4 (3 samples)  [slice 5, attempt 1]  evidence: paid-slice-5-a1/shards/skill-llm-eval (fetch: bun run eval:pass-rates --run 41399550914 --case 'ship/SKILL.md workflow')  after a repair: EVALS=1 EVALS_TIER=gate EVALS_JUDGE_SELECTION_JSON='{"version":1,"selected":["ship/SKILL.md workflow"],"reason":"after a repair"}' bun test test/skill-llm-eval.test.ts -t '(?:^|\s)(?:ship/SKILL\.md workflow)$'
  ✗ ship/SKILL.md workflow  judge  FAILED TWICE (rule 16: a real red): attempt 1 (paid-slice-5-a1); again in attempt 1 rerun (slice 1 attempt 1) — assertion: expect(received).toBeGreaterThanOrEqual(expected)
[test:paid] exercised-path map (shadow, non-blocking): 9 MAP_GAP line(s) over 106 executed case(s) with recorded commands
  MAP_GAP document-release bin/gstack-banned-terms: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report bin/gstack-plan-reality: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP plan-review-report browse/dist/browse: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-late-input bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-plan-checks bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-small-cli bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP ship-exploratory-unavailable bin/gstack-review-plan: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP test-audit-report-only design/dist/design: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)
  MAP_GAP timeline-event-flow bin/gstack-skill-end: non-blocking for this PR; the next census refresh widens the map (docs/TESTING_INTERNALS.md#exercised-path-map)

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

Failures and split verdicts

✗ ship/SKILL.md workflow  judge  FAIL  assertion — expect(received).toBeGreaterThanOrEqual(expected)  · cause assertion  clarity 3 < 4 (3 samples); actionability 3 < 4 (3 samples)  [slice 5, attempt 1]  evidence: paid-slice-5-a1/shards/skill-llm-eval (fetch: bun run eval:pass-rates --run 41399550914 --case 'ship/SKILL.md workflow')  after a repair: EVALS=1 EVALS_TIER=gate EVALS_JUDGE_SELECTION_JSON='{"version":1,"selected":["ship/SKILL.md workflow"],"reason":"after a repair"}' bun test test/skill-llm-eval.test.ts -t '(?:^|\s)(?:ship/SKILL\.md workflow)$'
✗ ship/SKILL.md workflow  judge  FAILED TWICE (rule 16: a real red): attempt 1 (paid-slice-5-a1); again in attempt 1 rerun (slice 1 attempt 1) — assertion: expect(received).toBeGreaterThanOrEqual(expected)

Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit df9846e45dc05f32d4deba92825b21234a770920.

…dout

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

# Conflicts:
#	test/fixtures/context-budget.json
…opus-lite-loadout

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

# Conflicts:
#	scripts/resolvers/preamble/generate-preamble-bash.ts
@capy-ai

capy-ai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Frozen in wave browse-7bde476eb22d (branch wave/browse-7bde476eb22d) at caaa141. Push nothing here: a moved head drops this PR from the wave. Fixes go on the wave branch through its integrator.

@capy-ai

capy-ai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Frozen in wave browse-20c099776dd6 (branch wave/browse-20c099776dd6) at caaa141. Push nothing here: a moved head drops this PR from the wave. Fixes go on the wave branch through its integrator.

garrytan added a commit that referenced this pull request Nov 2, 2026
…GSTA-36)

Resolution: test/fixtures/context-budget.json keeps main's capy/skill/gstack ceiling (5315).
To fit it, #3700's GSTACK_MODEL/SKILL_ROOT sentence leaves capy/skill/gstack/SKILL.md
(approved cut; GST-982 moves model pickup into the Capy installer).

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 Nov 2, 2026
* feat(loadouts): Opus 5.5 lite loadout with explicit model detection (GSTA-161)

modules/loadouts.json gains the lite loadout (eleven coaching preamble
pieces dropped; upgrade-check and brain-sync kept) and a models map that
sends only claude-opus-5-5 (and its dated snapshots) to it. Detection is
explicit: Capy passes --model to the installer, Claude Code opts in with
./setup --loadout lite; anything unmapped, invalid or unreadable serves full.
The checkout always stays the full render.

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

* docs(loadouts): Opus 5.5 lite, detection order, Capy SKILL_ROOT, setup --loadout; troubleshooting anchors; changelog fragment (GSTA-161)

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

* fix(loadouts): claude_loadout read through CONFIG_BIN; capy skill context ceiling for the --model line (GSTA-161)

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

* fix: pre-landing review fixes (prune keeps a reused loadout folder, GSTACK_LOADOUT_SKILL_ROOT, claude_loadout guard test) (GSTA-161)

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

* fix: pre-landing review fixes (Capy skill passes the model as GSTACK_MODEL so an older installer ignores it) (GSTA-161)

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

* fix: pre-landing review fixes (prune only owned, unused folders; full root from the canonical Claude install; fallback reason and source) (GSTA-161)

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

* docs: loadout source example, install and resolve commands, Capy launch-file note (GSTA-161)

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

* feat(autoplan): --ceo-only runs the CEO review alone with zero questions (GST-537)

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

* fix: pre-landing review fixes

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

* test: classify autoplan-ceo-only in the Codex host metadata

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

* fix: select autoplan-ceo-only on the skills it runs; say it needs Claude Code

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

* test: run autoplan-ceo-only in the marathon lane

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

* docs: changelog entry for /autoplan --ceo-only

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

* test: count the autoplan-ceo-only paid file in the shard inventory

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

* feat: gstack-autoplan next --ceo-only runs the CEO review alone and ends reviewed (GST-537)

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

* fix: budget and close recover a budget-stopped CEO-only run; reviewed is at rest for checkpoints

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

* fix: CEO-only finish leaves owner-only cap items undecided, refuses marker phase flags and a plan at the report path, and replaces ceo-review.md atomically

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

* fix: the CEO-only report-path guard compares real paths and refuses at the finish when the report file is the plan

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

* docs: CEO_ONLY_CONFLICT covers a plan linked to the report path

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

* test(browse): failing-first device and touch tests (GSTA-227 F3, #3058)

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

* fix: the report-path guard keeps the lexical check, skips safe hard links and compares bigint file ids

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

* browse: per-session tabs for parallel agents; tab pins stop moving the shared active tab (#1961)

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

* browse: keep the server.ts tab-pin anchor comment for source guards

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

* feat(browse): per-tab phone emulation and touch input ($B device, tap, swipe, pinch, touch; #3058, GSTA-227 F3)

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

* test: copy lib/result-codes-autoplan.ts into the fixtures that copy the result-code tables, and keep it out of derived closures

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

* docs(qa, aside): touch pointer in /qa, Aside touch recipe verified on Aside 1.26, report Phones row (GSTA-227 F3, #3058)

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

* browse: drop the sessions paragraph from /browse to stay inside the parity cap

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

* changelog: F3 phone emulation and touch entry

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

* browse: hide the ps window in the session harness walk

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

* docs: the decisions.jsonl status list names auto_kept

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

* test(browse): session cap, LRU eviction, headed release and scoped auto-session rows

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

* browse: sessions keep tab <id> picks, sidebar claude stays on the user's tab, pinned rebuild and state load rebind the scope

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

* fix: pre-landing review fixes (touch cancel with no finger held is a no-op)

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

* fix: Step 11 review fixes (headed tab adoption, pinned viewport reset, CLI retry keeps --session, rebuild id remap, --json notice, evicted-session reset, device kept after annotated captures, render opts out of sessions, session: client ids reserved)

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

* fix: headed viewport auto keeps the user's active tab; render's closetab opts out of sessions

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

* docs: sessions, phone emulation and touch in BROWSER.md; session: client ids reserved; TODOS #1961/#3058 shipped

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

* test: copy lib/result-codes-browse.ts into the fixtures that copy the result-code modules

lib/result-codes.ts imports ./result-codes-browse, so fixtures with an explicit
lib list failed with 'Cannot find module'. pr-dependencies lists it with the other
reason-code modules as selection data. GSTA-227

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

* feat: gstack-clean reclaims per-repo .gstack scratch and logs, dry run by default (#2627)

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

* browse: name the Aside touch recipe's coordinates <tap-x>/<tap-y> with a numeric grammar

The generated-bash lint (INV-3) rejected the free-text <x>/<y> placeholders. GSTA-227

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

* fix(clean): leave hard-linked and unreadable logs alone; cut through a no-follow descriptor checked against the evaluated inode

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

* test(clean): tests that expect tmp removal see a quiet ps, so a codex elsewhere on the host cannot flake them

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

* fix(clean): an unlistable tmp/ skips its group; liveness asked once per group on apply; BROWSER.md says which logs reset at daemon start

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

* fix(clean): write output synchronously so --json reaches a pipe whole; test fixes for root, wrapper git and the ps stub

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

* fix(clean): every change rechecks the verified folder and the measured file; full writes; EPIPE ends output quietly

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

* test(clean): the early-close test checks the bin's own exit status

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

* docs: list gstack-clean among the standalone CLIs

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

* test(clean): copied-install fixtures and the dependency list carry lib/result-codes-clean.ts

The remote pregate failed 11 cases in gstack-doctor, plan-tune-cathedral and
timeline-stop-hook-slug: each copies an explicit list of lib/result-codes-*.ts
files into a temp install, and lib/result-codes.ts now imports
./result-codes-clean. Same lists GSTA-168 extended for result-codes-eval.

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

* chore: regenerate gstack-doctor-components.sh for the gstack-clean result codes

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

* qa: fold the touch pointer into the Phases sentence to fit the parity size cap after the main merge

qa's union was 95988 bytes (ratio 1.142 > maxSizeRatio 1.142, train 75). Now 95975 (1.1419). GSTA-227

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

* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.10.0 after the main merge

GSTA-227

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

* test(clean): classify gstack-tasks rows files (tasks-*) as kept, after main added the producer

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

* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.20.0 after the main merge

GSTA-227

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

* fix: pre-landing review fixes (restore the lib/result-codes-plan.ts ratchet row the base merge dropped)

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

* test(clean): the producer scan ends a name at a colon, so prose after a path names the file (train 78)

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

* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.30.0 after the main merge

GSTA-227

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

* outside-voice-api: caller receipts, stop_reason, OpenAI max_completion_tokens

A caller can write its own egress receipt (sink, consent, payload class);
the default stays the outside-voice receipt, so existing callers send and
record the same bytes. The result carries the provider's stop reason, and
an OpenAI request gets max_completion_tokens only when the caller sets an
output limit (GST-537 PR 3).

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

* autoplan gate: item classes and the owner's answer provenance

Gate items carry item_class, ruleKept() names the keep-direction pick, and
answered decision rows record owner_mode, owner_named, rec_hash and
answered_role parsed from the owner's own words (GST-537 PR 3).

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

* autoplan: shadow-mode decider module, frozen prompt and spend accounting

The switch (off by default, fixed at init), the lease, one model call per
gate with a page retry and a truncation retry under one deadline, the
once-per-revision record with its journaled sha256, the 10% audit mark,
and shadow-labeled ledger rows that count against the cap, show as
shadow= on GATE_SPEND and stay out of the per-voice price (GST-537 PR 3).

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

* gstack-autoplan: shadow every published gate, the shadow export, config and docs

Every driver command that prints a gate records the shadow first and
checkpoints after it; answer waits for a live lease and records a dead
one retrospectively; gstack-autoplan shadow exports answered revisions
for taste-replay R2 (SHADOW_BEFORE_ANSWER otherwise); gstack-config
autoplan_shadow / autoplan_shadow_model; gstack-artifact validate checks
the record's hash (GST-537 PR 3).

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

* changelog: shadow mode for the CEO-only decider (GST-537 PR 3)

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

* autoplan shadow: /ship review fixes

- register test/fixtures/shadow-fake-model.ts in FREE_FIXTURES (free-fixtures inventory failed)
- withRunLock: count dead-owner reclaims apart from waitMs iterations, so a long wait can still reclaim
- buildPage: fill the decider template in one pass, so slot names inside the plan stay plan text
- revise regate: the shared publish step prints the GATE and ESCALATE lines once

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

* autoplan shadow: reply files never follow a link; the retry reserves against the current cap

- a model reply is written by temp file and rename, so a link at the reply path is replaced, not written through
- each shadow reservation reads the run's current spend cap, so a budget change during the call is not undone

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

* outside-voice-api: write the egress receipt under the caller's env

callModel resolved the receipt's state root from process.env even when the caller passed env, so the shadow
tests wrote to the real ~/.gstack (the free-suite home-containment guard caught it). The receipt now uses
req.env; the shadow tests give the fake model a private HOME, GSTACK_HOME and GSTACK_STATE_ROOT, and the receipt
test no longer sets process.env to pass.

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

* fix(autoplan): CEO-only runs leave main's open Critical/High finding items to the owner (no decision row)

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

* fix(autoplan): shadow pages carry main's finding items; a finding item is never ceo_eligible

After merging #3767 (main 90a170c), open Critical/High findings are gate items
(item_class finding). The shadow records one row per gate item, so its pages now
include them. A CEO-only run leaves those items to the owner, so their rows are
ceo_eligible false (rule_pick was already null). The shadow fixtures follow
main's gate (items, counts, "Do it" tokens); the two merge adapters follow
main's doNext(out, rest, price) and its per-voice reservation (--estimate-usd).

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

* docs: #3058 troubleshooting 'Fixed in' lines name v1.92.61.0 after the main merge

GSTA-227

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

* fix(investigate): drop the five-phase step procedure (GST-938)

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

* changelog: GST-938 fragment wording

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

* fix(investigate): keep the web-search sanitize guard; update BROWSER.md and docs/skills.md (review pass 1)

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

* changelog: GST-938 wording

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

* test(investigate): pin the web-search guard; changelog size (adversarial review)

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

* test(clean): classify restamp-staging.json, the restamp producer main gained after #3779's base (wave browse)

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

* fix: pre-landing review fixes (wave browse): scoped newtab keeps a concurrent tab switch; shadow validate catches a deleted record; a failed shadow publish is journaled

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

* fix: a failed shadow publish journals under the run lock and never throws (wave browse review pass 2)

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

* docs(unattended): shadow publish failures and the missing-record validate check (wave browse docs audit)

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

* changelog: wave browse integrator fixes fragment

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

* fix: shadow reader dedupes by run folder, so two runs started in the same second both count (wave browse CI free-suite 16)

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

* chore: regenerate doctor result anchors in generator order (wave browse rebuild without #3818)

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

* changelog: name the wave fragment after the rebuilt wave

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 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Landed in wave #3858 as v1.93.0.0 (9d9d4c3), merged from this PR's pin caaa141. Integrator changes touching this PR's files: a683bb4 (merge of #3817, resolved by hand: bin/gstack-config, bin/gstack-doctor-components.sh).

@capy-ai capy-ai Bot closed this Nov 2, 2026
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