feat: build on kept work by reference with sources_from (ADR-0004 phase 2)
A request names work the Orchestration engine kept instead of carrying its files: a record or latest link from an earlier document of links (checked, and of the request's tenant and Customer case), latest/<work>, or an Execution's id. The kept files and the record that the work completed are the agent's sources. Nothing starts, and the caller is told why, when the reference does not resolve to completed work it may use. A sequence's next agent is given what was kept of the one before, the same way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -158,6 +158,14 @@ def input_contract(
|
||||
"`files`: another agent's delivered work."
|
||||
),
|
||||
},
|
||||
"sources_from": {
|
||||
"type": "string",
|
||||
"description": (
|
||||
"Work kept earlier to start from instead of its files: an "
|
||||
"earlier step's `record` or `latest` link, `latest/<work>`, "
|
||||
"or an Execution's id in this Customer case."
|
||||
),
|
||||
},
|
||||
"deliver": {
|
||||
"type": "string",
|
||||
"enum": ["links", "files"],
|
||||
|
||||
Reference in New Issue
Block a user