Problem/Motivation
The ai_context module caps published global context items at 3 by default and rejects saves over the cap. Varbase ships 3 starter global items (Brand & Identity, Editorial Rules, AI Safety Guardrails) and the Varbase AI Figma stack seeds 4 more Figma rule items. Anything past the cap is silently dropped from context selection, so agents lose part of the shipped guidance.
Proposed resolution
Add a config action to the recipe that raises ai_context.settings: max_global_items to 10, so every Varbase and Figma context item stays selected, with headroom for site-specific items.
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ❌ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ➖ Review with the product owner
- ✅ Update Release Notes
- ✅ Release varbase_ai_context-1.0.0-beta3
User interface changes
None.
API changes
None.
Data model changes
ai_context.settings: max_global_items set to 10 at apply.
Release notes snippet
The recipe now raises the AI Context global items cap to 10 so all Varbase starter and Figma context items remain part of context selection.
AI usage disclosure: drafted with AI (Claude) assistance, reviewed and tested by Rajab Natshah, per the Drupal AI policy.
Issue fork varbase_ai_context-3613294
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshah✅ Released varbase_ai_context-1.0.0-beta3
Comment #9
rajab natshah✅ Released varbase-11.0.0-rc1