Skip to content

fix(code-tidying): batch-simplify names an uninstalled simplifier agent and no verifier tier #4529

Description

@kyle-sexton

Two gaps in code-tidying:batch-simplify (0.23.2), both found in the hygiene sweep of melodic-software/.github#153.

1. The preferred simplifier agent never resolves. skills/batch-simplify/SKILL.md:184 (and the matching line in context/repo-mode.md, "Execution and spawn contract") says to use subagent_type: "pr-review-toolkit:code-simplifier" when that plugin is installed, else general-purpose. On a machine with the official marketplace installed, the available agent is code-simplifier:code-simplifier (plugin code-simplifier, agents/code-simplifier.md), and pr-review-toolkit is not installed. The rule never matches, so every sweep falls back to general-purpose. Fix: list code-simplifier:code-simplifier in the ladder, or check for any installed agent named code-simplifier.

2. No model tier for the spawned agents. Repo mode makes a refutation verifier mandatory for each group, but neither file says which model the simplifiers and verifiers should run on. In this sweep the orchestrator first planned a cheaper tier for both, and the user had to correct it. On Opus, the group-2 verifier then caught a real behavior change in the simplifier's diff. Fix: say that refutation verifiers keep the parent session's model (they are the judgment stage), and that simplifiers default to it unless the sweep is wide.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNot yet classified. Floor until a type and one priority tier are set.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions