Repository navigation
[WEB.40] Profile CSP base-uri 'self' and plain profile stylesheets (completion follow-up) - #38
Merged
Merged
Conversation
The WebAssembly profile policy emitted base-uri 'none', which blocks the <base href="/"> of the Account and Chat shells. The relative framework loader then resolves under the shell path and the shells never start. Profiles now emit base-uri 'self'; the Site policy keeps base-uri 'none'. The Ui, App and Operations policy tests and the profile bundle doc pin the new token, and the Site test pins base-uri 'none'. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
The profile stylesheets began with React-era Tailwind v4 lines (an @import of tailwindcss, two @source lines and an @theme block). Nothing compiles them, so each profile requested a missing /tailwindcss stylesheet and --font-sans was undefined. The @theme variables now live on :root with the same names and values, and the rest of each stylesheet is unchanged. Each profile test project asserts that its stylesheet carries no @import "tailwindcss", @source, @theme, @apply or @tailwind and defines --font-sans on :root. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Contributor
Author
|
Reviewed 6795f18 for [WEB.40] epoch 2 (completion follow-up): approved. The review was an exact-head review at 2523056 plus a delta review at 6795f18. Reviewer: independent session w-deku-20261008-rev-web-40. Approvals are comments under one GitHub account, so independence is by session only.
Non-blocking: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claim: WEB.40 epoch 2 (w-deku-20261008-web-40), completion follow-up (DLV-41)
This fixes two defects in the delivered WEB.40 profiles, found during PRF.11's independent review (coordinator rulings S36 and S37).
base-uri: the profile policy emittedbase-uri 'none'. That blocks the shells' required<base href="/">, so/account/and/chat/never started in a browser.base-uri 'self', and every other token is unchanged.base-uri 'none'.@import "tailwindcss",@sourceand@themelines, which nothing compiles. Each load caused a/tailwindcss404 and a refused stylesheet, and--font-sanswas undefined.@importand@sourcelines are removed, and the@themevalues move into:rootunchanged.Browser boot check (installed Chrome 156 headless; profile bundle served with its own
_headers; no download):c8588681: 1 CSP violation per shell, and both shells stay on Loading./session/v1/bootstrap, a session API outside this static check (CLOUD.21 and CLOUD.22).Local gates under CI conditions (build slot):
Not run locally:
npm run policy, which stops at the local Node 24.20 vs the 24.21 pin; actionlint (not installed). Hosted CI is authoritative for both.Downstream: the CLOUD.85 verifier pins the old profile policy. Its follow-up moves the expected policy and the pins to this release, then the proof origin is redeployed.
🤖 Generated with Claude Code