singularity-forge/tests/fixtures/recordings/agent-handles-error.json
TÂCHES 6f410a0041 feat(ci): implement three-stage promotion pipeline (Dev → Test → Prod) (#1098)
* feat(ci): add version stamp script for dev publishes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add CLI smoke tests for pipeline test stage

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add FixtureProvider for LLM conversation recording and replay

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add fixture test runner and sample recordings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add live test stubs and pipeline npm scripts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add three-stage promotion pipeline workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add weekly cleanup workflow for stale dev versions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(ci): add fixture recording helper stub

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 00:40:06 -06:00

41 lines
1,007 B
JSON

{
"name": "agent-handles-error",
"description": "Two-turn fixture where the agent encounters and handles an error",
"turns": [
{
"role": "user",
"content": "Read the file /nonexistent/path.txt"
},
{
"role": "assistant",
"content": "Let me try to read that file.",
"toolUses": [
{
"name": "Read",
"input": {
"file_path": "/nonexistent/path.txt"
},
"error": "ENOENT: no such file or directory, open '/nonexistent/path.txt'"
}
]
},
{
"role": "user",
"content": "That file doesn't exist. Can you create it instead?"
},
{
"role": "assistant",
"content": "The file doesn't exist. I'll create it for you.",
"toolUses": [
{
"name": "Write",
"input": {
"file_path": "/nonexistent/path.txt",
"content": ""
},
"output": "File created successfully"
}
]
}
]
}