deckhearth/.convoys/tighten-scan-identify-hot-path/brief-1-faster-verify-gates.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
471 B
Markdown

---
convoy: tighten-scan-identify-hot-path
brief_number: 1
depends_on: []
recommended_model: composer-2.5-fast
model_tier: fast
files:
- lib/scanner-card-detection.js
- test/lib/scanner-card-detection.test.js
---
# Brief 1: Faster verify gates
## Goal
Cut hold-still wait from 3.5s to ~1.4s by lowering verify gate constants.
## Acceptance criteria
- [ ] `MIN_FIRST_SEEN_MS_FOR_VERIFY = 800`
- [ ] `MIN_STABLE_COUNT_FOR_VERIFY = 3`
- [ ] Tests updated and green