t1004: Ensure all task completion paths write pr:#NNN to TODO.md#1295
t1004: Ensure all task completion paths write pr:#NNN to TODO.md#1295marcusquinn merged 3 commits intomainfrom
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Caution Review failedThe pull request is closed. WalkthroughThe pull request modifies task completion logic in the supervisor script to always record proof information—using PR references when available or verification dates as fallback—and reformats the version manager script with whitespace and indentation adjustments. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…g (t1004) Previously, auto_mark_tasks_complete() marked tasks [x] with completed: but never wrote pr:#NNN or verified: proof-log. This violated the proof-log requirement enforced by pre-commit hooks and issue-sync. Added find_pr_for_task_from_commits() to discover PR numbers from commit messages (#NNN pattern) with gh CLI fallback. Falls back to verified:date when no PR is discoverable (release itself is verification).
…RL (t1004) When diagnostic tasks or tasks without a parseable PR URL pass verify_task_deliverables(), the proof_log was empty — resulting in [x] lines without pr:#NNN or verified: evidence. Now falls back to verified:YYYY-MM-DD when no PR number is extractable.
Bash regex with literal parentheses in =~ is unreliable across bash versions. Switched to grep -oE for robust PR number extraction from commit messages.
94f1ab2 to
d02121a
Compare
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Thu Feb 12 20:44:37 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
Ensures every code path that marks tasks
[x]in TODO.md also writes proof-log evidence (pr:#NNNorverified:YYYY-MM-DD). This prevents false completion cascades in issue-sync and satisfies pre-commit hook enforcement.Changes
Gap 1:
version-manager.shauto_mark_tasks_complete()(primary fix)find_pr_for_task_from_commits()— discovers PR numbers from commit messages ((#NNN)pattern) withgh pr listfallbackauto_mark_tasks_complete()to writepr:#NNNwhen a PR is found, orverified:YYYY-MM-DDas fallback (release itself is verification)Gap 2:
supervisor/todo-sync.shupdate_todo_on_complete()(fallback fix)verified:YYYY-MM-DDfallback when no PR URL is parseable (e.g., diagnostic tasks that skipverify_task_deliverables())pr:#NNNextraction; this commit adds theverified:else-branchGap 3:
issue-sync-helper.shcmd_close()(prior worker — 03c551a)find_closing_pr()to run BEFORE evidence check (chicken-and-egg fix)pr:#NNNto TODO.md before checking for evidence, so the check passesVerification
Ref #1285
Summary by CodeRabbit
Bug Fixes
Style