Skip to content

Runbooks: the check, and every alert, job and notice of spin - #2

Merged
aledbf merged 2 commits into
mainfrom
initial-runbooks
Nov 9, 2026
Merged

aledbf merged 2 commits into
mainfrom
initial-runbooks

Conversation

@aledbf

@aledbf aledbf commented Nov 9, 2026

Copy link
Copy Markdown
Member

Closes #1

The repository's shape and its first content.

  • task check (cmd/check, the Gate workflow runs go tool task check): front matter (id = file name, kebab case, unique; title; severity critical|warning|info; owner; last_reviewed a date; applies_to alerts/jobs/events/dashboards), the six sections in order, no raw HTML and no images (goldmark's AST, not a regexp), links to runbooks that exist and otherwise only app paths, https or mailto, and nothing a public repository must not carry (an AWS account id or access key, a private key, an installation's hostname). Plus taskgate and sfw from go-tools, pinned as brand pins them.
  • 33 runbooks, grounded in spin at origin/main: every one of spin's 25 alert rules links one (spin's test fails otherwise, spin-stack/spin#1044), every control plane job is in exactly one applies_to.jobs, the four owner notices (HELD, STOP_BACKUP_FAILED, UNRESPONSIVE, REHOMED), and the procedures: host shell, quarantine, recover --accept-data-loss, database restore/handover, key rotation, lost runner, admin lockout, egress denials, third-party terms.
  • Gaps are TODOs naming their issue: spin-stack/spin#1045 to #1053.

Not run on a real installation: the log queries (spin admin logs field names), the psql path in admin-lockout, the self-hosted runner upgrade steps in runners-behind.

🤖 Generated with Claude Code

aledbf and others added 2 commits November 9, 2026 17:56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cedures an operator is asked for (#1)

Thirty-three runbooks grounded in spin's code: one per Grafana alert rule (some
covering a pair), every control plane job named in exactly one, the four owner
notices, and the procedures - host shell, quarantine, recover, the database's
restore and handover, key rotation, a lost runner, a lockout, egress denials,
third-party terms. What spin cannot do yet is a TODO naming its issue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit 2bf7c14 into main Nov 9, 2026
1 check passed
@aledbf
aledbf deleted the initial-runbooks branch November 9, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Runbooks: one file per runbook, checked, read in the app

1 participant