Skip to content

Make the autoplan docs say what lean and full runs actually load (GST-1985) - #4186

Merged
capy-ai[bot] merged 2 commits into
mainfrom
autoplan-docs-say-what-lean-and-full-runs-load
Nov 9, 2026
Merged

capy-ai[bot] merged 2 commits into
mainfrom
autoplan-docs-say-what-lean-and-full-runs-load

Conversation

@garrytan

@garrytan garrytan commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

The /autoplan docs now say what each kind of run actually gives its reviewers. No runner behavior, prompt, mode or default changed.

What changed

The /autoplan docs now say what each kind of run actually gives its reviewers. Before, README.md, docs/skills.md, docs/unattended.md, autoplan/DRIVER.md, crew/docs/captain.md, the skill description and gstack-autoplan --help described a full-depth, two-voice review for every run. That is true only in an interactive session.

What main (e077053) actually assembles:

  • Interactive session: the session model reads each phase's review skill (SKILL.md plus review sections) and works through it. The native reviewer subagent gets a five-question brief and the plan. The outside voice is Codex, when it's available.
  • Lean run (--kind feature, the Capy default): one eng reviewer. Its prompt holds the eng brief and the 36-line eng checklist, a one-paragraph CEO role and the 37-line CEO checklist, and the 28-line design and 34-line DX checklists when scope detects them, plus the draft diff. It gets no skill methods, no outside voice and one round (lib/autoplan-lean.ts leanPrompt, lib/autoplan-prompts.ts writePrompts).
  • Full run (--full): one phase per area with two voices. The native reviewer gets the brief, the plan and that phase's checklist. The outside reviewer gets a one-paragraph role and the plan.

Edits:

  • docs/skills.md gets a new "What each run loads" section. The table row (repeated in README.md) and the /plan-eng-review cut note now say that the methods load only in an interactive session.
  • README.md says the eng test-plan handoff to /qa comes from an interactive run.
  • docs/unattended.md, DRIVER.md(.tmpl) and crew/docs/captain.md describe the lean lenses and the --full prompts as they are.
  • gstack-autoplan --help: --light used to say it "loads ... the sections its scope needs" and that interactive kinds "load everything". In fact only the checklist is sent, and interactive kinds send none.
  • Skill description: "(lean: one reviewer)". unattended.md: "the outside voice (none when lean)".

Why

GEVA-412 (gstack-evals#277) found that the claims didn't match the prompts. Under R80 the claims must match. Whether the default should change waits on GEVA wave 1 (R56), so no behavior changed.

Blast radius

Text only. Prompt assembly, modes, defaults and tests are unchanged. The only runtime text that changed is one --help line. The SKILL.md edits add 41 bytes to the autoplan union. Parity passes under the existing 1.1723 cap, which is unchanged.

Approvals

Captain brief GST-1985 (claims only, no behavior change). No owner-gated change.

Pre-Landing Review

No blocking findings. The batched specialist (testing, security, state machines, red team) and the outside voice (openai/gpt-6.1-sol) found nothing, and the coverage audit found no code paths to cover. The native adversarial reviewer raised four Low notes, none of which blocks.

Review notes

Below the blocking floor and not fixed in this PR:

  • bin/gstack-autoplan:80: the new --light help line says that without it "an interactive kind sends no checklist". That holds for an interactive full run, but a lean run's CEO, design and DX lenses always carry their checklists (lib/autoplan-lean.ts:123); only the eng checklist depends on --light (lib/autoplan-run.ts:179).
  • README.md, the docs/skills.md table row and the changelog fragment say a gstack-autoplan run "gives its reviewers short checklists". Outside reviewers never get one, and a native reviewer driven interactively without --light gets none. The "What each run loads" section states this correctly.
  • docs/skills.md and docs/unattended.md hard-code the checklist line counts (CEO 37, design 28, DX 34, eng 36). They are correct today, but no test ties them to the checklist files.
  • docs/unattended.md still says the lean draft base defaults to origin/HEAD, while DRIVER.md and captureDraft use gstack-diff-scope's base. This predates the PR.

Documentation

Status: current. The docs match what ships, so this audit made no edits.

Scope: the ship candidate from e077053 to 573f604 (13 committed files; nothing staged, unstaged or untracked): README.md, docs/skills.md, docs/unattended.md, crew/docs/captain.md, gstack/llms.txt, the autoplan SKILL/DRIVER/unattended templates and their generated outputs, the gstack-autoplan --help text and the changelog.d fragment. I checked the claims against lib/autoplan-lean.ts, lib/autoplan-run.ts and the four plan-*-review checklists.

Documentation health:

  • README.md: Current. The /autoplan row and the pipeline sentence match the runner.
  • docs/skills.md: Current. The new "What each run loads" section and its checklist line counts (CEO 37, design 28, DX 34, eng 36) check out.
  • docs/unattended.md: Current. The lean and full lens descriptions match leanPrompt and sectionLoadFor.
  • autoplan/DRIVER.md, autoplan/SKILL.md, autoplan/sections/unattended.md and their templates: Current.
  • crew/docs/captain.md: Current.
  • gstack/llms.txt: Current.
  • CHANGELOG.md: covered by the changelog.d fragment, which I reviewed and didn't edit.
  • TODOS.md: not touched.

Coverage debt: none. This PR changes no public surface.

Diagram drift: none.

Test plan

  • CI carry at tree 6225a31 (run 42556832387/1, ci-reuse/free-tests): green, 36641 tests.
  • All 37 pull_request checks at 573f604 passed, 0 failed, 0 pending (macos-named-regressions and windows-smoke cleared from their runs).
  • Pre-push guards at 573f604: skill-size, parity-suite, context-budget, module-size, goldens and conflict markers passed; generated files fresh; sealed check clear.
Agent notes
  • Checks run locally at 573f604's tree: 16 focused files, 1059 pass and 0 fail (skill-md-size-guard, parity-suite, catalog and context budgets, autoplan-driver, autoplan-lean, skill-validation, gen-skill-docs, inventory, module-size-ratchet and others). Also typecheck, skill:check, gstack-inventory --check and gstack-pregate sealed all passed.
  • 573f604 keeps the autoplan description at its exact size pin (net 0 chars on every host), which fixes the skill-md-size-guard failure CI found at 12f5fc7. It also says the eng checklist is sent only in unattended or --light runs, and rewords the --light help line.
  • The autoplan/SKILL.md body line "at full interactive depth" was left as is. It is an instruction for the interactive path, where it is accurate, and the parity cap leaves about 44 bytes of headroom.
  • Not edited: docs/inventory.md (generated, dated snapshot; its autoplan rows say 2 voices and 2 to 4 phases, which is wrong for lean) and the runner prompt's "the methodology file holds the full sections" header (prompt assembly is out of scope). Both are follow-ups.
  • factory.md makes no depth claim, so it was not edited (3455 of 3475 B).
  • Step 6 eval selector: profile pr (full-fallback), 117 behavioral probes, because crew/docs/captain.md and gstack/llms.txt are unknown dependencies. Not run in this /ship; the change is prose only.

Approvals

Plan: exempt: bug fix (R65; the docs claims did not match the prompts, GEVA-412)
Plan check: exempt bug fix

REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen
Gate edits: none detected (0 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

{
  "schema_version": 1,
  "pr": 4186,
  "head": "573f6041577d5356ffe773382dc1898857f019fa",
  "version": "1.98.0.0",
  "base": "main",
  "gate": {},
  "session_kind": "unattended",
  "head_tree": "6225a31a170f0c947c6e2103cd7ca47723a95984",
  "product_patch_id": "b56c9256be80097dbaf570db75bf98fdd92aa2ef",
  "gstack_version": "1.98.0.0",
  "review_depth": {
    "depth": "light",
    "class": "code",
    "runtime_lines": 30,
    "rules": "66e5174161eecc2c",
    "base": "e077053c3cbb9b3539d0e7801b7f5f904e88fed5",
    "registry": "e077053c3cbb9b3539d0e7801b7f5f904e88fed5",
    "gate_scan": {
      "tagged": 0,
      "head": "573f6041577d5356ffe773382dc1898857f019fa"
    },
    "reasons": [
      "runtime=30"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @6225a31a170f (8 checks, current for 573f6041577d)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/42556832387/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/42556832257/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=6225a31a170f tests=36641 skipped=105 runs=42556832387/1 profiles=ci-reuse/free-tests heads=573f6041577d verified=2026-11-09T03:44:07.094Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "README.md, docs/, crew/docs/, autoplan/ (13 committed files e077053..573f604)"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "ledgers_read": 1,
    "dispatches": {
      "specialist": 1
    }
  }
}

Open in Capy

…-1985)

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

trunk-io Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

…ecklist is sent

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