confirm #724 live: the next two rehearsal-c rented drives must harvest, then seed with ZERO new LE orders #743

Closed
opened 2026-08-24 02:57:13 +00:00 by matou-build-agent · 9 comments

Follow-up from #724, which wired certificate persistence onto the rented path (4ad3e4bc) but could not prove it live: proof needs two rented drives against one slug, and #720's confirmation queue was already driving rehearsal-c at the time (a session-launched drive would have contended for the drive lock and collided with that queue's active rental, #652).

The queue picks the fix up on its own — rehearsal-cycle.sh:133 syncs origin/main before each drive. This ticket is just the eyes on the two drives that follow.

What to check

Drive 1 (harvest-only — no store is held for rehearsal-c yet, so seedable=0 and the worker only READS from the box):

  • logs/cert-rented.txt ends rented-cert-harvest: done — the store was captured while the box was alive, i.e. before the release leg destroyed it. This is the exact thing that never happened before #724 (Ben, #724: "the green box was released with its certs").
  • test-results/cert-store/rehearsal-c/ exists on the driving checkout, 0700, holding certificates/…/*.crt and acme/…/users/default/ (the ACME account — a store without it still orders).
  • A green drive that harvests nothing means Phase C never saw a *.crt inside its budget; the verdict line says which.

Drive 2 (the seed's first live exercise):

  • logs/cert-rented.txt says seeded — staged into /var/lib/caddy/.local/share/caddy and wholly owned by uid 239, before the deploy leg started Caddy.
  • The actual proof: grep -c 'creating new order' logs/droplet-caddy.txt is 0, and the drive's own output carries cert seed VERIFY (#559): ZERO new-order lines. That is a rented drive founding a real community over a browser-trusted LE cert having contacted Let's Encrypt zero times.
  • Then rented-cert-harvest: skipped — the held store already is that gateway's store.

If it goes wrong

Two named failure modes, both self-announcing rather than silent:

  • seed MISSED its window — caddy.service was already active when the worker first reached the box. Means the pre-deploy window is narrower on a real drive than the leg order suggests; the fix is to arm earlier or poll faster (OC_RENTED_CERT_POLL), not to abandon the approach.
  • seed FAILED — the staged tree … is not wholly owned by uid 239 — the VMMode activation changed ownership under us. internal/certpersist is the seam to fix, not the shell.

Either way assert_zero_obtain names it on the drive that made it, and OC_RENTED_CERT_PERSIST=0 stands the whole worker down without editing the harness mid-queue.

Third risk, only visible live: the seed creates /var/lib/caddy on the box before the VMMode clan update runs. Expected to be inert (systemd StateDirectory adopts an existing dir; useradd accepts an existing home), but it is the one interaction offline tests cannot reach. A deploy-leg red on drive 2 that drive 1 did not have is the signal — set OC_RENTED_CERT_PERSIST=0 and reopen #724.

Why session, not agent

Needs the rented drive queue's own evidence directories on elitebook-03 and
that host's doors — not a swarm sandbox. No Ben.

Corrections (agent, 2026-08-24 — see the comment thread)

Three facts in this ticket as filed are wrong or stale; the checks above all stand.

  1. Host. These drives run on elitebook-03, not matou-workstation
    (#720: "Host: elitebook-03 (REHEARSAL_DRIVE_QUEUE=720)"). The workstation
    drives 721,722 at target selfhosted and has no test-results/drive-rented/
    or cert-store/rehearsal-c/ at all. Take this ticket from a session that can
    reach elitebook-03.
  2. "The queue picks the fix up on its own" — not while #720 is blocked.
    #720 is blocked by #742, a recurrence of #714 (open, deferred).
    The next rented drive fires when #714 is fixed, not on the clock. This ticket
    is now natively blocked by #742 so it becomes takeable at exactly that moment.
  3. rehearsal-cycle.sh:133 is now line 159 — and the sync is
    conditional (git status --porcelain clean AND on main). Verify
    elitebook-03's checkout actually contains 4ad3e4bc before believing any
    verdict
    : a "harvest: none" from a pre-#724 checkout looks identical to a
    #724 failure.

Also carry in: confirm the rehearsal-c LE budget before counting on two
drives.
Its only drive so far (20260824T013326Z) red at enroll-activate —
inside the founding stand-up, before Caddy ever serves the real domain — so it
likely ordered nothing, but that is unconfirmed (crt.sh was 502). Check that
drive's own logs/droplet-caddy.txt on elitebook-03.

How to do this without a door to elitebook-03 (agent, 2026-08-24 — supersedes correction 1)

You do not need a session on elitebook-03 any more, and you cannot get one:
elitebook-03 runs Forgejo Actions but no session-runner (docs/agents/worker-classes.json).
Dispatch the read instead — it runs on the driving host and posts the report here:

curl -X POST -H "Authorization: token $FORGEJO_TOKEN" -H 'Content-Type: application/json' \
  -d '{"ref":"main","inputs":{"issue":"743","slug":"rehearsal-c","run":""}}' \
  https://git.matou.nz/api/v1/repos/Matou/idss/actions/workflows/rented-cert-evidence.yml/dispatches

(run empty = newest; name a stamp to read an older drive. The report lands as a comment
within ~30s. Read scripts/rented-cert-evidence.sh for what it reports and why.)

Two things it will tell you that the checklist above assumes you must dig for: whether the
driving checkout carries 4ad3e4bc (correction 3's question, answered every run), and
whether a drive is still in flight — the newest run dir's verdict is only filed at reap,
so mid-drive silence looks exactly like a worker that failed to file.

Do not read drive 2's zero-order claim off logs/droplet-caddy.txt — see #747. On a
green rented drive that file is 2 lines, both the harvest's own failure note, because the
release leg destroyed the box before the journal was captured. The readings that do carry
it are rented-cert-harvest: skipped in logs/cert-rented.txt (the worker takes that branch
only after asking the live box for its order count) and Certificate Transparency.

Follow-up from **#724**, which wired certificate persistence onto the rented path (`4ad3e4bc`) but could **not** prove it live: proof needs two rented drives against one slug, and #720's confirmation queue was already driving `rehearsal-c` at the time (a session-launched drive would have contended for the drive lock and collided with that queue's active rental, #652). The queue picks the fix up on its own — `rehearsal-cycle.sh:133` syncs `origin/main` before each drive. This ticket is just the eyes on the two drives that follow. ## What to check **Drive 1 (harvest-only — no store is held for `rehearsal-c` yet, so `seedable=0` and the worker only READS from the box):** - `logs/cert-rented.txt` ends `rented-cert-harvest: done` — the store was captured **while the box was alive**, i.e. before the `release` leg destroyed it. This is the exact thing that never happened before #724 (Ben, #724: *"the green box was released with its certs"*). - `test-results/cert-store/rehearsal-c/` exists on the driving checkout, `0700`, holding `certificates/…/*.crt` **and** `acme/…/users/default/` (the ACME account — a store without it still orders). - A green drive that harvests nothing means Phase C never saw a `*.crt` inside its budget; the verdict line says which. **Drive 2 (the seed's first live exercise):** - `logs/cert-rented.txt` says `seeded` — staged into `/var/lib/caddy/.local/share/caddy` and wholly owned by uid 239, before the `deploy` leg started Caddy. - **The actual proof:** `grep -c 'creating new order' logs/droplet-caddy.txt` is **0**, and the drive's own output carries `cert seed VERIFY (#559): ZERO new-order lines`. That is a rented drive founding a real community over a browser-trusted LE cert having contacted Let's Encrypt **zero times**. - Then `rented-cert-harvest: skipped` — the held store already is that gateway's store. ## If it goes wrong Two named failure modes, both self-announcing rather than silent: - `seed MISSED its window` — `caddy.service` was already active when the worker first reached the box. Means the pre-deploy window is narrower on a real drive than the leg order suggests; the fix is to arm earlier or poll faster (`OC_RENTED_CERT_POLL`), not to abandon the approach. - `seed FAILED — the staged tree … is not wholly owned by uid 239` — the VMMode activation changed ownership under us. `internal/certpersist` is the seam to fix, not the shell. Either way `assert_zero_obtain` names it on the drive that made it, and `OC_RENTED_CERT_PERSIST=0` stands the whole worker down without editing the harness mid-queue. **Third risk, only visible live:** the seed creates `/var/lib/caddy` on the box *before* the VMMode `clan update` runs. Expected to be inert (systemd `StateDirectory` adopts an existing dir; `useradd` accepts an existing home), but it is the one interaction offline tests cannot reach. A `deploy`-leg red on drive 2 that drive 1 did not have is the signal — set `OC_RENTED_CERT_PERSIST=0` and reopen #724. ## Why session, not agent Needs the rented drive queue's own evidence directories on **elitebook-03** and that host's doors — not a swarm sandbox. No Ben. ## Corrections (agent, 2026-08-24 — see the comment thread) Three facts in this ticket as filed are wrong or stale; the *checks* above all stand. 1. **Host.** These drives run on **elitebook-03**, not matou-workstation (#720: "Host: **elitebook-03** (`REHEARSAL_DRIVE_QUEUE=720`)"). The workstation drives `721,722` at target `selfhosted` and has no `test-results/drive-rented/` or `cert-store/rehearsal-c/` at all. Take this ticket from a session that can reach elitebook-03. 2. **"The queue picks the fix up on its own"** — not while #720 is blocked. #720 is blocked by **#742**, a recurrence of **#714** (open, `deferred`). The next rented drive fires when #714 is fixed, not on the clock. This ticket is now natively blocked by #742 so it becomes takeable at exactly that moment. 3. **`rehearsal-cycle.sh:133`** is now **line 159** — and the sync is *conditional* (`git status --porcelain` clean AND on `main`). **Verify elitebook-03's checkout actually contains `4ad3e4bc` before believing any verdict**: a "harvest: none" from a pre-#724 checkout looks identical to a #724 failure. Also carry in: **confirm the `rehearsal-c` LE budget before counting on two drives.** Its only drive so far (`20260824T013326Z`) red at `enroll-activate` — inside the founding stand-up, before Caddy ever serves the real domain — so it likely ordered nothing, but that is unconfirmed (crt.sh was 502). Check that drive's own `logs/droplet-caddy.txt` on elitebook-03. ## How to do this without a door to elitebook-03 (agent, 2026-08-24 — supersedes correction 1) You do **not** need a session on elitebook-03 any more, and you cannot get one: elitebook-03 runs Forgejo Actions but no session-runner (`docs/agents/worker-classes.json`). Dispatch the read instead — it runs on the driving host and posts the report here: ``` curl -X POST -H "Authorization: token $FORGEJO_TOKEN" -H 'Content-Type: application/json' \ -d '{"ref":"main","inputs":{"issue":"743","slug":"rehearsal-c","run":""}}' \ https://git.matou.nz/api/v1/repos/Matou/idss/actions/workflows/rented-cert-evidence.yml/dispatches ``` (`run` empty = newest; name a stamp to read an older drive. The report lands as a comment within ~30s. Read `scripts/rented-cert-evidence.sh` for what it reports and why.) Two things it will tell you that the checklist above assumes you must dig for: whether the driving checkout carries `4ad3e4bc` (correction 3's question, answered every run), and whether a drive is still **in flight** — the newest run dir's verdict is only filed at reap, so mid-drive silence looks exactly like a worker that failed to file. **Do not read drive 2's zero-order claim off `logs/droplet-caddy.txt`** — see #747. On a green rented drive that file is 2 lines, both the harvest's own failure note, because the `release` leg destroyed the box before the journal was captured. The readings that do carry it are `rented-cert-harvest: skipped` in `logs/cert-rented.txt` (the worker takes that branch only after asking the live box for its order count) and Certificate Transparency.
Author
Member

Ruled by agent under ADR 0174 — veto anytime.

Attempted this ticket unattended. The two drives it asks me to witness have not happened, and cannot happen yet. Nothing confirmed; no green claimed. What the eyes did find changes where this ticket points.

1. Zero rehearsal-c drives have run since #724 landed

  • 4ad3e4bc (the #724 fix) landed 2026-08-24 02:55:13Z.
  • The last rented drive on rehearsal-c is 20260824T013326Z — started 01:33Z, RED at 02:33Z (#720's ledger). It began 82 minutes before the fix existed, so it carried none of it.
  • Nothing since; #720's comment ledger ends at that RED.
  • The logs/cert-rented.txt files sitting under /tmp on this workstation (02:45–02:54Z) are #724's own offline test artifacts — slug rehearsal-offline-test, not drives.

2. These drives do not run on matou-workstation — the "Why session" host was wrong

#720's body: "Host: elitebook-03 (REHEARSAL_DRIVE_QUEUE=720)."

matou-workstation's idss-env.sh reads REHEARSAL_DRIVE_QUEUE=721,722, REHEARSAL_DRIVE_TARGET=selfhosted. Consistent with that, this host has:

  • no test-results/drive-rented/ — anywhere under /home/dev (searched);
  • no cert-store/rehearsal-c/ — anywhere (searched);
  • test-results/cert-store/ holding only rehearsal-b, from the droplet/own-VPS target.

And elitebook-03 is not reachable from here: no tailscale binary on this host, its mesh IP 100.98.240.186 does not ping, ssh to it times out, neither host alias resolves. So this session cannot read the evidence directories this ticket names, from the host this ticket names. Body corrected.

3. The drives are blocked, not merely pending — the queue does not pick this up on its own

The ticket's premise was "The queue picks the fix up on its own — rehearsal-cycle.sh:133 syncs origin/main before each drive." The sync is real (line 159 now), but it never runs, because the drive never fires:

  • #720 is blocked by #742 (open, agent-blocked) — the 02:33Z RED filed it.
  • #742 is a recurrence of #714 (open, deferred) — enroll-activate conceding a block on a switch that already finished.
  • Executor contract: "the drive re-fires when the last blocker closes."

So the next rented drive is gated on #714 being fixed, not on the clock. The same blocker parks this workstation: it has logged queue [721,722] → driving #721 → #721 blocked by 1 open issue(s) — the swarm is plugging every 2 minutes since ~00:27Z, because #721 is blocked by #720. Both hosts' drive queues are currently behind #714.

The ruling

This ticket is now natively blocked by #742, and stays ready-for-session — the label is right, it genuinely needs a session's standing, it just is not takeable yet.

Why this is a two-way door: one DELETE on the dependency reverses it entirely. Why it is the correct routing: session-runner.sh:138 skips a ticket with open dependencies (#N blocked by ... — skipped), so this stops the runner burning attempts on an unrunnable ticket and makes it takeable again automatically the moment #742 closes — which is exactly the moment the drives can re-fire. No human step is created, and nothing is silently dropped.

Baseline the next attempt gets for free

Both of #724's offline proofs re-run green on current main (09ca7197, which contains 4ad3e4bc) on this host:

  • scripts/tests/rehearsal-rented-certs-test.sh → PASS, 13 checks ("the rented path seeds in its pre-deploy window, harvests before release destroys the box, skips a harvest its seed made redundant, and names a seed that did not take")
  • go test -count=1 ./internal/certpersist/... → ok (0.011s)

So if drive 1 harvests nothing, the shell/seam logic is not the first suspect — look at the budget and the window, as this ticket's failure-mode section already says.

Two preconditions folded into the body

  1. Verify elitebook-03's checkout actually contains 4ad3e4bc before believing any verdict. rehearsal-cycle.sh:159 syncs conditionally — [ -z "$(git status --porcelain)" ] && [ "$(git branch --show-current)" = "main" ]; a dirty tree or a non-main branch drives as-is, and a harvest: none from a pre-#724 checkout looks identical to a #724 failure.
  2. Confirm the rehearsal-c LE budget before counting on two drives. Its only drive so far red at enroll-activate — inside the founding stand-up, before the community deploys and Caddy serves the real domain — so it likely ordered nothing and the slug is still 5/5. Unconfirmed: crt.sh returned 502 for both slugs while I checked. Confirm from that drive's own logs/droplet-caddy.txt on elitebook-03.

Nothing landed in the repo — no commit, so no STATUS.md change is owed. #724's live proof remains genuinely unproven; this ticket is the right place for it, pointed at the right host, and now waits on the right blocker.

**Ruled by agent under ADR 0174 — veto anytime.** Attempted this ticket unattended. **The two drives it asks me to witness have not happened, and cannot happen yet.** Nothing confirmed; no green claimed. What the eyes did find changes where this ticket points. ## 1. Zero `rehearsal-c` drives have run since #724 landed - `4ad3e4bc` (the #724 fix) landed **2026-08-24 02:55:13Z**. - The last rented drive on `rehearsal-c` is `20260824T013326Z` — started 01:33Z, RED at 02:33Z (#720's ledger). It began **82 minutes before the fix existed**, so it carried none of it. - Nothing since; #720's comment ledger ends at that RED. - The `logs/cert-rented.txt` files sitting under `/tmp` on this workstation (02:45–02:54Z) are #724's own **offline test** artifacts — slug `rehearsal-offline-test`, not drives. ## 2. These drives do not run on matou-workstation — the "Why session" host was wrong #720's body: *"Host: **elitebook-03** (`REHEARSAL_DRIVE_QUEUE=720`)."* matou-workstation's `idss-env.sh` reads `REHEARSAL_DRIVE_QUEUE=721,722`, `REHEARSAL_DRIVE_TARGET=selfhosted`. Consistent with that, this host has: - **no** `test-results/drive-rented/` — anywhere under `/home/dev` (searched); - **no** `cert-store/rehearsal-c/` — anywhere (searched); - `test-results/cert-store/` holding only `rehearsal-b`, from the droplet/own-VPS target. And elitebook-03 is **not reachable from here**: no `tailscale` binary on this host, its mesh IP `100.98.240.186` does not ping, `ssh` to it times out, neither host alias resolves. So this session cannot read the evidence directories this ticket names, from the host this ticket names. Body corrected. ## 3. The drives are blocked, not merely pending — the queue does *not* pick this up on its own The ticket's premise was *"The queue picks the fix up on its own — `rehearsal-cycle.sh:133` syncs `origin/main` before each drive."* The sync is real (line **159** now), but it never runs, because the drive never fires: - **#720 is blocked by #742** (open, `agent-blocked`) — the 02:33Z RED filed it. - **#742 is a recurrence of #714** (open, **`deferred`**) — `enroll-activate` conceding a block on a switch that already finished. - Executor contract: *"the drive re-fires when the last blocker closes."* So the next rented drive is gated on **#714 being fixed**, not on the clock. The same blocker parks this workstation: it has logged `queue [721,722] → driving #721` → `#721 blocked by 1 open issue(s) — the swarm is plugging` every 2 minutes since ~00:27Z, because #721 is blocked by #720. **Both hosts' drive queues are currently behind #714.** ## The ruling **This ticket is now natively blocked by #742**, and stays `ready-for-session` — the label is right, it genuinely needs a session's standing, it just is not takeable yet. Why this is a two-way door: one `DELETE` on the dependency reverses it entirely. Why it is the correct routing: `session-runner.sh:138` skips a ticket with open dependencies (`#N blocked by ... — skipped`), so this stops the runner burning attempts on an unrunnable ticket **and** makes it takeable again automatically the moment #742 closes — which is exactly the moment the drives can re-fire. No human step is created, and nothing is silently dropped. ## Baseline the next attempt gets for free Both of #724's offline proofs re-run green on current `main` (`09ca7197`, which contains `4ad3e4bc`) on this host: - `scripts/tests/rehearsal-rented-certs-test.sh` → **PASS, 13 checks** ("the rented path seeds in its pre-deploy window, harvests before release destroys the box, skips a harvest its seed made redundant, and names a seed that did not take") - `go test -count=1 ./internal/certpersist/...` → **ok** (0.011s) So if drive 1 harvests nothing, the shell/seam logic is not the first suspect — look at the budget and the window, as this ticket's failure-mode section already says. ## Two preconditions folded into the body 1. **Verify elitebook-03's checkout actually contains `4ad3e4bc` before believing any verdict.** `rehearsal-cycle.sh:159` syncs *conditionally* — `[ -z "$(git status --porcelain)" ] && [ "$(git branch --show-current)" = "main" ]`; a dirty tree or a non-`main` branch drives as-is, and a `harvest: none` from a pre-#724 checkout looks identical to a #724 failure. 2. **Confirm the `rehearsal-c` LE budget before counting on two drives.** Its only drive so far red at `enroll-activate` — inside the founding stand-up, before the community deploys and Caddy serves the real domain — so it likely ordered nothing and the slug is still 5/5. Unconfirmed: crt.sh returned 502 for both slugs while I checked. Confirm from that drive's own `logs/droplet-caddy.txt` on elitebook-03. Nothing landed in the repo — no commit, so no `STATUS.md` change is owed. #724's live proof remains genuinely unproven; this ticket is the right place for it, pointed at the right host, and now waits on the right blocker.
Author
Member

Posted by the rented-cert-evidence workflow (#743) — read-only, dispatched on elitebook-distributed-server-03.

Rented cert evidence — rehearsal-c on elitebook-distributed-server-03

Read-only, by scripts/rented-cert-evidence.sh (#743). Checkout: /home/swarm/swarm/Matou/idss.

Checkout

  • HEAD: 0ae4f976dc89 on branch main
  • tree: CLEAN (rehearsal-cycle.sh syncs origin/main before a drive)
  • carries 4ad3e4bc: YES — the drive below ran the fix

Drive

  • run: 20260824T134042Z (newest of 4)
  • all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z

logs/cert-rented.txt

  • cert-rented.txt: ABSENT — the worker never filed a verdict (armed? OC_RENTED_CERT_PERSIST=0? go absent?)

Zero-obtain (#559 / GOTCHAS #32)

  • droplet-caddy.txt: ABSENT — the box's journal was never harvested, so zero-obtain is UNPROVEN

Held store test-results/cert-store/rehearsal-c

  • store: PRESENT at /home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c
  • mode: 700 (0700 expected)
  • certificates: 2 *.crt
  • acme account: PRESENT (acme/.../users/default/)
  • identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
_Posted by the `rented-cert-evidence` workflow (#743) — read-only, dispatched on `elitebook-distributed-server-03`._ ## Rented cert evidence — `rehearsal-c` on `elitebook-distributed-server-03` Read-only, by `scripts/rented-cert-evidence.sh` (#743). Checkout: `/home/swarm/swarm/Matou/idss`. ### Checkout - HEAD: `0ae4f976dc89` on branch `main` - tree: CLEAN (rehearsal-cycle.sh syncs `origin/main` before a drive) - carries 4ad3e4bc: YES — the drive below ran the fix ### Drive - run: 20260824T134042Z (newest of 4) - all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z ### `logs/cert-rented.txt` - cert-rented.txt: ABSENT — the worker never filed a verdict (armed? `OC_RENTED_CERT_PERSIST=0`? go absent?) ### Zero-obtain (#559 / GOTCHAS #32) - droplet-caddy.txt: ABSENT — the box's journal was never harvested, so zero-obtain is UNPROVEN ### Held store `test-results/cert-store/rehearsal-c` - store: PRESENT at `/home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c` - mode: 700 (0700 expected) - certificates: 2 `*.crt` - acme account: PRESENT (`acme/.../users/default/`) - identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
Author
Member

Posted by the rented-cert-evidence workflow (#743) — read-only, dispatched on elitebook-distributed-server-03.

Rented cert evidence — rehearsal-c on elitebook-distributed-server-03

Read-only, by scripts/rented-cert-evidence.sh (#743). Checkout: /home/swarm/swarm/Matou/idss.

Checkout

  • HEAD: 0ae4f976dc89 on branch main
  • tree: CLEAN (rehearsal-cycle.sh syncs origin/main before a drive)
  • carries 4ad3e4bc: YES — the drive below ran the fix

Drive

  • drive in flight: YES — target rented on elitebook-distributed-server-03; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap)
  • run: 20260824T132520Z (named)
  • all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z

logs/cert-rented.txt

  • harvest: done
  • seed: none held — this drive orders fresh and HARVESTS (the drive-1 shape)
rented certs: no seedable store held for 'rehearsal-c' — Caddy orders fresh this drive (#532/#724)
rented certs: harvested the gateway's Caddy store for 'rehearsal-c' while the box was still alive — before the journey's release leg destroys it. The next same-slug rented drive seeds this store and orders zero new certificates (#724, GOTCHAS #32)
rented-cert-harvest: done

Zero-obtain (#559 / GOTCHAS #32)

  • new-order lines: 0
  • ZERO new LE orders: YES — this gateway contacted Let's Encrypt zero times for the seeded identifiers
  • 'certificate obtained successfully' lines: 0

Held store test-results/cert-store/rehearsal-c

  • store: PRESENT at /home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c
  • mode: 700 (0700 expected)
  • certificates: 2 *.crt
  • acme account: PRESENT (acme/.../users/default/)
  • identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
_Posted by the `rented-cert-evidence` workflow (#743) — read-only, dispatched on `elitebook-distributed-server-03`._ ## Rented cert evidence — `rehearsal-c` on `elitebook-distributed-server-03` Read-only, by `scripts/rented-cert-evidence.sh` (#743). Checkout: `/home/swarm/swarm/Matou/idss`. ### Checkout - HEAD: `0ae4f976dc89` on branch `main` - tree: CLEAN (rehearsal-cycle.sh syncs `origin/main` before a drive) - carries 4ad3e4bc: YES — the drive below ran the fix ### Drive - drive in flight: YES — target `rented` on `elitebook-distributed-server-03`; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap) - run: 20260824T132520Z (named) - all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z ### `logs/cert-rented.txt` - harvest: done - seed: none held — this drive orders fresh and HARVESTS (the drive-1 shape) ``` rented certs: no seedable store held for 'rehearsal-c' — Caddy orders fresh this drive (#532/#724) rented certs: harvested the gateway's Caddy store for 'rehearsal-c' while the box was still alive — before the journey's release leg destroys it. The next same-slug rented drive seeds this store and orders zero new certificates (#724, GOTCHAS #32) rented-cert-harvest: done ``` ### Zero-obtain (#559 / GOTCHAS #32) - new-order lines: 0 - ZERO new LE orders: YES — this gateway contacted Let's Encrypt zero times for the seeded identifiers - 'certificate obtained successfully' lines: 0 ### Held store `test-results/cert-store/rehearsal-c` - store: PRESENT at `/home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c` - mode: 700 (0700 expected) - certificates: 2 `*.crt` - acme account: PRESENT (`acme/.../users/default/`) - identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
Author
Member

Posted by the rented-cert-evidence workflow (#743) — read-only, dispatched on elitebook-distributed-server-03.

Rented cert evidence — rehearsal-c on elitebook-distributed-server-03

Read-only, by scripts/rented-cert-evidence.sh (#743). Checkout: /home/swarm/swarm/Matou/idss.

Checkout

  • HEAD: 0ae4f976dc89 on branch main
  • tree: CLEAN (rehearsal-cycle.sh syncs origin/main before a drive)
  • carries 4ad3e4bc: YES — the drive below ran the fix

Drive

  • drive in flight: YES — target rented on elitebook-distributed-server-03; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap)
  • run: 20260824T134042Z (named)
  • all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z

logs/cert-rented.txt

  • cert-rented.txt: ABSENT — the worker never filed a verdict (armed? OC_RENTED_CERT_PERSIST=0? go absent?)

Zero-obtain (#559 / GOTCHAS #32)

  • droplet-caddy.txt: ABSENT — the box's journal was never harvested, so zero-obtain is UNPROVEN

Held store test-results/cert-store/rehearsal-c

  • store: PRESENT at /home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c
  • mode: 700 (0700 expected)
  • certificates: 2 *.crt
  • acme account: PRESENT (acme/.../users/default/)
  • identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
_Posted by the `rented-cert-evidence` workflow (#743) — read-only, dispatched on `elitebook-distributed-server-03`._ ## Rented cert evidence — `rehearsal-c` on `elitebook-distributed-server-03` Read-only, by `scripts/rented-cert-evidence.sh` (#743). Checkout: `/home/swarm/swarm/Matou/idss`. ### Checkout - HEAD: `0ae4f976dc89` on branch `main` - tree: CLEAN (rehearsal-cycle.sh syncs `origin/main` before a drive) - carries 4ad3e4bc: YES — the drive below ran the fix ### Drive - drive in flight: YES — target `rented` on `elitebook-distributed-server-03`; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap) - run: 20260824T134042Z (named) - all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z ### `logs/cert-rented.txt` - cert-rented.txt: ABSENT — the worker never filed a verdict (armed? `OC_RENTED_CERT_PERSIST=0`? go absent?) ### Zero-obtain (#559 / GOTCHAS #32) - droplet-caddy.txt: ABSENT — the box's journal was never harvested, so zero-obtain is UNPROVEN ### Held store `test-results/cert-store/rehearsal-c` - store: PRESENT at `/home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c` - mode: 700 (0700 expected) - certificates: 2 `*.crt` - acme account: PRESENT (`acme/.../users/default/`) - identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
Author
Member

Posted by the rented-cert-evidence workflow (#743) — read-only, dispatched on elitebook-distributed-server-03.

Rented cert evidence — rehearsal-c on elitebook-distributed-server-03

Read-only, by scripts/rented-cert-evidence.sh (#743). Checkout: /home/swarm/swarm/Matou/idss.

Checkout

  • HEAD: 0ae4f976dc89 on branch main
  • tree: CLEAN (rehearsal-cycle.sh syncs origin/main before a drive)
  • carries 4ad3e4bc: YES — the drive below ran the fix

Drive

  • drive in flight: YES — target rented on elitebook-distributed-server-03; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap)
  • run: 20260824T132520Z (named)
  • all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z

logs/cert-rented.txt

  • harvest: done
  • seed: none held — this drive orders fresh and HARVESTS (the drive-1 shape)
rented certs: no seedable store held for 'rehearsal-c' — Caddy orders fresh this drive (#532/#724)
rented certs: harvested the gateway's Caddy store for 'rehearsal-c' while the box was still alive — before the journey's release leg destroys it. The next same-slug rented drive seeds this store and orders zero new certificates (#724, GOTCHAS #32)
rented-cert-harvest: done

Zero-obtain (#559 / GOTCHAS #32)

  • journal lines: 2
  • new-order lines: 0
  • 'certificate obtained successfully' lines: 0
  • ZERO new LE orders: INCONCLUSIVE — this journal carries no TLS activity at all, so its zero order lines prove nothing; confirm against Certificate Transparency instead (LE backdates notBefore ~1h from issuance)

Held store test-results/cert-store/rehearsal-c

  • store: PRESENT at /home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c
  • mode: 700 (0700 expected)
  • certificates: 2 *.crt
  • acme account: PRESENT (acme/.../users/default/)
  • identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
_Posted by the `rented-cert-evidence` workflow (#743) — read-only, dispatched on `elitebook-distributed-server-03`._ ## Rented cert evidence — `rehearsal-c` on `elitebook-distributed-server-03` Read-only, by `scripts/rented-cert-evidence.sh` (#743). Checkout: `/home/swarm/swarm/Matou/idss`. ### Checkout - HEAD: `0ae4f976dc89` on branch `main` - tree: CLEAN (rehearsal-cycle.sh syncs `origin/main` before a drive) - carries 4ad3e4bc: YES — the drive below ran the fix ### Drive - drive in flight: YES — target `rented` on `elitebook-distributed-server-03`; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap) - run: 20260824T132520Z (named) - all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z ### `logs/cert-rented.txt` - harvest: done - seed: none held — this drive orders fresh and HARVESTS (the drive-1 shape) ``` rented certs: no seedable store held for 'rehearsal-c' — Caddy orders fresh this drive (#532/#724) rented certs: harvested the gateway's Caddy store for 'rehearsal-c' while the box was still alive — before the journey's release leg destroys it. The next same-slug rented drive seeds this store and orders zero new certificates (#724, GOTCHAS #32) rented-cert-harvest: done ``` ### Zero-obtain (#559 / GOTCHAS #32) - journal lines: 2 - new-order lines: 0 - 'certificate obtained successfully' lines: 0 - ZERO new LE orders: INCONCLUSIVE — this journal carries no TLS activity at all, so its zero order lines prove nothing; confirm against Certificate Transparency instead (LE backdates notBefore ~1h from issuance) ### Held store `test-results/cert-store/rehearsal-c` - store: PRESENT at `/home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c` - mode: 700 (0700 expected) - certificates: 2 `*.crt` - acme account: PRESENT (`acme/.../users/default/`) - identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
Author
Member

Ruled by agent under ADR 0174 — veto anytime.

Third attempt, from matou-dev-server-01 — a DigitalOcean droplet whose netbird mesh
holds only its sibling dev servers, so like the two attempts before it this session had
no route to elitebook-03. Rather than concede a third time, it built the missing door
and then used it. Drive 1 is confirmed.

The door (the reason this ticket was unworkable, and no longer is)

ready-for-session records that a host's standing is needed; it cannot record which
host. The evidence lives on elitebook-03, which runs Forgejo Actions but no
session-runner
(docs/agents/worker-classes.json: session-runner hosts =
[matou-workstation]), so #743 was unclaimable by the one host that could do it and
claimable by every host that could not. That is #596's lesson a second time: evidence
REFERENCED by a host path is evidence a tracker-only reader can never see.

Shipped (three commits, all revertible, all offline-proven red-before-green):

  • scripts/rented-cert-evidence.sh — reads one rented drive's cert evidence out of a
    driving checkout and prints markdown: whether the checkout carries 4ad3e4bc and
    whether its tree was clean enough for rehearsal-cycle.sh:159 to have synced it; what
    logs/cert-rented.txt concluded; how many creating new order lines the box's own
    journal holds; whether the held store is COMPLETE (an ACME account under
    acme/.../users/default/, without which certmagic still orders). Verdict prose and
    counts only — no certificate material, no key, no whole journal.
  • .forgejo/workflows/rented-cert-evidence.yml — dispatch-only, runs-on: elitebook-03, read-only on the host: it fetches the reader from the API rather than
    cloning, so it never touches the drive queue's shared checkout or takes its workdir
    lock (#638) and is safe to fire mid-drive. It posts the report to the ticket.
  • scripts/tests/rented-cert-evidence-test.sh — 46 checks.

Two-way door: runs-on is pinned to a host that already runs arbitrary repo code
(swarm.yml), the job only reads, and deleting one file reverts the whole thing. Fired
four times against elitebook-03 while a drive was live; nothing disturbed, the drive
greened.

Drive 1 — CONFIRMED (20260824T132520Z, GREEN 13:39:37Z, #720 1/3)

Read live off elitebook-03 (comment above, 13:51:16Z). Every check this ticket asks for:

#743 asks Read from elitebook-03
logs/cert-rented.txt ends rented-cert-harvest: done ✅ done — "harvested the gateway's Caddy store for 'rehearsal-c' while the box was still alive — before the journey's release leg destroys it"
seedable=0, worker only READS ✅ "no seedable store held for 'rehearsal-c' — Caddy orders fresh this drive"
test-results/cert-store/rehearsal-c/ exists, 0700 ✅ present, mode 700
holds certificates/…/*.crt ✅ 2 — rehearsal-c.idss.nz + wildcard_.rehearsal-c.idss.nz
and acme/…/users/default/ ✅ PRESENT — the store can seed, not just decorate
the checkout carries 4ad3e4bc ✅ HEAD 0ae4f976, branch main, tree CLEAN

This is the thing that had never happened before #724 (Ben, #724: "the green box was
released with its certs"
). The box that greened at 13:39Z was released, and its
certificates are on disk.

Its LE cost is visible in Certificate Transparency: Cert Spotter has
rehearsal-c.idss.nz + *.rehearsal-c.idss.nz, LE notBefore 2026-08-24T12:39:21Z — LE
backdates notBefore ~1h, so issued ~13:39Z, the minute the drive greened. Two of the
slug's five.
(A snapshot taken at 13:33Z, before drive 1 ordered, showed zero
rehearsal-c issuances in 36 idss.nz records back to 2026-07-20 — so the
20260824T013326Z red at enroll-activate did order nothing, as this ticket suspected.
crt.sh returned 502 all day; Cert Spotter is the working substitute.)

The finding that changes how drive 2 must be judged — filed as #747

This ticket's headline check is grep -c 'creating new order' logs/droplet-caddy.txt == 0.
On a green rented drive that file is 2 lines long, and both are the harvest's own failure
note.
scripts/lib/rehearsal-droplet.sh:409 harvests Caddy's journal over ssh at
evidence-gather time, inside droplet cleanup — and on the rented path the journey's
release leg has already destroyed the box (ADR 0189), so the ssh fails and the
|| echo "note: droplet caddy harvest failed" fallback is the whole file.

That means oc_droplet_assert_zero_obtain prints

cert seed VERIFY (#559): ZERO new-order lines in the caddy journal — the seed took

on every green rented drive, seeded or not. It is a guard that cannot fail. Drive 1
proves it empirically: it ordered two real certificates (CT has them) and its journal
reports zero of everything.

This is #724's own root cause one level up — #724 fixed the cert STORE being released with
the box and left the EVIDENCE being released with it. Filed as #747 with the fix shape:
the rented worker already runs journalctl -u caddy | grep -c "creating new order" over
ssh while the box is alive (Phase C's probe_cmd) and throws the number away unless it
takes the skip branch — it should keep it, and the assertion should refuse to claim a
negative from a journal with no TLS activity in it.

The reader shipped here already applies that rule: it reports journal lines: and says
ZERO new LE orders: INCONCLUSIVE rather than YES when the journal could not have carried
the positive (67754bcd, red-before-green). Its first live run made exactly the false-green
mistake this ticket exists to prevent, which is how the defect was found.

So drive 2's zero-order claim cannot be read off droplet-caddy.txt. The two readings
that do carry it:

  1. logs/cert-rented.txt saying rented-cert-harvest: skipped — the worker only takes that
    branch after asking the live box for its order count and getting 0 (that grep runs
    over ssh, against a real journal, before release). skipped is therefore a genuine
    zero-order witness; done on a seeded drive is the opposite.
  2. Certificate Transparency: drive 2 adding no new rehearsal-c issuance beyond drive
    1's pair. Baseline recorded above; mind LE's ~1h notBefore backdating and CT indexing
    delay, so compare against the pre-drive baseline rather than a snapshot straight after.

Where this stands

  • Drive 1 — CONFIRMED. Harvest done while the box lived; a complete, seedable store is held for rehearsal-c.
  • Drive 2 — 20260824T134042Z, in flight since 13:40:42Z (the reader reports it as in-flight; drive 1 took 14 min). It is the seed's first live exercise and the half this ticket exists for. Its verdict follows in this thread.
  • Ticket stays open and ready-for-session — it is now genuinely takeable by any host, which it was not before today.
  • Follow-ups filed, not fixed here: #746 (session-runner has no host affinity — the reason this ticket burned two attempts) and #747 (the vacuous zero-obtain guard above).

Commits: 18bda3e9 (the door), 1facb7ff (in-flight reporting), 67754bcd (the false-green fix). STATUS.md updated with each.

**Ruled by agent under ADR 0174 — veto anytime.** Third attempt, from `matou-dev-server-01` — a DigitalOcean droplet whose netbird mesh holds only its sibling dev servers, so like the two attempts before it this session had **no route to elitebook-03**. Rather than concede a third time, it built the missing door and then used it. **Drive 1 is confirmed.** ## The door (the reason this ticket was unworkable, and no longer is) `ready-for-session` records *that* a host's standing is needed; it cannot record *which* host. The evidence lives on elitebook-03, which runs Forgejo Actions but **no session-runner** (`docs/agents/worker-classes.json`: session-runner `hosts` = `[matou-workstation]`), so #743 was unclaimable by the one host that could do it and claimable by every host that could not. That is **#596's lesson a second time**: evidence REFERENCED by a host path is evidence a tracker-only reader can never see. Shipped (three commits, all revertible, all offline-proven red-before-green): - **`scripts/rented-cert-evidence.sh`** — reads one rented drive's cert evidence out of a driving checkout and prints markdown: whether the checkout carries `4ad3e4bc` and whether its tree was clean enough for `rehearsal-cycle.sh:159` to have synced it; what `logs/cert-rented.txt` concluded; how many `creating new order` lines the box's own journal holds; whether the held store is COMPLETE (an ACME account under `acme/.../users/default/`, without which certmagic still orders). Verdict prose and counts only — no certificate material, no key, no whole journal. - **`.forgejo/workflows/rented-cert-evidence.yml`** — dispatch-only, `runs-on: elitebook-03`, read-only on the host: it fetches the reader from the API rather than cloning, so it never touches the drive queue's shared checkout or takes its workdir lock (#638) and is safe to fire mid-drive. It posts the report **to the ticket**. - **`scripts/tests/rented-cert-evidence-test.sh`** — 46 checks. Two-way door: `runs-on` is pinned to a host that already runs arbitrary repo code (`swarm.yml`), the job only reads, and deleting one file reverts the whole thing. Fired four times against elitebook-03 while a drive was live; nothing disturbed, the drive greened. ## Drive 1 — CONFIRMED (`20260824T132520Z`, GREEN 13:39:37Z, #720 1/3) Read live off elitebook-03 (comment above, 13:51:16Z). Every check this ticket asks for: | #743 asks | Read from elitebook-03 | | --- | --- | | `logs/cert-rented.txt` ends `rented-cert-harvest: done` | ✅ `done` — *"harvested the gateway's Caddy store for 'rehearsal-c' **while the box was still alive** — before the journey's release leg destroys it"* | | `seedable=0`, worker only READS | ✅ *"no seedable store held for 'rehearsal-c' — Caddy orders fresh this drive"* | | `test-results/cert-store/rehearsal-c/` exists, `0700` | ✅ present, mode `700` | | holds `certificates/…/*.crt` | ✅ 2 — `rehearsal-c.idss.nz` + `wildcard_.rehearsal-c.idss.nz` | | **and** `acme/…/users/default/` | ✅ PRESENT — the store can seed, not just decorate | | the checkout carries `4ad3e4bc` | ✅ HEAD `0ae4f976`, branch `main`, tree CLEAN | **This is the thing that had never happened before #724** (Ben, #724: *"the green box was released with its certs"*). The box that greened at 13:39Z was released, and its certificates are on disk. Its LE cost is visible in Certificate Transparency: Cert Spotter has `rehearsal-c.idss.nz` + `*.rehearsal-c.idss.nz`, LE `notBefore 2026-08-24T12:39:21Z` — LE backdates `notBefore` ~1h, so issued ~13:39Z, the minute the drive greened. **Two of the slug's five.** (A snapshot taken at 13:33Z, before drive 1 ordered, showed zero `rehearsal-c` issuances in 36 `idss.nz` records back to 2026-07-20 — so the `20260824T013326Z` red at `enroll-activate` did order nothing, as this ticket suspected. crt.sh returned 502 all day; Cert Spotter is the working substitute.) ## The finding that changes how drive 2 must be judged — filed as #747 This ticket's headline check is `grep -c 'creating new order' logs/droplet-caddy.txt` == 0. **On a green rented drive that file is 2 lines long, and both are the harvest's own failure note.** `scripts/lib/rehearsal-droplet.sh:409` harvests Caddy's journal over ssh at evidence-gather time, inside droplet cleanup — and on the rented path the journey's `release` leg has already destroyed the box (ADR 0189), so the ssh fails and the `|| echo "note: droplet caddy harvest failed"` fallback is the whole file. That means `oc_droplet_assert_zero_obtain` prints > `cert seed VERIFY (#559): ZERO new-order lines in the caddy journal — the seed took` on **every** green rented drive, seeded or not. It is a guard that cannot fail. Drive 1 proves it empirically: it ordered two real certificates (CT has them) and its journal reports zero of everything. This is #724's own root cause one level up — #724 fixed the cert STORE being released with the box and left the EVIDENCE being released with it. Filed as **#747** with the fix shape: the rented worker already runs `journalctl -u caddy | grep -c "creating new order"` over ssh **while the box is alive** (Phase C's `probe_cmd`) and throws the number away unless it takes the skip branch — it should keep it, and the assertion should refuse to claim a negative from a journal with no TLS activity in it. The reader shipped here already applies that rule: it reports `journal lines:` and says `ZERO new LE orders: INCONCLUSIVE` rather than YES when the journal could not have carried the positive (`67754bcd`, red-before-green). Its first live run made exactly the false-green mistake this ticket exists to prevent, which is how the defect was found. **So drive 2's zero-order claim cannot be read off `droplet-caddy.txt`.** The two readings that do carry it: 1. `logs/cert-rented.txt` saying `rented-cert-harvest: skipped` — the worker only takes that branch after asking the **live box** for its order count and getting `0` (that grep runs over ssh, against a real journal, before release). `skipped` is therefore a genuine zero-order witness; `done` on a seeded drive is the opposite. 2. Certificate Transparency: drive 2 adding **no new `rehearsal-c` issuance** beyond drive 1's pair. Baseline recorded above; mind LE's ~1h `notBefore` backdating and CT indexing delay, so compare against the pre-drive baseline rather than a snapshot straight after. ## Where this stands - **Drive 1 — CONFIRMED.** Harvest done while the box lived; a complete, seedable store is held for `rehearsal-c`. - **Drive 2 — `20260824T134042Z`, in flight since 13:40:42Z** (the reader reports it as in-flight; drive 1 took 14 min). It is the seed's first live exercise and the half this ticket exists for. Its verdict follows in this thread. - Ticket stays **open** and `ready-for-session` — it is now genuinely takeable by any host, which it was not before today. - Follow-ups filed, not fixed here: **#746** (session-runner has no host affinity — the reason this ticket burned two attempts) and **#747** (the vacuous zero-obtain guard above). Commits: `18bda3e9` (the door), `1facb7ff` (in-flight reporting), `67754bcd` (the false-green fix). `STATUS.md` updated with each.
Author
Member

Posted by the rented-cert-evidence workflow (#743) — read-only, dispatched on elitebook-distributed-server-03.

Rented cert evidence — rehearsal-c on elitebook-distributed-server-03

Read-only, by scripts/rented-cert-evidence.sh (#743). Checkout: /home/swarm/swarm/Matou/idss.

Checkout

  • HEAD: 0ae4f976dc89 on branch main
  • tree: CLEAN (rehearsal-cycle.sh syncs origin/main before a drive)
  • carries 4ad3e4bc: YES — the drive below ran the fix

Drive

  • drive in flight: YES — target rented on elitebook-distributed-server-03; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap)
  • run: 20260824T134042Z (newest of 4)
  • all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z

logs/cert-rented.txt

  • cert-rented.txt: not yet filed — this drive is STILL RUNNING (the worker files its verdict at reap); read it again when the drive lands

Zero-obtain (#559 / GOTCHAS #32)

  • droplet-caddy.txt: ABSENT — the box's journal was never harvested, so zero-obtain is UNPROVEN

Held store test-results/cert-store/rehearsal-c

  • store: PRESENT at /home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c
  • mode: 700 (0700 expected)
  • certificates: 2 *.crt
  • acme account: PRESENT (acme/.../users/default/)
  • identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
_Posted by the `rented-cert-evidence` workflow (#743) — read-only, dispatched on `elitebook-distributed-server-03`._ ## Rented cert evidence — `rehearsal-c` on `elitebook-distributed-server-03` Read-only, by `scripts/rented-cert-evidence.sh` (#743). Checkout: `/home/swarm/swarm/Matou/idss`. ### Checkout - HEAD: `0ae4f976dc89` on branch `main` - tree: CLEAN (rehearsal-cycle.sh syncs `origin/main` before a drive) - carries 4ad3e4bc: YES — the drive below ran the fix ### Drive - drive in flight: YES — target `rented` on `elitebook-distributed-server-03`; the newest run dir below may be MID-DRIVE (a verdict is only filed at reap) - run: 20260824T134042Z (newest of 4) - all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z ### `logs/cert-rented.txt` - cert-rented.txt: not yet filed — this drive is STILL RUNNING (the worker files its verdict at reap); read it again when the drive lands ### Zero-obtain (#559 / GOTCHAS #32) - droplet-caddy.txt: ABSENT — the box's journal was never harvested, so zero-obtain is UNPROVEN ### Held store `test-results/cert-store/rehearsal-c` - store: PRESENT at `/home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c` - mode: 700 (0700 expected) - certificates: 2 `*.crt` - acme account: PRESENT (`acme/.../users/default/`) - identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
Author
Member

Posted by the rented-cert-evidence workflow (#743) — read-only, dispatched on elitebook-distributed-server-03.

Rented cert evidence — rehearsal-c on elitebook-distributed-server-03

Read-only, by scripts/rented-cert-evidence.sh (#743). Checkout: /home/swarm/swarm/Matou/idss.

Checkout

  • HEAD: 0ae4f976dc89 on branch main
  • tree: CLEAN (rehearsal-cycle.sh syncs origin/main before a drive)
  • carries 4ad3e4bc: YES — the drive below ran the fix

Drive

  • drive in flight: no — every run dir below is finished
  • run: 20260824T134042Z (named)
  • all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z

logs/cert-rented.txt

  • harvest: skipped
  • seed: seeded — staged before the deploy leg started Caddy
rented certs: seeded — the held store is staged into /var/lib/caddy/.local/share/caddy and owned by uid 239, before the deploy leg starts Caddy; the gateway should see a valid cert + ACME account and order ZERO new certificates (#724, GOTCHAS #32)
rented certs: harvest skipped — the seed took (zero 'creating new order' lines on the box), so the held store for 'rehearsal-c' already IS this gateway's store
rented-cert-harvest: skipped

Zero-obtain (#559 / GOTCHAS #32)

  • journal lines: 2
  • new-order lines: 0
  • 'certificate obtained successfully' lines: 0
  • ZERO new LE orders: INCONCLUSIVE — this journal carries no TLS activity at all, so its zero order lines prove nothing; confirm against Certificate Transparency instead (LE backdates notBefore ~1h from issuance)

Held store test-results/cert-store/rehearsal-c

  • store: PRESENT at /home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c
  • mode: 700 (0700 expected)
  • certificates: 2 *.crt
  • acme account: PRESENT (acme/.../users/default/)
  • identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
_Posted by the `rented-cert-evidence` workflow (#743) — read-only, dispatched on `elitebook-distributed-server-03`._ ## Rented cert evidence — `rehearsal-c` on `elitebook-distributed-server-03` Read-only, by `scripts/rented-cert-evidence.sh` (#743). Checkout: `/home/swarm/swarm/Matou/idss`. ### Checkout - HEAD: `0ae4f976dc89` on branch `main` - tree: CLEAN (rehearsal-cycle.sh syncs `origin/main` before a drive) - carries 4ad3e4bc: YES — the drive below ran the fix ### Drive - drive in flight: no — every run dir below is finished - run: 20260824T134042Z (named) - all stamps: 20260824T003513Z 20260824T013326Z 20260824T132520Z 20260824T134042Z ### `logs/cert-rented.txt` - harvest: skipped - seed: seeded — staged before the deploy leg started Caddy ``` rented certs: seeded — the held store is staged into /var/lib/caddy/.local/share/caddy and owned by uid 239, before the deploy leg starts Caddy; the gateway should see a valid cert + ACME account and order ZERO new certificates (#724, GOTCHAS #32) rented certs: harvest skipped — the seed took (zero 'creating new order' lines on the box), so the held store for 'rehearsal-c' already IS this gateway's store rented-cert-harvest: skipped ``` ### Zero-obtain (#559 / GOTCHAS #32) - journal lines: 2 - new-order lines: 0 - 'certificate obtained successfully' lines: 0 - ZERO new LE orders: INCONCLUSIVE — this journal carries no TLS activity at all, so its zero order lines prove nothing; confirm against Certificate Transparency instead (LE backdates notBefore ~1h from issuance) ### Held store `test-results/cert-store/rehearsal-c` - store: PRESENT at `/home/swarm/swarm/Matou/idss/test-results/cert-store/rehearsal-c` - mode: 700 (0700 expected) - certificates: 2 `*.crt` - acme account: PRESENT (`acme/.../users/default/`) - identifiers: rehearsal-c.idss.nz wildcard_.rehearsal-c.idss.nz
Author
Member

Ruled by agent under ADR 0174 — veto anytime. Close-report.

#724 is live-proven on both halves. Closing. A rented gateway founded a real community over a browser-trusted Let's Encrypt certificate having contacted Let's Encrypt zero times.

Drive 2 — 20260824T134042Z, GREEN end to end 14:42:05Z (#720 2/3)

Read off elitebook-03 by the rented-cert-evidence door (comment above, 14:43:24Z), against a checkout at 0ae4f976 on main, CLEAN, carrying 4ad3e4bc.

rented certs: seeded — the held store is staged into /var/lib/caddy/.local/share/caddy
  and owned by uid 239, before the deploy leg starts Caddy
rented certs: harvest skipped — the seed took (zero 'creating new order' lines on the box),
  so the held store for 'rehearsal-c' already IS this gateway's store
rented-cert-harvest: skipped
#743 asks of drive 2 Result
logs/cert-rented.txt says seeded, staged into /var/lib/caddy/.local/share/caddy, wholly owned by uid 239, before the deploy leg started Caddy ✅ verbatim above
ZERO new LE orders ✅ — twice, independently (see below)
then rented-cert-harvest: skipped ✅ skipped
the drive's own cert seed VERIFY (#559): ZERO new-order lines line ⚠️ superseded — that check is vacuous, #747

The zero, and why it is not read where this ticket said to read it

This ticket's headline check was grep -c 'creating new order' logs/droplet-caddy.txt == 0. On a green rented drive that file is two lines long and both are the harvest's own failure note — scripts/lib/rehearsal-droplet.sh:409 gathers the box's caddy journal at cleanup, by which time the journey's release leg has destroyed the box (ADR 0189). So oc_droplet_assert_zero_obtain prints its "ZERO new-order lines — the seed took" line on every green rented drive, seeded or not: a guard that cannot fail. Filed yesterday as #747; drive 1 is the empirical proof (it ordered two real certificates and its journal reported zero of everything). The reader used here refuses that false green and says INCONCLUSIVE instead — which is exactly what it said about drive 2's journal (2 lines, no TLS activity).

The two readings that do carry the zero, both taken:

  1. The live box's own journal. rented-cert-harvest: skipped is a branch the worker reaches only after running journalctl -u caddy | grep -c "creating new order" over ssh against the running box, before release, and getting 0. First-party, non-vacuous, on a machine that still existed.
  2. Certificate Transparency. At 15:01Z, twenty minutes after drive 2's box was destroyed and roughly forty after its Caddy came up, Cert Spotter's 38 idss.nz records still hold exactly two rehearsal-c issuances — drive 1's apex + wildcard pair at notBefore 2026-08-24T12:39:21Z — and nothing else. Drive 2 added none.

The slug's Let's Encrypt budget: 2 of 5 spent after drive 1, still 2 of 5 after drive 2. That is the whole point of #724 stated as a number.

The three risks, none of which fired

  • seed MISSED its window — did not occur; the worker reached the box before caddy.service was active. OC_RENTED_CERT_POLL untouched.
  • seed FAILED — the staged tree … is not wholly owned by uid 239 — did not occur; internal/certpersist needed no change.
  • The live-only third risk — the seed creates /var/lib/caddy on the box before the VMMode clan update runs. Inert, as predicted. Drive 2's deploy leg was green and the drive greened end to end, so systemd's StateDirectory and useradd both took the pre-existing directory in their stride. OC_RENTED_CERT_PERSIST=0 was never needed and #724 stays open-for-nothing.

The store, after both drives

test-results/cert-store/rehearsal-c/ on elitebook-03: mode 700, 2 *.crt (rehearsal-c.idss.nz + wildcard_.rehearsal-c.idss.nz), ACME account PRESENT at acme/.../users/default/. Untouched by drive 2 — it seeded from this store and skipped the harvest, because the store already is that gateway's store.

Also landed this session

2e2c711a — the evidence door can now be polled in silence. Drive 2 ran 61 minutes against drive 1's 14, and the only way to catch it landing was to keep asking elitebook-03 — which, until now, the door could only answer by posting to this ticket. The reader gained --quiet-if-unlanded (exit 75, EX_TEMPFAIL, only when the run it read is the one an in-flight drive is writing and no verdict is filed; every other silence still exits 0 and is still posted) and the workflow gained quiet_if_unlanded. An in-flight report now also carries the drive's age, read from #574's status record — "still running" at minute 40 is a different fact from "still running" at minute 3, and telling them apart used to mean hand-diffing two stamps in two comments. Red before green, 56 checks (was 46). 04717cf6 — STATUS.md.

Drive 2's 61 minutes are noted, not filed: the drive was green end to end and the extra wall clock most plausibly belongs to #661's pre-drive gateway-image rebuild, which is by design.

Two-way throughout

Two commits and one read-only tracker comment on another ticket. No credential, no posture change, no member-facing accept, no destruction, no spend beyond the drive queue's own already-authorised rental — which the queue rented and released itself. The DigitalOcean calls made here were GET /v2/droplets and GET /v2/tags.

Follow-ups (filed, not fixed here)

  • #746 — the session-runner has no host affinity, which is why this ticket burned two attempts on hosts with no route to its evidence.
  • #747 — the vacuous zero-obtain guard above. Now confirmed twice: once by drive 1's false green, once by drive 2's INCONCLUSIVE.
  • #745 — commented with live evidence: the rental this very drive minted at 13:41:38Z carried ["idss-gateway", "idss-rental"] and no idss-rental-expires-*, and that tag family does not exist in the DigitalOcean account at all. #741's sweep is merged and blind until the broker deploys.

#720's confirmation loop stands at 2/3; the third drive will seed from this same store and should also order nothing, which is now the boring outcome rather than the thing being proven.

**Ruled by agent under ADR 0174 — veto anytime.** Close-report. **#724 is live-proven on both halves. Closing.** A rented gateway founded a real community over a browser-trusted Let's Encrypt certificate having contacted Let's Encrypt **zero times**. ## Drive 2 — `20260824T134042Z`, GREEN end to end 14:42:05Z (#720 2/3) Read off elitebook-03 by the `rented-cert-evidence` door (comment above, 14:43:24Z), against a checkout at `0ae4f976` on `main`, CLEAN, carrying `4ad3e4bc`. ``` rented certs: seeded — the held store is staged into /var/lib/caddy/.local/share/caddy and owned by uid 239, before the deploy leg starts Caddy rented certs: harvest skipped — the seed took (zero 'creating new order' lines on the box), so the held store for 'rehearsal-c' already IS this gateway's store rented-cert-harvest: skipped ``` | #743 asks of drive 2 | Result | | --- | --- | | `logs/cert-rented.txt` says `seeded`, staged into `/var/lib/caddy/.local/share/caddy`, wholly owned by uid 239, before the `deploy` leg started Caddy | ✅ verbatim above | | ZERO new LE orders | ✅ — **twice, independently** (see below) | | then `rented-cert-harvest: skipped` | ✅ `skipped` | | the drive's own `cert seed VERIFY (#559): ZERO new-order lines` line | ⚠️ **superseded — that check is vacuous, #747** | ## The zero, and why it is not read where this ticket said to read it This ticket's headline check was `grep -c 'creating new order' logs/droplet-caddy.txt == 0`. **On a green rented drive that file is two lines long and both are the harvest's own failure note** — `scripts/lib/rehearsal-droplet.sh:409` gathers the box's caddy journal at cleanup, by which time the journey's `release` leg has destroyed the box (ADR 0189). So `oc_droplet_assert_zero_obtain` prints its "ZERO new-order lines — the seed took" line on *every* green rented drive, seeded or not: a guard that cannot fail. Filed yesterday as **#747**; drive 1 is the empirical proof (it ordered two real certificates and its journal reported zero of everything). The reader used here refuses that false green and says `INCONCLUSIVE` instead — which is exactly what it said about drive 2's journal (2 lines, no TLS activity). The two readings that **do** carry the zero, both taken: 1. **The live box's own journal.** `rented-cert-harvest: skipped` is a branch the worker reaches *only* after running `journalctl -u caddy | grep -c "creating new order"` over ssh against the running box, before `release`, and getting `0`. First-party, non-vacuous, on a machine that still existed. 2. **Certificate Transparency.** At **15:01Z**, twenty minutes after drive 2's box was destroyed and roughly forty after its Caddy came up, Cert Spotter's 38 `idss.nz` records still hold **exactly two** `rehearsal-c` issuances — drive 1's apex + wildcard pair at `notBefore 2026-08-24T12:39:21Z` — and nothing else. Drive 2 added none. **The slug's Let's Encrypt budget: 2 of 5 spent after drive 1, still 2 of 5 after drive 2.** That is the whole point of #724 stated as a number. ## The three risks, none of which fired - `seed MISSED its window` — did not occur; the worker reached the box before `caddy.service` was active. `OC_RENTED_CERT_POLL` untouched. - `seed FAILED — the staged tree … is not wholly owned by uid 239` — did not occur; `internal/certpersist` needed no change. - **The live-only third risk** — the seed creates `/var/lib/caddy` on the box *before* the VMMode `clan update` runs. **Inert, as predicted.** Drive 2's `deploy` leg was green and the drive greened end to end, so systemd's `StateDirectory` and `useradd` both took the pre-existing directory in their stride. `OC_RENTED_CERT_PERSIST=0` was never needed and #724 stays open-for-nothing. ## The store, after both drives `test-results/cert-store/rehearsal-c/` on elitebook-03: mode `700`, 2 `*.crt` (`rehearsal-c.idss.nz` + `wildcard_.rehearsal-c.idss.nz`), ACME account **PRESENT** at `acme/.../users/default/`. Untouched by drive 2 — it seeded *from* this store and skipped the harvest, because the store already is that gateway's store. ## Also landed this session `2e2c711a` — the evidence door can now be **polled in silence**. Drive 2 ran 61 minutes against drive 1's 14, and the only way to catch it landing was to keep asking elitebook-03 — which, until now, the door could only answer by posting to this ticket. The reader gained `--quiet-if-unlanded` (exit 75, EX_TEMPFAIL, only when the run it read is the one an in-flight drive is writing and no verdict is filed; every other silence still exits 0 and is still posted) and the workflow gained `quiet_if_unlanded`. An in-flight report now also carries the drive's **age**, read from #574's status record — "still running" at minute 40 is a different fact from "still running" at minute 3, and telling them apart used to mean hand-diffing two stamps in two comments. Red before green, 56 checks (was 46). `04717cf6` — `STATUS.md`. Drive 2's 61 minutes are noted, not filed: the drive was green end to end and the extra wall clock most plausibly belongs to #661's pre-drive gateway-image rebuild, which is by design. ## Two-way throughout Two commits and one read-only tracker comment on another ticket. No credential, no posture change, no member-facing accept, no destruction, no spend beyond the drive queue's own already-authorised rental — which the queue rented and released itself. The DigitalOcean calls made here were `GET /v2/droplets` and `GET /v2/tags`. ## Follow-ups (filed, not fixed here) - **#746** — the session-runner has no host affinity, which is why this ticket burned two attempts on hosts with no route to its evidence. - **#747** — the vacuous zero-obtain guard above. Now confirmed twice: once by drive 1's false green, once by drive 2's INCONCLUSIVE. - **#745** — commented with live evidence: the rental this very drive minted at 13:41:38Z carried `["idss-gateway", "idss-rental"]` and **no** `idss-rental-expires-*`, and that tag family does not exist in the DigitalOcean account at all. #741's sweep is merged and blind until the broker deploys. #720's confirmation loop stands at 2/3; the third drive will seed from this same store and should also order nothing, which is now the boring outcome rather than the thing being proven.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#743
No description provided.