You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
One shared, brandable HTML default for every plugin's rendered pages #16412
Skills across the marketplace render HTML pages, and each family carries its own styling. One shared chrome exists (lib/html-chrome.html), registered in three plugins (scripts/shared-copies.txt:558-560). Beyond those, files with a prefers-color-scheme rule sit in 17 plugins and files defining the palette token --clay in 9 (grep over plugins/, 2026-11-14). A consumer cannot apply their own company or product branding: the rendered-views contract says "A page offers no other theme choice: no team or user theme override, no accent or palette picker" (docs/contracts/rendered-views/README.md:849-850).
Owner direction (2026-11-14)
One shared default template with styling that every plugin's HTML output reuses, extensible and configurable, so a downstream consumer can supply their branding once and have it apply everywhere; a page family keeps its own base only where its requirements differ (the shared interview surface may be one). Our defaults stay the shipped look and keep improving.
What a design round has to settle
Reversing the contract line above: what a consumer may override (palette, type, logo, layout) and where the setting lives (the convention home, user config, both).
One token layer over the shared chrome, and how each plugin takes it without importing a sibling plugin's files.
Which existing templates move to it, in what order, and which stay apart with a stated reason.
How the result is kept from drifting (a check, not prose).
Done when
A design is recorded through /planning:design, the contract is updated, and work items exist for the migration.
Related
Raised during the cohort-005 Codebase Design workshop review of architecture:improve's report.
Size: Large
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: the rendered-views contract doc, a new design record, and migration work items. Later migration touches every plugin that renders HTML, and plugin authors and consumers read it.
Reversible: yes; this issue adds docs and work items, which can be reverted or closed.
Claims checked:
The contract bars a team or user theme override and palette picker: held, but at docs/contracts/rendered-views/README.md:867-868, not the 849-850 the issue cites.
lib/html-chrome.html is registered in three plugins: not held, scripts/shared-copies.txt:640-643 lists four (visualization, adhd, planning, architecture). The issue's line numbers (558-560) are stale too.
Open questions: none
I read this as a design-and-docs issue: record a design through /planning:design, update the contract to allow palette, type and logo overrides, and file migration work items. The owner's two recorded decisions settle the override scope, where the setting lives, how plugins take the token layer, and the migration order. That leaves no open owner question. The remaining steps are an attended /planning:design round, so the host-run label stays. The shared-copies listing now has four chrome plugins, so the design round should decide whether architecture migrates first with the other three.
Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: A design recorded through /planning:design that reverses the contract's no-theme-override rule, defines one shared token layer over lib/html-chrome.html with a consumer branding setting, and lists migration work items plus a drift check.
Which overrides may a consumer set: palette tokens only, or also type, logo and layout?
RECOMMENDED: Palette, type and logo only. Keep layout and the accessibility floor, the theme toggle and the comment box fixed. Basis: docs/contracts/rendered-views/README.md:854-859
Where does the branding setting live: the convention home, user config, or both with a stated precedence?
RECOMMENDED: The convention home as the primary source, with user config as an optional per-user override, and the convention home winning on conflict. Basis: judgment
How does each plugin take the token layer without importing a sibling plugin's files?
RECOMMENDED: Add one lib source for the token layer and register a copy per plugin in scripts/shared-copies.txt, as html-chrome.html is handled, with a check that the copies match. Basis: scripts/shared-copies.txt:560-562
Which templates migrate first, and which stay apart? Is the shared interview surface the only exception?
RECOMMENDED: Migrate the three plugins that already carry the chrome (visualization, adhd, planning) first, then the rest by the --clay and prefers-color-scheme inventory. Keep the interview surface apart only with a stated reason. Basis: scripts/shared-copies.txt:560-562
Is the done-when a design plus work items only, with no implementation in this issue? It also has no task list, so what should the checkable items be?
RECOMMENDED: Yes: three items: a design recorded via /planning:design, the contract line at docs/contracts/rendered-views/README.md:856 updated, and migration work items filed. Plan the design round as an attended step, since it needs owner decisions. Basis: judgment
Sources read
docs/contracts/rendered-views/README.md:854-859: the chrome is one for every page family and a page offers no team or user theme override or accent or palette picker; built views copy the chrome verbatim
scripts/shared-copies.txt:560-562: lib/html-chrome.html is copied to the visualization, adhd and planning plugins' reference/html-chrome.html
To answer, post a comment that starts with this line:
**Decision recorded.** <answer>
Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.
Decision recorded. The owner chose that a consumer may override palette, type and logo in the shared HTML default.
Question as put to the owner (Q45): one brandable HTML default for rendered pages.
A (recommended, chosen): a consumer may override palette, type and logo.
B: palette only.
C: a full design interview first.
Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."
This settles the first item of "What a design round has to settle": a consumer may override palette, type and logo; layout, the accessibility floor, the theme toggle and the comment box stay fixed. It reverses the rendered-views contract line "no team or user theme override, no accent or palette picker" for those three. The refinement's recommendations for the other design questions (the setting in the convention home with an optional user-config override, the convention home winning; one lib/ token-layer source copied per plugin through scripts/shared-copies.txt; the three chrome plugins migrated first) are the design round's starting answers, not decided here.
Acceptance criteria
This is host work (an attended /planning:design round and filing work items).
A design is recorded through /planning:design, with palette, type and logo as the consumer overrides and layout, the accessibility floor, the theme toggle and the comment box fixed.
The design settles where the setting lives, the token layer over the shared chrome and how each plugin takes it without importing a sibling plugin's files, the migration order (and which templates stay apart, with a reason), and a check that keeps the result from drifting.
docs/contracts/rendered-views/README.md is updated to allow the palette, type and logo override and no other.
Work items exist for the migration, each linked from this issue.
Decision recorded. The owner accepted the refinement's recommendations for Q2-Q5 as written (owner, in session 2026-11-24, verbatim: "/session-flow:go-with-recommendations", accepting "accept the refinement's Q2-Q5 as written"):
Q2: the branding setting lives in the convention home, with user config as an optional per-user override; the convention home wins on conflict.
Q3: one lib/ source for the token layer, registered as a copy per plugin in scripts/shared-copies.txt (as html-chrome.html is), with a check that the copies match.
Q4: visualization, adhd and planning migrate first, then the rest by the --clay and prefers-color-scheme inventory. The shared interview surface stays apart only with a stated reason.
Q5: done means the recorded design, the contract edit (docs/contracts/rendered-views/README.md:867-868) and the filed migration work items, with no implementation in this issue.
With Q1 already decided (palette, type and logo; layout, the accessibility floor, the theme toggle and the comment box fixed), the design round's choices are settled, and a host run can write the design record, the contract edit and the work items.
Activity
github-actions commentedon Nov 15, 2026
Size: Large
Complexity: Medium
Uncertainty: Knowable
Flags: none
Blocked by: none
Blast radius: the rendered-views contract doc, a new design record, and migration work items. Later migration touches every plugin that renders HTML, and plugin authors and consumers read it.
Reversible: yes; this issue adds docs and work items, which can be reverted or closed.
Claims checked:
docs/contracts/rendered-views/README.md:867-868, not the 849-850 the issue cites.lib/html-chrome.htmlis registered in three plugins: not held,scripts/shared-copies.txt:640-643lists four (visualization, adhd, planning, architecture). The issue's line numbers (558-560) are stale too.Open questions: none
I read this as a design-and-docs issue: record a design through
/planning:design, update the contract to allow palette, type and logo overrides, and file migration work items. The owner's two recorded decisions settle the override scope, where the setting lives, how plugins take the token layer, and the migration order. That leaves no open owner question. The remaining steps are an attended/planning:designround, so thehost-runlabel stays. The shared-copies listing now has four chrome plugins, so the design round should decide whether architecture migrates first with the other three.Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 15, 2026
Not admitted to the issue lane: it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).melodic-automation-lanes commentedon Nov 15, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: A design recorded through /planning:design that reverses the contract's no-theme-override rule, defines one shared token layer over lib/html-chrome.html with a consumer branding setting, and lists migration work items plus a drift check.
Related work
Open questions
RECOMMENDED: Palette, type and logo only. Keep layout and the accessibility floor, the theme toggle and the comment box fixed. Basis: docs/contracts/rendered-views/README.md:854-859
RECOMMENDED: The convention home as the primary source, with user config as an optional per-user override, and the convention home winning on conflict. Basis: judgment
RECOMMENDED: Add one lib source for the token layer and register a copy per plugin in scripts/shared-copies.txt, as html-chrome.html is handled, with a check that the copies match. Basis: scripts/shared-copies.txt:560-562
RECOMMENDED: Migrate the three plugins that already carry the chrome (visualization, adhd, planning) first, then the rest by the --clay and prefers-color-scheme inventory. Keep the interview surface apart only with a stated reason. Basis: scripts/shared-copies.txt:560-562
RECOMMENDED: Yes: three items: a design recorded via /planning:design, the contract line at docs/contracts/rendered-views/README.md:856 updated, and migration work items filed. Plan the design round as an attended step, since it needs owner decisions. Basis: judgment
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 17, 2026
Decision recorded. The owner chose that a consumer may override palette, type and logo in the shared HTML default.
Question as put to the owner (Q45): one brandable HTML default for rendered pages.
Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."
This settles the first item of "What a design round has to settle": a consumer may override palette, type and logo; layout, the accessibility floor, the theme toggle and the comment box stay fixed. It reverses the rendered-views contract line "no team or user theme override, no accent or palette picker" for those three. The refinement's recommendations for the other design questions (the setting in the convention home with an optional user-config override, the convention home winning; one
lib/token-layer source copied per plugin throughscripts/shared-copies.txt; the three chrome plugins migrated first) are the design round's starting answers, not decided here.Acceptance criteria
This is host work (an attended
/planning:designround and filing work items)./planning:design, with palette, type and logo as the consumer overrides and layout, the accessibility floor, the theme toggle and the comment box fixed.docs/contracts/rendered-views/README.mdis updated to allow the palette, type and logo override and no other.Posted by an agent session.
github-actions commentedon Nov 17, 2026
A listed human released the issue's Work status hold, so it goes back to intake triage.
kyle-sexton commentedon Nov 24, 2026
Decision recorded. The owner accepted the refinement's recommendations for Q2-Q5 as written (owner, in session 2026-11-24, verbatim: "/session-flow:go-with-recommendations", accepting "accept the refinement's Q2-Q5 as written"):
lib/source for the token layer, registered as a copy per plugin inscripts/shared-copies.txt(ashtml-chrome.htmlis), with a check that the copies match.--clayandprefers-color-schemeinventory. The shared interview surface stays apart only with a stated reason.docs/contracts/rendered-views/README.md:867-868) and the filed migration work items, with no implementation in this issue.With Q1 already decided (palette, type and logo; layout, the accessibility floor, the theme toggle and the comment box fixed), the design round's choices are settled, and a host run can write the design record, the contract edit and the work items.
docs(rendered-views): allow an embedded raster logo and font files in…