oficina / equipo Public

Mark the Oficina connection copy approved

Paul approved all Oficina copy verbatim in copy review
arfnqquz6wks4vdyxptv6ditju (2026-11-16): the ten keys
assistant.connect.oficina, assistant.connect.oficina_link,
oficina.connect.{title,connected,denied,expired,unavailable,
disconnected}, copyOficinaConfig and copyOficinaCardFailed, and the API
doc's connect-card sentences. copy.go and the Plan 3 inventory rows
now carry COPY APPROVED with that review id, and the inventory check
accepts it. No words changed; make copy-release-check passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev e55833bcf65fd23c9ca96d9968041d6764598b74 parent 86f836c
3 files changed, +24 −22
  • docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md +11 −11
  • internal/equipo/copy.go +10 −10
  • internal/plan3test/plan3_release_test.go +3 −1

CI passed — run details

diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
index 18c4f0c4..89c67da9 100644
--- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
+++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md
@@ -6678,17 +6678,17 @@ records remain unchanged.
| `placement.observed` | Observed by Equipo | Project placement | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-15) |
| `placement.forget` | Remove correction | Project placement | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-15) |
| `placement.abandon_help` | You can abandon this move to keep the task here without restarting work. | Project placement | Runtime; COPY ACCEPTED BY DELEGATION (Astra, 2026-11-15) |
-| `assistant.connect.oficina` | Connect your Oficina apps | Assistant connect card: its question, raised when the person asks for something the Oficina apps do before connecting them (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `assistant.connect.oficina_link` | Connect | Assistant connect card: the label of its one link, which starts connecting (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `oficina.connect.title` | Oficina apps | the page after connecting or disconnecting the Oficina apps: its title (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `oficina.connect.connected` | Your Oficina apps are connected. You can close this page and carry on in your conversation. | the page once the Oficina apps are connected (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `oficina.connect.denied` | Your Oficina apps were not connected. You can connect them later from your conversation. | the page when the person did not allow the connection (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `oficina.connect.expired` | This took too long or was already used. Use the card in your conversation to try again. | the page when the consent is too old, used, or not this person's (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `oficina.connect.unavailable` | Oficina could not be reached. Try again in a minute. | the page when oficina-connect cannot be reached (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `oficina.connect.disconnected` | Your Oficina apps are disconnected. Your assistant can no longer use them. | the page after disconnecting the Oficina apps (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `copyOficinaConfig` | EQUIPO_OFICINA_CONNECT_ORIGIN must be an HTTPS address, with EQUIPO_OFICINA_CONNECT_CLIENT_ID set. | boot error for a refused oficina-connect configuration (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `copyOficinaCardFailed` | Could not show the card to connect Oficina apps. | log line when the connect card could not be raised (oficina, 2026-11-16) | Runtime; COPY REVIEW REQUIRED |
-| `docs/api/equipo-v1.md / Talk to the Assistant: connect cards` | A `connect` card asks you to connect something the Assistant needs, such as your Oficina apps: it has no options and one link, which you open in your browser to connect. It is answered by connecting, not through the API, and is `resolved` once you have. The Oficina apps' card link has `rel: "oficina_connect"`: call `POST /api/v1/assistant/oficina/connect` with `{"return_to":"<address on your origin>"}` and send the browser to the `url` it returns. The return address must be on an origin in `EQUIPO_ASSISTANT_HOSTS`, or the answer is `422 invalid_input`. After the consent page the browser comes back to it with `oficina_state` and `oficina_code`, which you pass to `POST /api/v1/assistant/oficina/connect/finish` as `{"state":"…","code":"…"}` with the same person's bearer, within two minutes. The answer is `200` with `status` `connected`, `denied`, `expired` or `unavailable`, or `403 forbidden` when the consent was started by someone else. When the consent fails, the browser comes back with `oficina` set to `denied`, `expired` or `unavailable` instead. | API doc: the new sentence on connect cards in the card paragraph (oficina, 2026-11-16) | API; COPY REVIEW REQUIRED |
+| `assistant.connect.oficina` | Connect your Oficina apps | Assistant connect card: its question, raised when the person asks for something the Oficina apps do before connecting them (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `assistant.connect.oficina_link` | Connect | Assistant connect card: the label of its one link, which starts connecting (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `oficina.connect.title` | Oficina apps | the page after connecting or disconnecting the Oficina apps: its title (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `oficina.connect.connected` | Your Oficina apps are connected. You can close this page and carry on in your conversation. | the page once the Oficina apps are connected (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `oficina.connect.denied` | Your Oficina apps were not connected. You can connect them later from your conversation. | the page when the person did not allow the connection (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `oficina.connect.expired` | This took too long or was already used. Use the card in your conversation to try again. | the page when the consent is too old, used, or not this person's (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `oficina.connect.unavailable` | Oficina could not be reached. Try again in a minute. | the page when oficina-connect cannot be reached (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `oficina.connect.disconnected` | Your Oficina apps are disconnected. Your assistant can no longer use them. | the page after disconnecting the Oficina apps (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `copyOficinaConfig` | EQUIPO_OFICINA_CONNECT_ORIGIN must be an HTTPS address, with EQUIPO_OFICINA_CONNECT_CLIENT_ID set. | boot error for a refused oficina-connect configuration (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `copyOficinaCardFailed` | Could not show the card to connect Oficina apps. | log line when the connect card could not be raised (oficina, 2026-11-16) | Runtime; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
+| `docs/api/equipo-v1.md / Talk to the Assistant: connect cards` | A `connect` card asks you to connect something the Assistant needs, such as your Oficina apps: it has no options and one link, which you open in your browser to connect. It is answered by connecting, not through the API, and is `resolved` once you have. The Oficina apps' card link has `rel: "oficina_connect"`: call `POST /api/v1/assistant/oficina/connect` with `{"return_to":"<address on your origin>"}` and send the browser to the `url` it returns. The return address must be on an origin in `EQUIPO_ASSISTANT_HOSTS`, or the answer is `422 invalid_input`. After the consent page the browser comes back to it with `oficina_state` and `oficina_code`, which you pass to `POST /api/v1/assistant/oficina/connect/finish` as `{"state":"…","code":"…"}` with the same person's bearer, within two minutes. The answer is `200` with `status` `connected`, `denied`, `expired` or `unavailable`, or `403 forbidden` when the consent was started by someone else. When the consent fails, the browser comes back with `oficina` set to `denied`, `expired` or `unavailable` instead. | API doc: the new sentence on connect cards in the card paragraph (oficina, 2026-11-16) | API; COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged) |
## Task 21
diff --git a/internal/equipo/copy.go b/internal/equipo/copy.go
index c823248f..eb6100a0 100644
--- a/internal/equipo/copy.go
+++ b/internal/equipo/copy.go
@@ -57,8 +57,8 @@ const (
// The Oficina apps through oficina-connect: a configuration refused at
// boot, and a connect card that could not be raised (logged).
const (
- copyOficinaConfig = "EQUIPO_OFICINA_CONNECT_ORIGIN must be an HTTPS address, with EQUIPO_OFICINA_CONNECT_CLIENT_ID set." // COPY REVIEW REQUIRED
- copyOficinaCardFailed = "Could not show the card to connect Oficina apps." // COPY REVIEW REQUIRED
+ copyOficinaConfig = "EQUIPO_OFICINA_CONNECT_ORIGIN must be an HTTPS address, with EQUIPO_OFICINA_CONNECT_CLIENT_ID set." // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ copyOficinaCardFailed = "Could not show the card to connect Oficina apps." // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
)
// BootLog is the shared diagnostic used by the command entry point.
@@ -1654,17 +1654,17 @@ var pageCopy = map[string]string{
// The Assistant's connect card when the person asks for something
// the Oficina apps do before connecting them: the question, and the
// label of its one link, which starts connecting.
- "assistant.connect.oficina": "Connect your Oficina apps", // COPY REVIEW REQUIRED
- "assistant.connect.oficina_link": "Connect", // COPY REVIEW REQUIRED
+ "assistant.connect.oficina": "Connect your Oficina apps", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ "assistant.connect.oficina_link": "Connect", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
// The page after connecting the Oficina apps (/oficina/connect/...):
// done, refused at the consent page, a consent too old or not this
// person's, the connection service down; and after disconnecting.
- "oficina.connect.title": "Oficina apps", // COPY REVIEW REQUIRED
- "oficina.connect.connected": "Your Oficina apps are connected. You can close this page and carry on in your conversation.", // COPY REVIEW REQUIRED
- "oficina.connect.denied": "Your Oficina apps were not connected. You can connect them later from your conversation.", // COPY REVIEW REQUIRED
- "oficina.connect.expired": "This took too long or was already used. Use the card in your conversation to try again.", // COPY REVIEW REQUIRED
- "oficina.connect.unavailable": "Oficina could not be reached. Try again in a minute.", // COPY REVIEW REQUIRED
- "oficina.connect.disconnected": "Your Oficina apps are disconnected. Your assistant can no longer use them.", // COPY REVIEW REQUIRED
+ "oficina.connect.title": "Oficina apps", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ "oficina.connect.connected": "Your Oficina apps are connected. You can close this page and carry on in your conversation.", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ "oficina.connect.denied": "Your Oficina apps were not connected. You can connect them later from your conversation.", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ "oficina.connect.expired": "This took too long or was already used. Use the card in your conversation to try again.", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ "oficina.connect.unavailable": "Oficina could not be reached. Try again in a minute.", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)
+ "oficina.connect.disconnected": "Your Oficina apps are disconnected. Your assistant can no longer use them.", // COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, 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.",
diff --git a/internal/plan3test/plan3_release_test.go b/internal/plan3test/plan3_release_test.go
index b4461ef8..823733bc 100644
--- a/internal/plan3test/plan3_release_test.go
+++ b/internal/plan3test/plan3_release_test.go
@@ -177,11 +177,13 @@ func plan3CopyInventory(t *testing.T) {
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)")
// 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)") || strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-14, copy-review mbvzxmewxxgud4ksakdb2m7pye)")
+ // Paul's own review of the Oficina connection's strings and API sentence.
+ approvedOficina := strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY APPROVED (Paul, 2026-11-16, copy-review arfnqquz6wks4vdyxptv6ditju, unchanged)")
acceptedRoster := strings.HasPrefix(key, "roster.") && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-14)")
acceptedPlacement := strings.HasPrefix(key, "placement.") && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-15)")
acceptedReportActions := slices.Contains([]string{"roster.talk", "roster.round_busy", "roster.round_done", "roster.merge_busy", "roster.merge_done"}, key) && strings.HasSuffix(strings.TrimSuffix(cells[3], " |"), "COPY ACCEPTED BY DELEGATION (Astra, 2026-11-15)")
acceptedCopy := strings.TrimSuffix(cells[3], " |") == "COPY ACCEPTED BY DELEGATION (Copy, record-bound) sha256:"+copydesk.Hash(rows[key])
- if !acceptedPlacement && !acceptedReportActions && !acceptedRoster && !acceptedCopy && !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs {
+ if !acceptedPlacement && !acceptedReportActions && !acceptedRoster && !acceptedCopy && !strings.Contains(cells[3], "COPY REVIEW REQUIRED") && !acceptedAll && !acceptedGuide && !acceptedRound2 && !acceptedStarter && !acceptedDelegation && !approvedPublish && !approvedAssistant && !approvedJobs && !approvedOficina {
t.Fatal("entry has no copy review status or applicable acceptance", key)
}
}