task: #3609150 Use the drupal/varbase_recipes module for the config action and drop vardot/varbase-patches
Closes #3609150.
Makes Varbase AI self-contained on both Varbase lines it ships on — 9.2.x (Drupal ~11.4) and 10.1.x (Drupal ~11.4) — following the Varbase Recipes logic:
- Adds
drupal/varbase_recipes(^1.0) torequire. That module provides thesetAiContextItemsDefaultScopeconfig action, which applies a defaultscopeto importedai_context_itementities after a recipe's content step (Drupal core normalises map fields to{}on config/content import, so the scope can't be shipped through YAML — this is what the old patch did). - Removes the
vardot/varbase-patchesrequirement fromcomposer.json(patches are managed at the project level invardot/varbase-project), which unblocks resolution on a Varbase 9.2.x / 10.1.x site.
No plugin is bundled into varbase_ai — it depends on the varbase_recipes module for the action.
AI-Generated: Yes (Used Claude Code to depend on drupal/varbase_recipes for the config action and drop the varbase-patches dependency), reviewed and authorized by the maintainer, per the AI contribution policy.
Checkpoints
- 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
Edited by Rajab Natshah