Skip to content

chore(qa): prove workspace mutation tools - #119021

Merged
vincentkoc merged 1 commit into
mainfrom
test-qa-workspace-mutation-tools
Aug 4, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test-qa-workspace-mutation-tools

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

OpenClaw's real assembled apply_patch and edit tools 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-patch and agent-runtime.tool-edit.

Evidence

  • Local focused E2E: node scripts/run-vitest.mjs test/e2e/qa-lab/runtime/openclaw-workspace-mutation-tools.e2e.test.ts (1/1)
  • Blacksmith Testbox: exact final head 370924fc37ac51f72d84a748119e58caabcb4b2c, run 30869575137
    • focused E2E passed (1/1)
    • QA Suite evidence passed with exactly the two primary IDs and no runtime-pair lane
    • scenario catalog passed (47/47)
    • scoped pnpm check:changed -- test/e2e/qa-lab/runtime/openclaw-workspace-mutation-tools.e2e.test.ts qa/scenarios/runtime/openclaw-workspace-mutation-tools.yaml passed
  • Coverage inventory: the new native Vitest scenario owns agent-runtime.tool-apply-patch and agent-runtime.tool-edit; existing runtime-pair fixtures remain secondary and unchanged
  • Sol-high autoreview: clean, no accepted/actionable findings
  • node_modules/.bin/oxfmt --check test/e2e/qa-lab/runtime/openclaw-workspace-mutation-tools.e2e.test.ts qa/scenarios/runtime/openclaw-workspace-mutation-tools.yaml
  • git diff --check origin/main...HEAD
  • Production LOC: 0
  • QA LOC: +137

AI-assisted: yes. The maintainer supplied and reviewed the exact scope and stop conditions.

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 4, 2026 01:21
@vincentkoc
vincentkoc force-pushed the test-qa-workspace-mutation-tools branch from d59d3ef to 13466f3 Compare August 4, 2026 01:33
@vincentkoc
vincentkoc force-pushed the test-qa-workspace-mutation-tools branch from 13466f3 to 370924f Compare August 4, 2026 01:42
@vincentkoc
vincentkoc merged commit fc1913d into main Aug 4, 2026
100 checks passed
@vincentkoc
vincentkoc deleted the test-qa-workspace-mutation-tools branch August 4, 2026 01:52
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main:
  test(qa): prove agent session scope continuity (#119032)
  test(qa): prove workspace mutation tools (#119021)
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant