Skip to main content

loopsmith_core/config/
work.rs

1//! Section B — the manual work that must happen before automation is allowed.
2
3use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Clone, Serialize, Deserialize)]
6#[serde(deny_unknown_fields)]
7pub struct WorkItem {
8    pub step: String,
9    /// Must be true before the loop is allowed to run. This encodes the
10    /// corpus rule that you cannot automate a process you cannot describe.
11    #[serde(default)]
12    pub done: bool,
13    #[serde(default)]
14    pub evidence: Option<String>,
15}