2. Audit Seeded URLs
Purpose: Audit system_seeded URLs in the vNext urls table to identify root domain URLs that violate the "No TLD Seeding" invariant and review page type distribution.
Prerequisites:
.env.localwithSUPABASE_URL,SUPABASE_SERVICE_ROLE_KEY- System-seeded URLs exist in the vNext
urlstable
Cost / Duration: $0 | 1-2 min
Prompt
Audit seeded URLs to check quality and distribution.
Step 1 — Run full audit:
```bash
bun scripts/audit-seeded-urls.ts
```
Reports total system-seeded URLs, root domain counts, pattern URL counts,
page type distribution, and brand library statistics.
Step 2 — JSON output for programmatic analysis:
```bash
bun scripts/audit-seeded-urls.ts --json
```
Step 3 — Verbose mode (list individual root domain URLs):
```bash
bun scripts/audit-seeded-urls.ts --verbose
```
Alternative — Use the script alias:
```bash
bun run urls:audit
```
Verify: Summary should show `rootDomains: 0` (no root domain URLs),
healthy page type distribution, and expected pattern URL counts.
Verification
-
rootDomains: 0in the audit output - Page type distribution is balanced (no single type dominates)
- Pattern URL count matches expectations
- No connection errors
Related Prompts
- Seed Brand URLs — Seed URLs before auditing
- Discover Domains via PDL — Find new domains to expand coverage