Repository navigation
Word cut M0: the 1,060 rows re-read against master, 155 new rows, and the on-demand words rig - #810
Conversation
…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)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
| 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(); |
There was a problem hiding this comment.
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 👍 / 👎.
| await browserTab('http://127.0.0.1:9/'); | ||
| await expect(browser().locator('[data-browser-page="error-refused"]').first()).toBeAttached({ timeout: 30_000 }); |
There was a problem hiding this comment.
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 👍 / 👎.
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
items.jsonagainst current master. Each row gets anm0record: its status, its current source, its milestone (M1 to M5), its scene, or the state a picture of it would need.patternrows (N1 to N155) cover text the wave added: 11 cut, 49 reword, 95 stay.render.pydraws the M0 and Build columns, and the eight area tables are regenerated.e2e/words-shots.rig.ts, with its ownplaywright.words.config.ts, is run bypnpm shots:wordson demand only. It is not a*.spec.ts; no e2e group, barepnpm e2eor default derivation collects it, and no guard list changed.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.<WORDS_OUT>/<scene>.pngand_run.json.rig/words-shots.spec.ts.txtis removed.Proof
c84463fe7onux-wave/word-cut-m0, with mastere8c835e58merged in.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)