fix: CodeRabbit follow-ups from #144 + #141 (incl. critical /api/v1 double-prefix)#152
fix: CodeRabbit follow-ups from #144 + #141 (incl. critical /api/v1 double-prefix)#152
Conversation
Critical: - cloud/sync.py: fix double /api/v1 prefix on telemetry + corpus paths Major: - cli.py: resolve brain_root once for skill export consistency - skill_export.py: escape backslashes in YAML descriptions - skill_export.py: whitespace-only desc falls back to auto - implicit_feedback.py: negative signals win over approval on conflict - inject_brain_rules.py: harden MAX_RULES int parse against malformed env Tests: - update assertions for corrected /telemetry + /corpus paths - add regression coverage for YAML backslash/newline/whitespace - tighten loose assertions in hooks_intelligence
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (8)
📝 WalkthroughSummary
WalkthroughThe PR addresses multiple bug fixes and logic improvements: correcting Brain instantiation in the CLI export command, updating cloud sync endpoint paths to rely on pre-configured API base URLs, enhancing YAML description escaping for Windows paths, filtering conflicting feedback signals in hook processing, and adding environment variable validation to prevent runtime errors. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Review rate limit: 3/5 reviews remaining, refill in 19 minutes and 40 seconds. Comment |
Applies 11 CR action items. Critical: cloud_sync double /api/v1 prefix broke telemetry + corpus POSTs in prod.