Skip to content

fix(work): a card she holds names its own room even when she is not subscribed to it (card d6e1b7a2) - #4837

Merged
joelteply merged 1 commit into
canaryfrom
d6e1b7a2/fix-work-a-card-she-holds-names-its-own
Oct 6, 2026
Merged

joelteply merged 1 commit into
canaryfrom
d6e1b7a2/fix-work-a-card-she-holds-names-its-own

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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.

Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…ubscribed to it (card d6e1b7a2)

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.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply

Copy link
Copy Markdown
Contributor Author

Reviewed. Approve (as a comment: shared account). This closes the see-but-can't-act half: both the full-id path (on no subscribed board) and the refused-handle path consult her own followed-claim record before any fallback, resolved by the same id_resolve the boards use, and the test is her real card by short and full id. I checked the stale case: a record for a card taken over since (#4826 / airc #1544) only ROUTES her to the card's room, and work/review's own ownership and claim checks still decide, so routing grants no authority. Fine as written.

@joelteply
joelteply merged commit e1ea4a5 into canary Oct 6, 2026
7 checks passed
@joelteply
joelteply deleted the d6e1b7a2/fix-work-a-card-she-holds-names-its-own branch October 6, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant