Commit graph

5 commits

Author SHA1 Message Date
4a61b08ca5 feat(skills): make built-in knowledge part of default db setup 2026-03-14 17:59:20 +01:00
37e43d353c fix(dates): standardize DD.mmm.YYYY display and snapshot naming 2026-03-14 00:07:55 +01:00
ce042196fe Add ai_brain schema and hybrid search function
Created base memories table (ai-brain-base.sql), applied hybrid
upgrade (chunks + embeddings + tsvector triggers), and added
search_memories() RRF function (search-memories.sql).

Validated end-to-end: insert → chunk → embed via OpenRouter → hybrid
search returns ranked results combining full-text and vector similarity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:25:08 +00:00
b6c7ca6399 Internal IP and domain redesign
Replace all hardcoded IPs (192.168.100.x) and domains (clawdie.si)
with configurable placeholders. Real values now live exclusively in
.env (gitignored).

Network: code defaults to 10.0.0.x, configurable via WARDEN_SUBNET_BASE,
WARDEN_GATEWAY, WARDEN_CONTROL_PLANE_IP env vars in jail-config.ts.

Domain: code defaults to clawdie.local, configurable via CLAWDIE_DOMAIN
env var. Subdomain scheme: controlplane/db/cms/gui.{domain}.

Also includes PGVector Phase 0 prep:
- Created ai_brain database with pgvector extensions
- Added pg + @types/pg npm packages
- Added CLAWDIE_DB_URL to .env
- Renamed db from 'clawdie' to 'ai_brain' across Ansible and docs
- Resolved embedding model: OpenRouter text-embedding-3-large at 1536d
- Added docs/pgvector-install-log.md

Renamed ai.clawdie.si → controlplane.{domain} (more descriptive).
Renamed vm.clawdie.si → gui.{domain}.

76 files updated across source, tests, skills, docs, Ansible, and scripts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:21:44 +00:00
44e3f2c4e8 Add hybrid memory schema plan 2026-03-09 20:36:00 +01:00