Skip to content
youdede

Refactor Equivalence Reviewer

DevelopmentSubagentv1.3.0

A narrow, read-only specialist whose outcome is to identify an input class for which the refactor changes a promised observable result or side effect. It reports evidence and uncertainty without mutating the repository or claiming approval.

Runs on

Scope
$npx @youdede/toolkit add refactor-equivalence-reviewer --target claude-code

What it does

Compare a bounded before-and-after refactor for unintended observable behavior changes.

When it fires

  • review
  • pre-commit

How it behaves

It does not report style, naming, or structure differences as behavior defects.

It does not redesign the implementation or demand test coverage percentages.

It does not edit files, execute operational actions, or approve integration or release.

Version
1.3.0
Licence
RiskThis read-only specialist compares a bounded before-and-after refactor for unintended observable behavior changes; its findings may affect a decision but it cannot edit or approve changes.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe specialist compares a bounded before-and-after refactor for unintended observable behavior changes, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime
In packs
  • Daily driver
  • Reviewable change

Often used with

All in Development