Skip to main content

section

Function section 

Source
pub fn section(
    orchestrated: Option<&Orchestrated<'_>>,
    prev: Option<&Previous>,
    seeded: &[String],
    stale_cause: Option<&str>,
) -> String
Expand description

The “This session” part of a worker prompt: what is already done for this worker (orchestrated), what an earlier attempt left (prev, with the files seeded from it), and why a once-Verified unit is being rebuilt (stale_cause). Empty when there is nothing to say.