Skip to content

docs(design): bring trust_boundaries.md rows up to date with main - #753

Merged
JuroOravec merged 3 commits into
mainfrom
docs/trust-boundaries-current-rows
Nov 18, 2026
Merged

JuroOravec merged 3 commits into
mainfrom
docs/trust-boundaries-current-rows

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

What changed

docs/design/trust_boundaries.md rows now match what the code on main does. Every changed path:line cite was checked against origin/main (031b577fc).

  • Section 5: new rows for preview template / Layout(template=), markup in an attribute (c-<name>="<>...</>"), and safe_eval() / compile_expr() called by app code. The host-template row says where the source is compiled. The render_template docs column now says Missing. The security.md line cites are updated.
  • Section 7.2: placeholder values that hold a bidi control or a paragraph break are refused on the server and in the browser. The intro says that on a Vue page with i18n configured, Vue builds the page again in the browser. Line cites are updated.
  • Section 9: the handler row covers public methods inherited from app classes and the POST-only default. The CSRF row covers GET, HEAD and OPTIONS, and says the Origin check compares the host only.
  • Section 11: the cache key row splits key values (app code) from a <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.
  • Section 12: security_csp on a Vue page sends an empty host and does not report that markup, nor style attributes or srcdoc scripts. The security_javascript cites are updated.
  • Section 13: more names a map can still set (commandfor, popovertarget, form, and others). New text on the is key on components built on <c-element>, URL-named map values, and form= / target_id= ids. New rows for CNavigationMenuLink(target=, rel=, download=), CSkeleton sizes and label patterns.
  • Section 14: the runtime reads the app id from the stylesheet tags it adopts and from the start-data block.

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.py against the edited doc: 0 problems.
  • No em dashes; docs only, no code or tests.
  • Independent review (code pass, security pass, prose pass). It found no new hole. It reported four wrong cites, several claims stated too broadly, and two wording problems; all were fixed in the second commit.

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

@JuroOravec
JuroOravec merged commit 735c585 into main Nov 18, 2026
16 of 17 checks passed
@JuroOravec
JuroOravec deleted the docs/trust-boundaries-current-rows branch November 18, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant