A role sync runs the whole role, several hundred tasks, although a
design carrier usually lives in one task file. Iterating on that file
cost minutes per try.
`make compose-role-sync role=<app> variant=<idx> task=<file>` now runs
only that task file of the role against the running stack. The sync
playbook gets a third scope `task` next to `design` and `role`: it
places the shared services like a role sync, loads the token store and
the proxy handlers, includes the role with `tasks_from` and flushes
its handlers.
The task file gets the variables of the role and nothing an earlier
task of the role would have set, so it has to stand alone. The script
accepts a task path of plain path characters only, because the value
travels into a command line inside the container.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The before/after gallery of a role had three gaps that cost a full
rerun or produced a wrong "before" screenshot without a failure:
- A view behind a redirect or a hash route kept the injected snippets
on its plain side, because neither passes page.route(). The helper
now loads such a document once more by the URL it ended on and fails
the view when the plain side still carries the snippets.
- A state that only exists with the injected snippets had no plain
side to capture. A view marked `afterOnly: true` skips it.
- Looking at one view meant a temporary test or the whole gallery.
`make design-gallery app=<role> views=a,b` runs the gallery test
alone, captures only the named views and adds them to the existing
screenshots.
The view names travel as PLAYWRIGHT_GALLERY_VIEWS into the Playwright
container. The name stays out of the INFINITO_ registry on purpose: it
is a call parameter, and a default in .env would silently narrow every
later gallery run.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The container starts the module that registers only the API and static
routes, so every page route answers with a bare 404 and neither the
corporate design nor any other injection has a document to attach to.
The role is therefore left out of the design pass.
TODO.md records that and three findings that matter once the pages are
served: host variables under names upstream does not read, a session
key that upstream publishes for its debug branch and that has to be
replaced before the entry point changes, and inline handlers the
content security policy does not allow.
All four are read from the role and from the upstream source at the
pinned commit, not measured on a stack.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Mini-QR is served from a published image with one compiled stylesheet
and has no option for color, logo or title.
The role stylesheet maps the compiled utility classes, the component
classes and the literal icon colors onto the design tokens in both
modes, makes the export buttons the primary action and shows the
generated lockup in place of the plain heading. Every broad rule is
kept out of the preview, because the code there carries the colors the
visitor chose and the export rasterises what the browser computed.
A small script sets title, favicon and touch icon and mirrors the
stored theme choice, which wins over the browser's preference.
The spec asserts tokens, page, controls and the theme switch, that the
fills of the preview equal their attributes, and that an exported image
is byte-identical with and without the design. It also captures the
gallery, with service workers blocked so the plain side stays plain.
TODO.md records three findings outside the design: the preview that
draws its code only after a change, the manifest and share images
compiled into the image, and the camera view no test can open.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Shopware compiles its Storefront colors from the theme configuration
of a sales channel and has no dark mode; the administration has no
theming setting at all.
A script fed to PHP on stdin writes the thirteen color fields, logo and
favicon into the Storefront theme record and sets the shop name. It
reads the database connection the container already has, keeps a mark
of what it applied, touches a field only while it is unset or its own,
compiles the theme only when the values changed and takes exactly its
values back when the design is off. The colors are literals of the
light palette, since Shopware runs color functions on them.
The role stylesheet adds the dark mode of the Storefront on top of
those baked values and maps the administration: its design tokens, the
navigation as the frame and the sign-in page.
The spec asserts tokens, storefront, theme configuration, the compiled
theme without the injected sheets, logo and shop name, the
administration and its sign-in page, and captures the gallery. It seeds
three products and one customer, whose password it derives itself.
The existing administrator test navigated to the administration while
the app was still routing itself to its login form after the logout,
and failed in three of eight runs with an interrupted navigation.
Without a sign-in provider it now waits for that route first.
TODO.md records seven findings outside the design: five places where a
password or client secret travels in a command line, the first-run
wizard that every fresh load meets, and the vendor image the sign-in
page requests.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The launcher is rendered from the role's own templates, yet its colors
came from Bootstrap's fixed dark classes and from an injected sheet
whose body rule hit every page of the host: it tinted the example
browser behind light text, opened a band under its columns, made the
canvas pages scroll and put a dark gradient under dark card text.
The templates now carry the colors themselves, as design tokens with
Bootstrap's variables as fallback, so the page stays coherent without
the design and keeps the layout that used to live in the injected
sheet. Both bars are the frame, and the top bar shows the generated
lockup, declared as a frame slot. The footer is sticky, since the fixed
one covered the last tile on a phone. Two icons the free icon set does
not ship are replaced.
The injected sheet is rewritten for the example browser only: it maps
upstream's thirteen variables and seven rules onto the tokens and has
no body rule. A small script lets that page follow the browser's color
scheme until a visitor picks a theme, and sets title and favicon on the
upstream pages.
The spec pins each of those failures, asserts tokens, frame, menu,
lockup and the example browser, and captures the gallery.
TODO.md records four findings outside the design: two tiles that lead
to missing files, the missing documentation, the editor library blocked
by the content security policy, and the unpinned upstream reference.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Mattermost Team Edition has no theme, logo or favicon setting that
reaches the client. Its default theme is written by script as inline
variables on the root element, and sign-in, integrations and the System
Console carry colors compiled into their bundles.
The site name goes through the app's own configuration as an
environment override, so nothing is stored and the name falls back to
the stored one when the design is off. Everything else is the role
stylesheet: a mapping of the theme variables onto the design tokens and
a generated mapping of the compiled and script-inserted rules of
release 11.11.1. The default theme thereby follows the browser's light
and dark preference. A small script marks a theme a user picked, and
the whole stylesheet steps aside for it. The generated lockup replaces
the logo in the header, declared as a frame slot, and on the sign-in
page.
The spec asserts tokens, sign-in page, signed-in interface, focus on
the frame, the System Console, a picked theme, logo and site name, and
captures the gallery.
TODO.md records four findings outside the design: the administrator
password on a command line, the landing page setting without effect,
the sign-in provider link shown without a provider, and favicon and
brand image without a setting.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Prometheus interface is a Mantine application with its own color
variables and a native theme switch.
The role stylesheet maps those variables onto the design tokens for
both schemes and turns the header into the frame. The header shows the
generated lockup, declared as a frame slot so its text is readable on
the frame, and the symbol alone on narrow viewports. A small script
mirrors the scheme the switch stored into the design attribute and
keeps the favicon on the generated one, which the app would otherwise
write back. The page title goes through the server's own
`--web.page-title` flag.
The spec asserts tokens, page, header, cards and badges, the native
switch, logo and title and the settings popover, and captures the
gallery.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Fider keeps its name, a custom stylesheet and a logo on the tenant row,
so the role writes the corporate design there.
One SQL statement sets the title while the tenant still carries the
name the role bootstrapped it with, stores the stylesheet when the
field is empty or holds an earlier one of the role, and attaches the
generated logo when the tenant has none. A second statement takes
exactly those values back when the design is switched off. The
stylesheet maps Fider's color variables and utility classes onto the
design tokens. A small script lets the board follow the browser's color
scheme until somebody uses the built-in switch.
The spec signs in through the identity provider and asserts tokens,
stylesheet, primary action, surfaces, title, logo and the theme switch.
The helper that opens the provider dialog moves into a shared module,
since both specs use it.
TODO.md records two findings outside the design: without the identity
provider the role creates no tenant and the installation form stays
open, and with the object store enabled the tenant gets no logo.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Decidim keeps name, three brand colors, logo and favicon on its
organization record and compiles everything else into a Tailwind
bundle.
A script fed to `rails runner` on stdin converges the organization:
name and colors from the palette, logo and favicon through Active
Storage. It records what it applied next to the previous values, so a
later run without the design puts those back, and it leaves a logo
alone that somebody else uploaded. A generated image whose file is gone
is attached again.
The role stylesheet maps the compiled rules onto the design tokens,
which gives the app the dark mode it does not have. The spec asserts
tokens, public pages, administration, the system panel sign-in and the
organization, and captures the gallery.
TODO.md records four findings outside the design: the administrator
password in argv, Active Storage writing to a path on no volume, the
appearance page answering 500 and the missing system administrator.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Odoo compiles its colors into two asset bundles, so an injected
stylesheet cannot reach them reliably. The role now hands the palette to
Odoo itself.
A script fed to `odoo shell` on stdin converges four things: one theme
sheet per bundle as an attachment with an asset entry, the application
name parameter, name, logo and favicon of the website, and an inherited
view that carries title and favicon into the backend shell. It records
a digest of what it wrote, so a value an administrator changed stays,
and an empty payload removes everything the design owns again. The
frontend sheet is left out once the website theme was customised in the
builder.
The theme sheets map the rules Odoo 20 compiles onto the design tokens.
The spec asserts tokens, both bundles, sign-in page, backend, states,
focus in the navbar, logo and title, and captures the gallery.
TODO.md records two findings outside the design: the database password
in the argv of the module commands, and the real-time connection Discuss
loses with and without the design.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A generated lockup drew its title in the primary color with an
on-primary outline. On a header or sidebar that a role maps onto the
frame token, that put primary-colored text on a primary-toned ground.
A slot now takes `frame: true` in the role's design entry. The asset
action receives a second color pair from the palette, the on-frame
color as fill and the frame color as outline, and the renderer picks
the pair per slot. Slots without the flag render as before.
Keycloak calls the asset action directly and already rendered its
brand slot in the on-frame color, so it passes that color for both
pairs and keeps its output.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Two defects of the role showed up on a compose stack with Keycloak
26.8.0 and are written down for the logic branch.
Every API call of a signed-in user answers 401: the controller
introspects the frontend's token with its own client, and Keycloak
rejects that because the client is not in the token audience. The
dashboard shell still renders, so the sign-in spec stays green.
A controller without an object store exits in a restart loop while the
deploy ends without a failure, since the compose file waits for the
container to start, not to be healthy.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The Hugo documentation site reads no parameter for color, logo or
stylesheet, so the injected carriers bring the corporate design. The
design entry declares slots for favicon, touch icon and logo.
The role stylesheet maps the color variables of the Tailwind theme onto
the design tokens, once for the light and once for the dark variable
set, because the dark utilities read other variables. Selector rules
cover what a variable cannot express: the frame of header and footer,
primary fills, alerts, badges, table heads, tabs, the search panel and
the syntax colors. The header shows the logo symbol with the title as
text in the frame text tone. The sheet renders empty for any source
other than the Hugo documentation, whose markup it is written for.
A design script mirrors the choice of the theme switch into the design
theme, appends the configured title and points the icon links at the
generated assets.
The spec asserts tokens, page, frame, article content, alerts, cards,
the theme switch, focus inside the header, the opaque scrolled header,
logo, favicon and title, and captures a gallery of 30 views. TODO.md
records three findings: the Google tag of the upstream project on every
page, a search that the content security policy keeps empty and a last
modification date that is always the zero date.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
n8n 2 installs its dependencies as a strict pnpm tree, so the hook's
require('router/lib/layer') and require('bcryptjs') no longer resolve
from the hook file. The n8n.ready hook failed with "Cannot find module
'router/lib/layer'", n8n exited, and the deploy ran into the timeout of
the readiness check. The hook now resolves both through n8n's own
module, the router by way of express.
A user's role is a relation in n8n 2. The hook loads it together with
the user, since the role check refuses an account without it, and
creates a new account with the role as an object, the shape n8n's own
SSO code passes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The entrypoint removed the old tree before it copied the new one. A
copy that failed left the volume without a working Moodle, and every
restart removed again instead of recovering. It now copies into a
staging directory inside the volume and swaps the trees once the copy
is complete, so a failed copy leaves the old tree in place.
An image that ships an older release than the volume records no longer
replaces it and exits with a message instead. Two instances on
different releases would otherwise overwrite each other's tree.
upgrade.php reports "No upgrade needed" on stderr, so the task counted
every run on a current site as a change. It reads stderr now.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
MCP Adapter 0.7.0 for WordPress refuses a request that follows
initialize without the MCP-Protocol-Version header: 'Invalid Request:
MCP-Protocol-Version header is required for a 2025-06-18 session'. The
contract probe never sent it, so the CLI test of web-app-wordpress
failed at tools/list.
The probe now keeps the version the server answers initialize with and
sends it on every later request of the streamable HTTP transport, which
the specification asks of a client since 2025-06-18.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gitea-mcp-server 1.8.0 is the first release that ships a HEALTHCHECK,
and it is written in shell form for an image that has no shell. Every
probe ends in 'exec: "/bin/sh": no such file or directory', the
container turns unhealthy after three attempts, and Swarm replaces the
task about every 72 seconds, so the service never converges.
The role now declares the probe itself, in exec form and with the port
the sidecar listens on: without it the probe asks 8080 whatever the
server uses. The command took that port from the adapter's entry, it
now reads the sidecar's own.
The adapter waits for a healthy sidecar, so a probe that cannot pass
fails a compose deploy as well and not only a Swarm one.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The pin moved from 4.5.11 to 5.3.0, and the role fitted neither a new
install nor an existing one.
Moodle 5 serves from public/ and routes every other path through
r.php. nginx now uses public/ as its root, hands unknown paths to the
router and passes PATH_INFO for scripts with slash arguments, and
config.php declares the router as configured. The paths the role checks
and writes (version.php, auth, webservice, the OIDC plugin) moved below
public/, the URL of the OIDC plugin stays auth/oidc. The source archive
no longer contains vendor/, so the image installs the Composer
dependencies it declares. The OIDC plugin is pinned to v5.2.1, the
newest release.
An existing site kept its old code: the entrypoint filled the code
volume once and never again. It now records the release it copied and
replaces the tree when the image carries another one, and a new task
runs admin/cli/upgrade.php. Plugins that were installed through the web
interface are not carried over, the README says how to ship them.
A site installed with 5.3 forces login by default, which 4.5 did not,
so its start page answers 303 to the login page and the webserver
health check refused it. The role declares 200 and 303 as the codes
that check accepts: 200 is what an upgraded site keeps answering.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>