Status: active profile for Agent Contract v1
This profile defines canonical delegation behavior for multi-delegation workflows.
Applies to dynamic delegation/runtime calls (API shape runtime-specific).
- A failed Tool delegation MUST produce an
Outcomewithstatus: :error(or runtime-equivalent). - Delegation failure MUST NOT force immediate termination of the containing Tool Builder workflow.
- Error outcome MUST carry typed classification at minimum:
providerinvalid_codeexecutiontimeout(when runtime supports bounded provider timeout)budget_exceeded(when runtime supports delegation budget limits)
- Successful delegations MUST produce
status: :okand include returned value. - Tool Builder MUST be able to continue subsequent delegations after one failure.
- Logging/debug metadata SHOULD preserve per-delegation outcome traceability.
- This profile does not prescribe one concrete API name.
Conformance is defined by passing scenarios in tolerant-delegation-scenarios.yaml.