Files
semprini-maintainer/config.example.json
T
paulandClaude Opus 5.5 9aa1abf0e2 Run everything on the local model; no cloud tier
GLM-4.7-Flash can reach core over SSH, check, diagnose and upgrade, so
operator messages, alert triage, health findings and the weekly upgrade all
route to the one local profile. The Anthropic profile and its cloud-first
routing go, and with them the API key and metered billing the first draft
needed. The local profile's context_tokens rises to 131072, the window Ollama
loads GLM with, so long runs are not trimmed early.

Profiles and routing stay in configuration: a second model can still be
added, with hand-over when the first is unreachable or fails the run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 01:59:28 +12:00

99 lines
3.3 KiB
JSON

{
"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` reach the home cluster from here, through 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 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)"
}
},
"repo_host": "core",
"repo_dir": "/home/ubuntu/semprini-core",
"extra_dirs": ["/home/ubuntu/semprini-blog", "/home/ubuntu/conk"],
"agent_file": "agents/stack-support.agent.md",
"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}
},
"routing": {
"operator": ["local"],
"alerts": ["local"],
"health": ["local"],
"upgrade": ["local"]
},
"limits": {
"request_limit": 150,
"tool_calls_limit": 300,
"cost_usd": {"default": 5, "upgrade": 15}
},
"agent_timeout_seconds": 2700,
"kuma_volume": "uptime-kuma-data",
"sqlite_image": "keinos/sqlite3",
"autonomy": "full",
"health_interval_seconds": 300,
"down_confirmations": 2,
"upgrade_weekday": 5,
"upgrade_hour_utc": 22,
"digest_hour_utc": 21,
"conversation_ttl_seconds": 14400,
"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",
"alerts": {
"sender": "@alerts:semprini.me",
"batch_seconds": 60,
"cooldown_seconds": 43200,
"ignore": ["PipelineTest"]
},
"host": {
"disk_warn_percent": 85,
"mem_available_min_mb": 400,
"kuma_stale_seconds": 600,
"check_cooldown_seconds": 43200
},
"git": {
"repos": [{"path": "/home/ubuntu/semprini-core", "slug": "paul/semprini-core", "host": "core"}],
"branch": "main"
},
"gitea": {
"api_base": "https://git.semprini.me/api/v1",
"web_base": "https://git.semprini.me",
"user": "claude-code",
"repo": "paul/semprini-core",
"token": "FILLED_BY_register-gitea-bot.sh",
"git_author_name": "Claude Code",
"git_author_email": "claude-code@semprini.me"
},
"desk": {
"script": "core_stack/scripts/service-desk.py",
"interval_seconds": 60,
"timeout_seconds": 900
},
"matrix": {
"homeserver": "https://matrix.semprini.me",
"user_id": "@maintainer-bot:semprini.me",
"access_token": "FILLED_BY_register-matrix-bot.sh",
"room_id": "FILLED_BY_register-matrix-bot.sh",
"alerts_room": "#stack-alerts:semprini.me",
"admin_user_id": "@paul:semprini.me"
}
}