Skip to content

feat(plugins): allow per-turn tool narrowing in prompt hooks - #114151

Merged
vincentkoc merged 5 commits into
openclaw:mainfrom
yu-xin-c:codex/112466-before-prompt-tools-allow
Jul 29, 2026
Merged

vincentkoc merged 5 commits into
openclaw:mainfrom
yu-xin-c:codex/112466-before-prompt-tools-allow

Conversation

@yu-xin-c

@yu-xin-c yu-xin-c commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Plugins can already replace or trim prompt text in before_prompt_build, but they cannot remove tool schemas from the model request for a zero-tool turn. A lean prompt can therefore still carry the full tool surface and its prefill cost.

This adds optional toolsAllow output to before_prompt_build. [] removes optional tools for that turn while preserving host-required tools; omission preserves the host-resolved tool surface.

Closes #112466

Why This Change Was Made

The restriction is applied at the concrete model-submission boundary, after normal host, sandbox, channel, and runtime tool policy has resolved. This makes the hook narrowing-only: it cannot re-enable a tool already removed by the host.

Multiple hook restrictions retain true intersection semantics, including overlapping glob policies. Tool Search and code-mode catalogs are narrowed alongside visible schemas so hidden tools cannot be recovered through a control tool. Each prompt build derives from a preserved host baseline, allowing a later build to change or omit its restriction without inheriting stale catalog or active-tool state.

The embedded runner and Copilot harness apply the per-turn restriction. The native Codex app-server adapter rejects restrictive hook values because its turn/start contract has no dynamic-tool override; silently ignoring the restriction would widen the model-visible surface.

User Impact

  • Plugins can return toolsAllow: [] to remove optional tools while host-required tools remain available.
  • A non-empty allowlist can only narrow the current host-approved surface.
  • Multiple plugins combine conservatively through intersection.
  • Omitting toolsAllow remains backward compatible.
  • Malformed defined values, including mixed-type arrays, fail closed instead of widening access.

Evidence

Real embedded runtime proof

Tested at 4c6da95712 with two real node openclaw.mjs agent --local turns. Both used the normal external-plugin loader and an OpenAI-compatible loopback provider that recorded the actual /v1/chat/completions request body.

baseline, plugin disabled:
{"proof":"provider-request","path":"/v1/chat/completions","model":"proof-model","stream":true,"toolsCount":37}
reply: proof-ok

external plugin enabled:
[plugins] TOOLS_ALLOW_PROOF hook returned an empty allowlist
{"proof":"provider-request","path":"/v1/chat/completions","model":"proof-model","stream":true,"toolsCount":0,"toolNames":[]}
reply: proof-ok

The provider therefore saw the concrete submitted surface change from 37 tools to zero, while the model turn still completed successfully.

Automated validation

  • Rebased focused core/harness run: 15 files, 316 tests passed.
  • Copilot submission suite: 1 file, 140 tests passed.
  • Final malformed mixed-type allowlist regression suite: 8 tests passed.
  • Production, UI, extensions, scripts, and test-root TypeScript checks passed.
  • Full node scripts/build-all.mjs passed; all 146 public plugin SDK subpaths verified.
  • Type-aware oxlint passed for every changed core and extension TypeScript file.
  • Repository formatting passed for all 23 changed TypeScript/Markdown files.
  • Repository autoreview found the mixed-type fail-closed edge case; it was fixed and the required follow-up review completed clean with no actionable findings.

Maintainer verification - July 29, 2026

Exact PR head: 6f55530bb2801139492fd2afeefe89430979b7f8

Anchored to reviewed origin/main: 877fa6178ac6be0d7354e20ffbff02f93b307213. The signed anchor keeps the original contributor head 4c6da95712bdeffbcf686c1a68b3ee3339806dd7 as parent 1 and current main as parent 2.

Verdict: best fix; no blocking findings. The rewrite keeps policy aggregation in the hook runner, enforcement at each runtime submission boundary, required host tools explicit, and Codex fail-closed where its upstream turn protocol cannot enforce dynamic tools.

Exact-head proof:

  • Focused hook/harness/embedded suites: 47 tests passed.
  • Codex before_prompt_build: 2 passed, 118 skipped.
  • Copilot before_prompt_build: 2 passed, 139 skipped.
  • Core production TypeScript check passed.
  • Plugin SDK surface check passed.
  • All 26 touched files passed formatting; touched TypeScript passed oxlint; git diff --check passed.
  • Fresh structured autoreview on the final branch diff: clean, no accepted/actionable findings (Codex gpt-5.6-sol, score 0.86).
  • Follow-up exact-head dead-export scan passed with zero entries; focused prompt tool policy tests passed (6 tests); uncommitted autoreview was clean (score 0.98).
  • CI exposed a shared embedded-session fixture that did not implement the new active-tool accessor. The fixture now tracks setter/getter state like a real session; the five previously failing suites pass (85 tests), with clean format, oxlint, diff check, and fresh uncommitted autoreview (score 0.97). A recording override now delegates to the real fixture setter; its 75-test suite passes with clean autoreview (score 0.96).
  • Both the main-based rewrite and final anchor have valid maintainer signatures.

Known proof gaps: Blacksmith Testbox is unavailable on this host because its CLI is not authenticated. Broader type lanes also hit unrelated workspace issues outside this diff: missing werift declarations, missing @openclaw/session-url-contract/parse resolution, and sparse-checkout omissions for UI core-test inputs.

Docs: docs/plugins/hooks.md and docs/concepts/agent-loop.md now describe optional-tool narrowing and Codex rejection behavior.

State: ready for merge once exact-head GitHub checks settle.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling extensions: copilot size: L labels Jul 26, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 26, 2026
@clawsweeper

clawsweeper Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 29, 2026, 3:05 PM ET / 19:05 UTC.

ClawSweeper review

What this changes

Adds an optional toolsAllow value to before_prompt_build plugin hooks so plugins can narrow the tool schemas submitted for one embedded or Copilot model turn, while Codex app-server rejects unenforceable restrictions.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

This PR remains necessary as the implementation candidate for the open per-turn tool-surface request. The supplied branch evidence shows a narrowing-only plugin contract, real embedded-runtime proof that the submitted provider tool list becomes empty, explicit Codex fail-closed behavior, and a maintainer acceptance; no concrete patch defect is evident from the available review material. Keep it open for normal merge handling while the exact-head checks finish.

Priority: P2
Reviewed head: 6f55530bb2801139492fd2afeefe89430979b7f8

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong real behavior evidence and focused tests support a bounded implementation, with the remaining work limited to normal exact-head CI completion.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body includes a real external-plugin embedded run with a loopback provider capture showing the submitted tool list change from 37 tools to zero while the completed turn returns proof-ok; the maintainer also reports exact-head validation. Any future proof should continue to redact provider endpoints and other private runtime data.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body includes a real external-plugin embedded run with a loopback provider capture showing the submitted tool list change from 37 tools to zero while the completed turn returns proof-ok; the maintainer also reports exact-head validation. Any future proof should continue to redact provider endpoints and other private runtime data.
Evidence reviewed 5 items Plugin-hook contract: The branch adds toolsAllow?: string[] to the before_prompt_build result and describes it as a narrowing-only per-turn capability; the hook merger treats malformed defined values as an empty restriction rather than widening access.
Concrete embedded enforcement: The embedded prompt phase receives a preserved host baseline plus effective tools, tool-search catalog, and forced-tool names, then applies the hook restriction at the concrete submitted surface rather than allowing hooks to expand host policy.
Codex fail-closed boundary: The Codex adapter throws when before_prompt_build returns a restrictive allowlist, matching the maintainer-reviewed upstream constraint that Codex turn/start lacks a per-turn tool-surface override.
Findings None None.
Security None None.

How this fits together

Prompt hooks run after OpenClaw has assembled the host-approved prompt and tool surface. This change lets hooks further narrow that surface before an embedded or Copilot runtime submits the model request, while the Codex app-server adapter rejects a restriction it cannot represent in its per-turn upstream protocol.

flowchart LR
  A[Host tool policy] --> B[Prompt build hooks]
  B --> C[Combined narrowing policy]
  C --> D[Embedded model submission]
  C --> E[Copilot model submission]
  C --> F[Codex app-server adapter]
  D --> G[Filtered tool schemas]
  E --> G
  F --> H[Fail-closed error when restrictive]
Loading

Before merge

  • Resolve merge risk (P1) - toolsAllow is a new public plugin-hook field with intentionally different runtime outcomes: embedded and Copilot enforce it, while Codex app-server rejects restrictive values. That compatibility contract should remain explicit in SDK surface checks and docs.
  • Resolve merge risk (P1) - The current GitHub check set is still running for the exact head. The PR is reported cleanly mergeable; this is a normal merge gate rather than evidence that the three-way merge would regress current-main behavior.
  • Complete next step (P2) - No narrow repair is indicated; this is accepted feature work awaiting ordinary exact-head CI and merge handling.
Agent review details

Security

None.

PR surface

Source +372, Tests +470, Docs +8. Total +850 across 28 files.

View PR surface stats
Area Files Added Removed Net
Source 17 417 45 +372
Tests 9 471 1 +470
Docs 2 23 15 +8
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 28 911 61 +850

Review metrics

Metric Value Why it matters
Plugin hook contract 1 added public hook-result field toolsAllow expands the plugin SDK surface, so its narrowing semantics and unsupported Codex behavior need to remain stable for plugin authors.

Stored data model

Persistent data-model change detected: persistent cache schema: src/agents/embedded-agent-runner/run/attempt-prompt-assembly.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #112466
Summary: This PR is the candidate implementation for the open feature request describing the same before_prompt_build per-turn tool narrowing capability.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Land the documented runtime split (recommended)
    Accept the additive plugin-hook contract with embedded and Copilot enforcement plus Codex fail-closed rejection, then merge once the exact-head required checks are green.
  2. Pause for a uniform runtime contract
    Defer the field until Codex exposes a supported per-turn tool override if maintainers require all harnesses to enforce the same plugin capability.

Technical review

Best possible solution:

Land the documented narrowing-only hook contract after the exact-head checks pass, preserving host-required tools and the explicit Codex rejection until upstream offers a safe per-turn tool override.

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

Not applicable: this PR implements a requested plugin capability rather than fixing a reported failure. The supplied real embedded-runtime capture nevertheless demonstrates the intended after-fix request path.

Is this the best way to solve the issue?

Yes, based on the supplied branch evidence and accepted maintainer direction: aggregate only narrowing restrictions in hooks, enforce them at submission boundaries that support them, and reject restrictions at the Codex boundary rather than silently widening the model-visible tool surface.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against 6beaff450e6e.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • remove rating: 🦞 diamond lobster: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This is a useful bounded plugin capability with no evidence of an urgent active regression.
  • merge-risk: 🚨 compatibility: The additive plugin-hook field establishes a cross-runtime contract whose enforcement differs intentionally between embedded/Copilot and Codex app-server.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body includes a real external-plugin embedded run with a loopback provider capture showing the submitted tool list change from 37 tools to zero while the completed turn returns proof-ok; the maintainer also reports exact-head validation. Any future proof should continue to redact provider endpoints and other private runtime data.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes a real external-plugin embedded run with a loopback provider capture showing the submitted tool list change from 37 tools to zero while the completed turn returns proof-ok; the maintainer also reports exact-head validation. Any future proof should continue to redact provider endpoints and other private runtime data.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Authored the branch’s main-anchor and follow-up integration commits, personally reviewed the upstream Codex protocol boundary, and explicitly accepted the contract in the PR discussion. (role: recent area contributor and acceptance reviewer; confidence: high; commits: f9a5367364e2, a425b27e7226, a56cf5416be2; files: src/agents/embedded-agent-runner/run/attempt-execution-settle.ts, extensions/codex/src/app-server/run-attempt-prompt.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Wait for the in-progress exact-head required checks to complete before merging.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-07-26T18:48:55.218Z sha 5746b32dd2aad9bffa4cc1117fb329ab124753ac :: needs real behavior proof before merge. :: [P1] Register toolsAllow as a prompt-mutation field
  • reviewed 2026-07-29T17:39:51.383Z sha f9a5367 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-29T18:00:28.607Z sha a425b27 :: needs maintainer review before merge. :: none

@yu-xin-c
yu-xin-c force-pushed the codex/112466-before-prompt-tools-allow branch from 5746b32 to 4c6da95 Compare July 28, 2026 17:19
@yu-xin-c

Copy link
Copy Markdown
Contributor Author

Updated the branch to 4c6da95712 and added the requested real behavior proof to the PR body.

The proof uses two real openclaw agent --local embedded turns with the normal external-plugin loader and an OpenAI-compatible capture endpoint. The actual provider request changed from toolsCount: 37 with the plugin disabled to toolsCount: 0 when before_prompt_build returned toolsAllow: []; both turns returned proof-ok.

I also accepted and fixed a repository-autoreview finding: a mixed array such as ["*", null] now fails closed as [] instead of being sanitized to the permissive ["*"]. The focused regression suite and follow-up autoreview are clean.

One correction to the previous review: I could not reproduce the claimed prompt-mutation registry blocker. These exact checks return no matches at either the reviewed base or the current head:

git grep -n -E 'PLUGIN_PROMPT_MUTATION_RESULT_FIELDS|MissingPluginPromptMutationResultFields' 4bb8df63ca9c -- src/plugins/hook-before-agent-start.types.ts
git grep -n -E 'PLUGIN_PROMPT_MUTATION_RESULT_FIELDS|MissingPluginPromptMutationResultFields' HEAD -- src/plugins/hook-before-agent-start.types.ts

At the reviewed base, src/plugins/hook-before-agent-start.types.ts is 42 lines long, so the cited line 466 and compile-time assertion are not present in that revision. Production/UI/extensions/scripts/test-root type checks and the full build pass on the updated branch, so I did not add a new registry solely to satisfy that finding.

I also rechecked the documented native Codex app-server boundary against Codex commit 6e5a2d6b8d14: TurnStartParams has prompt, model, sandbox, approval, environment, and output-schema overrides, but no per-turn tool-surface override. The PR therefore continues to document that adapter as unsupported rather than silently claiming enforcement.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@yu-xin-c

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@vincentkoc vincentkoc self-assigned this Jul 29, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 29, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer decision: accepted.

toolsAllow is an additive, narrowing-only plugin contract. Embedded and Copilot enforce it on the submitted turn surface. Codex app-server must fail closed for restrictive values rather than silently run with a wider tool surface.

I personally verified the upstream Codex boundary before accepting this:

  • codex-rs/app-server-protocol/src/protocol/v2/turn.rs: TurnStartParams has turn-level model, approval, sandbox, environment, context, and output-schema overrides, but no tool-surface override.
  • codex-rs/app-server-protocol/src/protocol/v2/thread.rs: dynamic_tools belongs to ThreadStartParams.
  • codex-rs/app-server/src/request_processors/thread_processor.rs: dynamic tools are validated and installed while starting the thread.

That makes the documented Codex rejection accurate. Waiting for a future upstream per-turn tool API would unnecessarily block a useful safe capability in the runtimes that can enforce it today.

The latest ClawSweeper review has no patch findings, sufficient live proof, and one optional move: confirm this contract and take the PR out of draft once exact-head checks are settled. Both conditions are now satisfied.

@vincentkoc
vincentkoc marked this pull request as ready for review July 29, 2026 17:49
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 29, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Jul 29, 2026
@vincentkoc
vincentkoc merged commit 42e23c1 into openclaw:main Jul 29, 2026
129 of 138 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

vincentkoc added a commit to masatohoshino/openclaw that referenced this pull request Jul 29, 2026
* origin/main: (151 commits)
  feat(plugins): allow per-turn tool narrowing in prompt hooks (openclaw#114151)
  docs(hooks): mark pairing hook observation-only (openclaw#116055)
  docs(control-ui): document composer capability menu (openclaw#115858)
  fix(build): bound declaration memory use (openclaw#116021)
  fix: Slack replies recover after gateway startup replay (openclaw#115991)
  fix(azure-speech): keep valid voices from malformed catalogs (openclaw#115067)
  fix(agents): prevent model runtime startup timeout (openclaw#116039)
  fix(ui): explain unavailable MCP tool catalogs (openclaw#115994)
  fix(skills): run experience review outside released request roots (openclaw#116040)
  docs(security): add safe Gmail reader setup (openclaw#116041)
  chore: refresh browser gateway runtime (openclaw#116043)
  test: isolate gateway sequence lifecycle coverage
  docs: note gateway reconnect sequence fix
  test: cover gateway sequence reset on restart
  test: cover gateway sequence reset on reconnect
  fix: reset gateway event sequence on reconnect
  fix(codex): avoid transcript mirror snapshot churn (openclaw#115070)
  fix(test): stop cross-file state leaks in media suites (openclaw#116027)
  feat(hooks): add persistent hook session mode (openclaw#75918)
  fix(memory): return early for blank searches (openclaw#116034)
  ...
vincentkoc added a commit that referenced this pull request Jul 29, 2026
* origin/main: (39 commits)
  feat(apple): media renditions, Now Playing, video upload (#116051)
  feat(android): media renditions, MediaSession, video upload (#116037)
  feat(cli): run agent exec against the ambient config, composed in memory (#116038)
  fix #95351: [Feature]: Generic JSONL line-parsing hook for CliBackendPlugin (native tool-card support beyond claude-stream-json) (#95386)
  feat(plugins): allow per-turn tool narrowing in prompt hooks (#114151)
  docs(hooks): mark pairing hook observation-only (#116055)
  docs(control-ui): document composer capability menu (#115858)
  fix(build): bound declaration memory use (#116021)
  fix: Slack replies recover after gateway startup replay (#115991)
  fix(azure-speech): keep valid voices from malformed catalogs (#115067)
  fix(agents): prevent model runtime startup timeout (#116039)
  fix(ui): explain unavailable MCP tool catalogs (#115994)
  fix(skills): run experience review outside released request roots (#116040)
  docs(security): add safe Gmail reader setup (#116041)
  chore: refresh browser gateway runtime (#116043)
  test: isolate gateway sequence lifecycle coverage
  docs: note gateway reconnect sequence fix
  test: cover gateway sequence reset on restart
  test: cover gateway sequence reset on reconnect
  fix: reset gateway event sequence on reconnect
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
…w#114151)

* feat(plugins): allow per-turn tool narrowing in prompt hooks

* fix(hooks): keep prompt tool policy baseline internal

* fix(test): track active tools in embedded session fixture

* test(agents): preserve active tool fixture state

---------

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: codex extensions: copilot merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin hooks: allow before_prompt_build to narrow the submitted tool surface per turn (toolsAllow)

2 participants