oficina / equipo Public

Review the jobs copy and document its approval

Paul approved the jobs.* and assistant.job.* strings and the "Talk to the
Assistant" API section in copy-review cvaxhn3pwgpxhpssj5cgizqtrq on
2026-11-14. Every string is unchanged. One API sentence changed as approved:
"A runner on protocol 19 or 20 can still answer the Assistant, but cannot
start a job."

The copy.go markers and the inventory rows now record the approval, and the
release check accepts the two new markers.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 023be4c07ce68a1070fa5331ec49e9aa03a0e407 parent 357bee6
4 files changed, +53 −61
  • docs/api/equipo-v1.md +1 −11
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +25 −25
  • internal/equipo/copy.go +24 −24
  • internal/plan3test/plan3_release_test.go +3 −1

CI passed — run details

diff --git a/docs/api/equipo-v1.md b/docs/api/equipo-v1.md
index f93d4792..2ca01013 100644
--- a/docs/api/equipo-v1.md
+++ b/docs/api/equipo-v1.md
@@ -90,12 +90,8 @@ A new message is `201`, with the message and its turn. The same key and text aga
Follow the conversation with `GET /api/v1/assistant/events?after=<cursor>`, a stream of Server-Sent Events. `after` wins over `Last-Event-ID`. With neither, the stream starts at the newest event. The stream opens with `retry: 2000`, then sends each event as `id: <cursor>`, `event: <type>` and `data:` with the event as JSON, whose own `data` field holds the message, turn, delta, card or activity. The types are `message`, `turn`, `delta`, `card` and `activity`, and a `ping` comes every 20 seconds. A cursor that is too old is `410 cursor_expired`. Read the snapshot again and follow from its cursor.
-<!-- COPY REVIEW REQUIRED -->
-
A message has `role` `person` or `assistant`. A turn's `kind` is empty when it answers you, and `team_update` when the Assistant tells you, on its own, what the team did with something you asked for. A `team_update` turn may end with no message: its state is `replied` and its `reply_id` is empty. Cancel a turn in flight with `POST /api/v1/assistant/turns/{id}/cancel` and an empty JSON object. The answer is `202` with the turn's `attempt`, or `409 turn_ended` once the turn has ended.
-<!-- COPY REVIEW REQUIRED -->
-
A card has `id`, `revision`, `kind`, `state`, `question`, `options`, `links` and `result`. Its kind is `question`, `confirm`, `outcome`, `connect` or `job`. A `job` card has states of its own, below; any other card is `open`, `answered` or `resolved`. `options` and `links` are always arrays, never null. A link has `label` and `url`, and may have `rel`: `rel: "equipo"` marks a link to the job's page in Equipo. Answer an open card with `POST /api/v1/assistant/cards/{id}/answer`, one option's `value` and the card's revision:
```json
@@ -104,17 +100,11 @@ A card has `id`, `revision`, `kind`, `state`, `question`, `options`, `links` and
The answer is `200` with the card, your answer as a message, and its turn. When the answer starts no turn, `message` and `turn` are empty, with zero times: treat that as no new turn. A stale revision is `409` with code `card_stale`, and a card already answered is `409` with code `card_answered`. Both bodies carry the card as it is now in `card`. Answering a `question` card also needs your runner, so it can be `409 no_runner` or `409 runner_too_old`.
-<!-- COPY REVIEW REQUIRED -->
-
When you ask for real work, such as building or fixing something, the Assistant hands it off as a job with a short title and sees it through. It answers questions about the job itself when your conversation already holds the answer, and asks you only when it does not. If the job stops, it tries to get it going again before telling you. It speaks up when the job is ready, done or stuck, or when it needs your answer, and otherwise stays quiet: the job card shows how the job is going.
-<!-- COPY REVIEW REQUIRED -->
-
Each job has one `job` card, updated in place as the work goes on, so the same card `id` comes again in `card` events with a higher `revision`. Its `question` is the job's title, `result` its short status, `detail` one sentence more, and `started_at` when it began. Its state is `working`, `asking`, `ready`, `done` or `stopped`. A job card takes no answer: answering one is `404 not_found`. Its links may include something to try, the published site, and the job's page in Equipo. A go-ahead or Publish card for a job carries `job`, the job card's `id`. `job`, `detail` and `started_at` are left out when they do not apply.
-<!-- COPY REVIEW REQUIRED -->
-
-A job runs in its own thread, which you can follow in Equipo. Its messages, turns and cards never appear in the conversation that `/api/v1/snapshot` returns. Handing work off needs your runner on protocol 21 or later. An older runner can still answer the Assistant, but cannot start a job.
+A job runs in its own thread, which you can follow in Equipo. Its messages, turns and cards never appear in the conversation that `/api/v1/snapshot` returns. Handing work off needs your runner on protocol 21 or later. A runner on protocol 19 or 20 can still answer the Assistant, but cannot start a job.
Tell Equipo where your Base operations live with `PUT /api/v1/assistant/host`:
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index 8213bdb4..878a7d9c 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -6485,30 +6485,30 @@ records remain unchanged.
| `assistant.outcome.preview` | Try it | Assistant card: the preview link's label (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
| `assistant.outcome.needs_you` | This needs you to finish it. | Assistant card for a team card that waits on the person in Equipo (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review c3ipwcupsvwv7rpbj2kdbgrsyy, unchanged) |
| `assistant.outcome.open` | Take a look | Assistant card: the link into Equipo's label (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review c3ipwcupsvwv7rpbj2kdbgrsyy, unchanged) |
-| `jobs.title` | From Base | the Jobs page's title and its entry in the lane list (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `jobs.lead` | Work Ask Base started for you. You can follow it and reply here. | the Jobs page's opening line (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `jobs.empty` | Nothing has come from Base yet. | the Jobs page when there is no job (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `jobs.back` | Back to your conversation | a job thread's link back to the conversation (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `jobs.all` | All work from Base | a job thread's link to the Jobs page (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.status.starting` | Getting started | Assistant job card's short status while the work is starting (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.status.planning` | Planning it | Assistant job card's short status while the work is being planned (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.status.building` | Building it | Assistant job card's short status while the work is being built (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.status.checking` | Checking it works | Assistant job card's short status while the work is being checked (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.status.finishing` | Almost ready | Assistant job card's short status while the work is being finished (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.asking` | One question for you | Assistant job card's short status while it waits on the person's answer (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.ready` | Ready to try | Assistant job card's short status once the work is ready to try (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.done` | Done | Assistant job card's short status once the work is done (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.stopped` | Stopped | Assistant job card's short status once the work has stopped (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.starting` | Working out what's needed. | Assistant job card's detail line while the work is starting (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.planning` | Looking into the best way to do it. | Assistant job card's detail line while the work is being planned (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.building` | Making it now. | Assistant job card's detail line while the work is being built (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.checking` | Testing that everything works. | Assistant job card's detail line while the work is being checked (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.finishing` | Putting the finishing touches on it. | Assistant job card's detail line while the work is being finished (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.asking` | Waiting for your answer before going on. | Assistant job card's detail line while it waits on the person's answer (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.ready` | Ready for you to try before it goes live. | Assistant job card's detail line once the work is ready to try (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.done` | Finished. | Assistant job card's detail line once the work is done (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.detail.stopped` | It can't go on until something is sorted out. | Assistant job card's detail line once the work has stopped (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.job.open` | Open in Equipo | Assistant job card: the label of its link to the job's page in Equipo, the job view's title in Base (assistant, 2026-11-13) | Runtime; COPY REVIEW REQUIRED |
+| `jobs.title` | From Base | the Jobs page's title and its entry in the lane list (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `jobs.lead` | Work Ask Base started for you. You can follow it and reply here. | the Jobs page's opening line (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `jobs.empty` | Nothing has come from Base yet. | the Jobs page when there is no job (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `jobs.back` | Back to your conversation | a job thread's link back to the conversation (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `jobs.all` | All work from Base | a job thread's link to the Jobs page (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.status.starting` | Getting started | Assistant job card's short status while the work is starting (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.status.planning` | Planning it | Assistant job card's short status while the work is being planned (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.status.building` | Building it | Assistant job card's short status while the work is being built (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.status.checking` | Checking it works | Assistant job card's short status while the work is being checked (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.status.finishing` | Almost ready | Assistant job card's short status while the work is being finished (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.asking` | One question for you | Assistant job card's short status while it waits on the person's answer (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.ready` | Ready to try | Assistant job card's short status once the work is ready to try (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.done` | Done | Assistant job card's short status once the work is done (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.stopped` | Stopped | Assistant job card's short status once the work has stopped (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.starting` | Working out what's needed. | Assistant job card's detail line while the work is starting (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.planning` | Looking into the best way to do it. | Assistant job card's detail line while the work is being planned (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.building` | Making it now. | Assistant job card's detail line while the work is being built (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.checking` | Testing that everything works. | Assistant job card's detail line while the work is being checked (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.finishing` | Putting the finishing touches on it. | Assistant job card's detail line while the work is being finished (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.asking` | Waiting for your answer before going on. | Assistant job card's detail line while it waits on the person's answer (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.ready` | Ready for you to try before it goes live. | Assistant job card's detail line once the work is ready to try (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.done` | Finished. | Assistant job card's detail line once the work is done (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.detail.stopped` | It can't go on until something is sorted out. | Assistant job card's detail line once the work has stopped (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
+| `assistant.job.open` | Open in Equipo | Assistant job card: the label of its link to the job's page in Equipo, the job view's title in Base (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged) |
| `assistant.outcome.resolved` | This no longer needs an answer. | Assistant card's result once its team card was settled some other way (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
| `assistant.outcome.publish_question` | Your site is ready. Publish it? | Assistant Publish card's question (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
| `assistant.outcome.publish_option` | Publish | Assistant Publish card: the Publish option (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
@@ -6519,7 +6519,7 @@ records remain unchanged.
| `assistant.outcome.publish_failed` | Your site could not be published. | Assistant Publish card's result when nothing was published (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
| `assistant.outcome.publish_declined` | Your site was not published. | Assistant Publish card's result after Not now (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
| `assistant.outcome.publish_site` | Open your site | Assistant Publish card: the published site link's label (assistant, 2026-11-13) | Runtime; COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged) |
-| `docs/api/equipo-v1.md / Talk to the Assistant` | ## Talk to the Assistant<br><br>The routes under `/api/v1/assistant` serve Base's chat with the Assistant. Every route, `events` included, takes only `Authorization: Bearer &lt;token&gt;` with a person device token (audience `equipo.person.v1`). A session cookie is not accepted, and a request without a bearer gets `401 unauthenticated`. Every response has `Cache-Control: no-store`. Errors have the same body as the rest of this API: `code`, `copy_key`, `request_id` and, where it applies, `current_revision`.<br><br>The Assistant keeps its own conversation. Its messages, turns, cards and events never appear in the Coordinator's, and an ID from the Coordinator's conversation is `404 not_found` on every Assistant route.<br><br>Start with `GET /api/v1/assistant/snapshot`. It returns `me`, the newest messages and their turns, the cards, the event `cursor`, and `available`. `available` is false when you have no runner of your own, or when your runner needs an update before it can answer the Assistant. Read older messages with `GET /api/v1/assistant/messages?before=&lt;message ID&gt;&amp;limit=&lt;count&gt;`. `limit` is 1 to 200 and defaults to 50. The `before` in the response is the cursor for the page before; it is empty at the start of the conversation.<br><br>Send a message with `POST /api/v1/assistant/messages` and a key of your choosing, 1 to 128 bytes, in the body:<br><br>```json<br>{"text":"What can I do here?","idempotency_key":"&lt;a new key for each message&gt;"}<br>```<br><br>A new message is `201`, with the message and its turn. The same key and text again return `200` with the same result; the same key with other text is `409 idempotency_conflict`. Without a runner of your own the answer is `409 no_runner`, and with a runner that needs an update it is `409 runner_too_old`. Nothing is stored in either case. The Assistant takes words only, so a message with `attachments` is `422 invalid_input`.<br><br>Follow the conversation with `GET /api/v1/assistant/events?after=&lt;cursor&gt;`, a stream of Server-Sent Events. `after` wins over `Last-Event-ID`. With neither, the stream starts at the newest event. The stream opens with `retry: 2000`, then sends each event as `id: &lt;cursor&gt;`, `event: &lt;type&gt;` and `data:` with the event as JSON, whose own `data` field holds the message, turn, delta, card or activity. The types are `message`, `turn`, `delta`, `card` and `activity`, and a `ping` comes every 20 seconds. A cursor that is too old is `410 cursor_expired`. Read the snapshot again and follow from its cursor.<br><br>A message has `role` `person` or `assistant`. A turn's `kind` is empty when it answers you, and `team_update` when the Assistant tells you, on its own, what the team did with something you asked for. A `team_update` turn may end with no message: its state is `replied` and its `reply_id` is empty. Cancel a turn in flight with `POST /api/v1/assistant/turns/{id}/cancel` and an empty JSON object. The answer is `202` with the turn's `attempt`, or `409 turn_ended` once the turn has ended.<br><br>A card has `id`, `revision`, `kind`, `state`, `question`, `options`, `links` and `result`. Its kind is `question`, `confirm`, `outcome`, `connect` or `job`. A `job` card has states of its own, below; any other card is `open`, `answered` or `resolved`. `options` and `links` are always arrays, never null. A link has `label` and `url`, and may have `rel`: `rel: "equipo"` marks a link to the job's page in Equipo. Answer an open card with `POST /api/v1/assistant/cards/{id}/answer`, one option's `value` and the card's revision:<br><br>```json<br>{"choice":"Yes","revision":2}<br>```<br><br>The answer is `200` with the card, your answer as a message, and its turn. When the answer starts no turn, `message` and `turn` are empty, with zero times: treat that as no new turn. A stale revision is `409` with code `card_stale`, and a card already answered is `409` with code `card_answered`. Both bodies carry the card as it is now in `card`. Answering a `question` card also needs your runner, so it can be `409 no_runner` or `409 runner_too_old`.<br><br>When you ask for real work, such as building or fixing something, the Assistant hands it off as a job with a short title and sees it through. It answers questions about the job itself when your conversation already holds the answer, and asks you only when it does not. If the job stops, it tries to get it going again before telling you. It speaks up when the job is ready, done or stuck, or when it needs your answer, and otherwise stays quiet: the job card shows how the job is going.<br><br>Each job has one `job` card, updated in place as the work goes on, so the same card `id` comes again in `card` events with a higher `revision`. Its `question` is the job's title, `result` its short status, `detail` one sentence more, and `started_at` when it began. Its state is `working`, `asking`, `ready`, `done` or `stopped`. A job card takes no answer: answering one is `404 not_found`. Its links may include something to try, the published site, and the job's page in Equipo. A go-ahead or Publish card for a job carries `job`, the job card's `id`. `job`, `detail` and `started_at` are left out when they do not apply.<br><br>A job runs in its own thread, which you can follow in Equipo. Its messages, turns and cards never appear in the conversation that `/api/v1/snapshot` returns. Handing work off needs your runner on protocol 21 or later. An older runner can still answer the Assistant, but cannot start a job.<br><br>Tell Equipo where your Base operations live with `PUT /api/v1/assistant/host`:<br><br>```json<br>{"origin":"https://base.example","token":"&lt;token from Base&gt;"}<br>```<br><br>The origin is `https://` and a host name with no path, or `http://` on loopback only. It must be on the instance's `EQUIPO_ASSISTANT_HOSTS` list, or the answer is `403 host_not_allowed`. The token is 20 to 512 visible ASCII characters, with no spaces. The answer is `200` with `origin` and `revision`; the token is never given back. A second `PUT` replaces the first. | API doc: the Assistant's routes under /api/v1/assistant, for Base, now with jobs and job threads (assistant, 2026-11-13) | API; COPY REVIEW REQUIRED |
+| `docs/api/equipo-v1.md / Talk to the Assistant` | ## Talk to the Assistant<br><br>The routes under `/api/v1/assistant` serve Base's chat with the Assistant. Every route, `events` included, takes only `Authorization: Bearer &lt;token&gt;` with a person device token (audience `equipo.person.v1`). A session cookie is not accepted, and a request without a bearer gets `401 unauthenticated`. Every response has `Cache-Control: no-store`. Errors have the same body as the rest of this API: `code`, `copy_key`, `request_id` and, where it applies, `current_revision`.<br><br>The Assistant keeps its own conversation. Its messages, turns, cards and events never appear in the Coordinator's, and an ID from the Coordinator's conversation is `404 not_found` on every Assistant route.<br><br>Start with `GET /api/v1/assistant/snapshot`. It returns `me`, the newest messages and their turns, the cards, the event `cursor`, and `available`. `available` is false when you have no runner of your own, or when your runner needs an update before it can answer the Assistant. Read older messages with `GET /api/v1/assistant/messages?before=&lt;message ID&gt;&amp;limit=&lt;count&gt;`. `limit` is 1 to 200 and defaults to 50. The `before` in the response is the cursor for the page before; it is empty at the start of the conversation.<br><br>Send a message with `POST /api/v1/assistant/messages` and a key of your choosing, 1 to 128 bytes, in the body:<br><br>```json<br>{"text":"What can I do here?","idempotency_key":"&lt;a new key for each message&gt;"}<br>```<br><br>A new message is `201`, with the message and its turn. The same key and text again return `200` with the same result; the same key with other text is `409 idempotency_conflict`. Without a runner of your own the answer is `409 no_runner`, and with a runner that needs an update it is `409 runner_too_old`. Nothing is stored in either case. The Assistant takes words only, so a message with `attachments` is `422 invalid_input`.<br><br>Follow the conversation with `GET /api/v1/assistant/events?after=&lt;cursor&gt;`, a stream of Server-Sent Events. `after` wins over `Last-Event-ID`. With neither, the stream starts at the newest event. The stream opens with `retry: 2000`, then sends each event as `id: &lt;cursor&gt;`, `event: &lt;type&gt;` and `data:` with the event as JSON, whose own `data` field holds the message, turn, delta, card or activity. The types are `message`, `turn`, `delta`, `card` and `activity`, and a `ping` comes every 20 seconds. A cursor that is too old is `410 cursor_expired`. Read the snapshot again and follow from its cursor.<br><br>A message has `role` `person` or `assistant`. A turn's `kind` is empty when it answers you, and `team_update` when the Assistant tells you, on its own, what the team did with something you asked for. A `team_update` turn may end with no message: its state is `replied` and its `reply_id` is empty. Cancel a turn in flight with `POST /api/v1/assistant/turns/{id}/cancel` and an empty JSON object. The answer is `202` with the turn's `attempt`, or `409 turn_ended` once the turn has ended.<br><br>A card has `id`, `revision`, `kind`, `state`, `question`, `options`, `links` and `result`. Its kind is `question`, `confirm`, `outcome`, `connect` or `job`. A `job` card has states of its own, below; any other card is `open`, `answered` or `resolved`. `options` and `links` are always arrays, never null. A link has `label` and `url`, and may have `rel`: `rel: "equipo"` marks a link to the job's page in Equipo. Answer an open card with `POST /api/v1/assistant/cards/{id}/answer`, one option's `value` and the card's revision:<br><br>```json<br>{"choice":"Yes","revision":2}<br>```<br><br>The answer is `200` with the card, your answer as a message, and its turn. When the answer starts no turn, `message` and `turn` are empty, with zero times: treat that as no new turn. A stale revision is `409` with code `card_stale`, and a card already answered is `409` with code `card_answered`. Both bodies carry the card as it is now in `card`. Answering a `question` card also needs your runner, so it can be `409 no_runner` or `409 runner_too_old`.<br><br>When you ask for real work, such as building or fixing something, the Assistant hands it off as a job with a short title and sees it through. It answers questions about the job itself when your conversation already holds the answer, and asks you only when it does not. If the job stops, it tries to get it going again before telling you. It speaks up when the job is ready, done or stuck, or when it needs your answer, and otherwise stays quiet: the job card shows how the job is going.<br><br>Each job has one `job` card, updated in place as the work goes on, so the same card `id` comes again in `card` events with a higher `revision`. Its `question` is the job's title, `result` its short status, `detail` one sentence more, and `started_at` when it began. Its state is `working`, `asking`, `ready`, `done` or `stopped`. A job card takes no answer: answering one is `404 not_found`. Its links may include something to try, the published site, and the job's page in Equipo. A go-ahead or Publish card for a job carries `job`, the job card's `id`. `job`, `detail` and `started_at` are left out when they do not apply.<br><br>A job runs in its own thread, which you can follow in Equipo. Its messages, turns and cards never appear in the conversation that `/api/v1/snapshot` returns. Handing work off needs your runner on protocol 21 or later. A runner on protocol 19 or 20 can still answer the Assistant, but cannot start a job.<br><br>Tell Equipo where your Base operations live with `PUT /api/v1/assistant/host`:<br><br>```json<br>{"origin":"https://base.example","token":"&lt;token from Base&gt;"}<br>```<br><br>The origin is `https://` and a host name with no path, or `http://` on loopback only. It must be on the instance's `EQUIPO_ASSISTANT_HOSTS` list, or the answer is `403 host_not_allowed`. The token is 20 to 512 visible ASCII characters, with no spaces. The answer is `200` with `origin` and `revision`; the token is never given back. A second `PUT` replaces the first. | API doc: the Assistant's routes under /api/v1/assistant, for Base, now with jobs and job threads (assistant, 2026-11-13) | API; COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq) |
## Task 21
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index 813146f4..14a6136a 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -1489,11 +1489,11 @@ var pageCopy = map[string]string{
// Job threads (/jobs, /jobs/{id}): the work Ask Base handed to the
// team, each in a thread of its own, listed under "From Base".
- "jobs.title": "From Base", // COPY REVIEW REQUIRED
- "jobs.lead": "Work Ask Base started for you. You can follow it and reply here.", // COPY REVIEW REQUIRED
- "jobs.empty": "Nothing has come from Base yet.", // COPY REVIEW REQUIRED
- "jobs.back": "Back to your conversation", // COPY REVIEW REQUIRED
- "jobs.all": "All work from Base", // COPY REVIEW REQUIRED
+ "jobs.title": "From Base", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "jobs.lead": "Work Ask Base started for you. You can follow it and reply here.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "jobs.empty": "Nothing has come from Base yet.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "jobs.back": "Back to your conversation", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "jobs.all": "All work from Base", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
// COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context): conversation.empty
"conversation.empty": "Say what you want done. Your coordinator picks the project and tells you, and you can change it.",
@@ -2466,25 +2466,25 @@ var runnerDraftCopy = map[string]string{
// done or stopped; then each one's sentence more; the label of the
// link to the job's thread in Equipo. Never a task, a repository or
// a link into Equipo's tasks.
- "assistant.job.status.starting": "Getting started", // COPY REVIEW REQUIRED
- "assistant.job.status.planning": "Planning it", // COPY REVIEW REQUIRED
- "assistant.job.status.building": "Building it", // COPY REVIEW REQUIRED
- "assistant.job.status.checking": "Checking it works", // COPY REVIEW REQUIRED
- "assistant.job.status.finishing": "Almost ready", // COPY REVIEW REQUIRED
- "assistant.job.asking": "One question for you", // COPY REVIEW REQUIRED
- "assistant.job.ready": "Ready to try", // COPY REVIEW REQUIRED
- "assistant.job.done": "Done", // COPY REVIEW REQUIRED
- "assistant.job.stopped": "Stopped", // COPY REVIEW REQUIRED
- "assistant.job.detail.starting": "Working out what's needed.", // COPY REVIEW REQUIRED
- "assistant.job.detail.planning": "Looking into the best way to do it.", // COPY REVIEW REQUIRED
- "assistant.job.detail.building": "Making it now.", // COPY REVIEW REQUIRED
- "assistant.job.detail.checking": "Testing that everything works.", // COPY REVIEW REQUIRED
- "assistant.job.detail.finishing": "Putting the finishing touches on it.", // COPY REVIEW REQUIRED
- "assistant.job.detail.asking": "Waiting for your answer before going on.", // COPY REVIEW REQUIRED
- "assistant.job.detail.ready": "Ready for you to try before it goes live.", // COPY REVIEW REQUIRED
- "assistant.job.detail.done": "Finished.", // COPY REVIEW REQUIRED
- "assistant.job.detail.stopped": "It can't go on until something is sorted out.", // COPY REVIEW REQUIRED
- "assistant.job.open": "Open in Equipo", // COPY REVIEW REQUIRED
+ "assistant.job.status.starting": "Getting started", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.status.planning": "Planning it", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.status.building": "Building it", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.status.checking": "Checking it works", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.status.finishing": "Almost ready", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.asking": "One question for you", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.ready": "Ready to try", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.done": "Done", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.stopped": "Stopped", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.starting": "Working out what's needed.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.planning": "Looking into the best way to do it.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.building": "Making it now.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.checking": "Testing that everything works.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.finishing": "Putting the finishing touches on it.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.asking": "Waiting for your answer before going on.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.ready": "Ready for you to try before it goes live.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.done": "Finished.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.detail.stopped": "It can't go on until something is sorted out.", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
+ "assistant.job.open": "Open in Equipo", // COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)
// COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context): api.method_not_allowed
"api.method_not_allowed": "This action is not available here.",
// COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context): api.precondition_required
diff --git a/internal/plan3test/plan3_release_test.go b/internal/plan3test/plan3_release_test.go
index 61d164ab..1a161e20 100644
--- a/internal/plan3test/plan3_release_test.go
+++ b/internal/plan3test/plan3_release_test.go
@@ -174,7 +174,9 @@ func plan3CopyInventory(t *testing.T) {
approvedPublish := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-12, copy-review jadya3tfrmkf7t3ym2nqhpgira, unchanged)")
// Paul's own review of the Assistant lane's strings and API section.
approvedAssistant := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-13, copy-review jbltdd2mvwblrz4en6xfhv6d2y, unchanged)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-13, copy-review 64nswfjbrpsw2pezhyi7y3nenq, unchanged)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-13, copy-review c3ipwcupsvwv7rpbj2kdbgrsyy, unchanged)")
- if !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant {
+ // Paul's own review of the jobs strings and the API section's job prose.
+ approvedJobs := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq, unchanged)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-14, copy-review cvaxhn3pwgpxhpssj5cgizqtrq)")
+ if !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs {
t.Fatal("entry has no copy review status or applicable acceptance", key)
}
}