Skip to content

/plan-ceo-review explains its mode recommendation by what that mode does that the closest other mode wouldn't (GST-3536) - #4730

Merged
capy-ai[bot] merged 3 commits into
mainfrom
plan-ceo-review-recommendation-names-the-tradeoff
Nov 23, 2026
Merged

capy-ai[bot] merged 3 commits into
mainfrom
plan-ceo-review-recommendation-names-the-tradeoff

Conversation

@garrytan

@garrytan garrytan commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

/plan-ceo-review now explains its review-mode recommendation by naming a fact from your plan and what the recommended mode does with it that the closest other mode wouldn't, instead of by the plan's category.
Why: category-only reasons ("the plan fits no clear category") scored 3 of 5 on the recommendation-substance check, so the AskUserQuestion format eval failed about 3 runs in 10 and could block release cuts.
Nothing to do.

What changed and the measurement
  • plan-ceo-review/SKILL.md.tmpl § 0E step 2 (and the generated SKILL.md): the because clause must name a plan fact and what this mode does with it that the nearest other mode would not, and never rests on a count or category alone. The "categories overlap or are unclear" rule no longer says "explain why", which is what produced category-led reasons. The skill ends up 27 bytes smaller than before (61,119 bytes, under the 61,146-byte size cap).
  • Measurement, 10 trials each of the auq-format-gate eval (Claude Code 2.1.292, the repo's default eval model and judge), with the repo's single-case measurement runner:
    • main at ccd80de: 7/10 pass. Substance scores 4,4,4,4,4,4,4 and 3,3,3 (the three 3s are category-led reasons such as "lists no files and isn't clearly a new feature"). Recommended mode: 7 HOLD SCOPE, 3 SELECTIVE EXPANSION.
    • this branch: 10/10 pass, which meets the 9-of-10 bar. Substance scores 5 in 8 trials and 4 in 2. Recommended mode: 5 HOLD SCOPE, 5 SELECTIVE EXPANSION.
  • The mode mix moved from 7/3 to 5/5. With 10 trials per side, that's within chance (Fisher's exact test, two-sided p ≈ 0.65), but it's the one thing to watch: the change is meant to affect how the pick is explained, not which mode gets picked.
Documentation

Status: current. No documentation changes were needed for this release.

Scope: 3 commits since ccd80de changed 4 files: plan-ceo-review/SKILL.md.tmpl, the generated plan-ceo-review/SKILL.md, the changelog fragment and test/skill-ceo-section-ordering.test.ts. The working tree was clean. I searched every tracked Markdown file and template for the mode-recommendation wording and for HOLD SCOPE.

Documentation health:

  • docs/skills.md: Current. The four-modes description doesn't describe how the recommendation is justified.
  • README.md: Current. The skill table row is unaffected.
  • plan-ceo-review/SKILL.md.tmpl: Current. It holds the changed rule, and the generated SKILL.md matches it.

Coverage debt: The rule that the because clause must name a plan fact and what the chosen mode does that the nearest other mode wouldn't is documented only in the skill itself, so it has reference coverage only. That's a minor, internal detail and needs no new page.

Diagram drift: None. No diagrams reference this behavior.

Agent notes

Approvals

No approvals recorded for branch plan-ceo-review-recommendation-names-the-tradeoff.
Plan: exempt: bug fix (R65)
Plan check: exempt bug fix

Review: one full round (code class, light depth): the batched specialist (testing, security, state machines, red team) found nothing; the native adversarial reader raised two notes below the floor. (1) Medium, Blocks: no: the changelog's "7 of 10 before" was credited to the substance check without per-trial proof. Recount from the raw trial records: main's three failing trials (t01, t03, t04) each failed on "Recommendation substance 3 < 4", so the number stands. 10/10 against 7/10 is itself a modest gap (two-sided Fisher p ≈ 0.21). (2) Low: under overlapping categories, "the nearest other mode" may not be one mode. Left as is. Paid PR evals at e6d6fa0: auq-format-gate passed (substance 4) and plan-ceo-review-plan-mode passed.

GStack Minder's ruling B on GST-3447 (2026-11-22): "tighten plan-ceo-review 0E's because-clause rule and measure it at the gate with your 10-trial plan … Cap: $30." Pre-registered decision (GST-3536): ship if the branch MEETS and main does not. The plan named the 3-sample median panel as the judge, but #4705 dropped that panel (more samples showed it doesn't help), so both arms used the eval as it runs on main, one judge sample per trial. Trials are diagnostic (.context/ship-measure/auq-format-gate/baseline in each worktree). Cheap checks: parity suite, context and catalog budgets, gen-skill-docs, skill validation, plan-ceo tests (834 pass, 0 fail), changelog fragments, prose lint.

{
  "schema_version": 1,
  "pr": 4730,
  "head": "e6d6fa0ef12e7c08e01743a9acb0e4a2f9df324f",
  "version": "1.102.2.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 1773,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 45100410843,
      "attempt": 1,
      "tree": "a715246d25039f4c0ac6bfc0198efd7284d7cf5b"
    }
  ],
  "calls": 13,
  "session_kind": "unattended",
  "run": "ship-4730b",
  "head_tree": "a715246d25039f4c0ac6bfc0198efd7284d7cf5b",
  "product_patch_id": "4aa77e90d319bbe96d9cce216b574c93ff7efdc5",
  "gstack_version": "1.102.2.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 6,
    "rules": "33831f8248a814fd",
    "base": "ccd80de8ebdd7ca3384cc54bc138b53cd311a732",
    "registry": "ccd80de8ebdd7ca3384cc54bc138b53cd311a732",
    "gate_scan": {
      "tagged": 0,
      "head": "e6d6fa0ef12e7c08e01743a9acb0e4a2f9df324f"
    },
    "reasons": [
      "runtime=6"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @a715246d2503 (8 checks, current for e6d6fa0ef12e)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45100410843/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/45100410847/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=a715246d2503 tests=39219 skipped=104 runs=45100410843/1 profiles=ci-reuse/free-tests heads=e6d6fa0ef12e verified=2026-11-23T02:59:35.514Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "README.md, CONTRIBUTING.md and docs/ (155 files), against the plan-ceo-review wording change"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 2,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "dispatches": {
      "specialist": 3,
      "red-team": 1
    }
  },
  "gate_dispositions": []
}
{
  "schema_version": 1,
  "pr": 4730,
  "head": "e6d6fa0ef12e7c08e01743a9acb0e4a2f9df324f",
  "version": "1.102.2.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 1773,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 45100410843,
      "attempt": 1,
      "tree": "a715246d25039f4c0ac6bfc0198efd7284d7cf5b"
    }
  ],
  "calls": 13,
  "session_kind": "unattended",
  "run": "ship-4730b",
  "head_tree": "a715246d25039f4c0ac6bfc0198efd7284d7cf5b",
  "product_patch_id": "4aa77e90d319bbe96d9cce216b574c93ff7efdc5",
  "gstack_version": "1.102.2.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 6,
    "rules": "33831f8248a814fd",
    "base": "ccd80de8ebdd7ca3384cc54bc138b53cd311a732",
    "registry": "ccd80de8ebdd7ca3384cc54bc138b53cd311a732",
    "gate_scan": {
      "tagged": 0,
      "head": "e6d6fa0ef12e7c08e01743a9acb0e4a2f9df324f"
    },
    "reasons": [
      "runtime=6"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @a715246d2503 (8 checks, current for e6d6fa0ef12e)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45100410843/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/45100410847/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=a715246d2503 tests=39219 skipped=104 runs=45100410843/1 profiles=ci-reuse/free-tests heads=e6d6fa0ef12e verified=2026-11-23T02:59:35.514Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "README.md, CONTRIBUTING.md and docs/ (155 files), against the plan-ceo-review wording change"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 2,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "dispatches": {
      "specialist": 3,
      "red-team": 1
    }
  },
  "gate_dispositions": []
}

Open in Capy

garrytan and others added 2 commits November 23, 2026 02:14
…that the nearest other mode would not (GST-3536)

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>
@trunk-io

trunk-io Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit 0408128 into main Nov 23, 2026
53 checks passed
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