Files
skif/docs/proofs/threadkit
4c0bbe4ed1 feat(bookings): one message thread per booking with threadkit + chatkit (#31)
Customer, Protector and Operations can coordinate a booking in place
("I'm at the meeting point, blue coat"). Permission is participation
(threadkit), derived from the booking's lifecycle, never a role check:

- the customer and Operations take part from the start
- a Protector joins when they ACCEPT and sees only from that moment; one
  taken off the job keeps what they saw and gets nothing after
- writing closes for everyone once the booking ends
- speakers are named by role, never by name or id; unread is per person
- new UNASSIGN action (Ops, before the job starts) releases the Protector;
  events record whose job it was, so stints read back from the lifecycle
- migration 0013: booking_messages, booking_thread_reads
- MESSAGE rate limit 60 / 10 min per person; 1000-char messages
- chatkit UI themed from Skif's tokens; voice input off (Web Speech would
  send spoken meeting points off our database); chatkit's sizes lifted to
  14px text and 44px controls

Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 05:03:21 -07:00
..