Repository navigation
feat(skills)!: give each agent its own Skill Workshop - #135528
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 5, 2026, 8:58 AM ET / 12:58 UTC. ClawSweeper reviewWhat this changesGive each agent its own generated-skill directory, migrate existing Workshop state, and anchor background learning to the completed conversation turn. Warning SQLite table change This PR modifies persisted SQLite tables in Merge readiness⛔ Blocked before merge - 4 items remain Keep open: the agent-owned Workshop remains distinct from current main and the latest release. Prior actionable findings are addressed, and the recorded migration decisions should not be reopened as new blockers. Priority: P2 Review scores
Verification
How this fits togetherSkill Workshop turns chat requests and completed agent work into reviewed skill proposals. Its storage, approval, recovery, and discovery paths determine which generated instructions later agent runs receive. flowchart TD
A[Chat and CLI requests] --> B[Agent-scoped proposals]
C[Completed agent turns] --> B
B --> D[Approval and security scan]
D --> E[Agent Workshop files]
F[Legacy skills and state] --> G[Doctor migration]
G --> B
G --> E
E --> H[Skill discovery for later turns]
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain one agent-owned proposal, apply, and recovery pipeline with the accepted migration safeguards; keep the weekly review-turn redesign in its separate follow-up. Do we have a high-confidence way to reproduce the issue? Not applicable to the overall feature proposal; its component repairs have recorded before/after CLI evidence, but this read-only review did not execute them. Is this the best way to solve the issue? Yes: agent-owned storage fixes ownership at its producer while reusing the existing proposal service and discovery machinery; workspace-only adjustments or profile-owned libraries would not provide the same boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 177a1e3b054e. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (58 earlier review cycles; latest 8 shown)
|
8ece8e5 to
bde46e6
Compare
|
@clawsweeper re-review Head
Details and validation are in the updated PR body. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
bde46e6 to
6058030
Compare
Check legacy ownership and target eligibility before opening rollback state. A current proposal must not start schema writes during no-op migration.
|
landpr-approve-unrelated-red |
|
landpr-approve-unrelated-red |
|
Thanks @obviyus! Landed as a4514a0. Proof: The retained rebuilt CLI preserves current proposals while another connection holds the SQLite write lock. All 156 integration tests passed on tree
Reviewed source. Retained integrated CLI proof. CI exception: Merged through the guarded, explicitly owner-approved exception for run 33967056690, attempt 1. All 134 successful jobs and five intentional skips are retained; the only failed child jobs were:
No unrelated CI code was changed. No introducing commit or matching-main failure is claimed for these test failures; this uses the explicit owner-approval route, not the automated matching-main exception. Production net: +1,390 lines. Tests/support net: +5,262 lines. The growth provides the agent ownership boundary and migration/recovery proof; obsolete ownership and duplicate write paths were removed. Both PRs were unstacked; #136110 remains open and was not included in this landing. |
What Problem This Solves
Workshop skills followed session workspaces, making ownership and recovery unreliable. Deep audit missed grouped skills, and moving interrupted writes could separate proposals from their rollback state.
Why This Change Was Made
Give each agent one Workshop root and one proposal/write/recovery flow. Doctor settles interrupted writes before safe relocation and preserves blocked or ambiguous sources. Audit uses shared discovery. The v15→v16 migration retains proposal owners, retires legacy workspace columns, and assigns collection history to agents.
User Impact
Workspace changes no longer change skill ownership. Doctor reports unresolved states and preserves recoverable data; migration does not promise recovery from every filesystem failure. The retired symlink-target write option is removed.
Evidence
Compiled CLI checks covered interrupted create/update, collision, relocation retry, and same-target proposals. Doctor passed with a competing database writer while preserving rows and drafts. Audit detected grouped and hidden skills; Gateway/container checks verified agent-specific instructions. Migration tests preserved proposals and history across cold opens. Later integration changed no Workshop source; earlier runtime proof retains that scope.
Related: #136110.