30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Rebuild the Banner

consent/rebuild-banner rebuilds the cached banner from the current cookies, categories and settings.

It changes no data and is safe to run at any time.

At a glance

Abilityconsent/rebuild-banner
ToolsetCookieYes — toolset/cookieyes
GroupCookieYes › The Banner
RequiresCookieYes, active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

What it repairs

The banner a visitor receives is not assembled on the fly. It is cached HTML, built from the declared cookies, the consent categories and the settings, and rebuilt only when the consent plugin’s own save hooks fire. Write the consent tables any other way — through the database abilities, through another plugin — and the row reads back correctly while every visitor still sees the previous banner, with no error anywhere to say so.

That is the situation this fixes. Somebody edited the consent tables through the database abilities, or imported them, or another plugin wrote them — the data is correct, the banner is not, and nothing has reported a problem because from the plugin’s point of view nothing happened.

The rebuild reruns the build step the save hooks would have run. It reads what is there now and regenerates the HTML for every language.

Because it only regenerates from existing data, it is idempotent and cannot lose anything. Running it when nothing was wrong reports no change.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
changedbooleanWhether the rebuild actually altered the served banner.
notestringA short account of what the rebuild found.
languagesarrayThe languages the banner is built for.
renderedobjectThe size of the built banner, per language.
pending_rebuildbooleanWhether the banner is still waiting to be rebuilt. True after a write means the change is stored but not yet being served.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

The cookie banner is showing old text — rebuild it.

It resolves to one call:

{
  "ability": "consent/rebuild-banner",
  "parameters": {}
}

Worth knowing

  • Reads and regenerates only. No consent data is modified.
  • Idempotent — running it twice is the same as running it once.
  • The first thing to try when a consent change did not appear.
  • Will not fix a banner that is switched off. Check the settings for that.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading