Repository navigation
id-render: stage 3 compose — #5854 cascade over data-supplied tables - #10768
Conversation
Codex Review Summary: ❌ FailedThis 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. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 19 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Part of #7918 (stage 3 of 5). Queue task 14566, lane any-c.
What this lands
Stage 3 — compose (#5855 §2.1) for
pkgs/id/crates/id-render, executing the composition order settled by decision record #5854 over data-supplied composition tables:<raw kind="css">region's declarations are layer-5 candidates for its containing element (selector text carried verbatim for the web emitter, which owns real selector matching inside layer 5). On web they win per property and displacing an assertion-derived value is a reported override; off-web they are ignored with a warning, never translated. Malformed fragments warn instead of dropping silently (invariant 9).Elements are addressed by deterministic document paths (
document/page[0]/form[0]/button[0]) derived from the IR — no source syntax is invented for bindings. Assertions enter as data because theassertslot's grammar is #5850's and is still carried opaquely (assumption A2).Deliberately not in this slice
TargetSpecalready carries exactly the facts §5 predicates may name (target name, form-factor, capability flags), so the stage is ready when the vocabulary lands.CompositionReportis the compose half of the §6 report those stages extend.Tests
cargo test -p id-render— 25 passed (15 existing pipeline + 10 new compose tests, each naming the decision behaviour it verifies: cascade order, specificity/ties, theme layering + mode fallback, §6b/§6c/§6d/§6e reporting, presentation-override fallback semantics, target locality, malformed-CSS warning).Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.