90 lines
2.7 KiB
JSON
90 lines
2.7 KiB
JSON
{
|
|
"hosts": {
|
|
"core": {
|
|
"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",
|
|
"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": {
|
|
"claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000, "api_key": ""}
|
|
},
|
|
"routing": {
|
|
"operator": ["claude"],
|
|
"alerts": ["claude"],
|
|
"health": ["claude"],
|
|
"upgrade": ["claude"]
|
|
},
|
|
"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/ubuntu/.local/state/semprini-maintainer/state.json",
|
|
"remote_hold_file": "",
|
|
"uv_bin": "/home/ubuntu/.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"}],
|
|
"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"
|
|
}
|
|
}
|