Repository navigation
Upstream sync 8A2: libkernel, libkernel_sys, libc and macOS path fixes - #467
Conversation
C17 7.22.1.3 and 7.29.4.1.1 interpret NAN(n-char-sequence) as a quiet
NaN. With MinGW-w64, std::strtod, strtof and strtold are mingw-w64's
gdtoa functions, which copy the hex digits into the significand
without the quiet bit, and for long double without the x87 integer
bit: strtod("nan(0x123)") returned the signaling NaN
0x7ff0000000000123 and strtold a pseudo-NaN. A payload whose only set
bit is the implicit or x87 integer bit gave infinity:
strtof("nan(0x800000)"), strtod("nan(0x10000000000000)") and
strtold("nan(0x8000000000000000)") returned +inf. glibc returns quiet
NaNs that keep the payload.
C17 7.12.11.2p2 makes nan("n-char-sequence") equivalent to
strtod("NAN(n-char-sequence)", NULL), and nan and nanf already return
the console's fixed quiet NaNs, ignoring the tag. ParseFloat, which
strtod, strtof, strtold, atof and the wide variants share, now returns
the same values, 0x7ff8000000000000 and 0x7fc00000, negated after a
minus sign, on Windows and Linux. strtold returns the x87 default
quiet NaN, since no console nanl was observed.
(cherry picked from commit aa4a9b4)
(cherry picked from commit 3cb4347)
(cherry picked from commit 0950b19)
(cherry picked from commit 22d03d4)
…ighbouring changes (cherry picked from commit c55f377)
(cherry picked from commit 61fbec8)
…mode on Windows (cherry picked from commit dbbd6d5)
(cherry picked from commit d31e283)
…iptor 0, 1 or 2 on Windows (cherry picked from commit c226541)
(cherry picked from commit f8e2c64)
…on Linux On Linux a guest stderr redirect also moves the host's: guest descriptors are host descriptors, and the guest stderr stream wraps the host stderr FILE. After dup2(fd, 2), or freopen(path, mode, stderr) with full buffering, the libc terminate report, the host fprintf(stderr) diagnostics and libstdc++'s terminate message go into the title's pipe or file, and abort() discards what is still buffered. RetroArch (PPSA99169) reopens stderr onto app0/trace.txt with full buffering, so its stop on main left no message anywhere. Before the first guest redirect of descriptor 2 (libkernel dup2, libc freopen of a stream on descriptor 2), keep a close-on-exec duplicate of the host descriptor 2 and point the host stderr at an unbuffered stream on it. The guest stream keeps its own FILE and follows the redirect. The libc terminate report writes to the kept descriptor with write() instead of the stderr stream, and libkernel's sceKernelDebugOutText uses the same kept descriptor. (cherry picked from commit 438d410)
PPSA34063 (NHL 27) calls it with a 16-byte buffer outside a coredump handler and expects 0x81180003 there. The registered handler is never invoked, so every call is outside one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit d04f5d6) (cherry picked from commit 02ed289)
(cherry picked from commit 69b9d18)
(cherry picked from commit 7aabb90)
The pipe check cached its first answer in the FileStream, so a stream first used on a regular file stayed classified as a file after its descriptor was replaced with a pipe (dup2 onto fileno(stream)), and a later fseek reached the C runtime again and dropped buffered bytes. fseeko and ftello now ask GetFileType on each call, as lseek on a pipe does since boykopovar#4670, and FileStream no longer keeps the state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 0dda76b)
…ress on Windows FreeBSD's in_getsockaddr and in6_getsockaddr succeed for a socket that has no local address and return the wildcard address with port 0. Winsock fails getsockname with WSAEINVAL until the socket is bound, which the guest saw as EINVAL. Return the zero address of the socket's family for that error. (cherry picked from commit 0438621)
(cherry picked from commit ab4ccad)
PS5MC (PPSA99420) imports wcsftime (XbVXpf5WF28, aerolib) as the last
absent libSceLibcInternal import in its registry order (index 481), so
its predicted stop is:
FAIL: unresolved ELF import XbVXpf5WF28 from libSceLibcInternal.prx
The stop is predicted from the import order, not observed in a run.
wcsftime follows FreeBSD 11.4 lib/libc/locale/wcsftime.c (8c639945):
the wide format is converted with wcsrtombs, strftime fills a buffer of
maxsize * MB_CUR_MAX bytes limited to maxsize, and mbsrtowcs converts
the result back. A format unit that the single-byte C locale of
lib/libc/locale/none.c cannot encode returns 0 with EILSEQ, a maxsize
whose product with MB_CUR_MAX overflows returns 0 with EINVAL, and an
empty or overflowing result or a null buffer returns 0 with errno
unchanged; the ERANGE or EINVAL set by the Windows CRT's strftime is
discarded. A null format or tm throws, as FreeBSD dereferences it.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 78ffdf0)
…xport _Unwind_Context took its cursor table from LibcUnwind::CursorSlots, a C++ data symbol of libc. On Windows LibcUnwind::Frame holds an _Unwind_Context, so libSceAgcDriver, which builds frames for its worker sampler, imported _ZN10LibcUnwind11CursorSlotsE from libc.prx. The NID patcher renames that export in the patched libc and leaves the import alone, so the patched libSceAgcDriver, libSceAgc and libSceVideoOut failed to load with error 127 and patched_libraries failed. The table is now file-local and the context reads it through UnwindCursorSlots_nid_no_patch, which keeps its name on both sides. (cherry picked from commit 3a9cc63)
The guest formatter handed NaN to the host's snprintf, which prints -nan for a negative NaN and +nan or " nan" with the + and space flags. FreeBSD 11's vfprintf clears the sign of every NaN and prints nan (NAN for the upper-case conversions), keeping the width and the - flag and ignoring 0. The formatter now does the same for a, e, f and g and their long double forms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VZWLdTjf1S57iLgn2rcaFb (cherry picked from commit 13444c8)
Dusklight (PPSA99305) imports atanhf (cPGyc5FGjy0) from libSceLibcInternal.prx; the libc.prx it bundles only has a zero-return stub for it. The implementation follows the atanhf of the libc.prx bundled with PPSA28319 (0x438a0), read from its disassembly: FreeBSD msun's e_atanhf.c calling msun's s_log1pf.c, both as of 59bc2f09 (stable/9, the revision the sinhf port took expm1f and expf from). The log1pf paths for the positive arguments atanhf passes are inlined, as the exported log1pf is still the host's. For |x| > 1, the infinities and NaN, Sony's error helper raises FE_INVALID and sets errno to EDOM before returning (x - x) / (x - x); for |x| = 1 it sets errno to ERANGE before returning x / 0. Other arguments leave errno alone. Running that code from the title's libc.prx on a Windows host gives the same bits, errno and floating-point exceptions as the built libc.prx for all 2^32 arguments, and msun's own e_atanhf.c and s_log1pf.c built with the host compiler give the same bits. With the host log1pf instead of the msun one, 4.7% of the arguments in [0, 1) differ. guest_math pins bits for every branch reachable from atanhf, both signs, and the errno and exception behaviour. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 3fe04d4)
(cherry picked from commit 572d330)
acosf returned 0xffc00000 (errno 33) for 2.0 (0x40000000), where FreeBSD lib/msun/src/math.h returns 0xffc00000 (errno 0). It now returns the FreeBSD result for that case. A guest test covers it and fails on main. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> (cherry picked from commit 64e244e)
The previous commit replaced the out-of-range result with the default quiet NaN 0x7fc00000, but main and FreeBSD e_acosf.c return 0xffc00000. acosf now calls the host and restores errno, so only errno differs from main. The guest test pins the result bits for 2.0f and -2.0f and keeps the in-range case acosf(0.5f). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> (cherry picked from commit 988d304)
(cherry picked from commit 653c544)
(cherry picked from commit 7313cf5)
(cherry picked from commit 81f727c)
(cherry picked from commit 4f87ac0)
(cherry picked from commit cd0e9dc)
(cherry picked from commit e3cef33)
mlockall (x7g7Ebeo8-U, aerolib) follows FreeBSD 11.4's sys_mlockall
(sys/vm/vm_mmap.c:1067-1131, freebsd-src
8c639945a44588f6cfdddfb057bb5aad88735da0) for the flag check: 0 or
bits outside MCL_CURRENT (1) and MCL_FUTURE (2) fail with EINVAL. The
title process is taken to pass priv_check(PRIV_VM_MLOCK), as mlock
already does.
Valid flags throw. MCL_FUTURE would need every later guest and host
mapping to be locked; nothing in the mapping paths does that, and
passing it to the host would make later host allocations fail above
the host RLIMIT_MEMLOCK. MCL_CURRENT would have to lock the whole
process, which on AnyPS5 also holds host stacks, heaps, modules and
driver mappings (sceKernelVirtualQuery reports them as guest memory),
with ENOMEM above a guest RLIMIT_MEMLOCK that is not known (getrlimit
throws for it). mlock pins host pages (VirtualLock, mlock) range by
range and keeps no record, so there is no state to extend. Recorded
in TechnicalDebt.
XPSemu (PPSA97358) calls it only with -overcommit mem-lock=on
(ZiZc3/XPSemu 8eec07b4, os-posix.c:330-355, reached from
system/vl.c:831-835):
int flags = MCL_CURRENT | MCL_FUTURE;
...
ret = mlockall(flags);
if (ret < 0) {
error_report("mlockall: %s", strerror(errno));
}
and exits on failure, so that option ends in the throw; without it
the title is not affected. Predicted stop removed (registry index 201,
not run):
FAIL: unresolved ELF import x7g7Ebeo8-U from libkernel.prx
guest_mlock checks EINVAL for 0, 4, 5 and -1 and the throw for 1, 2
and 3.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 87f4aa3)
(cherry picked from commit a7ea2bd)
strftime handed most conversions to the host's strftime, which differs from FreeBSD 11's for E and O modifiers on conversions glibc does not pair with them (%Ea was printed literally), padding flags on %+ and %v, years outside 1000 to 9999 (%Y printed 899 and -1 where FreeBSD prints 0899 and -001), and out-of-range fields (%I of hour 100, %u of weekday 8). On Windows the padding flags printed nothing. strftime now follows FreeBSD 11 strftime.c with the C locale on every host, and asctime follows FreeBSD 11 asctime.c, padding years to four digits and setting longer years apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VZWLdTjf1S57iLgn2rcaFb (cherry picked from commit d0df62b)
…ity targets Allow calling threads to query and set affinity using their own thread ID in addition to -1. Return ESRCH for non-matching thread or process IDs and EINVAL for invalid level/which arguments instead of throwing NotImplemented, matching FreeBSD cpuset semantics. (cherry picked from commit 9efabff)
On a PS5 (firmware 13.60) pthread_setschedparam and scePthreadSetschedparam accept only SCHED_FIFO and SCHED_RR with a priority of 256 to 767 or 896 to 959, return EINVAL otherwise, and keep the policy for pthread_getschedparam. A created thread takes the policy of explicit scheduling attributes, or its creator's when it inherits. Here any policy and priority were accepted and SCHED_FIFO was always reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 5c6a9d2)
XPSemu PPSA97358 imports both from libkernel.prx; with the imports ahead of them covered, its predicted next stops (relink registry order, not an observed run) are: FAIL: unresolved ELF import KaK52lYTBIs from libkernel.prx (execv, 7 call sites) FAIL: unresolved ELF import kdguLiAheLI from libkernel.prx (execve, 4 call sites) Today the title stops earlier at the observed FAIL: unresolved ELF import aRo9AhFUXcM from libkernel.prx (sigsetjmp, merged in boykopovar#3486) As for execvp (boykopovar#2827), the process image cannot be replaced here, so both throw with the execvp message pattern once FreeBSD 11's execve would start loading the image (freebsd-src 8c639945, sys/kern/kern_exec.c exec_copyin_args, do_execve, exec_check_permissions; lib/libc/gen/exec.c execv passes environ). Before that they fail as FreeBSD does: EFAULT for a null argument vector or path, ENOENT and ENOTDIR from the lookup as stat reports it, EACCES for a path that is not a regular file. Paths of PATH_MAX bytes or more and strings over ARG_MAX throw instead of guessing the console's limits. The execv calls in XPSemu's sources run in a fork child (net/tap.c), and its fork fails with ENOSYS (ZiZc3/XPSemu 8eec07b4, ps5/compat/libc_missing.c, ps5/build-title.sh --defsym). NIDs computed with tools/nid_names.py and confirmed in aerolib. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> (cherry picked from commit 57f0fa3) (cherry picked from commit 4f1ae1c)
(cherry picked from commit 77016ca)
The rename to execve dropped execv, which PPSA97358 imports. Co-Authored-By: Claude <noreply@anthropic.com> (cherry picked from commit cdf4b17)
PS5MC (PPSA99420, Kodi 22) imports clock_settime (d7nUj1LOdDU) from libkernel.prx, one reference, after sigwaitinfo in its import order. Predicted stop once the imports ahead of it are covered (not a run): FAIL: unresolved ELF import d7nUj1LOdDU from libkernel.prx The NID is computed with tools/nid_names.py and matches aerolib. Follows FreeBSD 11.4 sys/kern/kern_time.c sys_clock_settime and kern_clock_settime (8c639945a44588f6cfdddfb057bb5aad88735da0) for a root caller: EFAULT for a null time (copyin), EINVAL for any clock but CLOCK_REALTIME and for a negative tv_sec or a tv_nsec outside 0 to 999999999. A valid CLOCK_REALTIME request throws with the requested time named, since the host clock must not be set and no guest clock offset is kept. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: David <david@example.com> (cherry picked from commit ae9978a)
PPSA99058 and PPSA99420 import sceKernelGetCpuTemperature and sceKernelGetSocSensorTemperature and stop at start-up on main. Read the host CPU/package, board and NVMe sensors (hwmon/thermal on Linux, the ACPI thermal zones and the storage temperature property on Windows) and report an unsupported sensor with EINVAL. (cherry picked from commit 0f73f5f)
sceCoredumpAttachUserFile (5nc2gdLNsok) and sceCoredumpAttachMemoryRegionAsUserFile (MEJ7tc7ThwM) get the signatures of Orbital's db_types.json (cc408367) and SharpProspero's KernelSystem.cs (5dfdb4b0): (uint32_t userValue, const char* path) and (uint32_t userValue, const void* mem, size_t size, const char* name). The handler is never invoked here, so both return SCE_COREDUMP_ERROR_NOT_IN_COREDUMP_HANDLER (0x81180003, shadPS4 coredump_error.h e0a46675) and attach nothing; a null path or name and a null, empty or wrapping region throw because the order of the console's checks is unknown. Carried from @screamm with author attribution preserved. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> (cherry picked from commit 204355c)
…and chroot Hand-merged from upstream: ec0d61e 55ddffe 2a8e745 9ceb6d1 dc0d316 41b0ca5 e3c1d01 603d94a 7e5bec0 f8a269e. The fork's libkernel_sys Export.cpp and its test were an older shape of the file, so the upstream versions were taken whole, together with the RenameGuestPath export in libc Rename.cpp/General.hpp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the guest ABI Every other export of the C++ runtime is declared APS5_VABI, but these two were not. On Windows a title calls them with the System V convention while they read the Microsoft one, so __dynamic_cast took its fourth argument, the src2dst hint, as the source pointer: an ordinary downcast (hint 0) returned null, and the negative hints made it read through an invalid pointer. guest_dynamic_cast calls both through APS5_VABI declarations, as a title does, and checks a single-inheritance downcast, a failed cross cast, a cast of a base object and the header __cxa_init_primary_exception fills in. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit f4be036)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 7154138)
Adapted from upstream b1cf014 (POSIX and Windows localtime failure paths; the Windows year-range handling and its test are not ported). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PPSA99611 imports ceilf, floorf, truncf, isnan and isinf from libc.prx and stops at start-up on main. Implement them next to the existing double forms: the rounding results delegate to the standard library like the other float exports, and isnan/isinf reuse the __isnan/__isinf helpers isnanf already uses. (cherry picked from commit 00f0589)
…ation on macOS Cast away const on the category vtable entries (Apple clang rejects the reinterpret_cast), register guest_dynamic_cast once, use duration_cast for the _Cnd_timedwait deadline (libc++ system_clock is microsecond based), include unistd.h for the libkernel_sys at-calls, and stub GuestThreadStackHostRangeOverlaps in the direct memory test harness. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
libSceFont and libSceNpEntitlementAccess located the executable through /proc/self/exe, which macOS does not have, so finding the system fonts and the entitlements file threw there. Use _NSGetExecutablePath and resolve the path with std::filesystem::canonical on macOS. Linux and Windows are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit f30f3e8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0191e73a20
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| auto native = std::filesystem::path(reinterpret_cast<const char8_t*>(base)) / | ||
| std::filesystem::path(reinterpret_cast<const char8_t*>(path)); |
There was a problem hiding this comment.
Keep fd-relative paths inside the guest root
When a guest supplies a relative path containing enough .. components, this direct host-path concatenation lets host filesystem resolution escape the emulated root; for an aliased mount such as savedata, even one .. can reach the backing directory's siblings. The same construction is used by the new openat, readlinkat, fchmodat, unlinkat, and renameat paths, so a title can read, create, rename, chmod, or delete host files outside its guest filesystem. Resolve or clamp these fd-relative paths using the guest path rules rather than passing base / path directly to host APIs.
Useful? React with 👍 / 👎.
# Conflicts: # core/libs/prx/libc/src/Math.cpp
Upstream sync batch 8, slice A2: libkernel, libkernel_sys, libc plus the two macOS fixes. Companion to the relinker PR (slice A was 138 commits, split to stay reviewable).
Ported
aa4a9b4fabit: strtod("nan(0x123)") returned the signaling NaN3cb434715fix(libc): clear exhausted strtok continuation state0950b1985test(libc): cover exhausted tokenizer state22d03d497fix(libc): terminate truncated wcsxfrm resultsc55f377fbrefactor(libc): place the NaN helpers and test includes apart from neighbouring changes61fbec8effix(libkernel): fail lseek on a pipe with ESPIPE on Windowsdbbd6d582fix(libc): append through a descriptor opened by fdopen in an append mode on Windowsd31e28308fix(libkernel): throw for unsupported directory entry namesc22654102fix(libc): keep the host standard handles when a guest replaces descriptor 0, 1 or 2 on Windowsf8e2c6497feat(libc): implement floor438d41082fix(libc): keep host diagnostics on stderr when a guest redirects it on Linuxd04f5d600feat(libkernel): implement sceCoredumpGetStopInfoCpu02ed28956feat(libkernel): implement sceCoredumpGetStopInfoCpu69b9d186dfix(libc): replace an open or read-only destination in rename on Windows7aabb9005fix(libc): fail fseek and ftell on a pipe with ESPIPE on Windows0dda76b1ffix(libc): check for a pipe on every stream seek on Windows0438621d7fix(libkernel): getsockname on an unbound socket returns the zero address on Windowsab4ccade2feat(libc): implement _Mtx_init_with_name78ffdf052feat(libc): implement wcsftime3a9cc6368fix(libc): hand out the unwind cursor table through a _nid_no_patch export13444c82efix(libc): print NaN without a sign in the guest printf formatter3fe04d4b7feat(libc): implement atanhf572d330a1feat(libc): implement _Cnd_timedwait64e244eb7fix(libc): match FreeBSD acosf errno988d304c5fix(libc): keep the acosf result and leave errno unchanged653c5449ffix(libc): honor openlog identity and facility7313cf558docs(libc): record syslog tag fallback gap81f727c05test(libc): match syslog PID formatting4f87ac0b1fix(libkernel): harden DirectMemory pool bounds and rollbackcd0e9dccdfeat(libc): implement wcscate3cef332efeat(libc): implement generic error category messages099fa80b5fix(libc): reject invalid setlocale categories5eb99f8b6fix(libc): reject invalid setlocale categories2ec20dbd3fix(libc): validate guest setlocale categories1a0de9e91fix(libc): drop unused clocale includeb4e2ee0a1feat(libc): implement __powidf290c64af92fix(libc): export __cxa_thread_atexit9c383e329fix(libc): ignore the guest DSO of thread atexit on Windows in the shared bridge1ab578a3ftest(libc): allow the __cxa_thread_atexit export to call the MinGW registration7637cac13fix(libkernel): place guest thread stacks inside the application area9b6e7f66cfix(libkernel): protect host-only guest stack pages745857448test(libkernel): check the host-only stack guard on Linux only3953a8d49feat(libc): record traced import calls on Windows0265f3363fix(libc): choose the acosf NaN bits instead of the host libm79d88af19test(libc): cover wide transform output bounds43ffba87ehost: Windows byte-range locks are mandatory and would fail the guest's59bd0c178feat(libkernel): accept MADV_PROTECT advisory hint in madvise8d08caa52feat(libkernel): implement lutimesc18daed28fix(libkernel): validate CPU stop-info buffers and cover handler statef37bccf6efeat(libkernel): implement pthread_atforke8fd542f0feat(libkernel): implement pthread_atfork87f4aa331feat(libkernel): add mlockalla7ea2bdcafeat(libkernel): add mlockalld0df62bd1fix(libc): format strftime and asctime as FreeBSD 11 does9efabff1cfeat(libkernel): return ESRCH and EINVAL for unsupported cpuset affinity targets5c6a9d22cfix(libkernel): check and keep the scheduling policy of a thread57f0fa371feat(libkernel): implement execv and execve as throwing exports4f1ae1cc3feat(libkernel): implement execv and execve as throwing exports77016caa2fix(libkernel): limit execve to unsupported behaviorcdf4b174ffix(libkernel): keep the execv export and its debt lineae9978a98feat(libkernel): add clock_settime with FreeBSD argument checks0f73f5f05feat(libkernel): report the host SoC and CPU temperature204355cc6feat(libkernel): answer the coredump user-file attach callsf4be0362cfix(libc): call __dynamic_cast and __cxa_init_primary_exception with the guest ABI715413836test(libc): register guest_dynamic_cast beside guest_array_callbacks00f058910feat(libc): implement the float rounding and classification exportsf30f3e8a8std::filesystem::canonical on macOS. Linux and Windows are unchanged.Skipped
Evidence
Label: upstream-sync. Not merging.
🤖 Generated with Claude Code