{
  "recordedAt": "2026-10-02T15:16:15.798125+00:00",
  "product": {
    "name": "Rembg",
    "version": "2.0.85",
    "fixedCommit": "202e42649a8492a7c49f808de36608a7d1cbbfe3",
    "distribution": "Official PyPI rembg[cpu,cli]==2.0.85 full installation",
    "pipCheckPassed": true
  },
  "sourceByteMatches": {
    "productVersion": "2.0.85",
    "fixedCommit": "202e42649a8492a7c49f808de36608a7d1cbbfe3",
    "matches": [
      {
        "officialRetainedBody": "outputs/research/practical-next-candidates-2026-10-02-v1/rembg-server.body",
        "installedPath": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\venv\\Lib\\site-packages\\rembg\\commands\\s_command.py",
        "officialSha256": "5e3a36ed746fc679e86e586b3920ab0de491cebf6230169d870ae79434b3ecc1",
        "installedSha256": "5e3a36ed746fc679e86e586b3920ab0de491cebf6230169d870ae79434b3ecc1",
        "exactBytesMatch": true
      },
      {
        "officialRetainedBody": "outputs/research/practical-next-candidates-2026-10-02-v1/rembg-u2netp.body",
        "installedPath": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\venv\\Lib\\site-packages\\rembg\\sessions\\u2netp.py",
        "officialSha256": "239e7ef52ed6eb53e0fcf191d9c6266d6299d4527b92bf6f384c37850498d8e2",
        "installedSha256": "239e7ef52ed6eb53e0fcf191d9c6266d6299d4527b92bf6f384c37850498d8e2",
        "exactBytesMatch": true
      },
      {
        "officialRetainedBody": "outputs/research/practical-next-candidates-2026-10-02-v1/rembg-session-base.body",
        "installedPath": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\venv\\Lib\\site-packages\\rembg\\sessions\\base.py",
        "officialSha256": "ec4c58b33dd47ad6f03883ee375353314b19d5688fffd5c1ddb57bb21e9846a3",
        "installedSha256": "ec4c58b33dd47ad6f03883ee375353314b19d5688fffd5c1ddb57bb21e9846a3",
        "exactBytesMatch": true
      },
      {
        "officialRetainedBody": "outputs/research/practical-next-candidates-2026-10-02-v1/rembg-session-factory.body",
        "installedPath": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\venv\\Lib\\site-packages\\rembg\\session_factory.py",
        "officialSha256": "795e2fac000d12a831fdd8c5409b796243e33cd48ede4531f0def6c96bb0ceaf",
        "installedSha256": "795e2fac000d12a831fdd8c5409b796243e33cd48ede4531f0def6c96bb0ceaf",
        "exactBytesMatch": true
      },
      {
        "officialRetainedBody": "outputs/research/practical-next-candidates-2026-10-02-v1/rembg-bg.body",
        "installedPath": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\venv\\Lib\\site-packages\\rembg\\bg.py",
        "officialSha256": "2e1977b6d16d5369e2c20c5ca5d9ba2e2c0228f8beef39c5d2296df1879df62b",
        "installedSha256": "2e1977b6d16d5369e2c20c5ca5d9ba2e2c0228f8beef39c5d2296df1879df62b",
        "exactBytesMatch": true
      }
    ],
    "sourceEdited": false
  },
  "runtime": {
    "name": "ONNX Runtime CPU",
    "version": "1.30.0",
    "pythonVersion": "3.13.3 (tags/v3.13.3:6280bb5, Apr  8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)]",
    "cpuProviderDiagnostic": {
      "version": "1.30.0",
      "device": "CPU",
      "availableProviders": [
        "AzureExecutionProvider",
        "CPUExecutionProvider"
      ],
      "sourceSelection": "Exact installed BaseSession selects CPUExecutionProvider for observed CPU device with no CUDA/ROCM/OpenVINO path; no providers override in frozen extras.",
      "selectedProviderDerivedFromExactNativeSource": "CPUExecutionProvider",
      "actualInnerSessionGetProvidersObserved": false,
      "limitation": "Native HTTP endpoint does not expose the inner ORT session; no model object is created separately for diagnostics."
    }
  },
  "model": {
    "expectedOfficialAssetBytes": 4574861,
    "nativeExpectedMd5": "8e83ca70e441ab06c318d82300c84806",
    "initialModelRootEmpty": true,
    "MODEL_CHECKSUM_DISABLED": "unset",
    "modelFiles": [
      {
        "path": "models\\u2netp\\u2netp.onnx",
        "bytes": 4574861
      }
    ],
    "nativeDownloaderSourceByteMatch": true,
    "officialAssetUrl": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2netp.onnx",
    "path": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\model-state\\models\\u2netp\\u2netp.onnx",
    "bytes": 4574861,
    "md5": "8e83ca70e441ab06c318d82300c84806",
    "sha256": "309c8469258dda742793dce0ebea8e6dd393174f89934733ecc8b14c76f4ddd8"
  },
  "nativeEntry": {
    "command": [
      "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\venv\\Scripts\\rembg.exe",
      "s",
      "--host",
      "127.0.0.1",
      "--port",
      "13999",
      "--log_level",
      "info",
      "--threads",
      "1"
    ],
    "surface": "Complete official rembg s HTTP server POST /api/remove, full Gradio mount retained. Gradio UI was not operated.",
    "requestCount": 2,
    "form": {
      "model": "u2netp",
      "a": "false",
      "af": "240",
      "ab": "10",
      "ae": "10",
      "om": "false",
      "ppm": "false",
      "dc": "false",
      "vm": "false"
    },
    "query": {
      "extras": "{\"putalpha\":true}"
    },
    "onlyUploadedFiles": [
      "bottle-input.png",
      "mug-input.png"
    ],
    "noReferenceMasksUploaded": true,
    "noURLFetchRouteUsed": true
  },
  "startup": {
    "status": 200,
    "headers": {
      "date": "Fri, 02 Oct 2026 15:12:42 GMT",
      "server": "uvicorn",
      "content-length": "6648",
      "content-type": "application/json",
      "Connection": "close"
    },
    "elapsedMs": 99579,
    "checks": 40,
    "nativeRootPid": 54276,
    "ownedProcessTree": [
      {
        "pid": 54276,
        "parentPid": 56656,
        "executable": "rembg.exe",
        "threads": 1
      },
      {
        "pid": 33144,
        "parentPid": 54276,
        "executable": "conhost.exe",
        "threads": 2
      },
      {
        "pid": 30232,
        "parentPid": 54276,
        "executable": "python.exe",
        "threads": 1
      },
      {
        "pid": 34068,
        "parentPid": 30232,
        "executable": "python.exe",
        "threads": 8
      }
    ],
    "openapiSha256": "8aa492f9dd9009bab333a879204fa11549b2e690c2a4b219b65e5fa302752b6e",
    "startupFailureTypes": [
      "URLError"
    ]
  },
  "state": {
    "processLocalEnvironment": {
      "REMBG_HOME": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\model-state",
      "U2NET_HOME": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\model-state",
      "TEMP": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\temp",
      "TMP": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\temp",
      "GRADIO_TEMP_DIR": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\gradio-temp",
      "HF_HOME": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\hf-home",
      "HF_HUB_CACHE": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\hf-home\\hub",
      "XDG_CACHE_HOME": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\cache",
      "XDG_DATA_HOME": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\data",
      "USERPROFILE": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\profile",
      "HOME": "D:\\uAgentKit-lab\\rembg-native-2026-10-02\\profile",
      "OMP_NUM_THREADS": "1",
      "OPENBLAS_NUM_THREADS": "1",
      "MKL_NUM_THREADS": "1",
      "NUMBA_NUM_THREADS": "1",
      "BROWSER": "<task-owned-browser-helper>"
    },
    "MODEL_CHECKSUM_DISABLED": "unset",
    "initialModelRootEmpty": true,
    "onlyDownloadedModel": "u2netp.onnx",
    "noGlobalUserConfigChanged": true,
    "pipCacheTempVenvModelRootAllTaskOwnedOnD": true,
    "basePythonReadFrom": "C:/Python313",
    "notOsIsolationCertification": true
  },
  "browserSuppression": {
    "standardEnvVariable": "BROWSER",
    "helperSha256": "9197cf8f1210d7a6d1a429c45b76e80f70fc8c352be1ee958dd417f15f0fcfe0",
    "precheck": {
      "controllerType": "GenericBrowser",
      "controllerExecutable": "D:/uAgentKit-lab/rembg-native-2026-10-02/venv/Scripts/pythonw.exe",
      "controllerArgs": [
        "<task-owned-browser-helper>",
        "%s"
      ],
      "returnedSuccess": true,
      "standardEnvironmentVariable": "BROWSER",
      "helperSha256": "9197cf8f1210d7a6d1a429c45b76e80f70fc8c352be1ee958dd417f15f0fcfe0",
      "sourceUnmodified": true,
      "windowlessPythonHelper": true
    },
    "calls": [
      {
        "at": "2026-10-02T15:08:11.084688+00:00",
        "requestedUrl": "http://127.0.0.1:1/uagentkit-browser-suppression-precheck",
        "action": "recorded_and_returned_success_without_opening_browser"
      },
      {
        "at": "2026-10-02T15:12:41.937970+00:00",
        "requestedUrl": "http://localhost:13999",
        "action": "recorded_and_returned_success_without_opening_browser"
      }
    ],
    "noBrowserUrlVisitedByHelper": true,
    "nativeSourceUnmodified": true
  },
  "resourceSummary": {
    "method": "Windows Toolhelp32 owned descendant tree plus GetProcessMemoryInfo at about 0.5s intervals; non-task processes are never selected or terminated.",
    "sampleCount": 193,
    "processPeaks": [
      {
        "pid": 54276,
        "parentPid": 56656,
        "executable": "rembg.exe",
        "peakWorkingSetBytes": 5394432,
        "maximumSampledPrivateBytes": 827392,
        "maximumSampledThreads": 3
      },
      {
        "pid": 33144,
        "parentPid": 54276,
        "executable": "conhost.exe",
        "peakWorkingSetBytes": 8032256,
        "maximumSampledPrivateBytes": 1277952,
        "maximumSampledThreads": 3
      },
      {
        "pid": 30232,
        "parentPid": 54276,
        "executable": "python.exe",
        "peakWorkingSetBytes": 4993024,
        "maximumSampledPrivateBytes": 946176,
        "maximumSampledThreads": 2
      },
      {
        "pid": 34068,
        "parentPid": 30232,
        "executable": "python.exe",
        "peakWorkingSetBytes": 1075302400,
        "maximumSampledPrivateBytes": 1072476160,
        "maximumSampledThreads": 10
      },
      {
        "pid": 47136,
        "parentPid": 34068,
        "executable": "pythonw.exe",
        "peakWorkingSetBytes": 6336512,
        "maximumSampledPrivateBytes": 1277952,
        "maximumSampledThreads": 1
      }
    ],
    "limitations": [
      "Sampled working set/private bytes are not full CPU/memory cost accounting. Transient allocation peaks can exceed interval samples; each native process peakWorkingSetBytes is separately recorded.",
      "The task launcher and actual Python descendant are listed separately. No OS filesystem or whole-host network isolation audit is implied."
    ]
  },
  "cleanup": {
    "terminatedOnlyOwnedProcessTree": [
      {
        "pid": 34068,
        "parentPid": 30232,
        "executable": "python.exe",
        "threads": 10,
        "terminatedOnlyOwnedDescendant": true
      },
      {
        "pid": 30232,
        "parentPid": 54276,
        "executable": "python.exe",
        "threads": 1,
        "terminatedOnlyOwnedDescendant": true
      },
      {
        "pid": 33144,
        "parentPid": 54276,
        "executable": "conhost.exe",
        "threads": 2,
        "terminatedOnlyOwnedDescendant": true
      }
    ],
    "remainingOwnedProcessTree": [],
    "dependenciesModelsFixturesPreserved": true
  },
  "softwareLicense": "MIT, official fixed Rembg source license retained.",
  "modelLicenseScope": "The official linked U-2-Net repository source license is Apache-2.0. No independent certification of commercial terms for every converted ONNX weight asset is asserted. The tested synthetic inputs require no merchant/user photo rights.",
  "defaultModelBoundary": "Rembg 2.0.85 defaults to BRIA RMBG-2.0; it was neither downloaded nor invoked. This result only uses explicit lightweight u2netp and frozen putalpha=true, with alpha matting/postprocess disabled.",
  "finiteScope": "Two task-owned synthetic 512x512 objects with independently frozen masks; these results do not establish all natural product-photo performance or commercial readiness.",
  "consoleReview": {
    "reviewedAt": "2026-10-02T15:16:15.789295+00:00",
    "method": "Post-run manual full-byte text review plus finite content checks; native segmentation runtime has no LLM response/reasoning.",
    "rawConsoleSha256": "9bea5cdf62d1dd503958ecf4d00c60dca9536432df7bf6691922ad0afa57587d",
    "reviewedConsoleSha256": "9bea5cdf62d1dd503958ecf4d00c60dca9536432df7bf6691922ad0afa57587d",
    "publicProjection": "Exact console bytes retained without omission. No private credential, account payload, user image or model reasoning observed.",
    "containsWarnings": [
      "FastAPI regex parameter deprecation",
      "email-validator optional field parsing notice"
    ],
    "notClaimed": [
      "Successful Gradio UI interaction test",
      "Internal session.get_providers observation",
      "Whole-system read/network isolation"
    ]
  },
  "setupCorrection": {
    "stage": "Before any native process or inference was started",
    "firstRunnerInvocation": "SyntaxError: positional argument follows keyword argument, in provider.update call",
    "corrections": [
      "Converted mixed keyword/dict syntax to one dict argument.",
      "Loaded the task-owned inspect-runtime.py helper using importlib.util because its filename contains a hyphen."
    ],
    "originalCasesInputsParametersAndThresholdsChanged": false,
    "productInferenceRequestsInFailedInvocation": 0,
    "productSourceEdited": false,
    "scope": "Runner setup correction; not a product inference failure. Original failed helper bytes were not separately archived."
  },
  "noPaidProviderApiUsed": true,
  "observationalLimits": [
    "CPU device/available providers were queried in this exact venv, and the unmodified BaseSession source selects CPUExecutionProvider under the frozen request. Inner session.get_providers was not exposed by the native HTTP route.",
    "The local model source path and two uploaded PNGs are evidenced; there is no whole-host filesystem/network isolation audit.",
    "Request wall time includes upload, native session work, encoding and response; primary also includes first model download/loading. No separate pure-inference latency or token usage was measured."
  ],
  "publicProjection": {
    "version": "v2",
    "projectedAt": "2026-10-02T15:21:01.099101+00:00",
    "method": "Two public JSON fields containing a real user-profile workspace helper path were replaced with <task-owned-browser-helper>. Original private receipts and exact hashes are preserved. No PNG, multipart body, native output, case definition, threshold or condition was changed.",
    "privateSourceProvenanceSha256": "da525017e273e7512725219d208c5823a61cfed88d34f2896d643c74d2278082",
    "privateBrowserPrecheckSha256": "df62bca9066205e528542bf4505a9743d0dc85b707fb78f5f21e6ec7e8a548cb",
    "originalPublicProvenanceSha256": "da525017e273e7512725219d208c5823a61cfed88d34f2896d643c74d2278082",
    "redactedJsonPointers": [
      "/state/processLocalEnvironment/BROWSER",
      "/browserSuppression/precheck/controllerArgs/0"
    ],
    "unchangedProvenance": [
      "CPU diagnostics",
      "native source byte matches",
      "model MD5/SHA256",
      "native request settings",
      "startup/cleanup/resource records",
      "BROWSER helper SHA256 and requested localhost URLs"
    ]
  }
}
