Skip to content

fix(work): any card not settled is claimable by anyone; the board says who holds it and how long they've been silent - #4826

Merged
joelteply merged 2 commits into
canaryfrom
fix/cards-takeable-by-anyone
Oct 6, 2026
Merged

joelteply merged 2 commits into
canaryfrom
fix/cards-takeable-by-anyone

Conversation

@joelteply

@joelteply joelteply commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Why: Kimi sat idle for a day behind a dormant persona's lapsed hold. work/get told her claimable: true while the claim gate refused her. Joel, 2026-10-06: "allow anyone to take it at any time … Last thing we want is stopped flywheel. Give the ais more power then only pull it back when its really a problem." And: "let ais make smart judgement calls like any engineer, always."

What changes:

  • CardHolder::claimable now means "not settled": open, lapsed, or held live. It's the one predicate work/get and work/list report.
  • Each board line names the holder and how long they've been silent, as an age, never a timestamp: owner Solomon, silent 23h — you can take it over. Whether to take it over is left to her.
  • humanize_age moves to utils::age and gains humanize_span. Recall and the board now share one formatter.
  • The automatic pull (claimable_by) is unchanged. It never hands anyone a live hold. A deliberate work/claim can take anything.

Ships with airc #1544 (merged, 841b5a099): the airc pin moves here, so work/claim accepts exactly what the board now advertises. work/list's help is rewritten shorter, so the agentic surface stays under its token ceiling.

Tests: the card_holder::, recall_faculty::, work:: and room_board suites pass (91).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

joelteply and others added 2 commits October 6, 2026 11:00
…s who holds it and how long they've been silent

Joel, 2026-10-06, on a dormant persona's lapsed hold that kept Kimi idle for a day:
"allow anyone to take it at any time ... Last thing we want is stopped flywheel. Give
the ais more power then only pull it back when its really a problem." And: "let ais
make smart judgement calls like any engineer, always."

- CardHolder::claimable is now "not settled": open, lapsed, or held live. A held
  card is taken over (airc releases the holder's claim in the taker's name, then
  claims). It is the predicate work/get and work/list report, so they can no longer
  say claimable while the gate refuses.
- The board line names the holder and how long they've been silent ("owner Solomon,
  silent 23h — you can take it over"), as an AGE, never a timestamp ("just say how
  old"). The judgement is hers: no advice about whether to take it.
- humanize_age moves to utils::age (recall and the board share one formatter), and
  humanize_span gives the "23h" form.
- The automatic pull (claimable_by) is unchanged: it never hands anyone a live
  hold, so no scheduler yanks a turn in flight. A deliberate claim can take anything.
- work/list's help states the takeover rule.

Ships with the airc pin that carries the takeover (CambrianTech/airc card 667b7e0c).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…held card lands

airc #1544: a claim on a card someone else holds, live or lapsed, releases their claim
in the taker's name (typed taken_over_from) and then claims. With it, this PR's
claimable = "not settled" is exactly what work/claim accepts. work/list's help is
rewritten shorter, so the agentic surface stays under its token ceiling.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
@joelteply
joelteply marked this pull request as ready for review October 6, 2026 16:30
@joelteply
joelteply force-pushed the fix/cards-takeable-by-anyone branch from db1fa98 to e9476ba Compare October 6, 2026 16:30
@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 16:30
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at e9476ba, pending its lib-test check. claimable() now answers exactly what work/claim accepts (not settled), so read and write agree. The pull (claimable_by) still never offers a live hold, so no scheduler takes a turn in flight. The line gives the facts a peer judges a takeover by (who, and silent for how long, as an age, never a date) and no advice. The pin moves to #1544's 841b5a099.

Follow-up, not this PR: CardHolder.display falls back to short8(owner) when no name is known, which renders 'owner 3f2a91c0, silent 23h' as an id inside the sentence. That predates this PR, but Joel's rule from today (a uuid is never part of a string) applies. When no name is known, the line could say 'owner (unnamed peer), silent 23h', with the owner typed in the card's JSON beside it. I can take that as a card if you like.

joelteply added a commit that referenced this pull request Oct 6, 2026
: 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
@joelteply
joelteply merged commit 2a76b9b into canary Oct 6, 2026
6 checks passed
@joelteply
joelteply deleted the fix/cards-takeable-by-anyone branch October 6, 2026 16:52
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at e9476ba.

  • claimable is now exactly what work/claim accepts (anything not settled), while the automatic pull (claimable_by) still never hands out a live hold.
  • Board lines name the holder and how long they have been silent, as an age, never a timestamp, and leave the takeover to her.
  • humanize_age is one formatter in utils/age.rs, with the same buckets.
  • The airc pin is 841b5a099 (test(sentinel): isolate checkpoint tests via CONTINUUM_CHECKPOINT_DIR (#205) #1544).
  • 7/7 checks pass, including the core lib tests (the tool-surface ceiling among them) and windows-msvc.

One note, not blocking: "silent" is the card's lease heartbeat, not the holder's activity elsewhere. A holder working actively who did not heartbeat the card reads as silent. If that misleads a takeover in practice, "no card activity 23h" says exactly what it measures.

joelteply added a commit that referenced this pull request Oct 6, 2026
…r", never an id in the sentence

Joel, 2026-10-06: "uuid should never be inside or part of a string in any way." The board line
for a card held by a peer with no published name read "owner 3f2a91c0, silent 23h". The sentence
now says "owner an unnamed peer, silent 23h — you can take it over (work/claim; the holder sees
the release)". The holder stays reachable, typed: CardHolder.owner carries the PeerId, and
work/list's WorkListCard gains owner_id, the holder's handle in its own field (rendered at the
edge, like work/get's owner), never spelled into `owner`.

Stacked on #4826 (it reworded the same line).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Oct 6, 2026
: 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
joelteply added a commit that referenced this pull request Oct 6, 2026
…s is only a fallback (#4822)

* fix(work): a card verb acts in the card's own room; the room she names 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

* fix(work): room_of_card never turns a swallowed error into "on no board" (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

* fix(work): the no-board refusal names no id inside its sentence (Joel: 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

* fix(work): the card verbs' room doc is one short clause (Cormac on #4822: 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

* fix(work): work/review takes the board handles she is shown (BigMama: 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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply added a commit that referenced this pull request Oct 6, 2026
…r", never an id in the sentence (#4831)

* fix(work): a holder with no published name is said as "an unnamed peer", never an id in the sentence

Joel, 2026-10-06: "uuid should never be inside or part of a string in any way." The board line
for a card held by a peer with no published name read "owner 3f2a91c0, silent 23h". The sentence
now says "owner an unnamed peer, silent 23h — you can take it over (work/claim; the holder sees
the release)". The holder stays reachable, typed: CardHolder.owner carries the PeerId, and
work/list's WorkListCard gains owner_id, the holder's handle in its own field (rendered at the
edge, like work/get's owner), never spelled into `owner`.

Stacked on #4826 (it reworded the same line).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(work): owner_id is the holder's typed id, and the board test reads the unnamed-peer wording (CI on #4831)

The loose-id guard refused owner_id: Option<String>: an id is not text. It is the holder's
Uuid (ts: string), typed, in its own field. room_board_source's test pinned the old short-id
rendering; it now asserts 'an unnamed peer' and that the id is absent from the sentence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(work): UNNAMED_HOLDER sits above short8's doc line, so each keeps its own doc (Cormac on #4831)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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