| name | fpf-skill:planning-update-plan |
| description | Updates a PlanItem by recording variance, preserving the audit trail. |
| version | 0.1.0 |
| allowed_tools | [] |
planning/update-plan Kernel
Context
This skill handles Plan Iteration. In FPF, you update a plan by creating a NEW edition (or delta) that explicitly records the variance from the baseline. You never mute the history.
Instructions
Given a previous SlotFillingsPlanItem and a requested change (Constraint Update), generate the new plan edition.
1. Invariants
- Immutability: Do NOT modify the original object. Return a new object.
- Traceability: The new object must reference the
previous_edition_ref.
- Reasoning: You must include a
variance_reason explaining WHY the change occurred (e.g., "User added constraint X").
2. Output Schema
{
kind: "SlotFillingsPlanItem",
previous_edition_ref: string,
variance_record: {
reason: string,
delta: {
}
}
}