Run semprini-core's service desk every minute; --hold never shortens

The service desk (Semprini/service-desk) is fulfilled by semprini-core's
core_stack/scripts/service-desk.py. The daemon runs its poll between agent
runs, skips it during a hold, and posts to Stack Maintenance what needs a
person: an approval, a failure, an "Ask core" request, a finished request.

--hold from a shell no longer shortens a longer hold: sync-to-host.sh's
15 minutes on each deploy cut a 2-hour hold short on 2026-09-19.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
paulandClaude Opus 5 committed 2026-09-19 18:06:22 +12:00
1 parent a8124a803b
commit 99ebfcfb38
3 files changed
+68 -3

No files matched your search

+8 -1
View File
@@ -39,7 +39,14 @@ JSON result.
one triage run covers the whole hold. It lives in `hold.json` next to the state file
because a shell has to reach a daemon that owns its own state file, and it expires by
itself so nothing stays paused by accident. semprini-core's `sync-to-host.sh` sets 15
minutes on each deploy.
minutes on each deploy. `--hold` from a shell never shortens a longer hold already in
force; `hold` in Matrix does what it says.
- **Service desk** (1 min, `desk` in config): runs semprini-core's
`core_stack/scripts/service-desk.py poll --json`, which fulfils the open requests in
`Semprini/service-desk` (zones, for now) and answers in each issue. It is a script, not
an agent run: it takes its turn between runs and waits out a hold. Requests needing
approval, failures, "Ask core" requests and finished requests are posted to Stack
Maintenance. Nothing from an issue reaches the agent unless the operator passes it on.
- **Alerts** (`#stack-alerts`, written by `@alerts` via Loki → Alertmanager →
matrix-alerts): FIRING messages are batched for `alerts.batch_seconds` and triaged in
one run, answered in a thread under the alert. Non-`ok` results are mirrored to Stack