feat: select all cards matching a filter #65
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.53) × (1 − Review Confidence (0.39)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.53 · 516 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 70% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.374
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #65"
general
weight: 0.35
coderabbitai[bot]
Summary
Move now takes a filter instead of Card ids, and a banner in selection mode switches to it.
cardIdsandfilterare mutually exclusive (400 for both or neither).filter: {}means every entry the Collection's list shows.use-quantity-batch.ts:flush()now retires only the flushed Cards' failures (it cleared all). A filter Move is blocked by any failed quantity edit, and an ids Move is now also blocked by an unresolved failed edit on a selected Card.Evidence
After:
go test -race ./...passes against a pgvector Postgres container.scripts/verification/frontend.shpasses (753 tests).golangci-lint(snap permission error in my sandbox), and no real-browser (Playwright) check.Merge Danger
Door: two-way
Additive API: a new optional body field, a new read endpoint, and
cardIdsno longerrequiredin the schema. A bad merge reverts cleanly. A Move itself has no undo, as before.Blast Radius: Move
An existing client sending
cardIdsis unchanged. A filter Move loads every matching entry's Card row in one transaction, so a very large Collection costs more. The binder Slot clear takes the whole id list in oneIN, which is fine at binder sizes. Theflush()change also touches the quantity editor in Inventory and Collections, where a failed edit now stays flagged until its Card is edited again.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Select all cards matching the current filter, including results on pages that haven’t been loaded, and move them to another collection.
Review the matching card and copy totals before confirming a filter-based move.
Count cards and copies in a collection, with optional catalog filters.
Bug Fixes
Filter-based selection clears when the filter changes, and moves are blocked when relevant quantity edits fail to save.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->