Joshua Shay Kricheli NeuroSymbolic AI
v2 v1

Release · v3.11.4

One-click workflow + REST script to prune the 7…

chore(db): one-click workflow + REST script to prune the 7 dead *-Encoded document rows

chore v3.11.4 July 7, 2026 Joshua Shay Kricheli 0c7394c

Details

Adds a manually-triggered GitHub Action ("Prune dead document rows") and a
REST-based prune script so the cleanup can run without local psql/.env.db.
Mirrors migrations/prune_dead_encoded_documents.sql: deletes only rows whose
title ends in "-Encoded" AND whose public_url carries the double-encoded "2520"
marker — verified against live data to match exactly the 7 dead rows with zero
collateral. Self-guarding and idempotent; dry-run by default (type "prune" +
dry_run=false to delete). Uses the existing SUPABASE_URL /
SUPABASE_SERVICE_ROLE_KEY repo secrets.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HShRpQUmDUttxD5F89ziDu

Files changed (3)

.github/workflows/prune-documents.yml +68 −0
backend/supabase_db/migrations/README.md +4 −1
backend/supabase_db/scripts/prune_dead_encoded_documents.py +104 −0