{
  "schema": "paperclip.runner-e2e.result/v2",
  "executionId": "lifecycle-baseline.legacy-codex.local.lifecycle-approval-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-approval-challenge",
  "provider": "codex",
  "model": "gpt-5.6-sol",
  "runtimeMode": "legacy",
  "issueId": "de4a8ad9-7791-4ced-9bd3-91bfc2ef2615",
  "issueIdentifier": "RUN-1",
  "runIds": [
    "cb2c993a-e081-4039-a055-0f37fdc9b110",
    "0b8dc66c-6a10-4159-92fc-f43b4e9fb901",
    "36d9659c-df8a-44df-bec6-d4a16fe3830c"
  ],
  "startedAt": "2026-09-22T15:31:55.015Z",
  "finishedAt": "2026-09-22T15:34:47.789Z",
  "durationMs": 172774,
  "usage": {
    "runs": [
      {
        "runId": "cb2c993a-e081-4039-a055-0f37fdc9b110",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 803067,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 7745,
          "sessionReused": true,
          "rawInputTokens": 803067,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:ec546d0f45d56e904fb61f6066fde9b43711ff4b1b2cb45bdd2ff4142aee6f89",
              "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:63428c9f8636da98476a660540707de5445fa10c6701f199dd8d5d7cb933c545",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 7745,
          "cachedInputTokens": 759815,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c9be-e6f6-77c2-918a-469c42fedf9f",
          "rawCachedInputTokens": 759815,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "0b8dc66c-6a10-4159-92fc-f43b4e9fb901",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 717646,
          "usageSource": "per_run",
          "freshSession": false,
          "outputTokens": 6865,
          "sessionReused": true,
          "rawInputTokens": 717646,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": false,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:ec546d0f45d56e904fb61f6066fde9b43711ff4b1b2cb45bdd2ff4142aee6f89",
              "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:63428c9f8636da98476a660540707de5445fa10c6701f199dd8d5d7cb933c545",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 6865,
          "cachedInputTokens": 678183,
          "taskSessionReused": true,
          "persistedSessionId": "01a0c9be-e6f6-77c2-918a-469c42fedf9f",
          "rawCachedInputTokens": 678183,
          "sessionRotationReason": null
        }
      },
      {
        "runId": "36d9659c-df8a-44df-bec6-d4a16fe3830c",
        "usage": {
          "model": "gpt-5.6-sol",
          "biller": "openai",
          "provider": "openai",
          "costStatus": "unpriced",
          "billingType": "metered_api",
          "inputTokens": 218719,
          "usageSource": "per_run",
          "freshSession": true,
          "outputTokens": 2251,
          "sessionReused": false,
          "rawInputTokens": 218719,
          "sessionRotated": false,
          "configFreshness": {
            "session": {
              "reset": true,
              "categories": [
                "adapter",
                "adapterConfig",
                "agentRuntimeConfig",
                "instructions",
                "issueOverrides",
                "workspaceConfig",
                "environment",
                "envBindings",
                "secrets",
                "runtimeSkills"
              ],
              "resetReasons": [],
              "nextFingerprint": "v1:sha256:ec546d0f45d56e904fb61f6066fde9b43711ff4b1b2cb45bdd2ff4142aee6f89",
              "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:63428c9f8636da98476a660540707de5445fa10c6701f199dd8d5d7cb933c545",
              "workspaceReused": false,
              "activeWorkspaceId": null,
              "changedCategories": [],
              "storedFingerprint": null,
              "fingerprintVersion": 1,
              "inferredFingerprint": null,
              "previousWorkspaceId": null,
              "configSnapshotRefreshed": false,
              "storedFingerprintPresent": false
            }
          },
          "rawOutputTokens": 2251,
          "cachedInputTokens": 190555,
          "taskSessionReused": false,
          "persistedSessionId": "01a0c9be-e6f6-77c2-918a-469c42fedf9f",
          "rawCachedInputTokens": 190555,
          "sessionRotationReason": null
        }
      }
    ]
  },
  "runtimeUsage": {
    "provider": "local",
    "agentRunDurationMs": 133852,
    "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.answered.no-premature-output",
        "expected": true
      },
      "passed": true,
      "detail": "answered: only a plan may exist before the required answer/approval; documents=plan, attachments=0, status=in_review"
    },
    {
      "matcher": {
        "kind": "json_path",
        "path": "continuation.approval-boundary-recorded",
        "expected": true
      },
      "passed": true,
      "detail": "Record the settled clarification/revision before sending explicit approval."
    },
    {
      "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.no-unrequested-children",
        "expected": true
      },
      "passed": true,
      "detail": "No checkpoint may contain an unrequested child task."
    },
    {
      "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.answered.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.answered.revision:6e780bd4-81d5-4582-853e-9984f79ae28e",
        "expected": true
      },
      "passed": true,
      "detail": "Plan confirmation binds this task and the recorded current revision."
    },
    {
      "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:39eea01c-30e9-4839-bff5-6e8f30d1cff6",
        "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": "5b9a7d61237bd5527ec4be33fe7d3b2bb7796cc805708f0731bf1c483d80cf56"
    },
    {
      "id": "answered",
      "label": "Continuation: answered",
      "file": "question-continuation-answered.png",
      "publication": "public-runner-fixture",
      "sha256": "c6fff79839d8c13573d65e4d12fd5a90c7256fe5afb5e585ccd4a18023523322"
    },
    {
      "id": "final",
      "label": "Continuation: final",
      "file": "final-state.png",
      "publication": "public-runner-fixture",
      "sha256": "825673c846518148b1809c4873cf663594bf94abdf54c7de98505ab5355ca0be"
    }
  ],
  "cleanup": "passed",
  "billing": {
    "llm": {
      "runCount": 3,
      "runsWithTokenUsage": 3,
      "runsWithReportedCost": 0,
      "inputTokens": 1739432,
      "outputTokens": 16861,
      "cachedInputTokens": 1628553,
      "totalTokens": 3384846,
      "reportedCostUsd": 0,
      "costStatus": "unpriced"
    },
    "runtime": {
      "provider": "local",
      "agentRunDurationMs": 133852,
      "leaseDurationMs": null,
      "leaseCount": 0,
      "costStatus": "not_metered",
      "costSource": "local_not_metered"
    },
    "reportedCostUsd": 0,
    "estimatedRuntimeCostUsd": 0,
    "observedAndEstimatedCostUsd": 0,
    "complete": false
  }
}
