Repository navigation
Description
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 equivalent openclaw skills workshop apply CLI command succeeds quickly on the same clean proposal.
Steps to reproduce
- Use OpenClaw 2026.6.1 with default Skill Workshop lifecycle approval behavior, or with
skills.workshop.approvalPolicyunset /pending. - Create a small clean Skill Workshop proposal for a disposable workspace skill.
- From an agent session, call the dynamic tool with
skill_workshop(action="apply", proposal_id="<proposal-id>"). - Observe the dynamic tool call time out after 90 seconds.
- Check that the proposal remains pending and the target workspace
SKILL.mdwas not created. - Run
openclaw skills workshop apply <proposal-id> --jsonagainst an equivalent clean proposal. - Observe that the CLI apply succeeds quickly.
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_workshop execution.
Actual behavior
The agent-tool call returned:
OpenClaw dynamic tool call timed out after 90000ms while running tool skill_workshop.
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
Observed dynamic tool timeout:
OpenClaw dynamic tool call timed out after 90000ms while running tool skill_workshop.
Local code inspection found the Skill Workshop default config uses pending lifecycle approval:
const DEFAULT_CONFIG = {
autonomous: { enabled: false },
approvalPolicy: "pending",
maxPending: 50,
maxSkillBytes: 4e4
};
The agent-tool pre-call hook requires approval for Skill Workshop lifecycle actions unless `skills.workshop.approvalPolicy` is set to `auto`:
const SKILL_WORKSHOP_LIFECYCLE_ACTIONS = new Set([
"apply",
"reject",
"quarantine"
]);
function resolveSkillWorkshopToolApproval(params) {
if (params.toolName !== "skill_workshop") return;
const action = readLifecycleAction(params.toolParams);
if (!action) return;
if (resolveSkillWorkshopConfig(params.config).approvalPolicy === "auto") return;
return { requireApproval: {
...lifecycleApprovalText(action),
allowedDecisions: ["allow-once", "deny"]
} };
}
A local workaround was verified by setting:
{
"skills": {
"workshop": {
"approvalPolicy": "auto"
}
}
}
After restarting Gateway with that config, agent-tool apply succeeded on a disposable clean proposal. CLI apply continued to succeed. Skill Workshop list/inspect/create/revise paths also continued to work.Impact and severity
Affected users/systems/channels: OpenClaw agent sessions using the skill_workshop dynamic 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 for apply, reject, and quarantine, which may be too broad for some environments.
Additional information
The suspected mismatch is:
- Skill Workshop lifecycle approval waits longer than the dynamic tool watchdog.
- The dynamic tool watchdog expires first, returning a generic 90-second timeout.
- The underlying apply function is not reached in the agent-tool path.
- CLI apply succeeds because it bypasses the agent-tool lifecycle approval gate.
Suggested fixes:
- Ensure the Skill Workshop lifecycle approval wait cannot exceed the dynamic tool watchdog.
- Return a clear error such as
waiting for Skill Workshop lifecycle approval timed outinstead of a generic tool timeout. - Consider making lifecycle approval policy configurable per action or workspace, so users can allow
applyin trusted admin workspaces without also broadeningrejectandquarantine. - Document
skills.workshop.approvalPolicyand the security tradeoff of setting it toauto.
Workaround
Set skills.workshop.approvalPolicy to auto in 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.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 7, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 3:44 PM ET / 19:44 UTC.
Summary
Keep open: current main and latest v2026.6.9 still leave Codex
skill_workshopdynamic-tool calls on a 90s watchdog while the default Skill Workshop approval path can wait 120s plus gateway grace; the open closing PR is the right candidate to review rather than closing this issue early.Reproducibility: yes. at source level: default pending lifecycle approval can wait 120s plus 10s gateway grace while Codex generic dynamic-tool calls time out at 90s. I did not run a live Gateway plus Codex approval session in this read-only review.
Root-cause cluster
Relationship:
canonicalCanonical: #91266
Summary: This issue is the canonical report for the 90s Codex dynamic-tool watchdog expiring before default Skill Workshop lifecycle approval can finish; the open linked PR is the candidate fix, while related approval issues track broader UX, routing, and policy work.
Members:
fixed_by_candidate: fix(codex): extend skill_workshop dynamic-tool timeout above approval ceiling #91325 - This open PR uses closing syntax for this issue and raises the Codexskill_workshoptimeout on both implicated paths.partial_overlap: skill_workshop apply times out ("Approval timed out") on large proposals (~28KB) #94249 - This issue also reportsskill_workshop applytimeout behavior, but targets the natural approval timeout for large proposals rather than the generic 90s Codex watchdog.partial_overlap: #94249: skill_workshop apply times out on large proposals (~28KB) #94315 - This open PR targets the large-proposal approval window in skill_workshop apply times out ("Approval timed out") on large proposals (~28KB) #94249, not the Codex watchdog mismatch here.partial_overlap: Skill Workshop apply popup carries no proposal details + fixed 60s TTL #93173 - This issue asks for richer approval popup details and a longer or configurable approval TTL, which may improve the workflow but is broader than this timeout bug.partial_overlap: Skill Workshop lifecycle actions need symmetric owner-approval paths #93278 - This issue tracks symmetric owner-approval paths for Skill Workshop lifecycle actions, overlapping the approval surface but requiring product/security direction beyond the watchdog mismatch.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
Do not queue a duplicate fix branch because the open closing PR already owns the narrow timeout repair.
Security
Needs attention: The issue is security-sensitive because it sits on the Skill Workshop lifecycle approval gate; fixes should preserve fail-closed pending approval rather than relying on broad auto-approval.
Review details
Best possible solution:
Land or revise the linked PR so both Codex main-thread and side-thread
skill_workshopwatchdogs exceed the plugin approval ceiling while preserving the default pending approval gate.Do we have a high-confidence way to reproduce the issue?
Yes at source level: default pending lifecycle approval can wait 120s plus 10s gateway grace while Codex generic dynamic-tool calls time out at 90s. I did not run a live Gateway plus Codex approval session in this read-only review.
Is this the best way to solve the issue?
Yes for the narrow reported bug: raising the Codex
skill_workshopwatchdog on both main-thread and side-thread paths is the smallest maintainable fix that preserves the approval gate. Broader chat approval evidence and popup TTL work should stay in their separate linked items.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
skill_workshopapply path can still surface the generic 90s Codex dynamic-tool timeout until the linked PR or an equivalent fix merges.skills.workshop.approvalPolicy: "auto", skips the secondary lifecycle approval gate for apply, reject, and quarantine, so the durable fix should preserve fail-closed pending approval.Codex review notes: model internal, reasoning high; reviewed against 6daf9307e0b9.
Label changes
Label justifications:
P2: This is a normal-priority behavior bug with a clear source-level cause and limited blast radius around Skill Workshop lifecycle actions through Codex dynamic tools.impact:security: The affected path is the Skill Workshop lifecycle approval gate, and the practical workaround weakens approval for security-sensitive proposal lifecycle actions.Evidence reviewed
Security concerns:
src/skills/workshop/policy.ts:64The current workaround disables the secondary approval gate for apply, reject, and quarantine; the fix should address the timeout mismatch without weakening the default approval policy.
Confidence: 0.87
What I checked:
readConfiguredDynamicToolTimeoutMshas noskill_workshopbranch, soskill_workshopstill falls back to the generic watchdog. (extensions/codex/src/app-server/dynamic-tool-execution.ts:23, 6daf9307e0b9)extensions/codex/src/app-server/side-question.ts:99, 6daf9307e0b9)src/agents/agent-tools.before-tool-call.ts:645, 6daf9307e0b9)resolveSkillWorkshopToolApprovalrequires approval forapply,reject, andquarantineunlessskills.workshop.approvalPolicyisauto, and does not set a shorter timeout override. (src/skills/workshop/policy.ts:47, 6daf9307e0b9)approvalPolicy: "pending", and docs state agent-initiated lifecycle actions show an approval prompt by default whileautoskips it for trusted environments. Public docs:docs/tools/skill-workshop.md. (docs/tools/skill-workshop.md:76, 6daf9307e0b9)skill_workshoptimeout branch. (extensions/codex/src/app-server/dynamic-tool-execution.ts:23, c645ec4555c0)Likely related people:
extensions/codex/src/app-server/dynamic-tool-execution.ts,extensions/codex/src/app-server/side-question.ts)skill_workshop, and adjusted final-parameter approval behavior. (role: Skill Workshop lifecycle policy introducer; confidence: high; commits: 3037646d228d, 2383cfd3039d, 3cd368edec85; files:src/skills/workshop/policy.ts,src/skills/workshop/config.ts,src/agents/agent-tools.before-tool-call.ts)before_tool_call.requireApprovalframework used by Skill Workshop lifecycle approval traces to this commit history. (role: approval framework contributor; confidence: high; commits: 6ade9c474cf1; files:src/infra/plugin-approvals.ts,src/agents/agent-tools.before-tool-call.ts)extensions/codex/src/app-server/side-question.ts,extensions/codex/src/app-server/side-question.test.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.5 remaining items
aeoleader commentedon Jun 15, 2026
Still reproduces on 2026.6.5 (and since PR #91325 isn't merged, 2026.6.6 doesn't include the fix either).
Setup: Feishu direct chat; an agent calls
skill_workshop(action="apply")on a clean, freshly-created workspace-skill proposal.Symptoms — exact match to this issue:
applycall hung and returnedOpenClaw dynamic tool call timed out after 90000ms while running tool skill_workshop.— twice in a row (two retries, ~90s each).pendingand the targetSKILL.mdwas never written.openclaw skills workshop apply <id>CLI command applied the same proposal in ~1.8s.Extra angle (relates to #93048 / #92080): the user had given explicit in-chat approval ("apply it") in the same Feishu thread before the agent called apply, but it was not consumed as approval evidence — the agent-tool path still waited on a separate approval route and hung to the 90s watchdog instead of returning a clear approval error.
Workaround that works today: run apply from the CLI (
openclaw skills workshop apply <id>), which bypasses the agent-tool approval gate. Caveat: CLI apply does not add the skill to an allowlist-mode agent'sagents.list[].skills, so a separate allowlist edit + gateway restart is still needed before the agent can actually see the skill.cgluttrell commentedon Jun 24, 2026
Confirming this still reproduces on OpenClaw 2026.6.10 (ef3802d).
Environment/context:
obsidian-reference-note-capture-20260624-77ecfddea7PROPOSAL.mdis 3,531 bytes; resulting liveSKILL.mdis 3,468 bytes, so this was not a large proposal casepending, scanclean/home/chrisluttrell/.openclaw/workspace/skills/obsidian-reference-note-capture/SKILL.mdObserved behavior:
openclaw.skill_workshopwithaction="apply"OpenClaw dynamic tool call timed out after 90000ms while running tool skill_workshop.pendingand the target liveSKILL.mddid not exist.v2026.6.10produced the same 90s timeout.Workaround that succeeded:
That CLI command completed successfully in about 4 seconds, marked the proposal applied, and wrote the live skill file.
So this still appears to be specifically the dynamic-tool approval/apply transport path, not Skill Workshop core apply. The CLI path works; the chat/dynamic-tool path still hits the 90s watchdog on v2026.6.10.
Lrs-GreenBottle commentedon Jun 24, 2026
Confirming a related Feishu DM repro on OpenClaw 2026.6.9 (c645ec4).
Scenario:
skill_workshop(action="apply")./approve ...command in time, the tool call returns an approval timeout and the lifecycle action does not complete.This overlaps the timeout symptoms here, but the Feishu-specific UX makes it much easier to hit the timeout:
Source-level notes from local inspection:
capabilities.inlineButtons; it only acceptsimage/audio/video.Suggested connection to related work:
actioncontainer — exec/plugin approval cards fail with code 230099 #79824 as well.Private details intentionally omitted.
fix(skills): make Skill Workshop lifecycle approvals decidable and no…
fix(skills): make Skill Workshop lifecycle approvals decidable and no…
fix(skills): make Skill Workshop lifecycle approvals decidable and no…