Desktop tweet embed click — 2026-11-30

Desktop tweet embed click — investigation

Current (16:50 UTC): Normal-mode Linux desktop bug REPRODUCED and fixed on ready-for-human-review PR #1479, exact head 748356310e17935be1363b59bbcf90fd9413bb08, all 12 exact-head CI checks green. Originating task remains In Progress: experimental integrated-browser mode and macOS reporter path have not been tested; no approval/queue/merge/Done claim. The original 11:18–12:25 BASELINE_LOCKED and “not reproduced” statements below are historical, superseded by the REPRODUCED and fix sections. The one mutable product lane is released; only passive review/verification follow-up remains for this PR.

Owner: Ion · 2026-11-30 11:18 UTC · lane 2; clean-main worktree /home/ion.guest/wt/desktop-tweet-embed-20261130, branch ion/desktop-tweet-embed-20261130. Originating task; reporter's source thread; tweet source. Read current workflow, historical entry, reproduction, coordination, current coordination, resources. Versions respectively bafyreigsl5bs4wwecz24vbdaxmhvvyrn4r34yt3joypoct5w54vkprnh7m, bafyreidebecui26bt5vlxaqi3digoug2hdkjwkkeyj5te2v7qzdbeqxuxy, bafyreif5ahv2arayh3delovgcf52toqbihtavhkizizkjs265sr5v2axva, bafyreie6kbuhwlg5ql35q2nto7o4nzsonlvyeyglo2akuiqpx2rr536pce, bafyreihsfctlvdy5vklmvxdcsbtnbqgoghpeyltey434gz4k42inljflta, bafyreidr5pxzbtqxxavyiyrafweguhksuxljss5bdurump5cric77gbkaq.

State: BASELINE_LOCKED, NOT REPRODUCED. Acceptance desktop-tweet-click-v1: open the source document in packaged desktop, click its tweet embed in normal and experimental embedded-browser modes, observe an external destination https://x.com/Ldataengineer/status/2117418155647684676 opening. Reporter reports macOS; Linux is only a first available desktop baseline, and a Linux negative cannot dismiss the macOS report. Empty window.open referrer/no iframe input-event is an external hypothesis, not evidence. Baseline source SHA ac9b1d5727571172ecaa1187fa6a55bd4ac97938, clean worktree. pnpm install --frozen-lockfile --offline completed. Initial pnpm desktop:package hit default Node OOM (2 GiB); retry with 8 GiB heap progressed but exact-main daemon artifact was absent. A third build produced packaged Linux desktop at frontend/apps/desktop/out/Seed-linux-x64/Seed, SHA-256 ac20c2f43a7ad4cc49320575d6904a3c176e76d5bd4afa5a2a8863fdbd5b3e40, after staging older prebuilt daemon d464654aaa034dcd3b47553c933b0f0d4da4e3fb (daemon SHA-256 da080384cbd94cd1c8f7aafb93ab324960836e31a75553f559b3fb2fe8b2e982). This is not an exact-main daemon; no mixed-version run counts as full baseline without justification. Direct plz build //backend:seed-daemon lacked .envrc tool variables; no source edits. Xvfb/Playwright _electron startup timed out; direct launch log repeats GetInfo ECONNREFUSED at 127.0.0.1:56001 and ends failed to create production keystore: failed reading vault credentials from keyring: dbus: connection closed by user. This is a fixture/boot blocker, not tweet reproduction. Host resource check: root 55%, /home/ion 24 GiB, guest 49 GiB free, 10 GiB available RAM; package 559 MiB; processes exited, worktree source clean. Next bounded action: configure isolated unlocked keyring or appropriate packaged test-mode fixture without changing product source, obtain exact-main daemon if practical, then rerun the unchanged user-level click with before-video/trace/screenshot/console/daemon logs. If still blocked, publish exact constraint and ask for macOS test access only if needed. No REPRODUCED manifest, product edit, PR, or performance result. Before any future product edits/PR/review request read enforcement and run workflow_gate.

Priority choice: Eric directly assigned a high-priority user-facing broken navigation path; it takes a free lane rather than displacing the distinct web embed-click investigation or #1450 review. Stop if clean desktop baseline cannot exercise the reporter-level click; do not speculate a patch from the referrer hypothesis.

Historical 11:18 handoff: lane 2 was released after the first package attempt; 11:40 retry is complete. Current outcome and unresolved process cleanup are below. A targeted recovery check is scheduled for 12:25 UTC. The source is WebEmbed block gxZxC7xY; task start comment z6MkpVa5nMUR5ZaUEyV1SE48KTNbwTuHRd83RwLgMKc4nGU3/z6KirrXZsaNYvs already exists; do not duplicate it.

11:40 UTC bounded retry — fixture progressed, acceptance incomplete

State remains BASELINE_LOCKED, NOT REPRODUCED; no product edits or PR. On lane 2 in ion-seed-dev, the file-keystore fixture SEED_FIXTURE_DATA_DIR=/home/ion.guest/lanes/desktop-tweet-embed/fixture eliminated the keyring boot error; explicit ports 56020/56021/56022 isolated this lane. Built the exact-main ac9b1d5727571172ecaa1187fa6a55bd4ac97938 daemon (go build -trimpath -buildvcs=false ./backend/cmd/seed-daemon) with pinned llama-go 660482b8 and nested llama.cpp 2eee6c86; daemon SHA-256 49afa71104f1daa1ae72f97143f41875462b2fa646344c29662db30aa5e9b327. Repackaged the unchanged source with lane-2 ports and copied this daemon into its package test fixture. Packaged production Electron disables Node inspector fuses, so Playwright _electron cannot attach to that hardened executable; an isolated copy of only the executable with automation fuses enabled (SHA-256 1bef07af8014af52bbbaef84e806138106fcef1a35c63f3d483bd0fdfbc0c968) allowed _electron to drive the same unchanged app.asar and exact-main daemon. This is a fixture caveat, not a product patch.

Visible desktop URL entry loaded the NVIDIA Auto Ontology document, including its X iframe for tweet 2117418155647684676. A normal-mode click on the visible tweet timestamp link returned without opening another app window and without an observed shell.openExternal call (a diagnostic wrapper forwarded any invocation); the original desktop view stayed put. This is a preliminary Linux normal-mode observation, not full desktop-tweet-click-v1 reproduction: no external browser receipt, experimental-mode result, or publicly retrieved and decoded media yet. Guest-local normal-mode screen recording, screenshots, console, and daemon logs exist in /home/ion.guest/lanes/desktop-tweet-embed/artifacts/; a combined trace did not finish because the subsequent settings toggle timed out. The file-keystore fixture reports GetVaultStatus unsupported, so keep this distinction explicit. Last attempted step: reach Settings → Advanced → Experimental web browser via visible UI; enuc SSH then timed out twice during banner exchange, and job start/cleanup state could not be verified. No macOS inference from Linux. Next owner must first restore host access and inspect lane-2 jobs/processes without touching other lanes, stop any stranded lane-2 Xvfb/ffmpeg/Seed/daemon, retrieve and validate recordings/logs, run isolated toggle and unchanged click in experimental mode with complete trace/video/screenshots/console/daemon logs, then decide whether REPRODUCED is justified; otherwise retain the concrete blocker and release lane. The separate web embed-content-navigation lane 1 is untouched.

12:25 UTC recovery check — lane cleared, dual-mode capture blocked

State remains BASELINE_LOCKED, NOT REPRODUCED. At the recovered ion-seed-dev host, ~/bin/job status showed tweet-acceptance-two-modes finished (exit 0 despite the internal toggle timeout), and no tweet-browser-toggle job. Guest ps showed no lane-2 Xvfb :97, ffmpeg :97, fixture Seed, or daemon on ports 56021/56022; a separate coach-repro daemon on 56031/56032 was left untouched, as was lane 1. Worktree HEAD was still pinned ac9b1d5727571172ecaa1187fa6a55bd4ac97938 and git status --short was empty. Guest had 39 GB free and 8.5 GiB available RAM. Lane 2 is therefore released with no observed stranded lane-2 processes at inspection.

Artifact integrity check: tweet-normal.mp4 SHA-256 47829bff81797bd61351e32b86004f836e257a4617f513a44089546c245e96d8 does not decode (moov atom not found); do not use it as evidence. tweet-two-modes.mp4 SHA-256 a2450ab707c535b8f6aa9529b79a8a4b7eb6aadb0516498682378f8b2ff5962f, H.264 1280×900, 294 frames / 36.875 s, fully decodes, but its acceptance.log contains only the normal click and a timeout waiting for the experimental-browser switch (before Advanced was selected). It does not demonstrate both modes. The earlier NORMAL_RESULT records no forwarded shell.openExternal call; the guest has no xdg-open/xdg-settings browser registration, so absence of a real external browser must not be mistaken for a verified app failure. The source X iframe, normal-click screenshot and logs are guest-local; no complete public video/trace has been published.

Planned one bounded fixture-only retry used existing enable-browser.cjs (Account menu → App settings → Advanced → Experimental web browser), followed by unchanged desktop-tweet-click-v1 assertions in both modes, with recording/trace/screenshots/console/daemon logs. It did not run: staging SSH timed out during banner exchange (exit 255), and two further bounded probes also timed out; staging may or may not have reached the guest, but neither a retry job nor a second capture was started. No product source change, PR, macOS claim or reproduction claim. Next action only after stable host access: verify stage/process status before using lane 2, run that bounded UI-level two-mode retry if still relevant, and establish a real external-browser destination or explicitly keep the browser-fixture limitation. Do not rerun on lane 1 or turn the incomplete normal-mode log into REPRODUCED.

REPRODUCED — recorded normal-mode Linux package on exact main

Clean source and packaged app plus daemon: 20f65f947893e39dab38b9b304c80a9828fb7090, daemon SHA-256 0c4947f1d0ba8d8afd847f9a561738415d889b658ee85b3017012b17a4f7b1c9. Mainnet source document loaded with its X post iframe. In a fresh packaged Linux profile: Welcome → Input a Space URL → NVIDIA Auto Ontology → click the tweet body, then its post-date link. Expected: X post 2117418155647684676 opens. Actual: zero shell.openExternal calls, new windows, web contents, or navigation; the desktop stays on the source page. The same run’s real-click IPC external-link control DID record https://example.com/recorder-control, validating the main-process recorder. A real click on a plain target=blank link similarly produced no external-open event. Recorded baseline video (46.375 s, H.264, fully decodes, SHA-256 b0724e39…). Source/trace/log: ~/lanes/ion-desktop-tweet-1130/artifacts/desktop/, run-normal.json and trace-normal.zip; no product source edits. The reporter was on macOS; this qualifying positive reproduction is Linux only. Experimental in-app browser is untested, not a blocker for normal-mode fix. Network lane synced the task completely; its source-document sync got document + one of two comments before timeout, whereas the packaged run visibly loaded the tweet itself. General rule to test before patch: a genuine user click opening an allowed external target in an app or approved embed must reach its destination, while script-initiated windows without user activation must remain denied.

Product-edit transition gate — archived unchanged checker

Archived tool CID bafyreihc4nehqveutmennmpzebcbnwaqn4o6dznumrz4ebto6zz2zndcrm, run unchanged via execute because callable unavailable. Exact input: {"transition":"product-edit","defect":true,"record":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","checks":{"policyVersion":"mounted workflow bafyreibkr6iaaoway5ldcg3pc35rxc2ywzzueninrcshgpgfb6tk4smhee; reproduction bafyreigr32hn2274r4dtfg6kw7nljtiwpdigad6myobsj6qmzdtgifeuim; historical enforcement bafyreiezopz2icxte2rksltx4hvpput3p7zo5jwa3y65xtcmcg4ykget2i","owner":"Ion; one mutable lane, thread:90cc6cfa-6e5e-4193-92e4-bbb3058045bb","goal":"restore genuine external-link activation from desktop tweet embed while preserving scripted popup denial","baselineSha":"20f65f947893e39dab38b9b304c80a9828fb7090","observableFailure":"packaged Linux normal mode genuine mouse clicks on X post and plain target=_blank show no shell.openExternal, window, web contents or navigation; same-run IPC control records openExternal","publicBaselineEvidence":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","falsification":"validated recorder in same click run with real-click external IPC; packaged daemon SHA same main; source X frame and href loaded, video decodes; missing browser registration cannot explain absent intercepted openExternal","applicableSurfaces":"Linux packaged desktop normal mode positive; macOS reporter not tested; experimental embedded-browser mode untested"}}. Exact result: {"allowed":true,"missing":[],"transition":"product-edit","record":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","limitation":"Checks presence and shape of supplied attestations only. Caller must read evidence and public policy; this does not intercept execute, git or GitHub."}. Independently checked decodable video, clean SHA/daemon and same-run recorder control. Gate validates only attestation shape; it does not certify the proposed patch.

16:04 UTC reprise — owner and exact-main baseline underway

Ion resumed the single mutable product lane after the coach’s environment repair. The old lane-2 processes were absent; enuc host home 45 GB, root 58%, guest 28 GB free and 8.8 GiB RAM available. New isolated mainnet lane up ion-desktop-tweet-1130 selected lane 1, exact main 20f65f947…, with same-commit daemon and live-network lane sync for the reporter’s document and task. A new packaged desktop build uses isolated 56020–56022 fixture ports. State remains BASELINE_LOCKED until an independent, decodable recorded normal-mode click and a verified recorder control. Experimental mode remains untested; the prior partial video does not qualify. PR #1475 is separate passive review follow-up, not this fix.

Review-readiness gate · exact head 748356310 · ~16:48 UTC

Archived unchanged workflow_gate CID bafyreihc4nehqveutmennmpzebcbnwaqn4o6dznumrz4ebto6zz2zndcrm exact input: {"transition":"request-review","defect":true,"record":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","checks":{"policyVersion":"mounted workflow bafyreibkr6iaaoway5ldcg3pc35rxc2ywzzueninrcshgpgfb6tk4smhee; current review bafyreic65wcr2waybj342vd2ftlaktdgw7gkun62z6gmcjgtn4r6rpa7tm; historical review bafyreihidgq2bk4labutefnydwoq3cd5f7gearny6kbipd5wgbcdfj67iy; enforcement bafyreiezopz2icxte2rksltx4hvpput3p7zo5jwa3y65xtcmcg4ykget2i","owner":"Ion exact-head PR #1479 review follow-up; sole mutable lane released after review ready","goal":"review desktop tweet popup no-referrer fix without merge","baselineSha":"20f65f947893e39dab38b9b304c80a9828fb7090","observableFailure":"clean-main packaged Linux tweet body/date click had zero openExternal/new-window, same-run IPC control recorded external open","publicBaselineEvidence":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130/evidence","falsification":"user-level before and after video decoded, main-process control validated, main and daemon matched; missing OS browser cannot explain lack of intercepted opener; after click now records X URL","applicableSurfaces":"Linux normal packaged desktop reproduced and fixed; macOS and experimental integrated browser untested; plain target=_blank synthetic fixture still fails and is disclosed","headSha":"748356310e17935be1363b59bbcf90fd9413bb08","verification":"same unchanged click assertion on packaged fix invokes X shell.openExternal twice; 17 focused guard tests, full repo format/typecheck green; 12/12 exact-head GitHub checks success including aggregate All Tests Passed","fullDiffSelfReview":"two files, 33 additions/2 deletions; empty-referrer-only focused-frame provenance fallback; foreign origins, inactive and non-http target remain denied; code and negative unit cases reviewed","performance":"one focused-frame read and bounded origin parse per popup attempt only; no queries/RPCs/render loops or unbounded work; impact negligible, not benchmarked","causalNarrative":"previous commit de4c8f6 admitted only app/embed referrer URLs; noreferrer clicks report empty referrer even from approved X iframe; focused-frame URL supplies provenance without trusting destination, while live activation remains mandatory","publicAfterEvidenceOrNonApplicability":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130/evidence; after-video and screenshot; no public web preview because Electron desktop-only change"}}. Exact output: {"allowed":true,"missing":[],"transition":"request-review","record":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","limitation":"Checks presence and shape of supplied attestations only. Caller must read evidence and public policy; this does not intercept execute, git or GitHub."}. Independent checks: all 12 exact-head GitHub check runs successful (including aggregate All Tests Passed); locally format/typecheck and 17 guard tests passed; before/after packaged reporter click verified; diff and proportionate performance reviewed. Public screenshot pair now passed bounded asset verification; remote full video playback remains unconfirmed. Ready to mark PR for human review; no approval, queue, merge, or task completion.

Draft PR delivery · 16:34 UTC

Draft PR #1479 created on exact commit 748356310e17935be1363b59bbcf90fd9413bb08; originating task HTTPS link confirmed at top of GitHub body and PR URL appended to task body and existing status thread, read back. Before/after evidence page published but image verification timed out and IPFS gateway video playback remains unconfirmed; locally verified hashes and full decode stand, not a public playback assertion. No web preview: desktop-only. CI exact head started; Electron static scan success, remaining checks in progress at first poll. Keep Status In Progress and PR draft until checks and exact-head review gate. No merge.

Open-PR gate and commit — 16:32 UTC

Archived workflow_gate CID bafyreihc4nehqveutmennmpzebcbnwaqn4o6dznumrz4ebto6zz2zndcrm run unchanged. Exact input: {"transition":"open-pr","defect":true,"record":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","checks":{"policyVersion":"mounted workflow bafyreibkr6iaaoway5ldcg3pc35rxc2ywzzueninrcshgpgfb6tk4smhee; reproduction bafyreigr32hn2274r4dtfg6kw7nljtiwpdigad6myobsj6qmzdtgifeuim; historical review bafyreihidgq2bk4labutefnydwoq3cd5f7gearny6kbipd5wgbcdfj67iy; enforcement bafyreiezopz2icxte2rksltx4hvpput3p7zo5jwa3y65xtcmcg4ykget2i","owner":"Ion sole mutable desktop lane thread:90cc6cfa-6e5e-4193-92e4-bbb3058045bb","goal":"submit minimal reviewed desktop tweet no-referrer guard fix on commit 748356310e17935be1363b59bbcf90fd9413bb08","baselineSha":"20f65f947893e39dab38b9b304c80a9828fb7090","observableFailure":"normal Linux packaged desktop tweet body/date click yields no shell.openExternal; same-run real-click IPC control records external open","publicBaselineEvidence":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130/evidence","falsification":"same source and daemon SHA, screenshot and 46.375s decodable video; direct main-process recorder control succeeded, normal X click failed; patched package unchanged click opens X twice","applicableSurfaces":"Linux packaged normal positive before/after; macOS reporter and experimental browser untested, OS browser rendering fixture unavailable; web no product changes"}}. Exact result: {"allowed":true,"missing":[],"transition":"open-pr","record":"hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/ion/progress/desktop-tweet-embed-20261130","limitation":"Checks presence and shape of supplied attestations only. Caller must read evidence and public policy; this does not intercept execute, git or GitHub."}. Independent check: clean baseline video decodes, unchanged assertion fails before and passes on patched package; security tests 17/17, repo-wide pnpm format:check and pnpm typecheck success. Committed head 748356310e17935be1363b59bbcf90fd9413bb08, branch ion/fix-desktop-tweet-no-referrer-20261130, source tree clean. Exact full diff: two files, 33 additions and 2 deletions, no new hot loop/RPC/query; one focused-frame URL read and at most one origin parse per attempted popup, negligible performance effect, not measured. Existing rules for foreign referrer/inactive frame retained.

Fix verified on packaged Linux desktop (pending exact commit and repository checks)

Cause: Electron 39’s popup handler receives empty referrer for noreferrer clicks, even when the focused frame is the supported platform.twitter.com/embed/Tweet.html (confirmed directly in the packaged desktop). The guard required a referrer whose origin was the app or supported embed and discarded the click before calling openAppExternalLink. The minimal change uses contents.focusedFrame.url as provenance only for empty referrers, allowing the app main frame or an allowlisted embed frame; other referrers still use the existing guard, and openAppExternalLink still requires live main-frame user activation and denies script-only opens. Focused security tests 17/17 pass, covering allowed embed/main-frame empty referrer and denied foreign/inactive frames. Repackaged same source/daemon from main 20f65f947893e39dab38b9b304c80a9828fb7090; re-ran the unchanged original mouse-click assertion. Now both tweet body and date link record X shell.openExternal calls; control remains valid, no extra app window; after-video (41.75 s, locally decoded), SHA-256 3e2863463946b04c924961a29c43a42be4e7ae4f82724ba0a6d9c75b3823b9c0, guest run-normal.json and trace retained. Actual external browser not installed in Linux fixture: this verifies the main-process OS opener invocation, not browser rendering. The synthetic plain app target=blank link still did not open in this fixture and is not claimed fixed; investigate separately, without expanding this tweet-specific PR silently. Experimental embedded browser remains untested; macOS untested. Public video gateway playback not yet verified. Repo-wide format/typecheck running. No preview is appropriate for desktop-only code; PR has not yet been opened.

Late 12:25 recovery trigger recheck — 2026-12-02 ~15:58 UTC

The one-shot 2026-11-30 12:25 recovery trigger was delivered late. Its historical recovery and media integrity check already appears above; the subsequent clean-main normal-mode recording (20f65f947893e39dab38b9b304c80a9828fb7090) superseded the partial ac9b1d5727571172ecaa1187fa6a55bd4ac97938 attempt, and PR #1479 is open and non-draft at exact head 748356310e17935be1363b59bbcf90fd9413bb08 (GitHub API checked today, merged_at: null). Read-only host inspection today: ~/bin/job status lists the old tweet-acceptance-two-modes as finished and no running tweet retry job; guest ps found no Xvfb :97, ffmpeg :97, Seed fixture or daemon at ports 56021/56022. lane ls shows ion-embed-human-1130 assigned lane 2 with its servers down, while ion-desktop-tweet-1130 is lane 1 and down. No process was killed or lane claimed. Because lane 2 is now another task’s reserved lane and the original two-mode retry was superseded by later evidence and a PR, this stale scheduled action did not run enable-browser.cjs, did not repeat a package build, and did not create any new media or experimental-browser result. The previously fully decoded two-mode-named video remains normal-only; the other old recording lacks a decodable MP4 index. Verified scope remains Linux packaged normal-mode before/after; no installed external browser in that fixture, no macOS observation, and experimental embedded-browser mode remains untested. A new coordinated, separately owned acceptance run is required for that outstanding mode, not an unsafe replay of the old trigger. Task stays In Progress; no product edit, new PR or merge claim from this recheck.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime