13 lines
441 B
Markdown
13 lines
441 B
Markdown
# Drill: extract-policy
|
|
|
|
## Goal
|
|
Move one mixed rule out of orchestration code into a pure decision.
|
|
|
|
## Prompt
|
|
Find logic in `code/` that mixes decision-making with mechanics. Extract the decision into a pure function or policy with explicit inputs and outputs.
|
|
|
|
## Success conditions
|
|
- The decision is separated from mechanics
|
|
- Inputs and outputs are explicit
|
|
- You can describe the command, event, and workflow role of the affected code
|