OptionalblockerFirst diagnostic selected as the user-facing compile blocker.
OptionaldiagnosticsNumber of diagnostics in the failure payload. Populated only when kind === "failure"; an exception carries an error value rather than a
structured diagnostic list and has diagnosticsCount absent.
"failure" when the compiler ran and produced diagnostics. "exception"
when the compiler itself threw (typically a bug in the generated source
or the compile pipeline).
OptionalrootRoot category propagated from the final compile blocker, when known.
Compile outcome captured from a phase history when the agent finished but its output did not compile (or the compiler itself threw). Mirrors the three-way
IAutoBeTypeScriptCompileResultdiscriminator without pulling the full diagnostic payload onto the summary — readers who need the details still load the underlying history.Day-0 ledger goal: an external reader of
summary.json.gzcan tell "compile failed with N diagnostics" apart from "compiler threw" apart from "agent stopped before compiling" (which surfaces viareason) without re-parsing histories.