Files
openclaw/qa/scenarios/runtime/tools/fs-write.md
Peter Steinberger 07101b191e refactor: remove pi runtime internals
Rename remaining Pi-shaped agent surfaces to OpenClaw agent runtime names, delete obsolete Pi docs and package graph checks, and add the third-party notice for incorporated code.
2026-05-27 10:40:38 +01:00

1.8 KiB

File write runtime tool fixture

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