Repository navigation
docs(gateway): say which role policy binds automatic utility work - #207247
Merged
Merged
Conversation
operator-scopes.md said that "bounded automatic metadata" keeps Gateway service authority, without saying what that covers. Since #207070, progress narration follows the turn's role and session observer digests follow the session owner's role. Name each consumer and the authority it uses; automatically generated session and thread titles keep service authority.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 29, 2026
…enclaw#207247) ## What problem this solves `docs/gateway/operator-scopes.md` says that "bounded automatic metadata" keeps Gateway service authority, but does not say what that covers. openclaw#207070 bound progress narration to the turn's operator role and session observer digests to the session owner's role, so the sentence now reads as if those still bypass the role `modelPolicy`. Operators who restrict utility models cannot tell from the docs which automatic model calls their roles control. ## Change Docs only. Replace the undefined term with the consumers and the authority each uses: - Progress narration: the turn's role. Execution skips refused utility models; a role that refuses every utility model gets no narration. - Session observer digests: the session owner's role, resolved once when a run's observation starts. A refusing owner role turns observation off for that run. Deleted owner profiles and sessions without an owner are observed on service authority. - Automatically generated session and thread titles, inbound media preprocessing and host-owned execution approval keep service authority (unchanged; chat-send dashboard titles and channel thread titles pass no operator authority). ## Security note Before openclaw#207070, progress narration and session observer digests ran the utility model even when the role's `modelPolicy` refused it (since openclaw#156346, 2026-09-23). The refused model ran on the Gateway's credentials and its short text was shown; main turns, tools and data access were not affected. openclaw#207070 fixed it on main. Backports are prepared for the active extended-stable line (narration) and the next stable (the openclaw#206962 + openclaw#207070 pair). ## Evidence - Text checked against `src/auto-reply/reply/progress-narrator.ts`, `src/gateway/session-observer-completion.ts` and `src/gateway/server-methods/chat-send-background.ts` on main. - `oxfmt --check`, `check-docs-mdx`, `docs:check-links` (0 broken), `git diff --check`: clean. - Local review: patch is correct, 0 findings. Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
Release adaptation: Keep current recap lease and profile checks, return deliberate role refusals without retry, and snapshot only the admitted model restriction for each observer run. Adapt role regression fixtures to the stable admission API. Companion audit: #206962 already committed as the ordered companion. #207774 plugin generation handling is already in stable. #207262 cancellation, #205607 title fallback, and #208460 provider routing are separate existing behaviors; #207247 is follow-up documentation. (cherry picked from commit 6d8d1f5) Co-authored-by: RomneyDa <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem this solves
docs/gateway/operator-scopes.mdsays that "bounded automatic metadata" keeps Gateway service authority, but does not say what that covers. #207070 bound progress narration to the turn's operator role and session observer digests to the session owner's role, so the sentence now reads as if those still bypass the rolemodelPolicy. Operators who restrict utility models cannot tell from the docs which automatic model calls their roles control.Change
Docs only. Replace the undefined term with the consumers and the authority each uses:
Security note
Before #207070, progress narration and session observer digests ran the utility model even when the role's
modelPolicyrefused it (since #156346, 2026-09-23). The refused model ran on the Gateway's credentials and its short text was shown; main turns, tools and data access were not affected. #207070 fixed it on main; the narration part is being backported to the active extended-stable line and the fix pair to the next stable.Evidence
src/auto-reply/reply/progress-narrator.ts,src/gateway/session-observer-completion.tsandsrc/gateway/server-methods/chat-send-background.tson main.oxfmt --check,check-docs-mdx,docs:check-links(0 broken),git diff --check: clean.