Normalize zero outcomes and omitted diagnostic delivery state

This commit is contained in:
2026-10-07 16:49:21 +00:00
parent f866ca98f9
commit b4010c43bd
4 changed files with 44 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ type Diagnostic struct {
// Cause records the operation error. DeliveryError records an error encountered
// while presenting diagnostics or reports; it is kept separate from Cause so
// both failures remain inspectable. Outcome does not implement error.
// Invocation coordination treats a zero Outcome as success with status 0.
type Outcome struct {
// Kind classifies the result.
Kind OutcomeKind