Files
openclaw/qa/scenarios/runtime/tools/edit.yaml
Dallin Romney c1c231ced9 fix(qa): reject runtime tool intent without result evidence (#113502)
* fix(qa): require runtime tool result evidence

* fix(qa): preserve meaningful tool coverage gates

* refactor(qa): colocate runtime parity projection

* fix(qa): keep passing tool totals evidence-backed
2026-07-27 11:00:59 +08:00

52 lines
1.8 KiB
YAML

title: "Runtime tool fixture — edit"
scenario:
id: runtime-tool-edit
surface: runtime-tools
runtimePairLane: core
coverage:
secondary:
- agent-runtime.tool-edit
objective: Verify targeted edit behavior is tracked across OpenClaw and Codex while Codex owns edit natively.
successCriteria:
- OpenClaw may expose OpenClaw edit while Codex app-server mode may omit duplicate OpenClaw dynamic edit.
- Mock provider edit plans are reported as fixture intent, not as actual runtime tool calls.
- The row stays report-only until the fixture validates native Codex edit behavior directly.
docsRefs:
- qa/scenarios/index.yaml
codeRefs:
- src/agents/agent-tools.ts
- extensions/qa-lab/src/runtime-tool-fixture.ts
execution:
kind: flow
summary: Exercise the edit runtime tool family.
config:
toolName: edit
toolCoverage:
family: edit
actualTool: edit
bucket: codex-native-workspace
expectedLayer: codex-native-workspace
required: false
tracking: "#80319"
codexDefaultImpact: P4
qaImpact: P1
action: split native edit behavior from OpenClaw dynamic tool parity
reason: Codex app-server intentionally owns edit natively; the fixture must not require OpenClaw dynamic edit exposure.
knownHarnessGap:
issue: "#80319"
reason: QA tool-defaults currently needs native edit behavior coverage instead of OpenClaw dynamic edit exposure.
promptSnippet: "target=edit"
failurePromptSnippet: "failure target=edit"
flow:
steps:
- name: exercises edit happy and failure paths
actions:
- call: runRuntimeToolFixture
saveAs: result
args:
- ref: env
- ref: config
detailsExpr: result