{
  "schema": "omnius.update-retirement-verification.v1",
  "date": "2026-10-18",
  "baseCommit": "519cd1686003cdaef5c35d1f41011124464d93d5",
  "problem": "The coordinated updater failed immediately when npm10 could not rename the live package into an occupied deterministic retirement directory; its next automatic attempt hit the same path. The unused legacy cleanup also deleted active Omnius and all hidden siblings.",
  "repair": [
    "Capture structured npm rename diagnostics before truncating logs",
    "After owned installer settlement, resolve the same npm global root and validate exact Omnius source and deterministic retirement destination",
    "Atomically quarantine only that directory with ownership, type, inode, cancellation and transaction checks; retry identical target once",
    "Keep exact-version/executable/package-hash/daemon-hash verification; remove preserved backup only after success, retain/report it on real failure or cancellation",
    "Use the same targeted primitive in legacy updater paths; remove broad live-package and sibling deletion",
    "Accept normal same-user0775 prefixes while refusing public writable or linked recovery directories"
  ],
  "focusedTests": {
    "passed": true,
    "uniqueCases": 218,
    "uniqueFiles": 15,
    "files": {
      "tests/auto-update-controller.test.ts": 14,
      "tests/quick-update.test.ts": 40,
      "tests/npm-install-recovery.test.ts": 29,
      "tests/updater-async.test.ts": 1,
      "tests/updater-registry-status.test.ts": 3,
      "tests/update-worker-bootstrap.test.ts": 15,
      "tests/update-install-overlay.test.ts": 6,
      "tests/updater-retirement-recovery.test.ts": 10,
      "tests/update-client-state.test.ts": 37,
      "tests/update-command-lifecycle.test.ts": 5,
      "tests/update-restart.test.ts": 18,
      "tests/update-service.test.ts": 17,
      "tests/update-worker-adoption.test.ts": 14,
      "tests/update-worker-boundary.test.ts": 6,
      "tests/update-npm-retirement-live.test.ts": 3
    },
    "logs": [
      {
        "path": "/tmp/omnius-update-enotempty-release-tests-20261018.log",
        "sha256": "17419f620c6dc7abd3dea8ea42ac9beaf21217caf2861b611357c7aa0bcae4ce"
      },
      {
        "path": "/tmp/omnius-update-npm-retirement-final-20261018.log",
        "sha256": "6837aa7895a777ba56e2692c28ffec19f3a740b3b320921452696b6f6f7d344a"
      }
    ]
  },
  "realNpm": {
    "nodeVersion": "22.22.1",
    "npmVersion": "10.9.4",
    "cases": [
      "unrepaired real npm10 collision",
      "two real transaction recovery cycles",
      "failed real retry retains backup"
    ],
    "actualInstallerCalls": 10,
    "networkAttempts": 0,
    "productionServicesStarted": 0,
    "installedOmniusMutations": 0,
    "inferenceRequests": 0,
    "modulesRootMode": "0775",
    "lifecycleScripts": "disabled",
    "report": "/tmp/omnius-update-npm-retirement-final-evidence-20261018/report.json",
    "reportSha256": "63f4d1279d8a38639ffae17850887eb13223754d5c93e0a1bc3bd567c2c09ce3"
  },
  "build": {
    "passed": true,
    "command": "PATH=/tmp/node-v22.22.1-linux-x64/bin:$PATH pnpm -r build",
    "log": "/tmp/omnius-update-enotempty-build-final-20261018.log"
  },
  "typecheck": {
    "passed": true,
    "typescript": "5.9.3",
    "log": "/tmp/omnius-update-enotempty-typecheck-final-20261018.log"
  },
  "bounds": [
    "Only one collision recovery retry; other errors remain failures",
    "No active package directory or unrelated retirement directory is removed by recovery",
    "The original /home/robit installation is on another host and was not accessed or modified",
    "The installed updater must receive this patched release before it can perform the new recovery; npm publishing is not part of this repair"
  ],
  "sourceHashes": {
    "packages/cli/src/npm-install-recovery.ts": "9edb672dfebb5acc2788196ae53bf841cf82afedff677ea44dc62d293fe84ab2",
    "packages/cli/src/update-service.ts": "37fa00760146480b583c657fe9cfa135718e4b25fc9192070c1cc22a2bca0334",
    "packages/cli/src/updater.ts": "4a4a502b03693bedcc65cb95887d08f35ee141ea3496517d796c5a6b898d9050",
    "packages/cli/tests/npm-install-recovery.test.ts": "45f5cd9f5d13ebe6330871381b6681ed17c34767fac7915bc3b3e80351cc54da",
    "packages/cli/tests/update-npm-retirement-live.test.ts": "bcafae319cabcefd67a0602eef31497a45c7a4a518f290f8e7556c691e0b5c8f",
    "packages/cli/tests/updater-retirement-recovery.test.ts": "0ea162f3bb793ed89f594d88a9c69380e39cbd8c3a529b92950f91367d143d2f"
  },
  "delivery": {
    "implementationCommit": "6c9a762b67ced1730408d5dec2a2a9760c2a03a4",
    "remoteBranch": "origin/main",
    "pushConfirmed": true,
    "sourceHashesMatchDelivery": true
  }
}
