Skip to main content

SCHEMA

Constant SCHEMA 

Source
pub const SCHEMA: u32 = 3;
Expand description

On-disk format for a queued task. Bumped when a field’s meaning changes.

3: added HoldSource so conductor recovery cannot release a hold an operator deliberately placed. Old records default to None and are protected as operator-held until an explicit release; the safe direction when their author was never recorded.

2: added TaskStatus::Blocked, Task::blocked_by and Task::block_reason (crate::conduct’s decisions) and Task::answers (operator answers carried forward to the next conductor prompt and the next run’s instruction). All three are #[serde(default)], so [read_path] accepts anything up to and including this schema rather than only an exact match — a task written by a build that only knew about schema 1 has nothing to say about blocking or answers, and defaulting those fields is exactly as good a reading as a value that build never had a chance to write.