test: add captured Codex worker restore fixture

This commit is contained in:
2026-10-24 12:57:28 +09:00
parent 2d33321fab
commit b284934e34
4 changed files with 5713 additions and 0 deletions
@@ -0,0 +1,52 @@
{
"source_revision": "1639be98411921308238b3a6a6e75c784c045156",
"model": "codex-oauth/gpt-6.1-sol",
"worker_id": "01a1657d-b762-7791-87ae-a49f28cadbce",
"session_id": "01a1657d-b818-77c1-bd73-175a27562f63",
"rows": [
{
"entry_id": "01a1657f-18bf-7a03-b8b8-953d27041fe0",
"timestamp": 1792704190655,
"role": "user",
"parts": [
{
"kind": "text",
"content": "これは保存と復元を確認するための人工的な会話です。合言葉は「青い灯台」です。覚えたことを一文で返してください。Toolは使わないでください。"
}
]
},
{
"entry_id": "01a1657f-1f55-71d3-b418-8199b863f59a",
"timestamp": 1792704192341,
"role": "assistant",
"parts": [
{
"kind": "text",
"text": "合言葉は「青い灯台」と覚えました。"
}
]
},
{
"entry_id": "01a1657f-3053-71f3-bf4f-91290d82488b",
"timestamp": 1792704196691,
"role": "user",
"parts": [
{
"kind": "text",
"content": "先ほどの合言葉は何でしたか?合言葉だけを答えてください。"
}
]
},
{
"entry_id": "01a1657f-36ef-78b1-b0c8-b141f13b0c7b",
"timestamp": 1792704198383,
"role": "assistant",
"parts": [
{
"kind": "text",
"text": "青い灯台"
}
]
}
]
}
@@ -0,0 +1,34 @@
{
"format_version": 1,
"source_revision": "1639be98411921308238b3a6a6e75c784c045156",
"runtime_schema_version": 12,
"session_schema_version": 6,
"workspace_id": "01a16553-b901-7191-8ceb-8e2306fe3da9",
"runtime_id": "fixture-951707ee-93ca-4205-9c12-45f08a104a74",
"worker_id": "01a1657d-b762-7791-87ae-a49f28cadbce",
"session_id": "01a1657d-b818-77c1-bd73-175a27562f63",
"segment_id": "01a1657d-b818-77c1-bd73-176172a4bd82",
"model": "codex-oauth/gpt-6.1-sol",
"state": "stopped",
"acquisition": "Real isolated Codex OAuth two-turn artificial conversation; typed offline StoppedWorkerTemplate extraction. Session bytes unchanged; environment credentials and execution receipts excluded.",
"source_file_sha256": {
"worker.json": "912e620013a17f05c1aaf900da48c9ee0ecb1f54121efc3721e03f8755eb5eca",
"metadata.json": "657928a89ec621bd092b86924201ed7b562e9683261789ce18bdb1d248bdc450",
"session/session.json": "22b01daab68a28b9777a1f7abb9ef9f7f6cbae113089446602f5d15421e7c7f3",
"session/segments/01a1657d-b818-77c1-bd73-176172a4bd82.jsonl": "7c5663bb06d9406d5bd0a5086159b31c0d7799458fcb1c6f81e18b63c49f4df5"
},
"files": {
"worker-template.json": {
"bytes": 48343,
"sha256": "8bf6ce3c71c4f05c82314de93c1e8e51b7502b00915b6adb8b33046944e463b2"
},
"expected.json": {
"bytes": 1474,
"sha256": "b9846db47ecb8f3f53b2abd9d5f0c766122f86015a7a7df7addf8beab3e9c55a"
},
"workspace-config.dcdl": {
"bytes": 1141,
"sha256": "9b07507b71733081f077e2e9968a7f1f676c916a243bb355d1813f067a55c415"
}
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,22 @@
{
profile = {
default_profile = "project:fixture-chat";
entries = [{
selector = "project:fixture-chat";
label = "Isolated Codex fixture conversation";
description = "Artificial conversation only; no Workdir, Tools, Subject or background work.";
profile = (import "$builtin/profiles/job.dcdl") // {
slug = "fixture-chat";
worker = { mode = "tools"; };
model = { ref = "codex-oauth/gpt-6.1-sol"; };
scope = "workspace_read";
delegation_scope = "workspace_read";
permissions = { default_action = "deny"; rule = []; };
engine = { instruction = "default"; reasoning = "low"; max_tokens = 2048; max_turns = 4; language = "Japanese"; };
session = { record_event_trace = false; };
feature = { workdir_catalog = { enabled = false; }; };
};
}];
};
prompts = { default_prompt = "これは隔離環境の人工的な会話テストです。日本語で簡潔に応答してください。Toolや外部操作は行わず、ユーザーが会話中に提示した情報だけを使ってください。"; };
} as WorkspaceConfigSchema