Repository navigation
fix(skills): persist workshop apply reason; correct Skill Workshop docs - #114471
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 27, 2026, 5:13 AM ET / 09:13 UTC. ClawSweeper reviewWhat this changesThe PR preserves an optional operator-supplied reason when applying a Skill Workshop proposal and corrects Skill Workshop and self-learning documentation to match the intended runtime boundaries. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 4 items remain Keep this PR open for normal maintainer review. The narrow patch consistently stores the apply reason in the proposal record and adds focused persistence coverage, but the protected Priority: P2 Review scores
Verification
How this fits togetherSkill Workshop converts reviewed workspace-skill proposals into live workspace skills and persists their status for later inspection. Chat, CLI, and Gateway callers share the Workshop service, which scans a proposal before applying it and records its resulting state. flowchart LR
A[Operator or agent] --> B[Workshop proposal]
B --> C[Security scan]
C --> D[Apply decision]
D --> E[Workspace skill]
D --> F[Proposal record]
F --> G[Inspection and lifecycle review]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +1, Tests +24, Docs +9. Total +34 across 4 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase or refresh against current Do we have a high-confidence way to reproduce the issue? Yes, at source level: applying a proposal with an optional reason previously leaves no assignment to the record's apply-time status-reason field, while the proposed focused test exercises that path. A live current-main failure was not independently run in this read-only review. Is this the best way to solve the issue? Unclear. Reusing the existing normalized status-reason field is the narrowest apparent repair and matches the PR's stated reject/quarantine convention, but current-main callers and inspection surfaces still need final maintainer verification. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f9be52b5f91d. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
19518d3 to
b6f923b
Compare
|
Maintainer landing disposition for exact head
|
|
Merged via squash.
|
* origin/main: (61 commits) perf(ui): debounce event-driven session list refreshes and right-size child paging (openclaw#115374) feat(talk): support GPT-Live realtime voice over ChatGPT OAuth (openclaw#115226) feat(system-agent): guide gateway configuration in Ask OpenClaw (openclaw#115363) fix(agents): make overflow recovery append-only via branch-and-reappend (openclaw#115271) (openclaw#115310) fix(macos): bound websocket ping so a dropped pong cannot orphan its continuation (openclaw#115362) fix(codex): isolate native hook relay startup (openclaw#115078) fix(ci): stop reviving superseded pull request workflows (openclaw#115378) feat(openshell): add workspace selection (openclaw#114952) fix(skills): persist workshop apply reason; correct Skill Workshop docs (openclaw#114471) fix: agent stops replying when a session transcript has no header row (openclaw#115080) perf(usage): stale-while-revalidate caches for usage.status and sessions.usage (openclaw#115369) fix(discord): reject invalid UTF-8 probe responses (openclaw#111734) feat(gateway): add memory.search operator method (openclaw#115346) fix(android): keep welcome action reachable with large text (openclaw#111747) fix(gateway): validate doctor memory agent ids (openclaw#115365) refactor: harden shell completion and shard Control UI E2E (openclaw#115332) fix(ui): anchor the thread branches menu to its trigger button (openclaw#115352) perf(sessions): incremental snapshot revalidation and shallow list projections (openclaw#115359) refactor(sessions): consolidate entry state (openclaw#115299) feat(ui): swap three plain Lobsterdex palettes for balloon, ascii, and portal (openclaw#115308) ...
…cs (openclaw#114471) * fix(skills): persist workshop apply reason and correct docs * docs: refresh self-learning map
What Problem This Solves
Fixes an issue where an optional reason supplied while applying a Skill Workshop proposal was discarded instead of being retained with the applied proposal. It also corrects Workshop and self-learning documentation that overstated curation scope, scanner blocking behavior, direct-write enforcement, runtime support, and the proposal-size ceiling.
Why This Change Was Made
Apply now normalizes and stores its reason through the same
statusReasonfield used by reject and quarantine, with focused persistence coverage. The docs now describe the implemented ownership and runtime boundaries rather than broader intended behavior.The companion enforcement-guard investigation concluded that a hard direct-write guard is not currently possible at the tool-policy seam, so this PR documents the rule as advisory and does not add enforcement.
AI-assisted: yes. The patch was inspected and validated before submission.
User Impact
Operators can inspect why an applied proposal was accepted, and the public docs now accurately explain which skills are curated, which scanner findings block apply, where delayed experience review works, and the actual 200,000-byte configured maximum.
Evidence
node scripts/run-vitest.mjs src/skills/workshop/service.test.ts: 1 test file passed, 36 tests passed.node scripts/check-changed.mjs -- src/skills/workshop/service.ts src/skills/workshop/service.test.ts docs/tools/skill-workshop.md docs/tools/self-learning.md: passed on Blacksmith Testbox, including core and core-test typechecks, lint, formatting, and repository guards (run).git diff --check: passed.pnpm docs:list: passed and confirmed both edited pages in the documentation index..agents/skills/autoreview/scripts/autoreview --mode uncommitted: clean, with no accepted or actionable findings.