GPT-6-Astra (Codex), cross-provider review for session 21a32889. Reviewed all ten files on fix/phone-pickers at c650a2c, its branch description, and the relevant rastrillo v0.28.0→v0.29.0 changes. Read AGENTS.md; this repository has no CONTRIBUTING.md. Work was isolated in /tmp/docs-review-21a32889; no source edits, commits, pushes or merges.
Verdict: needs changes. No P0 or P1 findings.
- P2 — The upward picker is inside the viewport but still behind the title bar.
internal/docs/views/show.html:1114–1116, with the coverage gap atfixtures/engines/pickers.mjs:144–147. Using the test's own 390px/40px-visible-below scenario, the Style list spans y=0..88 in both Chromium and WebKit. Its first option, “Body text”, is covered by the title input:elementFromPointreturns[estilo-bar-title-input], not the option. Only the second option is initially hit-testable; scrolling cannot bring the first option out from under the title bar. The previous entirely-offscreen defect is improved, but the upward-opening case still fails the stated usable-picker goal. This is already acknowledged in the branch discussion and the test comment; skippingm.shown/row-hit assertions does not resolve it. The passing official test itself logsshown:1for this upward case. Make the placement respect the unobscured space or make the popup paint above the chrome, then assert actual option reachability in the upward case too. This is a remaining defect in the behavior this branch attempts to fix, not a newly introduced title-bar stacking rule.
- P2 — Replace the dependency pin after the upstream clipping fixes land.
go.mod:11. This branch pins the exact rastrillo head reviewed in #136. That head regresses genuinely clipped fixed lists undercontent-visibility:autoandwill-change:translate/rotate/scale/contain, and still misclassifies size-query containers. I reproduced those in both engines with the actual dependency's source. Docs' ordinary toolbar does not currently use those containing-block triggers, so this is an upstream merge dependency, not a second reproduction in the current toolbar. The branch description already requires landing rastrillo first and repinning; use the corrected merge commit and rerun the picker drive.
There is also a concrete integration blocker: origin/main was 25cd32a at the start of the review and advanced to 317e09b (Help/Colophon) during it; this branch forked before the resync work. Both main tips conflict with the reviewed head. A read-only merge simulation reports a content conflict in internal/docs/fonts_engines_browser_test.go, where both branches extend the shared engines rig. Resolve it preserving both the new resync scenarios and pickers.mjs, then rerun the relevant browser checks. I did not merge or alter the checkout.
The rest of the changes look sound within the checks below:
- The
enimport satisfies v0.29's startup locale-pack requirement; real local sign-in and document loading work with the new dependency. - The ordinary downward pickers and the 320px width fix are covered by Chromium and WebKit, plus the existing Chromium fallback leg with CSS anchor support disabled in the page. This is useful fallback coverage, not a real Firefox result.
- Docs serves
ui.TokensCSS(),ui.SelectJS()andui.DatetimeJS()from the selected module. Its theme remains estilo's Calma, and its shell shim is estilo's embeddedbusy.ShimJS(). It does not adopt the newdaytheme orlight.js. The existing/appearancemenu and server-renderedFrame.Themeremain in charge; the framework's new/_themeendpoint does not add a second visible switch or change those cookie semantics. - I inspected live Docs at 320, 390 and 1280px in both engines, including desktop dark appearance. For the sampled document, swapping only v0.28/v0.29
tokens.cssgave pixel-identical 320/390px screenshots. Toolbar geometry also stayed the same on desktop. No broader visible regression was found in those views; the upward menu issue above was independently hit-tested and photographed. - The v0.29 generated-resource/API, actor and money changes do not introduce those features into this hand-written editor. The app's build, auth and rendering checks are the evidence for compatibility; this review is not a claim to have separately audited every implementation added to rastrillo v0.29.
- Twin removal is safe.
internal/fonts/fonts.jsonis byte-unchanged. AppleDocsFonts.swiftstill decodesManifest.Family.twinand passes it intoDocsFontFamily; its resource path is the JSON manifest, not a serialization of the GoFamilystruct. Go's only field reader removed here was the old assertion. DOCX and paste use the retaineddocx.nameand fallback/name matching. No Apple code or asset changes are needed for this Go-only removal. - The font hold, gate, per-family transaction checks, prefetch and preview CSS are unchanged. The full browser suite below includes the first-reveal/frame checks in Chromium and WebKit, missing/late scripts and fonts, picker previews, local and remote font waits, and no-chrome-webfont checks.
Validation uses GOTOOLCHAIN=go1.26.5 throughout:
TMPDIR=/tmp .amadan/ci.d/10-gate, with OrbStack: passed,gate: ok. This includes JS tests/artifact checks, Rust/wasm, wire compatibility, Go vet/tests/formatting and the app build. The plain Docs package passed in 256.309s. Vendor Rust warnings were nonfatal.RASTRILLO_CHROME=<Playwright chromium-1234 executable> go test -tags browser -count=1 -timeout 40m ./internal/docs/: failed after 1401.478s, with one failing test,TestFontEnginesAWaitingPasteSurvivesARefusedSave: Chromium case (j) did not retainREVIEW_RESYNC_PASTE codeword. Every other test in that run passed, including the first-reveal/no-flash checks. The failing test was rerun alone and failed the same way (164.20s); Chromium case (j) alone also failed (48.26s). Crucially, the identical test on the unchanged basece485a5, still using rastrillo v0.28.0, reproduces the same failure (179.73s). This is a reproducible pre-existing validation failure in this environment, not evidence that the picker/dependency branch introduced it. I cannot report a green full browser suite. The additional logs are/tmp/docs-review-21a32889-replay-{rerun,j,base}.log.- Focused
TestToolbarEnginesEveryPickerOpensUsably, same toolchain and browser,-count=1 -timeout 40m -v: passed (6.61s). Its output includes the problematic upwardshown:1; the test currently does not assert that field in this leg. - Independent served-app visual and hit-test checks in Chromium/WebKit at 320/390/1280px, v0.28/v0.29 CSS comparison, local sign-in, and source tracing of Apple's JSON consumer. Screenshots and logs are under
/tmp/docs-review-*; the full gate/browser logs are/tmp/docs-review-21a32889-{gate,browser,picker}.log.
The green gate and focused picker test do not excuse the hit-tested upward-picker defect.
Finding disposition: findings 1–2 remain open; nothing was fixed during this review. The merge conflict also remains. Re-review after the upward-list behavior, upstream pin and conflict resolution are concrete.
Review prompt (verbatim):
You are a code reviewer (model: GPT-6-Astra via Codex). This is the cross-provider review that rastrillo's CONTRIBUTING.md requires. Review only: do NOT edit, commit, push or merge. Work in scratch worktrees under /tmp. Read each repo's AGENTS.md and CONTRIBUTING.md first.
**The bug.** On phones, the Oficina Docs toolbar pickers (Style, Font, Size) opened as lists about 10 px tall. Rastrillo's ui `select.js` `place()` clamped the list to any ancestor whose computed overflow-y was auto, scroll, hidden or clip. Docs' phone rule `overflow-x: auto` on the toolbar makes overflow-y compute to auto, but the list is fixed/anchored, so the toolbar never actually clips it.
**1. rastrillo #136.** Repo /Users/paulcampbell/amadan.net/rastrillo/rastrillo (hub rastrillo/rastrillo), branch `fix/select-place-clip`, head 3899ad58. Review the whole branch against origin/main.
What the branch does:
- `place()` now limits the list's room only by ancestors that can actually clip it:
- a fixed list skips ancestors until one establishes a containing block for fixed boxes (transform, filter, contain, container-type);
- an absolute list stops at a positioned ancestor;
- overflow on one axis is honoured correctly.
- New test: TestSelectRoomIsCutOnlyByWhatClipsTheList.
- select.js size budget 52KB→53KB, and ui test-line budget 36,750→36,850, each with a stated reason.
Check: the correctness of the containing-block logic against the CSS spec. Cover these cases:
- will-change: transform
- perspective
- backdrop-filter
- contain: paint/layout/strict/content
- container-type
- content-visibility
- top-layer and popovers
- shadow DOM and slots
- iframes
- scroll containers that really do clip absolute lists
Also check for regressions in other rastrillo apps' pickers, and whether the budget increases are justified.
**2. docs #95.** Repo /Users/paulcampbell/amadan.net/oficina/docs (hub oficina/docs), branch `fix/phone-pickers`, head c650a2c. It is pinned to the rastrillo branch commit, which also moves Docs from rastrillo v0.28.0 to v0.29.0.
What the branch does:
- Adds the `en` locale pack, which v0.29 requires.
- At 320 px, sets `position-try-fallbacks: flip-inline` plus a `max-inline-size` cap.
- Fixes an upward-opening list that rendered entirely above the screen: rastrillo's `bottom: 100%` was beating Docs' anchored rule.
- Drops the unused `fonts.Family.Twin` field.
- New test: TestToolbarEnginesEveryPickerOpensUsably, run in Chromium and WebKit at 320, 390 and 1280 px.
Check:
- Everything else v0.29 brings in, such as control sizes and the colour-scheme switch. Look for visible regressions in Docs and for no-flash regressions: Docs has a strict "no flashing ever" font design.
- That the Twin removal is safe; the Apple app still reads the "twin" key from fonts.json.
**Running checks.** Use GOTOOLCHAIN=go1.26.5.
- rastrillo: run `make ci`. It hits a known bash syntax error in hack/gotest.sh on this Mac; if so, run the ui, auth and root packages directly. Also run `make mirror-check`.
- docs: run `TMPDIR=/tmp .amadan/ci.d/10-gate` with OrbStack, plus the browser tests with RASTRILLO_CHROME set to Playwright's chromium and `-timeout 40m`.
- The machine is loaded, so re-run any timing failure on its own before trusting it.
**Posting.** Reply on rastrillo #136 and docs #95 as the agent account (`export AMADAN_HOME=$HOME/.amadan-claude-agent`, binary /Users/paulcampbell/.local/bin/amadan), identifying yourself as GPT-6-Astra (Codex), reviewing for session 21a32889. Label findings P0, P1 or P2. Give each branch a verdict of "ready to merge" or "needs changes", and end with a two-row verdict table.| Branch | Verdict | | --- | --- | | rastrillo fix/select-place-clip | needs changes | | Docs fix/phone-pickers | needs changes |