scanbooks M3: PipelineRunner · ORT EP · failedStage retry · temp device smoke

Builds on Scanbooks-M2-App-Skeleton.md. tenant_cd N/A for mobile slices — feature Done = Intent + merge + test evidence on ticket.

PipelineRunner + selected EP

  • Replaces M2 PipelineStub with PipelineRunner: order crop→geo→finger→ill→done, mid PNGs, PageMetrics.ortEp.
  • Selected EP: iOS CoreML_MLProgram_NeuralEngine+CPU_fallback; Android CPUExecutionProvider (NNAPI deferred).
  • Without bundled .onnx, PassthroughStageBackend keeps order/URI/PDF; Ort*StageBackend throws ort_*_not_linked when weights present but session not linked.
  • Binaries stay out of git — models/manifest.json only; IllTr export simplify + FingerSeg weights still pending for live ORT.

failed + failedStage resume

  • ARCHITECTURE §1.3: status==failed → resume from failedStage even without explicit startFrom (iOS existing · Android parity).
  • Process UI: FailedRetryPresentation — {단계} 실패 · {errorCode} + CTA 이 단계부터 재시도.
  • Unit: PipelineRunnerTest(s).retryFromFailedStage, FailedRetryPresentationTest(s). PR #17 merged for this slice.

Process UI + PageMetrics contract line

  • Stage list + per-stage ms + contract line workLongEdge · geoNet · EP(ortEp) via PageMetricsPresentation (iOS/Android parity).
  • Metrics reload from SessionStore on each PipelineStage update.
  • Out of scope this spoke: live OrtSession device smoke · M4 batch.

Temp device smoke (option 2)

  • Eric 2026-11-17: USB mid-range absent → sim/emu + fixture 3 pages → done+PDF as temporary M3 device AC; physical USB remains follow-up.
  • Intent must state drift: sim/emu temporary evidence (ROADMAP 「실기기(중급기)」와 의도적 불일치).
  • Evidence: iOS iPhone 17 Simulator DeviceSmokeTempEvidenceTests PASS; Android host JVM DeviceSmokeTempEvidenceTest PASS; AVD inventory OK (adb boot hang ≠ full install run).
  • PR #18 merge 3b929e04; PR #19 docs-only ROADMAP Android clarify fa293cb8.

M2→M3 gate notes

  • M2 checkbox lag can block M3 invent until roadmap sync closes M2 / markers exist.
  • Manual pass-gate / Approval KEEP on USB mid-range child until option 2 supersedes.