oficina / equipo Public

Add r7 index: what changed from r6, alignment fixes, open choices

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 01952ed3b2341fe2de415d8c2ba7e704f7e08ad5 parent 8e80343
1 file changed, +139 −0
  • docs/native/r7/index.md +139 −0

CI failed — run details

diff --git a/docs/native/r7/index.md b/docs/native/r7/index.md
new file mode 100644
index 00000000..fc404f31
--- /dev/null
+++ b/docs/native/r7/index.md
@@ -0,0 +1,139 @@
+# Equipo native, revision 7
+
+R7 brings Roster, the web's new conversation design (live on staging at main `b46afceb`), to the iPhone and Mac mockups, on top of r6. The web leads: every component here copies the web's current one, measured from `internal/equipo/templates/chat.html`, `chat_roster.go` and the "Roster alignment" rules in `static/equipo.css`, and checked against the web's own browser captures of each state. The project stays at [native/mockups](../../../native/mockups/). All data is fixture data and nothing leaves the app. Copy is the web's where the web has it; new strings are marked below and have not been through copy review.
+
+## What changed from r6
+
+| # | Change | R6 | R7 |
+| --- | --- | --- | --- |
+| 1 | **Bylines.** Every item says who is talking: the specialist's icon centred in a tile, its name, the verb, the project and the time ("Engineering reports · Woodstar 11:58"). The coordinator has no visible name, only a bare, muted outline sparkle drawn from the web's own path; VoiceOver still says "Coordinator". | [iphone-conversation-light.png](../r6/iphone-conversation-light.png) | [iphone-conversation-light.png](iphone-conversation-light.png), [mac-main-light.png](mac-main-light.png) |
+| 2 | **Flat reports.** Status reports are no longer cards. They hang off the byline on a neutral 2-point rail with a stage eyebrow, a NEEDS YOU chip with a hand, the title, the reason in muted text, the five-stop track, Checks, Review and Branch facts, and one action row: the next step as the only primary, "Talk about this", then quiet "Open the task" and "Open on Amadan". | [mac-main-dark.png](../r6/mac-main-dark.png) | [mac-main-end-dark.png](mac-main-end-dark.png), [iphone-conversation-aside-light.png](iphone-conversation-aside-light.png) |
+| 3 | **Stage track.** Noted, In progress, In review, Ready to merge, Done, edge to edge across the content. Amber is waiting on you; red is only for failed checks or changes requested; green is everything else. The Mac shows every label, the iPhone only the current one, as the web does. | [iphone-task-dark.png](../r6/iphone-task-dark.png) | [iphone-task-light.png](iphone-task-light.png), [mac-main-end-light.png](mac-main-end-light.png) |
+| 4 | **Only decisions are raised.** Questions, merge decisions and Copy holds are the only raised cards (surface, accent rim, the web's two-step shadow). A report whose decision card follows it collapses to one line. | [iphone-needs-light.png](../r6/iphone-needs-light.png) | [iphone-conversation-end-light.png](iphone-conversation-end-light.png), [mac-main-end-light.png](mac-main-end-light.png) |
+| 5 | **Questions are sub-chats.** The question is the first turn of a thread inside the card, with the options and, because the API allows it, a compact composer. Four states: before replying, typing, sent ("Copy is reading") and answered (the card flattens and offers Reply). | [iphone-conversation-light.png](../r6/iphone-conversation-light.png) | [iphone-conversation-thread-typing-light.png](iphone-conversation-thread-typing-light.png), [iphone-conversation-thread-sent-light.png](iphone-conversation-thread-sent-light.png), [iphone-conversation-thread-answered-light.png](iphone-conversation-thread-answered-light.png), [mac-thread-typing-light.png](mac-thread-typing-light.png), [mac-thread-sent-light.png](mac-thread-sent-light.png), [mac-thread-answered-light.png](mac-thread-answered-light.png) |
+| 6 | **Set aside, with Undo.** Every interactive card has a Set aside button centred on its first line. It leaves a dashed stub in place and an Undo toast above the composer, and the card stays in Needs you under "Set aside". Setting aside never answers or cancels anything; EquipoCore tests that. | (new) | [iphone-conversation-aside-light.png](iphone-conversation-aside-light.png), [mac-aside-light.png](mac-aside-light.png), [iphone-needs-aside-light.png](iphone-needs-aside-light.png) |
+| 7 | **Every card state.** Rest, hover, pressed, keyboard focus, busy (with the web's busy label), success, error, changed elsewhere, setting aside, set aside, restoring and the Undo toast. | [mac-control-states-light.png](../r6/mac-control-states-light.png) | [mac-card-states-light.png](mac-card-states-light.png), [iphone-card-states-light.png](iphone-card-states-light.png) and pages 2 and 3 |
+| 8 | **One-line thinking.** The sparkle, the real activity ("Checking ‘Keep the calendar in sync after sleep’…"), the elapsed time and a quiet Stop, on one line, replacing r6's spinner and "Checking the next step". | [iphone-conversation-light.png](../r6/iphone-conversation-light.png) | [iphone-conversation-end-light.png](iphone-conversation-end-light.png) |
+| 9 | **Daily roll-up.** A card with the day, its message count, the day bar (added, merged, decided, still open) and counts, then "Show the conversation". | [iphone-conversation-light.png](../r6/iphone-conversation-light.png) | [iphone-conversation-light.png](iphone-conversation-light.png) |
+| 10 | **Talk about this.** Opens the task's own thread (`GET /tasks/{id}/thread`) in a drawer under the report, with a compact composer. | (new) | [iphone-conversation-talk-light.png](iphone-conversation-talk-light.png), [mac-talk-dark.png](mac-talk-dark.png), [iphone-task-talk-light.png](iphone-task-talk-light.png) |
+| 11 | **Wrong project?** The project chip opens "Move to another project" or "Make it a new project", from the project-placement spec. Moving a task whose work is running shows "Move and restart" and says what happens to the old branch. | (new) | [iphone-conversation-wrong-project-light.png](iphone-conversation-wrong-project-light.png), [iphone-move-project-light.png](iphone-move-project-light.png), [mac-wrong-project-light.png](mac-wrong-project-light.png) |
+| 12 | **Needs you, Tasks and the task view.** Needs you lists the same bylines and cards as the conversation, with set-aside cards kept in their own group. Task rows carry the project chip, the NEEDS YOU chip, a mini track and the stage. The task view is the full report, then your decision, the steps and the usage. The Mac gains Needs you and Tasks panes, and its inspector is the task view. | [iphone-needs-light.png](../r6/iphone-needs-light.png), [iphone-tasks-light.png](../r6/iphone-tasks-light.png), [iphone-task-light.png](../r6/iphone-task-light.png) | [iphone-needs-light.png](iphone-needs-light.png), [iphone-tasks-light.png](iphone-tasks-light.png), [iphone-task-light.png](iphone-task-light.png), [mac-needs-light.png](mac-needs-light.png), [mac-tasks-light.png](mac-tasks-light.png) |
+
+Smaller changes: blue is now only for things you can do, so specialist and wizard icons are neutral and "Needs you" is amber everywhere (r6 used blue); the Needs you pill in the header is the web's inbox and count; the step timeline marks running steps green and a waiting step amber, and a step waiting for a Mac no longer says it is waiting for you; specialist icons now follow the web (a wrench for Engineering, type for Copy); the Copy hold concept is a Roster card; the menu bar popover leads with the question card and lists the other decision; the wizard's last step introduces the coordinator with its mark and the web's empty-conversation line.
+
+## The alignment fixes
+
+Each of the six issues Paul found on the web is built into a shared measurement, so it cannot drift per screen.
+
+| Issue | How r7 holds it |
+| --- | --- |
+| Icons centred in their tiles | Tiles centre the symbol by its own bounds in a fixed square (SwiftUI frame, AppKit drawn at the rounded centre). One `SpecialistTile` and one `tileView` serve every surface. |
+| The stage track spans the content width | Dots are placed at `slot/2 + i × (width − slot) / 4`, so the first dot's edge meets the content's leading edge and the last meets the trailing edge. |
+| Labels centred under their dots | A custom layout centres each label on its dot and only nudges the two end labels inward when they would overflow. |
+| Send buttons centred in their pills | The card composer is a 46-point pill with a 44-point target inset 1 point top and bottom; the main composer keeps r6's 44-point pill and target. |
+| Even card padding | One inset per platform (14 points iPhone, 16 Mac) on all four sides; Set aside is placed outside that inset, centred on the first line, and the text reserves its width. |
+| The last item scrolls clear of the composer | The feed ends with bottom padding inside a scroll view inset by the composer and, when shown, the Undo toast. See [iphone-conversation-end-light.png](iphone-conversation-end-light.png) and [iphone-conversation-aside-light.png](iphone-conversation-aside-light.png). |
+
+## Open choices for Paul
+
+| Choice | Recommendation |
+| --- | --- |
+| **Project monogram colour.** The web gives each project a hued letter square (Woodstar's reads purple). Native uses a neutral one. | Keep it neutral and ask the web to match: it removes the only purple, and the letter is a project, not a specialist. |
+| **Coordinator bylines on cards.** The web shows a stray "·" before the project when the name is hidden. Native drops it. | Drop it on the web too. |
+| **Merge question wording.** "Merge Keep the calendar in sync after sleep without checks?" is the web's string with the title inserted bare. Native copies it, because merges must match. | Change the web copy to quote the title, then native follows. |
+| **Options and free text together.** The web shows options or a composer. Native shows both when `allow_text` is true. | Show both on the web as well; the API already says text is allowed. |
+| **The report's primary when its decision is set aside.** Native shows "Merge now", which opens the same decision, never a second path. | Keep. If you would rather no report ever carries a merge button, show "Show the decision" instead. |
+| **Talk about this.** The phrase is not in the web's copy yet; the web offers "Ask the coordinator" on Copy holds. | Add it to the web with the same task-thread behaviour, then accept the native string. |
+| **Set aside in Needs you.** Native groups set-aside cards under "Set aside" with "Bring it back to the conversation". This copy is new. | Adopt the grouping; put the two new strings through copy review. |
+| **Roll-up as a card.** The brief asks for a card; the web's latest rule currently draws the day box flat. | Card on native, and confirm which the web should keep. |
+| **Wrong project? on iPhone.** r7 shows a popover so it can be captured. | Use a system pull-down menu in production; keep the chooser as a full page, as the spec asks. |
+| **Copy hold.** Still a concept: nothing in the person API says a task is held or how much was reviewed. | Ask for `copy_hold` and the coverage counts before native ships the card; until then, open the web. |
+
+## What the API does not expose yet
+
+Fixtures stay honest: the API fixtures validate against `docs/api/equipo-v1.openapi.json` and invent no field. Everything Roster shows that the person API lacks lives in [roster-gaps.json](../../../native/mockups/EquipoCore/Sources/EquipoCore/Fixtures/roster-gaps.json), which says it is not an API response and names each field's web source. `check-fixtures.py` fails if any of those fields appears in the API, so a value has to move into the real fixtures once the API grows it. The gaps: a task's stage, the reason it needs you, the Checks and Review results and their details, the branch, the candidate commit and whether it was pushed; a card's time, its set-aside state and its in-card replies; the coordinator's live activity, elapsed time and Stop; the daily roll-up; and Move and restart. Who is talking, the project, Needs you, the question, the merge choices, and Talk about this all come from today's API. The [sync proposal](../sync-proposal.md) now carries a Roster parity row for each component.
+
+## Checks
+
+`bash native/mockups/scripts/capture-r7.sh` passed on a MacBook Pro (Xcode 27.2, iOS 27.0 simulator, iPhone 17): 21 EquipoCore tests (10 of them new Roster tests), the fixture check (10 API fixtures validated, 17 web-only fields confirmed absent from the API, 4 invented-field guards), 18 AppKit composer checks, both builds, and the measured control checks on every capture (44-point phone and 32-point Mac minimums, equal answer widths, at most one primary per phone screen). `scripts/mutation-check.py` now breaks 16 guards, 9 of them Roster's (setting aside answers or applies to a finished card, amber and red swapped or lost, a report that never collapses or stays collapsed after Set aside, the coordinator named on screen, a task thread leaking into the conversation, invented facts); each failed its test and was restored. `check-composer-mutations.py` passes. The simulator lived in a private device set inside the build folder and was deleted afterwards.
+
+The web references were rendered by main's own Roster browser tests (`go test -tags browser -run TestBrowserRoster ./internal/thintest/`) in a scratch clone, and compared screen by screen; they are not committed.
+
+`studio.sh` remains for r6 on the Studio; `capture-r7.sh` runs from any scratch clone and picks the newest iOS runtime that has an iPhone 17. Limits: the Mac images are offscreen captures of the content view, with a header band where the toolbar would be and a flat stand-in for the sidebar material. The Mac's Wrong project? menu is drawn into the capture where the live app opens an `NSMenu`. Hover and focus are forced on the card-state sheets. Animations are off in captures, so the thinking sparkle is still.
+
+## Captures
+
+138 PNGs: every r6 view again in both appearances, plus Roster's new screens and states.
+
+| View | Light | Dark |
+| --- | --- | --- |
+| Mac main window, top of the conversation | [Light](mac-main-light.png) | [Dark](mac-main-dark.png) |
+| Mac, end of the conversation: full report, collapsed report, merge card, thinking line | [Light](mac-main-end-light.png) | [Dark](mac-main-end-dark.png) |
+| Mac question sub-chat, typing | [Light](mac-thread-typing-light.png) | [Dark](mac-thread-typing-dark.png) |
+| Mac question sub-chat, sent | [Light](mac-thread-sent-light.png) | [Dark](mac-thread-sent-dark.png) |
+| Mac question sub-chat, answered | [Light](mac-thread-answered-light.png) | [Dark](mac-thread-answered-dark.png) |
+| Mac merge card set aside, with Undo | [Light](mac-aside-light.png) | [Dark](mac-aside-dark.png) |
+| Mac Talk about this | [Light](mac-talk-light.png) | [Dark](mac-talk-dark.png) |
+| Mac Wrong project? menu | [Light](mac-wrong-project-light.png) | [Dark](mac-wrong-project-dark.png) |
+| Mac offline | [Light](mac-offline-light.png) | [Dark](mac-offline-dark.png) |
+| Mac Needs you | [Light](mac-needs-light.png) | [Dark](mac-needs-dark.png) |
+| Mac Needs you with a set-aside card | [Light](mac-needs-aside-light.png) | [Dark](mac-needs-aside-dark.png) |
+| Mac Tasks | [Light](mac-tasks-light.png) | [Dark](mac-tasks-dark.png) |
+| Mac decision card states | [Light](mac-card-states-light.png) | [Dark](mac-card-states-dark.png) |
+| Mac menu bar | [Light](mac-menu-light.png) | [Dark](mac-menu-dark.png) |
+| Mac compact notification | [Light](mac-notification-compact-light.png) | [Dark](mac-notification-compact-dark.png) |
+| Mac expanded notification | [Light](mac-notification-light.png) | [Dark](mac-notification-dark.png) |
+| Mac answer receipt | [Light](mac-notification-answered-light.png) | [Dark](mac-notification-answered-dark.png) |
+| Mac composer states and add menu | [Light](mac-composer-states-light.png) | [Dark](mac-composer-states-dark.png) |
+| Mac and shared control states | [Light](mac-control-states-light.png) | [Dark](mac-control-states-dark.png) |
+| iPhone Teams | [Light](iphone-teams-light.png) | [Dark](iphone-teams-dark.png) |
+| iPhone team index | [Light](iphone-team-light.png) | [Dark](iphone-team-dark.png) |
+| iPhone conversation, top | [Light](iphone-conversation-light.png) | [Dark](iphone-conversation-dark.png) |
+| iPhone conversation, end | [Light](iphone-conversation-end-light.png) | [Dark](iphone-conversation-end-dark.png) |
+| iPhone question sub-chat, typing | [Light](iphone-conversation-thread-typing-light.png) | [Dark](iphone-conversation-thread-typing-dark.png) |
+| iPhone question sub-chat, sent | [Light](iphone-conversation-thread-sent-light.png) | [Dark](iphone-conversation-thread-sent-dark.png) |
+| iPhone question sub-chat, answered | [Light](iphone-conversation-thread-answered-light.png) | [Dark](iphone-conversation-thread-answered-dark.png) |
+| iPhone merge card set aside, with Undo | [Light](iphone-conversation-aside-light.png) | [Dark](iphone-conversation-aside-dark.png) |
+| iPhone Talk about this | [Light](iphone-conversation-talk-light.png) | [Dark](iphone-conversation-talk-dark.png) |
+| iPhone Wrong project? popover | [Light](iphone-conversation-wrong-project-light.png) | [Dark](iphone-conversation-wrong-project-dark.png) |
+| iPhone Move to another project | [Light](iphone-move-project-light.png) | [Dark](iphone-move-project-dark.png) |
+| iPhone offline | [Light](iphone-conversation-offline-light.png) | [Dark](iphone-conversation-offline-dark.png) |
+| iPhone draft and send | [Light](iphone-conversation-draft-light.png) | [Dark](iphone-conversation-draft-dark.png) |
+| iPhone attachment | [Light](iphone-conversation-attachment-light.png) | [Dark](iphone-conversation-attachment-dark.png) |
+| iPhone uploading | [Light](iphone-conversation-uploading-light.png) | [Dark](iphone-conversation-uploading-dark.png) |
+| iPhone upload error | [Light](iphone-conversation-error-light.png) | [Dark](iphone-conversation-error-dark.png) |
+| iPhone conversation, large text | [Light](iphone-conversation-accessibility-light.png) | [Dark](iphone-conversation-accessibility-dark.png) |
+| iPhone card states 1: rest, pressed, busy | [Light](iphone-card-states-light.png) | [Dark](iphone-card-states-dark.png) |
+| iPhone card states 2: success, error, changed elsewhere | [Light](iphone-card-states-2-light.png) | [Dark](iphone-card-states-2-dark.png) |
+| iPhone card states 3: setting aside, set aside, restoring | [Light](iphone-card-states-3-light.png) | [Dark](iphone-card-states-3-dark.png) |
+| iPhone Needs you | [Light](iphone-needs-light.png) | [Dark](iphone-needs-dark.png) |
+| iPhone Needs you with a set-aside card | [Light](iphone-needs-aside-light.png) | [Dark](iphone-needs-aside-dark.png) |
+| iPhone Needs you, empty | [Light](iphone-needs-empty-light.png) | [Dark](iphone-needs-empty-dark.png) |
+| iPhone Needs you, large text | [Light](iphone-needs-accessibility-light.png) | [Dark](iphone-needs-accessibility-dark.png) |
+| iPhone Tasks | [Light](iphone-tasks-light.png) | [Dark](iphone-tasks-dark.png) |
+| iPhone Tasks, loading | [Light](iphone-tasks-loading-light.png) | [Dark](iphone-tasks-loading-dark.png) |
+| iPhone task view | [Light](iphone-task-light.png) | [Dark](iphone-task-dark.png) |
+| iPhone task view with its thread open | [Light](iphone-task-talk-light.png) | [Dark](iphone-task-talk-dark.png) |
+| iPhone Connections & Usage | [Light](iphone-connections-light.png) | [Dark](iphone-connections-dark.png) |
+| iPhone compact notification | [Light](iphone-notification-compact-light.png) | [Dark](iphone-notification-compact-dark.png) |
+| iPhone expanded notification | [Light](iphone-notification-light.png) | [Dark](iphone-notification-dark.png) |
+| iPhone answer receipt | [Light](iphone-notification-answered-light.png) | [Dark](iphone-notification-answered-dark.png) |
+| iPhone control states | [Light](iphone-control-states-light.png) | [Dark](iphone-control-states-dark.png) |
+| Copy hold concept | [Light](iphone-copy-hold-light.png) | [Dark](iphone-copy-hold-dark.png) |
+| Exploration concept | [Light](iphone-exploration-light.png) | [Dark](iphone-exploration-dark.png) |
+| Research concept | [Light](iphone-research-light.png) | [Dark](iphone-research-dark.png) |
+| Usage concept | [Light](iphone-usage-concept-light.png) | [Dark](iphone-usage-concept-dark.png) |
+| Contra concept | [Light](iphone-contra-light.png) | [Dark](iphone-contra-dark.png) |
+| iPhone wizard: welcome | [Light](iphone-onboarding-welcome-light.png) | [Dark](iphone-onboarding-welcome-dark.png) |
+| Mac wizard: welcome | [Light](mac-onboarding-welcome-light.png) | [Dark](mac-onboarding-welcome-dark.png) |
+| iPhone wizard: pair | [Light](iphone-onboarding-pair-light.png) | [Dark](iphone-onboarding-pair-dark.png) |
+| Mac wizard: pair | [Light](mac-onboarding-pair-light.png) | [Dark](mac-onboarding-pair-dark.png) |
+| iPhone wizard: paired | [Light](iphone-onboarding-paired-light.png) | [Dark](iphone-onboarding-paired-dark.png) |
+| Mac wizard: paired | [Light](mac-onboarding-paired-light.png) | [Dark](mac-onboarding-paired-dark.png) |
+| iPhone wizard: model | [Light](iphone-onboarding-model-light.png) | [Dark](iphone-onboarding-model-dark.png) |
+| Mac wizard: model | [Light](mac-onboarding-model-light.png) | [Dark](mac-onboarding-model-dark.png) |
+| iPhone wizard: project | [Light](iphone-onboarding-project-light.png) | [Dark](iphone-onboarding-project-dark.png) |
+| Mac wizard: project | [Light](mac-onboarding-project-light.png) | [Dark](mac-onboarding-project-dark.png) |
+| iPhone wizard: message | [Light](iphone-onboarding-message-light.png) | [Dark](iphone-onboarding-message-dark.png) |
+| Mac wizard: message | [Light](mac-onboarding-message-light.png) | [Dark](mac-onboarding-message-dark.png) |
+