Skip to content

Timeline: fade the row the window cuts (DECISIONS 337) - #131

Merged
bmjcoding merged 5 commits into
mainfrom
claude/tail-edge
Nov 24, 2026
Merged

bmjcoding merged 5 commits into
mainfrom
claude/tail-edge

Conversation

@bmjcoding

@bmjcoding bmjcoding commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

The agent timeline's counter window fades the one row it cuts, instead of slicing through it (DECISIONS 337). The owner: "this might look better if we fade the top of that last row rather than the hard cut off", then "Council picks". A handoff, so the council's decision is the approval to build; the owner sees this PR before it merges.

What it does

  • The fade: RunTimeline marks the one row the window's top edge cuts and fades it over its own visible part (--_cut, measured, at most one 20px row; 10px at the run's end).
    • Which rows: only a finished tail row at depth 2 or deeper. A running, waiting or retrying row, a depth-1 row or a whole row can never carry the mask; the selector enforces this, not timing.
    • When: no fade while a roll is in flight. It appears on the landing frame.
    • Measuring: after measuring, on every scroll, on a roll's landing, and on focus in and out. The value is never animated.
  • The failed red: a whole failed row keeps its muted red, pixel for pixel. A cut failed row dissolves into the edge, and the toggle still says "1 failed".
  • The plain cut (today's edge) everywhere the fade isn't allowed: under more contrast, in forced colours and in print, with the tail open, and with keep={false}. The fade stays under reduced motion and the hold, because it isn't motion.
  • The focus ring is the window's own, identical to today in Chromium and desktop WebKit. The card moves 0px when steps land.
  • Text: foundations and AGENTS.md sentences as decided; decision 1.8 rule 4 gains "The window's top edge fades the tail row it cuts".
  • The HTML skill is unchanged: its runs module has no window to fade.

For the owner's eye

Review round 70 (npm run review -- 70), each picture with today's card beside this build's, 1440 and 390, dark and light:

  • the failed row as the cut row;
  • a passed row cut, with the failure whole under it;
  • forced colours, and more contrast.

The lead also checked the fade in Safari on a simulated iPhone 18 Pro (iOS 27, the same WebKit as Edge on iOS), where it renders as in the pictures. The focus ring was not exercised on the phone, because that needs a hardware keyboard.

Council

Light round (one part of one component).

  • Draft: Opus, in Neon's place (Neon was out on usage limits). Six edges.
  • Check: Astra, medium: A 7, B 5, C 3, D 4, E 2, F 6. Every fade lost the focus ring in WebKit, and running rows lost contrast.
  • Decision: Opus: F, revised to fade only the cut row, with the ring drawn outside the mask.
  • Final positions: the drafter agreed. Astra objected once: "The window mask can outlive its row during scrolling. A Page Down or touch fling can cross several rows between scroll callbacks, and the settled running-row probe misses that frame. Apply the mask to the eligible row itself so a stale measurement cannot dim a running step or a whole failure below it." The decider revised: the mask moved onto the cut row itself, with no fade during a roll. No objection survives.
  • Review: Astra, 8/10. Both blocking findings were in tests 5 and 9 and are fixed in 375d55bc. The builder's two calls were accepted:
    • test 7 doesn't keep a window across keep={false}, which draws none by design;
    • the bundle limit rose to 42,500.

Checks

Merged with main after #129 (7b1aa1a1). Lint (now including oxlint and the sink check), both typechecks, the build and sizes pass on the merged tree, and so do the node-only tests (React 171, tokens 256).

Lint, both typechecks, the build, sizes, and the node-only tests pass (React 171, tokens 254).

Browser tests did not run. The owner paused them (DECISIONS 330). Tests 1–9 in run-timeline.test.mjs are written, not run. Test 5's landing at 390 was dropped: the test page lays out narrower than the prototype, so the decided 8px there may not match. Its two 1440 landings stay. npm run ci:local has not run on this head.

Sizes

🤖 Generated with Claude Code

bmjcoding and others added 4 commits November 23, 2026 21:06
…ONS 337)

The one finished tail row at depth 2 or deeper that the window's top edge
cuts through its words carries data-cut and --_cut (its visible height,
read from layout), set by edge() at the end of measure, at the start of
onScroll, when a roll lands and on focus in and out. A mask in that row's
own box fades it from transparent at the edge to opaque at its bottom.
The selector is the guard: tail closed, no roll in flight, never a
depth-1, full, running, waiting or retrying row; a plain cut under more
contrast, in forced colours and in print. Foundations and AGENTS.md take
the decision's words. Tests 1 to 9 are written, not run (browser tests
paused, DECISIONS 330). The RunTimeline bundle limit moves from 41,750 to
42,500 (measured 42,465) and the size table is regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shipped agent run at its end, today's edge beside this build's, the
failed row and a passed row as the cut row, at 1440 and 390 in both
themes, with forced colours and more contrast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Test 5 reads the landing in the task that takes data-rolling away and
asserts one marked row, its band (10px and 4px at 1440) and its mask.
Test 9's reference takes the mask off the box, the window and everything
in it, checks the jump landed where it says, and checks the first row
stayed marked through both pictures. Test 2 checks the 13px offset took,
test 4 samples a ring pixel against the focus colour, and test 7 checks
the 7px scroll after each keep change and a keep={false} round trip.
Written, not run (browser tests paused, DECISIONS 330).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-edge

bundle.test.mjs keeps both raises: main's 41,850 and the top edge's fade,
measured 42,569 on the merged tree, so the RunTimeline limit is 42,600.
export-sizes.json is regenerated on the merged tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bmjcoding
bmjcoding marked this pull request as ready for review November 24, 2026 10:14
…rated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bmjcoding
bmjcoding merged commit db0bc41 into main Nov 24, 2026
1 of 2 checks passed
@bmjcoding
bmjcoding deleted the claude/tail-edge branch November 24, 2026 10:16
bmjcoding added a commit that referenced this pull request Nov 24, 2026
Both sides kept. Round 69 and round 70 are both registered. The skill's
notifications keep main's checked href and placement and take data-edge.
SKILL.md takes main's wording and the edge line, trimmed to 13,040 (main's
cap 13,050, no rule dropped); AGENTS.md takes main's diagram card and the
toast and selection column lines. Generated files are rebuilt, the export
table re-measured, and the bundle test's limits and the skill's caps set to
the measured sizes from main's, with the reasons.

Lint's new steps: oxlint and the sink check flagged round 69's skill frame
(a sink comment and the reasoned oxlint exception, as round 47's) and two
new sinks in the skill (copy.js now writes the button once with its glyph
swapped; terminal.js draws its three glyphs once and shows one), so the
ledger is unchanged. The edge rule now reaches #130's diagram viewer: its
Close hangs at the head's end and Zoom out at the foot's start, the foot
declaring its room (the skill's copy maps the insets). #131's timeline has
no ghost control at an edge (its toggle is a TextButton).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bmjcoding added a commit that referenced this pull request Nov 24, 2026
…diagram-interop

Resolve conflicts in build.mjs, package.json, verify-packages.mjs and SKILL.md (rewording steps 1-3 to keep SKILL.md within its 13050 B budget while keeping the export rule and all main rules; raising diagram usage cap 4600 -> 4850 in modules.json for the merged export line). Fix oxlint no-new-array and narrow MStep on sequence frames in scene.ts so the merge commit builds cleanly.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
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