fpf-skillplanning-update-plan
更新计划项,记录差异,保留审计轨迹。
📖 中文导读:更新计划项,记录差异,保留审计轨迹。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
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_reasonexplaining WHY the change occurred (e.g., "User added constraint X").
2. Output Schema
{
kind: "SlotFillingsPlanItem",
// ... (standard fields updated)
previous_edition_ref: string, // URI of the previous plan
variance_record: {
reason: string,
delta: {
// Describe what slots changed
// e.g. "removed Slot X, added Slot Y"
}
}
}