Job detail — attempts timeline, errors, and per-attempt logs.
Attempt history includes errors and logs saved at acknowledgement, not a live log stream.
Each attempt’s logs property remains an array of strings. Plain strings are info-level
messages. Structured entries start with U+001E followed by “headgate-log-v1:” and a
JSON object: level (debug/info/warn/error), at_ms (worker capture time), message,
optional fields (scalar values), and optional truncated (boolean). Each encoded entry
is bounded to 2048 UTF-8 bytes. Unknown versions or malformed entries should display
as literal text. Log timestamps do not participate in store policy or lease decisions.
Logs may contain application data and are not encrypted by payload encryption.
include_payload applies to the job payload, not attempt logs.