fix: remove unsupported --metadata flag from auto-decomposition cmd_add#1071
Conversation
cmd_add() does not accept --metadata, causing it to return 1 with 'Unknown option: --metadata'. The error was suppressed by 2>/dev/null, silently preventing #plan tasks (t008, t012) from being added to the supervisor DB for decomposition. The plan_anchor is already passed directly to dispatch_decomposition_worker() and doesn't need to be stored in the DB.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ 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 |
🔍 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: Wed Feb 11 03:27:24 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|
cmd_add() already logs unknown options via log_error, but three call sites in auto_pickup_tasks() suppressed stderr with 2>/dev/null. This made the --metadata flag bug (PR #1071) invisible. Unknown options, parse errors, and other diagnostics are now visible in supervisor logs.
cmd_add() already logs unknown options via log_error, but three call sites in auto_pickup_tasks() suppressed stderr with 2>/dev/null. This made the --metadata flag bug (PR #1071) invisible. Unknown options, parse errors, and other diagnostics are now visible in supervisor logs.



Summary
cmd_add()does not accept--metadata— it has a*) log_error "Unknown option: $1"; return 1 ;;catch-all--metadata "plan_anchor=..."tocmd_add, which silently failed (error suppressed by2>/dev/null)#plantasks without subtasks (t008, t012) from being added to the supervisor DB for decomposition dispatch--metadatafrom thecmd_addcall — theplan_anchoris already passed directly todispatch_decomposition_worker()as a function argumentEvidence
rg "^cmd_add" supervisor-helper.shshows line 1810 with no--metadataoption*) log_error "Unknown option: $1"; return 1 ;;check_task_already_donebut never reaching "Auto-picked" logcmd_add t008 --repo $(pwd)succeeds; with--metadatait fails