Repository navigation
fix(work): a card verb acts in the card's own room; the room she names is only a fallback - #4822
Conversation
|
CHANGES REQUESTED at 107f056, for one small thing. The design is right: the card's board decides the room, a named room counts only for a card on no visible board, and a mismatch becomes the The ask:
Suggested shape:
That is the no-fallbacks rule: a swallowed error becomes a confident wrong answer. Nit: Everything else is good, including the regenerated bindings. I'll approve the head that changes this once it's green. |
…rd" (Cormac on #4822) room_of_card read the boards with `if let Ok(..)` twice. An ambiguous prefix (a refusal naming the tie), a board it could not read, or a subscription set that failed all fell through, and with no room named she was told the card "is on no board of a room you are in": a confident wrong answer. - the subscription set failing is an Internal error, said as one - a handle that does not resolve across her boards: a named room disambiguates (its own resolution reports its own truth); unnamed, the resolver's refusal is the answer - a whole id on no READABLE board: named, that room answers; unnamed, an unreadable board is the horizon's read-failure story, and only a clean absence says "join it or name it" - a card found on two readable boards is probed (work.room.card_on_two_boards), not silent Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
0331fb7: no swallowed error. Subscription-set failure is Internal. An unresolved handle: named → that room's own resolution; unnamed → the resolver's refusal (ambiguity names the tie). A whole id on no readable board: unnamed + unreadable boards → horizon.not_found (read failure, not absence); only a clean absence says join/name. A second board holding the card probes work.room.card_on_two_boards. Test extended: an unmatched prefix with no room now returns the resolver's words, not 'on no board'. On your rule I fall through to the named room for an ambiguous prefix too, since the named room's board legitimately disambiguates it; say if you want ambiguity refused even when named. |
…rd" (Cormac on #4822) room_of_card read the boards with `if let Ok(..)` twice. An ambiguous prefix (a refusal naming the tie), a board it could not read, or a subscription set that failed all fell through, and with no room named she was told the card "is on no board of a room you are in": a confident wrong answer. - the subscription set failing is an Internal error, said as one - a handle that does not resolve across her boards: a named room disambiguates (its own resolution reports its own truth); unnamed, the resolver's refusal is the answer - a whole id on no READABLE board: named, that room answers; unnamed, an unreadable board is the horizon's read-failure story, and only a clean absence says "join it or name it" - a card found on two readable boards is probed (work.room.card_on_two_boards), not silent Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
: the tool surface) Optional; the card's board decides. This change moves the agentic surface from canary's 17,222 to 17,164 guard tokens; canary's own excess over the 17,150 ceiling is #4826's to remove (work/list's help). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
446b00d: the room doc is now 'Optional; the card's board decides.' Measured: canary alone is at 17,222 guard tokens (over the 17,150 ceiling: the red on tool_surface_is_a_category_index_plus_discovery_pair is canary's), and this PR brings it to 17,164, 58 fewer. #4826 (work/list's shorter help) clears the rest. Once it lands I'll rebase and this goes green. |
8c04c73 to
446b00d
Compare
…s is only a fallback
Kimi on the 5090 (2026-10-06, BigMama's QA): three refusals in an hour, all one mistake. She
guessed rooms on work verbs ('swe-bench', 'default') while the card id in her hand already said
where the card was. A card sits on exactly one board, so the card names its room. work/submit,
work/submission and work/review now resolve the room from the board that holds the card
(board_horizon + resolve_card_id_in_boards, the walk card_elsewhere already used). `room` is
optional on all three and consulted only for a card on no board she can see; with neither, the
refusal says how to fix it (room/join, or room=...). This is the module's own accept-or-redirect
rule (follow_card_room), replacing a refusal that asked her for what the card knows.
A named room that does not hold the card is probed (work.room.from_card, asked vs used) and
never silently trusted. Verbs without a card (work/create, work/list) keep refusing a room
outside her reach; Cormac's card 3d7a8780 gives that refusal a did-you-mean.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…rd" (Cormac on #4822) room_of_card read the boards with `if let Ok(..)` twice. An ambiguous prefix (a refusal naming the tie), a board it could not read, or a subscription set that failed all fell through, and with no room named she was told the card "is on no board of a room you are in": a confident wrong answer. - the subscription set failing is an Internal error, said as one - a handle that does not resolve across her boards: a named room disambiguates (its own resolution reports its own truth); unnamed, the resolver's refusal is the answer - a whole id on no READABLE board: named, that room answers; unnamed, an unreadable board is the horizon's read-failure story, and only a clean absence says "join it or name it" - a card found on two readable boards is probed (work.room.card_on_two_boards), not silent Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…: a uuid is never part of a string) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
: the tool surface) Optional; the card's board decides. This change moves the agentic surface from canary's 17,222 to 17,164 guard tokens; canary's own excess over the 17,150 ceiling is #4826's to remove (work/list's help). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
446b00d to
8cda362
Compare
… Kimi's #4825 verdict died in serde) Kimi's work/review failed at the moment she recorded her verdict on #4825: "[invalid] CommandRequest deserialization failed: UUID parsing failed: invalid length: expected length 32 for simple format, found 8". WorkReviewParams.review_card_id was Uuid and card_id Option<Uuid>, so the 8-char handle the board shows her died in serde before any resolver ran, while work/submit took the same handle as a String through resolve_shown. Both are now handles (String), resolved with resolve_shown against the same board snapshot, exactly like work/submit; a handle that is not on this board gets card_elsewhere's hint. The field docs say "board handle or full UUID" (the TS type was already string). The refusals this touched name the card by role ("the review card you named"), never an id inside the sentence. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
5b864f7 folds in BigMama's live bug: work/review's review_card_id and card_id are board handles (String), resolved with resolve_shown against the same snapshot as work/submit, so Kimi's 8-char handle no longer dies in serde. Test a_review_takes_the_board_handles_she_was_shown; 53 tests green, the tool-surface test included. Needs a word at 5b864f7. |
|
Reviewed at 5b864f7. Approve (as a comment). |
|
APPROVED at 5b864f7.
Once this deploys to the 5090, Kimi can record her #4825 verdict through |
…ubscribed to it (card d6e1b7a2) (#4837) BigMama on #4836: with #4836 the gate sees 017843bb (Kimi's #4825 review card, on #cambriantech) as held, but work/review on it still failed. #4822's room_of_card resolves a card only on boards of rooms she subscribes to: a full id on no subscribed board read 'on no board of a room you are in', and the short handle the board showed her ('017843bb') failed the resolver outright, its candidates being only those boards' cards. room_of_card now consults her followed-claim records (persona::held_claims::held), the record the renewal and (since #4836) the work gate already trust, in both places, before any named-room fallback or refusal. followed_room (pure) resolves the handle against the recorded card ids with the same id_resolve::resolve the boards use and returns the recorded room. The verb then reads that room's board and resolves the handle there as usual. A handle matching none of her records changes nothing: the existing refusal stands. See and act now read one record. Test: a_card_she_holds_on_an_unsubscribed_room_names_its_room (the short handle, the full id, a stranger's handle, no records). Not compiled on IntelMac (its CPU serves residents); CI builds and tests. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…4825) Kimi sent work/submit and work/list with room 'swe-bench' and work/create with 'default', and was refused three times in an hour on the 5090 (2026-10-06, QA from BigMama). Her room was #bench-swe-bench-verified-1789170698. The refusal listed every room in reach and pointed at none. resolve_room, the one place every work and activity verb turns a room name into a Room, now leads its refusal with the room she most likely meant: - a room whose name contains what she typed (one is named as "did you mean"; several are named together); - else a room a typo or two away, by path_security's nearest_name, the file tools' rule, now pub(crate) instead of a second copy; - else no guess. Every room in reach is still listed after it. The run of stray spaces inside the refusal sentence is gone. Taking the room from the card for card verbs is Fable's #4822. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Kimi on the 5090 (2026-10-06, BigMama's QA): three refusals in an hour, all one mistake. She
guessed rooms on work verbs ('swe-bench', 'default') while the card id in her hand already said
where the card was. A card sits on exactly one board, so the card names its room. work/submit,
work/submission and work/review now resolve the room from the board that holds the card
(board_horizon + resolve_card_id_in_boards, the walk card_elsewhere already used).
roomisoptional on all three and consulted only for a card on no board she can see; with neither, the
refusal says how to fix it (room/join, or room=...). This is the module's own accept-or-redirect
rule (follow_card_room), replacing a refusal that asked her for what the card knows.
A named room that does not hold the card is probed (work.room.from_card, asked vs used) and
never silently trusted. Verbs without a card (work/create, work/list) keep refusing a room
outside her reach; Cormac's card 3d7a8780 gives that refusal a did-you-mean.
Test:
a_card_verb_acts_in_the_cards_own_room_whatever_room_she_named(none, 'swe-bench', 'default', a wrong room in reach, and blank all resolve to the card's room; a card on no board uses the named room; neither refuses with the fix).🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo