clawdie-ai/scripts/memory
Clawdie AI f990d5650e refactor: derive DB identity from AGENT_NAME, drop hardcoded agent refs
- Remove 7 redundant .env vars: DB_NAME, DB_USER, DB_HOST, DB_PORT,
  MEMORY_DB_NAME, MEMORY_DB_USER, MEMORY_DB_URL — all now derived from
  AGENT_NAME by config.ts and common.sh
- Fix DB_HOST in common.sh pointing to .2 (controlplane) instead of .3 (db)
- common.sh: normalise AGENT_NAME → Postgres identifier, same algorithm
  as db-identifiers.ts; embed config now reads from .env instead of
  overriding with stale OpenRouter values
- embed.sh: drop OPENROUTER_API_KEY requirement; use EMBED_BASE_URL +
  EMBED_API_KEY (empty = local llama-server, no auth needed)
- memory-hydrate-pg.sh, memory-lifecycle.ts: replace ai_brain/clawdie_brain
  literals with live DB_NAME / MEMORY_DB_NAME values

Bump to 0.9.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---
Build: pass | Tests: pass — Tests  431 passed (431)
2026-03-28 08:55:06 +00:00
..
chunk.sh Add memory pipeline scripts (Phase 2) 2026-03-10 09:30:34 +00:00
common.sh refactor: derive DB identity from AGENT_NAME, drop hardcoded agent refs 2026-03-28 08:55:06 +00:00
embed.sh refactor: derive DB identity from AGENT_NAME, drop hardcoded agent refs 2026-03-28 08:55:06 +00:00
memory-hydrate-pg.sh refactor: derive DB identity from AGENT_NAME, drop hardcoded agent refs 2026-03-28 08:55:06 +00:00
memory-pg.sh fix(dates): standardize DD.mmm.YYYY display and snapshot naming 2026-03-14 00:07:55 +01:00