RedHub AIRedHub AI
Tool Gate · How it works

How the roll-up gate works

How the File Naming & Organization Engine works

This tool grades every filename against a naming convention you define. It reads 6 files and rolls them into one verdict — the worst, never the average — then a gate that can only make it worse.

The 6 files

012026-04-20_acme_invoice_v2.pdfalready matches the conventionCONFORMS
02Northwind Report FINAL.docx→ 2026-05-03_northwind_report_v1.docxRENAME
03contract draft.pdfbad date 05/14/2026 → FIXME-date placeholderRENAME
04invoice_copy_A.pdf→ 2026-03-01_initech_invoice_v1.pdf · shared by 2COLLISION
05invoice_copy_B.pdffix first→ 2026-03-01_initech_invoice_v1.pdf · shared by 2COLLISION
06proposal_umbrella.pdf→ 2026-06-10_umbrella_proposal_v1.pdfRENAME
ALL CLEAN
every file already matches the convention
NEEDS RENAMING
files need renaming, but no two collapse to the same name
COLLISIONS FOUND
two or more different files normalize to one name
Collision · worsen-only

Any two files whose corrected names would be identical are both flagged COLLISION — the worst verdict on the batch — regardless of how well-formed each one is, because the rename is what loses data. Conformance percentage is context only; the collision decides. Disambiguate before renaming.

COLLISIONS FOUND

Why: Six files: one already conforms, three need renaming (including a contract with a bad 05/14/2026 date flagged FIXME-date), and two different files — invoice_copy_A and invoice_copy_B — normalize to the same name, 2026-03-01_initech_invoice_v1.pdf. That collision is the worst verdict on the batch, so the batch reads COLLISIONS FOUND. Conformance is 17%, but that's context only — the gate decides. 6 files · 1 conforms · 3 to rename · 2 collision · conformance 17% (context only).

Fix firstinvoice_copy_B — it normalizes to the same name as invoice_copy_A. Bump one to v2 to clear the collision before renaming either; a clean-looking name can't outrank a rename that would overwrite a file.

No single file is the crisis — the clustering is. The roll-up takes the worst, the gate escalates when trouble compounds, and it names the one thing to fix first. Checks your own filenames against a convention you define. It does not move or rename files on disk, does not score or rank people, and is not legal advice.