What problem does it solve?
Writing and maintaining end-to-end tests for the VS Code agent host is hard because tests must drive real provider SDKs (Claude, Copilot, Codex) over the AHP protocol without burning tokens or hitting flaky network behavior. This Skill enforces a deterministic replay-based workflow so tests stay fast, offline, and reliable.
Core Features & Use Cases
- Cross-provider test authoring: Add tests under
src/vs/platform/agentHost/test/node/e2e/suites/ that run against Claude, Copilot, and Codex with shared fixtures.
- Fixture recording and re-recording: Record YAML fixtures via
AGENT_HOST_REPLAY_RECORD=1 after SDK bumps or test renames, with strict redaction of secrets and paths.
- Non-deterministic test gating: Gate streaming, abort, or POSIX-only tests precisely instead of loosening timeouts, and track every disabled variant in
KNOWN_ISSUES.md.
- Use Case: After bumping the bundled Copilot CLI, re-record all Copilot fixtures, review the diff for leaked tokens or paths, and confirm replay-mode tests stay green before merging.
Quick Start
Use the agent-host-e2e-tests skill to add a new cross-provider test for tool-call streaming and record fixtures for Claude, Copilot, and Codex.