A fatal WorkflowError such as AGENT_CAP or ITEM_CAP was rendered to text inside the PTC guest, so the workflow tool could only report RUN_FAILED. WorkflowResult and the workflow/end payload now carry errorCode, the code of the fatal error that ended an error run; the host validates it at the process boundary and the tool fails with that code. RUN_FAILED remains only for an error run without one: the script's own exception or an engine runtime failure. WorkflowError narrows code to WorkflowErrorCode. Refs #7869
29 lines
965 B
YAML
29 lines
965 B
YAML
# Bilingual-pair consistency record for workflow.md (docs/i18n/README.md): per heading
|
|
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
# After editing either side, bring the other along and re-record with:
|
|
# pnpm run verify-translation-pairing --write docs/subsystems/workflow.md
|
|
/workflow:
|
|
en: 4b264eb88e5cedfb
|
|
zh: 78585763a79cd1c9
|
|
/workflow/the-start-request:
|
|
en: 6c8755833293a36c
|
|
zh: a0f061387fe0d3a6
|
|
/workflow/the-workflow-s-identity-workflowmeta:
|
|
en: ab33fd965499d38c
|
|
zh: d32893a2a7edd7d6
|
|
/workflow/the-terminal-result-workflowresult:
|
|
en: acaa0abbacaa752b
|
|
zh: c8588e520a56c851
|
|
/workflow/a-live-run-workflowrun:
|
|
en: a86b204323005042
|
|
zh: 82b691e28ed4dcd3
|
|
/workflow/failure-discipline-workflowerror-fatal:
|
|
en: 4a66b379e32c2583
|
|
zh: 9745625863b836a8
|
|
/workflow/events:
|
|
en: de123821a128c1d1
|
|
zh: e50bcaea2812575a
|
|
/workflow/durable-chat-records:
|
|
en: eefba4d75e7bcfe9
|
|
zh: feeeaf660f97f96d
|