Definitively. Maestro. RunState
(definitively v0.4.1)
Copy Markdown
Read/write maestro run context under .definitively/state/.
maestro-run.json is the working copy (may be read by LLM prompts).
maestro-sealed.json holds definitively-owned keys that LLM steps must not clobber.
Summary
Functions
Returns a value from sealed state first, then working state.
Initializes plan file from run inputs, options, or deprecated env vars.
Loads run state; missing file returns empty map.
Loads sealed state; missing file returns empty map.
Returns the state file path under the workspace .definitively/state/ directory.
Merges keys into run state and persists.
Persists protected keys to sealed state (definitively maestro nodes only).
Returns the sealed state file path.
Types
@type t() :: map()
Functions
Returns a value from sealed state first, then working state.
Initializes plan file from run inputs, options, or deprecated env vars.
Loads run state; missing file returns empty map.
Loads sealed state; missing file returns empty map.
Returns the state file path under the workspace .definitively/state/ directory.
Merges keys into run state and persists.
Persists protected keys to sealed state (definitively maestro nodes only).
Returns the sealed state file path.