From 5170ec2f5749672aafae969df7fd7f00fe46c372 Mon Sep 17 00:00:00 2001 From: Semprini Date: Thu, 26 Nov 2026 17:29:38 +1300 Subject: [PATCH] Model id is claude-sonnet-5-5 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CLAUDE.md | 4 ++-- README.md | 2 +- config.example.json | 2 +- docs/architecture.md | 2 +- maintainer.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index dff7960..8050527 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,7 +11,7 @@ operator over Matrix (chat.semprini.me). It is the *unattended driver* for the canonical **stack-support agent**, which lives in the separate **semprini-core** repo. This project does not reimplement that logic: it notices events, runs the stack-support agent in-process with **pydantic-ai** on Claude -(`anthropic:claude-sonnet-5.5`, through the Anthropic API), and relays the agent's typed result. +(`anthropic:claude-sonnet-5-5`, through the Anthropic API), and relays the agent's typed result. Until 2026-09-26 it ran on the core host and drove Claude Code headless; from then until 2026-11-26 it ran in WSL on the operator's workstation on a local model (GLM-4.7-Flash). @@ -44,7 +44,7 @@ Until 2026-09-26 it ran on the core host and drove Claude Code headless; from th `powershell` hosts remain supported for a daemon run elsewhere. The daemon's probes, its git bookkeeping and the agent's tools all run through them. - **Models** (`agent.py`, `config.json` → `models`, `routing`, `limits`): one profile, - `claude` (`anthropic:claude-sonnet-5.5`, `context_tokens` 200000 to cap what one long run + `claude` (`anthropic:claude-sonnet-5-5`, `context_tokens` 200000 to cap what one long run re-sends per step), routed for every kind of task, with no fallback (operator's decision, 2026-11-26). Billed per token with an API key, set by `--set-api-key claude`; `limits.cost_usd` caps each run ($5, $15 for the upgrade). The mechanism stays general: a diff --git a/README.md b/README.md index c32e0f9..b57dc00 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ upgrade. In `config.json`: ```json "models": { - "claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000, "api_key": "…"} + "claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000, "api_key": "…"} }, "routing": {"operator": ["claude"], "alerts": ["claude"], "health": ["claude"], "upgrade": ["claude"]} ``` diff --git a/config.example.json b/config.example.json index 67a7c00..ec60260 100644 --- a/config.example.json +++ b/config.example.json @@ -11,7 +11,7 @@ "runbook_file": "docs/stack-support-runbook.md", "models": { - "claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000, "api_key": ""} + "claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000, "api_key": ""} }, "routing": { "operator": ["claude"], diff --git a/docs/architecture.md b/docs/architecture.md index 5d504a5..ace3e06 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -50,7 +50,7 @@ relays its results. maintained the stack; the core host is always on. The daemon runs there under systemd as `ubuntu`, checkout `~/semprini-maintainer`, state in `~/.local/state/semprini-maintainer/`. Without the workstation's GPU there is no local model, so one profile, `claude` - (`anthropic:claude-sonnet-5.5`), does every kind of task, with no fallback. Consequences: + (`anthropic:claude-sonnet-5-5`), does every kind of task, with no fallback. Consequences: - `core` is the only host, with no `ssh`, so commands run on it directly; the `local` (WSL) and `windows` (PowerShell) hosts are gone. The bot's git identity and `GITEA_*` are set in `core`'s environment, and pull requests are opened from core. diff --git a/maintainer.py b/maintainer.py index 87ca575..f592663 100755 --- a/maintainer.py +++ b/maintainer.py @@ -103,7 +103,7 @@ DEFAULTS = { "models": { # A history is shortened past context_tokens: 200k keeps one long run # from re-sending (and paying for) a near-million-token prompt per step. - "claude": {"model": "anthropic:claude-sonnet-5.5", "context_tokens": 200000}, + "claude": {"model": "anthropic:claude-sonnet-5-5", "context_tokens": 200000}, }, # Which profiles each kind of task tries, best first; a later one takes # over when the first is unreachable or fails the run. Replaced whole.