Skip to content

Gate 0 E2E run log — 2026-07-09

Gate 0.5 A1 — scripted + human pass complete.

Field Value
Date (UTC) 2026-07-09T21:26:46Z – 21:36:50Z (scripted) · 2026-07-11 (human, see B6)
Operator Cursor agent (scripted) + Ryan Curry (human, TestFlight)
Environment Production Railway API · VA sandbox data
API base https://api.last.vet/api
Veteran va_patient_id 2000163
Recipient email (OTP) ryan@last1.enterprises (SendGrid; OTP also harness-logged via SECURE_LINK_E2E_LOG_OTP)

Steps

Step Result Notes
1. Find MH facility (San Diego) ✅ PASS node scripts/verify-facilities-sd.js — 11 facilities, 5/5 anchors
2. Generate ROI (10-5345) ✅ PASS seed-roi-demo.sh prefill form: 10-5345
3. Sign + Part 2 scope ✅ PASS Synthetic PDF sign; part2Consent=false (demo seed)
4. Create secure link ✅ PASS linkId: 05769ac2-fc84-46a4-9ccc-8ba90af0d701
5. Provider OTP verify ✅ PASS SendGrid email + harness log; Bearer-independent public verify
6. PDF download ✅ PASS HTTP 200, 322 bytes, %PDF header
7. Revoke link ✅ PASS DELETE /veteran/me/secure-links/{id} Bearer JWT
8. Post-revoke blocked ✅ PASS {"error":"revoked"}

Scripted harness output

scripts/e2e-roi-gate0-full.sh (production)

Facilities: ok=true, resolvedCount=11, missingAnchors=[]

Seed:
  internalVeteranId: 25c048e2-6ad4-48c6-88dc-9ab7fe3a7e0f
  grant: 6f879211-41ea-4715-bd59-0ccc110e0338
  loop:  3932e897-c5d9-4b04-bcaa-2876b1c045f0
  linkId: 05769ac2-fc84-46a4-9ccc-8ba90af0d701
  url: https://provider.last.vet/r/5lBCX26fsHpq8EATd4a3F1hlA51pW38-e77LHB4kHpQ

E2E:
  open → challengeId issued
  verify-otp → viewSessionToken [redacted]
  artifact → HTTP 200, valid PDF
  revoke → {"message":"Secure link revoked."}
  post-revoke open → {"error":"revoked"}

Human iOS walk notes

Completed on TestFlight physical device 2026-07-11 — see E2E_RUN_LOG_B6_TESTFLIGHT.md for step-by-step results (same veteran 2000163, prod API, full Facilities → ROI → secure link → OTP → PDF → revoke loop).

Sign-off

  • [x] Scripted pass on Bearer JWT harness (scripts/e2e-roi-gate0-full.sh)
  • [x] Human pass on TestFlight device (E2E_RUN_LOG_B6_TESTFLIGHT.md)
  • [x] Run log committed to repo