Flatfile Agential Resource System Wind-Down Workflow
The FlatfileAgentialResourceSystemWindDownWorkflow closes a work session cleanly. It is a Workflow whose domain and codomain are both “repository state” — the session starts with accumulated work and ends with that work integrated, triaged, or explicitly deferred.
The skill implementation is skills/wind-down.md.
Phases
- Triage — every locale INBOX is cleared; all messages get a status
- Debt review — recent changes are scanned for induced gaps; findings go to INBOXes
- Memory — behavioral MemoryEntries written (not session summaries)
- Cleanup — completed OperationItems deleted from all PLANS.md files
- Commit — dirty working tree committed if present
- Report — open items, blockers, and top priorities for next session stated
Trigger
Invoked by the operator (/wind-down) or automatically by the context monitor
hook when context usage reaches ~90%.