Repository navigation
chore(qa): prove workspace mutation tools - #119021
Merged
Merged
Conversation
vincentkoc
marked this pull request as ready for review
August 4, 2026 01:21
vincentkoc
force-pushed
the
test-qa-workspace-mutation-tools
branch
from
August 4, 2026 01:33
d59d3ef to
13466f3
Compare
vincentkoc
force-pushed
the
test-qa-workspace-mutation-tools
branch
from
August 4, 2026 01:42
13466f3 to
370924f
Compare
vincentkoc
added a commit
that referenced
this pull request
Aug 4, 2026
* origin/main: test(qa): prove agent tool approval controls (#119029) docs(agents): require exact-head ClawSweeper re-review after post-review pushes (#119069) fix(qa): provision ffmpeg for Playwright scenarios (#119064) test(qa): repair scenario catalog baselines (#119062) test(qa): prove agent session scope continuity (#119032) test(qa): prove workspace mutation tools (#119021) fix(cli): honor local port in gateway call (#119046) test(xai): cover playback mark overflow fix(xai): bound realtime playback marks
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 4, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 5, 2026
* origin/main: test(qa): prove agent tool approval controls (openclaw#119029) docs(agents): require exact-head ClawSweeper re-review after post-review pushes (openclaw#119069) fix(qa): provision ffmpeg for Playwright scenarios (openclaw#119064) test(qa): repair scenario catalog baselines (openclaw#119062) test(qa): prove agent session scope continuity (openclaw#119032) test(qa): prove workspace mutation tools (openclaw#119021) fix(cli): honor local port in gateway call (openclaw#119046) test(xai): cover playback mark overflow fix(xai): bound realtime playback marks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
OpenClaw's real assembled
apply_patchandedittools only had secondary runtime-pair fixture ownership for their QA taxonomy IDs. That left no primary evidence that the OpenClaw tool surface persists exact workspace bytes, returns actionable receipts, and rejects a traversal mutation.Why This Change Was Made
Adds one native Vitest QA scenario that obtains both tools from
createOpenClawCodingTools, applies exact draft bytes, edits the same artifact to exact final bytes, verifies the result metadata, and proves a matching outside sentinel remains unchanged after traversal rejection. Runtime-pair fixtures and production code are unchanged.User Impact
No runtime behavior changes. Maintainers gain primary QA evidence for
agent-runtime.tool-apply-patchandagent-runtime.tool-edit.Evidence
node scripts/run-vitest.mjs test/e2e/qa-lab/runtime/openclaw-workspace-mutation-tools.e2e.test.ts(1/1)370924fc37ac51f72d84a748119e58caabcb4b2c, run 30869575137pnpm check:changed -- test/e2e/qa-lab/runtime/openclaw-workspace-mutation-tools.e2e.test.ts qa/scenarios/runtime/openclaw-workspace-mutation-tools.yamlpassedagent-runtime.tool-apply-patchandagent-runtime.tool-edit; existing runtime-pair fixtures remain secondary and unchangednode_modules/.bin/oxfmt --check test/e2e/qa-lab/runtime/openclaw-workspace-mutation-tools.e2e.test.ts qa/scenarios/runtime/openclaw-workspace-mutation-tools.yamlgit diff --check origin/main...HEADAI-assisted: yes. The maintainer supplied and reviewed the exact scope and stop conditions.