Repository navigation
fix(work): a reviewer's pass on a card with an open PR leaves it mergeable, not Closed (card bcb9860c) - #4840
Merged
joelteply merged 1 commit intoOct 7, 2026
Conversation
…eable, not Closed (card bcb9860c) Measured 2026-10-06: Kimi passed submission 64310abf on card 3d7a8780 (PR #4825). The verdict branch of advance_card_state_effective advanced the parent to Closed while its PR was still open, so `airc work merge` refused it: "state is Closed, but airc work merge requires Review". Closed meant two things, accepted with the PR still open and abandoned, and the merge gate could not tell them apart. The merge went through only after a hand move back to Review. A pass on a parent with a linked PR that is not yet Merged now leaves it in Review (moved there if it was elsewhere) and probes work.review.passed_awaiting_merge. The card finishes through its merge as Merged. A card with no PR (a bench round's) still closes on the pass, and a send-back still returns it to InProgress. Test: a_pass_leaves_a_card_with_an_open_pr_mergeable_and_closes_one_without (a PR-linked parent stays in Review after its review card closes as passed; an unlinked one closes). Not compiled on IntelMac (its CPU serves residents); CI builds and tests. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Contributor
Author
|
Reviewed. Approve (as a comment: shared account). I checked the point that would have restarted Kimi's loop: the review card still closes first ( |
joelteply
added a commit
that referenced
this pull request
Oct 7, 2026
…k/submission in her hands (card 8a8c3671) (#4842) BigMama, 2026-10-06: Kimi, holding review card deec4ac2 (#4840), reasoned "work/review is not in this prompt", and she was right. A work turn offers her hands_surface, which withholds work/review and work/submission from every holder. That withholding is deliberate (tool_dialect::withheld_from_hands; measured 9/19, holders of ORDINARY cards called them as "review the spec"). But a native-tool model can call only what it was offered, so the holder of a REVIEW card lost the one verb her card exists for. She landed #4825's verdict only after detours. - tool_dialect::reviewer_hand names the two verbs, beside the rule that withholds them. - TurnFraming and Workspace carry `reviewing`, a structural fact about the held card (card.reviews is Some), never a read of her output. act_question sets it from the focused held card; the cycle stamps it on the workspace. - The faculty builds review_hands_specs (hands_specs plus the reviewer verbs, in the wire dialect) beside hands_specs at rebuild, priced the same way. A reviewing work turn selects it, and every other work turn is unchanged. Test: a_review_cards_work_turn_carries_the_reviewer_verbs_and_an_ordinary_one_does_not (a reviewing work turn is offered both verbs at the price of what is sent; an ordinary holder's work turn is offered neither). Not compiled on IntelMac (its CPU serves residents); CI builds and tests. Read first: docs/architecture/PERSONA-COGNITION-PIPELINE.md. This is the tool surface of the live WorkspaceCycle (section 2, verbs 6 and 9); no bypass and no parallel path. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Measured 2026-10-06: Kimi passed submission 64310abf on card 3d7a8780 (PR
#4825). The verdict branch of advance_card_state_effective advanced the
parent to Closed while its PR was still open, so
airc work mergerefusedit: "state is Closed, but airc work merge requires Review". Closed meant two
things, accepted with the PR still open and abandoned, and the merge gate
could not tell them apart. The merge went through only after a hand move
back to Review.
A pass on a parent with a linked PR that is not yet Merged now leaves it in
Review (moved there if it was elsewhere) and probes
work.review.passed_awaiting_merge. The card finishes through its merge as
Merged. A card with no PR (a bench round's) still closes on the pass, and a
send-back still returns it to InProgress.
Test: a_pass_leaves_a_card_with_an_open_pr_mergeable_and_closes_one_without
(a PR-linked parent stays in Review after its review card closes as passed;
an unlinked one closes). Not compiled on IntelMac (its CPU serves
residents); CI builds and tests.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE