Commit Graph

6308 Commits

Author SHA1 Message Date
00ed210a19 spirv_opt: scalar-replace surviving static Function arrays (SROA)
Split non-escaped, statically indexed Function-scope arrays (such as
%vgpr[256] and %sgpr[128] when no dynamic v_movrel*/s_movrel* indexing
exists) into per-slot scalar OpVariables for only the live slots
referenced after dominator-tree forwarding and DCE, eliminating the
monolithic array allocas and their static OpAccessChains.

Preserves arrays with dynamic indices, whole-array loads/stores,
escapes, decorations, non-null initializers, or negative/out-of-bounds
static indices; canonicalizes signed/unsigned constant indices with
equal value and rewrites multi-index OpAccessChains cleanly.
2026-11-28 09:12:41 +00:00
b7f1371c05 rdna2_decode: align DS single-offset and ds_swizzle_b32 ROTATE/FFT formatting with LLVM
Fixes all 19 remaining mismatches against LLVM 21.1.8 gfx10_ds.txt (1,708/1,708
decoded vectors exact):
- ds_condxchg32_rtn_b64 (6 vectors): checking '2_ in name' falsely matched
  '32_', printing offset0/offset1 instead of a single 16-bit offset. Restrict
  2-address detection to ds_read2 / ds_write2 / ds_wrxchg2 prefixes.
- ds_swizzle_b32 (13 vectors): match LLVM AMDGPUInstPrinter::printSwizzle by
  omitting offset: when offset16 == 0, printing offset:swizzle(ROTATE,dir,size)
  for 0xC000..0xDFFF, and printing offset:swizzle(FFT,mask) for 0xE000..0xFFFF.
2026-11-28 09:12:40 +00:00
2f26ba9810 Merge remote-tracking branch 'lc/main' into lc/addr-no-int64
# Conflicts:
#	tools/rdna2spirv.py
2026-11-28 11:10:12 +02:00
6de34615a6 Merge pull request #2369 from plamea/boot-trace-pipeline-timing
boot_trace: summarize Vulkan pipeline waits and compilation
2026-11-28 09:05:06 +01:00
eb3a0d1f8d Merge pull request #1938 from levi2m/feat/vk-model-oracle
vk_model_fuzz: judge pk16_diff, vint_diff and sdwa_diff on any Vulkan GPU against their reference model (VK-MODEL-ORACLE)
2026-11-28 09:04:11 +01:00
4a2609e79b Merge pull request #1151 from Taffyyy-ops/feat/junit-triage
tools: compare JUnit runs with private aggregate triage (JUNIT-TRIAGE)
2026-11-28 09:02:40 +01:00
8cf8c854f7 Merge pull request #630 from Kal0s-design/feature/cf-gpu-run
cf_gpu_run: run the FUZZ-8 control-flow programs on a Vulkan GPU (FUZZ-8-GPU)
2026-11-28 09:02:28 +01:00
68595f4a75 Merge pull request #569 from CLHelper/tools/boot-matrix
TOOL-BOOT-MATRIX: tools/boot_matrix.py, how far the retail boot gets for each set of pull requests
2026-11-28 09:02:16 +01:00
11dd917bbb Merge pull request #931 from fin-github/draft/274
bvh_groups: use shared same_report_path and catch --json write OSError (DRAFT-274)
2026-11-28 08:45:48 +01:00
d377762fc8 Merge pull request #906 from fitzypopper/navmesh-tile-stage-cleanup
NAVMESH-TILE-STAGE-CLEANUP: harden staged OBJ output and cleanup
2026-11-28 08:45:08 +01:00
81848d7c63 Merge pull request #731 from trigger337/fix/fog-volumes-stage-cleanup
fog_volumes: close mkstemp fd on fdopen error, use published_mode, and restore mode before unlink (FOG-VOLUMES-STAGE-CLEANUP)
2026-11-28 08:42:39 +01:00
8e756d971f Merge pull request #724 from kirigayakazima/fix/rsc8-audio-ro-cleanup
rsc8_audio: restore writable mode before removing staging file on failure (RSC8-AUDIO-RO-CLEANUP)
2026-11-28 08:36:44 +01:00
a5d954a4a7 rdna2spirv, docs, tests: document ij_quad_eval shortcut bound and line det==0 fallback
- Mark Gen.ij_quad_eval with shortcut: in tools/rdna2spirv.py and update docs/design.md
  to state that binary32 quad finite differences amplify rasterizer input rounding by
  (1 + 2|alpha| + 2|beta|) (~|i - I_c| / |dI/dx| up to primitive pixel span) and that
  det == 0 (including 1D/line primitives with constant J) falls back to P_c.
- Tighten test_perspective_fixture_branch_and_f16_halves against a binary64 Jacobian
  oracle and add test_wide_2048px_perspective_extrapolation_bound_and_line_det_zero_fallback
  covering a 2048px perspective triangle (P in [1.5, 4096.0]) and line det == 0 fallback.
2026-11-27 23:21:23 -08:00
25fd8e4776 Merge remote-tracking branch 'origin/main' into fix/rdna2spirv-f16-interp-computed-ij 2026-11-27 23:02:20 -08:00
772c7bc3f3 rdna2spirv: ds_permute_b32 stores its shuffles, so every lane runs them (SHADER-PERMUTE-EAGER)
Gen.ds_permute lets each destination lane scan the 32 source lanes of its half: per source
lane a shuffle of the published target, a shuffle of the data and an OpSelect that keeps the
data when the target is this lane. Each shuffle was used once and so was every link of that
chain, so SPIRV-Cross (MoltenVK) wrote the 32 steps as one nested ternary under the EXEC
ternary of the register write. A lane that takes an outer arm, or is off in EXEC, then runs
none of the shuffles inside it (the SHADER-529 mechanism).

On an Apple M5 (MoltenVK 1.4.2) tools/lds_fuzz.py --wave 32 --permute had 17 of the 100
programs of seed 31002 differ from the model, every one in a ds_permute_b32 result, mostly 0
where a source lane's data belongs. Both shuffles are now stored to Function variables
(Gen.eager), as the DPP rule stores its ballot bit and its shuffle.

tests/semantic/test_ds_permute_eager.py checks the three native forms with
test_dpp_eager_subgroup.py's model of SPIRV-Cross's single-use forwarding, and the values
against test_ds_permute.py's ISA model.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 12:44:48 +08:00
bed544a1d3 rdna2spirv: the wave mask gather is stored before it is read, so every lane runs it (SHADER-WAVEMASK-EAGER)
A register holds this lane's bit of a lane mask; v_mbcnt, s_bcnt1 and
s_ff1 gather the other lanes' bits with a subgroup operation
(Gen.wave_mask). v_mbcnt writes a VGPR, so its result is selected on the
lane's EXEC, and MoltenVK's SPIRV-Cross inlined the single-use gather
into the taken arm of that ternary:

    v6 = active ? popcount(simd_or(mine ? bit : 0) & below) + acc : v6;

A lane that is off never ran the gather, so its bit was missing from
every other lane's count. Gen.wave_mask now stores the gather to a
variable of its own with Gen.eager, as SHADER-529 did for DPP's ballot
and shuffle.

On an Apple M5 (MoltenVK 1.4.2), tools/crosslane_fuzz.py with wave 32,
native and no maskdata goes from 92 of 100 programs matching to 100 of
100, and from 193 to 200 of 200 with DPP at seed 7.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-28 12:44:47 +08:00
39680da556 pk16_diff: generate the packed high-half constant read by default
The form is measured and handled since 2026-11-22, so it is not a known divergence any more.
2026-11-28 13:44:23 +09:00
cee184e22b Merge branch 'r4/smem-img' into test/round4 2026-11-27 22:34:26 -05:00
8e834a3c86 rdna2spirv: refine SMEM NonWritable CFG/descriptor provenance and float-only image elision
Add CFG store-reachability with WAR safety, 64-bit/multi-level/spill-safe
descriptor-only SMEM analysis, pointer-offset aliasing wrappers, complete
f32/f16 consumer coverage with transitive copy/select/pack propagation,
and per-path EXEC-superset kill tracking in float_only_image_ops.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 22:34:26 -05:00
bdfde3a93f rdna2spirv: refine HW_REG_MODE FTZ32 check and loop sbuf_slow_xN helpers
Check exact HW_REG_MODE bit-range overlap with FP_DENORM.fp32 [5:4]
(including numeric/simm16 forms) so FP_ROUND-only writes keep FTZ32
enabled, and rewrite sbuf_slow_{ro,rw}_xN as compact DontUnroll loops
with NonWritable %sl_blk1 loads on read-only wide scalar loads.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 22:20:00 -05:00
4e721d781a Merge remote-tracking branch 'origin/main' into fix/mods-gui-tkinter-hint-macos 2026-11-28 04:18:59 +01:00
a6ed03c470 rdna2spirv: hoist coherent scalar_load OpConvertUToPtr above selection merge
Avoid SSA dominance violation when wide coherent s_buffer_load_dwordxN
falls into its inline partial-OOB slow path after calling get_ptr() in
the fast branch.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 21:29:02 -05:00
0508c53713 Merge branch 'r3b/img-sampler' into test/round3
# Conflicts:
#	docs/design.md
#	tests/semantic/spirv_mini_interp.py
#	tools/rdna2spirv.py
2026-11-27 21:18:18 -05:00
07e86a0263 Merge branch 'r3b/alu-smem' into test/round3 2026-11-27 21:16:08 -05:00
73fdc2a4c6 rdna2spirv: enable FTZ32/fmulz and per-load NonWritable SMEM with outlined slow paths
Enable DenormFlushToZero 32 alongside DenormPreserve 16 (with --no-ftz32
override and fmulz fusion), add sound per-load NonWritable scalar memory
analysis for descriptor/read-only SMEM loads, and outline wide s_buffer_load
partial-OOB slow paths into shared helper functions.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 21:13:24 -05:00
67273351ec rdna2spirv: add coherent VMM, literal sampler SpecId, float image elision, table store, and writes_buffer meta
Emit VulkanMemoryModel NonPrivatePointer/MakePointerVisible/Available for
glc/dlc buffer ops and reads_glc_buffer metadata, specialize literal S#
samplers via OpSpecConstant, elide dead uint/sint image_read_typed paths
when float-only, replace the 77-way buffer_store_format switch with a
compact lookup table, and emit writes_buffer + buffer_write_slots metadata.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 21:12:04 -05:00
9e085fa6c3 rdna2spirv: eliminate absent-lane subgroup UB and add static/GPU checks
Guard all cross-lane subgroup shuffles and broadcasts against unlaunched
lanes, eliminate %uint_0 fallbacks in favor of SubgroupLocalInvocationId,
and add static SPIR-V verifier (check_absent_lane_ub.py), wave-interpreter
unit tests, and a Vulkan GPU validation test.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 21:00:08 -05:00
27524a5e5b Merge remote-tracking branch 'origin/main' into fix/explicit-lod-bias-moltenvk 2026-11-28 02:57:41 +01:00
f05bf62eaa make_game, progress_dashboard: update default repository URL to ProjectLeonida/mandy (CI-REPO-URL-RENAME) 2026-11-28 09:55:01 +08:00
de8604c3dc Merge ProjectLeonida/mandy main (431ceba4f) into test/round2
Preserves all Round 1/2/2.1 CPU/GPU runtime optimizations alongside upstream
mandy/main changes, resolves all 10 conflicted files, and fixes arena_window
accounting on retired/dropped title windows.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 19:57:44 -05:00
635bab171f tools/scripts: the eight remaining __main__ blocks set errors=replace on stdout
test_tool_stdout_encoding fails on main: leonida_launcher, ps_prompt_glyphs,
victory_saves, volume_stats, world_hotspots, fetch_vkd3d_proton, port_ctl and
sync_victory still print paths a Windows ANSI code page cannot encode, and die
with UnicodeEncodeError when stdout is redirected under python -I. Add the
same one-line guard the other programs already have (exe_sha.py, #605).

Tested: test_tool_stdout_encoding (4 tests), test_tool_startup,
test_victory_saves, compileall, run_semantic_tests (6397 tests, 0 failed).
AI-assisted: yes (Qwen Code).
2026-11-28 03:49:04 +03:00
a1e0465356 test: cover mixed BCPack calibration and history 2026-11-28 00:59:20 +01:00
f77ea07b22 Merge remote-tracking branch 'old/port/pc-glyphs' into next
# Conflicts:
#	docs/README.md
2026-11-27 18:22:16 -05:00
4fc99f64d8 tools/pc_prompt_glyphs.py: a keyboard-and-mouse prompt movie traced from the player's pictures
Reads 38 flat-coloured PNGs (one per Main_Button_<N>, the 64 x 64 canvas plus one
pixel a side, at a whole multiple) from a folder the player names and writes the
title's glyph movie with their drawings, the two ways ps_prompt_glyphs.py does
(over the title's own movie, or standalone). Standard library only; the pictures
and the movie stay on the player's PC.

- each pixel is split into coverage of anything, of white and of grey; the
  half-covered line of each is followed between pixel centres, an edge placed by
  the coverage of the two pixels it lies between;
- each closed line is one painted piece, outermost first; a hole through the
  picture is cut out;
- straight edges and quadratic curves within --tolerance (0.03 canvas pixels),
  none across a bend; a corner the anti-aliasing rounded is put back where the
  edges on its two sides cross;
- a line that repeats in several pictures or places is defined once, and pieces
  that always appear together are one shape;
- the movie written is read back, drawn at the pictures' scale and compared,
  per N; --sheet writes those drawings as a contact sheet.

On the set it was written for: 7,067 bytes of shapes and sprites of the 15,226
the title's movie leaves, 4,207 of 1.6 million opaque pixels differ, none by more
than half a pixel's worth. Not run in the title yet.

ps_prompt_glyphs.py: build_over and build take another set's sprite builder and
Movie; Movie(compact=True) writes level and upright edges as SWF's short record.
Its own output is byte for byte what it was.

tests/test_pc_prompt_glyphs.py: pictures made by the tool's own rasteriser are
traced corner for corner, shared lines are defined once, a written shape reads
back as given, a built movie draws back to its pictures.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 18:21:09 -05:00
3d36b2ad33 Merge remote-tracking branch 'old/feat/launcher-ui' into next 2026-11-27 18:07:10 -05:00
bf40febf38 Merge remote-tracking branch 'old/tools/xbox-glyphs' into next
# Conflicts:
#	docs/README.md
2026-11-27 18:07:10 -05:00
51b2819b65 make_game assets: reuse local BCPack history on resume 2026-11-28 00:02:00 +01:00
d442851972 Merge remote-tracking branch 'mandy/main' into merge/mandy-main 2026-11-27 17:58:49 -05:00
00131bb85e main keeps its own runtime, tools and tests; the branch's variants stay on port/d3d12-nvidia
After the merge the tree held this branch's older states of files main maintains. Run against main's code,
tests/test_acphal_abi.py and 11 of the 15 translator tests that differed failed, and the C++ runtime would have
been built from two generations of its sources. So that the merge cannot break what main builds and tests:

- runtime/ is main's, file for file (68 files only this branch had are not carried over);
- every file under tools/, tests/ and docs/ that both sides have is main's (80 files);
- ten translator tests only this branch has, which test rules main's translator does not have, and their
  fixtures are left out.

What main gains: d3d12/ (the Rust D3D12 runtime), its launchers and helpers (Launcher.bat, scripts/play*.ps1,
play-linux.sh, port_ctl.py, smooth-motion.ps1, fetch_vkd3d_proton.py, sync_victory.py), mods/example_lua, eleven
notes under docs/, seven tools and the tests that pass with main's code, the README's sections and credits, and
the "Runtime traps" section of AGENTS.md. Everything left out here is on the branch port/d3d12-nvidia.

Checked: compileall; make_game.py --help; check_no_game_data.py over every file this adds to main; the
line-ending, docs-encoding, CI-registration and docs tests; each test file that differs from main, on its own.
Not run: the whole translator suite, the C++ build, cargo over d3d12/ after the merge (d3d12/ is byte for byte the
branch's), CI.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:58:38 -05:00
d56a01a505 launcher: the key art behind PLAY, fetched once and kept outside the repository
The picture behind PLAY is the one chosen in Settings (Launcher, Background picture), else the newest background.webp,
.png or .jpg in the launcher's settings folder (%APPDATA%\Leonida), else the newest capture, else the drawn art. When
there is none, launcher/serve.py fetches the game's key art from rockstargames.com once at start (2560 wide) and
keeps it there as background.<the type that came back>; --no-art leaves it. The request names a plain browser and
nothing about the user or the project; what comes back is kept only if its bytes are a PNG, JPEG or WebP. The picture
is never part of the repository.

Over a picture the page sets it a little lower, so heads clear the words top right, fills the band above with the
picture's own top row, and moves the cards to the bottom so the faces stay clear. /media/background needs the run's
cookie and serves only a picture by its bytes.

Tested: python -I tests/test_launcher_serve.py (10 tests: picture kinds, which background, the fetch against a local
server, token, Host, Origin, cookie, preview starting nothing) and tests/test_leonida_launcher.py (15), the
no-game-data check, and the page in a browser with the server in --no-run mode: the art was fetched (2560x1440 WebP)
and shown, Settings names the file in use.

AI-assisted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:52:09 -05:00
587bb6f5ac Merge pull request #2447 from DadaCap/w64-one-lane-fold
wave64_emulate_opt: fold a region at most one lane of the wave runs (SHADER-W64-ONE-LANE-FOLD)
2026-11-27 23:51:05 +01:00
b87abdef57 Merge mandy's main into port/d3d12-nvidia
Brings the D3D12 runtime branch (d3d12/, its launcher scripts and notes, and the pull requests reviewed and applied
on it) together with mandy's main.

Conflicts (67 files, none under d3d12/): docs/, make_game.py, runtime/, scripts/build_runtime.ps1, tests/ and
tools/. Every one takes main's side: main is where that code is maintained, and this branch's copies were older
states of the same files or the same pull requests in another form. tests/test_fspx_unpack.py is main's too, as it
tests main's tools/fspx_unpack.py. Nothing under d3d12/ is changed by the merge.

Checked before pushing: python -m compileall over make_game.py, tools and tests; make_game.py --help;
scripts/check_no_game_data.py over the files this adds to main; tests/test_text_write_line_endings.py. The
translator suite, the C++ runtime build and CI have not run on the result.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:50:37 -05:00
b43ad11673 launcher: an HTML page laid out like a publisher's game launcher, with a local server behind it
launcher/index.html is the window: a slim black rail of square tiles with a selection bar (four setups of the one
game), art over the whole window, the sections as uppercase words top right, the logo with one large light PLAY
button and a small menu button, and a row of black cards (what is still to do, the newest captures, the latest
changes). Mods, Saves, Captures, Tools, Settings and About are a dark sheet over the art. The logo is the
repository's assets/logo.svg; the art is drawn by the page. Nothing is loaded from the network.

launcher/serve.py serves it on 127.0.0.1 only and does what the page asks through the functions of
tools/leonida_launcher.py: settings, the mod switches, the save list and back-ups, captures, PLAY and Stop, the
tools. Requests need the Host of this machine, the run's token (a header for /api, a cookie for pictures and the
event stream), and name things by folder, index or name, never by path. --no-run looks only: PLAY and the tools
say what they would run and start nothing.

tools/leonida_launcher.py: the settings and the command line know the newer switches of scripts/play-d3d12.ps1
(-SeriesS, -Dlss, -FrameGen, -Aspect, -PresentScale, -Adapter), each checked before it is kept.

Tested: python -I tests/test_leonida_launcher.py (15 tests), check_no_game_data on the new files, and the page in
a browser against the server in --no-run mode (every page, the menu, PLAY printing its command). PLAY, Stop and the
tools were not run for real: another session had the game running. Launcher.bat still opens the Tkinter window.

AI-assisted.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:39:47 -05:00
aa5915112d rdna2spirv: park pure scalar-spill VGPRs across all stages and wave sizes
Lower pure scalar-spill VGPRs (touched only by immediate-lane v_writelane_b32 with non-VGPR source and immediate-lane v_readlane_b32, with every read lane definitely written on all CFG paths) to parked %sgpr slots for both wave32 and wave64 across all shader stages, instead of emitting OpGroupNonUniformShuffle.

Previously only wave64 VS/PS/GS parked pure scalar spills (halves_analysis), leaving wave32 fragment shaders shuffling spilled V# descriptors from lanes that can be inactive or unlaunched on small triangles or after discards (Vulkan SPIR-V UB returning stale physical VGPR bits, causing GPUVM read faults on RX 7900 XTX / RADV 26.3.1).

Tested:
- python3 -m unittest discover -s tests/semantic (6,393/6,393 pass) + new absent-lane wave32 PS regression test (195/195 targeted pass)
- Retranslated all 1,173 v_writelane_b32 shaders (1,173/1,173 pass spirv-val)
- Verified on RX 7900 XTX (RADV Mesa 26.3.1): two consecutive 240 s fast-load runs at 0.0 s warm graphics PSO compile time with zero GPUVM faults.

AI-assisted: Antigravity (Gemini 4 Neon).
2026-11-27 17:07:09 -05:00
cab6609160 Merge remote-tracking branch 'lc/main' into lc/addr-no-int64 2026-11-27 23:49:06 +02:00
8b3a182482 tools: xbox_prompt_glyphs.py renders the title's own button prompt glyphs to PNG on the player's PC
The glyphs are the vector sprites of the input-icon GFX movie in data.rpf (docs/prompt_glyphs.md), not
textures. The tool reads that zlib stream read-only (nothing is decrypted, the table of contents is not
used), rasterises every export (solid fills by the even-odd rule, strokes with round caps and joins,
PlaceObject2 placements) and writes one PNG per export, a contact sheet and a listing. It refuses an
output folder inside the repository, and stops with an error on anything it does not draw (gradient or
bitmap fills, colour transforms, clip layers, nested sprites). Standard library only.

docs/prompt_glyphs.md: the fills, strokes and placements counted over all 131 shapes, and the command.

Tests build their movies by hand (no game data): tests/test_xbox_prompt_glyphs.py, 18 tests.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 16:34:41 -05:00
fe63ca4642 PR #1435: instance_lists: ask report_paths for the report-path guard (INSTANCE-LISTS-SHARED-REPORT-PATH)
From https://github.com/ProjectLeonida/mandy/pull/1435 (head 7fb61fe3f0), applied as a reviewed patch.

Co-authored-by: Dashhhhhhhh <Dashhhhhhhh@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 15:48:44 -05:00
63c9b3af8a PR #1434: skin_streams: ask report_paths for the report-path guard (SKIN-STREAMS-SHARED-REPORT-PATH)
From https://github.com/ProjectLeonida/mandy/pull/1434 (head 97b1ac40b0), applied as a reviewed patch.

Co-authored-by: Dashhhhhhhh <Dashhhhhhhh@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 15:48:43 -05:00
12f2b6e005 PR #1430: bink_index: ask report_paths for the report-path guard (BINK-INDEX-SHARED-REPORT-PATH)
From https://github.com/ProjectLeonida/mandy/pull/1430 (head fb43ae7e5a), applied as a reviewed patch.

Co-authored-by: Dashhhhhhhh <Dashhhhhhhh@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 15:48:43 -05:00
e2a18e20bb PR #1084: anim tools: use shared report path guard
From https://github.com/ProjectLeonida/mandy/pull/1084 (head eac7353ec7), applied as a reviewed patch.

Co-authored-by: j-weiner <j-weiner@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 15:48:42 -05:00