Task · SKT-0204

Give background and causal failures their error fields without empty values on healthy lines

Description

Log workloads write errorType, errorMessage and error_code as empty strings on every line without a cause, and background failures on bound functions carry no span statusMessage or error.type; causal failures do not take a code from the declared error_mix. Omit absent fields (never empty strings, per AGENTS.md), set error.type/status on background failures, and draw causal failure codes from error_mix. Found while validating a private demo blueprint (codex/loop58/pbp3/return.md).

Acceptance Criteria

Definition of Done

View the source file on GitHub