Repository navigation
fix(deps): restore frozen installs for Anthropic SDK - #128671
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:
|
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
Codex review: needs maintainer review before merge. Reviewed August 24, 2026, 6:43 AM ET / 10:43 UTC. ClawSweeper reviewWhat this changesThis PR updates the Anthropic plugin’s Agent SDK manifest pin and matching pnpm lockfile importer from 0.3.219 to 0.3.232 to restore frozen installs. Regression provenancePossible regression — probable (reproduction; reviewed change). No predecessor PR is attributed. Merge readinessKeep open: this focused repair remains necessary because current main still declares and imports 0.3.219 while the PR aligns both to the resolved 0.3.232 graph. No blocking patch defect was found; merge after exact-head required checks finish green. Priority: P1 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherThe Anthropic provider plugin owns its Agent SDK dependency, and pnpm uses the lockfile importer to reproduce that dependency during clean frozen installs. A mismatch prevents dependency hydration before the plugin runtime can load. flowchart LR
A[Anthropic plugin manifest] --> B[pnpm lockfile importer]
B --> C[Frozen dependency install]
C --> D[Plugin runtime]
D --> E[Anthropic Agent SDK]
Before merge
Agent review detailsSecurityNone. PR surfaceConfig 0, Other 0. Total 0 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the manifest/importer alignment once exact-head checks confirm clean frozen installation against the existing resolved graph. Do we have a high-confidence way to reproduce the issue? Yes — current main directly shows the stale 0.3.219 manifest and importer, while the PR body supplies a clean frozen-install failure and passing after-fix terminal evidence. Is this the best way to solve the issue? Yes — updating the plugin-owned declaration and its importer together is the narrowest canonical repair; changing runtime code or moving the dependency to core would violate the established ownership boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1bca825105e5. LabelsLabel 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
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
Related: #128414
Related: #128131
What Problem This Solves
Fixes an issue where clean installs and CI hydration failed with
ERR_PNPM_LOCKFILE_MISSING_DEPENDENCYafter #128414 refreshed the resolved Anthropic Agent SDK graph to0.3.232while the plugin manifest and lockfile importer added by #128131 still requested0.3.219.Why This Change Was Made
Align the Anthropic plugin's exact SDK pin and importer with the already-resolved
0.3.232graph. This is intentionally limited to the manifest/importer mismatch; it adds no new resolved packages or workflow changes. AI-assisted.User Impact
Developers and CI can run frozen pnpm installs from a clean checkout again. Anthropic runtime behavior and dependency ownership remain unchanged.
Evidence
main(a9fdb68496d636461d11e8be29323de55636e337): Blacksmith Testbox hydration failed withERR_PNPM_LOCKFILE_MISSING_DEPENDENCYfor the stale0.3.219importer: https://github.com/openclaw/openclaw/actions/runs/3271639979761cb1fd2224abea05b0061fde59936c3d052697e: branch Testbox hydration completed the repository frozen install, and an explicitpnpm install --frozen-lockfile --ignore-scriptspassed with installed SDK readback0.3.232: https://github.com/openclaw/openclaw/actions/runs/32716575433@anthropic-ai/claude-agent-sdkstays plugin-local passed. The aggregate sparse-checkout run also reported eight unrelated empty suites for plugins omitted by the GWT profile.anthropic.git diff --checkpassed.