Skip to content

fix: guide background skill reviews through Workshop proposals - #164292

Merged
steipete merged 2 commits into
mainfrom
codex/frv-workshop-discovery
Oct 3, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/frv-workshop-discovery

Conversation

@steipete

@steipete steipete commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes misleading discovery guidance that lets background skill reviews guess unsupported Workshop actions before finding the correct proposal workflow.

User Impact

Background reviews receive explicit instructions to list pending proposals and inspect or revise a selected result. Generated proposals retain their existing pending-review policy.

Why This Change Was Made

The review prompt said to inspect pending proposals, but inspect selects one proposal; enumeration requires list. Ordinary Workshop discovery also lacked the argument guidance already present in the personal-library wrapper. The base descriptor now owns that shared guidance, and the review names action=list, status=pending, and the returned ID explicitly. Runtime actions, publication rules, model selection, budgets, and strict live assertions are unchanged.

Evidence

The original release-check job remains failed: positive and interrupted reviews guessed inspect without a selector and unsupported inventory, respectively, then recovered and created valid proposals. The unchanged no-tool-error assertion correctly rejected those runs.

The existing five-file Workshop selection passed all 102 tests. Core and test typechecks and independent review through P2 passed. No tests were added or weakened.

The complete changed gate passed with the inherited environment-name budget mismatch corrected. Main independently landed that same correction in 5f52ff0, so the redundant budget change was removed from this PR. The old local base still contains that inherited mismatch; the three product files at 9808991aa8f1d1b6bd2a9f20c4503bf402915bc0 remain byte-identical to tested head 12447fc6d2fa198e0ca4fce88746235d3ad1351b.

One isolated invocation of the existing live evaluation passed all seven tests in 147.15 seconds. Positive and interrupted reviews each used list with status=pending and created one pending proposal; the negative review abstained. Runtime diagnostics recorded zero tool errors. This establishes one passing live run, not a measured flake-rate improvement. No full-release rerun has been performed for this patch.

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Oct 3, 2026
@clawsweeper clawsweeper Bot added 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. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 3, 2026
@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 3, 2026, 8:51 AM ET / 12:51 UTC (Revision 2).

ClawSweeper review

What this changes

The PR clarifies how background skill reviews list and select pending Workshop proposals and centralizes shared tool argument guidance.

Merge readiness

✅ Ready for maintainer review

The PR remains useful: current main retains the misleading guidance. No actionable patch defects remain, and the earlier conflict and draft concerns are resolved.

Priority: P2
Reviewed head: 9808991aa8f1d1b6bd2a9f20c4503bf402915bc0

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, maintainable guidance repair with relevant live evidence and no actionable findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The captured live-run report exercises the production background-review runner through real provider execution: positive and interrupted cases listed pending proposals and staged one draft each, while the negative case abstained with zero tool errors. Inspected harness assertions cover dispatch receipts and persisted outcomes; all changed product blobs match the tested head. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The captured live-run report exercises the production background-review runner through real provider execution: positive and interrupted cases listed pending proposals and staged one draft each, while the negative case abstained with zero tool errors. Inspected harness assertions cover dispatch receipts and persisted outcomes; all changed product blobs match the tested head. No stored-data contract changes.
Evidence reviewed 8 items Verified introduced scope: The pinned merge-base-to-head diff changes only Workshop description strings, the personal-library description composition, and draft-only review guidance. It introduces no runtime action, authorization, schema, dependency, or publication change.
Guidance matches the production contract: The list action accepts a status filter and defaults to 20 results; inspect resolves proposal_id or requires name. The revised prompt correctly enumerates pending proposals before selecting one.
Current main still needs the correction: Fetched main retains the original generic descriptor and the instruction to inspect pending proposals without first enumerating them. No merged fixing PR was established.
Findings None None.
Security None None.

How this fits together

Skill Workshop turns reusable learning from agent conversations into skill proposals. Background reviews use its tool to discover existing drafts and stage changes for later approval.

flowchart TD
  A[Retained conversation] --> B[Background skill review]
  B --> C[Workshop tool guidance]
  C --> D[List pending proposals]
  D --> E[Inspect or revise selected draft]
  D --> F[Create a needed draft]
  E --> G[Pending operator review]
  F --> G
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source -2. Total -2 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 3 3 5 -2
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 3 5 -2

Review metrics

None.

Technical review

Best possible solution:

Use one shared Workshop descriptor and explicit proposal-selection guidance while preserving the existing approval policy.

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

No deterministic current-main reproduction was established during this read-only review; the reported earlier live failures and inspected action contract substantiate the guidance problem.

Is this the best way to solve the issue?

Yes. Clarifying the existing action vocabulary and consolidating its description is a narrow repair that avoids changing runtime behavior or weakening assertions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 88342ca723d6.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This repairs misleading background-review guidance with a limited Workshop blast radius.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 captured live-run report exercises the production background-review runner through real provider execution: positive and interrupted cases listed pending proposals and staged one draft each, while the negative case abstained with zero tool errors. Inspected harness assertions cover dispatch receipts and persisted outcomes; all changed product blobs match the tested head. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured live-run report exercises the production background-review runner through real provider execution: positive and interrupted cases listed pending proposals and staged one draft each, while the negative case abstained with zero tool errors. Inspected harness assertions cover dispatch receipts and persisted outcomes; all changed product blobs match the tested head. No stored-data contract changes.

Evidence

What I checked:

  • Verified introduced scope: The pinned merge-base-to-head diff changes only Workshop description strings, the personal-library description composition, and draft-only review guidance. It introduces no runtime action, authorization, schema, dependency, or publication change. (src/agents/tools/skill-workshop-tool-description.ts:17, 9808991aa8f1)
  • Guidance matches the production contract: The list action accepts a status filter and defaults to 20 results; inspect resolves proposal_id or requires name. The revised prompt correctly enumerates pending proposals before selecting one. (src/agents/tools/skill-workshop-tool.ts:237, 9808991aa8f1)
  • Current main still needs the correction: Fetched main retains the original generic descriptor and the instruction to inspect pending proposals without first enumerating them. No merged fixing PR was established. (src/skills/workshop/experience-review-prompt.ts:116, 88342ca723d6)
  • Reported live proof exercises the changed owner: The captured PR body reports seven passing evaluation tests in 147.15 seconds: positive and interrupted reviews used list with status=pending and each produced one pending proposal; the negative review abstained, with zero tool errors. The inspected live harness calls runSkillExperienceReview with a real OpenAI provider, while its decision assertions inspect dispatched arguments, tool receipts, persisted proposals, and review outcomes. This supports one successful run, not a measured flake-rate improvement. (src/skills/workshop/experience-review.live.test.ts:215, 9808991aa8f1)
  • Tested product bytes preserved: All three product files have identical blob hashes at tested head 12447fc and reviewed head 9808991. Removing the redundant budget correction did not alter the behavior covered by the reported live run. (src/skills/workshop/experience-review-prompt.ts:116, 9808991aa8f1)
  • Re-review continuity: The prior completed review had no findings and requested conflict resolution and readiness. A fresh REST read confirms the same reviewed head is non-draft and mergeable. The blocked merge state and pending checks remain ordinary merge gates; the supplied test-merge candidate is stale and was not used to infer removal of main behavior. (9808991aa8f1)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Ayaan Zaidi: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (1 earlier review cycle)
  • reviewed 2026-10-03T12:27:25.293Z sha 12447fc :: needs changes before merge. :: none

Main commit 5f52ff0 already owns the inherited environment-name budget correction. Remove the duplicate hunk while preserving the reviewed and tested Workshop guidance bytes.
@steipete
steipete marked this pull request as ready for review October 3, 2026 12:46
@steipete
steipete merged commit 60e1aa9 into main Oct 3, 2026
191 of 193 checks passed
@steipete
steipete deleted the codex/frv-workshop-discovery branch October 3, 2026 13:04
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Oct 3, 2026
* origin/main:
  fix(test): restore fixture state and await async completion (#164222)
  refactor(sessions): stage and settle pending inputs in workers (#164284)
  fix: speech-only replies fail when models include reasoning (#164285)
  fix(nextcloud-talk): avoid webhook migration for unconfigured channels
  fix: guide background skill reviews through Workshop proposals (#164292)
  test(build): reject AI dependencies in retained config repairs
  refactor(channels): require canonical private-network settings (#163535)
  fix(memory): migrate embedding cache in bounded batches and record oversized rows (#164303)
  feat(state): incognito actor memory and Codex history routing (P5c, inactive) (#164224)
  refactor(synology-chat): remove unused route account ID (#164280)
  test(ui): await web push preference publications (#164295)
  perf(scripts): avoid compiler projects for runtime import parsing (#164243)
  fix(worktrees): create workspaces from nested Windows repositories (#164249)
  test(agents,channels,cli): remove low-value tests (batch d173) (#164302)
  perf(workboard): serve cards per board revision and push changes instead of polling (#164301)
  refactor(sqlite): deslop sqlite stores (#164271)
  chore(ui): refresh control ui locales (#164299)
  refactor(events): deslop listener and disposal plumbing (#164221)
  fix: canonicalize fresh worker reasoning signatures (#164287)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 4, 2026
…law#164292)

* fix: guide background skill reviews through Workshop proposals

* chore: remove budget fix already landed on main

Main commit 6e5d89e already owns the inherited environment-name budget correction. Remove the duplicate hunk while preserving the reviewed and tested Workshop guidance bytes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling 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: XS 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.

1 participant