pipeline: a follow-up records the origin of the Persona turn that admitted it
PipelineFollowUp gains origin (absent is not written, so the golden sample is unchanged); MemoryOrigin's doc says it is a brief's too; the header facts carry it; schemas regenerated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
26303f045b
commit
5eb1452ca4
10 changed files with 205 additions and 7 deletions
|
|
@ -1905,6 +1905,7 @@ fn start_self_run(
|
|||
item: ask.brief.as_str().into(),
|
||||
why_it_can_wait: "Started from chat; the Self run that claims it works it now.".into(),
|
||||
owner: "self-run".into(),
|
||||
origin: None,
|
||||
});
|
||||
let claim = PipelineRef { kind: PipelineKind::FollowUp, id: pipeline_key(&follow_up).map_err(|_| anyhow!("the follow-up could not be keyed"))?.as_str().into() };
|
||||
let mut documents = vec![follow_up];
|
||||
|
|
|
|||
|
|
@ -1160,6 +1160,7 @@ fn open_follow_up(label: &str, source: &PipelineRef, item: &str) -> PipelineDocu
|
|||
item: item.into(),
|
||||
why_it_can_wait: "It can.".into(),
|
||||
owner: "Hands".into(),
|
||||
origin: None,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -510,6 +510,7 @@ pub(crate) fn follow_up(label: &str, source: &PipelineRef) -> PipelineDocument {
|
|||
item: "Later.".into(),
|
||||
why_it_can_wait: "It can.".into(),
|
||||
owner: "Hands".into(),
|
||||
origin: None,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue