Delete dead gateway wrappers and the unused in-memory session store #1521

Closed
opened 2026-10-27 13:40:44 +00:00 by sam · 0 comments
Owner

task deadcode (advisory) reports these gateway symbols unreachable from cmd/. Codegraph at HEAD 6545dc1e shows zero callers. Each one either re-exports a messaging helper that callers already use directly, or is constructed nowhere: RenderToolCall, FailureKey, DeltaFunc, CapabilitiesOf, LocalCommandSpecs, RoleForSender, DefaultPersonas, NewStoreTaskCreator, NewSessionStoreMemory with its memorySessionStore methods, and SortBySeq (only self-referencing, kept alive by a sort.Interface assertion).

Acceptance criteria

The listed symbols and their now-unused helpers are removed. task deadcode no longer lists them. task check passes on the tree. Commit as refactor(gateway).

Close reason

Dead gateway symbols and the unused in-memory session store deleted; task deadcode no longer lists them; task check passes.


Imported from beads archie-core-pvctw · GitHub #1676 · type task · priority P3 · created 2026-10-14 · closed 2026-10-14

task deadcode (advisory) reports these gateway symbols unreachable from cmd/. Codegraph at HEAD 6545dc1e shows zero callers. Each one either re-exports a messaging helper that callers already use directly, or is constructed nowhere: RenderToolCall, FailureKey, DeltaFunc, CapabilitiesOf, LocalCommandSpecs, RoleForSender, DefaultPersonas, NewStoreTaskCreator, NewSessionStoreMemory with its memorySessionStore methods, and SortBySeq (only self-referencing, kept alive by a sort.Interface assertion). ### Acceptance criteria The listed symbols and their now-unused helpers are removed. task deadcode no longer lists them. task check passes on the tree. Commit as refactor(gateway). ### Close reason Dead gateway symbols and the unused in-memory session store deleted; task deadcode no longer lists them; task check passes. --- _Imported from beads `archie-core-pvctw` · GitHub #1676 · type task · priority P3 · created 2026-10-14 · closed 2026-10-14_
sam added the lowtask labels 2026-10-27 13:40:44 +00:00
sam self-assigned this 2026-10-27 13:40:44 +00:00
sam closed this issue 2026-10-27 13:40:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1521