2.6 KiB
2.6 KiB
Current Context
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
- Ingest Pipeline Refactoring & Deduplication
Location:
packages/core/src/ingest/
Status: In progress - working on Ollama client replacement
What's Next:
- Create
git-utils.tsandchat-utils.tsfor shared logic - Refactor
ollama-client.ts→response-parser.ts(keep parsing logic, drop HTTP client) - Move
LlmProviderinterface from daemon to core - Update extractors to accept
LlmProvidervia constructor
-
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 -
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
- Ollama Client Refactor Plan: Identified that
ollama-client.tscontains two distinct concerns - HTTP calls (to be replaced byLlmProvider.generate()) and response parsing (to be kept in newresponse-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 anyfor 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
- Signet Config: CLI v0.1.7 loads existing config values as defaults automatically
- Secrets Storage: Use
signet secretcommand 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
- 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
lastFrameparameter placement is critical in Veo predictLongRunning endpoint