Files
zclaw_openfang/docs/archive/v1-viking-dead-code/README.md
iven 1cf3f585d3 refactor(store): split gatewayStore into specialized domain stores
Major restructuring:
- Split monolithic gatewayStore into 5 focused stores:
  - connectionStore: WebSocket connection and gateway lifecycle
  - configStore: quickConfig, workspaceInfo, MCP services
  - agentStore: clones, usage stats, agent management
  - handStore: hands, approvals, triggers, hand runs
  - workflowStore: workflows, workflow runs, execution

- Update all components to use new stores with selector pattern
- Remove
2026-03-20 22:14:13 +08:00

28 lines
1.1 KiB
Markdown

# V1 Viking Dead Code Archive
Archived on 2026-03-20 during gateway-client refactoring.
These files formed an isolated dependency island with **zero external consumers** in the active codebase. They implemented a Viking vector database integration that was never wired into the application's import graph.
## Archived Files
### lib/ (8 files)
- `viking-local.ts` — Local Viking server wrapper
- `viking-client.ts` — Viking HTTP client
- `viking-adapter.ts` — Viking adapter (bridge to memory system)
- `viking-server-manager.ts` — Viking server lifecycle management
- `viking-memory-adapter.ts` — Viking ↔ memory adapter
- `context-builder.ts` — Context builder using Viking
- `vector-memory.ts` — Vector memory using Viking
- `session-persistence.ts` — Session persistence using Viking
### tests/ (3 files)
- `viking-adapter.test.ts`
- `vector-memory.test.ts`
- `session-persistence.test.ts`
## Reason for Archival
- No file in `desktop/src/` imports any of these modules
- The entire chain is self-referential (only imports each other)
- Functionality has been superseded by OpenFang's native memory/session APIs