Skip to main content

SCHEMA

Constant SCHEMA 

Source
pub const SCHEMA: u32 = 2;
Expand description

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

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.