Skip to content

Share admitted state sequences and reconcile refused gestures - #2188

Merged
max-sixty merged 6 commits into
mainfrom
codex/quality-sequences
Oct 10, 2026
Merged

max-sixty merged 6 commits into
mainfrom
codex/quality-sequences

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

An undo refused after another tab withdrew the same action could temporarily restore the obsolete winner, because refusal responses carried no fresh state. Every final event response now carries the current reading, and the existing client state-application path adopts it before ordinary refusal cleanup. Existing browser journeys cover both response/poll orders and read acknowledgements; no new publisher API is needed.

The publisher and Python projection now share one real admitted edit → undo → refusal → revision sequence, including historical retraction boundaries and dependent undo cleanup. Node fixtures invoke the current Python served-state producer directly, replacing a 920-line committed fixture and its drift check. Two Python cases are removed; existing browser contracts remain and one arrival-order parameter case is added. Generation costs about 0.5 seconds per importing Node process in one measurement.

Making the fixture use real metadata exposed a historical snapshot carrying a stamp from later in its log. Live reads, snapshots, historical truncation, exports, previews and model fixtures now use one pure document-descriptor owner. The server also supplies canonical revision labels instead of the browser calculating them again.

Validation: focused model/snapshot/admission checks, 43 publisher tests, 275 runtime tests, real browser journeys in both arrival orders and bookkeeping refusal, pre-commit and independent reviews. Planted withdrawal, refusal, retraction and serialized-coordinate faults fail the shared sequence; the coordinate fault passes the former isolated selection. Served startup requests are unchanged.

This was written by Codex on behalf of max-sixty

Generate Node fixtures from the current Python projection rather than keeping a serialized copy. Replace isolated checks with one real edit, undo, refusal and revision sequence, retaining browser coverage for both arrival orders.

Return a fresh reading on final event refusals and adopt it through the existing client path before ordinary cleanup. Derive snapshot and historical document metadata from one owner, including canonical revision labels, so a truncated reading cannot inherit a future stamp.
leaf-agent
leaf-agent previously approved these changes Oct 9, 2026
Base automatically changed from codex/quality-gates to main October 9, 2026 23:09
@max-sixty
max-sixty dismissed leaf-agent’s stale review October 9, 2026 23:09

The base branch was changed.

@max-sixty
max-sixty merged commit e217df3 into main Oct 10, 2026
6 checks passed
@max-sixty
max-sixty deleted the codex/quality-sequences branch October 10, 2026 00:04
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