Skip to content

docs(capy): map gstack's review effort tiers onto Capy subagent settings (GST-85) - #3608

Closed
garrytan wants to merge 2 commits into
mainfrom
garrytan/gst85-capy-model-tiers
Closed

garrytan wants to merge 2 commits into
mainfrom
garrytan/gst85-capy-model-tiers

Conversation

@garrytan

@garrytan garrytan commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3608,
  "head": "e6a39a826b37dde4695549b07a89f399562c0d07",
  "version": "1.91.319.0",
  "base": "main",
  "gate": {
    "remote_gate linux (Ubicloud, tree 867793702c64)": {
      "pass": 10213,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "867793702c64432758b0a1120499f9c28f66c5cd",
  "product_patch_id": "bdba66be4a3ec4dcf307ff84a514c4684d20f5b8",
  "gstack_version": "1.91.319.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 10,
    "rules": "9bc0e4d2f74ef6b4",
    "base": "ad8e12dff74286885fd0c56e4b5e45eb7e650083",
    "registry": "ad8e12dff74286885fd0c56e4b5e45eb7e650083",
    "gate_scan": {
      "tagged": 0,
      "head": "e6a39a826b37dde4695549b07a89f399562c0d07"
    },
    "reasons": [
      "runtime=10<=50"
    ]
  },
  "pregate": "requires-remote cleared @867793702c64 (1 checks, current for e6a39a826b37)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/40909059246",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/40909058613",
    "pregate.json/remote_gate: remote-gate tree=867793702c64 tests=10213"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, capy/skill/gstack, README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md (read-only audit gst85-docs-1)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "unknown",
    "fix_checks": 1
  }
}

Draft body; /ship replaces it.

Open in Capy

What changed

gstack's review plan prints an effort on every reviewer it dispatches and on its audits (DISPATCH: … effort=full|host, AUDIT_EFFORT: light|host). The Capy skill now says what each one means on Capy, in one line under "Adapt host-specific instructions to Capy":

  • effort=full (blocking reviewers): a new subagent on the shared machine with model omitted when the lane runs at high reasoning or above, otherwise the lane's own model_id at high. Never reuse a subagent started at a lower setting.
  • AUDIT_EFFORT: light: the lane's own model at low or medium (else its lowest setting above none), never a cheaper model. AUDIT_EFFORT: host (tiers off) leaves model unset.
  • Outside voice (effort=host): another family's strongest model at high, unless codex_effort sets another level.
  • Each subagent's first report names the model and reasoning it ran at.

docs/model-policy.md and docs/review-policy.md point Capy readers at that line. test/capy-skill-wrapper.test.ts pins the mapping and both pointers; the test fails on the skill as it is on main.

No UI change, so this PR has no screenshots.

Why

Capy can set a subagent's reasoning, so the docs' "a host that cannot set effort runs it at its default" doesn't describe it. Until now each Capy lane guessed, and GStack Minder's crew kept the mapping in CREW.md rule 30(c), which puts reviewer subagents at low or medium reasoning. gstack keeps every blocking reviewer at full, because a medium-effort fix-check missed a fail-open in gate code. Garry approved this plan on 2026-10-29 ("Do it. Order priority by what saves money fastest").

Blast radius

Prose for Capy lanes, two doc pointers and one test. No code path changes. Lanes read the Drive copy of the skill, so the change reaches them only after the owner copies capy/skill/gstack/ to Drive; a prose change doesn't trigger the installer's stale-copy warning.

Approvals

  • Plan: autoplan run-20261029052435 (CEO + Eng, one round), approved by Garry Tan 2026-10-29 via GStack Minder: "Do it. Order priority by what saves money fastest".

Review

  • One full pass on the gate class: state-machines, Red Team, native adversarial and an outside voice on openai/gpt-6.1-sol. 0 blocking findings, 9 informational. The informational fixes (a high-reasoning floor, no subagent reuse, an outside-voice reasoning level, the light fallback, and light described as audit-only) went to one full-effort fix-check: 0 critical, 3 informational, all applied.

Test plan

  • bun test test/capy-skill-wrapper.test.ts test/captain-skill.test.ts test/launch-env-echo-ratchet.test.ts test/parity-suite.test.ts: green, no failures.
  • Pregate at tree 867793702c64: local ok; the remote gate ran 10,213 tests with 0 failed ($0.10); macOS and Windows lanes were cleared by Free Tests 40909059246 and Windows Free Tests 40909058613.
  • test/model-policy-cli.test.ts "Anthropic pins preserve the 512-character contract" times out at 5 s on this machine at unmodified main too. This PR doesn't touch it, and it passed in CI.

Documentation

Scope: read-only /document-release audit (Steps 1–4 and 6) of base ad8e12d to e6a39a8. The diff adds one line to capy/skill/gstack/SKILL.md mapping review effort tiers onto Capy subagent settings, pointers in docs/model-policy.md and docs/review-policy.md, a test and a CHANGELOG [Unreleased] entry. I also checked docs/capy-install.md, docs/captain.md, capy/skill/gstack/captain.md, docs/unattended.md, captain/templates, README, AGENTS, CLAUDE and CONTRIBUTING.

Result: current. No repo doc contradicts the mapping or needs another pointer. The two new links point at the skill file, and the changelog entry matches the shipped line.

Debt: CREW.md rule 30(c) in the GStack Minder drive still puts reviewer subagents at low or medium reasoning. Under the new mapping, effort=full reviewers need at least high, so GStack Minder should update or retire that clause. After release, copy the Drive skill folder as the changelog says.

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

trunk-io Bot commented Oct 29, 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

…ide-voice reasoning (review fixes)

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