pub fn submit(
project_root: &Path,
number: u64,
agent: &str,
summary: &str,
evidence: Vec<EvidenceInput>,
usage: Option<UsageV1>,
outcome: TaskOutcome,
) -> Result<TaskAckV1, CloudError>Expand description
Submit the result of the claimed task number: it ends the claim. The
task waits for a second agent’s check (submitted), or ends at once
(done, or failed for TaskOutcome::Failed).
A result never carries a draft: knowledge the work produced travels
through the capture gate and cloud sync like any other (signed E5
events on a C0 2.0 Cloud, the draft path on 1.x).