Skip to content

perf(setup-isolated-setup-update): move conditional checks and the routing into sibling files - #1885

Merged
potiuk merged 3 commits into
optimize-isolated-setup-installfrom
optimize-isolated-setup-update
Oct 28, 2026
Merged

potiuk merged 3 commits into
optimize-isolated-setup-installfrom
optimize-isolated-setup-update

Conversation

@potiuk

@potiuk potiuk commented Oct 28, 2026

Copy link
Copy Markdown
Member

setup-isolated-setup-update grew from 5,114 to 6,996 tokens after 1 October.
This PR applies three optimize-skill passes, each a separate commit, moving byte for byte the parts that only some runs need:

Pass Moved Saving
Vetted-ops checks The four drift checks (only with the dispatcher in use) → vetted-ops-drift.md. Check 4's in-file anchor follows them, and the adversarial-review paragraph, which has its own condition, stays. −1,004
Runtime routing The per-harness drift-report paragraphs → runtime-routing.md −340
comdev MCP check Check 5 (only with the ponymail or apache-projects MCP registered, so ASF projects) → comdev-mcp.md. The condition that "for each server registered" already implied is now a line in the body. −325

Body: 6,996 → 5,327 tokens (−24%). The eval configs that extract the moved sections carry also_include.

Evals (setup-isolated-setup-update, 17 cases): 16/17 before and after. The failure is the same case both times, step-after-report/case-2-framework-behind (one action where two are expected), and it fails on main. Validator, whole-tree hooks and workspace tests all pass.

Third of a stack of three: verify → install → update.


Generative AI disclosure: drafted with Claude Code (Claude Opus 5) using the optimize-skill skill; every move checked byte for byte.

🤖 Generated with Claude Code

@potiuk
potiuk added this pull request to stack #1886 October 28, 2026 02:52
@github-actions github-actions Bot added family:setup setup-* skills capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) labels Oct 28, 2026
…tted-ops-drift.md

The four vetted-ops drift checks apply only when the adopter uses the
dispatcher, yet every run read them. Move them, byte for byte, into
vetted-ops-drift.md, keep the condition (and the adversarial-review
paragraph, which has its own) in the body with a pointer, follow check 4's
in-file anchor to the new file, and give the step-tool-freshness eval the
file through also_include.

Generated-by: Claude Opus 5
…untime-routing.md

Move the per-harness drift-report paragraphs (Codex, Antigravity, Pi,
Goose, Copilot CLI), byte for byte, into runtime-routing.md, keep the
runtime selection and the Claude Code branch in the body with a pointer,
and give the runtime-routing eval the file through also_include, as in
verify and install.

Generated-by: Claude Opus 5
…dev-mcp.md

Check 5 covers the ponymail and apache-projects MCP checkouts, which only
ASF projects register, yet every run read it. Move its body, byte for
byte, into comdev-mcp.md and leave the condition its "for each server
registered" already implied as a line in the body with a pointer; the
step-tool-freshness eval gets the file through also_include.

Generated-by: Claude Opus 5
@potiuk
potiuk force-pushed the optimize-isolated-setup-update branch from ab71a23 to f3dae81 Compare October 28, 2026 03:12
@potiuk
potiuk enabled stacked auto-merge (squash) October 28, 2026 03:15
@potiuk
potiuk merged commit e0c5b70 into main Oct 28, 2026
11 of 20 checks passed
@potiuk
potiuk deleted the optimize-isolated-setup-update branch October 28, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) family:setup setup-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant