Repository navigation
Add strict Madar-first compare mode - #390
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR adds a ChangesStrict Madar-First Enforcement
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/cli/parser.ts`:
- Line 193: The COMPARE_USAGE string constant used to display compare command
help is missing the --why flag while parseCompareArgs accepts it; update the
COMPARE_USAGE constant (where it's defined) to include "--why" in the usage text
so the displayed usage matches parseCompareArgs's accepted options and help
output.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: cdd7dc5e-3e9f-4f25-bc82-b8cd07a4e514
📒 Files selected for processing (5)
src/cli/main.tssrc/cli/parser.tssrc/infrastructure/compare.tstests/unit/cli.test.tstests/unit/compare-native-agent.test.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Actionable comments posted: 0 |
Summary
Testing
Closes #385
Summary by CodeRabbit
New Features
--strict-madar-firstoption to the compare CLI, enabling stricter validity assessment in native_agent runs; when enabled, runs where broad exploration precedes the first Madar call are marked degraded and reductions are suppressed with explanatory assessment text.Tests