Next moves: off-box incident writer + SLO windows, platform-fault-aware CI, post-merge verifier, actionable inbox, /guarantees, and the one-box reliability list #5502
ccantynzAI Reviewcommented 13d ago
AI Triage
(no summary)
Priority: medium Risk area: mixed
Suggested labels: (no label suggestions) Suggested reviewers: (no reviewer suggestions)
Suggestions only — nothing has been applied. The PR author stays in control.
gluecron[bot]🤖 botAI Reviewcommented 13d ago
AI review unavailable
The platform's AI balance is exhausted, so AI generation is temporarily unavailable. Nothing was lost. You can queue this as a repair for the internal agent from the repository's Health page, or try again once the balance is restored. The PR is otherwise unchanged.
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Why
Second wave of
docs/AUDIT-2026-08-19-PLATFORM-AND-20-MOVES.md— the moves that answer the two loudest GitHub failures of 2026 (outages nobody could see coming; a merge queue that silently reverted code) plus the rest of the one-box reliability list. 11 commits.Moves
POST /api/heartbeat/report(token-gated, timing-safe, never fails open) so the GitHub heartbeat writes incidents from outside the box;/statusshows 24h / 30d / 90d uptime + days-since-incident and states its method. Owner: setHEARTBEAT_REPORT_TOKENon the box + as a GitHub repo secret.src/lib/ci-outcome.ts; merge gate says "CI did not complete — interrupted by a platform restart — not your code" instead of "CI failed"; run pill grey ⟳; DORA excludes infra runs from the denominator.merge-tree --write-treeequality, objects present →audit_log merge.verified/verification_failed, PR comment + admin page on failure;/:owner/:repo/merges/verifypage + recompute.guarantees.test.ts(no ads in anything we write into your repo, AI off switch, no training, plain git, self-host free, status computed not painted, preview labelled), three policy commitments labelled as policy. Footer link.Reliability list
Deploy: build → migrate on the new image → switch (build/migration failure aborts before anything is replaced; new
build_failed/migration_abortedowner notifications); real started/finished events posted to/admin/deploysfrom the script;/admin/opsdead GitHub-dispatch buttons replaced by the truth. Push body cap 256 MiB + server ceiling. Workflow-runner claim RETURNING-checked. Paging webhook on every spine alert (ntfy headers), spike cooldown persisted.dep:tlsprobe. Neon fetch bounded (8s) + 5-failure breaker. Restore drill verifies the repos tarball (fsck + count) from the offsite copy. Remediation re-verify was reading probes by array index (broken by any insertion) — now by name.Tests
Full suite on the branch: 4850 pass / 5 fail / 133 skip — the 5 are the pre-existing failures on
main(claude-config, close-keywords-apply, json-in-script, suppression-quality ×2). ~200 new tests across 14 files.bun run typecheckclean.🤖 Generated with Claude Code