oficina / base Public
Paused work: Base's half
Paul approved "clearer paused work" on 2026-11-24 (mockups polish-audit/paused-work/b/, copy copy-review/strings-final.json). Equipo owns the contract: oficina/equipo feat/paused-work, docs/api/equipo-v1.md ("Talk to the Assistant") and its spec docs/superpowers/specs/2026-11-24-paused-work-design.md.
What Base does
- Opts in. Every snapshot and event stream asks for
job_states=paused. Without it Equipo sends a paused job asworkingwith the same words. - Draws a paused job. The pill has a still clock mark on
--st-pause(#4B55C9light,#AEB8FFdark; its icon is 6.1:1 and 7.9:1) and Equipo'sresultas its status. The job view showsdetail, and "Carry on now" (assistant.job.carry_on) withassistant.job.carry_on_noteunder it when the card hascarry_on. Base shows Equipo's words as given: they are already in the person's time zone. - Draws stopped as a square. It used to be two pause bars. Paused and stopped have to look different.
- Relays Carry on now.
POST /ask/cards/{id}/carry_on(seedocs/api/base-native-v1.md). The key is kept until an answer settles the outcome. A 409 (card_stale,not_paused,carry_on_unavailable) or a 404 reads the conversation afresh and is never resent. A failure the person can retry says so inside the job view, next to the button, because a phone's sheet covers the status line. A screen reader hears it once: on the web from the view's one live region (the status line stays quiet), and in the app as an accessibility announcement. - Tells Equipo the team's zone. It sends
PUT /api/v1/assistant/time-zone {"time_zone": BASE_TIMEZONE, "only_if_unset": true}, so a zone from the person's own device wins. It sends it once per member each time Base starts and again on a new connection. The call runs in the background with a 5 s bound, so it never holds up a page or the member's lock. Base remembers any 2xx, and any 4xx except 404 and 429. After a 5xx, a 429, a 404 (an Equipo without the route yet, so the order of deploys doesn't matter) or a timeout, it waits an hour before trying again. - Default zone.
BASE_TIMEZONEdefaults toEurope/Dublin(Paul's ruling).
Not in this change (deferred)
- "Change the limit" (
assistant.job.change_limit, approved inpaused-budget-view.html, copy reviewed). Equipo's job card has no link for it yet. When Equipo sends one (a card link with its ownrel), Base draws it in the job view of a spending-limit pause. - "Paused until 21:00 tonight" in the view (
assistant.job.paused_view). The contract has a singleresult, so the view repeats the pill's "Paused until 21:00". - The person's own zone from Base's clients. Base sends the team's zone only when the person has none. Relaying the browser's or the app's own zone is for later.
- Older clients of Base. Base opts in for all of its clients. A tab still running the old
ask.jsignores a paused job until it reloads, and a native build from before this change would drop it. No native build has shipped yet.