Skip to content

v0.4.0 — window bars, task sizes, correct reset anchor

Choose a tag to compare

@davorinpavlica davorinpavlica released this 02 Aug 08:33
1c371c6

/queue-status shows you the shape of your day

  • Five windows (Q1Q5) render as capacity bars with absolute clock times, not countdowns. Q1 [████████░░] 75% · danes 14:10 ☀️ tells you when the window opens and how much of it is already spoken for.
  • Each task line names which project it belongs to, so a queue shared across repos is readable at a glance: └─ PENDING - pivoledar: ~10% preveri druge editorje.
  • Tasks that will not fit are marked ← auto-shift to Q2 before the daemon moves them, so the shift is never a surprise.

Size a task when you queue it

  • --small / -s, --medium / -m, --large / -l on /queue-task. The estimate feeds the capacity bars and the auto-shift decision.
  • Without a flag, the queue uses the measured average of your previous tasks, exactly as before.

Window times are correct again

v0.3.0 anchored window hours on the live meter. That was half right, and the missing half cost real time.

  • The meter's reset_at means two different things. During an active session it is a commitment that does not move. With no active session it is a projection that slides forward with the clock.
  • Following the projection made the daemon chase a moving target: on 2026-08-01 its wake time moved 30 minutes every 30 minutes, and a task queued at 13:24 did not run until 20:44.
  • The anchor is now sticky. A later reset time within 30 minutes is treated as a slide and ignored. Beyond 30 minutes it is a real new window and is taken. Earlier times are always taken, so the queue never delays on its own guess.
  • Result: the hour shown in /queue-status now matches what rusted-claude-meter and claude.ai show, and it stops moving while you work.

Notes

  • 234 tests, up from 155. Timing logic keeps the four mandatory scenarios and adds six for the threshold, including a replay of the 2026-08-01 runaway.
  • No changes to tasks.md on disk. Existing queued tasks keep working.