{
  "provenance": {
    "kind": "real GitCafe GET response",
    "pull": 24508,
    "head": "ca3661c314bc03e2fede54d1c666fd0082694133",
    "note": "Public payload; author identity sanitized. Status counts already corrected upstream; demonstrates cancelled-row removal, not stale-count incident."
  },
  "pull": {
    "id": "pr_01m5qek8c9e8a94m3m79fjkh29",
    "number": 24508,
    "title": "fix(server): editors opened from a boot-started server get a window on Linux",
    "state": "open",
    "draft": false,
    "sourceBranch": "fix/editor-launch-session-display",
    "targetBranch": "main",
    "headOid": "ca3661c314bc03e2fede54d1c666fd0082694133",
    "author": {
      "kind": "unavailable",
      "actorId": "sanitized-public-author"
    },
    "createdAt": "2026-10-24T17:16:04.000Z",
    "updatedAt": "2026-10-24T17:23:59.702Z",
    "version": 8,
    "description": "## Problem\n\nWhen T3 Code runs as its systemd user service, it starts at boot, before the desktop session, so its environment has no `DISPLAY` or `WAYLAND_DISPLAY`. An editor it launches (VSCodium here) starts without a display and exits silently: clicking Open does nothing.\n\n## Change\n\nOn Linux, when the server has neither variable, editor launches read `DISPLAY`, `WAYLAND_DISPLAY`, and `XAUTHORITY` from the systemd user manager's `Environment` property through `busctl --user --json=short`, which returns values raw (`systemctl show-environment` would shell-quote values containing spaces as `$'\u2026'`), and pass them to the editor only. The user manager learns them when the session starts. A missing user manager, an error, or a 2-second timeout leaves the server's environment as before. Browser launches are untouched, so the startup pairing page never opens on another session's screen. Editor detection, including the file manager entry, is unchanged.\n\nmacOS (a launchd agent in the gui domain) and Windows do not use these variables, and the boot service is systemd-only on Linux.\n\n## Scope and approval\n\nNo prior issue: a small reliability fix for a silent failure in an existing feature, confined to `externalLauncher.ts`.\n\n## Verification\n\n- `vp test run src/process/externalLauncher.test.ts` in `apps/server`: 21 pass. The new test stubs `busctl` JSON output on Linux without a display and checks that the editor gets exactly the three variables, raw (including an `XAUTHORITY` path with a space), the browser launch gets none, and a failing `busctl` still launches the editor with the server's environment.\n- Observed on my machine: the running `t3code.service` process has no `DISPLAY` or `WAYLAND_DISPLAY`, while `systemctl --user show-environment` reports `DISPLAY=:0` and `WAYLAND_DISPLAY=wayland-1`.\n\nNot checked: launching a real editor from a boot-started service built from this branch.\n\nClaude Opus 5.5 via Claude Code, running in T3 Code.\n",
    "closedAt": null,
    "mergedAt": null,
    "sourceRepo": null,
    "observedBaseOid": "d53873b6a4799e87afd63c8d288ef0089f5a3748",
    "mergeRoute": "provider",
    "capabilities": {
      "edit": true,
      "moderate": true,
      "review": true,
      "merge": true,
      "comment": true
    }
  },
  "status": {
    "merge": {
      "state": "requires-native-check",
      "strategies": [
        "squash",
        "rebase"
      ],
      "permitted": true,
      "reasons": [],
      "warnings": [],
      "fastForward": false,
      "conflicts": "pending",
      "blockers": [],
      "verdict": {
        "kind": "waiting",
        "checks": [],
        "next": "GitHub has not yet checked this head against the current base branch for conflicts. A check has been requested and may take a few minutes; read the status again then."
      },
      "rulesets": {
        "matched": 0,
        "violations": [],
        "warnings": []
      }
    },
    "checks": {
      "total": 30,
      "pending": 0,
      "failing": 0
    }
  },
  "checks": {
    "commitOid": "ca3661c314bc03e2fede54d1c666fd0082694133",
    "items": [
      {
        "id": "status:57172145742",
        "provider": "github",
        "name": "CodeRabbit",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/commit/ca3661c314bc03e2fede54d1c666fd0082694133",
        "summary": "Review completed",
        "runId": null,
        "publication": null,
        "version": null
      },
      {
        "id": "120937457592",
        "provider": "github",
        "name": "Check",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937457592",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937095698",
        "provider": "github",
        "name": "Release Smoke",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937095698",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937095487",
        "provider": "github",
        "name": "Mobile Native Static Analysis",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937095487",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937095369",
        "provider": "github",
        "name": "Test Web",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937095369",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937095040",
        "provider": "github",
        "name": "Rust",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937095040",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937094339",
        "provider": "github",
        "name": "Build and Typecheck",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937094339",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937094307",
        "provider": "github",
        "name": "Test",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937094307",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937070732",
        "provider": "github",
        "name": "Sync PR size label definitions",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937070732",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937069681",
        "provider": "github",
        "name": "Label PR size",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937069681",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937067756",
        "provider": "github",
        "name": "Label PR 24508",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937067756",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937066957",
        "provider": "github",
        "name": "Macroscope - Effect Service Conventions",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937066957",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "macroscopeapp"
      },
      {
        "id": "120937063370",
        "provider": "github",
        "name": "Native fingerprint diff",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937063370",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937063066",
        "provider": "github",
        "name": "Macroscope - Approvability Check",
        "status": "completed",
        "conclusion": "neutral",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937063066",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "macroscopeapp"
      },
      {
        "id": "120937061448",
        "provider": "github",
        "name": "Macroscope - Correctness Check",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937061448",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "macroscopeapp"
      },
      {
        "id": "120937061443",
        "provider": "github",
        "name": "Deploy relay preview",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937061443",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937061232",
        "provider": "github",
        "name": "Deploy web preview",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937061232",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937061148",
        "provider": "github",
        "name": "Macroscope - Effect Service Conventions",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937061148",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "macroscopeapp"
      },
      {
        "id": "120937060970",
        "provider": "github",
        "name": "EAS Preview",
        "status": "completed",
        "conclusion": "skipped",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937060970",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937060106",
        "provider": "github",
        "name": "Test Server 8",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937060106",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937060075",
        "provider": "github",
        "name": "Native fingerprint diff",
        "status": "completed",
        "conclusion": "cancelled",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937060075",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059924",
        "provider": "github",
        "name": "Test Server 3",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059924",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059920",
        "provider": "github",
        "name": "Test Server 5",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059920",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059901",
        "provider": "github",
        "name": "Test Server 4",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059901",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059899",
        "provider": "github",
        "name": "Lint",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059899",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059887",
        "provider": "github",
        "name": "Test Server 7",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059887",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059873",
        "provider": "github",
        "name": "Test Server 2",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059873",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059872",
        "provider": "github",
        "name": "Test Server 6",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059872",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059865",
        "provider": "github",
        "name": "Test Server 1",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059865",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937059649",
        "provider": "github",
        "name": "Changes",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937059649",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937051602",
        "provider": "github",
        "name": "Collect PR targets",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937051602",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      },
      {
        "id": "120937051582",
        "provider": "github",
        "name": "Prepare PR size config",
        "status": "completed",
        "conclusion": "success",
        "detailsUrl": "https://github.com/pingdotgg/t3code/runs/120937051582",
        "summary": null,
        "runId": null,
        "publication": null,
        "version": null,
        "githubApp": "github-actions"
      }
    ],
    "next": null,
    "summary": {
      "state": "success",
      "total": 30,
      "pending": 0,
      "failing": 0,
      "successful": 30
    }
  }
}
