Skip to content

Add the script that drains the reveal backlog - #58

Merged
ralyodio merged 1 commit into
masterfrom
drive-sweep-script
Sep 13, 2026
Merged

ralyodio merged 1 commit into
masterfrom
drive-sweep-script

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

A dev tool: loops POST /api/sync/reveal until remaining is 0, printing each round. Used to drain the first 290-coupon backlog after 1.6.0. No app code touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R6gKnAMNwMvY2vDAoxEU3Q

The schedule reads three code-less coupons every fifteen minutes on its
own; this loops POST /api/sync/reveal until nothing is left, for when the
queue is long and someone wants it read today.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R6gKnAMNwMvY2vDAoxEU3Q
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

24 finding(s)

MEDIUM: 22 | LOW: 2

Severity Rule Location
MEDIUM sql-template-interpolation apps/web/app/api/bounties/[id]/claim/route.ts:18
MEDIUM sql-template-interpolation apps/web/app/api/bounties/[id]/claim/route.ts:34
MEDIUM sql-template-interpolation apps/web/app/api/bounties/[id]/claim/route.ts:43
MEDIUM sql-template-interpolation apps/web/app/api/bounties/route.ts:81
MEDIUM sql-template-interpolation apps/web/app/api/coupons/route.ts:68
MEDIUM sql-template-interpolation apps/web/app/api/coupons/route.ts:75
MEDIUM sql-template-interpolation apps/web/app/api/coupons/vote/route.ts:31
MEDIUM sql-template-interpolation apps/web/app/api/coupons/vote/route.ts:33
MEDIUM sql-template-interpolation apps/web/app/api/stores/[slug]/route.ts:9
MEDIUM sql-template-interpolation apps/web/app/api/webhooks/crawlproof/route.ts:83
MEDIUM sql-template-interpolation apps/web/app/api/webhooks/crawlproof/route.ts:90
MEDIUM js-open-redirect apps/web/app/bounties/new/page.tsx:57
MEDIUM js-unescaped-html-sink apps/web/app/layout.tsx:77
MEDIUM sql-template-interpolation apps/web/app/stores/[slug]/page.tsx:12
MEDIUM sql-template-interpolation apps/web/lib/mcp-tools.ts:77
MEDIUM sql-template-interpolation apps/web/lib/nichedb-sync.ts:186
MEDIUM sql-template-interpolation apps/web/lib/nichedb-sync.ts:206
MEDIUM sql-template-interpolation apps/web/lib/reveal-coupon.ts:115
MEDIUM sql-template-interpolation apps/web/lib/reveal-coupon.ts:169
MEDIUM sh-predictable-temp-path apps/web/public/install.sh:37
MEDIUM sh-predictable-temp-path apps/web/public/install.sh:39
MEDIUM sql-template-interpolation apps/web/scripts/migrate.mjs:186
LOW sql-template-interpolation test/reveal-sweep.test.mjs:69
LOW sql-template-interpolation test/reveal-sweep.test.mjs:112

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit a29ceed into master Sep 13, 2026
6 checks passed
@ralyodio
ralyodio deleted the drive-sweep-script branch September 13, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant