Skip to content

Word cut M0: the 1,060 rows re-read against master, 155 new rows, and the on-demand words rig - #810

Merged
SSFSKIM merged 10 commits into
masterfrom
ux-wave/word-cut-m0
Nov 20, 2026
Merged

SSFSKIM merged 10 commits into
masterfrom
ux-wave/word-cut-m0

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Root: docs/doperpowers/specs/2026-11-16-word-cut-design.md (the word cut, #720) · M0, the record and the rig · docs, plus one on-demand e2e rig; no product text changes.

What it does

  • The list re-read against master. M0 reads all 1,060 rows of items.json against current master. Each row gets an m0 record: its status, its current source, its milestone (M1 to M5), its scene, or the state a picture of it would need.
    • 986 unchanged, 7 moved, 11 rewritten by the wave and decided again by the five rules, 4 gone, 52 moot.
    • 41 rows need the owner's call: the cut would change words a wave design or the owner's own answer fixed. They are recorded, not built.
  • New rows. 155 pattern rows (N1 to N155) cover text the wave added: 11 cut, 49 reword, 95 stay. render.py draws the M0 and Build columns, and the eight area tables are regenerated.
  • The rig. e2e/words-shots.rig.ts, with its own playwright.words.config.ts, is run by pnpm shots:words on demand only. It is not a *.spec.ts; no e2e group, bare pnpm e2e or default derivation collects it, and no guard list changed.
    • It has 175 scenes, listed in scenes.md: carried from the design rounds with locators re-derived from master, plus 68 for the wave's new surfaces and states the rounds never reached.
    • It writes <WORDS_OUT>/<scene>.png and _run.json.
  • The old rig/words-shots.spec.ts.txt is removed.

Proof

  • Head c84463fe7 on ux-wave/word-cut-m0, with master e8c835e58 merged in.
  • Class 1a 44785058382 and desk-web 44786573351, both success; each gate commit's tree equals the head's.
  • The rig's first whole run on the mini at 6a97e245f (CI-opt; the head since adds only master): 5 of 5 launches passed in 29.9 min. 160 of 175 scenes were reached. Of the 15 not reached, 3 have no target on master by design. The other 12 are click or setup misses, left to each milestone's builder, which adds the scenes its own surfaces need before its "before" pictures (Decision Log). The pictures stay off the repository.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

…nd by pnpm shots:words through its own config

The rig of docs/doperpowers/specs/2026-11-16-word-cut/rig/words-shots.spec.ts.txt, repaired against master
and extended with m0- scenes. Its file is not a *.spec.ts, so no e2e group, the bare pnpm e2e and default's
derivation collect it; playwright.words.config.ts selects it alone.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…Array.from

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d render.py), kept when the executor stopped

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…he Org scenes read their seeded org through

The rig's header already named the harness build; the script built the plain one, so the three Settings › Org
scenes would have recorded themselves as not reached. Every window stays the product's (MAWS_HARNESS=0).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… 155 pattern rows

items.json: an m0 field on each of the 1,060 rows (986 unchanged, 7 moved, 11 rewritten by the wave and decided
again by the five rules, 4 gone, 52 moot), with the master source, the evidence, the rows recorded for the owner
(34) and held for U11b (2), the milestone and the scene or the state a scene still needs; 155 rows N1 to N155 for
text the wave added, decided by the rules. render.py draws the M0 and Build columns and the new rows at the end of
each area's table; the tables are regenerated.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…record of M0

scenes.md lists the rig's 175 scenes (107 carried onto master, three without a target there, 68 added) with the
command for the pictures. The rig's text copy under rig/ went with 0f3151c; e2e/words-shots.rig.ts replaces it.
The spec: Progress, M0's record, the tables' counts, Surprises and eight Decision Log lines.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nes.md lists

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…machine has none after the scratch is cleared)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T17:59:56.912360Z c84463f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 314b809 into master Nov 20, 2026
@SSFSKIM

SSFSKIM commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Landed on master as 314b809 (merge commit on e8c835e; its tree 54743376c equals the head's, so class 1a 44785058382 and desk-web 44786573351 are the evidence, both read through the API).

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)

@SSFSKIM
SSFSKIM deleted the ux-wave/word-cut-m0 branch November 20, 2026 17:57

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c84463fe7d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread e2e/words-shots.rig.ts
Comment on lines +1683 to +1685
const rail = tab(created.doc!).locator('aside.doc-rail').first();
// the version's own label, which the rig wrote
await rail.getByRole('button', { name: /Draft/ }).first().click();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Prepare version-preview fixtures independently of other captures

With WORDS_ONLY=m0-doc-version-preview (or m0-doc-*), this scene cannot be captured: shot() skips the preparation of the unselected r2-doc-versions scene, which is the only place that opens the document, writes its content, saves the “Draft” version and opens history. This callback therefore waits for a nonexistent Draft button, and its retry only closes overlays before repeating the same click. Move the prerequisite setup into a shared helper called by this scene as well, so the advertised scene filtering can produce the requested screenshot without requiring an unrelated capture.

Useful? React with 👍 / 👎.

Comment thread e2e/words-shots.rig.ts
Comment on lines +1278 to +1279
await browserTab('http://127.0.0.1:9/');
await expect(browser().locator('[data-browser-page="error-refused"]').first()).toBeAttached({ timeout: 30_000 });

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use a safe closed port for the refused-connection capture

Port 9 is blocked by Chromium's unsafe-port policy, so navigating to this URL produces ERR_UNSAFE_PORT, not the refused-connection state required by the newly narrowed locator. Consequently, r2-browser-failed times out on both attempts and records no screenshot, whereas the previous rig accepted any error page. The existing closedPort() helper in e2e/support/browser-server.ts explicitly avoids this problem, and e2e/browser.spec.ts uses it for its error-refused case; use that helper here as well.

Useful? React with 👍 / 👎.

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