Deprecate memory-specific embedding provider registration#85072
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed May 27, 2026, 9:19 AM ET / 13:19 UTC. Summary PR surface: Source +58, Tests +146, Docs +18. Total +222 across 15 files. Reproducibility: yes. for the review finding: source inspection of the PR head shows a CHANGELOG.md entry while the root policy says normal PRs must not edit the release-owned changelog. The runtime diagnostic behavior is source-reviewable in the PR diff but still lacks current real behavior proof. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance: Risk before merge
Maintainer options:
Next step before merge Security Review findings
Review detailsBest possible solution: Land a narrow deprecation follow-up after removing the changelog edit, adding current real inspect proof, and confirming the plugin SDK deprecation schedule with the assigned maintainer. Do we have a high-confidence way to reproduce the issue? Yes for the review finding: source inspection of the PR head shows a CHANGELOG.md entry while the root policy says normal PRs must not edit the release-owned changelog. The runtime diagnostic behavior is source-reviewable in the PR diff but still lacks current real behavior proof. Is this the best way to solve the issue? Not yet. The deprecation direction is maintainable and now covers runtime-only registrations, but the merge-ready path is to remove the changelog edit, provide current real inspect proof, and get maintainer approval for the public plugin API deprecation window. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 4a8d89f8b53a. Label changesLabel justifications:
Evidence reviewedPR surface: Source +58, Tests +146, Docs +18. Total +222 across 15 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
e03b9e8 to
55472fe
Compare
3e858f0 to
bfa2494
Compare
55472fe to
b25a168
Compare
b25a168 to
d4178c8
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
Thanks @mbelinky! |
Summary
mainafter feat(embeddings): add OpenAI-compatible core provider #85269 landed the generic embedding provider bridge and coreopenai-compatibleprovider.registerMemoryEmbeddingProvider(...)path remains available, but is marked as deprecated compatibility.api.registerMemoryEmbeddingProvider(...)registrations that do not declarecontracts.memoryEmbeddingProviders.Verification
Behavior addressed: old memory-specific embedding provider registration now remains compatible but visible as deprecated for plugin authors, and the previous review gap around runtime-only registrations is covered.
Real environment tested: local OpenClaw worktree on macOS.
Exact steps or command run after this patch:
Evidence after fix: focused Vitest passed 3 files / 54 tests;
git diff --checkpassed; oxfmt passed all 15 touched files.Observed result after fix: external/workspace plugins using the legacy manifest contract or runtime
api.registerMemoryEmbeddingProvider(...)receive adeprecated-memory-embedding-provider-apicompatibility notice, bundled legacy registrations remain suppressed from user warnings, and new bundled legacy registrations are blocked by guardrail tests.What was not tested: full build/full changed gate; this PR is now a narrow deprecation/docs/diagnostics cleanup on top of the already-merged #85269 provider stack.