refactor: define THINKING_LEVELS in one place - #432
amandeavor wants to merge 1 commit into
Conversation
Import the canonical list from model-stream into protocol provider-management, and build the catalog-validation Set from the @axl/protocol export so level renames cannot drift. Closes Observal#422
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughProvider-management and catalog validation now use the protocol package’s shared ChangesThinking-Level List
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to The refactor preserves the supported thinking levels and uses the protocol package’s public export. No actionable merge-blocking risk was identified. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the refactor, references issue
✨ 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 |
Summary
THINKING_LEVELSwas duplicated inpackages/protocol/src/provider-management.tsand as a hand-writtenSetinpackages/ai/src/catalog-validation.ts. Both now consume the canonical export frommodel-stream.ts/@axl/protocol.Closes #422
Test plan
pnpm --filter @axl/protocol test(39 pass)pnpm --filter @axl/ai test(284 pass)Summary by CodeRabbit