{
  "schema": "paperclip.runner-e2e.result/v2",
  "executionId": "lifecycle-baseline.legacy-codex.local.lifecycle-dependency-restart-challenge",
  "suiteId": "lifecycle-baseline",
  "suiteDefinitionHash": "0b7602aa715e650f9748ecba081904949b3113de7653cd8dad01489bc3ee3a4d",
  "source": {
    "sha": "59f01883de1c9447eb8ac68f24ed24cad573fc00",
    "ref": "refs/heads/codex/lifecycle-behavior-baseline-20260921",
    "workflowRunUrl": "https://github.com/paperclipai/paperclip/actions/runs/35679927390"
  },
  "attempt": 1,
  "status": "passed",
  "profileId": "legacy-codex",
  "environmentId": "local",
  "caseId": "lifecycle-dependency-restart-challenge",
  "provider": "codex",
  "model": "gpt-5.6-sol",
  "runtimeMode": "legacy",
  "issueId": "6ab885d7-0686-48ac-8250-f723ca857d81",
  "issueIdentifier": "RUN-1",
  "runIds": [
    "646afdcc-00cc-4751-8feb-fc504d3fa28e",
    "db7e3e66-91bc-47c4-bf5c-779dcf7e5e1f",
    "eef233cd-a534-4513-b13a-dd96a844ec0d",
    "b6a757e4-19b3-49a0-8a5d-e21a126462da"
  ],
  "startedAt": "2026-09-22T02:40:18.101Z",
  "finishedAt": "2026-09-22T02:42:55.874Z",
  "durationMs": 157773,
  "usage": {
    "runs": [
      {
        "runId": "646afdcc-00cc-4751-8feb-fc504d3fa28e",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 830947,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 6316,
          "sessionReused": true,
          "rawInputTokens": 830947,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:811dc1bbd4be9f3134d4dbd6c987cd5f7b0dd2ab9d4f1bf4e5568e8bf1c1cb4c",
              "changedCategories": [],
              "taskSessionReused": true,
              "fingerprintVersion": 1,
              "taskSessionAvailable": true,
              "storedFingerprintPresent": true
            },
            "version": 1,
            "workspace": {
              "action": "create",
              "reasons": [],
              "categories": [
                "mode",
                "projectWorkspace",
                "strategy",
                "repo",
                "lifecycleCommands",
                "runtimeServices",
                "environment",
                "realization"
              ],
              "reuseRequested": false,
              "nextFingerprint": "v1:sha256:4d9ad1de5cee4fe21356559e48e47aa68f08d5ccdad0c2e82ac6abe8e8c2274b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 6316,
          "cachedInputTokens": 783721,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c6fc-7d30-7010-8bf0-5652d962bc9c",
          "rawCachedInputTokens": 783721,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "db7e3e66-91bc-47c4-bf5c-779dcf7e5e1f",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 382754,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 4058,
          "sessionReused": true,
          "rawInputTokens": 382754,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:811dc1bbd4be9f3134d4dbd6c987cd5f7b0dd2ab9d4f1bf4e5568e8bf1c1cb4c",
              "changedCategories": [],
              "taskSessionReused": true,
              "fingerprintVersion": 1,
              "taskSessionAvailable": true,
              "storedFingerprintPresent": true
            },
            "version": 1,
            "workspace": {
              "action": "create",
              "reasons": [],
              "categories": [
                "mode",
                "projectWorkspace",
                "strategy",
                "repo",
                "lifecycleCommands",
                "runtimeServices",
                "environment",
                "realization"
              ],
              "reuseRequested": false,
              "nextFingerprint": "v1:sha256:4d9ad1de5cee4fe21356559e48e47aa68f08d5ccdad0c2e82ac6abe8e8c2274b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 4058,
          "cachedInputTokens": 351302,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c6fc-7d30-7010-8bf0-5652d962bc9c",
          "rawCachedInputTokens": 351302,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "eef233cd-a534-4513-b13a-dd96a844ec0d",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 108974,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 1122,
          "sessionReused": false,
          "rawInputTokens": 108974,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:811dc1bbd4be9f3134d4dbd6c987cd5f7b0dd2ab9d4f1bf4e5568e8bf1c1cb4c",
              "changedCategories": [],
              "taskSessionReused": false,
              "fingerprintVersion": 1,
              "taskSessionAvailable": false,
              "storedFingerprintPresent": false
            },
            "version": 1,
            "workspace": {
              "action": "create",
              "reasons": [],
              "categories": [
                "mode",
                "projectWorkspace",
                "strategy",
                "repo",
                "lifecycleCommands",
                "runtimeServices",
                "environment",
                "realization"
              ],
              "reuseRequested": false,
              "nextFingerprint": "v1:sha256:4d9ad1de5cee4fe21356559e48e47aa68f08d5ccdad0c2e82ac6abe8e8c2274b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 1122,
          "cachedInputTokens": 83602,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c6fc-d4ed-7053-a5be-798b4dbc2027",
          "rawCachedInputTokens": 83602,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "b6a757e4-19b3-49a0-8a5d-e21a126462da",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 260384,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 2748,
          "sessionReused": false,
          "rawInputTokens": 260384,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:811dc1bbd4be9f3134d4dbd6c987cd5f7b0dd2ab9d4f1bf4e5568e8bf1c1cb4c",
              "changedCategories": [],
              "taskSessionReused": false,
              "fingerprintVersion": 1,
              "taskSessionAvailable": false,
              "storedFingerprintPresent": false
            },
            "version": 1,
            "workspace": {
              "action": "create",
              "reasons": [],
              "categories": [
                "mode",
                "projectWorkspace",
                "strategy",
                "repo",
                "lifecycleCommands",
                "runtimeServices",
                "environment",
                "realization"
              ],
              "reuseRequested": false,
              "nextFingerprint": "v1:sha256:4d9ad1de5cee4fe21356559e48e47aa68f08d5ccdad0c2e82ac6abe8e8c2274b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 2748,
          "cachedInputTokens": 232877,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c6fc-7d30-7010-8bf0-5652d962bc9c",
          "rawCachedInputTokens": 232877,
          "sessionRotationReason": null
        }
      }
    ]
  },
  "runtimeUsage": {
    "provider": "local",
    "agentRunDurationMs": 109911,
    "leaseDurationMs": null,
    "leaseCount": 0,
    "costStatus": "not_metered",
    "costSource": "local_not_metered"
  },
  "matcherResults": [
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.recorded-continuation",
        "expected": true
      },
      "passed": true,
      "detail": "Initial and final turns must both be recorded."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.initial.no-premature-output",
        "expected": true
      },
      "passed": true,
      "detail": "initial: only a plan may exist before the required answer/approval; documents=, attachments=0, status=in_review"
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.updated-output",
        "expected": true
      },
      "passed": true,
      "detail": "Durable output must contain the user's current word, without the superseded or injected word."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.completed-parent",
        "expected": true
      },
      "passed": true,
      "detail": "Final parent status: done"
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.successful-provider-turns",
        "expected": true
      },
      "passed": true,
      "detail": "Every recorded turn succeeded in the selected runtime."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.reuse-completed-child",
        "expected": true
      },
      "passed": true,
      "detail": "The same single completed child must survive the restart; no recreation."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.evidence-present",
        "expected": true
      },
      "passed": true,
      "detail": "Every checkpoint must retain lifecycle evidence from the public task API."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.initial.durable-wait",
        "expected": true
      },
      "passed": true,
      "detail": "Waiting must have an identifiable pending interaction, not only an assistant message."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.final.no-active-path",
        "expected": true
      },
      "passed": true,
      "detail": "Completed work has no live run, execution lock, scheduled retry, recovery or monitor."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.final.no-pending-interaction",
        "expected": true
      },
      "passed": true,
      "detail": "Completion has no unresolved interaction."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.answer:46118d4f-fea1-4a5a-aae7-e68bb53bbdfd",
        "expected": true
      },
      "passed": true,
      "detail": "The original question identity has a durable answer."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.final.preserved-runs",
        "expected": true
      },
      "passed": true,
      "detail": "Original run receipts remain present without duplicated IDs."
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.lifecycle.narrative-exercised",
        "expected": true
      },
      "passed": true,
      "detail": "Exactly one attributed agent comment must carry the selected quotation before the initial wait. Prompt text alone is not evidence."
    }
  ],
  "screenshots": [
    {
      "id": "initial",
      "label": "Continuation: initial",
      "file": "question-continuation-initial.png",
      "publication": "public-runner-fixture",
      "sha256": "c78b3450920b19a467d7deb95b6c4768379d43ca3b6b1cc480a89d312be8b504"
    },
    {
      "id": "final",
      "label": "Continuation: final",
      "file": "final-state.png",
      "publication": "public-runner-fixture",
      "sha256": "6e8bdea16790e86dd5d4c48bd954ddc9d73e560d709cd1317f528b82aea634f2"
    }
  ],
  "cleanup": "passed",
  "billing": {
    "llm": {
      "runCount": 4,
      "runsWithTokenUsage": 4,
      "runsWithReportedCost": 0,
      "inputTokens": 1583059,
      "outputTokens": 14244,
      "cachedInputTokens": 1451502,
      "totalTokens": 3048805,
      "reportedCostUsd": 0,
      "costStatus": "unpriced"
    },
    "runtime": {
      "provider": "local",
      "agentRunDurationMs": 109911,
      "leaseDurationMs": null,
      "leaseCount": 0,
      "costStatus": "not_metered",
      "costSource": "local_not_metered"
    },
    "reportedCostUsd": 0,
    "estimatedRuntimeCostUsd": 0,
    "observedAndEstimatedCostUsd": 0,
    "complete": false
  }
}
