Repository navigation
docs(rendered-views): record the brandable HTML default design - #19121
kyle-sexton wants to merge 5 commits into
Conversation
ADR 0133 records the owner's decisions on #16412: a consumer may override palette, type and logo; layout, the accessibility floor, the theme toggle and the comment box stay fixed. The setting lives in the convention home with userConfig as the per-user value, one lib/ token layer is copied per plugin through scripts/shared-copies.txt, and the chrome-carrying plugins migrate first. The rendered-views contract drops "no team or user theme override" and allows exactly those three overrides, pointing at the ADR. Refs: #16412 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… branding The owner chose on #16412 to let consumer branding embed a PNG or JPEG logo and brand font files as data: URLs, never loaded from a URL. ADR 0133 and the contract now say so, and record the page-policy widening (img-src data:, font-src data:) the first work item makes. Refs: #16412 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #19121 (docs only)I found no security issues. The pull request changes three Markdown files and no code, workflow, manifest or trust control:
None of the changed files matches a What I checked
No API credit is spent beyond this review run itself. critical-findings: 0 |
|
claude-review reviewed Code review: PR #19121 (docs only: ADR 0133 plus edits to the rendered-views contract and its changelog)I read the whole diff (3 files). This is a first review of this PR, not blocking-only. There are no prior findings and no settled threads. Findings (2, both inline on ADR 0133):
Against closing issue #16412:
Other notes:
Verifier dropped 0 of 3 candidates. |
The floor check in ADR 0133 named only body text, link text and focus, so a panel or muted override could render text below 4.5:1 while the contract promises no page is built below the floor. It now lists fg, muted and link on bg and panel, and focus on both, in both schemes. Line citations into the contract README and CHANGELOG moved to the lines they point at after this PR's own insertions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The pr-verify verifier failed head What it wrote (40 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
… change The chrome section allowed data: fonts and logos while the report profile and interactive rule 3 still refuse them. It now says both embedded forms wait on the img-src/font-src data: change ADR 0133 records, and stay refused until the first work item makes it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #16412
Closes #19169
Summary
Records the design for one shared, brandable HTML default for every plugin's rendered pages (ADR 0133) and updates the rendered-views contract so a consumer may override the palette, the type stacks and a logo through configuration. Every design choice comes from the owner's recorded decisions on #16412 (Q1 on 2026-11-17; Q2-Q5 on 2026-11-24) and #19169 (the
data:brand assets, 2026-11-25). This PR writes them down and adds no implementation.Fix
docs/adr/0133-let-a-consumer-brand-rendered-pages-through-one-shared-token-layer.md(new) covers:data:URLs; and a logo, as one inline SVG or one embeddeddata:PNG or JPEG. Nothing is ever loaded from a URL.fg,mutedandlinktext onbgandpanel; thefocusoutline on both) in both schemes. An override that fails is dropped.brandingsits indocs/conventions/rendered-views.yaml, withuserConfigas an optional per-user override, resolved in ADR 0075 order.lib/html-tokens.css, copied per plugin throughscripts/shared-copies.txt.docs/contracts/rendered-views/README.md: the shared chrome section allows those three overrides through configuration only. "No accent or palette picker" (a control on the page) still holds. The section also states that the report profile and interactive rule 3 keep refusing the embeddeddata:forms until work item feat(rendered-views): add the shared token layer and the branding setting #19170 makes the policy change.docs/contracts/rendered-views/CHANGELOG.md: a dated entry.Design points settled by the evidence, not by a new owner decision:
scripts/shared-copies.txt).sync-shared-copies.sh --check. A check against hardcoded palette or type values does not exist yet and has its own work item (feat(rendered-views): fail a page source that hardcodes palette or type tokens #19171).Loosened checks
img-src data:andfont-src data:, and the validator admits adata:URL with animage/png,image/jpegor font media type only in the logo slot and in@font-face. This PR records the design and changes no check. The widening lets a company's raster logo and brand fonts apply while the page stays one offline, self-contained file. Owner decision: docs(rendered-views): record the owner decision admitting data: brand assets #19169 (verbatim and owner-decisions row L436).Work items
Filed before merge, each with
Refs: #16412. Each is labeledsession-ownedso no lane builds against this design before it merges; the label comes off when this PR merges.brandingsetting (first; blocks the rest)--claypagesVerification
scripts/check-affected.sh --base HEAD~1 --no-fetch: 19 passed, 5 skipped (none applied) over 3 changed files, markdownlint included.check-line-citations.pyexit 0 (re-run on the review-fix commit);check-adr-numbers.sh --checkADR numbers unique;check-contract-clause-coverage.pypassed;check-purged-em-dashes.shclean.grep -rlE --exclude-dir=node_modules -e '--clay|prefers-color-scheme' pluginsfound 55 files, which leaves 26 page sources in 15 plugins once the chrome copies, evals, tests and non-page files are removed.Related
🤖 Generated with Claude Code