Run on the core host, on Claude Sonnet 5.5 via the Anthropic API; no Ollama

The daemon moves from WSL on the workstation to the core host, where it runs
commands directly (core is the only host). One model profile, claude, with a
200k context and the existing cost caps. install.sh runs on the core host.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
paulandCopilot committed 2026-11-26 16:59:28 +13:00
1 parent 974abbec1d
commit 12e6fef51c
9 files changed
+263 -271

No files matched your search

+10 -19
View File
@@ -1,16 +1,7 @@
{
"hosts": {
"core": {
"ssh": "ubuntu@3.107.254.151",
"about": "the core stack host, AWS Lightsail Semprini-Core, Ubuntu, user ubuntu (docker group, passwordless sudo). Docker Compose runs the core stack, semprini-blog and conk; Loki, Kuma and Gitea are here. kubectl (as elz-operator) and `ssh sem-k8s-1..3`, `ssh sem-gw` also reach the home cluster from here, through the tunnel; `local` reaches it without the tunnel"
},
"local": {
"about": "the operator's workstation, WSL Ubuntu, where this daemon runs. curl, git and ssh; GITEA_* is set for API calls. The home cluster is on this LAN: work on it from here. `kubectl` (cluster-admin, as elz-operator) and `ssh sem-k8s-1..3`, `ssh sem-gw` (as paul, passwordless sudo: `sudo k3s kubectl`, `sudo crictl`) reach it directly, tunnel or not. The operator's own checkouts are under /mnt/c/Dev: read them, never commit there"
},
"windows": {
"shell": "powershell",
"powershell_bin": "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe",
"about": "the same workstation's Windows, as the operator's user (Hyper-V Administrators): the home cluster VMs sem-k8s-1..3 and sem-gw (Get-VM; C:\\Dev\\semprini-core\\infra\\hyperv\\cluster.ps1 status)"
"about": "the core stack host, where this daemon runs: AWS Lightsail Semprini-Core, Ubuntu, user ubuntu (docker group, passwordless sudo). Docker Compose runs the core stack, semprini-blog and conk; Loki, Kuma and Gitea are here. GITEA_* is set for API calls. kubectl (as elz-operator) and `ssh sem-k8s-1..3`, `ssh sem-gw` reach the home cluster through the WireGuard tunnel while the operator's workstation, which hosts it, is on"
}
},
"repo_host": "core",
@@ -20,13 +11,13 @@
"runbook_file": "docs/stack-support-runbook.md",
"models": {
"local": {"model": "ollama:hf.co/bartowski/zai-org_GLM-4.7-Flash-GGUF:Q5_K_S", "base_url": "http://{windows_host}:11434/v1", "context_tokens": 131072}
"claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000, "api_key": ""}
},
"routing": {
"operator": ["local"],
"alerts": ["local"],
"health": ["local"],
"upgrade": ["local"]
"operator": ["claude"],
"alerts": ["claude"],
"health": ["claude"],
"upgrade": ["claude"]
},
"limits": {
"request_limit": 150,
@@ -48,9 +39,9 @@
"escalation_expiry_seconds": 604800,
"self_update_interval_seconds": 3600,
"state_file": "/home/paul/.local/state/semprini-maintainer/state.json",
"remote_hold_file": "/home/ubuntu/.local/state/semprini-maintainer/hold.json",
"uv_bin": "/home/paul/.local/bin/uv",
"state_file": "/home/ubuntu/.local/state/semprini-maintainer/state.json",
"remote_hold_file": "",
"uv_bin": "/home/ubuntu/.local/bin/uv",
"alerts": {
"sender": "@alerts:semprini.me",
@@ -67,7 +58,7 @@
},
"git": {
"repos": [{"path": "/home/ubuntu/semprini-core", "slug": "paul/semprini-core", "host": "core"}],
"repos": [{"path": "/home/ubuntu/semprini-core", "slug": "paul/semprini-core"}],
"branch": "main"
},