Skip to content

Bring back the standalone /plan-eng-review command (GST-2726) - #4375

Merged
capy-ai[bot] merged 1 commit into
mainfrom
restore-plan-eng-review
Nov 15, 2026
Merged

capy-ai[bot] merged 1 commit into
mainfrom
restore-plan-eng-review

Conversation

@garrytan

@garrytan garrytan commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

/plan-eng-review is back as its own command on every host that had it before #4108, and architecture-review requests route to it again.
Why: many people run it on its own (Garry, 2026-11-15), and cutting it took that away; /autoplan's eng phase is unchanged.
To do: nothing. If an earlier upgrade removed the command, your next ./setup or upgrade puts it back.

What changed
  • Install. ./setup installs /plan-eng-review again on Claude Code, Codex and the other external hosts, and OpenClaw's default (hybrid) skill list includes it again. /investigate stays retired through the same mechanism.
  • Routing. The router sends architecture and engineering-review requests to /plan-eng-review again, and its voice triggers ("tech review") are back. /autoplan's description drops the "review the architecture" and "engineering review" phrases feat: cut standalone /plan-eng-review; /autoplan keeps its eng phase (GST-1698) #4108 added, so the two skills no longer claim the same requests.
  • Docs and chaining. AGENTS.md, README, docs/skills.md, CLAUDE.md, llms.txt and the OpenClaw and hosts docs list it again. The office-hours handoff, the CEO, design and devex review chaining, /ship's review dashboard row and its over-200-lines hint name it again.
  • /autoplan is unchanged. Its eng phase reads the same methodology. On external hosts that file still ships beside gstack-autoplan/SKILL.md as plan-eng-review.md, byte-identical to before on all 12 external hosts, so /autoplan works even if someone disables the standalone command. feat: cut standalone /plan-eng-review; /autoplan keeps its eng phase (GST-1698) #4108's Kiro fix (copying that file into Kiro installs) and its ownership guards stay.
Not restored

The paid standalone test cases deleted after #4108 (plan-eng-plan-mode, plan-eng-finding-floor, plan-eng-review-artifact-full, carve-section-loading-plan-eng-review) stay deleted, and plan-eng-multi-finding-batching stays out of the weekly run. Whether any return is the measurement plan's call (GST-1966); a TODOS.md entry tracks it.

Agent notes
  • Generator: RETIRED_SKILLS no longer drives the autoplan sibling. A new AUTOPLAN_SIBLING_METHODOLOGIES list in scripts/discover-skills.ts makes gen-skill-docs emit the same render twice on external hosts (standalone gstack-plan-eng-review/SKILL.md plus gstack-autoplan/plan-eng-review.md), and AUTOPLAN_REVIEW_FILE keeps pointing Phase 3 at the sibling.
  • Render comparison against main (--host all --out-dir): every gstack-autoplan/plan-eng-review.md and every /autoplan section is byte-identical; /autoplan's SKILL.md changes only in its description; Claude's plan-eng-review/SKILL.md is unchanged.
  • Pins moved by the restored wording, each documented in place: ship skeleton 61,420 → 61,438, retro skeleton 51,622 → 51,626, office-hours ratio 1.1921 → 1.1922, a +21 B ship size-ledger entry, and the SKILL.md size allowlist (autoplan pins down, plan-design and plan-devex pins back up by the bytes feat: cut standalone /plan-eng-review; /autoplan keeps its eng phase (GST-1698) #4108 removed).
  • test/e2e-harness-audit.test.ts now accepts the real-PTY counting runner as interactive coverage; the restored skill's interactive coverage is skill-e2e-plan-eng-artifact. test/carve-section-sharding.test.ts names plan-eng-review as having no section-loading case.
  • journey-plan-eng (paid routing case) expects /plan-eng-review again and installs both skills; not run here (no new eval spend).
  • Changelog fragment is marked important: regression for the daily stable check (R74).

/ship (run ship-4375-5c05849, head 5c05849)

Plan: exempt: bug fix (regression: restores the /plan-eng-review command GST-1698 removed, Garry 2026-11-15)

Refs #4108

  • Review plan: class=gate, depth=full, one pass, no fix round. Readers: specialist batch (testing, security, state machines), red team, native adversarial, second-model review (openai/gpt-6.1-sol), targeted gate reader.
  • Pre-Landing Review: 1 issue — 0 auto-fixed, 1 asked (0 fixed, 1 skipped), 0 deferred, 0 noted
  • REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=3 dispatches=2 est_input_tokens=83789
  • Gate edits: none detected (49 listed, 47 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none). The one RH-1 hunk replaces the retirement tests in test/retired-skills.test.ts with restore tests, which this PR's decision to bring the command back explains.
  • Scope Check: CLEAN (intent: bring back the standalone command; delivered: that, with /autoplan's eng methodology byte-identical).
  • Coverage: 11 of 12 changed code paths have a test (92%). Gap: no test asserts the ship preflight over-200-lines hint text.
  • Exploratory QA: pass, 2 probes. The codex render ships gstack-plan-eng-review/ plus a byte-identical gstack-autoplan/plan-eng-review.md; doctor knows plan-eng-review again (planning requirement set, pins advisory).
  • Tests: CI run 43663067074 at this tree (free-tests, 1669 files); macOS named regressions (job 132656483973) and windows-smoke (run 43663067087) green at this head.

Open review notes (below the blocking floor, left open, not fixed in this PR):

  • autoplan/SKILL.md.tmpl:6 (adversarial, Low): the description says "CEO, design, eng and DX reviews in order"; the real order is CEO, design, DX, eng.
  • scripts/gen-skill-docs.ts:1061 (adversarial, Low): a loadout that excludes skill:plan-eng-review also drops gstack-autoplan/plan-eng-review.md on external hosts. Same as before this PR; no shipped loadout does this.
  • scripts/gen-skill-docs.ts:890 (red team, informational, skipped): with plan-eng-review in disabled_skills, the external-host sibling's preamble Read still points into the uninstalled gstack-plan-eng-review directory; this PR removed the TODO that tracked that pointer.

Documentation: current.

Status: current. The docs already describe the return of the standalone /plan-eng-review (GST-2726); this audit made no edits.

Scope: base 81fb900 to head 5c05849 (1 commit, 82 files), with no staged, unstaged or untracked changes. Every tracked authored doc and template (.md, .tmpl, .txt, excluding generated SKILL.md, CHANGELOG, design records and eval records) was searched for wording that says the skill was retired, cut or folded into /autoplan.

Documentation health:

  • AGENTS.md: current (skill index lists /plan-eng-review)
  • README.md: current (skill table, example, chaining and routing)
  • docs/skills.md: current (full /plan-eng-review section restored)
  • ARCHITECTURE.md, BROWSER.md, CLAUDE.md, SKILL.md: current
  • docs/OPENCLAW.md, docs/hosts.md: current (four hybrid task skills)
  • docs/PROJECT_STRUCTURE.md, docs/TEST_PORTFOLIO.md, docs/autoplan-guard-troubleshooting.md, docs/inventory.md, gstack/llms.txt: current
  • TODOS.md: current (not editable here; the history wording is accurate)
  • changelog.d/restore-plan-eng-review.md: current

Coverage debt: /plan-eng-review has reference coverage (AGENTS.md, README, docs/skills.md) and explanation plus example coverage (docs/skills.md). It has no tutorial, which matches the other plan-review skills. No critical gaps.

Diagram drift: none. No ASCII or Mermaid diagram names the eng phase or the standalone skill.

{
  "schema_version": 1,
  "pr": 4375,
  "head": "5c0584941e846ec822aa0b3f3cd9756179c26772",
  "version": "1.99.4.0",
  "base": "main",
  "gate": {
    "test": {
      "pass": 1669,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "test",
      "run": 43663067074,
      "attempt": 1,
      "tree": "15a1e22f823d5a9aff680fe219d8e7524ee05d48"
    }
  ],
  "session_kind": "unattended",
  "head_tree": "15a1e22f823d5a9aff680fe219d8e7524ee05d48",
  "product_patch_id": "0619fce1b1e6e582500112877c164c16f916b09c",
  "gstack_version": "1.99.4.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 128,
    "rules": "66e5174161eecc2c",
    "base": "81fb9008351d29fccc3e146d860a9cda8c104a2d",
    "registry": "81fb9008351d29fccc3e146d860a9cda8c104a2d",
    "gate_scan": {
      "tagged": 1,
      "head": "5c0584941e846ec822aa0b3f3cd9756179c26772"
    },
    "reasons": [
      "gate-class",
      "runtime=128"
    ],
    "risk": [],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @15a1e22f823d (8 checks, current for 5c0584941e84)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/43663067074/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/43663067087/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=15a1e22f823d tests=37303 skipped=105 runs=43663067074/1 profiles=ci-reuse/free-tests heads=5c0584941e84 verified=2026-11-15T02:01:47.430Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      4108
    ],
    "flakes": []
  },
  "docs": {
    "status": "current",
    "scope": "docs/, README.md, CLAUDE.md, AGENTS.md, ARCHITECTURE.md, BROWSER.md, CONTRIBUTING.md and authored templates, base 81fb9008 to head 5c05849"
  },
  "review_loop": {
    "passes": 1,
    "blocking_found": 0,
    "deferred": 0,
    "noted": 0,
    "fixed": 0,
    "scope": "frozen",
    "rounds": 1,
    "est_input_tokens": 83789,
    "ledgers_read": 3,
    "dispatches": {
      "specialist-batched": 1,
      "red-team": 1
    }
  },
  "gate_dispositions": [],
  "review_targeted": {
    "classes": [
      "gate"
    ],
    "rules": "8811fd300bf305f0",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "0619fce1b1e6e582500112877c164c16f916b09c",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}

Garry, 2026-11-15: people rely on /plan-eng-review, so it returns as its own
command on every host that had it before GST-1698 (#4108). /autoplan's eng
phase is unchanged: external hosts still ship the same methodology beside
gstack-autoplan/SKILL.md, now rendered from the same pass as the standalone
skill, and the Kiro sibling copy and ownership guards from #4108 stay.

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

trunk-io Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

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