2.8 KiB
2.8 KiB
Current Context
Signetai architecture refactoring is in progress, consolidating duplicated utilities into a shared core package and standardizing connector implementations using the BaseConnector pattern.
Active Projects
- Signetai Architecture Refactoring
Location:
/home/nicholai/signet/signetai/Status: In Progress - Core utilities created, daemon updated, connectors being refactored Blockers: None identified Next Steps:
- Verify connector-openclaw changes work correctly
- Check if any other packages need updates
- Review and remove any remaining local implementations of core functions
- Run full test suite to ensure no regressions
- Signet Agent Profile Management
Location:
~/.agents/Status: Setup complete Next Steps: None - ongoing maintenance only
Recent Work
Last 2 sessions:
- Completed refactoring of
connector-opencodeto extendBaseConnector, removing ~80 lines of duplicated code - Completed refactoring of
connector-openclawto extendBaseConnector - Both packages now import
BaseConnectorfrom@signet/connector-base - Added necessary dependencies and updated build scripts
- All packages build successfully with no type errors
Previous work:
- Created core utility package with
markdown.ts,yaml.ts,symlinks.ts - Updated
daemon.tsandhooks.tsto use core utilities instead of local implementations - Created
connector-basepackage withBaseConnectorclass implementingSignetLifecycleinterface
Technical Notes
Current Working Directory: /home/nicholai/signet/signetai/
Tools:
- Node.js with bun for package management and building
- TypeScript for type checking
- Existing codebase uses bun-specific modules and logger types (pre-existing, not related to current changes)
Key Technical Details:
- All connectors now extend
BaseConnectorwithharnessIdproperty and implementgetConfigPath() InstallResulttype used for installation responsesUninstallResulttype for uninstallation responses- Config paths:
~/.config/opencode/config.yamlfor opencode,~/.config/openclaw/for openclaw
Build Commands:
bun run install- install dependenciesbun run build- build all packages
Rules & Warnings
- Code Quality: Comments must explain why not just what
- File Size: Keep files under 700 LOC, max 3 indentation levels
- UI Work: Never delegate UI work to subagents when acting as Opus
- File Locations: Signet agent profile is at
~/.agents/, not~/.signet/ - Database: Never delete production database without backup
- Journaling: Keep regular journal entries
- Package Management: Use pacman for official repos, yay for AUR
- Testing: Test memory from dashboard wiring, test signet memory from openclaw hook
- Voice: Use whisper (installed via pip) for voice message transcription