docs(ams): land kill-switch incident runbook for misbehaving loops#7604
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
1 similar comment
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Closes JSONbored#4809. Operator runbook grounded in the shipped JSONbored#5670 mechanism, with nav/route wiring and a contract test pinning CLI/env/ledger facts. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7604 +/- ##
==========================================
- Coverage 88.48% 88.46% -0.02%
==========================================
Files 720 720
Lines 75749 75749
Branches 22559 22557 -2
==========================================
- Hits 67024 67013 -11
- Misses 7679 7686 +7
- Partials 1046 1050 +4
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-21 00:49:43 UTC
Review summary Nits — 1 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Visual previewClick any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. Scroll previewA short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|





Summary
/docs/ams-kill-switch-incident) grounded in the shipped Kill-switch implementation #5670 mechanism (LOOPOVER_MINER_KILL_SWITCH,.loopover-miner.ymlkillSwitch.paused, mid-attemptkill_switch_engagedabandon, governorkill_switchledger transitions).resolveMinerKillSwitch/buildMinerKillSwitchTransitionGovernorLedgerEvent.Closes #); this PR explicitly Closes Incident runbook for the kill-switch #4809.Closes #4809.
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpx vitest run test/unit/kill-switch-incident-runbook.test.ts;npm --prefix apps/loopover-ui test -- src/routes/docs-routes-loading-state.test.tsxnpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
test:ci/ UI build left to CI (local win32 Vite/MDX SSR cannot renderCodeBlockfor page screenshots; production/preview path is unchanged and matches sibling AMS runbook routes).Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Docs are dark-mode-only. Matrix covers the new runbook route (production before = missing page) and the docs index (Maintainers list gains the new entry).
Notes