Current Context Full integration of OpenCode plugin system and optimization of embeddings view performance in the Signet dashboard. Active Projects OpenCode Plugin Full Integration — `packages/opencode-plugin/`, `packages/connector-opencode/` - Status: Implementation complete, awaiting build verification - What was done: Removed string-template hack, created standalone plugin package with 8 tool definitions, refactored connector to embed compiled plugin, enforced strict TypeScript discipline - Next: Verify build passes, test plugin auto-discovery in OpenCode Embeddings View Performance Optimization — `packages/cli/dashboard/src/lib/components/tabs/EmbeddingsTab.svelte`, `EmbeddingCanvas2D.svelte` - Status: Complete (7 fixes applied) - What was done: Implemented rAF idle loop, converted reactive hover state to derived, added requestRedraw helper for interactions, fixed edge batching - Next: Monitor CPU usage and interaction responsiveness Recent Work - Feb 23: Completed OpenCode connector refactor (Task #6) — deleted old templates, created `src/plugin-bundle.ts` placeholder and `scripts/embed-plugin.ts` embedding logic. Plugin package (tasks 1-5) created with full type safety, 8 tool definitions, and OpenCode Plugin API implementation. - Feb 23: Fixed embeddings view performance — 7 fixes applied across EmbeddingsTab.svelte and EmbeddingCanvas2D.svelte to eliminate constant CPU burn, Svelte re-render storms, and O(n) hit testing overhead. - Feb 23: Fixed dashboard documentation audit — DASHBOARD.md now correctly lists actual tabs. Technical Notes - TypeScript: Strict discipline enforced (no `any` types, no `as` assertions, explicit return types, `readonly` modifiers) - OpenCode Integration: Plugins auto-discovered from `~/.config/opencode/plugins/`, embedded plugin uses `../opencode-plugin/dist/signet.mjs` - Monorepo: Version 0.1.87 aligned across packages - API Endpoints: `GET /api/embeddings/projection` and `GET /api/embeddings/repair` endpoints available - Environment: Hyprland on Arch Linux, working on main branch at `/home/nicholai/signet/signetai` Rules & Warnings - Never delete production database without backup - Do not delegate UI work to subagents — implement yourself and pass the same image references to maintain context - Signet agent profile lives at `~/.agents/` (not `~/.signet/`) - Keep journal entries in memory database regularly for persistence - Nicholai prefers manual control over website deployments (no auto-deploy)