Skip to content

Rename efficient-opus command, prune stale installs, fix Antigravity re-prompt#12

Merged
rlorenzo merged 4 commits into
mainfrom
feat/efficient-orchestration-setup-prune
Jul 2, 2026
Merged

Rename efficient-opus command, prune stale installs, fix Antigravity re-prompt#12
rlorenzo merged 4 commits into
mainfrom
feat/efficient-orchestration-setup-prune

Conversation

@rlorenzo

@rlorenzo rlorenzo commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

Modernizes the delegation command now that Fable 5 is a frontier tier, and cleans up two setup rough edges surfaced along the way. Three focused commits.

Changes

refactor: rename /efficient-opus to /efficient-orchestration

  • The command was framed around Opus as the top model; with Fable now above it, that framing is stale.
  • The orchestrator is now described as "your current model" and subagent tiers are described relative to it, so the command reads correctly whether you run Fable, Opus, or Sonnet.
  • Concrete model names are pinned in exactly one reference ladder (Haiku < Sonnet < Opus < Fable) that the delegation guidance points at, so a new model means editing one line instead of the whole document.

feat(setup): prune stale installed commands on re-run

  • install_commands now removes any destination entry that carries our <!-- source: ai-coding-setup --> marker but no longer has a matching source file (a command renamed or deleted in the repo), so stale installs clean themselves up instead of lingering. This is what handles the rename above going forward.
  • Safety gates: unmarked custom commands are never touched; the existing empty-source-dir early return prevents wiping a whole category; file-mode prune is depth-1 so it will not descend into nested command dirs; skill-mode leaves the separately-installed gh skill alone because it carries no marker.
  • Works for both single-file commands (Claude Code) and SKILL.md directories (Codex/Copilot).

fix(setup): stop re-prompting to set up Antigravity after selection

  • The tool-selection menu is the single opt-in. The claude, codex, and copilot branches proceed directly once selected, but the antigravity branch re-asked "Setup Antigravity CLI?", so it double-prompted.
  • Removed the redundant confirmation (and its skip branch) so Antigravity matches the other tools. Note: selecting Antigravity in the menu now commits to installing it, the same contract the other three already have.

Testing

  • bash -n setup and shellcheck setup: clean.
  • markdownlint-cli2 on changed markdown: 0 errors.
  • Pre-commit hooks (shellcheck, markdownlint, BATS unit tests) passed on every commit.
  • Prune logic validated against a temp scenario covering: marked-orphan (removed), marked-current (kept), unmarked-custom (kept), marked-but-nested (kept), and empty-source guard (no-op). All pass.

Not included

  • The prune covers commands/skills installed via install_commands. The bin/ review-loop scripts use a separate install path and are not pruned.

rlorenzo added 4 commits July 2, 2026 10:39
Frontier models now include Fable, so the Opus-centric name and framing were outdated. Reframe the command around "your current model" as the orchestrator and describe subagent tiers relative to it. Concrete model names are pinned in a single reference ladder (Haiku < Sonnet < Opus < Fable) that the delegation guidance points at, so a new model means editing one line instead of the whole document.

Update the README section, description, and usage to match.
install_commands now removes any destination entry that carries our source marker but no longer has a matching source file (a command renamed or deleted in the repo), so stale installs clean themselves up instead of lingering. Unmarked custom commands are never touched, and the existing early return on an empty source dir prevents wiping a whole category. Works for both single-file commands and SKILL.md directories.

Document the behavior in the README.
The tool-selection menu is the single opt-in for which tools to configure. The claude, codex, and copilot branches proceed directly once selected, but the antigravity branch re-asked "Setup Antigravity CLI?", so it double-prompted. Remove the redundant confirmation (and its skip branch) so Antigravity matches the other tools.
The prune pass removed marked orphans unconditionally, so an interactive update run could drop a command the user meant to keep: if a command was renamed and the user declined the replacement's "Install?" prompt, the old install was still deleted, leaving them with neither.

Prune now asks before each removal (default No) so nothing is dropped without consent; --force keeps the non-interactive path and prunes without asking. setup tracks no rename mapping between the old and new names, so per-orphan confirmation is the general fix rather than gating on a specific replacement.
@rlorenzo rlorenzo merged commit af7f21c into main Jul 2, 2026
4 checks passed
@rlorenzo rlorenzo deleted the feat/efficient-orchestration-setup-prune branch July 2, 2026 18:29
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