Rename hostdSocketPath/hostdPidFile to platformHostdSocketPath/
platformHostdPidFile — the single hostd is platform-owned, not per-tenant.
Remove PLATFORM_SERVICE_NAME hardcode from classifyServiceOwner.
The shared-services check already wins for 'clawdie', so the guard
was redundant. Registry data now drives classification purely.
Update docs/internal/scripts/ to prefer TENANT_ID over AGENT_NAME
with backward-compatible fallback.
---
Build: pass | Tests: pass — 1757 passed (114 files)
data17 path and postgresql17 package refs were never updated when PG was
upgraded to 18. Fixes setup scripts, skills, docs, tests, and archived
playbooks to match the running system (PG 18.3, /var/db/postgres/data).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add permissions.sql with GRANT + ALTER DEFAULT PRIVILEGES
- Add fix-permissions.sh for quick repair on existing databases
- Add POSTGRES-PERMISSIONS.md documentation
- Update setup-db-jail.sh to run permissions.sql after migrations
- Update skills-memory.ts to apply permissions after artifact import
Fixes: permission denied for table memories