Skip to content

List the pages again after a correction that wrote nothing on a moved page - #421

Merged
Swordlash merged 2 commits into
mainfrom
budget-machine-list-again
Dec 2, 2026
Merged

Swordlash merged 2 commits into
mainfrom
budget-machine-list-again

Conversation

@Swordlash

@Swordlash Swordlash commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

A property of the budget's machine failed once in CI (run 46942093069, native (unit), seed 960305402, on another pull request's branch): "corrects or deletes the row the reader opened, or refuses, over any order of clicks, answers and changes by others" found 0 requests to list the pages again where its rule expects 1. The machine was wrong, not the test.

The fault

A correction that changes no field writes nothing; the host answers it with the page as it is now, at the address its fresh list gives. The machine's branch for such an answer (the answer's version is the version the write was bound to), added in #415's last round, took the write out and returned before the rule for ListAgain was looked at. So when the month's page had moved while that correction waited, the sheet was not told to list the pages again, though the answer named the page at an address other than the one the input lists.

The fix (Wiki.Plugin.Budget.Machine)

That branch asks for the list under the same condition as every other correction and delete: the input lists the page, at another address than the answer's. The condition is one function, listedElsewhere. The haddocks of the rule say it.

Why the property found it only now

It needs a correction that changes no field to be out or waiting while its page moves, and to run before any refresh. The moves added on the same day (RetryBound, which saves fixed values and leaves the write out, with Relocate) made that reachable.

Tests

  • The step's example for a correction that changed no field also covers the moved page: the answer at another address gives [TellWrites atRest, ListAgain]; at the same address, no ListAgain.
  • CI's counterexample is kept as an example, played through the property's own checks.
  • Both fail without the fix. The seed replays in the new suite and passes with it.
  • A long run found nothing more: seed 960305402 with 20,000 cases of the corrections' property and 5,000 of the other, and three more seeds with 3,000 and 1,000.

Verification

Run locally: build-native, format, lint; wiki-plugin-budget-machine-test three times with different seeds (31 examples, 16 to 27 s), wiki-plugin-budget-test (91), wiki-app-test narrowed to the budget's sheet, the leave spec and the kind write (189).

Codex

  • Round 1 (c11a77a, gpt-6.2-sol, high): nothing found.

(rounds are added here)

🤖 Generated with Claude Code

https://claude.ai/code/session_01HnFn8HVAncUyJ6jU4yhnRM

…e nothing at a moved page

A correction answered at the version it was bound to wrote nothing, and
the machine took it out at once. That early branch returned before the
rule that asks the host to list the pages again when the answer names a
page the input lists at another address. The host answers such a write
with the page's address now, so a page moved since the input's list was
read stayed at its old address in the input. The property of the
corrections found it in CI: a correction to the values an earlier one
gave the row was sent again, someone moved its page before it ran, and
it ran before any list was read again. The branch now asks the list
again under the same condition as the other corrections and deletes.
The case is kept as an example, with a step example beside the one for
an unchanged correction.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HnFn8HVAncUyJ6jU4yhnRM
@Swordlash
Swordlash merged commit 3292c68 into main Dec 2, 2026
14 checks passed
@Swordlash
Swordlash deleted the budget-machine-list-again branch December 2, 2026 23:09
Swordlash pushed a commit that referenced this pull request Dec 2, 2026
…421)

A correction that wrote nothing on a page that had moved did not ask
for the pages' list again; the property was right.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HnFn8HVAncUyJ6jU4yhnRM
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