Repository navigation
fix(ci): heal skills reconciliation fallout - #121751
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: found issues before merge. Reviewed August 10, 2026, 6:58 PM ET / 22:58 UTC. ClawSweeper reviewWhat this changesThe PR refreshes generated Swift approval models, removes a test-only Skill Workshop export, routes its tests through scheduled maintenance, and removes the related Knip suppression. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open: the remaining Skill Workshop/Knip cleanup is useful, but two converted scheduler tests can now swallow their own assertion failures and falsely pass. Priority: P2 Review scores
Verification
How this fits togetherGateway protocol schemas generate Swift client models for approval payloads, while Gateway maintenance invokes scheduled Skill Workshop collection reviews. The changed tests exercise that scheduler path and CI checks the exported-surface inventory. flowchart LR
Schemas[Approval schemas] --> Generator[Protocol generator]
Generator --> Swift[Swift client models]
Gateway[Gateway maintenance] --> Scheduler[Scheduled skill review]
Scheduler --> Workshop[Skill Workshop run]
Tests[Focused boundary tests] --> Scheduler
CI[CI export check] --> Knip[Dead-export scan]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +10, Other +11. Total +21 across 4 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the private runner and public scheduler boundary, but make each converted successful scheduler test assert that its onError spy was never called before merging. Do we have a high-confidence way to reproduce the issue? Yes: the scheduler's catch-and-report control flow, together with the two converted tests' lack of an onError assertion, directly reproduces the false-pass path from source. Is this the best way to solve the issue? No: making the runner private and testing through the scheduler is the right boundary, but the tests must assert that scheduler error reporting was not used. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against cef6e690d557. 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
|
b015af4 to
78c34b4
Compare
78c34b4 to
2f0e00f
Compare
|
Merged via squash.
|
* test(skills): cover collection review through scheduler * test(skills): preserve scheduler failure signals
Supersedes #121725. @vyctorbrzezowski's generator-owned diagnosis and repair are credited here; the identical Swift output independently reached main in
5fb5eefa611ewhile this branch was under review.What Problem This Solves
Resolves the remaining fallout from concurrent skills and approval landings that left main CI red across generated Swift protocol models, Skill Workshop dead-export/cycle checks, the Plugin SDK baseline, the
/learnprompt contract, and approval-handler runtime tests. Those failures blocked unrelated pull requests from landing.Why This Change Was Made
Parallel healers landed the mechanical Swift, cycle, SDK-baseline,
/learn, and approval-fixture repairs on main. This PR completes the consolidated repair by:runSkillCollectionReviewexport and exercising collection review through its public scheduled-review entrypoint;No production behavior changes or weakened assertions.
User Impact
No direct user-facing behavior change. Main and dependent pull requests regain clean generated-artifact, dead-export, import-cycle, prompt-contract, and approval-runtime gates.
Evidence
node --import tsx scripts/protocol-gen-swift.ts --checknode --max-old-space-size=8192 --import tsx scripts/generate-plugin-sdk-api-baseline.ts --checknode --import tsx scripts/check-import-cycles.ts— 0 runtime value cyclesnode --import tsx scripts/check-madge-import-cycles.ts— 0 cyclesnode scripts/check-deadcode-exports.mts— 0 production/full-tree/script unused exportsnode scripts/run-vitest.mjs src/skills/workshop/collection-review.test.ts src/auto-reply/reply/commands-learn.test.ts src/infra/approval-handler-runtime.test.ts --reporter=verbose— 33 tests passedProvenance:
bdf202ccc8c): Skill Workshop reconciliation and reuse-first/learnprompt.9935ca3b30d): reviewer schema and approval event-kind routing.40817435e81,db879e73fa9,8ae273603d8,0ca0781fec6,5fb5eefa611e.