Expand description
State management for Humanize loops.
This module provides parsing and serialization for the state.md files used to track RLCR and PR loop progress.
IMPORTANT: This schema must remain compatible with the historical shell-era state contract so existing loop directories continue to parse correctly.
Structs§
- State
- Represents the state of an RLCR or PR loop.
Enums§
- State
Error - Errors that can occur when working with state.
Functions§
- find_
active_ loop - Find the active RLCR loop directory.
- has_
pending_ session - Check if a loop has a pending session handshake.
- is_
finalize_ phase - Check if a loop is in finalize phase.
- resolve_
active_ state_ file - Resolve the active state file in a loop directory.
- resolve_
any_ state_ file - Resolve any state file (active or terminal) in a loop directory.