2026-02-19T11-02-09_auto_memory/debug.log, memory/MEMORY.md

This commit is contained in:
Nicholai Vogel 2026-02-19 04:02:09 -07:00
parent 75ffbbe608
commit 4dfda5512b
3 changed files with 29 additions and 52 deletions

View File

@ -995,3 +995,6 @@
{"timestamp":"2026-02-19T11:01:20.496Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/debug.log"}}
{"timestamp":"2026-02-19T11:01:25.513Z","level":"info","category":"git","message":"Auto-committed","data":{"message":"2026-02-19T11-01-25_auto_memory/debug.log, memory/memories.db-shm, memory/m","filesChanged":4}}
{"timestamp":"2026-02-19T11:01:54.985Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/debug.log"}}
{"timestamp":"2026-02-19T11:02:00.004Z","level":"info","category":"git","message":"Auto-committed","data":{"message":"2026-02-19T11-01-59_auto_memory/debug.log","filesChanged":1}}
{"timestamp":"2026-02-19T11:02:04.277Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/debug.log"}}
{"timestamp":"2026-02-19T11:02:04.278Z","level":"info","category":"watcher","message":"File changed","data":{"path":"/home/nicholai/.agents/memory/MEMORY.md"}}

View File

@ -1,67 +1,39 @@
<!-- generated 2026-02-18 04:12 -->
<!-- generated 2026-02-19 04:02 -->
Current Context
Signetai architecture refactoring is in progress, consolidating duplicated utilities into a shared core package and standardizing connector implementations using the BaseConnector pattern.
Focusing on repository migration compliance, system refactoring, and template consistency across the signetai and imessage-viewer projects.
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
2. Signet Agent Profile Management
Location: `~/.agents/`
Status: Setup complete
Next Steps: None - ongoing maintenance only
Apache 2.0 License Migration (`signetai` repo)
Status: Script creation in progress/verification needed.
Task: Migrate monorepo from MIT to Apache 2.0. Uses `git filter-repo` to rewrite only license files while preserving git history. Must also update NPM metadata.
iMessage Viewer Sync Refactor (`imessage-viewer` repo)
Status: Completed.
Details: Rewrote `lib/sync/ssh-pull.ts` to replace SSH+bash+tar approach with direct `rsync` calls (`rsync -az`). Deleted `scripts/remote-collect.sh`. Supports file-based sources (safari, chrome, shell) and directory sources (notes, reminders, calendar, contacts).
Signetai Skill Templates (`signetai` repo)
Status: Completed.
Details: Fixed `packages/signetai/templates/skills/recall/SKILL.md` and `packages/signetai/templates/skills/remember/SKILL.md` to use `signet recall/remember` CLI commands (e.g., `/api/memory/remember`) instead of outdated hook commands. Verified CLI functionality.
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
Rsync-based Sync Implementation: Successfully refactored the sync mechanism in `imessage-viewer` to use direct `rsync` SSH connections, eliminating the need for a temporary bash script (`scripts/remote-collect.sh`) and minimizing forensic traces on the macOS system.
Skill Template Updates: Updated template files in the signetai repo to align with CLI commands, ensuring consistency for new installations.
License Migration Planning: Set up the plan to use `git filter-repo` for the signetai repository migration.
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
Git Tools: `git filter-repo` is being utilized for the license migration. It allows rewriting file contents without corrupting git history or authorship metadata.
Rsync Flags: Using `-az` (archive mode with compression) for the iMessage sync refactor.
Signet Architecture: Skills are located in `~/.agents/skills/`. CLI commands should target the installed CLI skills rather than API hooks for recall/remember actions.
Bun Runtime: Dashboard skills installer fix involves replacing `execSync("which bunx")` with `Bun.which()`.
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
File Locations: Skills and configuration files are located in `~/.agents/`, not `~/.local/share` or other standard locations.
Forensic Footprint: When running remote scripts, prefer direct `rsync` calls over temporary bash scripts to minimize shell history and system logs.
Bun API: Always use `Bun.which()` instead of `execSync("which bunx")` when checking for binaries.
Design: Use the `frontend-design` skill when working on frontend components.
Voice Transcription: Voice message transcriptions are handled via `obsidian-ai`, configured to read from `~/Library/Mobile Documents/iCloud~md~obsidian/Documents/ai-transcripts`.
Signet CLI: `/recall` and `/remember` skills should invoke the `signet recall` and `signet remember` CLI commands, not the `/api/hook/...` endpoints.

File diff suppressed because one or more lines are too long