Skip to content

feat(ui): describe automation schedules as a sentence - #200817

Merged
vyctorbrzezowski merged 11 commits into
mainfrom
brzezowski/automations-schedule-sentence
Nov 18, 2026
Merged

vyctorbrzezowski merged 11 commits into
mainfrom
brzezowski/automations-schedule-sentence

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

The schedule in the automation's tray now reads as a sentence, for example "Daily on weekdays at 9:30 AM". Each part is a text button with a small menu: how often (Daily, Hourly, Weekly, Monthly, Every, Once or Custom), which days, and what time, or for Hourly, all day or between two hours. Custom shows the cron expression and time zone fields as before. Event schedules and the read-only process schedules keep their current controls.

The sentence reads and writes the schedule the form already stores; nothing changes in what is sent to the Gateway. A cron expression the sentence cannot say exactly opens as Custom and stays as written.

The run button now says Run now instead of Start now.

The new automation form no longer offers Create and run now.

The Action option Post to main timeline is now Post to main session, and the Runs in help says main session instead of timeline.

The Runs in option Isolated session is now Its own session.

Each change is its own commit.

State Before (main) After
Edit, schedule in the tray Before (main): Edit, schedule in the tray After: Edit, schedule in the tray
Frequency menu open Not on main After: Frequency menu open
Days menu open Not on main After: Days menu open
Time menu open Not on main After: Time menu open
Weekly, day menu open Not on main After: Weekly, day menu open
Monthly, day of the month menu open Not on main After: Monthly, day of the month menu open
Hourly, between hours open Not on main After: Hourly, between hours open
Custom expression Before (main): Custom expression After: Custom expression
Automation, run button Before (main): Automation, run button After: Automation, run button
New automation, form actions Before (main): New automation, form actions After: New automation, form actions
Action options Before (main): Action options After: Action options
Runs in options Before (main): Runs in options After: Runs in options

Screenshots come from the mock Control UI preview at 1440 px wide, with every state reached by clicking. Before shows main.

Maintainer verification

  • A single selected day no longer switches a Daily draft to Weekly. Hour and month controls offer only valid values, and the Custom expression field keeps focus when edited into a simpler schedule.
  • The bundled Chromium regressions failed before their fixes and passed afterward. Verified the actual cron.update payload in the browser with a synthetic Gateway fixture: expression edits kept the saved time zone and exact timing. The integrated Automations suite passed all 207 tests, and the focused browser run passed six cases.
  • Review confirmed only the editor's presentation changes: the schedule still uses the existing Gateway fields. Complex expressions stay Custom unless the user chooses a different schedule.

Integration and asset budget

  • A separate Chromium run against an isolated real Gateway saved an hourly window of 10:00–18:00 on Fridays and verified the exact cron expression, original time zone and zero stagger through independent Gateway readback. The schedule reopened as Hourly after a page reload.
  • The integrated pair measured 338,173 bytes gzip and 1,745,039 bytes raw total CSS using the repository’s paired build. That is 861 bytes gzip and 4,805 bytes raw over the fixed ceilings. The largest ordinary JS bundle is also 140 bytes gzip over its ceiling (577,383 vs 577,243). Initial-entry CSS and JS sizes and request counts are unchanged. This PR remains draft on the redesign branch so it cannot land ahead of it.

Phone editor and Time zone

The phone editor puts Model and Reasoning under the prompt, then a row for each existing schedule control. Active moves into the Agent/Runs in card while editing, and Cancel and Save changes sit at the end of the form. The editor still uses the existing Agent ID field and suggestions because this view does not receive agent names or avatars. The frequency control retains its existing Repeat label.

Time zone moves to Advanced at both widths. The same text input contract, suggestions, validation, and saved schedule are preserved. The validation link still opens the section and focuses the field. The desktop comparison starts from main (044391093e); the additional comparison against the previous PR revision isolates the Time zone move from the schedule sentence already in this PR.

Validated on this change: 207 Automations tests and 9 Chromium cases, including schedule edits and their Gateway request, validation focus, prompt preview, and visual proof. Phone captures use a 390 px viewport with synthetic Gateway data.

Phone light Phone dark
Daily, Weekly, Every 5 minutes, Custom, Advanced, New automation, and validation in light mode The same seven phone states in dark mode

Desktop: main vs PR

On main, Time zone is in the tray. On the PR, it is in Advanced.

Desktop: previous PR revision vs this change

The previous PR revision already has the schedule sentence. This change moves Time zone into Advanced.

@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
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 clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR adds editable schedule sentences, updates automation labels, and removes the Create and run now button.

Example: Edit an automation with cron expression 30 9 * * 1-5 and time zone America/New_York.

  • Before: The editor exposes the cron expression and time-zone fields.
  • After: The tray shows Daily on weekdays at 9:30 AM, with menus for frequency, days, and time.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful, visually demonstrated direction with concrete editor defects that should be repaired before merge.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots exercise the actual Control UI preview with synthetic Gateway data and show the sentence plus frequency/day popovers; remaining linked screenshots could not be inspected because of reviewer-side retrieval limits.
Patch quality 🦪 silver shellfish (2/6) 4 actionable review findings remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Users must understand cron syntax to author ordinary calendar schedules.
Reason: The maintainer-authored direction makes common schedules directly editable while preserving Custom, event, and process-backed paths.

Merge readiness

⛔ Needs changes before merge - 4 items remain

Keep open: this maintainer-directed improvement has clear user value, but schedule-mode transitions, rejected edits, and the incomplete create-and-run removal need correction.

Priority: P2
Reviewed head: 5a617989d77553d07e5f830cccca32bc30acdca7

Before merge

  • [P2] Make choosing Daily restore the multi-day editor (P2) - For an existing weekly expression such as 0 9 * * 1, choosing Daily preserves [1] and writes the identical expression. parseCronSentence immediately classifies that expression as Weekly again, so Daily cannot be selected and the multi-day picker remains unavailable. The same trap occurs after deselecting all but one day from a Daily schedule. Make the Daily transition produce an editable daily selection, or retain the chosen presentation mode independently of the inferred one-day classification.
  • [P2] Keep inferred Custom mode stable while its expression is edited (P2) - An expression such as 0 9,17 * * * initially opens as Custom, but forcedCustom starts false. While changing the hour list, deleting ,17 temporarily produces 0 9 * * *; TrayInput publishes that keystroke immediately, frequency becomes Daily, and the expression input unmounts before the user can finish typing ,18. Preserve Custom for the active editing session, including expressions that entered Custom through inference, until the user deliberately chooses another frequency.
  • [P2] Reconcile rejected hour-range edits with the displayed input (P2) - With an hourly range of 09:00–17:00, changing From to 18:00 takes this rejection branch without updating the form, restoring the input, or showing an error. The native input retains 18:00 while the saved expression remains 0 9-17 * * *, and Save stays available. The Until handler has the same problem. Restore rejected values immediately or expose validation that prevents saving a schedule different from the displayed edit.
  • [P2] Retire the create-and-run action with its last UI caller (P2) - This deletion removes the last production caller of onSubmitRunNow, but cron-page-state.ts still exports that action and retains submitForm(runNow) plus the forced-run branch; test scaffolding also retains the obsolete interface. Root AGENTS.md requires removal of superseded paths and exports during a cutover. Remove that unused action, parameter, branch, and scaffolding together, while preserving Run now for existing automations and ordinary creation-settlement behavior.

Findings

  • [P2] [P2] Make choosing Daily restore the multi-day editor — ui/src/pages/cron/schedule-sentence.ts:192-193
  • [P2] [P2] Keep inferred Custom mode stable while its expression is edited — ui/src/pages/cron/view-schedule.tsx:113-116
  • [P2] [P2] Reconcile rejected hour-range edits with the displayed input — ui/src/pages/cron/view-schedule-sentence.tsx:385-389

Tests

  • Low-value test ui/src/pages/cron/schedule-sentence.test.ts: Remove or replace the 'names each existing schedule kind' case: it mirrors the direct kind-to-label switch without exercising usable rendered controls, which is where the frequency transition fails.
Agent review details

How this fits together

The Control UI schedule editor projects existing CronFormState fields into sentence controls and sends edits through the existing form owner and Gateway payload builder.

flowchart LR
  A[Automation editor] --> B[Schedule controls]
  B --> C[Sentence parser and formatter]
  B --> D[Shared Popover]
  C --> E[Cron form owner]
  E --> F[Existing payload builder]
  F --> G[Gateway scheduler]
Loading

Technical review

Best possible solution:

Keep the existing form and Gateway owners, stabilize schedule editing modes, reconcile rejected inputs, and retire the unused create-and-run action.

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

The introduced source establishes the interaction failures below; no target code was executed, and these are PR-head defects rather than reproduced current-main failures.

Is this the best way to solve the issue?

Projecting the existing form into sentence controls is appropriate; the invariant is that editing remains usable and displayed inputs agree with the schedule that will be saved.

Full review comments:

  • [P2] [P2] Make choosing Daily restore the multi-day editor — ui/src/pages/cron/schedule-sentence.ts:192-193
    For an existing weekly expression such as 0 9 * * 1, choosing Daily preserves [1] and writes the identical expression. parseCronSentence immediately classifies that expression as Weekly again, so Daily cannot be selected and the multi-day picker remains unavailable. The same trap occurs after deselecting all but one day from a Daily schedule. Make the Daily transition produce an editable daily selection, or retain the chosen presentation mode independently of the inferred one-day classification.
    Confidence: 0.99
  • [P2] [P2] Keep inferred Custom mode stable while its expression is edited — ui/src/pages/cron/view-schedule.tsx:113-116
    An expression such as 0 9,17 * * * initially opens as Custom, but forcedCustom starts false. While changing the hour list, deleting ,17 temporarily produces 0 9 * * *; TrayInput publishes that keystroke immediately, frequency becomes Daily, and the expression input unmounts before the user can finish typing ,18. Preserve Custom for the active editing session, including expressions that entered Custom through inference, until the user deliberately chooses another frequency.
    Confidence: 0.99
  • [P2] [P2] Reconcile rejected hour-range edits with the displayed input — ui/src/pages/cron/view-schedule-sentence.tsx:385-389
    With an hourly range of 09:00–17:00, changing From to 18:00 takes this rejection branch without updating the form, restoring the input, or showing an error. The native input retains 18:00 while the saved expression remains 0 9-17 * * *, and Save stays available. The Until handler has the same problem. Restore rejected values immediately or expose validation that prevents saving a schedule different from the displayed edit.
    Confidence: 0.97
  • [P2] [P2] Retire the create-and-run action with its last UI caller — ui/src/pages/cron/view-editor.tsx:83-86
    This deletion removes the last production caller of onSubmitRunNow, but cron-page-state.ts still exports that action and retains submitForm(runNow) plus the forced-run branch; test scaffolding also retains the obsolete interface. Root AGENTS.md requires removal of superseded paths and exports during a cutover. Remove that unused action, parameter, branch, and scaffolding together, while preserving Run now for existing automations and ordinary creation-settlement behavior.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 91614b5c3778.

Provenance checked

  • Schedule controls and kind-switch defaults changes intended behavior with a stated reason (f49b7cd: The Solid migration preserved scheduling workflows and existing form ownership; the immediate redesign base moved these controls into the prompt tray.)
  • Create and run now changes intended behavior with a stated reason (fix(ui): preserve automation creation across navigation #169698: The earlier repair preserved an accepted create-and-run request across navigation; this PR explicitly removes the UI action, but leaves its production action branch behind.)
  • Automation session terminology changes intended behavior with a stated reason (0fb25b0: The earlier copy pass applied the approved Control UI glossary; this maintainer-authored PR explicitly changes the displayed session labels without changing serialized identifiers.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/pages/cron/schedule-sentence.test.ts ui/src/pages/cron/view.test.ts ui/src/pages/cron/cron-page.test.ts ui/src/pages/cron/cron-page.lifecycle.test.ts --maxWorkers=1
  • pnpm test:ui:e2e ui/src/e2e/cron-trigger-authoring.e2e.test.ts ui/src/e2e/cron-event-source-readiness.e2e.test.ts ui/src/e2e/cron-select-values.e2e.test.ts
  • pnpm tsgo:ui
  • pnpm ui:i18n:verify
  • git diff --check

What I checked:

PR surface

Source +808, Tests -11. Total +797 across 18 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 6 844 36 +808
Tests 12 138 149 -11
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 18 982 185 +797

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
Production versus test LOC Production +844/-36; tests and support +138/-149 Growth primarily implements sentence parsing, editing controls, and styling; the existing form and payload ownership remain intact.

Labels

Label changes:

  • add P2: Useful automation-editor improvement with limited-scope interaction defects and available in-product workarounds.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: Useful automation-editor improvement with limited-scope interaction defects and available in-product workarounds.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • 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 follows the weaker of proof and patch quality; ✨ 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 17, 2026, 5:43 PM ET / 22:43 UTC.

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/automations-detail-redesign branch from bcf5e65 to 3c088b5 Compare November 17, 2026 22:49
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/automations-schedule-sentence branch from 5a61798 to f3f7c38 Compare November 17, 2026 22:49
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/automations-detail-redesign branch from 3c088b5 to baaeb24 Compare November 17, 2026 23:04
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/automations-schedule-sentence branch from f3f7c38 to 259af30 Compare November 17, 2026 23:15
@vyctorbrzezowski
vyctorbrzezowski changed the base branch from brzezowski/automations-detail-redesign to main November 17, 2026 23:16
@vyctorbrzezowski
vyctorbrzezowski changed the base branch from main to brzezowski/automations-detail-redesign November 17, 2026 23:22
Base automatically changed from brzezowski/automations-detail-redesign to main November 18, 2026 01:50
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/automations-schedule-sentence branch from 259af30 to 46bfb77 Compare November 18, 2026 01:52
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 18, 2026 01:52
@vyctorbrzezowski
vyctorbrzezowski merged commit 14b9fc3 into main Nov 18, 2026
101 of 104 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/automations-schedule-sentence branch November 18, 2026 03:40
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
Show schedule options as a sentence on desktop and in rows on phones, using existing scheduling controls. Move Time zone into Advanced at both widths.

Maintainer-approved CI exception: total CSS is 338,821 B gzip / 1,749,495 B raw, compared with 337,955 B / 1,743,160 B on the CI base. Initial CSS and JavaScript sizes and request counts are unchanged. The CSS budget is the only failing job besides the aggregate gate; browser, lint, type, and security checks passed.

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
vincentkoc pushed a commit that referenced this pull request Nov 18, 2026
Apply hosted file-count bounds during weighted balancing instead of slicing already-balanced stripes into stranded tails. Preserve the 77-row hourly nondist cap, runner and worker limits, time budgets, and complete selected inventory.

The scheduled manifest reproduced 78 > 77 after inventory growth in #200967. Expanded GitHub/hybrid regressions and all 174 focused planner tests pass; Codex autoreview is clean. check:changed passes except unrelated main unused exports attributed to #200533, #193550, #198455, and #200817.
steipete added a commit that referenced this pull request Nov 18, 2026
Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies #197510 as the first failing first-chat authorization boundary; #199565 had repaired other cold-registration orderings.

The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to #200533, #198455, and #200817. Preserve peer cleanup scope in #201019.
steipete added a commit that referenced this pull request Nov 18, 2026
…200966)

* perf(agents): materialize selected rows for simple completions

* style: satisfy selected completion lint checks

* test: bind isolated registry measurement to concrete instances

* test: align participant custody with requester ownership

Follow #200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean.

* fix: retain missing-session facts across database creation

Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies #197510 as the first failing first-chat authorization boundary; #199565 had repaired other cold-registration orderings.

The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to #200533, #198455, and #200817. Preserve peer cleanup scope in #201019.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…1002)

Apply hosted file-count bounds during weighted balancing instead of slicing already-balanced stripes into stranded tails. Preserve the 77-row hourly nondist cap, runner and worker limits, time budgets, and complete selected inventory.

The scheduled manifest reproduced 78 > 77 after inventory growth in openclaw#200967. Expanded GitHub/hybrid regressions and all 174 focused planner tests pass; Codex autoreview is clean. check:changed passes except unrelated main unused exports attributed to openclaw#200533, openclaw#193550, openclaw#198455, and openclaw#200817.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…penclaw#200966)

* perf(agents): materialize selected rows for simple completions

* style: satisfy selected completion lint checks

* test: bind isolated registry measurement to concrete instances

* test: align participant custody with requester ownership

Follow openclaw#200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean.

* fix: retain missing-session facts across database creation

Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies openclaw#197510 as the first failing first-chat authorization boundary; openclaw#199565 had repaired other cold-registration orderings.

The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 4dca39a and attributed to openclaw#200533, openclaw#198455, and openclaw#200817. Preserve peer cleanup scope in openclaw#201019.
RomneyDa added a commit that referenced this pull request Nov 19, 2026
Apply hosted file-count bounds during weighted balancing instead of slicing already-balanced stripes into stranded tails. Preserve the 77-row hourly nondist cap, runner and worker limits, time budgets, and complete selected inventory.

The scheduled manifest reproduced 78 > 77 after inventory growth in #200967. Expanded GitHub/hybrid regressions and all 174 focused planner tests pass; Codex autoreview is clean. check:changed passes except unrelated main unused exports attributed to #200533, #193550, #198455, and #200817.

Backport to beta.2 preparation; exact reviewed adapted patch. Focused parent proof: 35 tests; nine-file type-aware lint; 18-file format. Tooling typecheck retains the same two pre-existing cron UI errors as baseline. No release qualification.

(cherry picked from commit af50b8e)
(cherry picked from commit c7ccc5e)
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…200966)

* perf(agents): materialize selected rows for simple completions

* style: satisfy selected completion lint checks

* test: bind isolated registry measurement to concrete instances

* test: align participant custody with requester ownership

Follow #200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean.

* fix: retain missing-session facts across database creation

Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies #197510 as the first failing first-chat authorization boundary; #199565 had repaired other cold-registration orderings.

The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to #200533, #198455, and #200817. Preserve peer cleanup scope in #201019.

(cherry picked from commit 8610cd6)

Co-authored-by: RomneyDa <[email protected]>
obviyus added a commit that referenced this pull request Nov 22, 2026
… and catalog redesigns (#203448)

Related: #203445

## What Problem This Solves

`pnpm ui:check-performance` fails on main for total Control UI CSS. The automations redesign (#200808, #200817) and the catalog and Skill Workshop redesign (#202515, #202537, #202531, #202572, #202532) added real styles. The fixed total-CSS ceilings were never raised for them, so every local run of the check reports them as violations.

## User Impact

No user-visible change. Developers who run `pnpm ui:check-performance` no longer see the total-CSS violations for the accepted redesigns. Any further CSS growth fails the check again, because the new ceilings have no headroom.

## Why This Change Was Made

The ceilings are set to the measured size on main, with no headroom. The redesign growth is intentional. Unused CSS accounts for only about 3.5 KB of it, so the bytes cannot be removed without a design change. #203445 tracks the trim and lists the unused-CSS candidates.

| Ceiling | Before | After (measured on main `265577c4`) |
| --- | ---: | ---: |
| Total CSS gzip | 337,312 B | 344,948 B (+7,636 B) |
| Total CSS raw | 1,740,234 B | 1,779,112 B (+38,878 B) |

Pre-redesign base `8f321bcc` (parent of #200808) measured 336,340 B gzip / 1,733,953 B raw. Per-file growth is in #203445. The largest growth is in `plugins.css`, `cron.css` and `skill-workshop.css`, plus the new skill page and skills discovery sheets.

Not changed, because the redesign did not cause them. Both were already over at base `8f321bcc`, before #200808:
- **Largest CSS** (`control-ui-boot-shared-styles.css`): 58,957 B gzip at base, 58,587 B on main, ceiling 58,315 B.
- **Chat boot JS requests**: 21 at base and on main, limit 20.

These two still fail `pnpm ui:check-performance`.

## Evidence

- `pnpm ui:check-performance` on main `265577c4` before this change: total CSS 344,948 B gzip / 1,779,112 B raw, violations for total CSS gzip, total CSS raw, largest CSS and chat boot JS requests.
- After this change, on the same build: the total-CSS violations are gone. Only the two inherited violations above remain.
- `test/scripts/control-ui-performance.test.ts` passes.

Merge risk: two-way door. The change only edits two budget constants in a dev and CI check script. A revert restores the old ceilings. It changes no runtime code, state or contract.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 23, 2026
… and catalog redesigns (openclaw#203448)

Related: openclaw#203445

## What Problem This Solves

`pnpm ui:check-performance` fails on main for total Control UI CSS. The automations redesign (openclaw#200808, openclaw#200817) and the catalog and Skill Workshop redesign (openclaw#202515, openclaw#202537, openclaw#202531, openclaw#202572, openclaw#202532) added real styles. The fixed total-CSS ceilings were never raised for them, so every local run of the check reports them as violations.

## User Impact

No user-visible change. Developers who run `pnpm ui:check-performance` no longer see the total-CSS violations for the accepted redesigns. Any further CSS growth fails the check again, because the new ceilings have no headroom.

## Why This Change Was Made

The ceilings are set to the measured size on main, with no headroom. The redesign growth is intentional. Unused CSS accounts for only about 3.5 KB of it, so the bytes cannot be removed without a design change. openclaw#203445 tracks the trim and lists the unused-CSS candidates.

| Ceiling | Before | After (measured on main `31a53bb4`) |
| --- | ---: | ---: |
| Total CSS gzip | 337,312 B | 344,948 B (+7,636 B) |
| Total CSS raw | 1,740,234 B | 1,779,112 B (+38,878 B) |

Pre-redesign base `77ac0764` (parent of openclaw#200808) measured 336,340 B gzip / 1,733,953 B raw. Per-file growth is in openclaw#203445. The largest growth is in `plugins.css`, `cron.css` and `skill-workshop.css`, plus the new skill page and skills discovery sheets.

Not changed, because the redesign did not cause them. Both were already over at base `77ac0764`, before openclaw#200808:
- **Largest CSS** (`control-ui-boot-shared-styles.css`): 58,957 B gzip at base, 58,587 B on main, ceiling 58,315 B.
- **Chat boot JS requests**: 21 at base and on main, limit 20.

These two still fail `pnpm ui:check-performance`.

## Evidence

- `pnpm ui:check-performance` on main `31a53bb4` before this change: total CSS 344,948 B gzip / 1,779,112 B raw, violations for total CSS gzip, total CSS raw, largest CSS and chat boot JS requests.
- After this change, on the same build: the total-CSS violations are gone. Only the two inherited violations above remain.
- `test/scripts/control-ui-performance.test.ts` passes.

Merge risk: two-way door. The change only edits two budget constants in a dev and CI check script. A revert restores the old ceilings. It changes no runtime code, state or contract.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…penclaw#200966)

* perf(agents): materialize selected rows for simple completions

* style: satisfy selected completion lint checks

* test: bind isolated registry measurement to concrete instances

* test: align participant custody with requester ownership

Follow openclaw#200952: Alice owns sessions she requests even when Bob supplies execution authority. Preserve autonomous agent ownership expectations. All 174 spawn-boundary, child-custody, and provenance tests pass; Codex scoped review is clean.

* fix: retain missing-session facts across database creation

Preserve first-chat authorization when catalog persistence opens the selected absent database. Keep session-row, lifecycle, routing, and source-revocation guards intact. The focused bisect identifies openclaw#197510 as the first failing first-chat authorization boundary; openclaw#199565 had repaired other cold-registration orderings.

The deterministic regression is red before this fix. All 66 owning tests and three complete real Gateway reload trials pass; Codex review is clean through P2. check:changed passes every check except nine unused exports reproduced identically on exact main parent 97b03f7 and attributed to openclaw#200533, openclaw#198455, and openclaw#200817. Preserve peer cleanup scope in openclaw#201019.

(cherry picked from commit 8610cd6)
Release adaptation: approved 2026.11.7 models replay; see models-hook-safe-v2/REPORT.md.
Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XL 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.

1 participant