Skip to content

Keep document reading in flow and verify scroll-region policy - #2010

Merged
max-sixty merged 3 commits into
mainfrom
codex/document-scroll-policy
Oct 8, 2026
Merged

max-sixty merged 3 commits into
mainfrom
codex/document-scroll-policy

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Completed records should grow in the document's scroll; bounding a long log makes readers switch between scroll areas unnecessarily. Clarify the authoring contract: independent tasks and live-following streams justify a vertical reading region, while length alone does not.

Make wheel and reading-key navigation follow the same scroll chain. Document bounds yield to their parent at an edge; workspace panes, drawers and other task surfaces retain their boundary. Register annotation rails and both drawers with the shared reading-region owner so keyboard navigation reaches their lists, including from drawer headers.

Replace the sidebar case's source-only primary check with a complete author/check/render/revise workflow, including a 900×600 window. Keep the source and live-stream probes as diagnostics. Native Codex probes install the complete plugin in an isolated home with the host CLI, and share Promptfoo's connection within that home.

Validation: browser regressions cover wheel chaining, both reading-key pairs, nested task boundaries, annotation rails and both drawer postures; eval tests and pre-commit pass. One complete Codex workflow passed all 12 checks; a separate reader operated its final page at desktop and phone widths. The instruction contrasts passed both old and new wording, so they establish guards rather than a measured improvement in reliability. Full CI and automated review must pass before merge.

This was written by Codex on behalf of max-sixty

leaf-agent
leaf-agent previously approved these changes Oct 8, 2026
@leaf-agent
leaf-agent dismissed their stale review October 8, 2026 01:59

CI failed on this head: the new Codex installer test requires rg, and new browser tests use fixed wait deadlines rejected by the suite.

@leaf-agent

Copy link
Copy Markdown
Collaborator

CI's test job failed on a14a44e for two checks introduced in this diff, so I withdrew my approval:

  • test_native_codex_discovers_the_complete_arm_with_root_relative_access invokes rg to list the installed files. The CI runner has no rg, so the test raises FileNotFoundError before checking the plugin. A Path.rglob lookup would keep that assertion self-contained.
  • test_a_wait_takes_the_suites_deadline rejects the new literal timeout=2000 waits in test_render_navigation.py and timeout=5000 in test_render_widgets.py. Those waits need the shared browser deadline from leaf.render_checks.

The other Python tests completed with 2,594 passes and 10 skips; these two failures keep the head red.

@max-sixty
max-sixty merged commit 811fb73 into main Oct 8, 2026
6 checks passed
@max-sixty
max-sixty deleted the codex/document-scroll-policy branch October 8, 2026 02:36
max-sixty added a commit that referenced this pull request Oct 8, 2026
A workspace fills the window only where panes stand side by side, so the lone
pane #2010's test used as a task boundary now flows with the page. The test
builds the boundary with beside_a_pane, as the other held-pane tests do.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.

2 participants