Skip to content

fix: hide unavailable Agent Settings panels - #196457

Merged
vyctorbrzezowski merged 6 commits into
mainfrom
openclaw/faint-shrimp-5
Nov 11, 2026
Merged

vyctorbrzezowski merged 6 commits into
mainfrom
openclaw/faint-shrimp-5

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Agent Settings offered management panels that session-only users could not access and attempted forbidden reads when those panels were opened directly.

User Impact

Only available panels and actions are offered. Direct links to restricted panels settle into a clear explanation, including how to request access. Readable Overview facts and the authorized session Tools preview remain available.

Why This Change Was Made

A shared capability projection drives both panel visibility and page-owned read admission. Existing resource owners retain request state and mutation authority. Server permissions do not change.

Evidence

  • Maintainer validation: 13 focused access/page-boundary tests passed, and English catalog verification passed.
  • Updated existing fixtures to advertise the reads they provide and to expect unavailable management actions to be absent. All six affected browser cases pass; no shared permission defaults or production guards were loosened.
  • The two file-editor suites reproduced 13 failures before their fixture correction. Afterward, all 21 file-editor and route-retirement cases passed, with every behavioral assertion preserved. Scoped lint and formatting passed.
  • Independent review of the complete change and access-guidance correction found no P0–P2 issues.
  • The original isolated-Gateway/source-UI proof covers denied direct links, retained Overview/Tools access, and absence of forbidden panel reads. The images below show that original behavioral comparison; the restricted message now also tells the user to ask a Gateway operator for access.
  • The per-PR test allocation is 222 lines: the original 199 plus 23 net lines needed to advertise the capabilities used by existing regression fixtures. The shared ceiling is unchanged; inherited test-line debt is not included.
  • On the current head, only the test-line ratchet and its propagated CI gate fail. The exact CI baseline has the same 7-line debt: 6,643,331 / 6,643,324 before; 6,643,553 / 6,643,546 after. The PR adds 222 test lines and 222 allocated lines, so it does not increase the debt. All other CI jobs passed or were not selected. Landing uses the documented pre-existing-failure exception.

Before

Before: unavailable management panels and a forbidden read

After

After: available navigation and a settled restricted panel

Credit: @vyctorbrzezowski reported and directed this change.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 2 commits November 10, 2026 05:06
Use one capability projection for panel navigation and page-owned reads while preserving authorized read-only content and session Tools previews.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 24d58e34-018f-8955-8085-5b88bcc4cfc5
@clawsweeper

clawsweeper Bot commented Nov 10, 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:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment 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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head d54f259129d7c0e97c396cef83fa1b3cf0f7981b, but the PR head is now 556e265c1441c957f1f279ae5fb4b0105da6d2f1. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (2 earlier review cycles)
  • reviewed 2026-11-10T05:24:52.007Z sha 8317cfc :: needs changes before merge. :: [P3] Give the restricted-panel message an actionable next step
  • reviewed 2026-11-11T00:51:33.900Z sha d54f259 :: needs changes before merge. :: [P2] Advertise required reads in the affected test fixtures | [P2] Update administration browser assertions for hidden actions

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 11, 2026 00:38
@vyctorbrzezowski
vyctorbrzezowski enabled auto-merge (squash) November 11, 2026 00:41
@vyctorbrzezowski

Copy link
Copy Markdown
Member

Added the access-request guidance from the review. The 13 focused access tests and English catalog verification pass.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 11, 2026
@clawsweeper clawsweeper Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Nov 11, 2026
@clawsweeper clawsweeper Bot removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Nov 11, 2026
@vyctorbrzezowski

Copy link
Copy Markdown
Member

/refresh-security-review d4caf30

@vyctorbrzezowski
vyctorbrzezowski merged commit 086d257 into main Nov 11, 2026
97 of 100 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/faint-shrimp-5 branch November 11, 2026 02:01
@vyctorbrzezowski

Copy link
Copy Markdown
Member

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

obviyus added a commit that referenced this pull request Nov 11, 2026
…197016)

#196457 hides Agent Settings panels the Gateway does not advertise; this
fixture's reconnect-github step waits for tools.github.status from the
Tools panel, which no longer rendered.

Co-authored-by: obviyus <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
* fix: hide unavailable Agent Settings panels

Use one capability projection for panel navigation and page-owned reads while preserving authorized read-only content and session Tools previews.

Co-authored-by: vyctorbrzezowski <[email protected]>

* fix: hide unavailable Agent Settings panels

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 24d58e34-018f-8955-8085-5b88bcc4cfc5

* fix(ui): explain how to request Agent Settings access

* test(ui): align agent fixtures with advertised access

* test(ui): advertise agent file read capabilities

* test(ui): account for required agent fixture coverage

---------

Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: Vyctor H. Brzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
…penclaw#197016)

openclaw#196457 hides Agent Settings panels the Gateway does not advertise; this
fixture's reconnect-github step waits for tools.github.status from the
Tools panel, which no longer rendered.

Co-authored-by: obviyus <[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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants