Repository navigation
fix: include GitHub and transcript tools in Disable All - #156865
Conversation
Complete the configurable core catalog with meeting transcripts and GitHub tools so bulk disables cover their names. Preserve runtime availability and caller authority gates, and keep transcripts out of restricted profiles.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed September 23, 2026, 8:29 PM ET / September 24, 2026, 00:29 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch adds GitHub publishing and meeting transcript tools to the agent Tools catalog so Disable All includes them, and updates documentation and tests. Merge readiness⛔ Blocked before merge - 10 items remain The fix remains needed: current main omits three tools from Disable All. The branch covers that gap, but it also changes the meaning of saved tool-group policies. The prior blocking finding remains on the unchanged head. Priority: P1 Review scores
Verification
How this fits togetherThe Gateway sends a configurable tool catalog to the Control UI, which saves Disable All as explicit tool denies. The agent runtime expands saved tool groups and applies policy and caller checks before tools can run. flowchart LR
A[Core tool definitions] --> B[Gateway catalog]
B --> C[Agent Tools settings]
C --> D[Saved tool policy]
A --> E[Tool group expansion]
D --> E
E --> F[Runtime tool selection]
F --> G[Transcript access checks]
Decision needed
Why: The branch changes the effective scope of persisted grants and denies; accepting that access change requires explicit owner intent and upgrade evidence. Before merge
Findings
Agent review detailsSecurityNeeds attention: The new catalog definition also expands existing group grants to a tool capable of reading meeting captures. PR surfaceSource +3, Tests +21, Docs +9. Total +33 across 6 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep all three tools visible to Disable All while separating catalog visibility from legacy group expansion, so saved group policies retain their prior meaning. Do we have a high-confidence way to reproduce the issue? Yes, the source path is clear and the contributor captured a baseline live mismatch: Disable All saved only catalog-visible names while a subsequent turn still received omitted tools. This read-only review did not execute current main. Is this the best way to solve the issue? No. Adding the catalog entries addresses the reported failure, but the transcript definition also changes saved tool-group permissions; catalog visibility should be independent of that policy expansion. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d1a3a33acc1c. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Keep meeting transcripts visible in the configurable catalog without adding it to existing media or OpenClaw policy groups. Preserve saved allows and denies while keeping Disable All coverage complete.
|
Fixed the saved-group finding in 30332b7. The transcript catalog row stays visible, but remains outside both Two real matcher regressions failed before the correction and pass now. All 93 focused tests, core and affected test typechecks, targeted lint, docs, formatting, and fresh managed review pass. The PR body includes the measured costs and inspected before/after proof. Current-head CI is progressing; no test failures have been reported by the exact-head watcher. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
) * fix: include run-dependent tools in Disable All Complete the configurable core catalog with meeting transcripts and GitHub tools so bulk disables cover their names. Preserve runtime availability and caller authority gates, and keep transcripts out of restricted profiles. * fix(tools): preserve transcript policy group semantics Keep meeting transcripts visible in the configurable catalog without adding it to existing media or OpenClaw policy groups. Preserve saved allows and denies while keeping Disable All coverage complete.
What Problem This Solves
Fixes GitHub and meeting transcript tools remaining enabled after an operator clicks Disable All in an agent's Tools settings.
User Impact
Operators can configure and deny
github_identity_status,github_publish, andtranscriptsfrom the tool catalog. Existing saved deny lists are unchanged; click Disable All and Save again to include the newly listed tools.transcriptsappears in the Media catalog section while remaining outsidegroup:mediaandgroup:openclaw. Existing group grants and denies retain their meaning, and the minimal, coding, and messaging profiles are unchanged. Runtime workspace, identity, caller, and capture access checks continue to apply.Why This Change Was Made
Disable All generates explicit denies from the configurable catalog. The catalog omitted meeting transcripts and hid GitHub tools behind per-run availability facts that the catalog endpoint does not have. The policy matcher correctly applied the supplied denies, but those names were missing.
The canonical catalog now lists these configurable tools independently of per-run authorization. The obsolete catalog availability argument and its callers are removed; the Swarm and personal-instructions feature gates remain. A regression invokes the registered
tools.cataloghandler and verifies that its returned deny list covers every configurable core factory tool.Evidence
undefinedfor all three tool functions; its current binding matched the inspected rollout. Only the metadata probe wrapper ran. The original empty agent tool policy was restored and verified exactly.github_identity_status,github_publish, andtranscripts; the repaired code passes.check:changedpassed, including core typechecking, all 25 test type shards, changed-file lint, documentation/config checks, and architecture guards: 1204.705s wall. Formatting andgit diff --checkpassed.group:mediaandgroup:openclawpermissions. The catalog now keeps visual section placement separate from policy group membership. Two real matcher regressions failed before this correction and passed afterward; they cover both saved allows and saved denies, including an explicit transcript grant.30332b7a9fa13551f856ad2b8c3e1a85230a5dbdin 802s elapsed including setup and scheduling. The three UI check jobs took 327–362s and the nine browser jobs 247–518s each; these are whole-job costs, not isolated regression timings.Two initial setup failures occurred before validation completed: the fresh checkout lacked workspace dependency links, then the declaration guard rejected borrowed dependencies. Providing matching private dependency copies resolved the setup; no product or test assertions were weakened.
Before/after screenshots and the metadata probe were delivered in chat. All six embedded PR images were verified to render. The PR is ready for review with exact-head CI green; the refreshed ClawSweeper review and normal native merge gates remain.
The separate effective-tool preview undercount for permitted run-dependent tools is outside this catalog repair. The proof above checks the saved policy and actual native metadata, rather than relying on the UI's Live count.
The first two images show the before catalog: 72 configurable tools and a Media section without meeting transcripts. The after images show the 75-tool catalog, the newly listed transcript tool, the saved 0/75 state, and the completed metadata-only probe.