Skip to content

docs: document existing app design for easier audits - #2418

Open
karkarl wants to merge 9 commits into
openclaw:mainfrom
karkarl:karkarl-app-component-catalog
Open

karkarl wants to merge 9 commits into
openclaw:mainfrom
karkarl:karkarl-app-component-catalog

Conversation

@karkarl

@karkarl karkarl commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: d6191a9f794275ab4f45a00608c45389b37d07f0

Dimension Assessment Rationale
Change confidence 4/10 ↑ Maintainer commit 2987c4c corrects source-confirmed errors in ProviderSetupDialog, SetupReview, DashboardGallery, ConfirmationDialog, ProportionBar and SetupGlyphTile; both exact-head reviewers verified these corrections against native source.
↑ Docs and skill validators, JSON parse, git diff --check and a source checker pass; merges cleanly with main 4c53470.
↓ Fresh exact-head reviews still find discrepancies across the catalog: Opus 5.5 found 8 of 26 sampled components (70%, HOLD) and GPT-6 Astra 15 of 54 (40%, HOLD).
↓ The reported HIGH issues include retired Sessions interactions (ItemNavigationCard, InlineToggleFilter, SubtleExpander), StatusDot always announcing Connected, and invented or reduced native copy and actions (ConfirmationDialog, SettingsStatusRow, RadioGroup, ChatUsageDetails, AutomationCard). They are not yet corrected.
↑ Commit d6191a9 restores the truncated ProportionBar sentence (one-line change; JSON parse, docs validator and source checker pass).
↓ The exact-head reviews covered 2987c4c; only this one-sentence delta is new and has not been independently re-reviewed.
↓ CI for d6191a9 is pending; the old-head UI host crash (0xC0000409) remains unexplained.
↓ Colophon rendering, native pixel parity and app runtime are not verified.

What Problem This Solves

This documents the app's existing design system so I can more easily audit the app. After the UI refresh, the catalog needed to reflect the current controls and compositions rather than simplified or outdated examples. This is a documentation and Colophon reference update, not a redesign of the shipping app.

User Impact

User impact: maintainers can inspect the existing design from basic controls through composite setup, workspace, chat, dashboard and operations patterns, making inconsistencies easier to spot. No shipping C#, XAML, permissions, Gateway behavior or settings change.

Why This Change Was Made

  • Organizes 98 reusable definitions across Components (30), Setup (18), Chat (16), Settings (24), Dashboards (5) and Operations (5), with source owners and native resource mappings.
  • Reconciles setup artwork, geometry, typography, gradients, loading configurations and disclosure content against the existing implementation.
  • Makes step hover useful in the catalog: details expand, the companion bubble echoes the hovered step, and leaving restores the page message without advancing setup.

The native WinUI/Reactor implementation remains canonical. Browser references cannot establish native pixel parity. In particular, bubble text swaps immediately rather than reproducing the native fade.

Evidence

Colophon validates the catalog without errors or warnings. Real pointer input in isolated headless Edge verified all four step hovers across Light, Dark and High Contrast, with normal and reduced motion, including message restoration, connector geometry and instance isolation.

The earlier catalog audit rendered 294 component/theme previews. The final hover pass directly covers the subsequently changed timeline and companion references. These are browser-reference checks, not native-app screenshots or proof of a completed live setup/dashboard walkthrough.

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

Only DESIGN.md and .agents/design/components.jsonc change. Setup and other app surfaces are documented, not modified.

Required proof pools

  • none: documentation and browser-reference graphs only; no native application, installer, Gateway or node runtime change. Native comparison remains an explicitly unverified audit boundary.

Validation

Documentation/schema checks pass on the committed candidate:

  • .\scripts\validate-docs.ps1: passed, 74 Markdown files, including proof-pool and documentation-flow checks.
  • .\scripts\validate-agent-skills.ps1: passed, 17 skills and 28 Markdown files.
  • .\scripts\test-agent-skills-validator.ps1: passed, 27 fixtures plus repository skills.
  • git diff --check: passed.
  • Colophon canvas validate: passed, no errors or warnings.
  • Session-local node setup-hover-proof.cjs: passed, 24 step/theme/motion cases plus standalone timeline and nested wizard isolation. The temporary proof script and dependencies were removed after execution; this is not a checked-in regression suite.

.\build.ps1, Shared tests and Tray tests were not run: no shipping code changed. Hosted CI has not been inspected. The conservative path classifier treats the design JSON as an unknown path and may select full CI; that selection is not a claim those lanes ran locally.

Real Behavior Proof

  • Environment tested: Windows, isolated headless Edge, 1500x1000 viewport, device scale 1; Colophon main at 3e02d3842493734f0d887b553bf336098eee577d.

  • PR head or commit tested: 07fb716970fe5a93d518b6b5a5660b5df1e2bb03 for post-commit documentation/schema checks. Hover checks ran immediately before commit on the final uncommitted catalog; no catalog edits followed that run. This association is manually recorded, not a native binary/source-freeze receipt.

  • Exact steps or command run: open Setup in Colophon; hover each of the four rows and leave it; repeat in three themes with normal/reduced motion. Check standalone timeline and wizard instances separately.

  • Evidence after fix:

    PASS: 24 step/theme/motion cases plus standalone timeline and nested wizard isolation.
    
  • Observed result: hovered details and bubble copy match the existing resource strings; leaving restores the page line; current-step markers remain unchanged; the timeline keeps its 64-DIP bottom inset and native connector gaps; other instances remain at rest.

  • Screenshot or artifact links verified? (Yes/No/N/A): N/A for the copied output above. Browser captures were inspected locally.

  • Not verified or blocked: full native walkthrough, same-scale native pixel comparison, Mica/Composition/font parity, native bubble fade and advancement/mascot animations. Author scope/simplification checks were performed; no independent review is claimed.

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
  • 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. Examples are synthetic and do not execute app actions.

Compatibility and Migration

  • Backward compatible? (Yes/No): Yes for the shipping app.
  • Config or environment changes? (Yes/No): No
  • Migration needed? (Yes/No): No
  • If yes, list the exact upgrade steps: N/A. Interactive references require a compatible Colophon renderer; native resource bindings remain authoritative.

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.

karkarl and others added 2 commits November 18, 2026 14:08
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🦞👀
Pull request received.

ClawSweeper review complete

ClawSweeper finished reviewing this revision.

View the workflow run.

@karkarl

karkarl commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

Colophon reference captures with the Set up step hovered, in Light, Dark and High Contrast. These document the existing design for easier app auditing. They are browser previews, not native-app screenshots or a pixel-parity claim. Captured from the final catalog before committing it; the catalog was unchanged afterward.

Colophon SetupCompanion with Set up hovered in Light

Colophon SetupCompanion with Set up hovered in Dark

Colophon SetupCompanion with Set up hovered in High Contrast

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. clawsweeper:intake:docs Preliminary submission classification; full source review pending. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:docs Preliminary submission classification; full source review pending. labels Nov 30, 2026
@clawsweeper

clawsweeper Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codex review: passed.

What this changes

Expands the existing design catalog to 98 definitions and updates its source mappings, compositions, and setup hover references.

Example: A designer hovers over Set up in the SetupCompanion browser reference.

  • Before: The catalog shows a mascot placeholder and a static timeline.
  • After: The reference shows mascot artwork, expands the step detail, and echoes “OpenClaw installs. You can keep using your PC.” in the bubble.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful source-backed documentation with inspected browser evidence and a minor wording defect; hosted UI failure causality remains unresolved.
Proof confidence 🐚 platinum hermit (4/6) Documentation-only scope requires no native runtime proof; inspected browser captures support the setup hover presentation, while broader interaction checks are author-reported and native parity remains explicitly unverified.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Docs · Worth it: Yes · Fix scope: Complete
User problem: Designers auditing the refreshed app encounter simplified or outdated catalog examples.
Reason: The maintainer-authored direction extends an established audit resource while preserving native authority and documenting preview limitations.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored update provides useful design references absent from main, with one non-blocking documentation inconsistency.

Reviewed head: 07fb716970fe5a93d518b6b5a5660b5df1e2bb03

Before merge

None.

Findings

  • [P3] Update the earlier workspace caveat for the refreshed reference — DESIGN.md:1733-1735
Agent review details

How this fits together

DESIGN.md supplies tokens and documentation, while components.jsonc supplies graphs rendered by Colophon for design audits; native XAML and C# remain authoritative.

flowchart LR
  A[Native XAML and CSharp] --> B[Design tokens and mappings]
  A --> C[Component reference graphs]
  B --> D[Colophon browser previews]
  C --> D
  D --> E[Designer audits]
Loading

Technical review

Best possible solution:

Retain the expanded catalog and revise the earlier workspace caveat to distinguish the historical screenshot from the refreshed browser reference.

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

This is a design-reference update; the identified documentation contradiction is directly observable in DESIGN.md and the changed WorkspaceShell graph.

Is this the best way to solve the issue?

Extending the existing catalog preserves its established ownership and avoids introducing a competing application implementation.

Full review comments:

  • [P3] Update the earlier workspace caveat for the refreshed reference — DESIGN.md:1733-1735
    The PR removes WorkspaceShell's branded title row and describes its new full-bleed geometry, but this earlier paragraph still tells audit readers that the browser reference retains historical title-row geometry. Restrict that historical statement to the older screenshot and retain the separate warning that browser rendering does not establish native pixel parity.
    Confidence: 0.99

Overall correctness: patch is correct
Overall confidence: 0.9

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 29f0553fbed0.

Provenance checked

  • Design catalog and native authority keeps the original intent (bef07da: Provide a versioned Fluent reference grounded in shipping Windows controls.)
  • Setup reference keeps the original intent (d8e458d: Document the two-pane setup presentation and its native layout and motion contracts.)
  • Workspace and settings compositions keeps the original intent (bf61595: Align window chrome, settings groups, and chat controls with the Fluent design system.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • .\scripts\validate-docs.ps1
  • .\scripts\validate-agent-skills.ps1
  • .\scripts\test-agent-skills-validator.ps1
  • git diff --check

What I checked:

Likely related people:

  • Karen: Raw commit bef07da adds .agents/design/components.jsonc:3 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: bef07da01911; files: .agents/design/components.jsonc)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Catalog expansion 57 → 98 definitions; shipping files unchanged The growth adds design coverage within the existing reference owners.

Labels

Label changes:

  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 30, 2026, 5:30 PM ET / 22:30 UTC.

shanselman and others added 7 commits November 30, 2026 23:18
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…th native source

Correct the device-code ProviderSetupDialog footer and visible states, SetupReview replacement copy and row anatomy, DashboardGallery hero caption, ConfirmationDialog body style, ProportionBar accessibility and SetupGlyphTile caller note against current native owners.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants