Skip to content

Keep ready controls visible for large Todo scopes - #9106

Open
loopx-agent wants to merge 1 commit into
mainfrom
codex/ready-todo-scope-navigation-20261120
Open

loopx-agent wants to merge 1 commit into
mainfrom
codex/ready-todo-scope-navigation-20261120

Conversation

@loopx-agent

Copy link
Copy Markdown
Collaborator

Goal And Delivered Outcome

A ready native quota decision can carry a long Goal write scope and a long list of requested Todo scopes. The bounded reader already deferred the Goal list, but the Todo list could still make the opening too large. The first page then ended inside the Goal scope before the stop, required reads and readiness were available.

The ready reader now presents those controls and the selected Todo text in a complete opening at the existing page budget. Its linked read supplies the two exact scope lists and any deferred approval entries from the original capture. Previously observed Goal scope remains eligible for reuse. Losing the observation restores the complete linked read.

Author Declaration

Written by model_agent (OpenAI Codex, GPT-6).

Implemented against

The native ready read and recovery clauses in the required work context contract.

Criterion Disposition Evidence
Deliver the current decision, stop and required reads in one bounded opening when the controls fit. Implemented Both providers expose the complete opening with 290 Goal scopes and 355 Todo scopes.
Read all deferred facts with the original capture and identity. Implemented The linked cursor and the historical selector cover the same facts. The saved projection includes checkpointed approvals.
Recover exact scope when retention is lost. Implemented Warm tests reuse the observed Goal list and recover the full remainder after compaction. The original admission receipt remains unique.
Keep the ordinary reader when the control rows fit. Implemented The wider first-page fixture keeps the ordinary cursor. Existing explicit-off and exact selection tests pass.

Validation

Tested revision a0133c2da3a2504b668b89896643b94b04e1c3d2 against main at 8e9a28a866da06cc6fd63e78709910fe35dad564. The input classes were synthetic and public-safe.

Check kind Result Evidence
real_entrypoint passed quota should-run and saved quota context-project with real isolated File and SQLite authority. The regression covers cold reads, retained Goal scope, lost retention and checkpointed approvals.
regression_parity passed The same File case fails the generated-opening assertion on base and passes on head. Exact continuation and recovery preserve both scope values and the single admission receipt.
integration passed 37 Python tests for first-read navigation and exact selection transport, including 24 ready-opening cases.
unit passed 28 control-plane selection and progressive-context TypeScript tests.
static passed TypeScript typecheck, changed Python Ruff, public boundary scan, RFC diff check and 19 standard premerge checks.
integration not_run Full local Python suite and installed Host and model qualification. Hosted checks and independent review are pending.

Matched cold File fixture with a 12,000-byte first-page limit

Observation Base Head
Complete first-page selection No Yes
First reader stdout bytes 12,000 6,848
Full initial-read and continuation stdout bytes 67,439 68,963
Calls to read the full initial selection 6 7

The extra call separates the bounded opening from the required scope read. These are CLI wire measurements. Installed Host retention and model cost remain open.

Frontend / Visual Evidence

UI impact is none.

Type of Change

  • Bug fix
  • Test update

LoopX Area

  • Control plane

Commits carry DCO sign-off. Validation disclosure guidance

Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>

This branch has not been deployed

No deployments
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