Skip to content

v5.59.0 — Cost on every ticket, the Inbox on the phone, and honest standing-seat attribution

Choose a tag to compare

@avirtual avirtual released this 10 Sep 21:59
· 5730 commits to master since this release
  • Phone access serves the operator Inbox: list, mark read, read-all and
    remove over /api/inbox, an inbox event on the SSE stream so a phone and
    the desktop keep the same unread badge, and an inbox capability in hello so
    older apps hide the tab.
  • Every ticket shows what it cost. A done ticket on the tickets board carries
    its hand figure plus its review rounds, one in progress carries a live figure,
    and the board header carries the team's total. A ticket whose spend could not
    be attributed to a seat says cost unknown rather than $0 — it burned real
    money and a zero would read as free work. Standing seats, which have no ticket
    end to book against, now record their spend at session end, /clear and
    compact into ~/.clodex/teams/<team>/cost.jsonl; [agent:exec clodex-team] {"action":"cost"} reads the whole ledger back, and target:<ticketId> reads
    one ticket's split.
  • A ticket's cost record no longer claims a long-lived seat's whole spend was
    that one ticket's.
    The rollup sums the ledger of the seat that worked the
    ticket, which is the ticket's cost only when the ticket loop minted that seat
    and tore it down at the close. A seat that outlives the ticket — a standing
    hand you dispatch to by name, working ticket after ticket — had its entire
    lifetime billed to whichever ticket it happened to close, and the record
    labelled that number exact. One such row read $594.98 against 29 minutes of
    work. Those rows are now marked seat-lifetime, which says the number is an
    upper bound on the ticket rather than a measurement of it, and they are kept
    distinct from the rows whose seat could not be identified at all, so the two
    can never be added together or quoted as one figure. Ticket seats the loop
    mints are unaffected and still report exact. Applies to tickets closed from
    here on; existing records are not recomputed.

Apple Silicon (arm64) build. Intel (x64) users can build from source (npm install && npx electron-rebuild && npm run dist:mac).

Unsigned (ad-hoc) build: first launch needs right-click → Open, or xattr -cr /Applications/Clodex.app.