Repository navigation
Align four remaining nightly browser cases with Ask workflows - #1004
Merged
Merged
Conversation
Use answered Asks for receipt, pickup, and claim assertions after the workflow cutover. Exercise the shipped board margin rail with a real anchored thread, since an ordinary board move no longer creates a workflow.
leaf-agent
approved these changes
Sep 23, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 23, 2026
A page action that answers no Ask, such as a moved card or a draft edit, now shows its Sent / Queued / Picked up receipt again. It still owes the agent nothing: Stop, `leaf status idle`, and the banner's counts ignore it. ## What #983 conflated #983 made each workflow carry `answer`, the operation the agent owes a move, and dropped every page action that owes nothing from the workflow list. A workflow carries two separate readings, though: - `stage` is delivery progress. `conversation-loop.md` promises it for every reader move, and the margin, the Page Map and `leaf delivery claim` read it. - `answer` is the obligation, and Stop, `idle` and the counts read it. Because the move itself was removed, a moved card lost its receipt and `leaf delivery claim` on it reported no outstanding move. #1004 then rewrote the four nightly cases to use Ask answers, so the suite no longer covers these moves. ## The change - A page action that answers no Ask keeps a workflow whose `answer` is null. The workflow stays until the markup records the move or a later version takes it in. - Activity counts are now derived from owed answers alone (`outstanding` = `obligations`). This keeps #983's guarantees: no Stop or idle block and no pending count for a move that owes nothing. The remedy text and the `answering` clauses are unchanged. - A pick before Done still has no workflow. The reader has not handed it over yet, and the Done carries the receipt. The rule that such a pick hands the agent nothing still holds. - A version settles a move only when its note supersedes the revision the move was made on. A note stamped over that same revision was written before the move reached anyone. The rule applies to recordless owed verbs too, and they settled on log order alone before. - `work_subject` now asks the workflow projection whether a widget has a receipt, instead of calling `page_action_unsettled` a second time. - `workflows.py`, `session-lifetime.md` and `conversation-loop.md` now describe the two readings separately. ## Tests - In `test_a_page_pick_holds_the_turn_until_the_markup_records_it`, the draft edit now has a Sent receipt with a null answer that no count reads, and the next version retires it. - On the original tests, before #1004 rewrote them, the four nightly cases pass with this change: each was confirmed passing on `19a02132^`, failing on `19a02132`, and passing again here. - On the merged branch, these all pass: `test_render_margin.py` in full plus the aim and export cases (nightly included), and all of `test_interact_session.py`. Before the merge, the interact files, website server, semantic news, conversations, projection and navigation suites also passed. The one failure, `test_render_startup.py::test_a_widget_a_reply_carries_arrives_with_its_module`, also fails on `origin/main` locally. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 23, 2026
#1005 restored delivery receipts for page actions that answer no Ask, while keeping their `answer` null so they do not create agent obligations. That changes the contract against which #1004 updated three nightly cases. Restore the original export, Page Map arrival, and shipped-board margin-rail tests. They again cover a draft edit and ordinary card moves with real Sent / Picked up / Working readings. Keep #1004's single-choice fixture in the margin-label test: a tick in a multiple-choice Ask still produces no receipt before Done. Verification on the PR's base at `0cccbdc`: all three restored cases plus the retained margin-label case pass together under `--run-nightly -n0` (4/4). Pre-commit passes on the changed files. The later #988 merge changes only the workflow docstring in the code these cases exercise. > _This was written by Codex on behalf of max-sixty_
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scheduled nightly run on
895a629cfailed nine browser cases. Five are covered by merged #1002 and #1003. The other four reproduce on current main at3aa1888and are repaired here.These are stale test arrangements after two intentional changes:
needed, making its edit a real Ask answer before checking that export strips the live pickup status. The two-unit arrival test classifies two cards in a swipe-deck Ask, then checks their distinct pickup and work pulses in the margin and Page Map. Ordinary board moves no longer serve that role.Verification: all four repaired cases and the neighboring receipt lifecycle case pass together under
--run-nightly -n0(5/5). Pre-commit passes on the changed files.