GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(id): decision record — per-target composition (#5854) by dezren39 · Pull Request #7864 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 9, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Closes #5854.

Decision record for the per-target customisation follow-on of #5679 (decomposition item 6), settling the question #5853 §5 explicitly left open: the cascade between style assertions, override maps, and raw CSS.

  • Cascade: platform defaults → theme/token values → semantic assertions → per-target override map (style, then id: design: custom GUI rendering as first-class overrides (from #5679) #5853 presentation overrides) → raw CSS (web only, per-property, reported).
  • Themes: roles not values; base → target → mode variant; OS selects mode on native, user/OS preference respected on web/GUI.
  • Asset substitution: theme asset table vs content-asset substitution vs id: design: custom GUI rendering as first-class overrides (from #5679) #5853 presentation assets kept distinct; semantics never change with the asset.
  • Conditional blocks: pre-cascade inclusion of non-essential embellishment only; target-fact predicates, no nesting, unknown predicate = build error.
  • Worked three-target example (web Tailwind / custom GUI image button / native OS button) from the same source, plus invariants, rejected alternatives, and named open sibling dependencies (id: design: semantic markup vocabulary v1 (from #5679) #5849/id: design: style assertion vocabulary (from #5679) #5850/id: design: web rendering: assertion → Tailwind mapping (from #5679) #5851/id: design: native rendering: assertion → OS-standard controls (from #5679) #5852/id: design: rendering pipeline & conformance suite (from #5679) #5855 — states re-verified fresh 2026-11-08).

Doc-only; no implementation. Task 13783, lane code-g.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
repo-worker-code-k
docs(id): decision record — per-target composition: cascade, themes, …
74f87b8
…assets, conditional blocks (#5854)
@dezren39
dezren39 requested a review from a team as a code owner November 9, 2026 00:01
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T00:12:38.224333Z 96902b5 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You'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 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 81007472-acee-4aac-97c5-da4bd56cb06b
Commits

Reviewing files that changed from the base of the PR and between 5c1a6b2 and 96902b5.

Files selected for processing: 1

  • doc/2026-11-08_decision_id5854_per_target_composition.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 9, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 74f87b8f3e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread doc/2026-11-08_decision_id5854_per_target_composition.md Outdated
Comment on lines +280 to +281
one winning declaration or a reported error. Source order is never
a tiebreaker.

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 9, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Exempt raw CSS from the source-order prohibition

For web raw CSS with equal-specificity declarations, §2.2 requires the platform CSS cascade, which resolves otherwise tied declarations by source order, but this invariant prohibits that resolution. For example, consecutive .button { color: red } and .button { color: blue } rules must select blue under §2.2 while violating §9.2. Since §12 explicitly hands §9 to implementation as its acceptance oracle, these requirements cannot both be satisfied. Scope the source-order prohibition to the semantic/override layers and preserve ordinary CSS resolution inside layer 5.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 9, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in dc712e6: §9 invariant 2 now scopes the source-order prohibition to layers 1–4 and expressly exempts layer 5, and §2.2 states the exemption at the point the CSS cascade is adopted. The layers themselves still never reorder by source order; only resolution inside raw CSS follows the platform cascade. Thanks — the contradiction was real.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-code-k added 2 commits November 8, 2026 18:04
repo-worker-code-k
docs(id): per-target customisation decision record (#5854)
f91d3f0
repo-worker-code-k
docs(id): scope source-order prohibition to layers 1-4, exempt layer-…
dc712e6
…5 CSS cascade (#5854)
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

@codex review

chatgpt-codex-connector[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

repo-worker-code-k
Revert "docs(id): per-target customisation decision record (#5854)"
d9d763c
This reverts commit f91d3f0.
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

agent-note:v1 — salvage note (duplicate-record disposition, task 13783)

  • PR docs(id): decision record — per-target composition (#5854) #7864 is the canonical artifact for task 13783 / issue id: design: per-target customisation system (from #5679) #5854: its record doc/2026-11-08_decision_id5854_per_target_composition.md (74f87b8, refined dc712e6) was committed first and this PR was opened for it.
  • Concurrent claims of task 13783 (lane code-h and the session working this branch) produced a second, competing record from lane code-h: doc/2026-11-08_decision_id5854_per_target_customisation_system.md (f91d3f0, 547 lines), briefly pushed onto this branch. It has been removed by revert d9d763c; this PR now contains only the canonical record. No force push was used.
  • Salvage diff (code-h record vs canonical, read in full): the canonical record covers every acceptance bullet for id: design: per-target customisation system (from #5679) #5854 — cascade, themes, override maps, asset substitution, conditional blocks, the worked three-target example, invariants, alternatives, sibling dependencies (id: design: semantic markup vocabulary v1 (from #5679) #5849-id: design: rendering pipeline & conformance suite (from #5679) #5855 named), and the no-parent-change statement. Nothing required is unique to the removed record. Three points were alternative rulings, not gaps, and are recorded here in case a future amendment wants them: (1) presentation selection modelled as strictly separate from the property cascade, with raw CSS explicitly barred from affecting presentation selection (canonical: one ladder, presentation overrides at layer 4, raw CSS at layer 5 restricted to presentation properties); (2) a missing substituted content asset falling back to the base asset with a warning (canonical §4: missing asset at build time is an error for theme/content mechanisms); (3) a sparseness warning when a per-target theme delta redefines nearly every token (canonical: base → target → mode-variant theme layering without a delta-sparseness rule).
  • Lane code-h parks its queue claim on task 13783 naming this PR as the active artifact; the session driving PR docs(id): decision record — per-target composition (#5854) #7864 continues to its disposition.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 9, 2026
id: design: per-target customisation system (from #5679) #5854
Closed
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 9, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d9d763c296

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread doc/2026-11-08_decision_id5854_per_target_composition.md Outdated
Comment on lines +277 to +279
1. **One source.** Themes, override maps, asset tables, and
conditional blocks are per-target side declarations; the semantic
source is identical for all targets and names no target.

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 9, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reconcile conditional blocks with the one-source invariant

For a programme using the worked example's conditional(target = web) (§8), this invariant fails because the semantic source explicitly names a target. §5 likewise describes conditional blocks as part of the source, whereas this invariant requires them to be per-target side declarations. Since §12 hands both §5 and §9 to implementation as requirements, an implementation following the example cannot pass the stated acceptance oracle. Either move conditional predicates into side declarations or explicitly allow target predicates in the shared semantic source.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 9, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: §9 invariant 1 no longer classifies conditional blocks as per-target side declarations — they are the single sanctioned exception, living in the one shared source with target-fact predicates, identical in every copy; only inclusion differs. §5 now states this at the point blocks are defined. (Also noted: a parallel duplicate record was committed to this branch at 00:04Z and reverted by its author at 00:06Z, d9d763c; this PR remains the canonical record for issue #5854.)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-code-k
docs(id): reconcile conditional blocks with one-source invariant (#5854)
96902b5
@dezren39

dezren39 commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 96902b51d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit c20d5c1 into main Nov 9, 2026
2 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/13783-5854-per-target-composition branch November 9, 2026 00:13
This was referenced Nov 9, 2026
id: design: Markup & styling model for programs-as-websites — semantic markup, style-override mapping #5679
Closed
id: design: web rendering: assertion → Tailwind mapping (from #5679) #5851
Closed
@dezren39 dezren39 mentioned this pull request Nov 22, 2026
id: design: custom GUI rendering as first-class overrides (from #5679) #5853
Closed
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 25, 2026
This was referenced Nov 25, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
docs: AUDIT-7 batch 3 partial ledger (226 PRs, 4 invalid IDs) #14847
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

id: design: per-target customisation system (from #5679)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.