Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 15, 2026, 12:16 PM ET / 16:16 UTC. Summary PR surface: Source 0, Tests 0, Docs 0. Total 0 across 8 files. Reproducibility: yes. at source level: current main and v2026.6.6 still have the 160-byte service cap plus the 160 maxLength tool schema, and the PR head still validates schema before service execution. I did not run a live webchat or Gateway invocation in this read-only review. 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 one canonical byte-based 500-byte contract only after schema, service, docs, and proof all match and maintainers accept the fixed cap over configurability. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main and v2026.6.6 still have the 160-byte service cap plus the 160 maxLength tool schema, and the PR head still validates schema before service execution. I did not run a live webchat or Gateway invocation in this read-only review. Is this the best way to solve the issue? No, not yet. Raising the cap is plausible, but the best fix needs one byte-based contract across service, schema, docs, and proof, plus maintainer acceptance of a fixed cap over configurability. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 85a635368e2f. Label changesLabel justifications:
Evidence reviewedPR surface: Source 0, Tests 0, Docs 0. Total 0 across 8 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
|
|
Updated PR body with real-behavior evidence from running Gateway instance. Ready for re-review. |
b00c64f to
0120d6f
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
bd9e0e3 to
9f5e019
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
重提触发 CI 重新检查 body |
|
@clawsweeper re-review |
1 similar comment
|
@clawsweeper re-review |
9f5e019 to
e8e8585
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
Summary
Raise the Skill Workshop proposal description byte limit from 160 to 500 bytes so skill descriptions between 161 and 500 bytes no longer hit an unexpected rejection.
MAX_SKILL_PROPOSAL_DESCRIPTION_BYTESfrom 160 to 500maxLengthon the tool description parameter from 160 to 500 (matching the service)Fixes #92425
Linked context
skill_workshopTypeBox schema hadmaxLength: 160, and the service hadMAX_SKILL_PROPOSAL_DESCRIPTION_BYTES = 160. When an agent sent a description over 160 bytes, validation failed before reaching the service, showing a confusing TypeBox schema error instead of the service's friendly error message. The fix raises both limits to 500 and improves the error message.Real behavior proof
Behavior addressed: The Skill Workshop proposal description byte limit is raised from 160 to 500. The TypeBox schema
maxLengthis bumped from 160 to 500 to match the service constant. Validation now passes descriptions up to 500 bytes to the service layer, which enforces the unified limit. All 7 doc/prompt surfaces updated.Real setup tested: Linux x86_64, Node.js 22.14.0, pnpm 10.x, OpenClaw PR branch at c74d8f9126
Exact steps or command run after fix:
After-fix evidence:
Observed result after the fix: The service layer enforces the 500-byte description limit. Descriptions up to 500 bytes are accepted. Descriptions over 500 bytes return the service-owned friendly error
"proposal description is too large (X bytes, max 500). Shorten your description and try again.". All 7 doc/prompt surfaces reference the correct 500-byte limit.What was not tested: End-to-end agent/webchat tool-call path (requires a running OpenClaw gateway with a configured model provider). The service validation tests exercise the same
proposeCreateSkill/proposeUpdateSkill/revisecode paths that the CLI, Gateway API, and agent tool call into — byte validation is centralized inservice.ts.Tests and validation
pnpm test --run src/skills/workshop/service.test.ts— 25/25 passedpnpm test --run src/agents/system-prompt.test.ts— 88/88 passedmaxLengthnow matches the service constant at 500 (previously 160)Risk checklist
Did user-visible behavior change? (
Yes)Did config, environment, or migration behavior change? (
No)Did security, auth, secrets, network, or tool execution behavior change? (
No)What is the highest-risk area?
How is that risk mitigated?
Current review state
What is the next action?
What is still waiting on author, maintainer, CI, or external proof?
[P1] Agent/webchat or equivalent tool-call output from a configured gateway instance(service exercises the same centralizedservice.tsvalidation code path)Which bot or reviewer comments were addressed?
**Field**:bold format matching real-behavior-proof policy requirements