{
  "schema": "paperclip.runner-e2e.result/v2",
  "executionId": "lifecycle-baseline.legacy-codex.local.lifecycle-dependency-restart-neutral",
  "suiteId": "lifecycle-baseline",
  "suiteDefinitionHash": "b4159569b4b3848eec0778bd00a3b14568c7084e2222610fea75dcf3e76e4644",
  "source": {
    "sha": "331e89bb3e40064bb8f51010f176db367588bbef",
    "ref": "refs/heads/codex/lifecycle-behavior-baseline-20260921",
    "workflowRunUrl": "https://github.com/paperclipai/paperclip/actions/runs/35680906634"
  },
  "attempt": 1,
  "status": "passed",
  "profileId": "legacy-codex",
  "environmentId": "local",
  "caseId": "lifecycle-dependency-restart-neutral",
  "provider": "codex",
  "model": "gpt-5.6-sol",
  "runtimeMode": "legacy",
  "issueId": "4d924f63-8e74-4c4c-957e-341db69160dd",
  "issueIdentifier": "RUN-1",
  "runIds": [
    "e7e6a4cd-4de2-41d7-8519-b3291158451b",
    "3faaf195-327a-4519-b2ed-cd7b3e1c8720",
    "25c2f6de-f574-4f27-9a03-fa0a95a78a51"
  ],
  "startedAt": "2026-09-22T02:56:38.199Z",
  "finishedAt": "2026-09-22T02:59:45.969Z",
  "durationMs": 187770,
  "usage": {
    "runs": [
      {
        "runId": "e7e6a4cd-4de2-41d7-8519-b3291158451b",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 757685,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 5520,
          "sessionReused": true,
          "rawInputTokens": 757685,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:cf3763f8ef24417cd3561edbc708f01124988bae495e9c6aa7247d1e4ec9bc4d",
              "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:2444ff2889d09e4a3a213775a250f6f370f623eb8657c300c9aa75b77d141d2b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 5520,
          "cachedInputTokens": 713532,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c70b-6fa3-7971-b72a-3035c66134f9",
          "rawCachedInputTokens": 713532,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "3faaf195-327a-4519-b2ed-cd7b3e1c8720",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 75292,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 958,
          "sessionReused": false,
          "rawInputTokens": 75292,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:cf3763f8ef24417cd3561edbc708f01124988bae495e9c6aa7247d1e4ec9bc4d",
              "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:2444ff2889d09e4a3a213775a250f6f370f623eb8657c300c9aa75b77d141d2b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 958,
          "cachedInputTokens": 54467,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c70b-db7c-7e01-8fda-16afb6bd9023",
          "rawCachedInputTokens": 54467,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "25c2f6de-f574-4f27-9a03-fa0a95a78a51",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 407047,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 3576,
          "sessionReused": false,
          "rawInputTokens": 407047,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:cf3763f8ef24417cd3561edbc708f01124988bae495e9c6aa7247d1e4ec9bc4d",
              "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:2444ff2889d09e4a3a213775a250f6f370f623eb8657c300c9aa75b77d141d2b",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 3576,
          "cachedInputTokens": 374114,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c70b-6fa3-7971-b72a-3035c66134f9",
          "rawCachedInputTokens": 374114,
          "sessionRotationReason": null
        }
      }
    ]
  },
  "runtimeUsage": {
    "provider": "local",
    "agentRunDurationMs": 140498,
    "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:45bdf19f-d86e-4775-8f91-7e8c6733a396",
        "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": "7f0b67626b1be427b94526f13deef24ccf3e0e5e93c9bb2d64847669b8b4a620"
    },
    {
      "id": "final",
      "label": "Continuation: final",
      "file": "final-state.png",
      "publication": "public-runner-fixture",
      "sha256": "c608b2e22e6a2272f63dcee7113dce0a4091322c773a806d4e2cba9ef0036b4e"
    }
  ],
  "cleanup": "passed",
  "billing": {
    "llm": {
      "runCount": 3,
      "runsWithTokenUsage": 3,
      "runsWithReportedCost": 0,
      "inputTokens": 1240024,
      "outputTokens": 10054,
      "cachedInputTokens": 1142113,
      "totalTokens": 2392191,
      "reportedCostUsd": 0,
      "costStatus": "unpriced"
    },
    "runtime": {
      "provider": "local",
      "agentRunDurationMs": 140498,
      "leaseDurationMs": null,
      "leaseCount": 0,
      "costStatus": "not_metered",
      "costSource": "local_not_metered"
    },
    "reportedCostUsd": 0,
    "estimatedRuntimeCostUsd": 0,
    "observedAndEstimatedCostUsd": 0,
    "complete": false
  }
}
