Hold
feat(orders): add idempotency keys to order creation
Do not merge yet
15 files changed (+480 −102). 65 of 582 lines carry the risk; read them in about 20 minutes, and skim or skip the other 517. Written by Claude Code; no person has committed on top of it.
- 3 serious findings: tls verification turned off, destructive schema change, sql built from interpolated values.
- Adds 1 outbound destination.
- Beyond its description: Schema migrations, Authentication, Infrastructure.
- Imports express-idempotency-guard, which the registry has never heard of.
- 2 source files changed with no test change, led by idempotency.ts.
- Tests weakened: 1 test skipped.
- formatCents() is written 2 times with near-identical bodies: extract one shared helper.
+480−10215 filesWritten by Claude CodeTriage: P0, look at it now2 live resources
Says vs does
Does more than it saysSays
feat(orders): add idempotency keys to order creation
Names Payments, Database access, Network calls, CI/CD pipeline, Public API, Tests.
Does
- Changes Database access (4 files), Payments (3 files), Other code (3 files), Public API (1 file), Schema migrations (1 file).
- Calls 1 new outbound destination: registry.npmjs.org.
- Adds 1 dependency: express-idempotency-guard.
- Changes the database schema in 1 migration.
- 2 of 8 changed source files come with no test change.
Does without saying
- Schema migrations. 14 changed lines in 1 file the description does not mention.
- Authentication. 7 changed lines in 2 files the description does not mention.
- Infrastructure. 6 changed lines in 1 file the description does not mention.
- New dependencies. Adds express-idempotency-guard without a word on why.
To add to the description: This change also includes schema migrations (1 file); authentication (2 files); infrastructure (1 file); the dependency express-idempotency-guard.
Why hold: 2 source files changed without a matching test change. Depends on express-idempotency-guard, which the registry does not know — a hallucinated or squatted name. Risk 70/100, on or over the hold line of 60: findings (26), sensitive areas (14) and new code paths (10) lead.
Policy applied: Balanced (the built-in default).Review from 20, hold from 60.6 rules fired, 1 blocking.How policies work
You have 20 minutes
A careful read of everything: 2.1 hours65 lines to read190 to skim327 to skip