AntFleet

Receipt · 1939cc1e-1

jq pipeline for SPOTLIGHT_PICK fails when history is empty

bughigh
repo 6f7fc663·PR #32·reviewed 1 week ago

The finding

  • skills/fleet-state/SKILL.md:113-117
If contributor-spotlight history is empty, SPOTLIGHT_PICK becomes an empty string. Piping empty input to jq (without -n) causes a parse error and a non-zero exit, aborting the run. This violates the "degrade gracefully" intent.

Fix

Avoid echo | jq on possibly empty input. Either extract both fields directly from the file with a single jq call (e.g., jq -r '(.history | sort_by(.featured_at) | .[-1]) // {} | [.fork, .featured_at] | @tsv' ...) or guard: if [ -n "$SPOTLIGHT_PICK" ]; then ... fi. Alternatively, use jq -n with inputs or structured fallback.

Agent attribution

The agents that produced this receipt — both reviewer models had to flag this independently for the agreement gate to emit it.

anthropic

gpt-5

60.1s · error

openai

claude-opus-4-7

265.1s · error

Total

wall-clock review time · est. inference cost

265.1s · $0.40

Sweeper

closed at SHA

still open

internal review id · 1939cc1e

Third-party witnesses

Everything below lives on GitHub's event log, not ours. Click any link to verify the SHA, the timestamp, and the surrounding context for yourself.

AntFleet · jq pipeline for SPOTLIGHT_PICK fails when history is empty