feat: scope Company Brain context by account key#36
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (11)
📒 Files selected for processing (8)
📝 WalkthroughWalkthroughThis PR extends Company Brain context resolution to support stable account key–based account selection and optional source scope filtering. Changes include type definitions, config schema updates, core resolution logic, client API wiring, canary script enhancements, comprehensive test coverage, and documentation updates. ChangesCompany Brain Key-Based Account Resolution
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
✨ 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 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
source_scopeandaccount_keyfilters tocompany_brain_accounts_listcompanyBrainContextSourceScopeandcompanyBrainContextAccountKeysource_scope=internalandaccount_key=company:electricsheep-internal<company-brain-context>blockVerification
npm testNotes
dist/.Summary by CodeRabbit
New Features
Documentation
Tests