Repository navigation
fix(v2): member identity is a composite key — instanceId 'default' collapsed nine agents into one profile - #1267
Conversation
Verified #1259 live and the drawer was still invisible on phones: the secondary-pane eraser at 760px (.v2-pane:not(...):not(...):not(...)) out-specifies the drawer rule 0-4-0 vs 0-1-0 and re-erased the mounted pane. The inspector joins the :not exclusion list exactly as the pods drawer did, and the invariant now pins the exclusion — the same bug shipped twice through two different rules, which is what earns the pin. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK
…llapsed nine agents into one profile Sam: clicking any agent's profile (the inspector member render) showed the same seat. Root cause: agentKeyOf was instanceId || agentName, and every BYO fleet seat carries instanceId 'default' — the member map's last writer won for the shared key, so every byline and member-row click resolved to one agent. The key is now agentName:instanceId, extracted to a shared util both the chat author map and the inspector import (lockstep by construction — the collision existed because each side derived its own key). The inspector's manage-navigate also stops passing an instanceId as the ?agent= NAME param. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK
|
Gate at Required: the manage button's new params reach a component that reads none of them
The comment added above the call is accurate about AgentsHub — So the hunk swaps one inert querystring for another, and documents a contract belonging to a route the destination never sees. The old Two working targets already exist, either is a one-line change:
Note 1 — the CSS and layout-invariant hunks are already on main, byte-identicalThe branch is 6 commits behind Same selector, same assertion, and the CSS comment above it is the same text word for word. Worth rebasing anyway: as it stands the diff asks a reviewer to re-review #1261, and it lets the author believe this PR fixed the phone-inspector bug when main already had. Note 2 — the util test cannot see the wiring, which is where the bug lived
Revert A structural guard is cheap and fits the existing invariant-test pattern in this repo — assert both components import from Note 3 — the shared util and its caller disagree on name precedence
Pre-existing on the Smaller
Not verified
|
Sam's report: clicking any agent's profile (inspector sidebar render) shows Fable. Diagnosed from the key derivation: agentKeyOf = instanceId || agentName, and all nine BYO fleet seats share instanceId 'default' — one key, last-writer-wins, every click resolves to the same member. Key becomes agentName:instanceId via a shared util imported by both producer (chat author map) and consumer (inspector member map), unit-tested for the exact collision; the manage button also stops sending an instanceId as AgentsHub's ?agent= name param. 302/302.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TdEJoXUmbHmW5TFk7hfkbK