2026-02-25T11-08-12_auto_memory/debug.log

This commit is contained in:
Nicholai Vogel 2026-02-25 04:08:12 -07:00
parent c4fb5ab3ec
commit a7f4328e96
2 changed files with 35 additions and 22 deletions

View File

@ -87,43 +87,54 @@ See USER.md for the full project list.
<!-- MEMORY_CONTEXT_START -->
## Memory Context (auto-synced)
<!-- generated 2026-02-23 04:12 -->
<!-- generated 2026-02-24 04:09 -->
Current Context
Full integration of OpenCode plugin system and optimization of embeddings view performance in the Signet dashboard.
Nicholai is actively refactoring the Signet core ingest pipeline to eliminate duplication and standardize LLM provider integration. Recent work includes extracting common utilities and migrating the LlmProvider interface to core to resolve circular dependency issues.
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
1. Ingest Pipeline Refactoring & Deduplication
Location: `packages/core/src/ingest/`
Status: In progress - working on Ollama client replacement
What's Next:
- Create `git-utils.ts` and `chat-utils.ts` for shared logic
- Refactor `ollama-client.ts``response-parser.ts` (keep parsing logic, drop HTTP client)
- Move `LlmProvider` interface from daemon to core
- Update extractors to accept `LlmProvider` via constructor
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
2. ProtonMail MCP Server Setup
Location: `~/proton-mcp/`
Status: Complete - proton bridge installed, MCP configured
What's Next: User needs to restart Claude Code session for MCP to pick up changes
3. Ingestion Pipeline PR #25 Cherry-Pick
Location: `packages/core/src/ingest/`
Status: Fixes applied to chat parsers, database interfaces, PDF/slack parsers
What's Next: Migration script needs to be created and tested
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.
- Ollama Client Refactor Plan: Identified that `ollama-client.ts` contains two distinct concerns - HTTP calls (to be replaced by `LlmProvider.generate()`) and response parsing (to be kept in new `response-parser.ts`)
- Proton Bridge Setup: Installed 3.22.0, configured MCP server with credentials stored in Signet secrets, verified ports 1143/1025 are used
- Pipeline Fixes Applied: Fixed prompt injection in extractors, updated DatabaseLike interfaces, added `as any` for PDF parser, removed non-null assertion in slack parser
- LlmProvider Migration: Moving interface from daemon to core to resolve circular dependency; extractors will be updated to inject provider via constructor
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`
- Signet Config: CLI v0.1.7 loads existing config values as defaults automatically
- Secrets Storage: Use `signet secret` command to store sensitive data (e.g., PROTON_EMAIL, PROTON_BRIDGE_PASSWORD)
- Agent Location: Signet agent profile lives at `~/.agents/`
- Embeddings: EmbeddingsTab.svelte now rewrites `switchGraphMode()` for 3D rendering
- LLM: Currently using Ollama for extraction; moving to LlmProvider abstraction
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)
- Keep journal entries in memory database regularly
- For UI work, always handle directly - never delegate to subagents
- Base64 encoding with padding is prohibited
- Master config switches must remain flat at root level
- The `lastFrame` parameter placement is critical in Veo predictLongRunning endpoint
<!-- MEMORY_CONTEXT_END -->

View File

@ -718,3 +718,5 @@ We are synthesizing a WORKING MEMORY document for Nicholai. Focus is on CURRENT
2026-02-25T04:05:03.518758 [regenerate] starting regeneration
2026-02-25T04:05:07.008219 [regenerate] found 562 transcripts, 50 memories
2026-02-25T04:05:07.008353 [regenerate] trying model: glm-4.7-flash
2026-02-25T04:08:07.016915 [regenerate] glm-4.7-flash timed out
2026-02-25T04:08:07.017494 [regenerate] trying model: qwen3:4b