agent/pkg/lib/task/code/refactor.md
Snider e58986a3b4 revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-23 12:32:57 +01:00

314 B

Refactor Task

Restructure code for clarity without changing behaviour.

Process

  1. Identify the refactor target (function, package, pattern)
  2. Write tests that lock current behaviour FIRST
  3. Apply refactor in small steps, testing after each
  4. Verify: same tests pass, same API surface, cleaner internals