ov004 AND ov007: WHAT THEY ARE, HOW THE GAME ENTERS THEM, AND WHAT THE PORT
WOULD NEED. Run linkw wave C, lane cat-2d.

Baseline this was measured against: 459f21a07, walk_window 4888/11243 linked
(43.5%), battery ALL GREEN. No exe hash is quoted here on purpose: the link
embeds build-location state, so a sha256 from one worktree is not something
another worktree can reproduce and is not an attestation. The attestation is
the gate manifest's git_sha plus git_dirty.

The lane was briefed as "the 2D HUD/OAM layer". That is not what these two
overlays are, and the correction matters for how they get reached, so it is
the first thing here.


1. WHAT THEY ACTUALLY ARE
-------------------------

ov004 is the MINIGAME SCENE FRAMEWORK. Its RTTI names, read out of the
decompressed overlay image, are the whole story:

    11dScMgBase_c                     d_Scene_MiniGame_Base
    N11dScMgBase_c15graphCallback_cE
    N10dMgPsOpt_c11TouchIcon_cE       minigame option screen, touch icon

ov006 is the twenty-three Rec Room minigames (dScMgAmida_c, dScMgCard_c,
dScMgCurling_c, dScMgHanachan_c, ...). ov004 is the base class those derive
from, and ov006 calls into it 993 times, more than any other edge in the game
that crosses into ov004.

ov007 is the TITLE SCREEN AND FILE SELECT scene:

    9dScDSMT_c                        d_Scene_DS_Mario_Title
    N9dScDSMT_c15graphCallback_cE
    ..\Character\title_demo.ncg       ..\Character\title_demo_U.ncg
    ..\Character\title_demo_main.ncg  ..\Character\file_menu.ncg
    ..\Character\file_menu_U.ncg      ..\Character\castle00.ncg
    ..\Character\btm_icon.ncg         ..\Character\touch_select_4bit.ncg
    ..\ColorPalette\title_demo_file_menu.ncl
    ..\ColorPalette\title_demo_main_U.ncl
    ..\ColorPalette\castle00.ncl
    "global data"  "message data"  "sound request"  "2DEffect"  "touch_panel"

So the four ov004 symbols the brief named (RenderOamMainScreen, DrawOamSprite,
Hud_RenderSprite, GetGameLanguage, plus RenderOamBothScreens and
FreeGfxSlotsById) are the MINIGAME framework's own 2D layer, and ov007's
RequestScreenFade and Sprite_SetAnimation are the TITLE screen's own fade and
cell-animation layer. Neither is the in-level HUD. walk_window's HUD already
runs on real decompiled code: OAM::Render, HUD::RenderHealthMeter,
HUD::RenderCoinCount and Minimap::Render are arm9/ov002 and are linked, with
hal/oam_lists.cpp acting as a static guard over their sprite-template tables
rather than as a stand-in for any of them.

One naming trap to carry forward: src/func_ov007_020c3d1c.cpp is
counted as ov007 by stem lookup, but notes/actor-vtables.md already records
that eight _ZN6Player* names belong to other overlays (seven ov006, one
ov007) as community labels applied to another class's bytes at a shared RAM
address. ov007 is the title scene; it has no Player. Do not read that file
name as evidence of an ending sequence in ov007.

Matched coverage is near total for both, which is why they are worth this
much attention:

    ov004   282 functions, 276 with a matched src TU   (97.9%)
    ov007   548 functions, 528 with a matched src TU   (96.4%)


2. THE SLOT: WHY NOTHING IN A LEVEL WALK CAN REACH THEM
-------------------------------------------------------

Load addresses, from the ROM's OWN overlay table. This file first quoted
extracted/dsd/arm9_overlays/overlays.yaml and every END below was wrong; the
eight BASES were right and the slot conclusion never depended on the ends.
The yaml's code_size is not the overlay's RAM size for a compressed overlay,
which is where the error came from.

DERIVATION. The NDS header word at 0x50 is the arm9 overlay table's file
offset and 0x54 its size; the table is 32-byte entries of
(id, ram_address, ram_size, bss_size, static_init_start, static_init_end,
file_id, flags). The image occupies base .. base + ram_size and the loader
zeroes bss beyond that, so the full footprint ends at
base + ram_size + bss_size. Both columns are given because the two answer
different questions: the image end is where file-backed bytes stop, the
footprint end is what an address-containment test has to use.

    overlay   base         image end    footprint end
    ov000     0x020aa420   0x020bf4e0   0x020bf4e0
    ov001     0x020aa420   0x020ad620   0x020ad660
    ov002     0x020ad660   0x0210d9a0   0x021111a0   in-level engine
    ov003     0x020ad660   0x020b18a0   0x020b18a0   star select, level select
    ov004     0x020ad660   0x020beb60   0x020bfec0   minigame framework
    ov005     0x020bfec0   0x020c3020   0x020c3020
    ov006     0x020bfec0   0x021402e0   0x021430a0   the minigames
    ov007     0x020ad660   0x02103340   0x02104c40   title / file select

ov002, ov003, ov004 and ov007 are four occupants of ONE slot at 0x020ad660.
They are mutually exclusive by construction. walk_window runs the ov002
occupant. ov004 and ov007 are not "not linked yet", they are a different mode
of the game, and the only honest way to reach them is to enter that mode.

The corrected ends also remove a contradiction the yaml numbers created.
ov004's footprint ends at 0x020bfec0, which is EXACTLY ov005's and ov006's
base, and ov001's ends at 0x020ad660, which is exactly ov002's base. There is
no overlap anywhere, so ov004 and ov006 are cleanly co-resident, which is what
section 3 needs them to be and what the yaml-derived ends appeared to forbid.

WHICH IMAGE TO READ. extracted/overlays/overlay_NNNN.bin is the correct source
and its byte length equals the OVT's ram_size for all eight of these
(ov000 86208, ov001 12800, ov002 394048, ov003 16960, ov004 70912, ov005
12640, ov006 525344, ov007 351456). extracted/dsd/arm9_overlays/ovNNN.bin
matches ram_size for none of them.


3. THE ENTRY CHAIN, END TO END
------------------------------

Scenes are actors. The scene machinery is in arm9 and every piece of it is a
matched TU:

    Scene::SetSceneToSpawn(id, param)   0x0202e36c
        writes data_02092664 = id, data_0209f5b8 = param

    Scene::SpawnIfNecessary()           0x0202e26c
        if data_02092660 == 0 and data_02092664 != 0x187:
            func_02013edc(id, param, 1)
              -> func_02042fe4  -> func_02043098(id, 0, param, 1)
                 which calls (*data_020a4bb8[id])(), the ACTOR SPAWN TABLE
                 factory. data_020a4bb8 is set to ACTOR_SPAWN_TABLE in
                 func_0201a054, so this is ACTOR_SPAWN_TABLE[id].

    Scene::PrepareToSpawnBoot()         0x0202e300   sets id = 0 or 0x168

    GetSceneOverlayID(id)               0x0201a7dc
        IsMinigameActorID(id)  (0x169 <= id <= 0x186)  -> ov006
        id 3, 6, 7                                     -> ov002
        id 1                                           -> ov007
        id 2, 4, 8                                     -> ov003
        id 5                                           -> ov005
        id 0x168                                       -> none (boot)

    func_0201a798(ovId)   LoadOverlay, AND LoadOverlay(ov004) first when the
                          scene's overlay is ov006. This is the only place
                          ov004 is ever loaded.
    func_0201a754(ovId)   the matching unload pair.

So:

    ov007  is entered by spawning ACTOR ID 1. symbols/actor_renames_report.txt
           already names it: "UNRESOLVED actor 1 TITLE_SCREEN: spawninfo
           0x2103264", and 0x02103264 is inside ov007. The arm9 relocation
           that proves it is in config/arm9/relocs.txt:
               from:0x02090868 kind:load to:0x02103264 module:overlay(7)
           0x02090868 is ACTOR_SPAWN_TABLE + 4, the slot for actor 1.

    ov004  is entered ONLY as a passenger of ov006. There is no scene id that
           loads ov004 by itself. Any real bring-up of the ov004 category is
           therefore gated on ov006 (1839 matched TUs, 0 linked), which is not
           this lane's category.


4. THE INBOUND SURFACE, MEASURED
--------------------------------

Every relocation in the game that lands inside ov004 or ov007, by source
module (config/arm9/**/relocs.txt, module tag as dsd wrote it):

    into ov004    ov004 itself      1562
                  ov006              993   + 626 overlays(0,4) + 43 overlays(3,4)
                  level overlays      ~55  ALL of them ambiguous overlays(2,4)
                  arm9                 2   LoadFont, twice
    into ov007    ov007 itself      2674
                  level overlays      ~110 ALL of them ambiguous overlays(2,7)
                  arm9                 6   all data loads, no calls

The ~55 and ~110 ambiguous edges are not real ov004/ov007 edges. See section 6.

Outbound is the good news. Both overlays are nearly closed:

    ov004   1562 internal, 506 into arm9, 34 into ov006, 17 into ov001,
            2 into itcm.   167 distinct external destinations.
    ov007   2674 internal, 619 into arm9, 4 into ov002, 2 into ov006,
            2 into itcm.   261 distinct external destinations.

Measured against the current walk_window map, ov007's 261 external
destinations break down as 138 already defined in the port and 123 not:
98 arm9 functions, 13 arm9 data, 6 arm9 bss, 1 itcm function, 2 ov002 bss,
2 ov006 bss, 1 unresolvable overlays(84,85) tag. ov004's 167 break down as
92 defined and 75 not: 34 arm9 functions, 5 arm9 data, 2 arm9 bss, 24 ov006
data, 4 ov001 functions, 6 unresolvable ambiguous tags.


5. THE ONE HONEST WEDGE THAT EXISTS TODAY
-----------------------------------------

Exactly one linked arm9 caller reaches ov004 code, and it is the two
LoadFont relocations above:

    src/LoadFont.cpp, the data_0209d698 == 2 branch:
        LoadFileAt(0x980e, func_ov004_020adc4c());
        data_0209d6f8 = func_ov004_020adc4c();

LoadFont is linked. func_ov004_020adc4c was NOT: hal/sub_screen.cpp carried a
printf stand-in for it, tagged
    PORT_HOST_ABI: src reads data_ov004_020beb60, and ov004 is not mounted.
That blocker is removable. data_ov004_020beb60 is BSS, four bytes by ROM span
(next symbol is data_ov004_020beb64), so hosting it is a zero-initialised host
global and reads exactly the zero the ROM's own unloaded-overlay BSS reads.
This lane did that; see hal/oam2d_ov004_bss.cpp and port/slice_2d1.txt.

There is NO equivalent wedge for ov007. All six arm9 edges into ov007 are data
loads into arm9 pointer tables, and the only one that is a code entry is
ACTOR_SPAWN_TABLE[1], which on the host is an actor-registry row, not a
reference the linker can follow today.


6. A MISROUTED EDGE: SPINDRIFT'S KILL-BY-INVINCIBLE PATH IS A SILENT NO-OP
---------------------------------------------------------------------------

Three ov004 TUs are counted as linked in walk_window today:

    src/func_ov004_020adc1c.c
    src/func_ov004_020adc00.c
    src/func_ov004_020ada40.c

They are reached from ov081's Spindrift, per the note at the top of
hal/actor_classes_ov081.cpp.

ov002 defines a function at ONE of those three addresses and not the other
two: _ZN12dEnemyBase_c20KillByInvincibleCharERK10Vector3_16R6Player5Fix12IiE sits at KillByInvincibleChar's 0x020ada40, and ov002
has no function boundary at all at 0x020adc1c or 0x020adc00. (It also has
func_ov002_020aea30 at Enemy::KillByAttack's 0x020aea30, which is a fourth
address, not one of the three seated here.) dsd tagged every level-overlay
relocation into those addresses ambiguous, "overlays(2,4)", because it could
not tell the occupants apart:

    12x ov065 -> 0x020aea30   ov004: Enemy::KillByAttack   ov002: func_ov002_020aea30
     8x ov090 -> 0x020aea30
     5x ov062 -> 0x020aea30
     3x ov081, 3x ov084, 2x ov070, 1x ov091 -> 0x020aea30
     3x ov084, 2x ov062, 2x ov065, 2x ov081, 2x ov102, 1x each ov063 ov064
        ov090 ov100 -> 0x020ada40

ov065, ov062, ov081, ov084, ov090, ov102, ov063, ov064, ov070, ov091 and
ov100 are LEVEL ACTOR overlays. They are co-resident with ov002, which is the
in-level engine, and they can never be co-resident with ov004, which loads
only alongside ov006 for a minigame scene. On co-residency grounds alone the
destination of every one of those calls is the ov002 body, not the ov004 one.

THE BODIES ARE NOT THE PROBLEM. This file first guessed that the three linked
ov004 TUs were ov002 bodies wearing ov004 names, and that the ov004 category's
3/276 was fictitious. THAT IS REFUTED. Both images were disassembled from
extracted/overlays, size-matched against the ROM's OVT (see section 2): the
ov004 literal pools match the matched sources exactly, and ov002 has no
function boundary at all at two of the three addresses. The three seated ov004
bodies are genuinely ov004's, and ov004's 3/276 was never fictitious at the
body level. The first version of this section was wrong and the byte evidence
is what settles it. That evidence was reachable all along; it was missed here
because this lane read extracted/dsd/arm9_overlays/ov004.bin, which is not the
overlay's RAM image (section 2), and then wrote off the resulting garbage as an
untrustworthy image instead of as the wrong file.

THE EDGE IS THE PROBLEM, AND IT IS A LIVE DEFECT, NOT AN ATTRIBUTION NIT. The
co-residency reasoning above was right; what it actually catches is a
misrouted call, and the port already contradicts itself about the address:

  - walk_window.map holds BOTH `_func_020ada40` out of
    _ZN12dEnemyBase_c20KillByInvincibleCharERK10Vector3_16R6Player5Fix12IiE.cpp.obj AND the ov004
    func_ov004_020ada40 out of its .c.obj.
    Two different bodies for one ROM address, both live in one binary.
  - hal/bob_enemy_bridges.cpp ALREADY RULED ov002 for that address, in as many
    words: "ov102 0x0214c328 targets 0x020ada40 in module overlays(2,4), and
    ov002 is the overlay this port mounts", with
    `#pragma comment(linker, "/alternatename:_func_020ada40=_func_ov002_020ada40")`
    and a four-parameter declaration,
    `int _ZN12dEnemyBase_c20KillByInvincibleCharERK10Vector3_16R6Player5Fix12IiE(void *self, void *v, void *other, unsigned r);`
  - include/decl_Enemy.h:24 agrees on the shape:
    `extern void func_ov004_020ada40(void*, Vector3_16*, void*, int);`
    four parameters.
  - the SEATED ov004 TU defines three:
    `void func_ov004_020ada40(int thiz, int a1, int a2)`.
  - src/func_ov081_02123910.cpp:53 routes Spindrift into that three-parameter
    ov004 body with four arguments, `(c, &kv, other, tmp)`.

THE CONSEQUENCE. The ov004 body's first statement is
`if ((char *)data_ov004_020beb68 == 0) return;`, and data_ov004_020beb68 is the
permanently-zero host global at the top of hal/actor_classes_ov081.cpp that
nothing in this build ever writes. So the body returns immediately, every time.
ov002's body at the same address is 0x100 bytes and does real work. SPINDRIFT'S
KILL-BY-INVINCIBLE-CHARACTER PATH IS A SILENT NO-OP IN THE SHIPPED PORT. This
replaces the earlier claim in this file that the two were behaviourally the
same and nothing was broken. Something is broken.

Nothing about it is visible to the byte gate or to the linkage count: both
definitions link, the count goes up, and the no-op reads as a quiet frame.

FIXED. Amended in place by run link60 lane MG1, which is not this file's lane
and is amending it anyway, because the paragraph that stood here is the stale
source two later lanes have now quoted faithfully and been misled by. It read
"ROUTED TO THE COORDINATOR, not taken here", named the actors-lane family as
the owner, and was never updated after that lane landed.

Lane A2 took it. The fix is a per-source COMPILE_DEFINITIONS in
port/CMakeLists.txt, on src/func_ov081_02123910.cpp, redirecting
func_ov004_020ada40 onto func_020ada40 --
ov002's body, which is the answer co-residency gives. Spindrift's
kill-by-invincible-character path reaches real work today and the "SILENT
NO-OP IN THE SHIPPED PORT" sentence above is history rather than current
state. Read this section for the derivation, which is still right and still
worth having; do not quote its verdict.

A -D AND NOT AN ALIAS, which is the durable lesson and is why the remedy is
not the one this section would have suggested: the ov004 TU DEFINES the
mangled Enemy name in this binary, and an /alternatename with a defined symbol
on the left is defeated silently. That is the same failure alternatename_guard
exists to catch.

THE PARAMETER-COUNT DISAGREEMENT WAS SETTLED TOO, and by measurement rather
than by picking a side. The ROM body reads r0, r1 and r2 and never reads r3 on
entry, so 0x020ada40 takes THREE parameters; the ROM's own call still loads r3
from the vcall it just made and the recovered source mirrors that, so the
caller passes a fourth argument the callee ignores. Both sides are cdecl, the
caller cleans up, and the extra argument is inert. The derivation is in the
comment above the CMakeLists block.

ONE PREMISE OF THE ARGUMENT ABOVE HAS EXPIRED, separately from the fix, and it
is flagged here so nobody rebuilds the case on it. The reasoning leans on
data_ov004_020beb68 being permanently zero, which made the ov004 body return
immediately. From lane MG1 onward that global is written: _ZN11dScMgBase_cC2Ev,
dScMgBase_c's base constructor, does data_ov004_020beb68 = self. No minigame
scene is ever constructed on a level, so no shipped behaviour changes and the
fix above is unaffected -- but the global is no longer a constant zero and an
argument that assumes it is would now be wrong.


7. WHAT THE ntr LAYER ALREADY MODELS, AND THE GAP LIST
------------------------------------------------------

The 2D hardware these two overlays drive is in better shape than the brief
assumed. port/ntr already has:

    ppu.cpp       engine A text-mode backgrounds, and a full OBJ layer:
                  128 OAM entries, 1D and 2D tile mapping, the DISPCNT tile
                  boundary shift, 16- and 256-colour, affine sprites with the
                  four OAM matrix halfwords. Plus the BMP writer.
    ppu_sub.cpp   engine B, and it is the better one: sprites and backgrounds
                  resolved together per pixel by priority, sprite-vs-sprite by
                  OAM index, which is what the HUD needs.
    io.cpp        real memory mapped at the DS addresses, including palettes,
                  VRAM and OAM, with write-triggered side effects.
    gx.cpp        the geometry engine and software raster.
    texture.cpp   all seven texture formats.

Gaps, per cluster, from what the two overlays actually poke:

  a. OBJ WINDOW. CORRECTED AND LARGELY CLOSED by run link60 lane W2D; see
     port/ppu_gap_audit.txt. Two things this paragraph said were wrong.

     THE MODE IS 2, NOT 3. OAM attribute 0 bits 10-11 are 0 normal,
     1 semi-transparent, 2 OBJ WINDOW, 3 prohibited (bitmap on the DS). What
     ppu.cpp and ppu_sub.cpp skipped was mode 3, under a comment naming it the
     OBJ window, so they dropped bitmap sprites and DREW window sprites, which
     on hardware are invisible and contribute only a mask. Anything reasoning
     from "objMode 3" to a conclusion about the OBJ window is reasoning about
     the wrong field value.

     THE WINDOW REGISTERS ARE MODELLED, and were already, on BOTH engines:
     ppu_sub.cpp read_windows/window_mask and the mirror of it in
     hal/message_compositor.cpp, which is engine A's live 2D path.
     ntr/ppu.cpp is in no live path at all.

     ppu_sub.cpp now models the OBJ window for real (mask buffer, DISPCNT bit
     15, WINOUT's upper six bits, precedence WIN0 > WIN1 > OBJwin > WINOUT).
     ppu.cpp takes the corrected skip only and is in no live path.

     message_compositor.cpp NOW CARRIES THE MASK TOO, added by run mg5 lane
     WREND; see i below. The line here used to say it could not, because its BG
     loop runs before raster_obj. That was a statement about ORDER and it was
     read as one about possibility: the mask needs the sprite SHAPES only, not
     their colours or their priority resolution, so a pre-pass over mode-2 OAM
     entries alone builds it before the BG loop and the full sprite raster stays
     where it is. port/tests/smoke_objwin.cpp pins the engine B contract; engine
     A's is pinned by scene 366, which the battery runs.

     MEASURED NEED: REAL, and it was found by a player report rather than by
     this survey. The old line here read "none yet: zero mode-1, mode-2 and
     mode-3 objects on either engine across 1200 sampled frames of level 1 and
     scene 4". Both halves of that are still true and the conclusion drawn from
     them was not, because level 1 and scene 4 are two scenes out of the set.
     Scene 366 runs 2612 mode-2 entries across 352 of 400 sampled frames with
     DISPCNT bit 15 set, and it is the scene Tango reported as black. The title
     screen is still unmeasured for a different reason than "nobody looked": it
     faults inside InitResources before frame 0, so it reaches no scan-out.
  b. SEMI-TRANSPARENT SPRITES draw opaque in ppu_sub.cpp, and the colour
     special effects (BLDCNT/BLDALPHA) are only partially there. ov007's
     RequestScreenFade drives a fade; whether it goes through the brightness
     registers (which are modelled, hal/fader_wipes.cpp uses
     G2x::SetBlendBrightness) or through alpha blend (which is not) is
     unmeasured.
  c. AFFINE AND ROTATION/SCALING BACKGROUNDS. ppu.cpp and ppu_sub.cpp are
     text-mode background scan-out. Extended-affine and bitmap BG modes are
     not modelled. The title's castle00 layer is a candidate.
  d. THE 3D FONT. hal/sub_screen.cpp's LoadFont3D is a documented exception
     because the src drives the card loader and asm copies into an unhosted
     3D-font VRAM path. Both overlays render text.
  e. TOP-SCREEN BG2 TEXT. hal/sub_screen.cpp's LoadControllerModeText is a
     documented exception for the same reason: the main engine's text path is
     not hosted.
  f. TOUCH. ov004's dMgPsOpt_c::TouchIcon_c and ov007's "touch_panel" both
     read the touch panel. walk_window has a touch bridge (the last left
     click is published in framebuffer pixels) but no touch-panel register
     model.

  g. BG0 IN 3D MODE WAS COMPOSITED AS A TILE BACKGROUND. Added and CLOSED by
     run mg5 lane YTILE, which found it by chasing a player report of "blocky
     solid-colour tiles" on scene 390.

     Engine A's DISPCNT bit 3 is the BG0 2D/3D SELECTION. With it set BG0 is
     the 3D engine's output layer and BG0CNT's character and screen bases mean
     nothing. hal/message_compositor.cpp's read_bg never read the bit, so on
     every scene that set it with BG0 enabled the compositor decoded whatever
     bytes happened to sit at BG0CNT's bases into 8x8 blocks and painted them
     OVER the real artwork at BG0's priority. Nothing was missing from the
     frame; a layer was being invented into it.

     The bit is pinned by the decomp's own code, not by docs:
     src/_ZN2GX15SetGraphicsModeEiii.cpp is GX::SetGraphicsMode(dispMode, bgMode,
     bg0_3d) and its whole use of the third argument is `reg = (c << 3) | reg`.
     ntr/ppu.cpp's OBJ note says the same thing from the other side and
     ntr/ppu_audit.cpp's 3D section already printed the rule as prose. Three
     places in this tree described it and none implemented it.

     MEASURED, scene 390 (dScMgFlower_c), DISPCNT 0x00001508 / BG0CNT 0x0001
     (chars and screen both 0x06000000, priority 1, over BG2 at priority 3).
     Against a reference image built from the ROM's own files -- the LZ77
     decode of /MG/d_2d_mg_bg_flower_up_ncg.bin and _nsc.bin through the
     palette _ncl.bin loads at byte offset 0x60 -- the top screen went from
     44736/49152 pixels correct (91.0%, 55 of 768 tiles wrong in all 64 of
     their pixels) to 48357/49152 (98.4%, 0 tiles fully wrong). The remaining
     795 are the four HUD sprites the reference does not model.

     IT WAS NEVER FLOWER-SPECIFIC. Sampled with SM64DS_PPU_AUDIT: scene 1
     (DISPCNT 0x00011b08) was inventing 2172 px and scene 4 (0x08011d08) 8823
     px, 18% of its top screen. Every mounted LEVEL runs 0x40011803 with BG0
     disabled, so no level frame moves: level 1's selftest BMP is byte
     identical across the fix at the same .dsstate base AND span
     ([0xbcc000, 0xcb63c8), 959432 bytes), which is what
     notes/port-selftest-bmp-gate.md requires before two BMPs may be compared.

     WHAT WAS STILL OPEN, and it is the other half of the same register. The
     fix above stops the port inventing a layer; it did not put the real 3D
     layer in its place. The port renders 3D into the framebuffer before the
     compositor runs and the compositor only wrote over it, so a 2D BG that on
     hardware sits BEHIND the 3D layer still covered it here -- on scene 390
     the full-screen opaque BG2 at priority 3 over the 3D layer at priority 1.
     CLOSED by run mg5 lane Y3D; see h below.

     ONE PROXY THAT DOES NOT WORK, recorded because a lane will reach for it:
     the distinct-colour count of the captured BMP is 188 before the fix and
     188 after. The invented tiles drew through the scene's own palette, so a
     colour census cannot see them. The reference-image comparison can. (It is
     blind to THAT defect and not to every one: h below moves the same census
     from 179 colours to 3652, because 3D shading and texture are not drawn
     from the scene's 2D palette at all. A proxy is blind to a class, not in
     general, and the two halves of this register are different classes.)

  h. THE 3D LAYER HAD NO PRIORITY AND NO COVERAGE, AND THE MODELS WERE DRAWN
     AND BURIED. Added and CLOSED by run mg5 lane Y3D, which was opened on a
     player report of "no flower and no yoshi model" on scene 390 after g had
     fixed the background.

     TWO SEPARATE DEFECTS, STACKED, and the lane's first job was deciding
     which one the report was. The measurement that separates them is the
     polygon census, not the picture: SM64DS_PPU_AUDIT's POLYGONS row plus the
     screen-space triangle box.

     THE BLOCKER WAS THE FIRST ONE: NO GEOMETRY WAS SUBMITTED AT ALL.
     Scene 390, 300 frames, bare, before: POLYGONS 0 on all 300 samples,
     BEGIN_VTXS 0, every VTX_* 0, triangles 0. The run exits 0 and prints
     "300 frames of scene 390, clean", and the flight recorder holds

       [quarantine] actor 307FA008 id 390 faulted (c0000005 +0007a78c) FROZEN

     with slot hits init 1, BEHAVIOR 0, render 1. The class faults on its
     first render and the quarantine freezes it for the rest of the run, so
     the 2D background InitResources had already programmed stays on screen
     and nothing else ever happens. Tango's own playlog carries the identical
     line at his build's +00085cac, which is what he played.

     THE CAUSE IS THE MSVC DTOR-SLOT SHIFT, one slot, and it is the same
     defect port/unmatched/Door_Render.cpp records on the same two classes.
     src/func_ov006_020c3bf4.cpp draws the sub-object's model through a LOCAL
     SHADOW CLASS of six pure virtuals and calls f5(0). That is the ROM's
     numbering -- byte +0x14 of an Itanium vtable is the sixth word, and on
     Model and ModelAnim alike that word is Render:

       020c3ca8  mov  r1,#0            ; scale = NULL
       020c3cb0  ldr  r2,[r0]          ; vptr
       020c3cb4  ldr  r2,[r2,#0x14]    ; ROM slot 5 -> ModelAnim::Render
       020c3cb8  blx  r2

     MSVC folds Itanium's D1/D0 pair into one deleting-destructor slot, so on
     the host that byte is ModelAnim::Virtual18(u32 mat, const Vector3 *), the
     shadow class passes one argument, mat arrives 0, and Model::Virtual10's
     `movups xmm0,[eax]` reads address zero. The statement immediately before
     the call fills the model's own Matrix4x3 at +0xd34 (= the model at +0xd18
     plus Model::mat4x3 at +0x1c), which is the matrix Render consumes: a
     second, independent reading that says slot 5 is Render here.

     Seated as port/unmatched/MgFlower_ModelRender_020c3bf4.cpp. AFTER, same
     scene, same 300 frames: POLYGONS 878 on all 300 samples, triangles 878,
     drawable 760, no quarantine line, slot hits init 1, behavior 253,
     RENDER 300.

     THEN THE SECOND DEFECT BECAME VISIBLE, and it is the one this section's g
     left open. With the models submitting, the compositor buried every one of
     their pixels. Per-layer attribution on the same frame:

       BG2   48357 px  priority 3     OBJ  795 px  priority 0
       3D layer BG0CNT priority 1, composited 49152/49152 px

     The 3D layer's coverage now comes from ntr::gx_coverage(), one byte per
     HOST framebuffer pixel that the rasteriser sets beside every store it
     makes into fb.px, and hal/message_compositor.cpp resolves it against each
     2D layer's real priority in the final blit. The DS's own ordering is what
     is implemented and nothing else: BGs sort by (priority, BG index) so a
     BG1..BG3 pixel at BG0's priority LOSES to the 3D layer (the test is >=),
     and OBJ beats a BG at equal priority so a sprite only loses when its own
     priority number is strictly greater (>).

     A/B ON ONE BINARY, SM64DS_3D_PRIORITY_OFF, scene 390 last frame,
     512x384 host pixels:

       off (the old unconditional overwrite)  3D kept      0, buried 58941
       on                                     3D kept  55761, buried  3180

     58941 = 55761 + 3180 and the 3180 are exactly the four HUD sprites at
     priority 0, which on hardware DO sit in front of the 3D layer. The two
     captures differ in 55761 of 196608 pixels and the distinct-colour census
     goes 179 -> 3652.

     NOTHING ELSE MOVES, checked rather than argued, all on one binary at one
     .dsstate base:

       level 1 selftest BMP   byte identical between the arms, md5
                              5b783a29d753ce4dfbd35c79a7b2850f, which is also
                              the value recorded before this lane. Every
                              mounted level runs DISPCNT 0x40011803 with bit 3
                              clear, so bg0_3d_shown is false and the new path
                              is not reached at all.
       scene 1                byte identical between the arms, 0 px buried
       scene 4                byte identical between the arms, 0 px buried
       scene 374 (curling)    32557 calls, 32557 routed, 0 UNHANDLED

     WHAT IS STILL OPEN AFTER h, so the next lane does not read it as done:
     raster_obj still draws every sprite over every BG regardless of the
     sprite's priority; only the 3D comparison reads that field. (READ THAT
     AS OBJ-VS-BG ONLY. It was written before OBJ-vs-OBJ was resolved on this
     engine at all, so it covered both halves; j below closed the sprite-
     against-sprite half and the background half is what is left.) And a
     1st-target BG alpha-blending over the 3D layer is still the follow-up
     hal/message_compositor.cpp's own header records -- the coverage mask this
     lane adds is what such a blend would need, but the BG loop still resolves
     colour before the blit sees the framebuffer.

  i. THE OBJ WINDOW WAS NEVER READ ON ENGINE A, SO A FULL-SCREEN BLACK CURTAIN
     COVERED THE ARTWORK. Added and CLOSED by run mg5 lane WREND, opened on
     Tango's own report that scene 366 (dScMgLuigi_c, "Wanted!") runs perfectly
     and draws essentially nothing.

     THE DECISIVE MEASUREMENT WAS NOT THE ONE THE BRIEF EXPECTED. The 3D half
     is a dead end here and the polygon census says so in one line: POLYGONS 0,
     BEGIN_VTXS 0, every VTX_* 0, triangles 0, drawable 0, VIEWPORT_SETS 0 on
     all 400 samples. For a 2D minigame that is the ROM's intent, not a defect,
     and it is the reading ppu_audit.cpp's own 3D note tells a reader to take.
     There is NO [quarantine] line on any 366 run, so h's defect shape is
     absent: the class is not frozen, it renders 400 times out of 400.

     THE 2D HALF IS WHERE EVERYTHING IS, and the compositor was not idle -- it
     covered the screen completely, 49152/49152 px, every frame. What separates
     "no content" from "content painted black" is the per-layer attribution
     read together with a per-layer COLOUR census, which is a row this file's
     tooling did not have before this lane and does now:

       BG2   48119 px   x 0..255  y 0..191    48119 near-black (100.0%)
       BG3       0 px
       OBJ    1033 px                           494 near-black  (47.8%)
       3D        0 px kept, 0 buried

     Owning a pixel and painting a visible one are different facts, and every
     attribution row above reads healthy while the screen is black.

     WHAT THE TWO BACKGROUNDS ARE, from the cartridge rather than from the
     picture. Engine A, steady state: BG2 prio 0, chars 06010000, screen
     0600a000, 4bpp; BG3 prio 2, chars 06018000, screen 06009000, 4bpp.

       BG2 has 2/1024 tiles carrying any data and its 4bpp index histogram over
       the whole 256x192 screen is a single bucket, i1 x49152. Every one of its
       768 screen entries names palette bank 2. It is a FLAT SOLID CURTAIN.
       BG3 has 1024/1024 tiles with data and a full histogram spread i1..i15
       over banks 3..15. It is the WANTED POSTER.

     THE CURTAIN IS BLACK IN THE ROM, and this is the half a lane will be
     tempted to "fix". Bank 2 entry 1 reads 0x0000 in the running port, and
     MG/d_2d_mg_bg_luigi2_ncl.bin -- 32 bytes, the curtain's own 16-colour
     palette -- reads, straight out of the cartridge:

       73f9 0000 7fff 239f 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
       0000 0000

     which is byte for byte what the port had loaded. MG/d_2d_mg_bg_luigi1_ncl
     .bin (416 bytes = 208 colours = 13 banks) matches banks 3..15 the same way,
     first bank 0000 190b 1d4c 216e and second 0000 1d2c 216e 25b0, both exact.
     The ROM even ships a SECOND tilemap for the curtain,
     MG/d_2d_mg_bg_luigi2_black_nsc.bin, so an all-black curtain is a state the
     cartridge authors shipped deliberately. NOTHING IS WRONG WITH THE PALETTE
     LOAD and nothing about this scene's black is a missing asset.

     THE DEFECT IS THAT THE CURTAIN WAS NOT CLIPPED. Steady-state DISPCNT_A is
     0x00009c00 on 352 of 400 frames: WIN0 off, WIN1 off, bit 15 -- the OBJ
     WINDOW -- ON. WINOUT reads 0x3814:

       outside every window   0x14 = BG2 + OBJ
       inside the OBJ window  0x38 = BG3 + OBJ + colour effect

     So the hardware draws the black curtain OUTSIDE the hole and the poster
     INSIDE it, and the hole is the union of the opaque texels of the mode-2
     sprites: 2612 of them across 352 of the 400 samples, about seven per frame.
     That is the minigame's spotlight.

     hal/message_compositor.cpp's read_windows read DISPCNT bits 13 and 14 and
     nothing else:

         w.on[0] = (dispcnt >> 13) & 1;
         w.on[1] = (dispcnt >> 14) & 1;
         w.any   = w.on[0] || w.on[1];
         if (!w.any) return;

     With both rectangles off and only the OBJ window on, w.any was false,
     window_mask returned 0x3F, and WININ and WINOUT were ignored entirely --
     every layer visible everywhere. BG2 is priority 0 and BG3 priority 2, so
     the unclipped curtain drew IN FRONT of the poster over the whole screen.
     One unread bit, and the layer the hardware would have shown in a 128x128
     window covered 256x192 instead.

     THE FIX is build_objwin(), an OAM pre-pass over mode-2 entries only, run
     before the BG loop; w.obj_on off DISPCNT bit 15 and w.obj_in off WINOUT's
     upper six; and the hardware precedence WIN0 > WIN1 > OBJwin > WINOUT in
     window_mask. The geometry is raster_obj's own, copied deliberately -- same
     size table, same DISPCNT bit-4 mapping, same affine group arithmetic, same
     index-0-is-transparent test -- because a mask built with different geometry
     from the sprites it describes cuts the hole in the wrong place. raster_obj
     still skips mode 2: a window sprite contributes a shape and never a colour.

     AFTER, scene 366, 300 frames headless, same binary:

       BG2   36022 px  100.0% near-black   (the curtain, outside the hole)
       BG3   12892 px    2.6% near-black   x 64..191  y 32..159
       OBJ     238 px
       OBJ window mask covers 12892/49152 px

     BG3's pixel count and the mask's coverage are the same number, and BG3's
     box is the mask's box, which is the check that says the hole and the layer
     that shows through it are the same region rather than two things that
     happen to both be present. The captured top screen goes

       6 distinct colours, 196172/196608 near-black (99.8%)
       94 distinct colours, 145968/196608 near-black (74.2%)

     A/B ON ONE BINARY, SM64DS_OBJWIN_OFF=1, 300 frames headless, every scene
     the battery hosts, md5 over the 512x384 capture:

       scene 1    IDENTICAL      scene 368  IDENTICAL      scene 378  IDENTICAL
       scene 4    IDENTICAL      scene 374  IDENTICAL      scene 390  IDENTICAL
       scene 366  DIFFERS

     366 is the only scene in the set that sets DISPCNT bit 15, so it is the
     only one that can move, and it is the only one that does. Level 1's
     selftest BMP is byte identical at md5 5b783a29d753ce4dfbd35c79a7b2850f,
     the value notes/port-selftest-bmp-gate.md records; scene 374 answers
     32557 calls, 32557 routed, 0 UNHANDLED; full battery ALL GREEN.

     WHAT IS STILL OPEN AFTER i. The curtain is correct and the hole is correct,
     but the 3D-priority half of h and the OBJ half of this one do not meet:
     raster_obj still draws every sprite over every BG regardless of the
     sprite's own priority, so the window's OBJ bit is honoured for whether a
     sprite draws and its priority is still not honoured for where. (Again,
     OBJ-VS-BG; j below closed OBJ-vs-OBJ.) And
     tests/smoke_objwin.cpp still programs engine B by hand only; engine A's
     copy of the contract is pinned by scene 366 in the battery rather than by
     a test that needs no ROM.

  j. ENGINE A ORDERED SPRITE AGAINST SPRITE BY OAM INDEX ALONE. Closed by run
     mg8 lane SGX, opened on the owner's report that "in all the shell games...
     when snow or other shells pass over ones reflection the layers mess up and
     it changes the color of the things passing it or it draws overtop of
     them".

     hal/message_compositor.cpp's raster_obj wrote its hit buffer
     unconditionally on the OAM 127 -> 0 walk, so the lowest OAM index won
     whatever the priorities said. The DS orders sprites by attribute 2 bits
     10-11, lowest number in front, and uses the index only to break a tie --
     the rule run link60 lane BLND2 put into ntr/ppu_sub.cpp for engine B, and
     the half h and i above left open here. One OBJ pixel exists per screen
     pixel, so a sprite that loses contributes nothing at all, and the losing
     sprite's colour was also what the semi-transparent reflections were
     blending against: BLDCNT_A 0x0d40 does not name OBJ as a 2nd target, so
     the blend did not fire and the reflection wrote itself OPAQUE over the
     snow it had just covered. That second half is the "changes the color"
     in the report.

     THE MEASUREMENT THAT FOUND IT IS WHERE THE PLAYFIELD IS. Scene 375
     (dScMgCurling2_c, Shell Smash) runs its whole board on ENGINE A: six
     shells at priority 1, six semi-transparent reflections at priority 2 and
     the snow at priority 0, with the snow on the HIGHEST OAM indices, so index
     order inverted the stack. Scene 374's board is on engine B and looks
     innocent for 300 idle frames, but src/RenderOamBothScreens.cpp submits
     every entry to BOTH engines and its travelling shell arrives on engine A
     during a shot -- 74 mode-1 entries in 74 of 240 sampled frames -- so it is
     the same defect on both games and an idle capture cannot see it.

     THE TEST IS OWNER-GATED, which is the part not to copy from ppu_sub.cpp
     blind: g_a holds background pixels too, and OBJ-vs-BG is a different rule
     that is still not implemented. Dropping the owner check to fold the two
     together would move every scene in the game.

     Full derivation, the BLDCNT decode, the per-pixel probe and the
     whole-battery A/B sweep (SM64DS_OBJPRIO_A_OFF=1) are in
     port/ppu_blend.txt's mg8 section. Every hosted scene and the level 1
     selftest are byte-identical across the arms except scene 375 (264 px, the
     shell cluster) and scene 1's pre-existing garbled top-left block (368 px,
     garbage in both arms, flagged for the owner).

  k. ENGINE A ORDERED SPRITE AGAINST BACKGROUND NOT AT ALL. Closed by run mg10
     lane RGX, which is the half j names and leaves open.

     hal/message_compositor.cpp's raster_obj wrote its hit buffer over whatever
     the BG loop had left there, so every sprite covered every background
     whatever the two priorities said. GBATEK's OAM attribute 2 calls bits
     10-11 the sprite's "Priority relative to BG (0-3; 0=Highest)" and gives
     the TIE to the sprite: where a sprite's priority equals a background
     layer's, the sprite is displayed on top of that layer. So a sprite loses
     only to a background whose priority NUMBER is strictly smaller, and the
     test is `<` rather than `<=`.

     BESIDE j's TEST, NOT INSIDE IT, which is what j says to do: the two rules
     have opposite ties, and folding them together by dropping j's owner check
     would apply the sprite-against-sprite tie to backgrounds. Separate tests,
     separate kill switches -- SM64DS_OBJBG_OFF=1 here, SM64DS_OBJPRIO_A_OFF=1
     there.

     THE 3D LAYER NEEDED NOTHING, and h is why. With bit 3 set BG0 IS the 3D
     layer, so "OBJ against the 3D layer" is this same rule, and h's
     layer_behind_3d already gives the sprite the tie (`prio > p3d`). read_bg
     disables BG0 exactly then, so no hit-buffer cell is ever owned by it and
     the new test cannot see the 3D layer at all. Said here because a reader
     who finds k and not h would conclude the 3D case is missing.

     THE SWEEP: 22 of the 23 hosted scenes and the level 1 selftest are
     byte-identical across the arms, the selftest at the md5 g and i record.
     Scene 370 is the only row that moves, 8960 host px, and it moves because
     that scene's BG0 is a priority-0 curtain that was already burying BG2 and
     BG3 whole -- the sprites are simply no longer drawing over the thing that
     covers everything else. Flagged for the owner rather than smoothed over.
     Full derivation, the GBATEK citations, the toggle-honesty proof against a
     base build and the per-pixel transcripts are in port/ppu_blend.txt's mg10
     section.

  l. THE 3D LAYER LOST ITS PROJECTION MATRIX EVERY FRAME. Closed by run mg10
     lane RGX while chasing scene 361's empty top screen; the third defect in
     this file that is a HOST frame-boundary artefact rather than a display
     mode the port failed to model.

     ntr/gx.cpp's gx_reset models no ROM instruction: hal/scene_boot.cpp's
     frame loop calls it once a frame as the host's own begin-frame, and it did
     `g = State{}`, which returns the projection matrix to the identity. The DS
     has no frame boundary for that state -- the matrices are latched registers
     -- so a scene that programs its camera ONCE and never touches it again was
     correct on hardware and blank here.

     TWO HOSTED SCENES DO EXACTLY THAT, and they are the two whose top captures
     were byte-identical to each other, which is the check that says one defect
     and not two: 361 (dScMgCup_c) and 367 (dScMgSound_c) load the projection
     from Camera_UpdateMatrices at init only, while 362, 363, 381, 388, 389 and
     390 reload it from Render every frame and so could not notice.
     ppu_audit's PROJ_IDENTITY row read 1 on all 300 samples of 361 and 367 and
     0 on the rest; 311 of 361's 1806 triangles were drawable against 1163 of
     363's 1783; and 361's top screen carried 21 distinct colours.

     THE COMPOSITOR WAS NOT INVOLVED AND THE ATTRIBUTION SAYS SO: on 361 it
     reported `3D 193428 px kept, 3180 buried` out of 196608 host pixels, with
     no 2D layer owning anything but 795 px of OBJ. It kept 98.4% of a layer
     that had nothing in it.

     AFTER: 361 and 367 both go PROJ_IDENTITY 1 -> 0 and drawable to 1806 of
     1806, and 361's top screen to 4311 distinct colours. Every other hosted
     scene and every mounted level's selftest is byte-identical.
     SM64DS_PROJ_CARRY_OFF=1 restores the old wipe. This is gx_reset's own
     light-table defect one class of state over, and that comment is the
     precedent it cites.

None of a..f blocks LINKING either overlay. They block the overlay doing
anything visible once linked. That distinction is the whole shape of this
category: the code is 97% matched and the hardware is 70% modelled, and what
is missing is the MODE, not the pixels. (g is a different shape from all of
them: not a mode the port failed to model, a mode it modelled as the wrong
thing. h is a third shape again: half of it is not a display mode at all but a
host ABI defect in a call the byte gate cannot see, because both sides of it
are matched source.)


8. HONEST SCOPE FOR THE REST
----------------------------

  ov004, minigame framework (276 TUs). Gated on ov006. There is no scene id
  that loads ov004 alone, so the only real caller chain runs
  minigame actor id -> ov006 scene -> ov004 base class. Landing ov004 means
  landing ov006 with it: 1839 + 276 TUs, an ov006 data mount, 24 ov006 data
  symbols ov004 reads directly, and the minigame scene boot. Large. Not
  separable, and not this lane's category on the ov006 half.

  ov007, title and file select (528 TUs). Separable and self-contained: 4
  edges into ov002 and 2 into ov006 are the whole cross-overlay surface, the
  rest is ov007 plus arm9. What it needs, in order:
    1. an actor-registry row for actor 1 (TITLE_SCREEN, spawninfo
       0x02103264) so the spawn table holds a host pointer to ov007's
       factory. This is the reference edge /OPT:REF follows, and it is
       ROM-faithful: ACTOR_SPAWN_TABLE really does carry that entry. The row
       lives in hal/actor_classes.inc, which this lane does not own. ROUTED
       TO THE COORDINATOR as a request, not taken.
    2. an ov007 data mount (port/ov007_syms.txt + tools/ovdata.py, the ov002
       per-symbol shape), roughly 700 data symbols. The DS-address collision
       with ov002's mounted window is a naming question on the host, not a
       memory one, since mounts are ordinary host globals.
    3. the 123-symbol external closure listed in section 4. 98 of those are
       arm9 functions that almost certainly already have matched TUs and are
       only /OPT:REF-stripped; they come back for free once ov007 references
       them, which would convert arm9 TUs as a side effect.
    4. the boot path. Linking is not running: walk_window boots a level, and
       the title scene never spawns in a level walk. Making it RUN needs a
       scene-switch entry point in the harness plus the gaps in section 7.
  Estimate: step 1 is one row. Steps 2 and 3 together are a multi-day
  whole-overlay mount of the ov009/ov006 class, not a slice. Step 4 is its
  own project.

  In-level HUD. Already real. Nothing in this category is standing in for it.

  Menus other than the title. ov003 (star select, 36 TUs, 0 linked) is the
  same shape as ov007 but twenty times smaller, reached by actor ids 2, 4 and
  8, and ov003 is ALREADY MOUNTED for the debug level select's row list
  (gate 31, port/ov003_syms.txt). If someone wants the cheapest proof that a
  non-ov002 scene can be brought up in the port, ov003 is it, not ov007.


9. WHAT AN ov004 OR ov007 MOUNT WOULD DO TO ovdata.py --cross
--------------------------------------------------------------

Asked for by the coordinator on the back of the ov006 lane's scout report,
which measured that a hypothetical ov006 mount would drop 985 of 1302
currently-resolving cross-mount pointers, because ovdata's contest test is
purely address-based and does not model residency. ov004 and ov007 sit in the
same shared window, so the same artefact applies to them. This is the
measurement for THIS category. It is a static simulation of cross_mode against
the 81 sidecars the current build writes, not a mount; this lane did not mount
either overlay.

The test being simulated is cross_mode's, exactly: a want is dropped when
window_count(target) > 1, where the windows are every mounted overlay's whole
DS footprint, image plus bss. A per-symbol mount and a whole-image mount
present the SAME window to that test (write_map's docstring says so), so the
mount style does not change any number here.

WHICH WINDOW, AND WHY IT DOES NOT MATTER. The two hypothetical windows were
first derived from the yaml, whose ends are wrong (section 2). All three
routes to a window have since been run: the yaml-derived one, ovdata's own
formula, and the ROM OVT truth. All three give IDENTICAL results, down to the
same three lost pointers. The conclusion below is route-independent, and the
reason is that the ends only differ well inside ov002's span, which is
contested either way. The OVT windows are ov004 0x020ad660 .. 0x020bfec0 and
ov007 0x020ad660 .. 0x02104c40; the yaml ones were 0x020c3220 and 0x02104720.

BASELINE, as built at c1a6da46d, verified against the tool's own summary line:

    215 pointers rebased across 81 mounts, 6101 left raw
    (1009 of the 6101 into a contested window, the rest arm9 or unmounted)

The windows that already contest the shared slot are ov002 (0x020ad660 ..
0x021111a0) and ov003 (0x020ad660 .. 0x020b18a0).

ADDING ov004's WINDOW (OVT 0x020ad660 .. 0x020bfec0; the yaml's
0x020c3220 gives the same three lines):

    contested            1009 -> 1182   (+173)
    resolving pointers LOST                0
    resolving pointers                   215 -> 215

ADDING ov007's WINDOW (OVT 0x020ad660 .. 0x02104c40; the yaml's
0x02104720 gives the same three lines):

    contested            1009 -> 1699   (+690)
    resolving pointers LOST                3
    resolving pointers                   215 -> 212

BOTH: identical to ov007 alone. ov004's window is a strict subset of ov007's.

READ THE +173 AND +690 CORRECTLY. They are pointers moving between two flavours
of RAW, not pointers being lost. A word that had no host provider and was left
raw as "arm9 or an unmounted overlay" is still left raw, now counted as
"contested" instead. The number that matters is the third line, and for these
two overlays it is 0 and 3.

THE THREE, in full, so the residency lane can weigh them:

    ov025  port_ov025_image+7372      -> 0x02100000  provider data_ov002_020ff480
    ov045  port_ov045_image+5500      -> 0x02100000  provider data_ov002_020ff480
    ov045  data_ov045_021126d0+76     -> 0x02100000  provider data_ov002_020ff480

All three name one ov002 address, and ov025/ov045 are level actor overlays
that are co-resident with ov002 and never with ov007, so all three are exactly
the residency false positive the scout described. A residency model recovers
them; nothing else does.

WHY THIS IS SO MUCH MILDER THAN ov006's 985. Not because ov004/ov007 are
special, but because the port resolves very few cross pointers into that slot
today: 215 across all 61 mounted overlays, and almost everything aimed into
ov002's window is already contested by ov003 or has no provider at all. The
scout's ratio does not generalise. If the residency fix is being costed on
"how much is broken today", ov004 costs nothing and ov007 costs three words.
If it is being costed on "how much would a future mount unlock", the +690
newly-contested words for ov007 are the number to look at, and 560 of them are
ov002's own.

Per-source-overlay breakdown of the +690, worst first, in full. The first
version of this line ended "remainder 1 each" after ov027 and undercounted
five overlays that carry 2:

    ov002 560, ov047 20, ov043 16, ov022 15, ov045 14, ov015 10, ov016 8,
    ov014 7, ov021 5, ov025 5, ov012 4, ov009 3, ov010 2, ov026 2, ov027 2,
    ov030 2, ov032 2, ov035 2, ov052 2, ov065 2, ov017 1, ov018 1, ov023 1,
    ov056 1, ov080 1, ov091 1, ov102 1.

That sums to 690. The +173 for ov004 splits ov002 116, ov047 16, ov043 12,
ov045 8, ov022 7, ov015 4, ov016 4, ov014 3, ov021 3, which sums to 173.

THE OTHER DIRECTION, the wants a mount of these two would ITSELF emit, is
cheaper still:

  ov007 has four cross wants into ov002, at 0x02110210 and 0x02110101 (three
  times). Both addresses are ABOVE ov007's own footprint end of 0x02104c40
  (and above the yaml's 0x02104720 too, so this holds on either route), so an
  ov007 mount does not contest them, and neither has a provider today anyway
  (ov002 is a per-symbol mount and does not cover those addresses). Cost: zero
  either way.

  ov004 has seventeen cross wants into ov001, at 0x020ab3f0, 0x020ab41c,
  0x020ab450 and 0x020ab5b0. All four are inside ov001's window
  (0x020aa420 .. 0x020ad660) and outside ov004's, so an ov004 mount does not
  contest them either, and none has a provider in ov001's per-symbol mount
  today. Cost: zero. Its other twenty-four cross wants go to ov006, which is
  not mounted, so they stay raw regardless.

NOTHING WAS HACKED AROUND. No change to ovdata.py, no hand-zeroed pointers, and
the slice this lane landed (one TU, one hosted BSS word) does not touch the
cross pass at all: it emits no mount and no sidecar, so the 215/6101/1009
figures are identical before and after it. Any future ov004/ov007 slice should
be held to the same bar until the residency question is settled in its own
lane.
