needs-design: drive verification latency — debug↔prove-it adoption vs VM snapshot re-entry (decide after phase 7) #1154
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.
Depends on
Reference
Matou/idss#1154
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?
needs-design: verification latency — debug↔prove-it adoption vs VM snapshot re-entry
Blocked by the phase-7 drive ticket by Ben's instruction (2026-09-02): pick this up after phase 7 completes, answered from its own drive data.
The question
Healer-first (#1144) solved fix latency; nothing yet solves verification latency — the cost of re-driving a full journey to learn whether a fix held. Phase-5 evidence: 62 drives at a 52-min mean; the tail's five final drives each re-drove 12 green legs to test one changed leg (80–130 min per iteration at the deepest reds).
Two candidate mechanisms, different worlds:
A. Extend ADR 0221's debug↔prove-it loop to the device lane. Debug iterations run against the adopted world where the bug reproduces (amended ruling 2: a tail-red prove-it adopts its world, green or red); debug greens never count; a prove-it banks each rung. Proven live on IDIP — with earned scars: first arm deadlocked the lane 13 ticks; a debug window of false greens forced the zero-leg floor + portal probe; #1091 is still needs-design. Hard problem for THIS lane: device legs consume their world (takeover, removal, reap are one-shot) — honest debug re-entry needs per-leg world-state preconditions or checkpointing, a design tier of its own.
B. VM snapshot re-entry (phase-7-native). If VM-mode guests snapshot cheaply, restore the leg-N snapshot and re-run leg N+1 — the debug loop's whole benefit (iterate in the world where the bug reproduces, full prove-it still the only green that counts) with no alternation machinery. Unknown until phase 7 runs: snapshot cost/fidelity, whether the mesh + IdP state survives restore honestly (a restored guest's wt0 peer and KERI/OIDC sessions must not be false-alive).
What phase 7 should measure to decide
Decision to make
Adopt A, adopt B, both (B for the guest, A for gateway-side state), or neither (if healer-first alone tames the tail). Evidence base: phase-5 retrospective (
docs/research/2026-09-02-phase-5-drive-retrospective.md), ADR 0221 + amendment, #1089/#1090 arc, #1091.Ruled by session under ADR 0174 — veto anytime.
Ruling: adopt neither mechanism. Phase 7 answered the question by dissolving it for this lane.
Ben's instruction was to answer this after phase 7, from its own drive data. Phase 7 is complete (#1153 closed, run
20260904T184215Z). The data:What phase 7 measured
Poll(anchor.ID); teardown keys offClosure). A restored leg-N guest carries a mesh admission and a resume anchor the ledger may have moved past — the false-alive hazard the ticket itself flagged, now structural rather than hypothetical.Why "neither" and not A or B
What actually tamed verification latency was making the full drive cheap — VM-mode world creation, gateway-side builds (#1215), the content-keyed vm-guest slot, the eval gate parking reds pre-spend, healer-first for fix latency. Option A (device-lane debug↔prove-it) still needs the per-leg world-precondition design tier the ticket describes (#1091 remains needs-design, untouched by this ruling) for one-shot legs; option B needs a snapshot-honesty design against ledger-coupled state that #1219 tightened. Both are real costs against a bounded ≤15-min prize.
Why this is a two-way door
Adopting nothing is the maximally revertible choice: reopening this ticket restores the entire question, no code or process changes to unwind. The reopen condition is concrete and observable: a lane whose full drive exceeds ~40 min or whose world cannot be cheaply rebuilt — the rented-DO lane (phase-5 class) is the known candidate. If such a lane's tail shows verification latency dominating again, reopen with that lane's numbers; B-for-guest / A-for-gateway remains the shape to evaluate first, per this ticket's own analysis.
Closing as decided. Evidence: STATUS.md milestone entry 2026-09-04,
docs/research/2026-09-02-phase-5-drive-retrospective.md, ADR 0221 + amendment.