the rented cert store counts leaves, not identifiers, so a wildcard-only harvest seeds as complete and the apex is re-ordered into Let's Encrypt's wall every drive #988
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#988
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Drive
20260829T131523Z(device target, commit739861da) red atstandingandactivation, signature25304f657c24, after ~24 min and one rented droplet.Failure
artifacts/legs.json— 15 green, 2 red; both reds carry the same line:The classifier is doing its job here (that naming is
a55351d5's fix,internal/clan/errors.go:26FailRateLimit). The fault underneath it is real and unfixed.Evidence
The apex is walled; the wildcard is not.
logs/gateway-caddy.txt— five obtain attempts, 13:29:59 → 13:40:28, all on one identifier:No 429 for
*.rehearsal-d.idss.nz— that one obtained at 13:30:06. The wall stands until 2026-08-30 01:30:07 UTC, ~12h past this drive.Why the quota was burned. The DEVICE target never armed the cert-persistence worker until
baa3fe7a(HEAD~1). None of the three prior device drives has alogs/cert-rented.txtat all (20260829T105554Z,20260829T113721Z,20260829T114921Z); this drive is the first that does. Every prior same-slug device drive therefore ordered a fresh apex from cold, and GOTCHAS #32's 5-per-168h wall closed (docs/GOTCHAS.md:843-857).The harvested store cannot prevent the next order.
logs/cert-rented.txt:That last promise is false.
test-results/cert-store/rehearsal-d/(written 13:29:58–13:30:08) holds:certificates/…/wildcard_.rehearsal-d.idss.nz/*.{crt,key,json}— the wildcard only;certificates/…/rehearsal-d.idss.nz/— no apex leaf;locks/issue_cert_rehearsal-d.idss.nz.lock={"created":"2026-08-29T13:29:58Z","updated":"2026-08-29T13:30:08Z"}— a live-looking lock captured mid-obtain.For contrast,
test-results/cert-store/rehearsal-c/(from a drive that got both) holds apex and wildcard.And the partial store is judged seedable:
Suspected layer
The seed/harvest completeness contract. Both halves gate on any one certificate, never on the identifier set the gateway actually serves:
internal/certpersist/decide.go:92-98—if leaves == 0 → SkipAbsent, otherwiseSeed. One valid leaf makes the whole store seedable.scripts/lib/rehearsal-droplet.sh:175— the harvest swaps the held store in whenfind "$tmp" -name '*.crt' -print -quitis non-empty. One cert means "a store was captured".scripts/lib/rehearsal-droplet.sh:1067— the phase-C readiness probe is that same any-one-certfind … -print -quit, so the harvest fires the moment the first certificate lands, racing an apex obtain still in flight.scripts/lib/rehearsal-droplet.sh:1101— prints the zero-new-orders promise regardless.The gateway needs two identifier sets,
<slug>.idss.nzand*.<slug>.idss.nz(docs/GOTCHAS.md:853-855). A store holding one is seeded as if it held both, so the apex is ordered fresh every drive — which is exactly the asymmetry this run shows: wildcard fine, apex exhausted.Next drive, unchanged: the held store decides
seed, seeds the wildcard, Caddy orders the apex, 429 again until 2026-08-30 01:30:07 UTC. Identical red, identical signature, one more paid droplet.What plugging it needs
certpersist.Decide(and the phase-C readiness probe atrehearsal-droplet.sh:1067+ the harvest swap gate at:175) should take the required identifier set for the slug — apex + wildcard — and only call a store complete/seedable when every required leaf is present and fresh. A partial store must say so loudly and must not print the zero-orders promise at:1101.*.crt, and the harvest should droplocks/instead of capturing a live lock file.internal/founding/deploy.go:1230(caddyRateLimit) already parses the retry-after and:1219(leRetryAfterRE) extracts the instant. A drive should persist the last known retry-after per slug and refuse to rent — skip, not red — while the wall stands, instead of spending a droplet and 24 minutes rediscovering it. This is the cost control the last two reds at this signature both lacked.Decideflips the heldrehearsal-dstore to skip, so the next drive orders the wildcard fresh too and burns a second identifier set into the same wall. (1) must land with (3).Operator unblock for the queue
Either wait past 2026-08-30 01:30:07 UTC, or rotate the slug — GOTCHAS #32's own Rule (
docs/GOTCHAS.md:859-861):REHEARSAL_SLUGis env-tunable and arateLimited429 means rotate.rehearsal-c → rehearsal-dwas rotated this way on 2026-08-28 (test-results/slug-claims/,standing-rented.retired-rehearsal-c-20260828). A fresh apex has an unwalled identifier set.drive
20260829T131523Zred atstanding:the gateway deploy failed — The gateway deploy failed — Let's Encrypt is rate-limiting new certificates for this domain. [There is no old operating system to roll back to — this server was renteevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260829T131523Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=13864
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #988 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope