Show immediate loading feedback on action buttons
The release copy check fails whenever any wording is still waiting for review. The error message I added last round ("That did not go through. Try again.") was waiting for review, so the check failed. A failed card action now shows Equipo's existing approved message, "Something went wrong. Try again.", so there's no new wording to review, and I removed its entry from the copy review list. I couldn't run the check here because Go isn't installed, so I'll only know it passes when CI runs again.
Equipo task tkbadarq3dds, Engineering step attempt 1.
2 files changed,
+2
−3
docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md+0 −1internal/equipo/copy.go+2 −2
CI failed — run details
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md| index 2995b260..e83b783c 100644 |
| --- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| +++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| @@ -6480,7 +6480,6 @@ records remain 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 <token>` 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=<message ID>&limit=<count>`. `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":"<a new key for each message>"}<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=<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.<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. 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` or `connect`, and its state is `open`, `answered` or `resolved`. `options` and `links` are always arrays, never null. 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>Tell Equipo where your Base operations live with `PUT /api/v1/assistant/host`:<br><br>```json<br>{"origin":"https://base.example","token":"<token from Base>"}<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 (assistant, 2026-11-13) | API; COPY APPROVED (Paul, 2026-11-13, copy-review 64nswfjbrpsw2pezhyi7y3nenq, unchanged) | |
| -| `chat.card.failed` | That did not go through. Try again. | Conversation card: under a card action (Merge, Retry, an answer) whose background post failed (busy feedback, 2026-11-13) | Runtime; COPY REVIEW REQUIRED | |
| ## Task 21 |
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go| index d97f8f27..069c7e4a 100644 |
| --- a/internal/equipo/copy.go |
| +++ b/internal/equipo/copy.go |
| @@ -1483,8 +1483,8 @@ var pageCopy = map[string]string{ |
| "conversation.age_days": "%d d", // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |
| // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context): conversation.sending |
| "conversation.sending": "Sending", |
| - // COPY REVIEW REQUIRED: chat.card.failed, a card action's post that failed |
| - "chat.card.failed": "That did not go through. Try again.", |
| + // A card action's post that failed: the accepted render-failure words. |
| + "chat.card.failed": copyRenderFailure, |
| // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context): conversation.retry |
| "conversation.retry": "Retry", |
| "conversation.send_short": "Send", // COPY ACCEPTED FOR NOW (Paul, 2026-11-04; iterate in context) |