commit 26a5d60a8457317bfd0d5a770dde14a4acd974f8
parent d384f23929a0f7ec8c89a3f80a9012d5a72ba6e1
Author: anon <anon@example.com>
Date: Fri, 30 Oct 2026 17:11:22 +0000
Verify merged recovery stacks with preserved native layout
Diffstat:
2 files changed, 93 insertions(+), 16 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -177,14 +177,16 @@ contracts rather than importing later daily missions or expansion rules.
character cannot delete it by supplying its identity.
- [x] Handle a full inventory. Check: a grant or pickup fails without losing
the source item or overwriting an occupied slot.
-- [ ] [P0] Keep a normally merged recovery stack visible and usable after reload.
- Splitting the bought 24-charge Nano Kit and immediately joining its two stacks
- retains stack 37 and all charges in the native model and database, but its icon
- is absent across the inventory grid after page reload. Preserve the earned
- stack and inspect native cursor/icon-position handling; verify normal use,
- further splitting and cold recovery without resetting preferences or grants.
- Later controlled joins, splits, merged-kit use and cold recovery passed without
- reproducing the first case; see [capacity retry](docs/starter-progression.md#same-character-full-inventory-and-mission-retry).
+- [x] [P0] Keep a normally merged recovery stack visible and usable after reload.
+ Ordinary split/join lineage 60->64->65->67 conserves all charges apart from
+ two accepted uses. A normally accepted mission key reuses the freed source
+ slot; kit and key retain distinct visual cells after page reload. Further
+ splitting, locked repeats and cold use pass. The cold server uses the same URL
+ and an unchanged 504-byte native icon-position file, with every item and charge
+ accounted for. The original kit-37 scan does not prove whole-grid absence:
+ its post-reload views omit the top row where the merged kit was visible before
+ reload. No client/server behavior change is claimed. See
+ [merged-kit visual-cell audit](docs/starter-progression.md#merged-kit-visual-cell-audit).
- [x] Reconcile the 14.9.1 native inventory slot range. Check: filling the
inventory reaches its final supported slot, with every item visible and
movable before and after reconnect.
@@ -3018,6 +3020,13 @@ with payloads and known client/server provenance.
The retained history starts after death; the resurrection sequence is no longer
in that bounded trace. Keep this evidence gap separate from a missing game
transition or native error. Captures: `local/todo-progression-play/runtime-level6/`.
+- [ ] [P1] Record visible inventory grid cells and scroll offset in browser
+ snapshots. Check: missing-icon audits identify the actual displayed cells and
+ verify coverage of every row rather than infer visual order from logical
+ slots. Current actor snapshots expose inventory ownership, not GUI placement;
+ the original kit-37 post-reload scan omitted its previous top-row cell.
+ Saved native icon maps and explicit wheel-row screenshots now establish the
+ focused case; see [merged-kit audit](docs/starter-progression.md#merged-kit-visual-cell-audit).
- [x] Resolve the browser snapshot's incorrect local identity for normally
created characters. The first repeatable starter run reported local ID1
while directory actor2 had seven issued items and exchanged CharacterReady.
@@ -3438,8 +3447,8 @@ and server restarts. Turn every reproduced bug into a focused regression test.
kit 60 survives reload and one normal use/locked repeat, retaining 23 charges.
All 25 owned items, 58 credits, XP 400, 4,747 IP and observer isolation remain
accounted for. This closes the connected full-inventory slice; useful creature
- equipment, actual reclaim and the broader regression remain open. The earlier
- missing-icon case above is unresolved. See
+ equipment, actual reclaim and the broader regression remain open. The focused
+ merged-kit follow-up is verified below. See
[capacity retry](docs/starter-progression.md#same-character-full-inventory-and-mission-retry).
The same fighter then spends 54 earned IP for Agility 8->11 and equips its QL2
boots 61, verifying native AC 5->8->5->8 through removal/re-wear. Earned bat 33
@@ -3450,6 +3459,13 @@ and server restarts. Turn every reproduced bug into a focused regression test.
71 credits, XP 850 and 4,693 IP. Qualified creature-glove wear and the remaining
P0 checks stay open. See
[earned boots and boss combat](docs/starter-progression.md#same-character-earned-boots-and-boss-combat).
+ The retained kit then passes split/join, mission-key reuse of its freed slot,
+ page reload, use, further split/join and cold use with the same saved native
+ icon map. All 27 owned instances, kit 67x21, lab x10, 69 credits, XP 850 and
+ 4,693 IP are accounted for; mission 66 retains five living level-3 encounters.
+ The focused visibility check is complete; qualifying the earned gloves and
+ the remaining P0 checks stay open. See
+ [merged-kit visual-cell audit](docs/starter-progression.md#merged-kit-visual-cell-audit).
A subsequent normal Omni Enforcer run trained Body Development/Stamina,
equipped the issued bat/shirt and used a startup treatment lab. Solo combat
ended in death; a two-player kill generated real loot/cash but its leading
diff --git a/docs/starter-progression.md b/docs/starter-progression.md
@@ -893,11 +893,16 @@ instances retain their slots and quantities. Health 111, XP 400, 4,747 IP,
58 credits, skills, uploaded maps and the observer's seven items remain intact.
An earlier immediate join in this continuation retained kit 37 and every charge
-in the native model and database, but its icon remained absent across the native
-grid after same-profile page reload. Fresh clients recovered it. Subsequent
+in the native model and database, but the operator did not find its icon in the
+recorded scrolled views after same-profile page reload. Those views omit the top
+row; the same merged kit is visibly retained there before reload, including
+after reopening inventory. The intervening mission key also reused the freed
+source slot. These captures do not establish absence across the whole grid.
+Fresh clients recovered it. Subsequent
controlled joins, saved-layout changes, repeated splits and reloads did not
-reproduce that first missing-icon case. It remains a P0 TODO; the later successful
-checks do not establish a fix or justify an unsupported client change.
+reproduce a missing icon. The focused same-slot reuse and preserved-layout cold
+check is now verified in the [visual-cell audit](#merged-kit-visual-cell-audit)
+below; no client/server behavior change is claimed from the incomplete scan.
A final cold server and two fresh native clients retain all 25 exact physical
instances, kit 60x23, reward 61, full resources, native AC 5/5/5, attack rating 32
@@ -986,5 +991,61 @@ Evidence is retained under `local/todo-progression-play/`: `runtime-level14/`,
The complete maintained Go suite also passes: server 1,698 roots / 16,785 results
in 2,090.159s, plus gamedata 27 roots / 89 results. Its three opt-in browser tests
skip in that command; the native evidence above comes from separate real clients.
-Qualified wear of the creature gloves, the missing merged-kit icon reproduction,
-actual level-10 reclaim and the complete P0 gate remain open.
+Qualified wear of the creature gloves, actual level-10 reclaim and the complete
+P0 gate remain open. The focused merged-kit visibility check follows below.
+
+## Merged-kit visual-cell audit
+
+Reviewing the original run's images corrects its whole-grid absence claim.
+`runtime-level10/first-split-single-returned-to-slot/0/screen.png` and
+`capacity-inventory-reopened/0/screen.png` visibly retain merged kit 37x24 in
+visual cell 2. The post-reload `capacity-kit-row-1` image starts at visual cell 3;
+the following images continue downward. The initial reload image is a loading
+screen. Those captures do not show the unscrolled top row after reload, so they
+cannot establish that the kit was absent from every cell. Native ownership and
+all charges were retained throughout.
+
+The connected fighter's retained kit 60x23 is now checked through ordinary
+Ctrl-left splits and immediate joins. Instance lineage 60->64->65 retains all
+23 charges while moving the surviving stack to logical slot 80. A two-credit
+hardest-setting request leaves 69 credits. Accepting its first offer creates
+mission/key 66 in freed slot 79, with five level-3 encounters and an advertised
+QL3 Metaplast helmet. No encounter has died and its objective has not yet been
+allocated. This contract remains available for the next earned-level step.
+
+The native saved map gives the kit visual cell 15 and the key cell 16. Page reload
+retains both positions, identities and all quantities; screenshots explicitly
+cover the top row and successive wheel-scrolled rows. Native self-casting
+Thug's Delight spends 19 nano. Using the visible kit restores 5->16 nano and
+consumes one charge, 23->22. An immediate locked repeat consumes nothing.
+Another split and join creates retained kit 67x22 in logical slot 81; another
+locked use still consumes nothing. All other equipment, supplies, trained skills,
+XP 850 and the observer's seven items remain unchanged.
+
+For the cold check, the isolated server restarts on the same loopback URL. Its
+fresh browser context receives an exact copy of the saved native
+`IconPositions.bin`, before the client initializes. The 504-byte file is identical
+before cold GUI interaction, after displaying the kit and after using it; no
+default layout replaces it. Kit 67x22 remains visible in cell 15 beside key 66.
+Another ordinary buff cast and quiet regeneration leave 11 nano. Native kit use
+restores 11->23 in both server and client while charges fall 22->21; a locked
+repeat consumes nothing. Quiet regeneration then restores full 24 nano.
+
+The two stopped checkpoints independently account for every physical instance:
+the preceding 26 owned items lose consumed kit 60, gain surviving kit 67 and
+accepted key 66, leaving 27 across both players. Transient stacks 64/65 are gone.
+Laboratory 1x10, stims 2x3, worn bat/body/boots, retained gloves and old gear,
+all eight parts, 69 credits, XP 850, 4,693 IP, learned buff and the five living
+mission encounters remain intact. Integrity and foreign-key checks pass.
+Both manual Go fixtures pass in 1,298.23s and 311.07s, with empty native error
+lists; owned clients and servers close normally. Maintained Go/C sources are
+unchanged in this verification milestone.
+
+Evidence is retained in `local/todo-progression-play/runtime-level16/` and
+`runtime-level17/`, including saved native files, row screenshots and packet
+traces. `tmp_verify_slot_reuse.py` checks the exact lineage, quantities, slot
+reuse, original map bytes, authoritative nano restoration, observer isolation
+and both checkpoints; its report is `merged-kit-slot-reuse-verified.json`.
+This completes the focused merged-stack visibility/use check. Capturing actual
+GUI grid cells and scroll offsets in repeatable harness snapshots remains a
+separate test-coverage TODO.