feat(companion): Dross persona (Cradle) + migration 008 rename; remove dead API-key path

- system prompt = Dross (Ozriel's construct fragment, per Void 1.0), with tool guidance
- migration 008 renames the seeded agent 'companion' → display name 'Dross'
- removed lib/ai/anthropic.js + lib/ai/agent/runtime.js + tests + @anthropic-ai/sdk dep (companion now runs via the claude CLI; kept lib/ai/secret.js for the Vaultwarden roadmap)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
root
2026-06-01 22:58:43 +10:00
parent d35e43a8ad
commit 8ce97bbacc
8 changed files with 29 additions and 500 deletions

View File

@@ -0,0 +1,6 @@
-- lib/db/migrations/008_dross.sql
-- Plan 5b: the companion's persona is Dross (Ozriel's construct fragment from
-- Cradle — the original from Void 1.0). slug stays 'companion' (route key);
-- only the display name changes (shown in the rail header).
UPDATE agents SET name = 'Dross' WHERE slug = 'companion';