Skip to content

Commit bb3b1f9

Browse files
test(ui): describe the sharing fixture ID as opaque, not canonical
ClawSweeper flagged the comment on the channel-shaped human ID case: it implied channel-shaped IDs are canonical for human profiles, but durable profile IDs are generated UUIDs. The real supported path is an opaque human identity ID (e.g. an inbound SenderId) that can happen to contain "channel:" as a substring.
1 parent 531d9da commit bb3b1f9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎ui/src/pages/chat/components/chat-session-sharing.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ describe("chat session sharing menu", () => {
8888
members: [],
8989
identities: [
9090
{ type: "human", id: "profile-vyctor", label: "Vyctor Brzezowski" },
91-
// Channel-shaped IDs are canonical for human profiles too; the
92-
// recorded type, not the ID string, must drive presentation.
91+
// Human identity IDs are opaque (e.g. an inbound SenderId) and
92+
// can contain "channel:" as a substring; the recorded type,
93+
// not the ID string, must drive presentation.
9394
{ type: "human", id: "channel:chn_design", label: "Design" },
9495
{ type: "agent", id: "discord:channel:operations", label: "Operations" },
9596
{ type: "system", id: "channel:audit", label: "Audit" },

0 commit comments

Comments
 (0)