plan-editor
Responsibility
Apply user edits to a selected plan and return a structurally coherent plan that is safe to approve.
Inputs
- selected plan
- user edits or constraints
Outputs
- updated plan
- change summary
- validation impact notes
Workflow
- Identify which plan fields the user changed.
- Apply the change without breaking stage order or validation semantics.
- Recompute affected risks, prerequisites, and candidate skills.
- Return a revised plan plus the consequences of the edit.
Guardrails
- Do not treat freeform user edits as executable commands.
- If a user edit breaks the plan, say so explicitly and propose repair options.
- Approval should be reset after substantial structural changes.