Copy review 13 drafts; theme tokens and Home's composer pins
Human
Prompt
Build Base's half of files in Ask, slice 1; new strings go in the copy review as the plan says.
From this commit's own message. The prompt ledger has no entries for it — which is what a squashed, rebased or amended commit looks like, and what every commit looks like in a repo without a ledger.
Summary
docs/copy-pending.md Review 13 (pending): every new string of slice 1 with its id, for Luna then Paul. The viewer's colours use the theme's tokens (TestStylesheetThemes); Home's tests pin the composer's opening tag without its new data attributes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+34
−5
docs/copy-pending.md+29 −0internal/look/static/app.css+2 −2internal/webtest/home_test.go+3 −3
CI failed — run details
CI log
=== build === CGO_ENABLED=0 go build ./... === vet === go vet ./... === fmt-check === === staticcheck === go run honnef.co/go/tools/cmd/staticcheck@v0.7.0 ./... === govulncheck === go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./... No vulnerabilities found. === gitleaks === [90m2:56PM[0m [32mINF[0m [1mUnknown SCM platform. Use --platform to include links in findings.[0m [36mhost=[0mamadan.net [90m2:56PM[0m [32mINF[0m [1m1 commits scanned.[0m [90m2:56PM[0m [32mINF[0m [1mscanned ~2696933 bytes (2.70 MB) in 276ms[0m [90m2:56PM[0m [32mINF[0m [1mno leaks found[0m === budget === go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget size budget size: 22 directories within budget === script-test === scripts/prepare-apps_test.sh ok releases lookup failure stops before ship ok app owned elsewhere stops the script ok apps listing failure stops before create ok ambiguous release dir is refused ok explicit version resolves the ambiguity ok releases match is exact, not substring ok shipped version is only promoted, existing app not created ok fresh account creates, ships, promotes to edge, enables ok failing promote stops the script ok ship is retried while uploads are rate limited all passed hack/fonts_test.sh fonts_test: ok === test === go run amadan.net/rastrillo/rastrillo/cmd/rastrillo budget test -count=1 ./... budget: internal/webtest took 10.694s, over the 10s the default allows receipt: test step 11.743s against a 60s target (the gate's other steps are not in this figure) receipt: 16 packages ran, 0 cached, 6 without tests, 0 failed receipt: slow package 10.694s amadan.net/oficina/base/internal/webtest receipt: slow package 645ms amadan.net/oficina/base/internal/issuer receipt: slow package 628ms amadan.net/oficina/base/internal/equipo receipt: slow package 579ms amadan.net/oficina/base/internal/operations receipt: slow package 205ms amadan.net/oficina/base/internal/consumer receipt: slow test 1.51s amadan.net/oficina/base/internal/webtest TestHomeDoesNotWaitOnAStalledSnapshot receipt: slow test 1.51s amadan.net/oficina/base/internal/webtest TestAskUploadBusy receipt: slow test 1.08s amadan.net/oficina/base/internal/webtest TestAskZoneIsToldOnce receipt: slow test 910ms amadan.net/oficina/base/internal/webtest TestAskUploadStalledBodyFreesItsSlot receipt: slow test 650ms amadan.net/oficina/base/internal/webtest TestAskAttachmentStreams rastrillo: budget test: 1 problem(s) exit status 1 make: *** [Makefile:47: test] Error 1 amadan: step test failed: exit status 2 amadan: job failed at step test — its output is above, not at the tail of this log
diff --git a/docs/copy-pending.md b/docs/copy-pending.md| index 4dada16..5b0bbca 100644 |
| --- a/docs/copy-pending.md |
| +++ b/docs/copy-pending.md |
| @@ -417,3 +417,32 @@ Review 12 (approved, Paul, 2026-11-17, copy review hwmz4ttgslm5ed3k4lafixgffa): |
| | partials/chat.html, ask.js | APPROVED (Paul, 2026-11-17): the button at the end of the Assistant's reply, beside the Oficina mark | Connect Oficina | |
| | partials/chat.html, ask.js | APPROVED (Paul, 2026-11-17): the line under the button, naming what connecting unlocks | Calendar, Docs, Sheets and more | |
| | ask.js | APPROVED (Paul, 2026-11-17): what the button becomes once Oficina is connected, after a tick icon (proposed as "Connected ✓"; the tick is drawn, not typed) | Connected | |
| + |
| +Review 13 (pending; drafts for Luna's pass, then Paul): files in Ask (spec 2026-11-26-ask-attachments, plan Task 11). The person attaches files to a message with the paperclip, by pasting or by dropping, watches each upload as a chip, and sends; the thread shows a person's files above their words. The paperclip and the chips need scripts, and show only when the person's runner can take files. Words reused from Equipo's approved copy where they fit; Base never names Equipo. Equipo's two new strings for the same feature (chat.activity.read_attachment "Reading your file…", api.attachments_unavailable) are reviewed in Equipo's plan, P6. Sizes are written "12 B", "820 KB", "1.2 MB" (units, not copy). |
| + |
| +| Id | File | Context | Text | |
| +|---|---|---|---| |
| +| ask.attach.button | partials/chat.html, ask-attach.js | the paperclip left of Send: its label and tooltip | Attach files | |
| +| ask.attach.drop | partials/chat.html, ask-attach.js | over the composer while files are dragged onto it | Drop files to attach them | |
| +| ask.attach.uploading | partials/chat.html, ask-attach.js | a chip's line while its file uploads (also the progress ring's label) | Uploading… | |
| +| ask.attach.remove | partials/chat.html, ask-attach.js | a chip's Remove button, label and tooltip; {name} is the file's name | Remove {name} | |
| +| ask.attach.failed | partials/chat.html, ask-attach.js | a chip whose upload didn't take (network, or anything unexpected) | Couldn't upload. Try again. | |
| +| ask.attach.too_many | partials/chat.html, ask-attach.js | the chip of a sixth file, never uploaded | At most 5 files in one message. | |
| +| ask.attach.pdf | partials/chat.html, ask-attach.js | a PDF's chip once uploaded; it still sends (spec D4; goes in slice 3) | Ask can't read PDFs yet. | |
| +| ask.attach.unavailable | partials/chat.html, ask-attach.js | every chip of a send refused because the runner can't take files; the paperclip goes, the words stay | Files can't be read right now. Remove them to send your message. | |
| +| ask.attach.stale | partials/chat.html, ask-attach.js | a chip whose upload had gone when the message was sent (24 hours unsent, or sent elsewhere) | This file has expired. Attach it again. | |
| +| ask.attach.too_large | partials/chat.html, ask-attach.js | a chip refused for size (checked before upload, and Equipo's attachment_too_large) | That file is over 10 MB. | |
| +| ask.attach.type | partials/chat.html, ask-attach.js | a chip refused for its type (Equipo's attachment_type) | Ask takes images (PNG, JPEG, WebP, GIF) and text, Markdown, CSV, JSON and PDF files. | |
| +| ask.attach.heic | partials/chat.html, ask-attach.js | a HEIC photo's chip (checked before upload, and Equipo's attachment_heic) | HEIC photos can't be read yet. Share it as a JPEG and try again. | |
| +| ask.attach.pixels | partials/chat.html, ask-attach.js | an image refused for its size in pixels (Equipo's attachment_pixels) | That image is too large: at most 12,000 pixels on a side and 40 megapixels. | |
| +| ask.attach.limit | partials/chat.html, ask-attach.js | Equipo's attachment_limit: 20 uploads wait unsent | Too many files are waiting to send. Send or remove some first. | |
| +| ask.attach.busy | partials/chat.html, ask-attach.js | every upload slot stayed busy, after five tries | Too many uploads at once. Try again in a moment. | |
| +| ask.attach.attached | partials/chat.html, ask-attach.js | screen readers, when an upload finishes; {name} is the file's name | {name} attached | |
| +| ask.attach.not_attached | partials/chat.html, ask-attach.js | screen readers, when a file is refused; {reason} is the chip's line | {name} not attached: {reason} | |
| +| ask.files.label | partials/chat.html, ask-attach.js | screen readers: the row of a person's files in the thread, and the chips | Attached files | |
| +| ask.files.pill | partials/chat.html, ask-attach.js | screen readers: a file's pill in the thread, a download; {size} as above | {name}, {size}. Download | |
| +| ask.viewer.close | partials/chat.html, ask-attach.js | APPROVED (reused): the viewer's Close | Close | |
| +| ask.turn.file_missing | ask.go, ask.js | status line: the turn failed because a file didn't reach the runner whole (reason attachment_unavailable) | A file didn't arrive whole. Attach it again. | |
| +| ask.turn.no_room | ask.go, ask.js | status line: the runner had no room for the files (runner_storage_full) | There's no room left for these files. Try fewer or smaller ones. | |
| +| ask.turn.runner_too_old | ask.go, ask.js | status line: the turn with files was failed when an older runner connected (runner_too_old) | Files can't be read right now. Send it again without them. | |
| +| ask.files_line_a11y | native Thread.swift (Localizable.xcstrings) | VoiceOver: the plain line of a person's files' names under their words in the Mac and iPhone apps, until slice 2 draws files; {names} comma-separated | Attached: {names} | |
diff --git a/internal/look/static/app.css b/internal/look/static/app.css| index 7121d31..3510975 100644 |
| --- a/internal/look/static/app.css |
| +++ b/internal/look/static/app.css |
| @@ -783,10 +783,10 @@ aside.ask-panel { position: absolute; top: 16px; right: 16px; bottom: 16px; widt |
| /* The viewer: a thumbnail's image full size, over a dimmed page, with |
| Close. */ |
| .viewer { max-width: min(92vw, 1200px); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; overflow: visible; background: transparent; } |
| -.viewer::backdrop { background: rgba(6, 8, 20, .72); } |
| +.viewer::backdrop { background: color-mix(in srgb, var(--menu-base) 82%, transparent); } |
| .viewer img { display: block; min-width: min(240px, 92vw); max-width: min(92vw, 1200px); max-height: 92vh; border-radius: 14px; object-fit: contain; background: var(--menu-base); } |
| .viewer-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; |
| - cursor: pointer; color: #fff; background: rgba(6, 8, 20, .6); } |
| + cursor: pointer; color: var(--frost); background: var(--chip); box-shadow: inset 0 0 0 1px var(--chip-edge); } |
| .viewer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; } |
| /* An edge, not a fill: the composer's focus edge and the thinking bubble's |
| paint a gradient over their whole box and show it only through this mask, |
diff --git a/internal/webtest/home_test.go b/internal/webtest/home_test.go| index bc3523b..4a6278c 100644 |
| --- a/internal/webtest/home_test.go |
| +++ b/internal/webtest/home_test.go |
| @@ -260,7 +260,7 @@ func TestHomeDocksAskOpenByDefault(t *testing.T) { |
| for _, want := range []string{ |
| `<aside id="ask-panel" class="ask-panel glass"`, |
| `<li class="msg coordinator"`, "Your week is clear.", |
| - `<form class="composer" method="post" action="/ask/messages">`, |
| + `<form class="composer" method="post" action="/ask/messages" `, |
| // The X, and the Base button and the field that bring it back. |
| `<form class="dock-close" method="post" action="/ask/dock"><input type="hidden" name="open" value="0">`, |
| `<form class="base-btn-form" method="post" action="/ask/dock"><input type="hidden" name="open" value="1">`, |
| @@ -376,7 +376,7 @@ func TestHomeDoesNotWaitOnAStalledSnapshot(t *testing.T) { |
| for _, want := range []string{ |
| `<aside id="ask-panel" class="ask-panel glass"`, |
| `<div class="ask-chat" data-when="ready norunner oldrunner">`, |
| - `<form class="composer" method="post" action="/ask/messages">`, |
| + `<form class="composer" method="post" action="/ask/messages" `, |
| `<p class="ask-empty" data-empty hidden>`, |
| `<div class="ask-note" data-when="unavailable" hidden>`, |
| } { |
| @@ -399,7 +399,7 @@ func TestHomeDoesNotWaitOnAStalledSnapshot(t *testing.T) { |
| if n := len(f.Calls("/api/v1/assistant/snapshot")) - before; n != 0 { |
| t.Errorf("Home with the chat closed read the conversation %d times", n) |
| } |
| - if !deskClosed(t, closed.Body) || !strings.Contains(closed.Body, `<form class="composer" method="post" action="/ask/messages">`) || |
| + if !deskClosed(t, closed.Body) || !strings.Contains(closed.Body, `<form class="composer" method="post" action="/ask/messages" `) || |
| !strings.Contains(closed.Body, `<p class="ask-empty" data-empty hidden>`) { |
| t.Errorf("Home with the chat closed:\n%s", closed.Body) |
| } |