How Drupal's Context Control Center Feeds Brand Voice and Site Rules to AI Agents

How Reviewed Context, Scopes and Selection Rules Reach Drupal AI Tools
The Drop Times tutorial graphic titled “Who Sets the Rules for AI?” features a glowing blue AI sphere sending information through a geometric filter toward multiple floating digital interface panels. The text reads “Drupal's Context Control Center manages which editorial and brand guidelines reach AI-powered workflows.”

The contributed Context Control Center module gives a Drupal site one governed place for the rules its AI tools should follow: brand voice, editorial standards and compliance requirements. Each rule is stored as a moderated content item, and when an AI agent or another connected AI tool runs, the module adds only the rules that match the task, the page and the user.1

Its first release candidate, 1.0.0-rc1, came out on 25 September 2026. In an August 2026 interview with The DropTimes, co-maintainer Kristen Pol described the module as a way to give site builders governed, reusable context instead of rules scattered across individual agent prompts.

Published context items can become instructions for configured AI tools, so the roles that can create and publish them influence how those tools behave. Decide who writes rules and who approves them before adding any.

Publishing and Review

Context items live under Configuration › AI › Tools & Automation › Context Control Center. Each one has a Content body in Markdown that holds the rules, a Purpose field that says what the guidance is for and when it applies, and scope settings that say where it applies.

Items move through the module's own moderation workflow, AI Context editorial, with Draft, Published and Archived states, so installing it leaves moderation on other content unchanged. Only published items reach AI tools. The item form preselects Published for new items, so a site that wants every rule reviewed before it goes live should turn off Publish by default in the module's settings.

The Add Context Item form with empty Label, Description, Purpose and Content fields and a collapsed Context Scope section. In the sidebar, the Save as list is already set to Published
A new context item is set to save as Published unless the editor changes it. Local test, 12 November 2026.  | The DropTimes / Screenshot

The module includes an optional recipe, University sample context, which is not applied on installation and must be run separately. It adds unpublished samples for voice and tone, structure and grammar, and inclusive language. The recipe asks sites to copy and adapt them rather than publish the originals.

The Context Items list with four items. "Harbour Lights house style" is Published at 82 tokens; the three university samples are Draft at 848, 2K and 1.5K tokens, each marked with a warning sign. All four are scoped to Working With Text
The item list shows each rule's status, scope and size; a warning marks rules that take a large share of the token budget. Local test, 12 November 2026. | The DropTimes / Screenshot

Who Writes Rules and Who Receives Them

The permissions to create, edit and administer context items are marked as restricted. They are separate from Use Published AI Context in AI Features, which a role needs to receive context. After installation only administrators have it, so AI tools used by editors get no context until a site grants it. The maintainers advise giving authoring rights only to roles trusted to shape AI behaviour on the site.

Targeting Rules with Scopes

Scopes let an editor say where an item applies, and let each AI tool describe what it is working on when it asks for context. A scope works in one or more of three ways:

  • Filter: removes items that do not match the current request.
  • Match: brings in items that fit the current request, even when the tool has not asked for that scope.
  • Subscription: a tool opts in to the scope, and items are scored against it.
ScopeWhat it targetsHow it works
GlobalEvery AI toolIncluded for every tool up to the global item limit; clears the item's other scope restrictions
Use CasesTask categories: Working with Canvas, Media, People or TextSubscription, weighted highest
Context TagsTerms in the AI Context Tags vocabularySubscription
RolesUsers with at least one selected roleFilter only; never brings an item in by itself
LanguagesThe detected content languageFilter and match
Site SectionsURL sections or path patterns with * wildcardsFilter, match and subscription
Entity TypesContent types and other entity bundlesFilter, match and subscription
Taxonomy TermsTerms referenced by the content being worked onFilter, match and subscription
Specific EntitiesIndividual pieces of content (needs the Dynamic Entity Reference module)Filter; an exact match is always included

Site builders can switch off scopes they do not need, and developers can add their own scopes or react to selection events.

How Context Is Selected

Context reaches an AI tool in two ways: the module adds it to the tool's prompt automatically, or an agent fetches it on demand through the module's function-call tools. Automatic delivery is on for AI agents. AI Automators can receive context too, and so can the writing tools of the separate AI CKEditor project from its 1.5.0 beta releases, but for these an administrator must switch it on tool by tool.

Each AI tool has its own context settings page. There an administrator chooses the tool's scope subscriptions and can set Always include or Never include for any published item.

A tool's context settings table listing four context items with their descriptions and scopes. The published house style item has an Inclusion Overrides list set to "Do not override (use subscriptions)"; the three unpublished samples show "Unpublished" instead
The context settings page of a visitor-answers agent, where each published item can be left to the tool's subscriptions or always or never included. Local test, 12 November 2026. | The DropTimes / Screenshot

Automatic selection follows fixed rules rather than an AI model; only the conditional child items described below involve one. For each request, the module:

  1. Drops unpublished items, items the user cannot view, and items on the tool's Never include list, which overrides Always include.
  2. Adds the tool's Always include items, which skip the filters.
  3. Applies the filter scopes to everything else.
  4. Takes the Global items and any exact matches on Specific Entities.
  5. Scores the remaining items against the tool's subscriptions, with Use Cases counting double.
  6. Lets the selection mode decide which further items join.
  7. Adds child items, described below, and trims the result to the token limit.

The selection mode, set site-wide and adjustable for each tool, decides how far step 6 reaches. The modes build on each other:

  • Minimal: Global items, Always include items, exact matches and items that score on the tool's subscriptions.
  • Relevant (the default): adds items that match the request's language, site section, entity type or taxonomy terms, even without a subscription.
  • Broad: adds any remaining published item that passes the filters, in Priority order, to fill the leftover budget.

By default the limits are three Global items and 1,200 tokens.2 The module will not publish another Global item until one is unpublished or the limit is raised.

The token budget is tight for detailed guidance: the module estimates the sample rules at about 850 to 2,000 tokens each, so sites with long style guides should raise the limit or split rules into shorter items. When items tie, the higher Priority wins, then the shorter item, so more rules fit.

The General Settings tab of Context Control Center, showing the AI provider for subcontext decisions, Max global context items set to 3, Max tokens for injection set to 1200, the Relevant selection mode selected, and the context prefix text
The site-wide limits and default selection mode, as installed. Local test, 12 November 2026.  | The DropTimes / Screenshot

Subcontext for Special Cases

A parent item, such as a brand voice guide, can hold child items for situations like crisis announcements or faculty profiles. The module calls this subcontext; children cannot have children of their own.

A required child comes with its parent whenever the parent is selected, although the token limit can still shorten or drop it. A conditional child is picked by AI: the module sends each child's Purpose, a snippet of the parent and the current task to the site's AI provider, which chooses the children that apply. If no provider is set up or the call fails, conditional children are skipped and required ones stay. When context is added to an agent, the task sent for this choice is the agent's own instructions rather than the user's question, so conditional children suit agents with a specific job.

Multilingual Sites

A request receives a rule's published translation for its language, or the original when no translation exists, and unpublished rule text is not added to the prompt. In the release candidate, however, an unpublished translation, whether a draft or an archived one, can keep the rule out of requests in that language instead of falling back to the original.3

Usage Tracking

Usage tracking is off by default. When it is on, it records which items each AI tool used, on which route and in which agent run, the tools the run called, and the entities it created or changed. Old records are purged on cron by age and count.

Maintainers and Supporters

Kurt Foster, Chief Technology Officer at Salsa Digital, created the project on Drupal.org in September 2025. Its maintainers are Kristen Pol of Salsa Digital, Aidan Foster of Foster Interactive, Ahmad Khalil of ImageX and Emma Horrell of the University of Edinburgh.4

Salsa Digital leads the project. Foster Interactive and the University of Edinburgh contribute UX, UI and feature input, and ImageX exploratory work on Tool API and MCP. Salsa Digital is a Founding Partner of the Drupal AI Initiative, and Foster Interactive and ImageX are Silver Partners.5

Emma Horrell and James Abrahams presented the module at DrupalCon Rotterdam 2026 on 30 September 2026.6

Requirements and Security Coverage

The project has opted in to Drupal security advisory coverage, which, under the security advisory policy, starts with a stable release. The release candidate is not covered until 1.0.0 is released.

The module needs Drupal 10.5 or later, or Drupal 11.2 or later, the AI module and AI Agents. On Drupal Canvas sites it needs Canvas 1.8.0 or later, because earlier Canvas releases can reject long context items on save.7

Before You Install

  • Roles: limit who can create, edit and publish context items, and grant Use Published AI Context in AI Features to the roles whose AI tools should receive them.
  • Automators and CKEditor tools: switch on automatic context delivery for each one that should follow the rules.
  • Publish by default: turn it off if every rule should be reviewed before it reaches AI tools.
  • Multilingual sites: after archiving or drafting a translation, check that the rule still reaches requests in that language.
  • Stable release: check whether 1.0.0 has shipped and security coverage has begun.
  • Canvas sites: run Canvas 1.8.0 or later.

Issues and documentation are in the project's GitLab repository.

Footnotes

Image Attribution Disclaimer: At The Drop Times (TDT), we are committed to properly crediting photographers whose images appear in our content. Many of the images we use come from event organizers, interviewees, or publicly shared galleries under CC BY-SA licenses. However, some images may come from personal collections where metadata is lost, making proper attribution challenging.

Our purpose in using these images is to highlight Drupal, its events, and its contributors—not for commercial gain. If you recognize an image on our platform that is uncredited or incorrectly attributed, we encourage you to reach out to us at #thedroptimes channel on Drupal Slack.

We value the work of visual storytellers and appreciate your help in ensuring fair attribution. Thank you for supporting open-source collaboration!

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Drupal Initiatives

Related Organizations

Upcoming Events

Latest Opportunities