carlos / platform Public

runbook: unclean-release wait follows the files-only change

Re-reviewed copy (approved, no edits) for three paragraphs: since
ab4d773b a release whose upload finished but left files out opens at
once, so the causes, the "finalized" marker field and the recurring
case now say so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 39eab0f0ee97dfc8b414954a2712478a5e70b389 parent 285a81e
1 file changed, +3 −3
  • docs/region-ha-runbook.md +3 −3

Intent

Human

<paseo-system version="1" kind="agent-message" source-agent-id="8a3d302a-eac7-407c-b61c-f5ccc66b5544" message-id="7adb9568-9bf1-4b24-879c-6ee9c3f9f63f"> Agent manager 8a3d302: submitted: https://copy-review.docs-t1.dev.platform.tito.io/r/5xzqbesegscmhvghr6psps7cbi/ . Result lands in ha-copy-r2/copy-review/result.json. Good fix on the slot-marker forgery. </paseo-system>

Human

<task-notification> <task-id>bwnpr334h</task-id> <tool-use-id>toolu_01FdgqVdn7tKsWr2RKNexnSY</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a0025b5e-60c7-44a1-8f2f-0568a41826c3/tasks/bwnpr334h.output</output-file> <status>completed</status> <summary>Background command "Run the ppv2-step test suite" completed (exit code 0)</summary> </task-notification>

Human

<paseo-system version="1" kind="agent-message" source-agent-id="1a6bb78a-c3c5-42eb-970b-6379b5746c6e" message-id="bcbed8f2-d613-4eb2-83a8-093f82557c31" source-agent-title="Apply PPv2 + HA runbook copy"> Copy-apply: PPv2 MERGED as 26272c99d8b7b87b0c032c2343e509701c0d94fc (squash of ppv2-operator-copy, CI green on tip a209a48a). - 59 approved strings: 56 already matched the code. The three that changed are the edge no-route refusal (now names CARLOS_INGRESS_PROXY_SOURCES), the prereq usage paragraph and the guard refusal. - Two-slot prereq rule in scripts/ppv2-step.py, plus runbook prerequisite 6 and the prereq paragraph. - Astra, one scoped round: one P1 fail-open (a binary&apos;s output could forge slot markers). Fixed with base64 one-line slot answers and a strict parser; the reproducer is in GuardCheckTests. Findings are in docs/superpowers/reviews/ASTRA-FINDINGS-ppv2-guard-slots.md. - Census: the refusal text re-pinned the internal/host envelope. Astra APPROVED it, recorded on #280. - Note: one line of the approved usage paragraph is 80 columns. The strings&apos; notes asked for 78, but Paul approved the text, so I applied it verbatim. HA runbook: still waiting on Paul&apos;s re-review (no result.json in ha-copy-r2 yet). It merges after that. </paseo-system>

Attributed to this commit: 58.8 g CO₂e (5,406,922 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on ha-unclean-runbook, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/region-ha-runbook.md b/docs/region-ha-runbook.md
index 8c0bbdd83..f26647fde 100644
--- a/docs/region-ha-runbook.md
+++ b/docs/region-ha-runbook.md
@@ -325,11 +325,11 @@ If the box role itself must read it, widen `ssm_parameter_arn` to include that o
When a box lets a host go without a clean release, after the host's database had started replicating, no box can wake the host again until 15 minutes after that release. Requests to the host get 503 with a `Retry-After` that counts down to that time.
-This happens when the release's final sync fails or times out, when the write fence stops an instance during a storage outage, or when the host's files could not all be published. The wait gives any upload the old box still had in flight time to land before another box starts writing the same data.
+This happens when the release's final sync fails or times out, when the write fence stops an instance during a storage outage, or when the upload of the host's files fails or runs out of time. The wait gives any upload the old box still had in flight time to land before another box starts writing the same data.
-The host's lock reads `released/v1;…`, its `carlos_release` has `"clean": false` and no `"settled": true`, and the journal of the box trying to wake it says `LEASE HELD` by that `released/v1` owner.
+The host's lock reads `released/v1;…`, its `carlos_release` has `"clean": false` and neither `"settled": true` nor `"finalized": true`, and the journal of the box trying to wake it says `LEASE HELD` by that `released/v1` owner.
-Nothing: the host wakes on the next request after the 15 minutes. Do not edit or delete the lock to hurry it, because that is exactly the race the wait prevents. If a host waits like this after every sleep, its files are probably never published completely, for example because of a file over the size limit. The release's journal line names the file; fix it on the instance.
+Nothing: the host wakes on the next request after the 15 minutes. Do not edit or delete the lock to hurry it, because that is exactly the race the wait prevents. If a host waits like this after every sleep, its release keeps failing at the same step. The old box's journal has the release error, starting `files:` or `final sync:`, which says which step failed and why.
## Install chrony on a fixed box