aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit 5ed829244cc8d02f72a7b4028f4e27c936defc53
parent 02b8e42444a8f758f8ce2c7c28f550216a775f88
Author: anon <anon@example.com>
Date:   Fri, 30 Oct 2026 15:04:50 +0000

Verify earned full-inventory rejection and recovery

Diffstat:
MTODO.md | 21+++++++++++++++++++++
Mdocs/starter-progression.md | 78++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+), 0 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -177,6 +177,14 @@ 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] 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. @@ -3041,6 +3049,9 @@ with payloads and known client/server provenance. opener goroutines from earlier fixtures. Audit shared fixture helpers and verify bounded open handles/goroutines across a full run. New mission movement fixtures explicitly close their world database. + The later connected capacity run also hits the full suite ten-minute timeout + while entering a mission-return test, with earlier connection openers retained + in its dump. Evidence: `local/todo-progression-play/capacity-go-full.log`. The ordinary two-client progression fixture also exposed late disconnect writes: closing browser streams does not wait for `serveWorldClient` to save active nano durations. Two stopped runs logged `Saving nano durations: sql: @@ -3408,6 +3419,16 @@ and server restarts. Turn every reproduced bug into a focused regression test. living encounters; completion XP/tokens remain unresolved. Useful creature equipment, full inventory and actual reclaim remain open. See [earned QL3 weapon](docs/starter-progression.md#same-character-earned-ql3-weapon). + Fourteen ordinary kit splits then fill all 30 inventory slots without grants. + Exact-book pickup refuses while full, survives cold recovery and succeeds after + one normal join. Full reward hand-in retains the book/key; the same contract + succeeds with two free slots, earning QL2 boots 61 and 20 credits. Consolidated + 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 + [capacity retry](docs/starter-progression.md#same-character-full-inventory-and-mission-retry). 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 @@ -839,3 +839,81 @@ Evidence is retained in `local/todo-progression-play/runtime-level8/`, `ql3-earned-upgrade-final-checkpoint-verified.json`. This verifies an earned weapon upgrade and further combat in the connected run. Useful creature equipment, full inventory, actual reclaim transfer and the complete P0 gate remain open. + +## Same-character full inventory and mission retry + +The same level-2 fighter funds one two-credit request and accepts assignment 38, +with an advertised QL2 Metaplast boots reward. Wallet 40->38, XP 400 and 4,747 IP +remain accounted for. Its bound key occupies one ordinary slot. Fourteen real +Ctrl-left splits of the bought Nano Kit fill the remaining ordinary slots: +fourteen single charges plus a ten-charge remainder retain all 24 charges. +The other equipment, supplies and eight Monster Parts remain unchanged. +No filler items, administrative grants or edited character state are used. + +The native gesture carries the retained single charge on the cursor; the +remainder replaces the clicked visual icon and receives the first free logical +slot. Clicking an empty visual cell places the single charge. Saved native +`IconPositions.bin` data independently maps all 30 occupied visual cells to the +30 ordinary logical slots. Native inventory counts and server counts agree after +every split. A page reload retains the full inventory; another Ctrl-left split +correctly refuses for lack of room without allocating an item. + +The fighter enters the accepted private mission through normal movement and +jumping. This first entry creates book 55; acceptance alone does not allocate +it. Selecting the exact book and pressing R twice reports `Inventory full!`. +The book remains on the floor, all 32 owner instances remain unchanged and all +five level-2 encounters remain alive at 100 HP. The stopped database independently +retains book 55 in mission 38's floor location. A cold server and two fresh native +clients recover all 39 owned instances across both players and the same floor +book. Another real pickup attempt still refuses while full. + +Picking single 52 and joining it into single 53 consumes 52 normally, retains +53 with two charges and frees one slot. Retrying the same book picks instance 55 +into that slot; another R does not duplicate it. Back at the issuing booth, the +full inventory refuses the exact-book hand-in with feedback 33, retaining the +book, key, contract and 38 credits. After normal joins and splits leave exactly +two ordinary slots free, the same hand-in succeeds: key 38 and book 55 disappear, +boots 61 are created at QL2 with endpoints 85638/85637 and cash becomes 58. +The five encounters remain alive. Completion XP and token eligibility remain +unimplemented; this check claims only the supported cash/item contract. + +Ordinary joins consolidate all kit fragments into instance 60 with 24 charges. +It remains visibly accessible after page reload. A normal self-cast of learned +Thug's Delight spends nano; quiet regeneration leaves 7 before the recovery +check. Seated use of the merged kit restores 7->19 nano and consumes one charge, +24->23. An immediate locked repeat consumes nothing. Standing quiet regeneration +then restores 24/24 nano. No laboratory or First Aid charge is spent in this run. + +The final owner has 18 items, including worn bat 33 and body 22, retained issued +bat 4, QL3 boots 36, new QL2 boots 61, kit 60x23, laboratory x15, stims x3 and all +eight parts. Across both players, the original 24 instances from the preceding +milestone become 25: original kit 29 is consumed through normal split/join +lineage, while surviving kit 60 and reward 61 are added. All other original +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 +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. + +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 +and the completed contract. SQLite integrity and foreign keys pass; its five +encounters still record no deaths. The manual Go fixtures pass in 1066.98s, +476.46s and 74.27s. Both clients retain empty native error lists, and all owned +test clients/servers close normally before further builds. Focused Go stack, +pickup and mission-reward regressions pass. The complete maintained Go run reaches +its ten-minute package timeout while entering another mission test; its dump +again retains many earlier SQLite connection openers. The fixture-cleanup TODO +remains open, and this milestone does not claim a passing full suite. + +Evidence is retained under `local/todo-progression-play/`: `runtime-level10/` +through `runtime-level13/`, `capacity-fill-verified.json`, +`capacity-pickup-verified.json`, `capacity-reward-verified.json` and +`capacity-cold-verified.json`. +This adds ordinary full-inventory rejection and recovery to the connected run. +Useful creature equipment, actual level-10 reclaim transfer and the complete +P0 progression gate remain open.