oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1# Brief: make the coordinator chat feel alive
2
3Branch `chat-feel` from main 1b29d0d (DEPLOYED; owner mode; coordinator
4replies now arrive). Paul (2026-11-06, live screenshot): "Nothing. And no
5indication that there's any response happening. We should have a very
6attractive loading state when waiting for a response. Will the response
7stream?" Observed on production: the coordinator's reply rendered
8`**amadan.net/oficina/equipo**` literally; it says "If you tap **Set
9up**" but no project card shows; a backlog of queued turns is processed
10one per message so new messages wait silently; a system note "owner mode"
11is posted before every reply. Product rule: magic, zero setup.
12
13Deliver:
141. Thinking state: the instant a message is sent (optimistic bubble
15 exists), show an attractive coordinator "thinking" bubble (icon +
16 name, subtle animated dots or shimmer, theme tokens, respects
17 prefers-reduced-motion) that persists through queued/claimed/running
18 and becomes the reply. If the turn is blocked, it becomes the plain
19 note instead. Phone and desktop.
202. Streaming: the coordinator reply streams into that bubble as it is
21 generated: runner forwards partial text deltas from the provider
22 (Claude 2.1.312 stream-json partial messages; check the flag the
23 pinned binary supports and bind it into the launch policy — owner mode
24 means no recertification needed for the owner's runner, but update
25 manifests/tests consistently) through the existing coordinator event
26 endpoint (bounded size/rate), instance stores the in-progress text and
27 pushes it via Rastrillo live to the feed; final message replaces it.
28 Contract fixtures for the new event; tests.
293. Coalescing: when several person messages are waiting for one
30 coordinator, the next turn answers all of them together (one reply);
31 older queued turns are superseded, not answered one by one.
324. Markdown: render a safe subset in coordinator/specialist messages
33 (bold, italic, inline code, code blocks, lists, links with
34 rel=noopener, paragraphs); escape everything else; tests for XSS.
355. Project card: the propose_project card must appear in the feed right
36 after the message that proposes it; find why it didn't (production
37 evidence via read-only `carlos db query --app equipo --account
38 oficina`), fix, and add an e2e-live assertion.
396. Owner mode: show it once as a quiet label (e.g. on the coordinator
40 header or Connections), not a system note per turn; remove the
41 per-turn note.
42Prove with `make e2e-live` (thinking bubble visible within 300 ms of
43send; first streamed text before the turn completes; markdown rendered;
44card present; two quick messages → one reply). AUTHORISATION: live model
45use only via the harness on claude-a, <= 30 turns; do not touch
46production data or the docs-t1 runner service. New strings
47`// COPY REVIEW PENDING`. ONE full `make -k ci` (rerun at most twice).
48Commit subject < 80, body `Co-Authored-By: Astra <noreply@openai.com>`;
49commit only, the controller pushes. CONTROLLER-REPORT-chat-feel.md with
50screenshots (1280/390) in docs/mockups/built/2026-11-06/. Loopback only;
51stop servers; scratch removed; no copy-review server. Print a five-line
52summary.
53