Files
openclaw/qa/scenarios/runtime/process-control-roundtrip.yaml

32 lines
1.4 KiB
YAML

title: Background process control roundtrip
scenario:
id: process-control-roundtrip
surface: automation
category: automation.polling-controls
coverage:
primary:
- automation.process-poll
- automation.process-log
- automation.background-process-status
- automation.process-input-controls
objective: Prove the production exec and process tools control one real interactive background child through its complete lifecycle.
successCriteria:
- Exec starts a real PTY-backed child and returns a running process session.
- Process list reports the live session and writable input state.
- Process log and poll expose real child output without inventing channel or message polling proof.
- Process write plus submit delivers one input line to the child.
- Process send-keys delivers literal, Enter, and control-key input.
- Process poll observes the child exit successfully and completed logs remain readable.
docsRefs:
- docs/gateway/background-process.md
- docs/help/testing.md
codeRefs:
- src/agents/bash-tools.exec-run.ts
- src/agents/bash-tools.process.ts
- src/agents/bash-tools.process.e2e.test.ts
execution:
kind: vitest
path: src/agents/bash-tools.process.e2e.test.ts
summary: Run one real interactive background child through exec, process status, log, poll, input, and control boundaries.