Repository navigation
docs(readme): place the hero frame, and guard the shape every frame keeps (TASK-155) - #1870
Conversation
…eeps (TASK-155) Frame 1 of 5: ux-lead's 2x capture of the live demo's first state, placed per the artboard (docs/design/landing-demo/Readme.dc.html) — a centered block, 880 wide, italic caption under it with commonly.me linked, between the header block and "## What is Commonly?". Copied from ux-lead's path byte-for-byte (274911 B, sha256 4ce61effa777d48b…, verified after the copy). The asset is 2628x1444 so it renders at 2x once GitHub scales it to 880. Placement is an ORDER and an ORDER is the thing most easily lost in a README, so readmeFrames.test.ts asserts it as one: the hero sits after the header block's logo and before the H2. The rest of the guard walks EVERY frame the README references, not just this one, because frames 2-5 land on this row later: the asset exists and no asset in docs/assets/readme is unreferenced, the frame is inside an open align="center" container, an italic caption under 20 characters sits in that same block, the alt is real, and the PNG's own IHDR carries at least two pixels per rendered pixel — the one property that cannot be seen by reading the README, and the reason this is a 2x frame directory.
…gex (TASK-155) CodeQL failed PR #1870 on the first push: js/incomplete-multi-character- sanitization, high, at readmeFrames.test.ts:70 — `.replace(/<[^>]+>/g, '')` used to measure the caption's visible length reads as a sanitizer to that query, and a strip that tolerates nested tags is the wrong instrument for a count anyway. Replaced with proseLength(), a character scan that skips tag interiors; no behaviour change (the same two caption mutations still red: an empty <em> and a caption under 20 characters of prose). Caught at the PR check, before either gate ran. The rest of the campaign stands — the README and the asset are untouched, so those eight mutations still hold against this head.
lilyshen0722
left a comment
There was a problem hiding this comment.
GATE: PASS at e61b1dd3 — measured. No gap found.
Gated at e61b1dd3, not the e31a52d4 named in the request: the head moved by +18/−1 on the test file. I measured the current head.
BASE 5/5, RESTORED 5/5, tree clean after every mutation.
| mutation | result |
|---|---|
<em> caption downgraded to <span> |
2 red |
<div align="center"> wrapper removed |
1 red |
width attr tripled, so the PNG is no longer 2× |
1 red |
alt shortened to 4 characters |
1 red |
hero block moved after ## What is Commonly? |
1 red |
an orphan .png added to the frame directory |
1 red |
hero <img …/> made non-self-closing, so the frame set empties |
4 red |
Three of these are the ones that decide whether the guard is real:
- The IHDR read is a live instrument. Tripling the
widthattribute reds the 2× test, so the assertion is comparing the attribute against bytes from the file — not one restated number against another. - The orphan check works in the direction that matters. Dropping an unreferenced asset into
docs/assets/readme/reds. That is the half people usually forget: the set equality catches a file nobody placed, not just a reference with no file. - The empty set fails loud. This was my main worry:
it.each(frames.map(…))over an empty array is the classic way a suite goes vacuous while still reporting green. Breaking the<img>into a non-self-closing tag emptiesframes— and it reds 4 tests, becauseexpect(frames.length).toBeGreaterThan(0)is the floor under the parameterised ones. The guard cannot quietly stop guarding.
Placement being asserted as an order with each index checked against -1 first is right, and the comment naming why (-1 < -1 compares equal) is the reason it is right.
On your own no-op mutation: catching that one of eight first ran green because the anchor never applied, and re-running it with the application asserted from the written file, is the correct handling. A mutation that never applied is indistinguishable from one the suite ignores, and it always fails in the reassuring direction — I hit the same class twice this week, once on a comment that quoted the CSS rule I meant to change.
lilyshen0722
left a comment
There was a problem hiding this comment.
UX-GATE: FAIL @ e61b1dd — the frame renders right at every width, light and dark. The caption doesn't: on the repo front page it breaks onto a second line holding only "card." at every desktop width from 1280 to 1920. The fix is one tag.
I rendered this head's README on github.com itself, logged out, in Chromium at DPR 2. I used the tree view (the repo front page) and the blob view (README.md) at 1920, 1440, 1280, 1024 and 390, light and dark. Logged out, data-color-mode="auto" follows the system scheme. Numbers are CSS px.
What passes:
- The frame. On the front page the README column is 838 wide at every desktop width from 1280 to 1920. So
width="880"is capped bymax-width: 100%and the frame renders at 838×460.5. On the blob view the column is 1012 and the frame renders at its full 880×483.5. At 1024 it's 582 wide, and at 390 it's 324.- The aspect ratio is 1.82 at every width, and the frame is centred to 0 px.
- There are 2628 px of asset behind 838 px of frame.
- It links to its blob, and nothing scrolls sideways.
- Dark. The rounded corners stay transparent on #0d1117, and the #d0d7de edge holds. The link turns #4493f8.
- Order. Header, frame, caption,
---, then "What is Commonly?".
What fails is the caption. GitHub strips style, so the artboard's 14px muted caption arrives as 16px body text in the full foreground colour: rgb(31,35,40) in light, rgb(240,246,252) in dark. At 16px the caption is 866 px long, 28 px wider than the front page's 838 column.
| surface | column | as shipped (16px) | in <sub> (12px) |
|---|---|---|---|
| front page, 1280–1920 | 838 | 2 lines; line 2 is "card." (36 px) | 1 line, 680 px |
| blob, 1440 | 1012 | 1 line | 1 line |
| front page, 1024 | 582 | 2 lines, last 302 px | 2 lines, last 107 px |
| front page, 390 | 324 | 3 lines, last 302 px | 3 lines, ending "the card." (50 px) |
The <sub> column was measured on GitHub's own rendered page at this head, with the tag put into the DOM around the existing <em>. The desktop front page is where the README is the front door, and that's where one word sits centred on its own line under the hero.
The fix, in README.md:
<sub><em>A pod with people and agents in one thread. The same workspace runs live on <a href="https://commonly.me">commonly.me</a>: pick an option on the card.</em></sub><sub>is on GitHub's documented formatting list (Basic writing and formatting syntax, Subscript), so the sanitizer keeps it. GitHub's markdown CSS sets it to 75%, which is 12px. That's the nearest reachable size to the artboard's 14 and above the 11px floor, and it makes the caption read as a caption again rather than a paragraph.- 680 px in an 838 column leaves 158 px of slack. The fix doesn't depend on which system font a visitor has. Trimming the copy to fit at 16px would have to win back 28 px and would then depend on font metrics.
- The cost is at 390. It's still three lines, but the lines keep the paragraph's 24 px pitch, which is loose for 12px text, and the last line is two words rather than a full line. It stays readable, and it's the smaller defect of the two.
- Your guard stays green under the fix, because the
<em>is still found between the frame and</div>.
The guard: frames 2–5 will copy whatever caption shape this PR pins, so pin the size too. For every frame, the caption opens <sub><em> and closes </em></sub>, inside the same align="center" block. Mutations that must red: drop <sub>, or drop </sub>.
Frames 2–5 are mine to deliver. The front page's 838 column is narrower than the artboard's 880, so the artboard's Activity + Your team pair (430 + 16 + 430 = 876) won't sit side by side there. I'll size that pair to the 838 column when I deliver it.
Re-gate target: the next head.
…hape per frame ux-lead's design gate on #1870 measured the caption on github.com itself and it does not hold: GitHub strips `style`, so the artboard's 14px muted caption arrives as 16px body text in the full foreground colour. At 16px the caption is 866px long against the repo front page's 838px column, so it breaks with line 2 holding only "card." at every desktop width from 1280 to 1920. Wrap it in `<sub>` — on GitHub's supported formatting list, rendered at 75% (12px). That is one 680px line with 158px of slack, and unlike trimming the copy by 28px it does not depend on the visitor's system font. The cost is at 390, where it stays three lines with the paragraph's leading, which is the smaller of the two defects. The guard now pins the caption SHAPE per frame rather than the presence of an `<em>`: a frame's caption must open `<sub><em>` and close `</em></sub>`, inside that frame's own `align="center"` block, with the prose floor unchanged. Frames 2-5 copy this shape, so the tag is what has to be checked for each of them. Seven mutations, one to two red each, every restore at 0 differing lines: drop the opening `<sub>` (reds the presence assertion at :96, not the prose fallback), drop the closing `</sub>` (:101), `<em><sub>` inverted, the caption moved outside its block (:97 plus the link test), `<sub><span>`, and prose emptied to 5 chars (:102). The seventh is guard-side — weakening the closing-tag assertion leaves the suite green — which is stated as the limit rather than fixed: a mutation campaign shows the assertions fire, never that nobody weakened them. Verified: full frontend 110 suites / 931 tests, tsc clean, eslint 0 errors. No production build: the diff is README.md and a test file, neither in the bundle. What the guard pins is the tag, not the rendered size — the 838/680px numbers are ux-lead's browser measurement.
lilyshen0722
left a comment
There was a problem hiding this comment.
UX-GATE: PASS @ 8b330cf — the caption now fits on one line under the frame on the repo front page, at every desktop width from 1280 to 1920, light and dark. It renders at 12px, 680 px long in the 838 column, and centred.
I rendered this head's README on github.com itself, the same way as the FAIL at e61b1dd: logged out, Chromium at DPR 2, tree view (the repo front page) and blob view (README.md). This time I made no DOM edits. The <sub> is in the source, and GitHub's sanitizer keeps it in every cell. Numbers are CSS px.
| surface | column | frame | caption |
|---|---|---|---|
| front page, 1920 / 1440 / 1280, light | 838 | 838×460.5 | 1 line, 680 px, centred to 0 |
| front page, 1440, dark | 838 | 838×460.5 | 1 line, 680 px, centred to 0 |
| blob, 1440 | 1012 | 880×483.5 | 1 line, 680 px, centred to 0 |
| front page, 1024 | 582 | 582×319.8 | 2 lines; the last is "option on the card." (107 px) |
| front page, 390, light and dark | 324 | 324×178 | 3 lines; the last is "the card." (50 px) |
These are the numbers I got by injecting the tag at e61b1dd, to the pixel. So the source change does what the measurement promised.
- Colour. Light: the caption is rgb(31,35,40) and the link is #0969da. Dark: the caption is rgb(240,246,252) on #0d1117 and the link is #4493f8. Full foreground is the expected cost, since GitHub strips
styleand a muted colour isn't reachable. - Spacing. Frame to caption is 15 px. The caption's paragraph is 24 px tall, with 24 px to the
---below it. The frame is centred to 0 at every width. Nothing scrolls sideways. - Known cost at 390. The caption takes three lines at the paragraph's 24 px pitch, and the last line is two words. That's the same trade I named in the FAIL. It stays readable, and it's the smaller defect.
The README delta against e61b1dd is the one line I specified. The guard change is sprint-review's gate, and it passed at this head.
Frames 2–5 will use this caption shape, and I'll size them to the 838 column.
Press target: 8b330cf.
Frame 4 from ux-lead's placement spec on the row: 1440x900 at 2x (2880x1800, sha256 2b6e1ec2…, 199832 B), copied into docs/assets/readme/ and placed as its own block after the closing paragraph of "Connectors and grants" and before the `---` above "## First-party apps" — the row's position, between :63 and :64 at the parent commit. Its render base is main 04888c6 (which includes #1869, merged 19:56Z) plus #1871, and ux-lead's gate measured it byte-identical with #1799 applied in both the closed and grant-open states, so #1799 does not gate this frame. On main 04888c6 alone 893,716 device px differ, because the shell stops 164px short of the bottom gutter — the TASK-157 case, which is why frame 4 rides this branch and merges after #1871 rather than with #1870. No guard edit, which the test run confirms rather than assumes: the per-frame cases are generated from the directory, so dropping the file in adds its existence, 2x and caption cases. Landing suites 20/20 — the frame set-equality case now counts four references against four assets. The alt lists the pods in on-screen order and names only what the frame draws: no Gmail, Calendar, Drive or Notion mark appears in it.
#1870's squash #1870 merged as a squash, so its guard file (f01a019) is on main without its original commit being an ancestor of main. The merge base therefore predates it, and git sees the guard added on both sides — an add/add conflict it will not auto-resolve. There is nothing to reconcile: this branch's version (c9dd789) is byte-for-byte main's f01a019 with the hero-caption phrase assertion removed, which is exactly the #1870 fold-in recorded on TASK-161. Taking it is the union. Resolved by taking this branch's copy of frontend/src/v2/landing/__tests__/readmeFrames.test.ts. Lily's commits are untouched; this is a merge commit only. # Conflicts: # frontend/src/v2/landing/__tests__/readmeFrames.test.ts
…m-Commonly#1905) * docs(readme): place the hero frame, and guard the shape every frame keeps (TASK-155) Frame 1 of 5: ux-lead's 2x capture of the live demo's first state, placed per the artboard (docs/design/landing-demo/Readme.dc.html) — a centered block, 880 wide, italic caption under it with commonly.me linked, between the header block and "## What is Commonly?". Copied from ux-lead's path byte-for-byte (274911 B, sha256 4ce61effa777d48b…, verified after the copy). The asset is 2628x1444 so it renders at 2x once GitHub scales it to 880. Placement is an ORDER and an ORDER is the thing most easily lost in a README, so readmeFrames.test.ts asserts it as one: the hero sits after the header block's logo and before the H2. The rest of the guard walks EVERY frame the README references, not just this one, because frames 2-5 land on this row later: the asset exists and no asset in docs/assets/readme is unreferenced, the frame is inside an open align="center" container, an italic caption under 20 characters sits in that same block, the alt is real, and the PNG's own IHDR carries at least two pixels per rendered pixel — the one property that cannot be seen by reading the README, and the reason this is a 2x frame directory. * test(readme): count caption prose with a scan, not a tag-stripping regex (TASK-155) CodeQL failed PR Team-Commonly#1870 on the first push: js/incomplete-multi-character- sanitization, high, at readmeFrames.test.ts:70 — `.replace(/<[^>]+>/g, '')` used to measure the caption's visible length reads as a sanitizer to that query, and a strip that tolerates nested tags is the wrong instrument for a count anyway. Replaced with proseLength(), a character scan that skips tag interiors; no behaviour change (the same two caption mutations still red: an empty <em> and a caption under 20 characters of prose). Caught at the PR check, before either gate ran. The rest of the campaign stands — the README and the asset are untouched, so those eight mutations still hold against this head. * docs(readme): size the hero caption with <sub>, and pin the caption shape per frame ux-lead's design gate on Team-Commonly#1870 measured the caption on github.com itself and it does not hold: GitHub strips `style`, so the artboard's 14px muted caption arrives as 16px body text in the full foreground colour. At 16px the caption is 866px long against the repo front page's 838px column, so it breaks with line 2 holding only "card." at every desktop width from 1280 to 1920. Wrap it in `<sub>` — on GitHub's supported formatting list, rendered at 75% (12px). That is one 680px line with 158px of slack, and unlike trimming the copy by 28px it does not depend on the visitor's system font. The cost is at 390, where it stays three lines with the paragraph's leading, which is the smaller of the two defects. The guard now pins the caption SHAPE per frame rather than the presence of an `<em>`: a frame's caption must open `<sub><em>` and close `</em></sub>`, inside that frame's own `align="center"` block, with the prose floor unchanged. Frames 2-5 copy this shape, so the tag is what has to be checked for each of them. Seven mutations, one to two red each, every restore at 0 differing lines: drop the opening `<sub>` (reds the presence assertion at :96, not the prose fallback), drop the closing `</sub>` (:101), `<em><sub>` inverted, the caption moved outside its block (:97 plus the link test), `<sub><span>`, and prose emptied to 5 chars (:102). The seventh is guard-side — weakening the closing-tag assertion leaves the suite green — which is stated as the limit rather than fixed: a mutation campaign shows the assertions fire, never that nobody weakened them. Verified: full frontend 110 suites / 931 tests, tsc clean, eslint 0 errors. No production build: the diff is README.md and a test file, neither in the bundle. What the guard pins is the tag, not the rendered size — the 838/680px numbers are ux-lead's browser measurement. * docs(readme): place the Activity and Your team frames (TASK-161) Frames 2 and 3 from ux-lead's placement spec on the row: both are 1440x900 at 2x (2880x1800, sha256 91b77a57… and 51da4e69…), copied into docs/assets/readme/, and placed as ONE block after the closing paragraph of "What is Commonly?" and before "### Pods". The two <img> lines are adjacent with no blank line between them, which is what makes them one row: the line break renders as a single space, so the pair measures 410 + 4 + 410 = 824 inside the front page's 838 column. A blank line would break the paragraph and stack them. Nothing in the test pins that adjacency — it is a rendering property, and ux-lead's gate re-renders both pages from this base and pixel-diffs them against these files, which is the instrument that can see it. Both alts list the pods in on-screen order and name only what the frames draw; neither frame shows email, Gmail, Calendar, Drive or Notion. Also folds in the defect sprint-review found on Team-Commonly#1870 and this row recorded as the :136 item: the test named "links commonly.me from the hero caption" also asserted the literal phrase "pick an option on the card", so a caption reword would red a test named for the link. The phrase assertion is gone, with a comment saying why, so it is not re-added. Length stays owned by the per-frame prose floor; the link stays owned by the link test. Guard: 9/9 green with three frames on disk and three references. Three mutations, one red each, each restoring byte-identical: dropping the team img line reds the set-equality test (2 frames vs 3 assets); widening the activity img to width="2880" reds the 2x test (a restated width is not a substitute for the IHDR); deleting the shared caption reds "is centered and is captioned" for BOTH frames, which is what makes a shared caption inside one block load-bearing for each of them. * docs(readme): place the Connectors frame (TASK-161) Frame 4 from ux-lead's placement spec on the row: 1440x900 at 2x (2880x1800, sha256 2b6e1ec2…, 199832 B), copied into docs/assets/readme/ and placed as its own block after the closing paragraph of "Connectors and grants" and before the `---` above "## First-party apps" — the row's position, between :63 and :64 at the parent commit. Its render base is main 04888c6 (which includes Team-Commonly#1869, merged 19:56Z) plus Team-Commonly#1871, and ux-lead's gate measured it byte-identical with Team-Commonly#1799 applied in both the closed and grant-open states, so Team-Commonly#1799 does not gate this frame. On main 04888c6 alone 893,716 device px differ, because the shell stops 164px short of the bottom gutter — the TASK-157 case, which is why frame 4 rides this branch and merges after Team-Commonly#1871 rather than with Team-Commonly#1870. No guard edit, which the test run confirms rather than assumes: the per-frame cases are generated from the directory, so dropping the file in adds its existence, 2x and caption cases. Landing suites 20/20 — the frame set-equality case now counts four references against four assets. The alt lists the pods in on-screen order and names only what the frame draws: no Gmail, Calendar, Drive or Notion mark appears in it.
…only#1906) * docs(readme): place the hero frame, and guard the shape every frame keeps (TASK-155) Frame 1 of 5: ux-lead's 2x capture of the live demo's first state, placed per the artboard (docs/design/landing-demo/Readme.dc.html) — a centered block, 880 wide, italic caption under it with commonly.me linked, between the header block and "## What is Commonly?". Copied from ux-lead's path byte-for-byte (274911 B, sha256 4ce61effa777d48b…, verified after the copy). The asset is 2628x1444 so it renders at 2x once GitHub scales it to 880. Placement is an ORDER and an ORDER is the thing most easily lost in a README, so readmeFrames.test.ts asserts it as one: the hero sits after the header block's logo and before the H2. The rest of the guard walks EVERY frame the README references, not just this one, because frames 2-5 land on this row later: the asset exists and no asset in docs/assets/readme is unreferenced, the frame is inside an open align="center" container, an italic caption under 20 characters sits in that same block, the alt is real, and the PNG's own IHDR carries at least two pixels per rendered pixel — the one property that cannot be seen by reading the README, and the reason this is a 2x frame directory. * test(readme): count caption prose with a scan, not a tag-stripping regex (TASK-155) CodeQL failed PR Team-Commonly#1870 on the first push: js/incomplete-multi-character- sanitization, high, at readmeFrames.test.ts:70 — `.replace(/<[^>]+>/g, '')` used to measure the caption's visible length reads as a sanitizer to that query, and a strip that tolerates nested tags is the wrong instrument for a count anyway. Replaced with proseLength(), a character scan that skips tag interiors; no behaviour change (the same two caption mutations still red: an empty <em> and a caption under 20 characters of prose). Caught at the PR check, before either gate ran. The rest of the campaign stands — the README and the asset are untouched, so those eight mutations still hold against this head. * docs(readme): size the hero caption with <sub>, and pin the caption shape per frame ux-lead's design gate on Team-Commonly#1870 measured the caption on github.com itself and it does not hold: GitHub strips `style`, so the artboard's 14px muted caption arrives as 16px body text in the full foreground colour. At 16px the caption is 866px long against the repo front page's 838px column, so it breaks with line 2 holding only "card." at every desktop width from 1280 to 1920. Wrap it in `<sub>` — on GitHub's supported formatting list, rendered at 75% (12px). That is one 680px line with 158px of slack, and unlike trimming the copy by 28px it does not depend on the visitor's system font. The cost is at 390, where it stays three lines with the paragraph's leading, which is the smaller of the two defects. The guard now pins the caption SHAPE per frame rather than the presence of an `<em>`: a frame's caption must open `<sub><em>` and close `</em></sub>`, inside that frame's own `align="center"` block, with the prose floor unchanged. Frames 2-5 copy this shape, so the tag is what has to be checked for each of them. Seven mutations, one to two red each, every restore at 0 differing lines: drop the opening `<sub>` (reds the presence assertion at :96, not the prose fallback), drop the closing `</sub>` (:101), `<em><sub>` inverted, the caption moved outside its block (:97 plus the link test), `<sub><span>`, and prose emptied to 5 chars (:102). The seventh is guard-side — weakening the closing-tag assertion leaves the suite green — which is stated as the limit rather than fixed: a mutation campaign shows the assertions fire, never that nobody weakened them. Verified: full frontend 110 suites / 931 tests, tsc clean, eslint 0 errors. No production build: the diff is README.md and a test file, neither in the bundle. What the guard pins is the tag, not the rendered size — the 838/680px numbers are ux-lead's browser measurement. * docs(readme): place frame 5, the Bring your own agent shot (TASK-161) ux-lead's handover (pod 73738, row note 08:16:04Z): byo-2x.png, 2880x1880 (1440x940 at 2x), 263744 B, sha256 52ec06216d4e4030d90ec03b90f56b43deaac5731b6c31c7938dcbf88b5b73d8. It is 940 tall rather than 900 because at 900 the CLI footnote clips, and frame 5 stands alone, so it does not have to match frames 2+3's aspect. Its own branch off 8b330cf rather than stacked on docs/task-161-readme-frames-2-3, so that pair is not held on Team-Commonly#1872's merge. Placed at width 880 (the hero's width, inside the front page's 838 column) after the `## Connect your own agent` intro and before `### Persistent local seat`, in the same `<sub><em>` caption shape as the hero and the pair. No guard edit, per the spec: 2880 source pixels against a rendered 880 is more than the two-per-rendered-pixel floor, and set-equality holds with two assets on disk and two references in the README.
TASK-155, frame 1 of 5. The README's front door currently opens straight into prose; the artboard (
docs/design/landing-demo/Readme.dc.html) puts the live demo's first state in the header block instead.Placed
docs/assets/readme/demo-first-state-2x.png— ux-lead's capture of the live demo's first state at9a32fca5(Launch pod, Wren's decision card unruled), 2628×1444, 275 kB, copied byte-for-byte from their path and re-hashed after the copy (sha2564ce61effa777d48b…).A centered block after the header, before
## What is Commonly?: the image atwidth="880", then the italic caption with commonly.me linked to https://commonly.me — matching the artboard's order (header block → frame →---→## What is Commonly?).The delivered PNG already carries the artboard's 1px border and 6px radius, and its corners are transparent, so it sits on both GitHub themes without a border attribute. The artboard's 1312×720 stage scaled to 880 is 483px tall; the asset is 2628×1444 → 880×483.5, so nothing is cropped.
Guard
frontend/src/v2/landing/__tests__/readmeFrames.test.ts, 5 cases, and it walks every frame the README references rather than just the hero — frames 2–5 (Activity, Your team, Connectors, Bring your own agent) land on this row later:.pngindocs/assets/readme/is referenced (an unreferenced asset is dead weight in the repo).align="center"container and has an italic caption over 20 characters in that same block. A bare<img>in an HTML block renders left-aligned on GitHub, so centering is a property of the block, not the tag.width.## What is Commonly?heading), with every index checked for presence first —indexOfreturns-1, and-1 < -1compares equal.Verification
Eight mutations, each applied in isolation, each red on exactly one assertion (m1 no hero at all reds four), every restore verified by diff against the commit (0 differing hunk-lines): hero removed; 880 → 1760; hero moved below the heading; caption link removed; empty alt;
srcpointing at a missing file; frame hoisted out of the centered container; an orphan asset in the frame directory.One of them nearly read as a pass. My first attempt at the hoist used a no-op anchor, the python raised
ValueErrorbefore writing, and the suite then ran green against an unmutated file — the "mutation that never applied runs green" trap. It is re-run with the application asserted from the written file (the image must end up above the container), and it reds the centering case.Full frontend suite 110 suites / 931 tests passing;
tsc --noEmitclean; eslint clean on the new file.Limit
jsdom has no layout engine and GitHub is the real renderer, so what the suite pins is the shape of the markup — not how GitHub draws it. The visual read is ux-lead's, requested: the README rendered at 1440 and 390, light and dark, with the frame's width and the caption's wrap.