infra/scripts/workstation/claude-hooks
Viktor Barzin 44562535a2 workstation: provision homelab-memory hooks for all users (retire claude-memory MCP)
Roll the wizard MCP->homelab-CLI memory migration out to every devvm user. Adds
install_memory() to t3-provision-users.sh (mirrors install_playwright: per-user,
idempotent, if-absent, as-the-user): installs the 4 memory hook scripts into
~/.claude/hooks, wires them into settings.json additively (wire-memory-hooks.py
never touches env / the per-user MEMORY_API_KEY), and removes ONLY the
claude_memory MCP + plugin if present. Reuses each user's existing key (no
minting; per-user isolation stays deferred per the 2026-06-07 design). The
homelab CLI hits the same remote HTTP API the MCP used; recall runs via the
homelab-memory-recall.py UserPromptSubmit hook. Shared instructions (rules/skills
symlinked from base; root+infra CLAUDE.md) already cover all users.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 17:42:42 +00:00
..
auto-learn.py workstation: provision homelab-memory hooks for all users (retire claude-memory MCP) 2026-06-21 17:42:42 +00:00
homelab-memory-recall.py workstation: provision homelab-memory hooks for all users (retire claude-memory MCP) 2026-06-21 17:42:42 +00:00
post-compact-recovery.sh workstation: provision homelab-memory hooks for all users (retire claude-memory MCP) 2026-06-21 17:42:42 +00:00
pre-compact-backup.sh workstation: provision homelab-memory hooks for all users (retire claude-memory MCP) 2026-06-21 17:42:42 +00:00
wire-memory-hooks.py workstation: provision homelab-memory hooks for all users (retire claude-memory MCP) 2026-06-21 17:42:42 +00:00