feat(scanner): server-side scan pipeline (convoy #2) #35
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#35
Loading…
Reference in a new issue
No description provided.
Delete branch "convoy/server-side-scan-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
POST /api/scan/identifywith auth +checkScanRateLimit, server-side Gemini Vision (lib/scan-gemini.js), and catalog matching vialib/card-catalog-match.js.card_submissions+scan_attemptstables (migration1748365200000_add-scan-tables.js) and admin review at/admin/card-submissions.lib/ai-ocr.js;CameraScannercalls the server API and shows a disambiguation picker whenneedsUserSelectionis returned.find-or-createto delegate to catalog matching — no user-writableINSERT INTO cards.forbidden-client-side-llm-keysto banai-ocrimports incomponents/(grandfather removed).Depends on #34 (merged).
Test plan
npm run test:run— 21/21 passnpm run migrate upon preview/staging (new tables)cards/api/config/geministill 404 and no LLM URLs in browser bundleMade with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.
Visual Diff
Screenshots and diffs uploaded as artifacts: view run
If intentional changes: update snapshots locally with
npx playwright test --project=visual --update-snapshotsand commit.Visual Diff
Screenshots and diffs uploaded as artifacts: view run
If intentional changes: update snapshots locally with
npx playwright test --project=visual --update-snapshotsand commit.