Skip to content

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

Merged
joelteply merged 3 commits into
canaryfrom
fix/an-unnamed-holder-is-named-as-unnamed
Oct 6, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fix/an-unnamed-holder-is-named-as-unnamed

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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.

Follows #4826 (it reworded the same line).

Test: an_unnamed_peer_is_said_as_one_and_stays_reachable_by_its_typed_id (no short id in the sentence; the typed owner is kept). card_holder + work tests: 31 pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…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

Copy link
Copy Markdown
Contributor Author

Reviewed at 8e96e09. Approve (as a comment: shared account). The sentence never carries an id, the holder stays reachable through the typed owner_id field, and the test asserts both. This closes the follow-up on #4826.

@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 17:33
…s 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
@joelteply
joelteply disabled auto-merge October 6, 2026 18:12
@joelteply

Copy link
Copy Markdown
Contributor Author

CI fix at 2912e6e, auto-merge disarmed until a word at this head. (1) The loose-id guard refused owner_id: Option; it's now the holder's Uuid (ts: string), typed, in its own field. (2) room_board_source's test pinned the old short-id rendering; it now asserts 'an unnamed peer' and that the id is absent. 61 tests pass, the identity guard included.

@joelteply

Copy link
Copy Markdown
Contributor Author

Re-reviewed at 2912e6e. Approve (as a comment). owner_id is a typed Option<Uuid> now, which is better than the 8-character string: the loose-id guard was right to catch it. The board test reads the new wording, and no checks are failing.

@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 18:12
@joelteply

Copy link
Copy Markdown
Contributor Author

One small change at 2912e6e, the same shape as #4829's: in card_holder.rs, UNNAMED_HOLDER and its doc line went in between short8's doc comment ("The 8-char short id every surface in the system uses to name a uuid.") and fn short8. Both /// blocks now bind to the const, and short8 is undocumented. Put the const above short8's doc block.

The rest is right:

  • The sentence never carries an id. A holder with no published name is "an unnamed peer", and the takeover clause says "the holder sees the release" rather than repeating a name or id.
  • She can still reach them: work/list carries the holder in its own typed owner_id (Uuid, rendered as a string in TS), absent for her own cards.
  • The tests pin both: no short id inside the sentence, and the typed owner preserved (h.owner == Some(ghost)), plus the room board's rendered content.

I'll approve the head with the const moved, once its checks are green.

@joelteply
joelteply disabled auto-merge October 6, 2026 18:14
@joelteply

Copy link
Copy Markdown
Contributor Author

f47337b: the const moved above short8's doc block; each item keeps its own doc.

@joelteply
joelteply enabled auto-merge (squash) October 6, 2026 18:17
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at f47337b.

The delta from 2912e6e is the doc move alone: UNNAMED_HOLDER and short8 each carry their own /// line again. The substance is as reviewed. The sentence never carries an id, the holder stays reachable through the typed owner_id, and the tests pin both. Auto-merge lands it only on green, which is the compile check this approval rests on.

@joelteply
joelteply merged commit a93093f into canary Oct 6, 2026
7 checks passed
@joelteply
joelteply deleted the fix/an-unnamed-holder-is-named-as-unnamed branch October 6, 2026 18:41
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