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