Repository navigation
Conversation
Co-authored-by: Dhilan Shah <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesSkill markdown class-field syntax canonicalization
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
⏭️ Performance benchmarks were skippedPerf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to To run them on this PR, do any of the following, then push a commit (or re-run CI):
|
|
No description provided. |
Pull Request Template
Issue Reference
Please link to any related issues
Changes
The error
Repro command before this change:
Failing skill content excerpt from installed
baml-core/SKILL.md:And the installed prose included the discrepancy note:
> The formatter (`baml fmt`) currently rewrites fields with a colon (`x: int,`); both forms compile, but write `x int` to match the language and the stdlib source.Root cause
baml_language/crates/baml_cli/src/agent_command.rsnormalized skill names/frontmatter and cross-skill references, but did not normalize skill body content. The defaultbaml agent installpath consumes a versioned release archive that still contains legacyname typeclass-field teaching inbaml-core, so the installed skill remained non-canonical.The fix
normalize_skills.normalize_skill_class_field_syntax(...)to:name typetoname: type,bamlcode blocks fromname typetoname: type,agent_command:old_class_field_style_is_canonicalized_in_skill_contentclass_field_normalization_preserves_non_field_linesVerification
Commands run from
baml_language/:Post-fix reproduction output excerpt:
No
name type/x intmatches or formatter-discrepancy note remain in the installed skill.CodeRabbit self-review step:
coderabbitCLI successfully.CODERABBIT_API_KEYwas not available in this environment (API key cannot be empty), so non-interactive auth/review could not be completed.Testing
Please describe how you tested these changes
Screenshots
If applicable, add screenshots to help explain your changes
N/A
PR Checklist
Please ensure you've completed these items
Additional Notes
Add any other context about the PR here
This is intentionally scoped to
baml_language/crates/baml_cli/src/agent_command.rsand does not touchengine/.Summary by CodeRabbit
Chores
Tests