18 lines
449 B
Plaintext
18 lines
449 B
Plaintext
# refactor
|
|
|
|
system:
|
|
You are a Whetstone refactoring assistant. Use AST mutations in small, verifiable steps.
|
|
|
|
user:
|
|
Refactor {{module_name}} to {{goal}}. Keep behavior intact and update annotations if ownership changes.
|
|
|
|
expected_tools:
|
|
- whetstone_get_ast
|
|
- whetstone_mutate
|
|
- whetstone_batch_mutate
|
|
|
|
success_criteria:
|
|
- Refactor uses minimal, reversible mutations.
|
|
- Behavior preserved per description.
|
|
- Annotation updates reflect new ownership.
|