Skip to content

B2: the conversation stream (Stream, messages, notes, quotes, arrival, DisclosureRow, ActivityList, Presence) (DECISIONS 265) - #116

Merged
bmjcoding merged 3 commits into
mainfrom
claude/gaps-b2-stream
Nov 22, 2026
Merged

bmjcoding merged 3 commits into
mainfrom
claude/gaps-b2-stream

Conversation

@bmjcoding

Copy link
Copy Markdown
Owner

What

Batch B2 of the CIMIP gaps stream (cimip-gaps-2, DECISIONS 265).

  • Stream: an ordered list, not a live region.
  • StreamMessage: an avatar gutter and a head with the name, time, meta and actions. With joined, the head isn't drawn but is still spoken.
  • StreamNote, StreamEntry, StreamBlock.
  • StreamQuote: a fill one level up, with a caption saying whose words they are.
  • Arrival (arrived): the entry you came to.
    • It is scrolled into view in its own scroller and focused.
    • It is marked by the selected wash plus a word ("Linked" by default). The word is always visible, even in forced colours.
    • Only one entry is marked per page. Nothing happens while the entry is hidden.
    • The mark ends on a press or a key that doesn't scroll, then fades.
  • DisclosureRow: Base UI's Collapsible with the core chevron morph.
  • ActivityList and ActivityStep: braille, dots and the ring, with "Failed" and "Waiting" as words.
  • Presence, Elapsed and formatElapsed: on the shared minute timer, safe to render on the server and hydrate.
  • useInShape: moved to in-shape.ts.

Review

  • Astra (code): 6/10, with six blocking findings, all fixed in 31a4a606. The lead checked them.
    • a block's arrival word was lost;
    • an arrival was spent while hidden;
    • two entries could be marked;
    • inline text was split into grid rows;
    • Elapsed broke hydration at the first minute;
    • the "tall" test used the window inside a pane.
  • Polish: the three polish findings are fixed too.
  • Pixels: the lead checked them, including the new block-arrival shots.
  • No council round (DECISIONS 226).
  • Review round: renumbered from 56 to 58 at merge.

Checks

  • Before the owner paused tests (DECISIONS 271): stream (24 of 24) and the related files, 239 of 239.
  • On the merged tree (origin/main fbbd795b): build, the React and review typechecks, and lint. export-sizes.json was re-recorded. No tests ran on the merged tree.
  • Merge conflicts resolved with B3: foundations ("What the HTML skill does not draw"), the README sections, and server-modules' list of plain exports.

Size

styles.css grew 3.7% minified (317,406 bytes). The new parts' sizes are in the batch report.

🤖 Generated with Claude Code

bmjcoding and others added 3 commits November 22, 2026 16:38
…he entry you came to, disclosure rows, activity lists and presence

Decided and built by Opus on the no-council path (DECISIONS 226 and 265); Astra reviews the code, the lead the pixels, and the owner sees
round 56 before merge. Every part is shown in two unlike domains with synthetic data; React's alone for now (no HTML skill module).

- Stream, StreamMessage (joined runs the app decides), StreamNote, StreamEntry, StreamBlock, StreamQuote (a fill one step from its
  ground, no rim), and the arrived mark (a plate in the selected wash and a word; a panel's own fill takes the wash, never a frame
  round it; it lasts until the reader acts, then fades with nothing moving), with StreamArrivedWord for a panel's head.
- DisclosureRow on Base UI's Collapsible: one line, cut closed and wrapped open, the core chevron's morph, ink lift, the +2 ring.
- ActivityList and ActivityStep: a sentence a step that wraps, the plain badge's status seat and the status in words.
- Presence, Elapsed and formatElapsed: "Away 6 min", a duration rather than a relative age.
- useInShape moves to its own module (in-shape.ts) so a part that only asks does not carry LoadingShape.
- Foundations, motion.md and the README document them; tests in stream.test.mjs; sizes recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- An arrived block says its own word: in a message with a head, the head carries the block's label; in a joined message (no head) or
  outside a message, the block draws the word above itself. One word either way; forced colours keep it.
- An arrival in a hidden pane is not spent: it waits for a box (ResizeObserver, checkVisibility), then scrolls, focuses and arms once.
- One entry arrives at a time, in code: placing another ends the one before and calls its onArrivedEnd.
- The message's words are in block flow, so a link stays in its sentence; blocks inside stand space-2 apart, and a block's own
  paragraphs lose their margins.
- Elapsed always renders its time element (empty and hidden under a minute), so a 59 s server render hydrates at 61 s cleanly.
- A tall entry is measured against its scrolling pane's height, not the window's.
- formatElapsed returns null for an invalid date; the arrival's selectors are scoped to the stream's parts.
- Tests: the block word (head, joined, forced colours), the hidden pane, one at a time, the pane alignment, inline flow, hydration,
  NaN, the scoped focus ring, a held mid-fade frame and the panel wash against its color-mix recipe. Round 56's arrived step opens one
  entry per state (support reply, panel, block) now that only one can be marked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/foundations.md
#	packages/react/README.md
#	packages/react/test/export-sizes.json
#	packages/react/test/server-modules.test.mjs
#	tools/review/round56.tsx
#	tools/review/rounds.tsx
@bmjcoding
bmjcoding merged commit e2c7dfc into main Nov 22, 2026
1 of 2 checks passed
@bmjcoding
bmjcoding deleted the claude/gaps-b2-stream branch November 22, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant