clawdie-ai/docs/internal/sql
Charlie Root 9498ad28bd fix: replace hardcoded 'clawdie' with AGENT_NAME across 22 files
All hardcoded 'clawdie' references in production code now derive from
AGENT_NAME (default: 'clawdie'). This makes the mevy canary strategy
reliable — changing AGENT_NAME is all that's needed.

Changes:
- Hardcoded paths: CMS_WEBROOT, ASTRO_SITE_PATH, verify checks,
  controlplane dashboard dir, sessions dir, output dir, chown user
- Prometheus metrics: prefixed with AGENT_NAME for multi-install dashboards
- hostd log strings: use AGENT_NAME instead of 'clawdie-hostd'
- MCP server name: derived from AGENT_NAME
- Skill modify patches: container image and mount allowlist use AGENT_NAME
- SQL migration file renamed: clawdie-brain-hybrid-upgrade → brain-hybrid-upgrade
- Temp dir prefixes: all use AGENT_NAME

Kept as-is (correct pattern):
- 'clawdie' as default fallback when AGENT_NAME is unset
- .pi/extensions/clawdie-harness/ directory (pi package identity)
- html/docs-clawdie-si/ (public docs site URL)

---
Build: pass | Tests: pass — 1527 passed, 3 failed (2 files, pre-existing)
2026-04-15 21:41:41 +00:00
..
ai-brain-base.sql Public/internal docs restructure; CMS/verify cleanup (Sam & Codex) 2026-04-05 06:29:19 +00:00
brain-hybrid-upgrade.sql fix: replace hardcoded 'clawdie' with AGENT_NAME across 22 files 2026-04-15 21:41:41 +00:00
builtin-knowledge-base.sql Public/internal docs restructure; CMS/verify cleanup (Sam & Codex) 2026-04-05 06:29:19 +00:00
permissions.sql fix: postgres permissions with DEFAULT PRIVILEGES (Sam & Claude) 2026-04-06 06:48:12 +02:00
search-memories.sql Public/internal docs restructure; CMS/verify cleanup (Sam & Codex) 2026-04-05 06:29:19 +00:00