b8fd655f02
Refactor V2 identity and platform ownership model
...
Make the multitenant branch use a clean PLATFORM_*/TENANT_* model, remove active AGENT_NAME runtime usage, collapse hostd ownership into the shared platform, add operator audit surfaces, and add read-only tenant lifecycle commands.
---
Build: pass | Tests: pass — 151 passed (14 files)
2026-04-24 07:49:09 +02:00
c65c289f08
refactor(multitenant): make tenant and platform identity explicit
...
Replace ambiguous AGENT_NAME usage across runtime, setup, and helper scripts with explicit TENANT_ID or platform runtime identity where appropriate. Keep AGENT_NAME as a compatibility boundary instead of the primary source for shared runtime naming.
---
Build: pass | Tests: pass — 138 passed (10 files)
2026-04-23 21:41:42 +02:00
84cc452497
docs: complete Codex's public/internal restructure alignment
...
Codex restructured docs on 5 Apr (cc37d2c ) into public/ and internal/
subdirectories. This commit completes the alignment work by updating all
references across skills, agents, and generated files.
Changes:
Skills Documentation:
- docs-deployment/SKILL.md: Update doc paths (docs/INSTALL.md → docs/public/install/install.md)
- docs-deployment/INTEGRATION.md: Update example paths for new structure
- agent-setup/SKILL.md: Update references
- ansible-freebsd/SKILL.md: Update references
Agents & Conventions:
- AGENTS.md: Add tmux "testing" window guideline for long-running commands
- AGENTS.md: Update doc path references (INSTALL.md → install.md lowercase)
- README-CLAWDIE.md: Update doc paths
- CROWDIN.md: Update structure references
Build System:
- setup/cms.ts: Improve frontmatter generation (skip files with existing h1)
- scripts/memory/embed-docs.py: Adjust for new structure
- docs-deployment/DOCUMENTATION-POLICY.md: Update guidelines
HTML/Web Output:
- html/: Version bumps, link fixes, manifest updated
- Reflect new public/ structure in rendered docs
Validation:
- All skills reference docs correctly
- Install/setup docs now at docs/public/install/
- Docs build and serve correctly (verified 6 Apr)
- 603 tests passing (from Codex's build)
Co-Authored-By: Codex (Agent) <codex@clawdie.si>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
---
Build: pass | Tests: pass — Tests 603 passed (603)
2026-04-06 13:22:24 +00:00
cc37d2c8cf
Public/internal docs restructure; CMS/verify cleanup (Sam & Codex)
...
---
Build: pass | Tests: pass - 603 passed (44 files)
---
Build: pass | Tests: pass — Tests 603 passed (603)
2026-04-05 06:29:19 +00:00
8f14ce0573
chore: replace legacy klavdija refs with agent-agnostic names, fix checklist to use Bastille
...
Replaces hardcoded "klavdija" with ${AGENT_NAME} or generic phrasing across
docs, scripts, and identity files. Fixes fresh-install checklist: jls → bastille
list, parameterized log paths, Bastille-based service checks.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---
Build: pass | Tests: pass — Tests 605 passed (605)
2026-04-01 21:59:13 +00:00
1cf4152bd3
chore: templatize agent name/subnet; fix heartbeat PGPASSWORD + timeouts
...
- Replace hardcoded "klavdija" tmux session names with $AGENT_NAME in
glass.sh and run-klavdija.sh
- Replace hardcoded 192.168.100.x fallbacks with 10.0.1.x throughout
scripts/memory/ and heartbeat.sh defaults
- Fix heartbeat PGPASSWORD: use inline `VAR=val cmd` form so psql
actually receives the password in the subshell
- Fix heartbeat curl hangs: add --max-time to all curl calls
- Add run-klavdija.sh and src/transcription.ts (previously untracked)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
Build: pass | Tests: pass — Tests 431 passed (431)
2026-03-28 21:56:40 +00:00
f07e4f1a0c
feat: switch embeddings to OpenRouter BAAI/bge-m3; fix heartbeat embed check
...
- embed-docs.py, import-memories.py: only send dimensions param for openai.com
- heartbeat.sh: skip /health TCP probe for external APIs to avoid false WARN;
use dynamic URL in flag message instead of hardcoded :8080
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
Build: pass | Tests: pass — Tests 431 passed (431)
2026-03-28 21:15:43 +00:00
e73afafbb2
feat: switch embeddings to OpenAI text-embedding-3-small; add embed-docs.py
...
- embed-docs.py: new script to batch-embed project docs into klavdija_brain
(37 docs → 852 chunks with session_id pattern doc:<path>)
- import-memories.py: updated embed() to send Authorization header and
dimensions=1024 parameter for OpenAI/configurable provider support
- memories-transfer-v2.json: recovered historical session memories (local copy)
- package.json: add @supabase/supabase-js dependency
- src/channels/telegram.ts, src/config.ts: Telegram channel integration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
Build: pass | Tests: pass — Tests 431 passed (431)
2026-03-28 20:44:09 +00:00