.agents/memory/MEMORY.md

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

  1. 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
  1. Signet Agent Profile Management Location: ~/.agents/ Status: Setup complete Next Steps: None - ongoing maintenance only

Recent Work

Last 2 sessions:

  • Completed refactoring of connector-opencode to extend BaseConnector, removing ~80 lines of duplicated code
  • Completed refactoring of connector-openclaw to extend BaseConnector
  • Both packages now import BaseConnector from @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.ts and hooks.ts to use core utilities instead of local implementations
  • Created connector-base package with BaseConnector class implementing SignetLifecycle interface

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 BaseConnector with harnessId property and implement getConfigPath()
  • InstallResult type used for installation responses
  • UninstallResult type for uninstallation responses
  • Config paths: ~/.config/opencode/config.yaml for opencode, ~/.config/openclaw/ for openclaw

Build Commands:

  • bun run install - install dependencies
  • bun 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