Skip to content

Fix weekly repo hygiene TODO false positive - #67

Merged
haochencheng merged 1 commit into
mainfrom
codex/weekly-repo-hygiene-scan-false-positive
May 18, 2026
Merged

haochencheng merged 1 commit into
mainfrom
codex/weekly-repo-hygiene-scan-false-positive

Conversation

@haochencheng

Copy link
Copy Markdown
Member

Summary

  • fix the weekly repo hygiene scanner so TODO/FIXME findings only match real source comments
  • add regression coverage for embedded string literals versus actual TODO comments
  • archive this week's hygiene evidence and duplicate-check result

Safety / Review Reason

This is the single low-risk mechanical cleanup item from the 2026-05-17 weekly repo hygiene review. It removes a self-referential false positive from the scanner and does not touch production resources, auth, secrets, deployments, Docker, caches, funds, or settlement flows.

Verification

  • OPS_DATABASE_URL="postgresql+psycopg://synapse_growing:synapse_growing_dev@127.0.0.1:54329/synapse_growing_local" PYTHONPATH=. /Users/cliff/workspace/agent/.venv/bin/python -m pytest -q tests/test_weekly_repo_hygiene_review.py
  • OPS_DATABASE_URL="postgresql+psycopg://synapse_growing:synapse_growing_dev@127.0.0.1:54329/synapse_growing_local" PYTHONPATH=. /Users/cliff/workspace/agent/.venv/bin/python - <<'PY' ... scan_repo_hygiene_payload() ... PY
  • git diff --check

Human Merge Checklist

  • Review the scanner heuristic change for comment-only TODO detection
  • Confirm the evidence note matches the 2026-05-17 hygiene run
  • Do not auto-merge

@haochencheng
haochencheng marked this pull request as ready for review May 18, 2026 00:47
@haochencheng
haochencheng merged commit f502cff into main May 18, 2026
9 of 11 checks passed
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