pub struct Chunk {
pub id: String,
pub title: String,
pub deps: Vec<String>,
pub tier: Tier,
pub brief: String,
pub files_touched: Vec<String>,
pub checks: Vec<Check>,
pub assertions: Vec<String>,
pub requires_tests: bool,
pub extra: Map<String, Value>,
}Expand description
One implementation chunk (owner: spec).
Fields§
§id: StringUnique id within the plan; referenced by other chunks’ deps.
title: StringShort human-readable title.
deps: Vec<String>Ids of chunks this one depends on (the DAG edges).
tier: TierStarting model-tier hint; the orchestrator owns promotion.
brief: StringTurnkey, self-contained implementation brief.
files_touched: Vec<String>Repo-relative files this chunk may touch — a merge-time constraint, not just a hint.
checks: Vec<Check>Executable per-chunk checks (desc + run); at least one required.
assertions: Vec<String>LLM-judged criteria, additive above the deterministic floor.
requires_tests: boolIf true, the supervisor blocks a merge that added/modified no tests.
extra: Map<String, Value>Unrecognized keys, captured for the compatibility check.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chunk
impl<'de> Deserialize<'de> for Chunk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnsafeUnpin for Chunk
impl UnwindSafe for Chunk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more