Skip to content

Seed v3 Colophon design system for OpenClaw Windows Hub - #1395

Merged
karkarl merged 34 commits into
mainfrom
karkarl-seed-design-system-v3
Oct 22, 2026
Merged

karkarl merged 34 commits into
mainfrom
karkarl-seed-design-system-v3

Conversation

@karkarl

@karkarl karkarl commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Gives contributors a versioned Fluent design reference that follows OpenClaw's shipping Windows controls instead of generic web approximations.

User Impact

User impact: contributors can inspect 39 reusable control and composition examples across Components, Setup, Chat, and Settings. This is design data and documentation only; shipping application behavior is unchanged.

Browser examples are not a verified pixel-identical native renderer. Native high contrast, acrylic, font/shadow rasterization, and expander animation remain explicitly unproven or unsupported.

Why This Change Was Made

Root DESIGN.md owns tokens, resource mappings, production authority, and rationale. .agents/design/components.jsonc uses the v3 semantic graph, shared controls, and stable node IDs; colophon.jsonc supplies the presentation profile. The managed AGENTS.md pointer makes the design discoverable without requiring the plugin.

Shipping WinUI 3 and Reactor implementations remain canonical. Colors bind named Fluent resources in production; preview swatches are not shipping constants. The catalog retains exact authored padding where established, native glyphs, alpha-preserving surfaces, and documented renderer limitations rather than inventing native parity.

Current examples include the shared interactive ToggleSwitch, immediate HTML expander disclosure, the content-only Settings shell, Reactor chat geometry, workspace chrome, and separate populated/empty notification presenters with native resource and spacing mappings. The installed Colophon plugin is unchanged.

Evidence

Current published head: 2b02fa90647c5f1f8d50493fc79b7d2df160b996.

  • Static validation: all 39 definitions parse, validate, expand, and have exactly one page assignment: Components 15, Setup 6, Chat 7, Settings 11.
  • Notification checks: native presenter/card resource mappings, authored spacing, glyphs, shared hyperlinks, empty state, and unchanged supplied-reference bytes pass. The 37 pre-existing definitions outside the notification change and prior color tokens are unchanged against the checkpoint baseline.
  • Documentation validation: 57 Markdown files pass, including the seven-pool validator and documentation-flow regression.
  • Current-head screenshot proof is pending. A separate four-input capture package enumerates all 39 definitions in light/dark/high-contrast preview themes, totaling 117 full-component screenshots. Syntax, static coverage, and the no-grant rejection control pass. It has not launched a browser or produced screenshots; source review and fresh shared-host admission are required.

Reference files are not substitutes for current-head catalog proof: supplied native notification image and historical chat comparison.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Design references cover those UI surfaces, but no shipping UI, application code, tests, build files, or installed-plugin files are modified. The branch changes only DESIGN.md, .agents/design/, and the managed AGENTS.md pointer.

Required proof pools

  • none: design-data/documentation-only changes do not alter shipping WinUI, MCP, node, setup, pairing, or gateway behavior. Planned headless catalog screenshots are browser resource simulations, not windows-winui-interactive proof. The shared-host browser admission requirement remains a separate outstanding prerequisite.

Validation

Command Result
node <session-files>\notification-design-diagnostic-20261020-g\verify-notification-design.mjs --static-only PASS: 39 definitions; exact page coverage, native notification mapping, 37 unchanged prior definitions, prior colors, and reference-byte checks. No browser launched.
node <session-files>\catalog-design-diagnostic-20261021-a\verify-catalog-design.mjs --static-only PASS: inherited 39-definition checks plus exact 117-capture enumeration and PNG-shape controls. No browser launched.
node --check <file> for all three catalog .mjs inputs PASS: 3/3 syntax checks.
node <session-files>\catalog-design-diagnostic-20261021-a\verify-catalog-design.mjs with its grant variable absent PASS negative control: rejected before browser/profile/output creation; exactly four input files remain.
.\scripts\validate-docs.ps1 PASS: 57 Markdown files; seven named proof pools and documentation-flow regression.
git diff --check and git diff --cached --check before commit PASS. Current worktree is clean.
git diff origin/main...HEAD --stat PASS scope check: six design/documentation/reference files only.
.\build.ps1 NOT RUN: no application/test/build code changes in this design-only branch.
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore NOT RUN: design-only scope; no application test pass claimed.
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore NOT RUN: design-only scope; no application test pass claimed.

<session-files> denotes local proof artifacts, not files committed in this PR. Source bindings: DESIGN 65E0BA9E, components 56D566D7, supplied notification image 5A7642AF, native notification XAML B370AFDF (SHA-256 prefixes).

Automated text review was attempted against a byte-matched, explicitly text-only snapshot with the reference image separately inspected. Codex failed with HTTP401 before returning a verdict. No successful automated review is claimed.

Real Behavior Proof

  • Environment tested: Windows static validators and read-only installed Colophon parsers. Current-head browser rendering has not been exercised by the pending catalog package.
  • PR head or commit tested: 2b02fa90647c5f1f8d50493fc79b7d2df160b996.
  • Exact steps or command run: the static-only commands listed above. Browser entrypoint not admitted or run.
  • Evidence after fix: PASS: 39 unique definitions x 3 themes = 117 named captures; PNG shape controls. No browser started. This establishes preparation only, not rendered behavior.
  • Observed result: all current definitions validate/expand and capture coverage is enumerated. No new catalog screenshots are attached yet.
  • Screenshot or artifact links verified? (Yes/No/N/A) No for the requested current-head catalog screenshots; none have been produced.
  • Not verified or blocked: source review and fresh dated shared-host grant for browser capture, subsequent independent process-drain audit and release, screenshot inspection/upload/link verification, native pixel identity, native Windows high contrast, acrylic/font/shadow identity, and native expander animation. Browser high-contrast swatches must not be described as Windows high-contrast proof.

Security Impact

  • New permissions or capabilities? (Yes/No) No.
  • Secrets or tokens handling changed? (Yes/No) No.
  • New or changed network calls? (Yes/No) No shipping network changes.
  • Command or tool execution surface changed? (Yes/No) No.
  • Data access scope changed? (Yes/No) No.
  • If any answer is Yes, explain the risk and mitigation: N/A.

Compatibility and Migration

  • Backward compatible? (Yes/No) Yes for shipping application behavior; this is a standalone design seed rather than an application migration.
  • Config or environment changes? (Yes/No) No application configuration changes. The optional catalog uses Colophon's v3 graph and its persistent-state/geometry-transition support.
  • Migration needed? (Yes/No) No application migration. The unmerged earlier seed is not a prerequisite; this branch uses root DESIGN.md, not the obsolete legacy design.json/principles.md layout.
  • If yes, list the exact upgrade steps: N/A.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

Carry over the v1 design.json tokens/brand/authority and principles.md verbatim, port all 9 components (Button, Field, Card, Badge, ComposerPicker, ChatBubble, ChatComposer, ChatThread, ExampleScreen) from raw-CSS attrs.style to v3 Auto Layout with token-bound layout/appearance, and add a v3 colophon.jsonc presentation profile. Adds the idempotent Colophon pointer block to AGENTS.md.

Co-authored-by: Copilot App <[email protected]>
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 10, 2026
@clawsweeper

clawsweeper Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Codex review: needs changes before merge. Reviewed October 5, 2026, 2:06 AM ET / 06:06 UTC (Revision 24).

ClawSweeper review

What this changes

Adds a Fluent design guide, 34 preview components, three catalog pages, a Colophon presentation profile, and instructions for future Windows UI work.

Merge readiness

⛔ Needs changes before merge - 12 items remain

This remains a distinct, collaborator-authored contribution. The latest commit fixes the chat documentation link and adds supported catalog pages, but eleven previously reported preview and guidance defects remain.

Priority: P2
Reviewed head: ad7aaaca86951dce8ed8e445a004cd588609c034

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful design coverage remains, but source-proven preview and guidance defects prevent adoption.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary contributor gate is exempt for this COLLABORATOR-authored PR. The inspected historical Colophon screenshot shows an older composer, rather than the current catalog and pages; repository guidance still calls for current preview evidence or an explicit focused blocker. No stored application-data contract changes.
Patch quality 🦐 gold shrimp (3/6) 11 actionable review findings remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary contributor gate is exempt for this COLLABORATOR-authored PR. The inspected historical Colophon screenshot shows an older composer, rather than the current catalog and pages; repository guidance still calls for current preview evidence or an explicit focused blocker. No stored application-data contract changes.
Evidence reviewed 10 items Pinned introduction scope: The main-to-head delta adds 3,889 lines across four files or file sections. The complete component catalog was read through compact serialization of every component; no shipping application, test, build, or workflow code changes.
Re-review continuity: The previous completed comment was retrieved with its captured update timestamp, 2026-10-05T03:49:17Z, recovering all twelve prior findings. Git tree identities confirm components.jsonc and colophon.jsonc are unchanged. The GitHub comparison shows only DESIGN.md changed: catalog pages were added, the chat link was repaired, and catalog prose was updated. Eleven prior findings remain.
Still necessary on main and release: Neither fetched main nor v2026.9.4 contains DESIGN.md or the proposed design directory. The earlier seed at #962 closed unmerged. The merged Workspace implementation does not supply this catalog.
Findings 11 actionable findings [P2] Use selectable controls in the picker preview
[P2] Preserve generated styles when applying icon fonts
[P2] Remove the unsupported presentation profile
Security None None.

How this fits together

The design catalog translates shipping Windows controls into reusable tokens and Colophon previews. Agents consume this guidance when implementing native WinUI and Reactor surfaces.

flowchart LR
  A[Shipping Windows controls] --> B[Design guide and tokens]
  B --> C[Component catalog]
  C --> D[Colophon preview]
  B --> E[Agent UI guidance]
  E --> F[Native UI implementation]
Loading

Before merge

  • Use selectable controls in the picker preview (P2) - The rows are labels with fixed aria-checked values and no radio inputs. Colophon closes this flyout on a radio-input change, so selecting another option cannot change selection or restore trigger focus as the note promises.
  • Preserve generated styles when applying icon fonts (P2) - Colophon applies generated styles before authored attributes. This attrs.style replaces the checkmark's accent color, width, and alignment; other icon nodes combining raw style with appearance have the same failure. Use supported markup that retains generated styling.
  • Remove the unsupported presentation profile (P2) - The cited Colophon revision has neither this schema nor a profile loader, and its aggregate validator never reads this file. The theme and navigation settings therefore have no effect. Remove the unsupported file and validation claims, or identify an implemented consuming contract.
  • Keep the agent badge presentational inside the selector (P2) - The shipping badge is a UserControl containing avatar and text; its surrounding ComboBox owns selection, focus, and the chevron. Modeling the badge as a DropDownButton contradicts the claimed production reference and directs future ports toward a competing interaction owner.
  • Match the owner status dot to its displayed status (P2) - The badge accepts a status caption but always renders a positive dot. Supplying Disconnected through WorkspaceShell produces a green connected indicator beside that caption. Provide matching tone-specific presentation or constrain the supported example values.
  • Give the promised preview borders a width (P2) - This plain div supplies only borderColor. Colophon emits border-style only when borderWidth is present, so the composer hairline does not render. The same omission affects avatar, notification, setup, and settings panels whose notes promise visible borders.
  • Represent the composer prompt as placeholder state (P2) - The prompt is editable content inside a contenteditable div. The first keystroke edits or appends to the prompt instead of starting an empty message. Use an empty supported input with a placeholder.
  • Render standard buttons with standard appearance (P2) - SetupWizardShell and SettingsCard pass variant:standard, but this template always emits inline accent colors and primary interaction states. Colophon has no ds-btn-standard rule, and ordinary class styling cannot override these inline colors. Back and Change consequently render as primary actions.
  • Describe the repository's actual build toolchain (P2) - The repository builds through build.ps1 and dotnet/MSBuild with existing SDK packaging configuration. WinAppCLI is an optional launcher selected by -UseWinApp, rather than the exclusive build and packaging tool claimed here and in the closing prose. Correct the guidance so agents follow the supported workflow.
  • Remove references to absent design companions (P3) - The metadata still names components.jsx, and this paragraph presents prototypes.jsonc as an available companion. Neither file exists in the branch or main. Name components.jsonc and describe prototypes as optional future authoring.
  • Remove em dashes from required agent-facing catalog copy (P3) - The catalog notes and sample chat messages retain em dashes despite the repository prohibition on agent-facing help and user-facing prose. The new AGENTS pointer makes this catalog required UI guidance; replace these occurrences with permitted punctuation.
  • Complete next step (P2) - Repair the remaining findings, refresh the stale PR description, and supply current-head preview evidence or an explicit focused blocker.

Findings

  • [P2] Use selectable controls in the picker preview — .agents/design/components.jsonc:560-563
  • [P2] Preserve generated styles when applying icon fonts — .agents/design/components.jsonc:565
  • [P2] Remove the unsupported presentation profile — .agents/design/colophon.jsonc:2-4
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Catalog scope 34 components, 3 catalog pages, 4 files, +3,889 lines The catalog becomes required guidance for future UI work despite changing no shipping controls.
Production and tests production +0, tests +0 All growth is design guidance and preview data, consistent with the design-only purpose.
Prior findings 1 fixed, 11 remain The latest commit repairs the chat link while leaving the catalog and profile unchanged.

Technical review

Best possible solution:

Maintain a catalog derived from shipping native controls, with supported Colophon interactions, accurate tooling guidance, and verified preview appearance.

Do we have a high-confidence way to reproduce the issue?

Yes, source establishes the proposed preview failures through Colophon's selection and styling owners; no live current-head canvas reproduction was executed.

Is this the best way to solve the issue?

No, the current catalog still contains unsupported interactions and inaccurate implementation guidance; repairing these files preserves the useful contribution.

Full review comments:

  • [P2] Use selectable controls in the picker preview — .agents/design/components.jsonc:560-563
    The rows are labels with fixed aria-checked values and no radio inputs. Colophon closes this flyout on a radio-input change, so selecting another option cannot change selection or restore trigger focus as the note promises.
    Confidence: 0.99
  • [P2] Preserve generated styles when applying icon fonts — .agents/design/components.jsonc:565
    Colophon applies generated styles before authored attributes. This attrs.style replaces the checkmark's accent color, width, and alignment; other icon nodes combining raw style with appearance have the same failure. Use supported markup that retains generated styling.
    Confidence: 0.99
  • [P2] Remove the unsupported presentation profile — .agents/design/colophon.jsonc:2-4
    The cited Colophon revision has neither this schema nor a profile loader, and its aggregate validator never reads this file. The theme and navigation settings therefore have no effect. Remove the unsupported file and validation claims, or identify an implemented consuming contract.
    Confidence: 0.99
  • [P2] Keep the agent badge presentational inside the selector — .agents/design/components.jsonc:1324-1329
    The shipping badge is a UserControl containing avatar and text; its surrounding ComboBox owns selection, focus, and the chevron. Modeling the badge as a DropDownButton contradicts the claimed production reference and directs future ports toward a competing interaction owner.
    Confidence: 0.97
  • [P2] Match the owner status dot to its displayed status — .agents/design/components.jsonc:1616-1618
    The badge accepts a status caption but always renders a positive dot. Supplying Disconnected through WorkspaceShell produces a green connected indicator beside that caption. Provide matching tone-specific presentation or constrain the supported example values.
    Confidence: 0.99
  • [P2] Give the promised preview borders a width — .agents/design/components.jsonc:853-856
    This plain div supplies only borderColor. Colophon emits border-style only when borderWidth is present, so the composer hairline does not render. The same omission affects avatar, notification, setup, and settings panels whose notes promise visible borders.
    Confidence: 0.99
  • [P2] Represent the composer prompt as placeholder state — .agents/design/components.jsonc:882-884
    The prompt is editable content inside a contenteditable div. The first keystroke edits or appends to the prompt instead of starting an empty message. Use an empty supported input with a placeholder.
    Confidence: 0.99
  • [P2] Render standard buttons with standard appearance — .agents/design/components.jsonc:32-37
    SetupWizardShell and SettingsCard pass variant:standard, but this template always emits inline accent colors and primary interaction states. Colophon has no ds-btn-standard rule, and ordinary class styling cannot override these inline colors. Back and Change consequently render as primary actions.
    Confidence: 0.99
  • [P2] Describe the repository's actual build toolchain — DESIGN.md:124
    The repository builds through build.ps1 and dotnet/MSBuild with existing SDK packaging configuration. WinAppCLI is an optional launcher selected by -UseWinApp, rather than the exclusive build and packaging tool claimed here and in the closing prose. Correct the guidance so agents follow the supported workflow.
    Confidence: 0.99
  • [P3] Remove references to absent design companions — DESIGN.md:389-390
    The metadata still names components.jsx, and this paragraph presents prototypes.jsonc as an available companion. Neither file exists in the branch or main. Name components.jsonc and describe prototypes as optional future authoring.
    Confidence: 0.99
  • [P3] Remove em dashes from required agent-facing catalog copy — .agents/design/components.jsonc:5
    The catalog notes and sample chat messages retain em dashes despite the repository prohibition on agent-facing help and user-facing prose. The new AGENTS pointer makes this catalog required UI guidance; replace these occurrences with permitted punctuation.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7127c16d537c.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Source-proven preview defects and inaccurate required UI guidance need correction before adoption.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The ordinary contributor gate is exempt for this COLLABORATOR-authored PR. The inspected historical Colophon screenshot shows an older composer, rather than the current catalog and pages; repository guidance still calls for current preview evidence or an explicit focused blocker. No stored application-data contract changes.

Evidence

Acceptance criteria:

  • [P1] git diff --check.
  • [P1] ./build.ps1.
  • [P1] dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore.
  • [P1] dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore.
  • [P1] Validate DESIGN.md and components.jsonc against the verified Colophon parser and validator contract.

What I checked:

  • Pinned introduction scope: The main-to-head delta adds 3,889 lines across four files or file sections. The complete component catalog was read through compact serialization of every component; no shipping application, test, build, or workflow code changes. (.agents/design/components.jsonc:1, ad7aaaca8695)
  • Re-review continuity: The previous completed comment was retrieved with its captured update timestamp, 2026-10-05T03:49:17Z, recovering all twelve prior findings. Git tree identities confirm components.jsonc and colophon.jsonc are unchanged. The GitHub comparison shows only DESIGN.md changed: catalog pages were added, the chat link was repaired, and catalog prose was updated. Eleven prior findings remain. (DESIGN.md:73, ad7aaaca8695)
  • Still necessary on main and release: Neither fetched main nor v2026.9.4 contains DESIGN.md or the proposed design directory. The earlier seed at Seed design system for OpenClaw Windows Hub #962 closed unmerged. The merged Workspace implementation does not supply this catalog. (7127c16d537c)
  • Applicable policy: Root AGENTS.md and the required proof-validation skill were read fully. No additional ancestor policy or matching maintainer notes were found for these paths. Source fidelity, agent-facing copy, and current-state preview evidence informed the review; builds and tests were not executed during this read-only inspection. (AGENTS.md:67, ad7aaaca8695)
  • Affirmative Colophon dependency: The branch authors components using Colophon's control/states/on contract and adds a profile referencing its schema. The PR explicitly claims validation against Colophon validators, establishing a dependency contract that requires inspection. (.agents/design/colophon.jsonc:2, ad7aaaca8695)
  • Selection and generated-style contracts: Verified dependency main is cca8a719af5c395114a3a701d0ece99be8ea3083, also the validation revision named in branch history. Its interaction owner closes selection flyouts on input[type=radio] change. Its DOM renderer applies generated styles before authored attributes, so an authored style attribute replaces generated color and geometry. Appearance emits a solid border only when borderWidth is supplied. (extensions/colophon/components-interactions.js:94, cca8a719af5c)

Likely related people:

  • Karen: Raw commit 3a58bf3 adds src/OpenClaw.Tray.WinUI/Controls/AgentIdentityBadge.xaml:2 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3a58bf34902f; files: src/OpenClaw.Tray.WinUI/Controls/AgentIdentityBadge.xaml)
  • bkudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Repair the eleven remaining catalog and guidance findings.
  • Refresh the PR body to describe DESIGN.md, the 34-component catalog, the three pages, and the actual validation contract.
  • Provide current-head Colophon appearance and interaction evidence, or document the focused blocker.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (23 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-25T01:00:31.943Z sha 9a11bdf :: blocked before merge. :: [P2] Use functional radio controls in the picker preview | [P2] Preserve generated styles on the selected checkmark | [P2] Use a supported Colophon profile contract | [P2] Correct the Windows build-tool authority | [P3] Point design guidance at files this branch provides | [P3] Remove em dashes from the remaining canvas copy
  • reviewed 2026-09-29T21:26:32.644Z sha 21f1b56 :: blocked before merge. :: [P2] Use functional radio controls in the picker preview | [P2] Preserve the checkmark's token styling | [P2] Remove or support the presentation profile | [P2] Correct the Windows build-tool authority | [P2] Align the chat example with the refreshed native composer | [P2] Give the preview borders a width and style
  • reviewed 2026-09-30T03:06:34.853Z sha 9e37d3e :: blocked before merge. :: [P2] Use functional radio controls in the picker preview | [P2] Preserve the checkmark's token styling | [P2] Remove or support the presentation profile | [P2] Correct the Windows build-tool authority | [P2] Align the composer controls with current native chat | [P2] Give preview hairlines a border width
  • reviewed 2026-09-30T03:16:37.715Z sha c21dbec :: blocked before merge. :: [P2] Describe the workspace as proposed until its implementation lands | [P2] Use selectable radio inputs in the picker preview | [P2] Keep the checkmark color in generated styles | [P2] Remove the unsupported presentation profile | [P2] Correct the Windows build-tool authority | [P2] Match the composer catalog to the native toolbar
  • reviewed 2026-09-30T03:29:06.423Z sha 71748d7 :: blocked before merge. :: [P2] Describe the Workspace as proposed until it lands | [P2] Keep only one assistant-selector chevron | [P2] Use selectable controls in the picker preview | [P2] Preserve the selected checkmark's token color | [P2] Remove or support the presentation profile | [P2] Correct the Windows build-tool authority
  • reviewed 2026-09-30T03:38:58.613Z sha 82e19ae :: blocked before merge. :: [P2] Describe the Workspace as proposed until it lands | [P2] Keep the badge presentational inside the assistant selector | [P2] Use selectable controls in the picker preview | [P2] Preserve the selected checkmark's token color | [P2] Remove or support the presentation profile | [P2] Correct the Windows build-tool authority
  • reviewed 2026-09-30T03:45:59.425Z sha be79a75 :: blocked before merge. :: [P2] Describe the Workspace as proposed until it lands | [P2] Keep the agent badge presentational inside the selector | [P2] Use selectable controls in the picker preview | [P2] Preserve the selected checkmark's token color | [P2] Remove or support the presentation profile | [P2] Correct the Windows build-tool authority
  • reviewed 2026-10-05T03:48:27.948Z sha 890e7aa :: needs changes before merge. :: [P2] Use selectable controls in the picker preview | [P2] Preserve generated styles when applying icon fonts | [P2] Remove the unsupported presentation profile | [P2] Keep the agent badge presentational inside the selector | [P2] Match the owner status dot to its displayed status | [P2] Give the promised preview borders a width

@karkarl
karkarl marked this pull request as draft September 10, 2026 18:57
ComposerPicker now follows the Fluent ComboBox pattern (bordered control fill + hairline border, ink value, right-aligned muted chevron). ChatComposer and ChatThread are realigned to the actual ReactorChatComposer/ReactorChatTimeline implementation:

- ChatComposer toolbar: adds session picker, speaker, and settings; notes the Send<->Stop toggle; binds ControlFill/ControlStroke (control/controlLine) instead of Card resources; 12px outer margin.

- ChatThread/ChatBubble: user bubble uses the softer accentSubtle (AccentFillColorSecondaryBrush) with a hover Copy; assistant bubble uses subtleHover fill + controlLine border, adds Read aloud, and max-width 720.

Adds 3 tokens the system did not cover: control (ControlFillColorDefaultBrush), controlLine (ControlStrokeColorDefaultBrush), accentSubtle (AccentFillColorSecondaryBrush). Preview hex only; code binds the resource keys.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. label Sep 10, 2026
…AppCli

Reactor port of the design system's ComposerPicker into the shipping composer: ReactorChatComposer.PickerButton now renders a bordered Fluent ComboBox (ControlFill fill, ControlStroke hairline border, primary-text value, right-aligned muted chevron pinned by a Star/Auto grid, radius 4, MinWidth 64, padding 12/8) instead of a borderless subtle button. Session/model/reasoning selection still opens the existing MenuFlyout of RadioMenuItems.

design.json: add a winapp (WinAppCli, https://github.com/microsoft/WinAppCli) tooling reference to authority and a toolingSource on both the default WinUI 3 port and the Reactor chat override, since XAML and Reactor now build/package through winapp.

Update the composer chevron contract test to assert the ComboBox styling. Remove em dashes from the Colophon pointer block in AGENTS.md so the repo doc validator (no em dashes in user-facing docs) passes.

Validation: build.ps1 OK; OpenClaw.Shared.Tests 3989 passed; OpenClaw.Tray.Tests 2897 passed; design-system validators (componentsio/profileio/validateDesignDir) OK; rubber-duck review clean.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 10, 2026
The bordered Fluent ComboBox port regressed the composer's session/model/reasoning selectors. Restore the subtle inline dropdown the surface is meant to ship: ReactorChatComposer.PickerButton goes back to a borderless, transparent button (SubtleFillColorTransparent resting, subtle hover/press, muted value + trailing chevron with a small right/up offset). Update the design system's ComposerPicker to the same subtle pattern (transparent fill, no border, muted text/chevron, gap/padding tokens 1/2) and rename the contract test to ReactorComposer_StylesPickersAsSubtleDropdown.

The WinAppCli port authority (design.json) is unchanged.

Validation: build.ps1 OK; OpenClaw.Shared.Tests 3989 passed; OpenClaw.Tray.Tests 2897 passed; design-system validators OK.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
This PR is design-system seeding only. Restore src/OpenClaw.Tray.WinUI/Chat/ReactorChatComposer.cs and tests/OpenClaw.Tray.Tests/ChatTimelinePresentationTests.cs to their main state, removing the composer picker code port entirely. The design system (.agents/design/*) still describes the subtle inline dropdown that the app actually ships, and design.json keeps the WinAppCli port authority. No production code or tests are changed by this PR.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. labels Sep 10, 2026
karkarl and others added 10 commits September 11, 2026 10:53
Update the ChatComposer sample values and placeholder to mirror the real Reactor composer (Message Assistant placeholder; Main session / Claude Sonnet 5 / Default pickers), and note that a picker with a single option (the session picker with one session) renders disabled so its label reads lighter than its enabled neighbours. Design data only; no code or token changes.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
The ComposerPicker and the chat icon/send/copy buttons rendered with the
browser default button bevel in the Colophon preview because they were the
only authored el:button nodes without the canonical ds-btn reset class
(border: 1px solid transparent). Adding it drops the retro OS chrome so the
subtle borderless pickers render as intended; inline appearance still drives
radius, color, and the Send accent fill. Design-only, no production changes.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
The composer pickers and toolbar icon buttons ship as WinUI subtle
DropDownButtons / transparent Buttons (SubtleFillColorTransparent rest,
SubtleFillColorSecondary hover, SubtleFillColorTertiary press,
ControlCornerRadius, TextFillColorSecondary glyph) - verified against the
canonical ReactorChatComposer PickerButton and WinUI Fluent resources. In the
web preview these were rendering as native <button>s (browser chrome plus the
ds-btn web button weight), which read as Fluent-web rather than Fluent-Windows.
Represent them as role-annotated elements so the transparent WinUI rest state
shows cleanly; only the filled primary Send stays a real button. Notes now name
the WinUI control and resource ladder explicitly. Design-only, no production or
test changes.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
The composer message input was a raw <textarea>, so the preview showed the
browser's default field border. The design intent is a borderless, transparent
WinUI TextBox (the hairline border belongs to the outer control panel, not the
input). Render it as a borderless contenteditable textbox (role=textbox) showing
the muted placeholder, so no field border shows in any theme, while keeping it
typeable. Design-only, no production or test changes.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
Clicking the composer input showed the browser's :focus outline ring, a
web-Fluent artifact that only appeared because contenteditable made the div
focusable. A Windows Fluent TextBox has no such ring. Render the preview input
as a non-focusable role=textbox div (drop contenteditable) so no focus outline
shows on click, keeping the static borderless rest-state representation. The
real focus cue (accent underline) ships on port. Design-only.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
Interactive editability is the point of the web preview, so keep the composer
input contenteditable (typeable). The browser's :focus outline ring that shows
on click is a web-Fluent artifact the static renderer cannot suppress from
design-only JSON (appearance has no outline key; raw style attrs are rejected).
Document that caveat and route the fix (suppress web outline / show a Windows
accent-underline focus cue) to the Colophon extension, tracked in
karkarl/colophon#14. Design-only.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
…ickers

Re-express the chat composer's borderless input, subtle picker/icon
buttons, and picker flyout using the schema-pure interaction keys
(control/states/on) from the colophon #16 components schema, replacing
the earlier focus-ring-routing workaround. No raw CSS; all tokens bind
to design.json.

- ComposerPicker root is now a real transparent button: control.chrome
  none removes the web button border, control.focus supplies the Windows
  accent focus rectangle, and states carry WinUI subtleHover/subtlePressed
  plus a disabled shade. on.click opens a representative single-select
  ComposerPickerOptions flyout (targets take no props).
- New ComposerPickerOptions component: WinUI RadioMenuItem-style flyout on
  a surface sheet with md radius/shadow.
- chat-composer-input renders borderless and typeable with an accent
  underline on focus (control.chrome none + control.focus underline),
  dropping the web focus ring.
- The four subtle icon buttons (add context, dictate, read aloud, chat
  settings) become real buttons with transparent rest state and WinUI
  hover/pressed/hoverPressed states.
- Notes refreshed to describe the real button + control model and drop the
  obsolete combobox-div and web-ring caveats.

Design-only: no production or test files touched.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
Replace the radio-dot selection indicator in ComposerPickerOptions with a
reserved leading glyph column that renders an accent checkmark on the
selected row, matching WinUI RadioMenuItem selection. Preserves
menuitemradio/aria-checked semantics.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
Use the Fluent icon CheckMark (U+E73E) in the Segoe Fluent Icons font for the
selected ComposerPickerOptions row instead of a generic Unicode check, matching
WinUI menu selection glyphs. Document the icon font as an 'icon' typography
family (SymbolThemeFontFamily provenance); the glyph keeps its accent color
token-bound and applies the icon font via a font-family-only raw style, since
the token appearance.fontFamily is capped to display/body/mono.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
Re-express the v3 seed in Colophon's new DESIGN.md format (karkarl/colophon#20):
- Add root DESIGN.md carrying every token, Fluent `resource` mapping, the
  `authority` port targets (WinUI 3 default + Reactor chat override + winapp
  tooling, owner, sync process), per-color dark/high-contrast themes, and the
  OpenClaw principles prose (voice, hierarchy, do/don't, anti-references).
- Remove legacy .agents/design/design.json and .agents/design/principles.md;
  loadDesign now errors if both DESIGN.md and design.json coexist.
- Keep .agents/design/components.jsonc and colophon.jsonc unchanged.
- Repoint the AGENTS.md Colophon block at DESIGN.md.

Validated with the colophon validate.mjs CLI at commit cca8a71: design system is valid.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl

karkarl commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator Author
image

@karkarl
karkarl marked this pull request as ready for review September 25, 2026 00:47
…olicy

CI user-facing documentation check forbids em dashes. Replace them in the
DESIGN.md front matter token descriptions and the managed AGENTS.md Colophon
block with commas, periods, and parentheses. Front-matter edits stay YAML-safe
(no colon-space introduced into plain scalars); colophon validate still passes.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Oct 15, 2026
Add token-bound row hover and pressed fills with rounded corners. Keep selection stable and replace the checkmark's overriding inline style with semantic typography. Document the existing high-contrast preview limitation.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Oct 15, 2026
@karkarl

karkarl commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator Author

@karkarl This Colophon work is genuinely cool, and I can see real value in it as a development/design-time guide even if it is not shipped product code. What is your intent for this PR now: would you like to bring it to a mergeable state, or should we close it and keep the branch as reference material? Either answer is completely reasonable; I mainly want the open PR list to reflect work we still intend to land.

I have cycles again and am auditing the existing components. It will be ready to land in 1-2 days.

@karkarl karkarl added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Oct 15, 2026
Add instance-local ToggleSwitch interactions and native motion. Reconcile WorkspaceShell artwork, pane and button geometry, identity footer, and disconnected content with production.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 20, 2026
Organize shared controls and feature previews, reuse accent badge and normal button variations, and align setup backplates and interactions with their documented native resources.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Oct 20, 2026
Checkpoint passive iconless settings rows, shared geometry, full-header disclosure and a content-only Settings shell. Restore the Fluent chevron slot and add the notification flyout presenter backplate with token-bound shadow and preview clearance.

Disclosure remains immediate with a fixed chevron. Native animation support is handed off to Colophon upstream; current-source browser and native visual proof remain uncollected. Application code and the installed plugin are unchanged.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 21, 2026
Preserve native presenter/card alpha, authored spacing, Fluent glyphs and the supplied empty-state reference. Document browser rendering limits without claiming native pixel identity.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl added status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. and removed status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. labels Oct 21, 2026
Preserve current upstream agent guidance and the existing Colophon pointer block. No design artifacts were changed by the conflict resolution.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
@karkarl karkarl removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Oct 21, 2026
@karkarl
karkarl merged commit bef07da into main Oct 22, 2026
23 checks passed
@karkarl
karkarl deleted the karkarl-seed-design-system-v3 branch October 22, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants