cyberneticlibrary

Sweep and remove unused code

dead-code-sweepworkflowsetup L20
hiranp/polyflow
What it does

Find and remove unused code, round by round, until a clean sweep turns up nothing

Best for

Orchestrate multi-phase dead-code-sweep tasks with structured verification and recovery.

Inputs
  • · args: varies by workflow
Outputs
  • · structured result: task status/completion
Preconditions

Valid args object; sufficient token budget; required files readable

Failure modes

Subagent failure; budget exceeded; missing context; schema validation failure

Trust signals
  • · 2 phases with phase() guards
  • · 5 structured output schemas