{
  "schema": "paperclip.runner-e2e.result/v2",
  "executionId": "lifecycle-baseline.legacy-codex.local.lifecycle-dependency-restart-challenge",
  "suiteId": "lifecycle-baseline",
  "suiteDefinitionHash": "43b3e40fc1e421fedc1925fb62e46ead0480a971e17d63105264139ec2d837c5",
  "source": {
    "sha": "d2a6acddb42b5a4c07886386cb84c47d78a68d19",
    "ref": "refs/heads/codex/lifecycle-behavior-baseline-20260921",
    "workflowRunUrl": "https://github.com/paperclipai/paperclip/actions/runs/35747200170"
  },
  "attempt": 1,
  "status": "passed",
  "profileId": "legacy-codex",
  "environmentId": "local",
  "caseId": "lifecycle-dependency-restart-challenge",
  "provider": "codex",
  "model": "gpt-5.6-sol",
  "runtimeMode": "legacy",
  "issueId": "682a0339-163d-41f7-be9f-9c634e81ef59",
  "issueIdentifier": "RUN-1",
  "runIds": [
    "19fe2861-0a89-4afd-ae04-187b1f6dcc97",
    "df03a60f-86ba-4719-ae0b-910c8e372c28",
    "d59fd075-9da1-4583-b6d7-1492a8d4c82d",
    "a693276d-fe96-4bf2-b7f0-2fc230c21968"
  ],
  "startedAt": "2026-09-22T15:31:55.899Z",
  "finishedAt": "2026-09-22T15:35:35.622Z",
  "durationMs": 219723,
  "usage": {
    "runs": [
      {
        "runId": "19fe2861-0a89-4afd-ae04-187b1f6dcc97",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 727026,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 4375,
          "sessionReused": true,
          "rawInputTokens": 727026,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:1674b65200d7627444e2e00a0e48de86e9335a388a33ae2500165ccf4913e85d",
              "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:f0e573a830abf53504fc11ae830a73a72802f6ac2e94e958596ae7b123a94015",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 4375,
          "cachedInputTokens": 681207,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c9be-e990-78d0-b265-48c793251c38",
          "rawCachedInputTokens": 681207,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "df03a60f-86ba-4719-ae0b-910c8e372c28",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 380902,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 3098,
          "sessionReused": true,
          "rawInputTokens": 380902,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:1674b65200d7627444e2e00a0e48de86e9335a388a33ae2500165ccf4913e85d",
              "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:f0e573a830abf53504fc11ae830a73a72802f6ac2e94e958596ae7b123a94015",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 3098,
          "cachedInputTokens": 341798,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c9be-e990-78d0-b265-48c793251c38",
          "rawCachedInputTokens": 341798,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "d59fd075-9da1-4583-b6d7-1492a8d4c82d",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 76352,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 566,
          "sessionReused": false,
          "rawInputTokens": 76352,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:1674b65200d7627444e2e00a0e48de86e9335a388a33ae2500165ccf4913e85d",
              "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:f0e573a830abf53504fc11ae830a73a72802f6ac2e94e958596ae7b123a94015",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 566,
          "cachedInputTokens": 54732,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c9bf-af77-75d3-8af4-8c10b61ee638",
          "rawCachedInputTokens": 54732,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "a693276d-fe96-4bf2-b7f0-2fc230c21968",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 267865,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 2438,
          "sessionReused": false,
          "rawInputTokens": 267865,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:1674b65200d7627444e2e00a0e48de86e9335a388a33ae2500165ccf4913e85d",
              "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:f0e573a830abf53504fc11ae830a73a72802f6ac2e94e958596ae7b123a94015",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 2438,
          "cachedInputTokens": 233650,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c9be-e990-78d0-b265-48c793251c38",
          "rawCachedInputTokens": 233650,
          "sessionRotationReason": null
        }
      }
    ]
  },
  "runtimeUsage": {
    "provider": "local",
    "agentRunDurationMs": 190869,
    "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:0b3c3b8b-cacf-470a-9ca9-25e9b1f3c2c8",
        "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": "3538bcfaa1039db1aa463087981a394c4489fa77c39629fb246e27d53f0996de"
    },
    {
      "id": "final",
      "label": "Continuation: final",
      "file": "final-state.png",
      "publication": "public-runner-fixture",
      "sha256": "05e2baada92fc1b9396ac734740cf62ecf083ce1c3c1ef11f92c6c8d17912a7b"
    }
  ],
  "cleanup": "passed",
  "billing": {
    "llm": {
      "runCount": 4,
      "runsWithTokenUsage": 4,
      "runsWithReportedCost": 0,
      "inputTokens": 1452145,
      "outputTokens": 10477,
      "cachedInputTokens": 1311387,
      "totalTokens": 2774009,
      "reportedCostUsd": 0,
      "costStatus": "unpriced"
    },
    "runtime": {
      "provider": "local",
      "agentRunDurationMs": 190869,
      "leaseDurationMs": null,
      "leaseCount": 0,
      "costStatus": "not_metered",
      "costSource": "local_not_metered"
    },
    "reportedCostUsd": 0,
    "estimatedRuntimeCostUsd": 0,
    "observedAndEstimatedCostUsd": 0,
    "complete": false
  }
}
