Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed May 30, 2026, 5:09 PM ET / 21:09 UTC. Summary PR surface: Source +1995, Tests +2809, Config +9, Other +2. Total +4815 across 20 files. Reproducibility: Partly, but not as a high-confidence live reproduction in this review. The discussion includes concrete redacted Discord logs, and current-main source shows XMLish standalone calls are not promoted through the same path, but I did not run a live provider reproduction. 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:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the shared repair path only after current-head live provider or Discord/gateway proof, plus build/package-surface proof, shows allowed serialized calls are promoted without leaking or suppressing normal text. Do we have a high-confidence way to reproduce the issue? Partly, but not as a high-confidence live reproduction in this review. The discussion includes concrete redacted Discord logs, and current-main source shows XMLish standalone calls are not promoted through the same path, but I did not run a live provider reproduction. Is this the best way to solve the issue? Unclear. A shared internal repair package is a maintainable direction, but the current PR needs current-head real behavior proof and maintainer acceptance of the broader provider/runner promotion semantics before it is the best merge path. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against b374505e7a8c. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +1995, Tests +2809, Config +9, Other +2. Total +4815 across 20 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?
|
|
Addressed the review finding:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Addressed the follow-up review on oversized serialized tool-call text buffers. Changes in the latest push:
Verification run after the latest patch:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Addressed the new ClawSweeper proof comment by refreshing the PR body with current-head live proof for What changed in the PR body:
Current-head live command recorded in the PR body:
Observed result:
@clawsweeper re-review |
34b20dd to
ff0b3c0
Compare
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph change authorizedThis PR includes dependency graph changes. A member of
A later push changes the PR head SHA and requires a fresh security approval. |
|
/allow-dependencies-change internal private |
steipete
left a comment
There was a problem hiding this comment.
Approved after maintainer refactor and validation.
Proof on rebased head ff0b3c0:
- focused Vitest: provider stream shared, tool payload, embedded runner normalization; 103 tests passed
- env -u OPENCLAW_TESTBOX pnpm check:changed passed locally
- PR CI: 120 success, 26 skipped, 1 neutral
- Dependency Guard approved for the internal private workspace package change
- proof: override applied because this is an internal repair-path/package refactor with focused behavior coverage
Summary
@openclaw/tool-call-repairworkspace package.src/plugin-sdk/tool-payload.tsas the public compatibility facade while provider and embedded runner paths share one repair implementation.Verification
pnpm install --frozen-lockfilepnpm test src/plugin-sdk/provider-stream-shared.test.ts src/plugin-sdk/tool-payload.test.ts src/agents/embedded-agent-runner/run/attempt.tool-call-normalization.test.ts -- --reporter=verbose- 103 tests passed.env -u OPENCLAW_TESTBOX pnpm check:changedAUTOREVIEW_AUTO_TESTS=0 .agents/skills/autoreview/scripts/autoreview --mode local- clean; no accepted/actionable findings.git diff --check origin/pr/87093...HEADReal behavior proof
Behavior addressed: Standalone serialized plaintext tool-call output is repaired into structured
toolCallblocks before user-visible delivery. Provider and embedded runner surfaces now share the same repair path, including adjacent text-block splits without mutating valid argument bytes.Real environment tested: Local macOS source checkout on this PR branch after the
@openclaw/tool-call-repairrefactor. No live provider credentials or remote Testbox were required for the unit/changed-lane proof.Exact steps or command run after this patch:
Evidence after fix: Focused Vitest passed 2 shards covering
src/plugin-sdk/tool-payload.test.ts,src/plugin-sdk/provider-stream-shared.test.ts, andsrc/agents/embedded-agent-runner/run/attempt.tool-call-normalization.test.ts, 103 tests total.check:changedselected all lanes becausepnpm-lock.yamlchanged and completed shrinkwrap guards, typecheck all, lint, and import-cycle checks successfully. Autoreview finished clean with no accepted/actionable findings.Observed result after fix: Provider and embedded runner tests promote serialized text tool calls into structured
toolCallblocks, with regressions covering adjacent text-block splits, exact argument-boundary preservation, and bracketed header/payload boundary repair. User-visible stripping still removes oversized serialized tool-call blocks without promoting them.What was not tested: Live gateway/provider proof was not rerun after this package refactor. The delegated Testbox
check:changedattempt failed before code checks because the remote checkout had no merge base fororigin/main...HEAD; the same changed check passed locally with Testbox delegation disabled.Refs #86924