A library synced from another computer carries each item's agent ticks. held()
counted a tick as a reason to list a not-installed agent, so on a computer
without Claude, Claude Code or Pi the MCP switches (and any row withGone
widens) listed them, while Skills showed only the installed four. Take-it-out
(Target.Gone) is for what magpie wrote into the agent on this computer, which
Applied records and sync never carries; a tick alone gave it nothing to take out.
held() now counts only Applied (skills, MCP, hooks, env, router, router rules).
Run, on mote at this tree: TestGoneAgentWithOnlySyncedTicksIsNotListed (new;
claude-desktop, claude and pi ticked from a sync, none installed, nothing
Applied), red on the old code (all three listed), green now;
TestGoneAgentListedToTakeOut still passes (an Applied agent is listed); go test
./internal/library; gofmt -l; go vet of internal/library for linux, windows and
host.
Not tried: the reporter's two computers; the whole GUI suite (no page file
changed).
Full suite, mote, at 7bb2f5ac0 (this change on bb9c5ae15), log kept whole: go test -count=1 -timeout 45m ./... : internal/library ok; reds elsewhere, none in code this touches: gateway TestOpenCodeGoOwnFreeModelGetsNothingOfOpenCodes (#7117, red on origin/main), gui TestAppReplacesItsOlderGatewayOnceIdle, TestGatewayPauseRollsBack, TestSetPortServesWhenTheOldOneWasTaken (TempDir cleanup, #6297, #7112; ok alone). At the pushed head 6aab35abd the library package ok again.