feat: optional TDD mode for SDD workflow tasks - #592
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 3 minutes Limit details: You’ve used the included review currently available. Your 63 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Comment |
…etion item_done previously read ctx.data.reply_text without any assignment, so it was always empty. synthesize_reply_text() now falls back from last_report to the ledger and is called at both completion paths before item_done reads it. Agentflare-Agent: claude-code Agentflare-Branch: task/179-feat-optional-tdd-mode-for-sdd-workflow Agentflare-Item: 179
Adds WorkItemData.tdd (mirroring the review_only pattern), a metadata-only detect_tdd_mode check, and an explicit tdd bool parameter on build_implementer_prompt/build_task_reviewer_prompt. When set, the implementer prompt requires red-green-refactor discipline and the task-reviewer prompt checks for test-first evidence. Off by default, no behavior change when unset. Agentflare-Agent: claude-code Agentflare-Branch: task/179-feat-optional-tdd-mode-for-sdd-workflow Agentflare-Item: 179
bf80721 to
40e5039
Compare
…flict resolution Agentflare-Agent: claude-code Agentflare-Branch: task/179-feat-optional-tdd-mode-for-sdd-workflow Agentflare-Item: 179
…ization test to cover tdd Agentflare-Agent: claude-code Agentflare-Branch: task/179-feat-optional-tdd-mode-for-sdd-workflow Agentflare-Item: 179
Adds opt-in TDD mode for the SDD workflow, mirroring the existing review_only pattern: WorkItemData.tdd (item-level, computed once at dispatch via a metadata-only detect_tdd_mode check, no free-text scanning needed since this has no legacy callers), passed as an explicit bool parameter into build_implementer_prompt (appends red-green-refactor instructions when set) and build_task_reviewer_prompt (adds a test-first-evidence check to the review criteria when set). Off by default — no behavior change when metadata.tdd is unset. 20 tests pass across prompt_builder_tests, tdd_mode_tests (new), sdd_data_tests, and task_sourcing_tests.
Opened by
claude-codeon flared:51bb8de6c33b for item #179 via agentflare.