diff --git a/docs/superpowers/plans/2026-10-23-badge-scanner-v2.md b/docs/superpowers/plans/2026-10-23-badge-scanner-v2.md new file mode 100644 index 000000000..fd7387a28 --- /dev/null +++ b/docs/superpowers/plans/2026-10-23-badge-scanner-v2.md @@ -0,0 +1,154 @@ +# Badge Scanner v2 Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Fix the Vue badge scanner's camera + `null of 2` count, and extend it to show contestant identity (`LastName, F.`), claimed prize names, and per-event aggregate stats. + +**Architecture:** Two new/changed CAP function handlers on the existing `ScannerService` (`getContestant` extended, `getEventStats` added), consumed by the existing Vue island at `hugo-apps/src/scanner-vue/`. Camera fix is a one-line `nextTick` ordering change. CQL only; `@requires: 'MobileApp'` unchanged. + +**Tech Stack:** SAP CAP (Node.js, `@sap/cds` ≥10.1), CQL, Vue 3 (`