deckhearth/.convoys/tighten-scan-identify-hot-path/brief-4-skip-l1-refine.md
varutasu 0b4f419f49
Scanner identify upgrade — Phase 1 hot path (#156)
* docs(convoy): seed scanner identify upgrade epic and sub-convoys

Baseline scan_attempts telemetry and three-phase plan for faster, more
accurate card identification without touching scanner chrome.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat(scanner): tighten Layer-1 identify hot path (Phase 1)

Cut verify hold-still gates, OCR collector numbers on Layer 1, request
structured Gemini JSON, and skip automatic L2 refine when L1 opens the
printing picker. Includes convoy UX/architecture briefs and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 20:21:20 -05:00

22 lines
511 B
Markdown

---
convoy: tighten-scan-identify-hot-path
brief_number: 4
depends_on: [2]
recommended_model: composer-2.5-fast
model_tier: fast
files:
- lib/use-scanner-identification.js
- docs/SCHEMA_MAP.md
---
# Brief 4: Skip L1 disambiguation refine
## Goal
Do not auto-call Gemini when L1 already opened the printing picker.
## Acceptance criteria
- [ ] `fromLayer1` on disambiguation state when `result.layer === 1`
- [ ] useEffect refine skipped when `fromLayer1`
- [ ] SCHEMA_MAP documents layer 1 = Tesseract