workplan-spec.md:
- Task Close Gate: when marking a task done in the file, also call
update_task_status(state_hub_task_id, "done") in the State Hub
- HEUREKA Completion Sequence: before HEUREKA, for hub-integrated workplans:
update all tasks, update_workstream_status → done, add_progress_event
milestone, then set status: done and output HEUREKA
plugin/ralph-workplan.md:
- Added State-Hub Integration Notes section injected via stop-hook prompt
so the worker follows Task Close Gate and HEUREKA Completion Sequence
Resolves: state-hub progress event 1e73441e (2026-03-16)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>