Module state

Module state 

Source
Expand description

State domain module Persisted state for workflows and runs. Helpers for updating planning/STATE.md.

These functions implement small, targeted pure edits (e.g. updating the last updated date or inserting new bullets) while keeping the rest of the file intact.

Clock helpers (now_time, now_date) live in ito-core::time.

Functions§

add_blocker
Add a blocker entry under “Blockers” and update the last-updated date.
add_decision
Add a decision entry under “Recent Decisions” and update the last-updated date.
add_note
Add a timestamped note under “Session Notes”.
add_question
Add a question entry under “Open Questions” and update the last-updated date.
set_focus
Set the “Current Focus” section to text and update the last-updated date.
update_last_updated
Update the Last Updated: line in a STATE.md document.