OSC 8 exact filename evidence

Head 8a882931fd68e495d46d4f3f4130c6ccefc412a6 against base 1b14aade4de1db0c82b8d61ccfd9c011b04c3810. No performance numbers. Fallback colors: the active host theme was not readable from this run.

Result

The web app on boat.dev VM bx_h3xpjhk2 fails the exact-file scenario on base and passes all five rows on head. check:changed passes. Changed unit assertions go red when the fix is reverted or the guarding condition is inverted, and the committed tests pass again on head: 142 passed, 8 skipped.

Running app

Ctrl+click on a terminal file URI. Base writes no editor arguments. Head opens the named path. The editor stub records argv. This is the Linux web client, not a native editor, Windows, or a tunnel.

Base terminal printed report.txt:12-64 and the editor did not open
Base. The link is on screen. Editor arguments stay empty.
Head terminal printed report.txt:12-64
Head row 1. report.txt:12-64 opens as that filename, without --goto.
Head terminal printed zero.txt:0
Head row 2. zero.txt:0 stays a filename.
Head terminal printed CLICKME for a hashed numeric filename
Head row 3. Hashed numeric.txt:12#L5 opens numeric.txt:12. A numeric.txt:12:1:1 directory is present and is not opened.
Head terminal printed CLICKME for an ordinary positioned file
Head row 4. position.txt#L5C3 opens with --goto position.txt:5:3.
Head terminal printed build:2026
Head row 5. Directory build:2026 opens with --new-window.

What each behavior showed

BehaviorBrokenHead
URI metadata stats the exact filename. A non-URI path still drops a diagnostic suffix.Base joins file:///work/report.txt:12-64 onto the cwd as /elsewhere/file:///work/report.txt, and drops :0 and a decoded :12 the same way.Those three URIs stat /work/report.txt:12-64, /work/zero.txt:0, and /work/read me.txt:12. Non-URI paths still stat the stripped path.
VS Code does not --goto a numeric filename segment, including 1e3.Removing that guard sends --goto a:12:5 and --goto exponent:1e3:5. Reverting the launcher sends --goto a:12 for both an empty position and a requested line.Both open a:12. exponent:1e3 opens as that filename.
File manager receives the cwd and does not append the explicit line.Appending the line opens /tmp/a:12:5. A full revert does not, because the old file-manager path already ignored position./tmp/a:12 with position line 5 opens /tmp/a:12.
A padded directory does not win.Base never writes editor arguments for report.txt:12-64.numeric.txt:12 is the opened path while numeric.txt:12:1:1 exists. The launcher opens a:12 while a:12:1:1 exists.
Older servers get a plain cwd. A present position is the exact-file signal. An empty position requests no line.Reverted client sends the raw file URI and omits position, including the foreign UNC row.Decoded cwd, position {} or {line, column} from the hash only.
Omitted position keeps diagnostic suffix parsing.Disabling that parse drops --goto from file.ts:3:7 and todo.md:3, and drops JetBrains --line.Those callers still pass.
Zed keeps an exact name when the positioned spelling exists, and when the filename itself contains :digits.Skipping the collision check opens position.txt:7. Skipping the numeric-filename short-circuit opens a:12:5. The second row is a removed checkout probe. The committed test does not include it.position.txt:7 stays position.txt. a:12 with line 5 stays a:12. A free line and column become position.txt:5:3.
JetBrains gets a separate line and a zero-based column.Reverted launcher parses a:12 as line 12 and drops the column.--line 5 --column 2 and the exact file.
Terminal URI identity, hostname, and encoded numeric names.Reverted resolver returns a decoded path. myhost becomes /var/tmp/report.txt:12. foreign becomes a UNC path. report.txt:12-64 becomes /var/tmp/report.txt:12. report.txt:0 becomes /var/tmp/report.txt.The URI is preserved, myhost is cleared, foreign is kept.

Checks

On the VM, after reset: adjacent tests 142 passed and 8 skipped, scenario failsOnBase true and passesOnHead true, couldNotRun null, then check:changed. Format, lint, both knip runs, GraphQL, typecheck of 37 packages, tests, and the React compiler passed. Full suites, build, and release smoke stay with CI. No deleted files. Working tree clean. VM reset and still held.

Not claimed