Repository navigation
fix(ui): restore Workboard routing and full-gate contracts - #116342
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 30, 2026, 6:28 AM ET / 10:28 UTC. ClawSweeper reviewWhat this changesThis PR changes the Control UI startup router so Workboard deep links use a private bootstrap marker rather than the public Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain Keep this PR open: the routing repair is a plausible, focused fix for the linked current-main regression, but its only after-fix evidence is a mock-gateway browser test run. Add direct browser proof that a deleted board deep link renders the all-boards Workboard view before merge. Priority: P1 Review scores
Verification
How this fits togetherControl UI receives a browser URL, starts the application router, and loads the Workboard route. The Workboard route resolves a board path and may redirect deleted boards to the all-boards view before the page renders. flowchart LR
A[Browser Workboard deep link] --> B[Application startup router]
B --> C[Private dynamic-path marker]
C --> D[Workboard route resolver]
D --> E{Board exists?}
E -->|No| F[Canonical all-boards route]
E -->|Yes| G[Board Workboard view]
F --> H[Rendered Control UI]
G --> H
Before merge
Agent review detailsSecurityNone. PR surfaceSource +28, Tests -1. Total +27 across 7 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the private bootstrap marker and redirect-preservation approach, then attach redacted browser proof showing a deleted Workboard board URL normalize to Do we have a high-confidence way to reproduce the issue? Yes, from source and the linked regression report: navigating to a deleted Workboard board path exercises the startup bridge and the canonical redirect path. The report supplies focused current-main browser-test coverage, although this review did not execute it. Is this the best way to solve the issue? Likely yes: a private startup-only marker avoids overloading the public legacy AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8a3f5c862b56. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
@clawsweeper re-review The requested direct browser proof and exact-head gate are now complete:
The optional screenshot rank-up move is skipped because this changes routing ownership, not visual styling; the browser assertion proves both the final URL and rendered all-boards surface directly. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Merged via squash.
|
…116342) * fix(ui): restore full-gate routing contracts * fix(ui): preserve startup route redirects * fix(ui): import route location type
Closes #116297
What Problem This Solves
Fixes an issue where users navigating from a deleted Workboard board to the canonical Workboard route could be left with an empty page, while current-main Control UI contracts also left the mandatory UI merge gate red for unrelated pull requests.
Why This Change Was Made
Workboard now uses a private path marker for the router's dynamic startup bridge instead of overloading the public legacy
boardquery. The bridge strips that marker before route resolution, preserves the one-load deep-link contract, and no longer overwrites a redirect that moved browser history while startup was resolving.The accompanying test repairs align three assertions with current contracts: startup may reconcile the shared agent catalog, the mock request journal is document-local across reloads, and a replayed offline send remains active until terminal gateway evidence arrives.
User Impact
Deleted Workboard board links reliably normalize to the all-boards view instead of leaving the routed content empty. This also restores the Control UI full-gate baseline so unrelated changes can pass mandatory hosted validation.
Evidence
/workboard/deleted?agent=main, observed normalization to/workboard?agent=main, and verified the rendered.workboard-page-titlecontainsWorkboard.git diff --checkpasses.patch is correctwith confidence 0.86.@openclaw/[email protected]inspection confirms that(routeId, loaderDeps)defines reusable match identity and same-match navigation intentionally reuses loader data.