oficina / equipo Public

Brief: chat-like conversation UI closer to the mockups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev df2b9e3f5db2bbf36f14a489c3b8bdfa5d1b0d80 parent 0cb576b
1 file changed, +47 −0
  • docs/superpowers/plans/CODEX-BRIEF-chat-ui.md +47 −0

CI failed — run details

diff --git a/docs/superpowers/plans/CODEX-BRIEF-chat-ui.md b/docs/superpowers/plans/CODEX-BRIEF-chat-ui.md
new file mode 100644
index 00000000..bafdf639
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-BRIEF-chat-ui.md
@@ -0,0 +1,47 @@
+# Brief: conversation UI that feels like a proper chat, closer to the mockups
+
+Branch `chat-ui` from main 0cb576b (deployed). Paul (2026-11-05): "work on
+the UI so that it looks and feels like a proper chat and is closer to the
+mockups". Another agent is concurrently changing release/install code on
+branch enable-execution: stay out of internal/release, packaging,
+scripts/*release*, cmd/equipo-runner and internal/runner.
+
+Spec: docs/mockups/conversation.html (desktop + phone), nav.html (Fiesta
+rail, drill-down on phone, icons + names, no initials), journey.html
+(steps beside each task), native.html (rev 3 conversation shapes), and
+docs/mockups/README.md rules: no coloured left-border accents (hairline
+border + tint), values/badges never wrap, theme tokens only, real UI uses
+an icon plus the specialist name. Rastrillo conventions per AGENTS.md;
+`live` for updates.
+
+Steps:
+1. Capture the CURRENT UI: run the app locally (EQUIPO_ALLOW_LOGGED_MAIL=1,
+ loopback only, scratch DB under $TMPDIR, seed a team, a project, a
+ conversation with several messages, a task thread with steps, a
+ pending question) and screenshot the conversation, a task thread and
+ the nav at desktop and phone widths with the repo's existing browser
+ harness. Screenshot the mockups the same way. Write a short gap list
+ (what makes it not feel like chat today).
+2. Implement: a chat layout for the coordinator conversation and task
+ threads: messages as a scrolling column anchored to the bottom, your
+ messages vs coordinator/specialist messages visually distinct (no
+ left borders), specialist identity as icon + name, timestamps,
+ composer docked at the bottom (Enter to send, Shift+Enter newline,
+ disabled while sending, keeps focus), new messages and progress
+ arriving live without reload and keeping scroll position unless at
+ the bottom, threads per task reachable from the conversation as in
+ the mockup, inline cards for questions/approvals/candidates in the
+ flow, phone layout per mockup. Keep server-rendered HTML + Rastrillo
+ live; no SPA framework. Accessibility: semantic list, aria-live for
+ new messages, keyboard reachable.
+3. Copy: reuse existing strings; any NEW user-facing string goes in
+ internal/equipo/copy.go marked `// COPY REVIEW PENDING` (Paul will
+ review in context; do not start a copy-review server).
+4. Screenshots AFTER at the same sizes, saved under $TMPDIR and copied
+ (PNG, small) into docs/mockups/built/2026-11-05/ for Paul to compare.
+5. Perf/budget/browser checks the repo runs (make -k ci, rerun at most
+ twice). Commit subject < 80, body `Co-Authored-By: Astra
+ <noreply@openai.com>`, push. CONTROLLER-REPORT-chat-ui.md with the gap
+ list, what changed, before/after screenshot paths, and the new
+ strings. Bind only to 127.0.0.1. Stop every server you start; scratch
+ removed. Print a five-line summary.