-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Skill Workshop agent-tool apply times out because approval wait exceeds tool watchdog #91266
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
skill_workshop(action="apply")times out after 90 seconds under the default Skill Workshop lifecycle approval policy, while the equivalentopenclaw skills workshop applyCLI command succeeds quickly on the same clean proposal.Steps to reproduce
skills.workshop.approvalPolicyunset /pending.skill_workshop(action="apply", proposal_id="<proposal-id>").SKILL.mdwas not created.openclaw skills workshop apply <proposal-id> --jsonagainst an equivalent clean proposal.Expected behavior
The agent-tool apply path should either complete successfully after the user approves the lifecycle action, or return a clear approval-related error before the dynamic tool watchdog expires. It should not appear as a generic hung/timed-out
skill_workshopexecution.Actual behavior
The agent-tool call returned:
After the timeout, the proposal was still pending and the target workspace skill file had not been created. The equivalent CLI apply path succeeded quickly on clean proposals.
OpenClaw version
OpenClaw 2026.6.1 (2e08f0f)
Operating system
macOS 26.5 (25F71)
Install method
npm global under a Homebrew Node prefix
Model
openai/gpt-5.5
Provider / routing chain
OpenClaw -> local Gateway dynamic tool runtime -> skill_workshop -> Skill Workshop approval gate
Additional provider/model setup details
This does not appear to be model/provider-specific. The failure occurs in the OpenClaw dynamic tool / Skill Workshop lifecycle approval path before the proposal reaches the normal apply implementation.
Logs, screenshots, and evidence
Impact and severity
Affected users/systems/channels: OpenClaw agent sessions using the
skill_workshopdynamic tool to apply Skill Workshop proposals with the default pending lifecycle approval policy.Severity: High for Skill Workshop usage through agents. It blocks applying proposals via the agent tool and presents as a generic timeout rather than an actionable approval-state message.
Frequency: Repeatedly observed before workaround when using the agent-tool apply path; CLI apply succeeded on the same class of clean proposals.
Consequence: Users may believe Skill Workshop apply is broken or that proposal content is invalid, even though the underlying CLI/service path works. The practical workaround,
approvalPolicy: "auto", disables the secondary lifecycle approval gate forapply,reject, andquarantine, which may be too broad for some environments.Additional information
The suspected mismatch is:
Suggested fixes:
waiting for Skill Workshop lifecycle approval timed outinstead of a generic tool timeout.applyin trusted admin workspaces without also broadeningrejectandquarantine.skills.workshop.approvalPolicyand the security tradeoff of setting it toauto.Workaround
Set
skills.workshop.approvalPolicytoautoin the trusted workspace config and restart Gateway. This restores agent-tool apply behavior, but it also bypasses the secondary lifecycle approval gate for Skill Workshop lifecycle actions.