| 1 | # API error copy review, 2026-11-23 |
| 2 | |
| 3 | The Projects device API exposed `api.repo_not_allowed` without text. The new |
| 4 | source guard then found 17 further HTTP error keys without text. Paul delegated |
| 5 | these reviews to Luna; the controller supplied the verdicts below and directed |
| 6 | their exact application. All 18 keys were marked pending with copy-status.py |
| 7 | before recording Luna's markers and the accepted inventory entries. Native |
| 8 | imports the same strings and checks parity. |
| 9 | |
| 10 | The first scan also found `provider_error` in Assistant tool output. It is not |
| 11 | an HTTP copy key. The guard scans error-producing paths and has no exceptions |
| 12 | for missing copy. It also covers scoped notification, roster and budget errors. |
| 13 | |
| 14 | Validation: TestAPIErrorCopyKeys failed on the omissions first. Removing |
| 15 | api.repo_not_allowed and introducing a new HTTP error without text each made |
| 16 | the guard fail; both mutations were restored. The affected Go package, release |
| 17 | copy inventory, vet, staticcheck, formatting and module checks pass. A broader |
| 18 | onboarding acceptance test fails with provider_uncertain on this branch and |
| 19 | unchanged main 198ce406; it is unrelated to copy. |
| 20 | |
| 21 | |
| 22 | ## Luna brief 9 |
| 23 | |
| 24 | # Copy review brief: Equipo error string (2026-11-23) |
| 25 | |
| 26 | Paul delegates copy review to you; your edits will be applied as approved copy. |
| 27 | Context: Equipo's apps and web show this error when a person sends a request |
| 28 | with a project selected, but the project's repository is not reachable by their |
| 29 | runner (it's not in the runner's current allowlist; for example access was |
| 30 | removed or the repository is offline). The message stays visible with a Retry |
| 31 | action. A different, already-approved notice covers a project removed while a |
| 32 | request is in progress. |
| 33 | |
| 34 | ## String (id fixed, text yours) |
| 35 | - `api.repo_not_allowed`: Draft: `Equipo can't reach this project.` |
| 36 | |
| 37 | ## House rules (Paul's, binding) |
| 38 | No em dashes, no exclamation marks. Plain words, short, sentence case. Say what |
| 39 | happened and what to do. Don't change facts; flag what looks wrong. |
| 40 | |
| 41 | ## Output |
| 42 | 1. Table: `id | current | new (or "unchanged") | why`. |
| 43 | 2. Flagged rows. |
| 44 | 3. Counts. |
| 45 | |
| 46 | |
| 47 | ## Luna result 9 |
| 48 | |
| 49 | | id | current | new (or "unchanged") | why | |
| 50 | |---|---|---|---| |
| 51 | | `api.repo_not_allowed` | Equipo can't reach this project. | Your runner can't reach this project's repository. Make sure the repository is available, then try again. | Explains what happened and gives a clear next step. | |
| 52 | |
| 53 | Flagged rows: |
| 54 | |
| 55 | - `api.repo_not_allowed`: The draft does not tell the person what to do. It also refers to the project rather than its repository. |
| 56 | |
| 57 | Counts: 1 reviewed, 1 changed, 0 unchanged, 1 flagged. |
| 58 | |
| 59 | |
| 60 | ## Luna brief 10 |
| 61 | |
| 62 | # Copy review brief: Equipo API error messages (2026-11-23) |
| 63 | |
| 64 | Paul delegates copy review to you; your edits will be applied as approved copy. |
| 65 | Equipo is Oficina's team app; a Coordinator agent works with specialists on |
| 66 | tasks in code projects. These errors are shown to a person in the web app and |
| 67 | the iPhone and Mac apps when an action is refused. Today they show as bare keys, |
| 68 | so these will be the first words people see. Each row: key, draft, when it |
| 69 | happens, and what the person can do next. |
| 70 | |
| 71 | - `api.card_answered`: "This card has already been answered. Check the conversation for what happened." Answering a card that's already completed. Next: read the card/conversation. |
| 72 | - `api.card_stale`: "This item has changed. Check it before trying again." Answering an open card with an out-of-date version. Next: look at the updated card, then answer. (Same words as an existing native string.) |
| 73 | - `api.confirmation_required`: "Confirm the spending limit and check both budget amounts before continuing." Adding a metered (paid) model key without the required confirmations. Next: complete them. (Exact existing web text.) |
| 74 | - `api.coordinator_busy`: "Your coordinator is working. Wait for its reply, then try again." Resetting notes or moving a task while the Coordinator is mid-reply. Next: wait. |
| 75 | - `api.hold_bar`: "This work is waiting on a spending limit or an unknown spend. Check the hold before continuing." "Run now" on work held by a budget limit or by spend that couldn't be confirmed. Next: check the hold; raise the budget or check provider spend, then Resume. |
| 76 | - `api.idempotency_conflict`: "This request changed. Check the latest details before trying again." A repeated request with different content, or the thing changed since you loaded it. Next: refresh, check, submit again on purpose. |
| 77 | - `api.models_not_allowed`: "Choose at least one model available to this connection." Saving a connection's models with none, or one this key can't use. Next: pick from the available list. |
| 78 | - `api.not_active`: "This specialist is no longer active." Revoking a specialist that already stopped. Next: nothing needed. |
| 79 | - `api.not_askable`: "This work no longer has a session you can ask about." Asking a question about work whose session isn't kept any more. Next: ask in the main conversation. |
| 80 | - `api.not_mergeable`: "This task cannot be merged now. Check its latest status." Merging a task that isn't ready or fails a merge requirement. Next: look at the task. |
| 81 | - `api.not_retryable`: "This work cannot be retried now. Check its latest status." Retrying when nothing failed that can be retried. Next: look at the latest status. |
| 82 | - `api.question_ended`: "This question has ended. Check its answer in the task." Cancelling a question that already finished (it may have been answered, failed or cancelled). Next: look at the result. |
| 83 | - `api.runner_offline`: "Your runner is offline. Reconnect it, then try again." Actions needing the person's runner (their machine that runs agents) while it's offline. Next: reconnect it. |
| 84 | - `api.task_busy`: "This task is still working. Wait for it to finish, then try again." Changing a task while its steps or a question are still running. Next: wait. |
| 85 | - `api.task_ended`: "This task has ended. Check its result." Changing a task that's done or cancelled. Next: look at the result; start a new request if needed. |
| 86 | - `api.task_merging`: "This task is merging. Wait for it to finish." Changing a task while its merge is under way. Next: wait. |
| 87 | - `api.turn_ended`: "Your coordinator has finished this reply." Stopping a reply that already ended (finished, failed or cancelled). Next: read the reply; nothing to stop. (Alternative: "This reply has ended.") |
| 88 | |
| 89 | ## House rules (Paul's, binding) |
| 90 | No em dashes, no exclamation marks. Plain words, short, sentence case. Say what |
| 91 | happened and what to do. Consistent voice across the set. Don't change facts; |
| 92 | flag what looks wrong. |
| 93 | |
| 94 | ## Output |
| 95 | 1. Table: `id | current | new (or "unchanged") | why`. |
| 96 | 2. Flagged rows. |
| 97 | 3. Counts. |
| 98 | |
| 99 | |
| 100 | ## Luna result 10 |
| 101 | |
| 102 | | id | current | new (or "unchanged") | why | |
| 103 | |---|---|---|---| |
| 104 | | `api.card_answered` | “This card has already been answered. Check the conversation for what happened.” | unchanged | Clear and actionable. | |
| 105 | | `api.card_stale` | “This item has changed. Check it before trying again.” | unchanged | Preserve exact existing native string. | |
| 106 | | `api.confirmation_required` | “Confirm the spending limit and check both budget amounts before continuing.” | unchanged | Preserve exact existing web text. | |
| 107 | | `api.coordinator_busy` | “Your coordinator is working. Wait for its reply, then try again.” | unchanged | Clear and direct. | |
| 108 | | `api.hold_bar` | “This work is waiting on a spending limit or an unknown spend. Check the hold before continuing.” | “This work is on hold because of a spending limit or unconfirmed spend. Check the hold, then raise the limit or check provider spend before resuming.” | Clarifies the state and next action. | |
| 109 | | `api.idempotency_conflict` | “This request changed. Check the latest details before trying again.” | “The latest details are different. Refresh, check them, then try again.” | Covers both changed requests and changed items. | |
| 110 | | `api.models_not_allowed` | “Choose at least one model available to this connection.” | “Choose at least one model that this connection can use.” | More natural and specific. | |
| 111 | | `api.not_active` | “This specialist is no longer active.” | “This specialist is no longer active. No action is needed.” | States the required next step. | |
| 112 | | `api.not_askable` | “This work no longer has a session you can ask about.” | “This work no longer has a session you can ask about. Ask in the main conversation.” | Adds the available alternative. | |
| 113 | | `api.not_mergeable` | “This task cannot be merged now. Check its latest status.” | unchanged | Clear and actionable. | |
| 114 | | `api.not_retryable` | “This work cannot be retried now. Check its latest status.” | unchanged | Clear and actionable. | |
| 115 | | `api.question_ended` | “This question has ended. Check its answer in the task.” | “This question has ended. Check the result in the task.” | The question may have failed or been cancelled, so it may not have an answer. | |
| 116 | | `api.runner_offline` | “Your runner is offline. Reconnect it, then try again.” | unchanged | Clear and actionable. | |
| 117 | | `api.task_busy` | “This task is still working. Wait for it to finish, then try again.” | unchanged | Clear and actionable. | |
| 118 | | `api.task_ended` | “This task has ended. Check its result.” | unchanged | Clear and actionable. | |
| 119 | | `api.task_merging` | “This task is merging. Wait for it to finish.” | unchanged | Clear and actionable. | |
| 120 | | `api.turn_ended` | “Your coordinator has finished this reply.” | “This reply has ended.” | Applies to finished, failed, and cancelled replies. | |
| 121 | |
| 122 | Flagged rows: |
| 123 | |
| 124 | - `api.hold_bar`: “unknown spend” is unclear to people. I changed it to “unconfirmed spend.” |
| 125 | - `api.idempotency_conflict`: “This request changed” is ambiguous because either the request or the underlying item may have changed. |
| 126 | - `api.question_ended`: “Check its answer” is not always accurate because the question may have failed or been cancelled. |
| 127 | - `api.turn_ended`: “finished” can imply success, but the reply may have failed or been cancelled. |
| 128 | |
| 129 | Counts: 17 rows reviewed, 7 changed, 10 unchanged, 4 flagged. |
| 130 | |