mirror of
https://github.com/addyosmani/agent-skills.git
synced 2026-10-26 15:05:04 +00:00
When /plan runs for new work while tasks/plan.md and tasks/todo.md still hold unchecked tasks, the agent silently replaces them, destroying the in-flight plan's state (reported in #518). Add a convention-neutral guard: replanning the same work updates in place; different work stops and asks the user before touching the existing files. Mirror the rule for external task list targets (no bulk-closing another plan's items), and add matching Rationalization, Red Flag, and Verification entries plus the guard line in the /plan command. Deliberately does not introduce a parallel-lane layout — that convention decision is being held open in #518; this fixes only the data-loss half.