BOLT-1218: device-state chart command spans hidden when createdAt is outside visible range
blockedFollow-up surfaced by Richie reviewing PR #11821 preview on 2026-06-08. Spans don't render when the command's createdAt falls outside the chart's [from,to] range, even if the [startAt,endAt] window overlaps the visible range. Root cause: useDeviceCommands.ts passes startAt/endAt to the GraphQL filter where the resolver treats them as bounds on createdAt only.
Preferred fix (Option A in Linear): add an overlap filter to the deviceCommands resolver so visibility is OR(createdAt-in-range, window-overlaps-range). Frontend hook passes [from,to] once. Touches domains/device resolver + schema + codegen + the hook.
Fallback (Option B): widen the hook's [from,to] by a fixed buffer and OR-filter client-side. Worse but no backend change.
Queued — start only after Richie confirms preferred direction. Not blocking BOLT-1102 Phase 3 (#11821).
Linear: https://linear.app/texture/issue/BOLT-1218
Event Timeline
created
status_change
queued → in_progress
failed
lease expired — re-queued for retry
in_progress → queued
status_change
queued → blocked