oficina / base Public

Clone
git clone https://amadan.net/oficina/base

Plain git — no account needed to clone.

Download

Download this file

The Assistant pushes work through: jobs

Date: 2026-11-13. Follows 2026-11-12-equipo-assistant-design.md (slice 1, released to staging as Equipo 518203e2 and Base 9fdf0ca).

What went wrong in the live check

Paul asked Base for a website. The Assistant said it had "passed the request to the team". The Coordinator's own question then appeared as a second voice ("Yes. What should the website be about…?"). Paul answered it in the chat. The Assistant had never seen the question, so it answered his words as a new question about disability benefits. When he corrected it, the Assistant sent a clarification to "the team", the work stopped, and the chat told him someone had to review it in Equipo. A dead end.

Paul's direction: Base speaks in outcomes and never names Equipo, the team or how work is done, unless asked. A Base user never has to go into Equipo. The Assistant pushes work through itself and only stops for decisions that are the person's. A job view may offer "Open in Equipo" as an optional link.

The design

1. One voice

Nothing from the Coordinator reaches the person directly. Every word in Base's chat is the Assistant's.

  • Team question cards are no longer mirrored into the Assistant lane. Only the go-ahead (merge) and Publish cards are, because those are the person's decisions and their wording comes from the instance.
  • The "needs you in Equipo" blocked card is removed from the chat. A blocked job shows on its pill instead (section 3).

2. The Assistant answers the team itself, or asks once

When a job's Coordinator turn raises a question, the instance queues a team_update turn for the Assistant whose note carries the question and its options. The Assistant then:

  • answers it itself with a new team_reply{request, answer} operation when the conversation already holds the answer (most of the time: the person said what they want), or
  • asks the person once, in its own words, as a plain message, and passes their reply with team_reply in the turn that receives it.

team_reply answers the open team question for that request through the question's own answer path (the same path the person's answer takes today, attributed to the person). answer must be one of the question's options when it has options; otherwise free text up to 2000 characters. The words-check that guards team_request does not apply: the Assistant may answer from context. It is a write: idempotency-keyed and audited without payload.

The Assistant's lane always knows a job's open question: team_status returns it, and the next turn's opening note lists open questions for the person's jobs.

3. Jobs and the pill

Each hand-off is a job with a short title the Assistant gives it (team_request gains title, up to 60 characters, such as "Building your website"). The instance projects the job into the Assistant lane as a new card kind job: {id, revision, kind:"job", state, question:<title>, options:[], links:[], result:<stage line>} with states:

| state | shown as | |---|---| | working | the title with a quiet animated mark | | asking | the title, "One question for you" (only while the Assistant waits for the person) | | ready | the title, "Ready to try", with the preview link | | done | the title, "Done", with the result link if any | | stopped | the title, "Stopped" (only after the Assistant has tried to push it through, below) |

Base draws a job card as a compact pill inside the conversation, updated in place. Tapping it opens a small job view: the stage line, the preview or site link, and a secondary "Open in Equipo" link (the only place Base names Equipo, and never a required step). The go-ahead and Publish cards attach under their job's pill.

Routine progress produces no chat messages. The Assistant speaks only for an outcome (ready, published, done), a question it can't answer itself, or a stop it couldn't get past.

4. Pushing through

When a job stops (its Coordinator turn ended without work, a step failed, or the work is blocked), the instance queues a team_update for the Assistant with the reason, and the Assistant tries to push it through before telling the person:

  • no work started: team_nudge{request, words} asks the Coordinator to proceed, quoting what the person wants;
  • a failed step: team_nudge asks for a retry;
  • blocked on access or setup only a person can grant: the pill shows stopped, the Assistant tells the person plainly what's needed, and the job view offers "Open in Equipo".

At most two nudges per job without new words from the person; then the job is stopped and the Assistant says so in one line.

5. The Assistant's instructions

  • You are Base. Never name Equipo, the team, the Coordinator, runners, tasks, branches, merges, checks or repositories, unless the person asks how it works.
  • When you hand work off, reply in a few words ("On it.") and give the job a title. Don't narrate progress; the pill shows it.
  • Answer the team's questions yourself when the conversation holds the answer. Ask the person only when it doesn't, once, in your words.
  • Push stopped work through (section 4) before reporting it.
  • Keep answers short. Plain sentences; simple lists are fine.

6. Base

  • Draws job pills and the job view; attaches go-ahead and Publish cards to their job.
  • Renders simple Markdown in Assistant messages: bold, italics, bullet and numbered lists, links (existing safe-link rules).
  • Applies the wording approved in copy-review c3ipwcupsvwv7rpbj2kdbgrsyy (no "Equipo" in the chat, setup or Settings).
  • Composer: the icon Send and Stop (Base e5bfdc1).

Copy

New strings are drafted, marked pending, and reviewed with Paul before any release (nothing ships unreviewed): the pill stage lines ("One question for you", "Ready to try", "Done", "Stopped"), the job view's labels and "Open in Equipo". The team_update notes and the Assistant's instructions are model-facing, not copy.

Also in this work: job threads

Hand-offs no longer post into the person's own Coordinator conversation. Each job gets its own Coordinator thread (lane job:<id>, wire protocol 21), listed in Equipo under "From Base"; the job card's title links to it (Paul, 2026-11-13).

Out of scope

Widgets, the move to base.oficina.works. (The docked chat layout was added to this work at Paul's request on 2026-11-13: Home on the left, Ask Base docked on the right under the header, open by default, closable, remembered per member; phones unchanged.)