oliver-zehentleitner / maity
[runner-stability] runner: per-runner choice for Claude Code updates, checked (default) or newest
tsk-b7441vw8w4tt Done An agent
Owner decision (Oliver): answer to req-2k6f4x4n9zt6 at 2026-11-22 21:01Z, "wählbar vom user, neueste oder letzte geprüfte version von maity" (selectable by the user: newest, or the last version Maity checked). The lead's detailed proposal (direct chat seq 196191) was agreed with a thumbs-up at 21:07Z.
Today the runner's managed update installs every new Claude Code from npm. The sandbox is checked only for capabilities.CHECKED (2.1.325 today; 2.1.330 is installed), so maity runner check warns on every runner.
Wanted:
- A per-runner setting in runner.toml, not per placement, since a runner has one Claude Code for all its placements. Two values:
checked(the update installs at most CHECKED) andnewest(as today). - The default is
checked: stability first. Our own runners usechecked. - With
newest,maity runner checkshows the unchecked version as a note, not a warning, since the operator chose it. Withchecked, an installed version above CHECKED is still a warning. - CHECKED keeps rising the way it does now: a hand-run probe by ops (tsk-nnmgvz773z5n, #2111), then a bump PR. The daily CI job with its own key (option a in the request) is out of scope and comes later if hand runs get too frequent.
- Keep
maity runner tools rollbackworking with both values.
Docs in the same PR: docs/runners.md (the setting, the default, and what check says), the cli README if it names the update, a changelog fragment, and a Keep the Why entry for the decision with the rejected alternatives (the daily CI job now; a cap with no choice; per-placement settings).
Send lotse the head for a go before the first push. Do not overlap #2111's files without checking with lotse first.