e2e preflight: bootstrap-staleness gate — park the drive when get.idss.nz's pin predates agent-affecting commits #600
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#600
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?
Problem
Drives burn full runs (and file red tickets) against a get.idss.nz pin that predates the very fix they're testing. Proven twice on 2026-08-19:
#597's socket-bind fix landed as95c428fat 21:01Z; drive20260819T210458Zran at 21:06Z against pin75dfba9(2026-08-15, four days stale) and went red on the already-fixed signature →#598filed, diagnosed, routedready-for-human— ~2h of loop latency and a human unblock for a ghost.75dfba9for the ADR 0181 install-script work. Two writers, no shared freshness rule (the pin policy is#601's ADR; this ticket is the cheap guard that works under any policy).What to build
Extend the drive preflight with a bootstrap-staleness gate, the exact pattern of the existing payload-staleness gate (phase 2 precedent, e2e preflight):
HEAD https://get.idss.nz/get?arch=x86_64and readsx-ourcloud-release(already the diagnostic of record —#598's diagnosis used it; reachable from the workstation, no new door needed).origin/mainand must not predate any commit the drive exists to verify. Minimum viable check:git merge-base --is-ancestor <served> origin/main(sanity — the pin is a real main commit) plus a freshness bound: fail ifgit rev-list --count <served>..origin/maintouchingagent/exceeds 0 (i.e. agent-affecting commits landed after the pin). Scope the path filter to what changes the served binary:agent/,go.mod,go.sum, and sharedinternal/packages the agent imports — start broad (agent/ go.mod go.sum internal/), tighten later.bootstrap-stale: served <sha> is N agent-commits behind origin/main) so the reporter files/updates ONE staleness ticket instead of a misleading leg-red ticket. Include the served sha, the newest agent-affecting sha, and the reseed recipe pointer (below)..sandcastle/tests/per the house preflight pattern: fake header vs fake git history, both directions (fresh passes, stale parks). Offline — no live probe in tests.Reseed recipe (for the parked ticket's body)
git archive origin/main | tar -x,CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o agent-x86_64 ./agent/cmd/agent, scp to the mail droplet/tmp,sudo installbothagent-x86_64(0755) andRELEASE(= built sha, 0644) into/opt/ourcloud-bootstrap/artifacts/. No service restart (dirSource reads per request). Verify:x-ourcloud-releaseheader. Note: artifacts dir is root-owned and the host is unreachable from the workstation — reseeds are Ben's laptop until#601lands.Acceptance
Evidence trail: #597, #598 (both closed 2026-08-19), reseed proof on #598's close comment.
swarm-claim host=elitebook-distributed-server-03 run=7844
(automated multi-host claim — lowest live claim id works this ticket)
From the duplicate #604, one addition worth folding in: when the preflight staleness gate reds, the reporter should treat that signature as an ops action (re-stage needed — runbook pointer), never filing/matching a code ticket for it.
close-report for #600 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
ebbbd2bf3eis not reachable from origin/main (not landed on main)envelope
close-report for #600 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope
consentred is already repaired at HEAD (3141ddd1) — what the same transcript still shows open is a nameless community at the WIPE prompt #910sshd.service; the Ubuntu 24.04 droplet hasssh.service#912sshdunit — Ubuntu 24.04 names itssh, enroll exits 1 #917