Skip to content

fix(skills): name the Workshop root in collection review prompts - #36

Merged
tomorrowflow merged 1 commit into
mainfrom
fix/skill-review-sandboxed-codex
Oct 10, 2026
Merged

tomorrowflow merged 1 commit into
mainfrom
fix/skill-review-sandboxed-codex

Conversation

@tomorrowflow

Copy link
Copy Markdown
Owner

Problem

Weekly Skill collection review cron jobs fail for frodi, hallgrimur and dev (Codex, sandboxed). The jobs marked "ok" were wrong too: egill and volundur (Ollama) reviewed and tried to edit the read-only installed-skill catalog.

A live re-run transcript (frodi, 2026-10-10) shows the tool surface works: ls, read, write and edit resolve inside /workspace, which is bound to agents/frodi/agent/workshop-skills. The model listed ., saw only .openclaw/ downloads/ shared/ (sandbox scaffolding; this Workshop has no skills), and had no instruction that . is the Workshop. It then:

  • tried its normal workspace host path, which the bridge correctly refuses as container-only;
  • reviewed .openclaw/sandbox-skills/skills, the read-only mount of installed skills;
  • ended with AUTOMATION_FAILED.

The Codex shell-deny floor is unrelated. Only exec is missing, as intended.

Fix

SKILL_WORKSHOP_MAINTENANCE_PROMPT now:

  • says the current working directory is the Workshop root (relative paths);
  • says Workshop skills are folders with a SKILL.md, that .openclaw/ holds read-only installed-skill copies, and that other folders are left unchanged;
  • says an empty Workshop is a complete review with no changes.

The system-owned jobs are upserted at Gateway startup, so stored job payloads pick up the new text on deploy.

Evidence

  • pnpm test src/cron/isolated-agent/run.payload-fallbacks.test.ts src/skills/workshop/experience-review.test.ts src/cron/skill-collection-review-monitor.test.ts --maxWorkers=1: 46 passed (~27 s wall each shard). No new test; a text pin would mirror the implementation.
  • End-to-end proof: after deploy, re-run the review jobs (delivery: none).

Follow-up (not in this PR)

Rooted runs still sync and mount the agent's installed skills into the Workshop root, even with an empty skills snapshot (syncSandboxSkillsToWorkspace rebuilds from the source workspace).

🤖 Generated with Claude Code

Sandboxed review runs saw only `.openclaw/ downloads/ shared/` at the
Workshop root and no instruction that `.` is the Workshop. Codex agents
gave up; Ollama agents tried to edit the read-only installed-skill
mount at `.openclaw/sandbox-skills/skills`. State the root, what
`.openclaw/` is, and that an empty Workshop needs no changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@tomorrowflow
tomorrowflow merged commit 5606146 into main Oct 10, 2026
@tomorrowflow
tomorrowflow deleted the fix/skill-review-sandboxed-codex branch October 10, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant