Files
openclaw/qa/scenarios/runtime/session-transcript-cli-management.yaml
Vincent Koc 592dbf74d7 test(qa): add session transcript primary coverage (#118820)
* test(qa): prove session transcript CLI management

* test(qa): register SQLite transcript durability proof
2026-08-04 02:41:09 +08:00

31 lines
1.4 KiB
YAML

title: Session and transcript CLI management
scenario:
id: session-transcript-cli-management
surface: runtime
category: session-memory.cli-session-and-transcript-management
coverage:
primary:
- session-memory.cli-session
- session-memory.transcript-management
objective: Prove the real child CLI reads canonical SQLite session state, delegates applied cleanup through a live Gateway, and materializes transcript artifacts from shared SQLite state.
successCriteria:
- The JSON sessions command observes a canonically persisted session.
- Applied missing-transcript cleanup delegates through the live Gateway and removes the targeted session.
- Transcript list and show commands read a stored transcript session as structured JSON.
- Transcript path materializes the JSONL artifact and its persisted utterance.
docsRefs:
- docs/cli/sessions.md
- docs/cli/transcripts.md
codeRefs:
- src/commands/sessions.ts
- src/commands/sessions-cleanup.ts
- src/gateway/server-methods/sessions-read.ts
- src/cli/program/register.transcripts.ts
- src/transcripts/store.ts
- test/e2e/qa-lab/runtime/session-transcript-cli-product-proof.e2e.test.ts
execution:
kind: vitest
path: test/e2e/qa-lab/runtime/session-transcript-cli-product-proof.e2e.test.ts
summary: Run the real child CLI against isolated canonical SQLite state and a live Gateway cleanup boundary.