R/

Referee

Behavior-preserving refactoring workspace

Ready

AI refactoring workspace

Refactor with intent. Preserve behavior.

Describe the improvement you want, then review a focused plan and generated code side by side.

Review workspace

JavaScript ยท input, output, and plan

MonacoRead-only outputStreaming
IN

Source code

Original implementation

Editable
Loading Monaco editor...
OUT

Refactored code

Generated implementation

Read only
Loading Monaco editor...
{}

Your refactored code will appear here

Submit a focused request to generate a behavior-preserving implementation.

//

Refactor plan & notes

Proposed actions and behavior-preservation guidance

A focused plan will appear here

Referee explains the structural changes before presenting the generated code.