{
  "schema": "omnius.persistent-shell-tabs-verification.v1",
  "date": "2026-10-18",
  "baseCommit": "a7da1e249aacf29438c6482f52b653795ecc1d4c",
  "behavior": [
    "Main, agent and shell controls occupy a separate lane below live status and above the uninterrupted input divider",
    "Actual sidebar column continues through the tab lane into the bottom junction; empty lane consumes no row",
    "Only actual running background_run snapshots with confirmed host-owned leaseId create shell tabs; foreground commands stay transient even with timeout:null",
    "Live labels are shell <elapsed seconds>s, keyed by exact run UUID rather than ambiguous command text",
    "Focused shell shows cwd and full command with isolated bounded output, deadline/lease details and targeted Stop",
    "Final background status/output is archived collapsed in its parent before live tab removal; focus returns to parent or Main",
    "Late or foreign-session events cannot revive tabs or write into another session; foreground custody still survives source pruning and disposal"
  ],
  "focusedTests": {
    "passed": true,
    "uniqueCases": 96,
    "uniqueFiles": 19,
    "cli": {
      "cases": 61,
      "files": {
        "tests/native-selection-contrast.test.ts": 1,
        "tests/shell-live-block.test.ts": 8,
        "tests/native-endpoint-completion.test.ts": 1,
        "tests/native-selection-copy.test.ts": 1,
        "tests/native-session-tabs.test.ts": 1,
        "tests/native-shell-tabs.test.ts": 1,
        "tests/native-input-cursor.test.ts": 1,
        "tests/native-components.test.ts": 1,
        "tests/native-media.test.ts": 1,
        "tests/native-shell-trajectory.test.ts": 3,
        "tests/native-session-views.test.ts": 4,
        "tests/native-shell-views.test.ts": 7,
        "tests/shell-run-views-wiring.test.ts": 2,
        "tests/shell-run-views.test.ts": 21,
        "tests/shell-run-views-process.test.ts": 4,
        "tests/shell-run-runner-lifecycle.test.ts": 4
      },
      "log": {
        "path": "/tmp/omnius-persistent-shell-tabs-cli-release-20261018.log",
        "sha256": "c6d807df1788798e62a56594e03152f7f27895c670b841da8a4c74b32460ae58"
      }
    },
    "execution": {
      "cases": 35,
      "files": {
        "tests/background-shell-lease.test.ts": 7,
        "tests/shell-runs.test.ts": 26,
        "tests/tools/background-task.test.ts": 2
      },
      "verification": {
        "command": "node_modules/.bin/vitest run --config vitest.config.ts tests/background-shell-lease.test.ts tests/shell-runs.test.ts tests/tools/background-task.test.ts",
        "cwd": "/tmp/omnius-persistent-shell-tabs-20261018/packages/execution",
        "status": "passed",
        "suites": 3,
        "tests": 35,
        "durationSeconds": 6.02
      },
      "coverage": [
        "Actual background start observes already-persisted active lease; process policy stays task/persistent:false",
        "Model-supplied leaseId ignored; snapshot uses actual generated lease",
        "Real child early stdout/stderr Unicode captured before custody, seeded once in start snapshot",
        "Failed lease write yields no tab-capable running snapshot; failed task output retained",
        "Actual child exit and targeted Stop during custody cannot publish a late running start",
        "Foreground timeout:null retains process receipts but no leaseId",
        "Initial seeded tail bounded to64KiB, Unicode-safe, honest omission count"
      ]
    }
  },
  "nativeLayout": {
    "passed": true,
    "sizes": [
      [
        160,
        48
      ],
      [
        120,
        36
      ],
      [
        110,
        28
      ],
      [
        109,
        24
      ],
      [
        60,
        20
      ]
    ],
    "statusVoiceSuggestionCombinations": 20
  },
  "productionTerminal": {
    "passed": true,
    "checks": 7,
    "screenshots": 5,
    "report": "docs/work-orders/evidence/persistent-shell-tabs-vte-20261018.json",
    "log": {
      "path": "/tmp/omnius-persistent-shell-tabs-vte-20261018.log",
      "sha256": "1291d30728192318e29d8c8ae881b57d64d08c0523875f7789659a5277459542"
    },
    "source": "Actual production CLI in isolated GNOME Terminal / VTE, private Xvfb and D-Bus; fixed in-memory backend replies and actual owned CPU subprocesses",
    "elapsedMs": 8573,
    "realInferenceRequests": 0,
    "blockedEgressAttempts": 8,
    "blockedMutationAttempts": 0,
    "screenshotsOnDisk": [
      {
        "file": "shell-leased-a-running-160x48.png",
        "columns": 160,
        "rows": 48,
        "sha256": "0026426e264fceb50c87aef647df17c37f7a69450ea739a59bb9c0e5634750ec"
      },
      {
        "file": "shell-leased-b-running-160x48.png",
        "columns": 160,
        "rows": 48,
        "sha256": "41bc9282615c4b65972c943a49aa8cfccfa6aa440a7ac0843cde3bb28ab845c8"
      },
      {
        "file": "shell-leased-b-narrow-80x24.png",
        "columns": 80,
        "rows": 24,
        "sha256": "35dda5a34cdcf764984291338c970d8bdbbbc9cba3df385b98ca38f12cc61f08"
      },
      {
        "file": "shell-a-retired-b-running-parent-archive-160x48.png",
        "columns": 160,
        "rows": 48,
        "sha256": "adf7b9bad8a82b452a2db92df444fb6d0c4cb04df70ac5169bd08e48cf71ad6d"
      },
      {
        "file": "shell-all-retired-collapsed-parent-160x48.png",
        "columns": 160,
        "rows": 48,
        "sha256": "b63a0b8c520ea5d34f84152df8d650e34bc5718fcf5c66ab71e7da010de7ed9f"
      }
    ]
  },
  "workspaceBuild": {
    "passed": true,
    "command": "PATH=/tmp/node-v22.22.1-linux-x64/bin:$PATH pnpm -r build",
    "log": {
      "path": "/tmp/omnius-persistent-shell-tabs-build-20261018.log",
      "sha256": "0f9d0a78693026ad367994864f163c61de115341eddd1c330ccc66b5f939dd54"
    }
  },
  "sourceTypecheck": {
    "passed": true,
    "typescript": "5.9.3",
    "node": "22.22.1",
    "log": {
      "path": "/tmp/omnius-persistent-shell-tabs-typecheck-20261018.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
    }
  },
  "sourceHashes": {
    "packages/cli/src/tui/native/components/frontend.ts": "3153c9d5962375325312aa4080310513964b029e6881ab28c8deb9040d5529fc",
    "packages/cli/src/tui/shell-run-views.ts": "a48ebf50e7c649b46663abd876e1bb645fc0924f2258df19c0f56af35250dbe5",
    "packages/cli/src/tui/status-bar.ts": "213cc0b63a64777716e6e4a28bf8612c0e29003465771a39b9f5c3680f7367ab",
    "packages/cli/tests/native-session-tabs.bun.ts": "977de1112bd39dc9553faf5714c346fb0304f08da4424f6c4d2c5f235b339330",
    "packages/cli/tests/native-session-tabs.test.ts": "041da8f73cc5b156b75194fc71760d1dec0d427b3a7d69e6bd3856d79eec6015",
    "packages/cli/tests/native-shell-tabs.bun.ts": "cdf4c3737da8771a916b9b9b3544ba756aff54de83c232d49b6fe097b2f57d83",
    "packages/cli/tests/native-shell-tabs.test.ts": "457e6e96e22b7cee22ff12b0b85d86c99d70ff5eb32fd684c5e1ae005a1bed97",
    "packages/cli/tests/shell-run-views-process.test.ts": "5e79fdf92797a72d188f0376202252d66cdde70e401583a839a25e1d53eb4867",
    "packages/cli/tests/shell-run-views-wiring.test.ts": "d7ca59c76a29aed92e7dba7c1d7b00218646225173d6b22124b12254878eab48",
    "packages/cli/tests/shell-run-views.test.ts": "31e1a7e2d8ed45452051b9424de325ec0b10a7432b06f9989c1d22631324f58e",
    "packages/execution/src/shell-runs.ts": "af02364245c314ebcff5dcc9b1a49bf1c5d767d3d43058c77cf84e146c1b72ed",
    "packages/execution/src/tools/background-task.ts": "9d80755d734d5703cc038e9948b13d8cb13e1dd27c0eda4fdd636b8a07474a54",
    "scripts/test-tui-shell-runs-live.mjs": "bf2a6845c7cdeb240f5f879300f326633616df256c5bfff390fcc6eaf4323138",
    "packages/execution/tests/background-shell-lease.test.ts": "3e935513392de21eac98bd340b63978f2b80279f6a1b44635d204324d3e21557"
  },
  "bounds": [
    "No npm publication/global installation or replacement of installed Omnius",
    "No real inference, model load, radio hardware access or shared daemon changes",
    "Foreground ongoing commands should use the existing managed background_run API to get an independently inspectable tab; no elapsed-time or command-text heuristic is used"
  ],
  "delivery": {
    "implementationCommit": "591782ef9223441a41a706d78ab7737f56c85c4a",
    "remoteBranch": "origin/main",
    "implementationPushConfirmed": true,
    "sourceHashesMatchDelivery": true,
    "unrelatedWorktreeChangesPreserved": true,
    "npmPublished": false
  }
}
