Repository navigation
docs(design): bring trust_boundaries.md rows up to date with main - #753
Merged
Merged
Conversation
Update the rows in sections 5, 7.2, 9, 11, 12, 13 and 14 to match what the code on main does, and re-point the line cites in those rows. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KUhrHXH1mNfRCnPcsQt7ED
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.
What changed
docs/design/trust_boundaries.mdrows now match what the code onmaindoes. Every changedpath:linecite was checked againstorigin/main(031b577fc).template/Layout(template=), markup in an attribute (c-<name>="<>...</>"), andsafe_eval()/compile_expr()called by app code. The host-template row says where the source is compiled. Therender_templatedocs column now says Missing. Thesecurity.mdline cites are updated.POST-only default. The CSRF row coversGET,HEADandOPTIONS, and says theOrigincheck compares the host only.<c-cache>key(author only, shared across the app). Also new: the"stateless"hook rule, State stored with the cached HTML, and stores that unpickle what they read.security_cspon a Vue page sends an empty host and does not report that markup, norstyleattributes orsrcdocscripts. Thesecurity_javascriptcites are updated.commandfor,popovertarget,form, and others). New text on theiskey on components built on<c-element>, URL-named map values, andform=/target_id=ids. New rows forCNavigationMenuLink(target=, rel=, download=),CSkeletonsizes and label patterns.Why
These rows had fallen behind behavior already on
main. A row that lags the code tells app authors the wrong trust level.Checks
scripts/validators/trust_boundary_rows.pyagainst the edited doc: 0 problems.Versioning
Docs only, under
docs/design/. Nothing the 1.x promise covers changes, and no changelog entry is needed.🤖 Generated with Claude Code
https://claude.ai/code/session_01KUhrHXH1mNfRCnPcsQt7ED