aorecomp

Anarchy Online classic in the browser

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


commit d7f108535f2bdb93e1d0da9808b83ff1039310b4
parent 0ee59f0f53283b864708857448c27a2a568122c0
Author: anon <anon@example.com>
Date:   Tue, 10 Nov 2026 06:07:11 +0000

Archive completed alpha TODOs in the feature backlog

Diffstat:
MAGENTS.md | 14+++++++-------
DTODO.md | 619-------------------------------------------------------------------------------
Mdocs/alpha-readiness.md | 3++-
Mdocs/character-creation.md | 2+-
Mdocs/city-doors.md | 2+-
Mdocs/corpse-pose.md | 2+-
Mdocs/feature-backlog.md | 630++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
Mdocs/mission-acceptance.md | 2+-
Mdocs/mission-offers.md | 2+-
Mdocs/mission-retirement.md | 2+-
Mdocs/nano-healing.md | 2+-
Mdocs/nano-health-drains.md | 2+-
Mdocs/nano-skill-buffs.md | 2+-
Mdocs/ranged-weapons.md | 2+-
Mdocs/research-notes/README.md | 2+-
Mdocs/shop-control-edits.md | 2+-
Mdocs/token-upload.md | 2+-
Dprotocol.md | 7-------
18 files changed, 648 insertions(+), 651 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md @@ -17,19 +17,19 @@ browser input coverage and check significant outcomes against server state. # Focused debugging and verification -- Select work from the active alpha gates in `TODO.md`. The detailed - `docs/feature-backlog.md` is historical evidence and deferred scope, not a - second execution queue. A new player-visible failure reopens the relevant - gate even when an older fixture passed. Do not promote historical precision - or more earned leveling without a demonstrated alpha-path dependency. -- Before choosing work, name the existing open TODO, the observed failure or +- Select work from a concrete reported failure or an explicitly chosen milestone. + `docs/feature-backlog.md` preserves completed alpha work, historical evidence + and deferred scope, not an active execution queue. A new player-visible failure + reopens the relevant gate even when an older fixture passed. Do not promote + historical precision or more earned leveling without a demonstrated alpha-path dependency. +- Before choosing work, name the task, the observed failure or missing behavior, and the specific remaining acceptance criterion this change will complete. State its completion check before starting. - Prefer implementing missing behavior and fixing reproduced failures. Add regression coverage when it protects that change or completes a clearly identified coverage requirement. - After the focused regression and appropriate required checks pass, commit and - move to the next actionable TODO. Broaden verification only when a new failure, + move to the next actionable task. Broaden verification only when a new failure, material risk or explicit acceptance criterion requires it. - Report behavior changes, verification, research and TODO closures separately. More tests or retained screenshots do not themselves establish that a feature diff --git a/TODO.md b/TODO.md @@ -1,619 +0,0 @@ -# Alpha preview TODO - -Target: a playable classic Anarchy Online 14.9.1 preview, with Omni, Clan and -Neutral starts and a useful early game. The working level range is 1-10, not -an open-ended requirement to earn more levels. Every character choice offered -by the preview must have a usable starter combat and recovery path. Broader -profession catalogs and perfect historical balance are separate milestones. - -The [November 4 review](docs/alpha-readiness.md) explains the current gaps. -The [detailed feature backlog](docs/feature-backlog.md) preserves prior work, -research and completed checks. It is a reference, not a second execution queue. - -## How to choose work - -P0 means a broken first experience, unusable early progression, loss/duplication -of player state, or unsafe public exposure. P1 means necessary early-game breadth -or maintainability after the P0 path works. P2 means deeper historical accuracy -and catalog/world expansion. Missing historical evidence alone is not P0 when -an explicit, coherent provisional rule already supports the alpha experience. - -Work on one named failure at a time. First reproduce it in the smallest useful -scenario, fix its shared cause, and run that regression plus relevant checks. -Close it when its stated check passes. Add newly found work separately; do not -turn a resolved bug into an ever-growing subsystem audit. - -Use controlled fixtures or retained checkpoints to reach test conditions. -Use real browser input for an interaction under test and compare outcomes with -server state. Assess combat balance and affordability from implemented rules, -item data and explicit resource budgets; distinguish calculations and controlled -checks from observed ordinary play. Reuse retained gameplay evidence. Do not -grind levels, farm purchase money or replay established routes just to test a fix. -Exploratory manual play stops after 15 minutes unless it has a named integration -purpose and an explicit time budget. Report behavior changes, verification and -research separately. More screenshots and test cases do not count as new gameplay. - -## P0: first experience - -- [x] **Open Options without an account lookup delay.** Account state loads with - the session and refreshes after native creation. Browser coverage holds the - lookup open while using Create/Log in; reopening sends no new request. The - account endpoint reads committed SQLite state without the simulation mutex. - Authenticated HTTP requests measured 1.1-3.3 ms with the native client running, - and a regression confirms the response completes while the simulation is locked. - -- [x] **Use the original native character creation flow.** Login credentials are - collected in a compact modal with password confirmation at native naming, - with native controls blocked until OK - advances the sequence. Phone and desktop browser regressions pass: password - login after creation/restart, cancellation and refresh without duplicate - creation, 4:3 proportions through the outro, and adaptive world rendering. - Native browser walking - passes through all three faction corridors into their training grounds with - the correct starter grants; protocol checks cover atomicity and restart. - Physical phone keyboard display remains a device retest. Options now launches - the original breed, appearance, profession and naming scenes, using the shared - atomic creation backend. Real WASM input covers cancellation, short/duplicate - names, completion, walking through Arrival Hall, faction departure, password login, - inventory preferences, reconnect and cold recovery of both old and new saved - characters. Protocol tests cover duplicate submissions and competing sockets - without duplicate characters/items. Hall dialogue, outfits and departure - policy remain explicit reconstructions; see [character creation](docs/character-creation.md) - and [Arrival Hall](docs/arrival-hall.md). - November 7: new player and admin passwords require at least five characters, - including visitor adoption and password changes. Initial admin setup requires - password confirmation. Browser checks cover rejected short passwords, matching - confirmation and live password changes; server regressions cover rejection - without account changes and five-character credentials after restart. - -- [x] **Give new visitors starter items and a separate Visitor title.** New - visitors receive the character-creation starter kit atomically. A free-text - `title` column beside `name` stores `Visitor` and clears on adoption; generated - names stay unchanged. Verified native labels, inspection, adoption, restart, - profile editing, item ownership, rollback and no duplicate grants. Existing - inventory, cursor, touch and private-storage browser regressions also pass. - -- [x] **Load the game when private browsing denies local storage.** Firefox - private windows stop at "Starting Anarchy Online..." because OPFS - `getDirectory()` rejects with `SecurityError`. Use temporary local preferences - when storage is denied. Completion: startup and inventory interaction work - without OPFS, server-owned items survive reload, and ordinary browser - preferences still persist when storage is available. - November 5: storage denial now selects writable memory for local preferences. - Both denied-storage and persistent-storage browser regressions pass, including - native inventory layout writes and server item preservation after reload. - Firefox private-profile checks reach the player, and the user confirms that - private-window loading now works. - -- [x] **A1: Smooth NPC and enemy movement.** Reopen the November 4 report of - walking followed by multi-metre jumps. Earlier Wardroid/Organic Waste Collector - checks passed; they do not dismiss the current report. Reproduce in Omni Trade - with the currently served build, record build identity and compare render, - prediction and server positions over starts, turns and stops. Check roaming, - combat pursuit/return and reconnect on two clients, then a representative - Clan/Neutral route using the same movement code. Completion: no visible - multi-metre correction on these routes and a regression for the actual cause. - See [prior movement evidence](docs/npc-pursuit.md#npc-starts-turns-and-stops). - November 5: fixed buried and obstructed idle waypoints reproduced on the - Clan/Neutral routes, with packet regressions and two-client reconnect checks. - The user subsequently confirmed that the jumpiness appears resolved and can - no longer be reproduced, and requested closure. The specific cause of the - original Trade report was not isolated. - -- [x] **A2: NPC vendors respond and trade.** The two Omni Trade Food Providers - (`710/district/0/fixed/18` and `19`) and each faction's training-ground - Secondhand Peddler share shop admission and atomic quote/transaction rules. - November 5: all five original placements passed real E/right-click, buy/sell, - cancel, range cancellation and reconnect checks, preserving credits and exact - item identities. Catalog objects are removed when the shop closes, allowing - repeated NPC interaction. Stock selection is provisional; a temporary pickup - box at the seller's feet remains a visual limitation while the window is open. - See [the finite vendor set, verification and evidence limits](docs/npc-shops.md). - November 6: user-requested stock expansion binds 182 merchant definitions in - zone YAML, including the Subway traders and named specialty vendors. All 792 - actual vending-machine placements now have stock, including all 190 A5 shops. - See [catalog coverage and evidence limits](docs/shop-stock-expansion.md). - -- [x] **A3: Recognizable NPC appearances on early routes.** Start with Omni-Tek - Elite Guards in Omni Trade. Their provisional body mappings do not establish - heads or outfits; spawning a named human is not a completed appearance. - Establish shared appearance/equipment delivery and data-backed outfits for - the guards, vendors and enemies encountered on each faction's early route. - Completion: inspect those actors in the real client, including a second - observer and reconnect, with intended bodies, textures and equipment visible. - Label uncertain outfit choices as provisional; do not block on all world NPCs. - November 5: shared humanoid NPC equipment delivery now outfits the seven - Trade Elite Guards and five starter vendors. Female/Atrox guards and all five - vendors pass two-observer/reconnect checks; the humanoid NPC spawn path fixes - a reproduced clothing-compositing crash. Garments are original assets, with - provisional actor assignments. The five training guides and Neutral guard - now also wear original garments and pass front-view two-observer/reconnect - checks. All six training-ground human opponent populations now have original - clothing and pass the same checks, with mouse-look correcting slope-obscured - test views. All 15 distinct creature bodies across the three training routes, - including their bosses, now pass visual inspection, native picking and - two-observer/reconnect checks, completing this finite appearance scope. See - [NPC appearance scope and evidence](docs/npc-appearances.md). November 6: - the captain report reopened missing visible armor/weapons and fixed-post - facing. The bounded follow-up covers 107 source-backed or explicitly inferred - appearances in zone YAMLs and original headings for 4,246 fixed NPCs. - Completed with captain, lieutenant and weapons-dealer browser checks using - two observers/reconnect, plus heading spawn, respawn and cold-load checks. - These representatives verify the shared visual delivery; assignments retain - their individual evidence limits in the YAML source comments. - -- [x] **A4: Doors visibly open where players enter.** Reproduce Entertainment - <-> Trade and the Entertainment shop near Bronto Burger. Zoning already works; - city/shop proximity animation is not established by permanently open mission - doors. Identify the actual portal/door objects and implement shared state - transitions for the early routes, preserving access rules and destination. - Completion: approach, opening, passage and closing are visibly coherent on - both clients, in both directions, including after reconnect. Check a Clan - and Neutral shop/zone route using the same implementation. Record portals - that genuinely have no moving door rather than inventing an animation. - November 5: ten audited endpoints now share native opening/closing state and - replay it after reconnect. All ten endpoints pass the full two-client scenario. - Original collision geometry now grounds the four selected shop interiors, - fixing the Clan arrival mismatch without relaxing the position assertion. - The Old Athen approach uses its original side ramp and an ordinary forward - jump over the threshold, which also stops the native client without server - corrections. All selected portals have moving panels, including the whom-pah. - See [door implementation, verification and scope](docs/city-doors.md). - -- [x] **A5: Useful, nonempty early shop stock.** Inventory every terminal in the - selected starter and basic shops for all three factions. Supported purchases - exist; unstocked categories now explain their purchase limitation on opening. Supply - a coherent early subset: usable weapons/armor, ammunition, health/nano recovery - and the profession essentials needed by offered starts. A clearly identified - unsupported specialty terminal is a scope limitation; a blank apparently - functional basic shop is a failure. Completion: visit each listed shop, browse - and buy/use its applicable stock, sell loot, cancel/retry and reconnect, with - atomic credits/items and prices affordable under the alpha's reward rules. - Exact historical stock rotation and the full historical catalog are deferred. - November 6: read-only acquisition browsing, original item icons and provisional - 30-minute restocking are documented in [shop stock](docs/shop-stock-expansion.md). - Shop changes remain embedded YAML plus a rebuild. - November 8: indoor seller locations now resolve to outdoor shop entrances, - including shared interiors and nested shops. Item pages link to the map from - Possible sources without a duplicate embedded map. Shop-page maps use clickable - location links without general map controls or live player/NPC feeds. Server - regressions cover entrance routing and unchanged outdoor vendors; Chromium - verifies link clicks center the entrance marker and general map controls work. - The catalog also filters items available as loot, including items sold in - shops. The [acquisition audit](docs/shop-stock-expansion.md) confirms six - configured loot families versus 3,363 shop families; the filter exposes - existing drops and does not expand loot tables or change probabilities. - The subsequent [loot expansion](docs/npc-loot.md) adds YAML evidence/inference - fields, visible per-roll chances and provenance in the catalog, and seven - additional loot families from AORebirth candidate data with explicit inferred - rates/assignments. Six previously unsourced gem/jewelry families now have - training-boss sources; Leets can drop useful Low-Tech gloves. CellAO's examples - provide no compatible starter rows. This was the first acquisition-content - increment; broad distribution required the following pass. - November 9: catalog category filtering uses the original `item_class` values, - combines with text/source filters before pagination, and survives sorting. - November 9: the requested [broad distribution](docs/item-distribution.md) - assigns 36,838 families through level-aware pools and named encounters across - 9,214 original population groups. Another 229 families receive department - vending, preserving existing stock indices. The catalog derives individual - item odds, QLs and locations from these tables. CellAO/AORebirth memberships - precede explicitly labeled inference; internal, summoned and progression - records remain excluded. Completion check: each pool family has a reachable - population/QL, one selection per pool, durable death/pickup/rollback, correct - catalog odds and map links, and ordinary page scrolling. This is content - coverage, not closure of high-level combat/effect/balance or the special - quest/crafting source gaps retained in the linked exception inventory. - November 5: [the finite terminal inventory](docs/early-shop-stock.md) lists - all 190 placements in training grounds 950/952/954 and basic shops - 1180/1183/1186. The four empty training terminals now carry seven original QL1 - recovery/ammunition packages under an explicit provisional stock policy; - all four pass native buy/sell, cancel, recovery use, bullet reload, reconnect - and cold recovery checks. The three basic weapon terminals now add QL5/10 - M-10 pistols, E-Beamers, Vektors, Sledgehammers, Gripo rifles and Kerans SMGs - alongside ammunition. All three pass native purchase, equip, - reload/attack, cancellation, reconnect and cold recovery for these families. - Thirty-six crystal terminals now carry 19 original early nanos with complete - supported contracts; all 36 pass native buy/sell, cancel, upload/cast and - reconnect/cold recovery, with every row covered by server regressions. - 120 placements remain empty and visibly identify unsupported purchases while - retaining loot sales. The Meta-Physicist starter Mind Pain now executes its - complete damage and six-skill debuff. Its existing Lesser Anger Manifestation - now accepts native attack commands, pursues enemies, takes retaliation and - credits its owner through shared rewards; retreat, death/removal and recovery - checks pass under an explicit [provisional fist profile](docs/pet-attack.md). - Engineer Feeble Automaton now creates a one-charge shell for four credits; - using it activates an owned robot with combat, removal and recovery support. - See [the original contracts and provisional robot profile](docs/engineer-robots.md). - The three Meta-Physicist terminals now sell Inferior, Greater and Supreme - Anger Manifestation, giving level-2/6/8 combat pets under an explicit - provisional profile. Their original requirements, costs and lifetimes remain - intact; purchase/use and recovery checks are described in - [the stock ledger](docs/early-shop-stock.md#meta-physicist-pet-upgrades). - Trader's issued Weak Delayed Health Payment now supports its complete team - heal and non-removable caster debt, with atomic settlement, expiry and - recovery; see [the contract and provisional targeting rules](docs/trader-health-payment.md). - Martial Artist's issued [Jab of the Snake](docs/jab-of-the-snake.md) now - executes its reusable unarmed attack, nano cost and MA cooldown, with atomic - damage/rewards and native inventory/reconnect checks at level one. - [Burst](docs/burst.md) now executes for the issued Solar SMG and stocked - Kerans, retaining ammunition under the pre-15.5 policy and committing its - damage/rewards with a persistent cooldown. [Brawl](docs/brawl.md) now has its - native action, independent damage item, timed stun and atomic persistent - cooldown, with fists and stocked Sledgehammer input/recovery checks. - [Dimach](docs/dimach.md) now has its independent item damage, native action - and persistent 30-minute cooldown, with the same fists/Sledgehammer input - and recovery checks. [Aimed Shot](docs/aimed-shot.md) now supports the issued - Agent rifle and stocked Gripo through native Sneak and opening-shot input, - with atomic damage/rewards, reveal and persistent cooldown. Concealment - admission and damage use explicit provisional PvE rules; historical - detection and player-versus-player invisibility remain deferred. - The [twelve-profession closure matrix](docs/alpha-profession-paths.md) now - connects all issued tools, supported effects, upgrades and recovery supplies. - All nineteen issued crystals upload with ordinary level-one training and - survive cold recovery. Native Clan/Neutral armor purchase, wear and recovery - now supplement the retained Omni checks, completing this finite shop scope. The - [bounded earned affordability sample](docs/early-shop-stock.md#earned-affordability-sample-november-5) - now completes an ordinary level-two Omni mission, buys and wears gloves, - replenishes recovery supplies and retains 758 credits without grants or sales. - Exact ownership survives reconnect and restart. This checkpoint-resumed sample - does not replace A7's focused combat, loot and economy assessment. - New mission offers - now pay an explicit provisional 500 credits per selected mission level; - level-one completion cash covers recovery/ammunition resupply in all three - factions without selling issued items. Controlled settlement/purchase checks - establish that budget, not ordinary progression pace. The stock ledger also - links each weapon special to its own implementation and native checks; - ordinary attack success alone is not treated as complete special support. - -## P0: playable and releasable - -- [x] **A6: Close concrete item-loss, duplication and recovery failures.** Map - the existing inventory/equipment, trade, loot and reclaim regressions to the - ordinary early-game actions; do not rerun every historical edge case manually. - Completion: no known loss/duplication bug on those paths; exact items, charges - and cash survive buy/sell, wear/remove, backpack transfer, death/reclaim, - reconnect and restart. Retain focused rejected-write/retry coverage at the - transaction boundaries. Visible corpse picking/placement is part of this - gate; recovering the original generic slope formula is not a prerequisite - if the actual early-route corpses render and can be looted correctly. - November 5: the [ordinary-action matrix](docs/alpha-item-recovery.md) maps - exact-state, rejected-write/retry and native reconnect/cold evidence for these - actions, with no known remaining ownership failure on the supported paths. - All 15 distinct creature bodies across the three training routes now pass - visible native corpse picking, generated loot transfer, reconnect and database - recovery, including both boss drops. Reproduced buried Aquaan, Android and - Clawfinger bodies use validated held-pose vertex clearance through one shared - rule; see [corpse placement](docs/corpse-pose.md). This completes the defined - ordinary-action and creature-body matrix. New A7 encounters must establish - their corpse/recovery behavior when admitted. - -- [x] **A7: Analytically establish a viable early progression path.** - November 9: the requested [loot-funded casual economy](docs/loot-economy.md) - reopens and resolves ordinary-hunting affordability at unchanged original shop - prices. Level-one Clan/Neutral loot sales now average 58.5 credits per Leet; - the 623-credit supplies-plus-gloves basket takes about 11 kills on average - without mission cash. A 35% valuable-salvage roll covers ordinary starter - profiles; broader resource/equipment and boss rates also increase. Completion - checks cover rate boundaries, conservative sale budgets, actual loot/sale/buy - cold recovery, and unchanged native price rounding. Higher-level combat pace - and full-loadout budgets are not closed by this focused economy change. - November 8: the reported unfair starter encounters reopened the balance check. - Provisional early enemy HP is now 20 at levels 1/2, then +10 per level; original - damage and rewards remain unchanged. Untrained pistol checks win 18..20 of 20 - fights per starter species/level, averaging about 15 seconds after the first - shot. Prepared profession/breed paths and native combat/recovery/restart pass; - this closes the focused balance follow-up. See the updated assessment below. - Determine whether the implemented combat, loot, shops and rewards support progress for - Omni, Clan and Neutral starts. Levels 1-10 bound the content being assessed; - they are not a playthrough requirement for any faction or profession. - Reuse existing tests, retained gameplay evidence and shared rules, checking - faction/profession differences only where they affect the conclusion. - Completion: record a compact, quantitative assessment of these questions: - - Can a new character with its issued kit and available starting training - defeat an appropriate starter enemy? Compare outgoing damage/time to kill - against incoming damage, health and recovery costs, including fragile - profession cases and hit/miss variability. A single seeded win is not - sufficient evidence of forgiving starter balance. - - Do the supported enemies or missions supply useful, equippable upgrades? - Map representative drops/rewards to requirements and player benefit; identify - items that are only useful for sale rather than assuming every drop is gear. - - Can loot sales, kill cash and mission rewards fund ammunition, health/nano - supplies and worthwhile shop upgrades? Use actual prices, charges, reward - rates and representative encounter/mission budgets, including the initial - path to earning that money without unaffordable prerequisites. - - Are suitable encounters, trainable skills, usable equipment and profession - essentials available as levels rise? Use data and existing level-5/10 - checkpoints to find specific gaps, not additional earned leveling runs. - Reuse A2-A6 evidence for interaction, death/reclaim and persistence. Fix - demonstrated blockers; label provisional balance and uncertain estimates. - Use a short targeted simulation or gameplay check only to resolve a named - uncertainty that analysis and existing evidence cannot answer. No full - level-10 runs, farming, exhaustive faction/profession playthrough matrix or - additional end-to-end release playthrough is required to close A7. - Mission cash/items and combat XP may use documented provisional rules; - unimplemented mission token/completion-XP rewards must not be promised. - November 5: generated offers and recovered journals now advertise zero - completion XP, matching hand-in; cash and selected items remain payable. - Keep a compact matrix of passed paths and specific remaining failures. - The A6 corpse check also reproduced missing combat rewards and lifecycle on - the Clan Green Lizard. LZ01/LZ02 now have an explicit provisional level-1..4 - profile using the original LizardBite weapon; see [starter fauna](docs/starter-fauna.md). - ROLL Rollerrats and BB01 Blubbags now also have bounded provisional profiles, - resolving the same reproduced missing rewards and lifecycle. Clan RT02 Reets - and all five distinct Neutral creature bodies now also have bounded profiles, - with original attack items and explicit provisional reward/balance choices. - Android loot uses original Robot Junk; Blackout uses the starter boss policy. - The six human opponent populations now support attacks, retaliation, rewards, - corpse loot and respawn through the shared combat path. Explicit population - bindings keep guards, vendors and reused templates outside this scope. - Native kills retain heads/outfits, visible slope placement and exact loot - ownership after reconnect/cold recovery; see [human encounters](docs/training-human-combat.md). - The [compact progression matrix](docs/alpha-progression-matrix.md) now names - the finite routes, retained evidence and remaining checks. All 48 profession/ - breed starts pass a full-health fight, recovery and cold ownership check - using starting IP and issued equipment; MPs use their issued pet and shield. - The level-5/10 non-Enforcer checkpoints now pass with available shop loadouts, - including the level-ten Nanomage MA with a complete QL5 Metaplast set. - Current native Clan/Neutral checkpoints now earn/train level two, settle the - saved level-one contract, request/complete a level-two repeat and preserve - exact ownership and training through reconnects and cold starts. A current - earned-checkpoint pace sample records 46 seconds of combat and 124 seconds - of passive recovery for 100 XP, without grants or supplies; the ordinary - mission-funded purchase sample covers one affordability example. The completed - analytical assessment now quantifies fragile starter survival and recovery, - sale-only versus useful loot, first-payout supplies and full upgrade prices. - Short production probes confirm legal training and the lower-difficulty route - to buying gear before it is owned. The fragile Nanomage MA remains demanding: - modeled survival is 94-97% with Jab/Brawl and maximum evasion, or 98-99% with - one issued stim, depending on recovery phase. Mission income funds continued - supplies and upgrades in every faction. This closes the defined analytical - gate without further earned leveling runs; balance remains provisional and - A1's separate visible movement report remains open. - -- [x] **A8: Isolate administration before public hosting.** The current HTTP - and HTTPS listeners share a handler. Administration now requires separate - admin credentials under `/admin`, with first-admin setup, expiring sessions - and cross-origin write protection. Profile uploads now use the same protected - boundary at `/admin/browser-profile/{session}`. November 5 checks passed for - anonymous/player-only refusal, cross-origin rejection and a real browser - administrator upload under a URL prefix. The rebuilt development server was - restarted with its existing database and default launch configuration; both - HTTP 8080 and HTTPS 8443 reject public administrative writes, the old upload - route and tested debug paths are absent, and one administrator is provisioned. - See [administration](docs/admin.md). Provision the first administrator before - exposing any new installation. - -Finish A1 first, then A2-A5 in order, with independent work on A8 before public -exposure. Address demonstrated A6 corruption immediately when found. Complete -A7's demonstrated progression gaps through analysis and targeted checks after -the visible basics work. Alpha is ready only when the named gates pass; -rewriting this document does not close them. - -## P1: bounded follow-up work - -- [x] **Restore a green full test suite, including browser coverage.** The - earlier complete maintained Go suite passed 2,412 tests, six focused - concurrency tests passed with `-race -tags=e2e`, and native `make test` passed. - The November 9 browser continuation now has passing results for all 175 - maintained Go browser families, with zero failures, skips, interrupted or - unattempted families. All ten walking-dependent rechecks pass after the final - helper correction. All 19 JavaScript browser scenarios have passing runs; - the three affected Arrival Hall/native-creation scenarios pass again. The - standalone browser error-capture check, 155 JavaScript unit tests and 93 - related Go unit families pass too. Repairs are confined to test fixtures, - scripts and the browser test harness; no production gameplay behavior changed. - See the [completed continuation](docs/browser-test-checkpoint-20261108.md#november-9-completion) - and [exact family inventory](docs/browser-test-status-20261109.json). - -- [x] **Include starter stock in the native socket sale regression.** - The timing baseline finds an unexpected catalog packet because the training - terminal now has seven stock rows. Verify that catalog precedes the trade - window, then retain the sale, zero-cash reset and cold ownership assertions. - November 5: all of those checks pass with the current seven-row catalog. -- [x] **Account for preloaded interiors in the geometry cache regression.** - The timing baseline passes concurrent wall/floor queries but finds 23 cached - surfaces instead of the old one: early shop interiors are now loaded at - startup. Verify the concurrent outdoor queries add exactly one shared cell - while retaining their geometric results and shared water cache. - November 5: the concurrent query and cache-growth assertions pass. -- [x] **Align NPC census checks with admitted creatures and guide outfits.** - The timing baseline finds four newly admitted ROLL fallback actors beyond - the old 23-actor census, and an outfitted guide packet using the current - humanoid layout and original head. Preserve every placement/population - assertion and verify the guide's flags, head, hands and model against that - contract. November 5: all 27 placements and the guide packet checks pass; - placement and appearance behavior are unchanged. -- [x] **Align creation regressions with the current account contract.** - The full-suite timing baseline found obsolete rejection of empty passwords - and of the public `adopted` response field. Preserve credential exclusion - and invalid-input assertions, and verify empty-password creation/login after - restart. November 5: the creation suite passes, including that new restart - check, invalid input, failed writes and concurrent replay. Account behavior - is unchanged. -- [x] **Align East Wind reward checks with the current mission cash policy.** - The timing baseline reproduces old 20-credit expectations for a level-two - production offer that now pays 1000 credits. Verify the promised amount, - failed-write/retry settlement and trained reward ownership after cold loading. - November 5: all reward, failed-write/retry and cold ownership checks pass. -- [x] **Launch crash-recovery children with access to external assets.** - The timing baseline reproduces child startup failure from the isolated test - directory. Preserve the original launch directory for child startup, keeping - each child's database isolated. Verify all eight before/after-commit kills - and their recovery/retry assertions with the default asset provider. - November 5: all eight forced-kill modes now reach and pass those assertions. -- [x] **Update the pending-cast admin item-edit regression for live inventory edits.** - Carried-kit edits now have passing checks for session/cast preservation, - completion or cancellation, failed writes and retry. The separate equipped - helmet edit checks atomic refund/reload, rejected writes, retry and repeated - cold recovery without duplicate refunds. November 5: the related reservation, - live-admin and open-shop edit checks pass. This corrects the obsolete test - expectation; no game behavior changed. See [admin edit semantics](docs/admin.md). -- [x] **Keep account UI changes in the browser source when publishing.** - November 5: publishing the door-observation client exposed existing drift - between `client/browser/index.html` and the checked-in served page: regeneration - would remove the password-change form and other account fixes. The door bundle - preserves the served page. Reconcile the source with those existing features, - regenerate normally and pass the account UI regressions so future client - publications preserve them without a manual page restoration. - November 5: the source now retains password changes, empty passwords and the - existing account-form fixes. Normal page generation/publication reproduces - the served page byte-for-byte. Source account/control/loading checks, - publisher regressions and native live-session password changes pass; see - [account source and publication](docs/browser-accounts.md#source-and-publication). -- [x] **Repair the admin browser scenario's adopted-player fixture.** - The fixture now claims its visitor through the current account endpoint and - keeps the rotated browser token. `TestAdminBrowser` passes through player - password changes, live game interactions and authenticated profile upload. - The restriction on changing unadopted visitors' passwords is unchanged. -- [x] **Make the root-expiry roaming regression deterministic.** The November 5 - full server run exposed a random destination inside the arrival radius, so - the test could report a movement failure after the root had correctly expired. - Place the fixture's home far enough away that every sampled destination - requires movement. All three modes pass 20 repeated runs; production movement - is unchanged. -- [x] **Replace numbered Visitor names with short, cute random names.** - Use curated beginning/middle/ending syllables to produce pronounceable names, - aiming for 6-8 letters and several million distinct usable combinations to - support hundreds of thousands of users. Validate actual distinct capacity - and sample quality before settling on the lists; exclude awkward or offensive - combinations. Check uniqueness case-insensitively against existing character - names, enforce it in the database and retry collisions, including concurrent - creation, without numeric suffixes. Completion: new visitors receive short - pronounceable names; focused tests cover collisions and concurrent creation, - and a capacity check establishes the usable name pool. - November 5: curated syllables and cross-boundary filtering provide 3,602,718 - distinct 6-8 letter names. New visitors use them with case-insensitive - database uniqueness and collision retry, including conflicts at save time. - Names survive reconnect/restart and can be retained during adoption. Capacity, - account/creation, 32-launch concurrency, race and failed-save checks pass. - The full server run's fixture failures are corrected and pass focused reruns; - native account login also passes through the migrated browser scenarios. See - [name allocation and verification](docs/browser-accounts.md#account-state-and-transactions). -- [x] **Keep the custom overlay "opt" button visible after window resizing.** - Reported: the button appears to disappear after resizing the window. - Reproduce and fix the resize behavior. Completion: the button remains visible - and clickable after shrinking and enlarging the window. - November 5: reproduced stale native toolbar bounds after enlargement and - selection of individual buttons at narrow widths. Opt now follows the strip - attached to the current screen edge. Native hover/click checks pass through - seven sizes from 320x480 to 1600x900; see [resize verification](docs/browser-accounts.md#options-after-resizing). -- [x] **Use a browser-native mouse cursor independent of game FPS.** - Replace the WebGL-rendered pointer while preserving AO's context-sensitive - cursor artwork and hotspots, visibility during right-button camera control, - and inventory drag behavior. Existing mobile software-cursor suppression and - SDL custom browser-cursor support provide a starting point. Check dragged-item - icons separately: replacing the pointer may leave those frame-bound. - Completion: smooth cursor motion at low FPS, correct cursor shapes - and click alignment, and no regressions in camera controls, item dragging or - touch input. - November 5: SDL now owns a custom browser cursor made from AO's artwork and - hotspots. Re-entry restores the gray arrow without requiring a shape change. - Focused browser checks pass for input between one-second game frames, target - clicks, right-button camera control, resize/Retina scaling, inventory dragging - and touch. Dragged-item icons use a separate native renderer and remain - frame-bound. - November 8: fixed Shift-right-drag leaving the pointer hidden and causing - rapid spinning when the right button is released first. Active camera release - now ignores modifier bits. Both release orders restore the browser pointer; - later mouse motion leaves camera, character and server facing unchanged. - Native modifier/binding regressions and all three Chromium cursor scenarios - pass, including ordinary dragging and mobile touch transfers. -- [x] **Make camera zoom and numpad actions usable on laptop keyboards.** - November 8 report: the world wheel appears to zoom only inward and the main - minus key does nothing. Completion: wheel zoom changes distance in both - directions, main - / = (+) controls zoom, and camera rotation/reset/preferred - view plus autorun have documented alternatives. Verify real browser input, - modifier release, native text entry and unchanged UI wheel scrolling. - November 8: wheel zoom now works in both directions; main - / = (+), Shift - arrows, Shift-5/7 and Shift-0 invoke camera and autorun actions. Options lists - the controls. Native binding/release tests, three Chromium camera/chat scenarios - and the inventory grid wheel regression in headless Chromium pass. -- [x] **Keep Firefox Quick Find from stealing native chat input.** November 8 - report: typing `/` opens browser search. Completion: slash and apostrophe reach - native chat while the focused game canvas prevents Quick Find; ordinary page - controls retain their normal keyboard behavior. - November 8: the focused canvas cancels Quick Find keypress defaults before SDL - forwards input to the worker. Real Firefox keyboard input verifies the guard; - Chromium verifies exact native chat text. All 87 browser-control tests pass. -- [x] **Use external assets by default; make single-executable bundling opt-in.** - The assets directory currently occupies about 1.2 GB and is unconditionally - embedded into the server/test build. Default development builds should read - `./assets/` through the existing `fs.FS` boundary. Select the embedded provider - with an explicit build tag such as `embedassets`; a runtime flag cannot remove - compile/link costs or embedded bytes. Keep both providers on the same resource - paths and serving/loading code. Document the external directory layout and - launch working directory; resolve test asset roots before fixtures change - directory. Completion: the default server and tests do not embed the large - asset tree; the tagged executable runs without external assets; representative - resource reads and HTTP responses agree in both modes. Update build/release - instructions and resource tests to cover both providers. - November 5: default builds capture `./assets/` at launch; `embedassets` selects - the standalone provider. Both resource/HTTP selections and direct provider - parity pass. The tagged server runs from an empty directory; the default - provider passes native browser startup and resizing. Server size is 169 MB - externally versus 1.34 GB embedded; tests are 194 MB versus 1.37 GB. See - [provider verification and launch instructions](docs/repository-packaging.md#asset-provider-verification). -- [x] **Repair the NPC fixture's missing interior resources.** - The fixture opens the packaged database for required interior geometry while - retaining its fake population, terrain and zone links. Synthetic outdoor - grids remain separate from original scenery. Corpse expiry and respawn tests - now reach and pass their assertions; related roaming, checkpoint, teleport - and fixture-isolation regressions pass as well. -- [x] **Separate browser scenarios from Go internals through a test-only API.** - Put browser scenarios and end-to-end assertions in JavaScript under - `tests/e2e/`, reusing `tools/client/game_test.mjs`. A shared Playwright fixture - owns server startup/shutdown, isolated temporary databases and cleanup, - including restart against the same database for persistence checks. - Compile a small server-side setup/inspection API only into test builds using - a Go build tag. Its implementation may access private Go state; browser tests - call the running server rather than individual Go tests. Keep synchronization, - persistence and the normal simulation lifecycle inside the server, without - per-scenario tick loops or exporting internal types to accommodate tests. - Provide reusable setup operations and explicit authoritative snapshots, not - arbitrary field/SQL access or wholesale serialization of internal structs. - Add narrowly scoped capabilities only for demonstrated scenario needs. - Setup prepares conditions; the action under test uses real browser input and - the normal client/server protocol. Keep rule, transaction, protocol and - exhaustive failure-injection tests in Go, including HTTP-handler unit tests - whose filenames happen to start with `browser_`. - Completion: migrate an ordinary interaction, an inventory refusal and a cold - restart scenario, preserving their assertions and verifying failure cleanup; - verify the test API is absent from production builds. Remove their redundant - Go browser runners and use this structure for new browser scenarios. Migrate - remaining runners incrementally by subsystem; a full server package split or - wholesale test migration is not an alpha prerequisite. - November 5: `tests/e2e/browser.test.mjs` now owns movement/targeting, overflow - refusal and two-account starter cold recovery. Their shared fixture builds - the `e2e` executable, owns isolated loopback servers/databases and Chromium, - and uses production simulation and shutdown checkpoints. All three scenarios - pass (33.48s, 36.58s and 54.28s). An intentional failure with a connected game - also verifies browser/process/port/database cleanup (21.24s). Default-build - route absence and build-file exclusion checks pass, as do both build modes' - vet checks. The three superseded Go runners are removed; the remaining earned - progression runner shares the cold-client assertions. See - [browser testing](DEVELOPERS.md#browser-game-testing). -- [x] Document/enforce server ownership boundaries as affected code changes: - protocol/session handling, world simulation, game rules/content, and durable - transactions. Keep low-significance simulation state in memory between - checkpoints and significant inventory/reward mutations atomic. Avoid a broad - package reorganization as an alpha prerequisite. - November 5: [the ownership map](DEVELOPERS.md#server-ownership-boundaries) - records the current owners, lock order, output boundary and persistence - cadence. Production and test executables share simulation/shutdown ownership; - the test API uses those locks and persistence methods and refuses live-player - setup. The migrated browser, cold-recovery and failure-cleanup checks verify - these affected paths. Continue enforcing the documented rules on later edits. - -## Deferred historical completeness - -Recover exact loot-family probabilities/QL distributions, original mission -level/reward/token formulas, generic corpse placement fidelity, full NPC outfits, -complete shop catalogs/rotation, higher levels, and broader world/profession -systems from the [feature backlog](docs/feature-backlog.md) after the alpha gates. -Promote an item only with a demonstrated failure of a named alpha path. -Research must answer one implementation question; reopen a blocked search only -when new primary evidence can resolve it. Provisional balance/content must stay -explicit and must not silently execute partial unsupported item contracts. - -The current server schema has no backward-compatibility obligation. Original -14.9.1 client protocol and behavior remain the reconstruction target. diff --git a/docs/alpha-readiness.md b/docs/alpha-readiness.md @@ -5,7 +5,8 @@ does not reliably converge on a release. It mixes player-visible defects, historical reconstruction, broad subsystem audits and a detailed verification diary. A passing narrow fixture has sometimes become the basis for a broader completion claim, while subsequent reports have no clear route back to the -front of the queue. The active [alpha plan](../TODO.md) separates those concerns. +front of the queue. The [completed alpha plan](feature-backlog.md#completed-alpha-work-through-november-9-2026) +separates those concerns; its tracked work was complete by November 9. This is a source/history audit, not a new live gameplay acceptance run. The reported visual failures remain open until reproduced on the served build. diff --git a/docs/character-creation.md b/docs/character-creation.md @@ -228,7 +228,7 @@ Engineer shell, boards and shirt still need their equipment/use/effect audits. Existing raw-skill seeds do not automatically satisfy every crystal's original requirements. Do not bypass those requirements to make the loadout usable. These gaps, exact pistol/MA allocation and original credits/resource seeds -remain tracked in TODO.md. +remain tracked in [feature backlog](feature-backlog.md). ## Verification diff --git a/docs/city-doors.md b/docs/city-doors.md @@ -187,4 +187,4 @@ Published raw WASM SHA256 is The native changes only expose read-only observations. Publishing exposed prior drift between the source HTML and served account UI, so the served page was preserved with its updated decoded download size; the manifest matches the -published files. Source reconciliation is recorded separately in TODO.md. +published files. Source reconciliation is recorded separately in [feature backlog](feature-backlog.md). diff --git a/docs/corpse-pose.md b/docs/corpse-pose.md @@ -8,7 +8,7 @@ groups. Native right-clicking one of these patches opened the loot window; credits and its pistol transferred successfully. This diagnoses the captured rendering problem. It does not establish the -original server's corpse placement policy. The broader [corpse audit](../TODO.md) +original server's corpse placement policy. The broader historical [corpse audit](feature-backlog.md#loot-and-credits) remains open. ## Current placement rule diff --git a/docs/feature-backlog.md b/docs/feature-backlog.md @@ -1,12 +1,634 @@ # Deferred feature backlog and prior verification -This is the detailed TODO snapshot from November 4, 2026, retained for its -implementation notes and evidence. Its priorities, execution order and open -checkboxes are historical, not the active work queue. Use [the alpha -plan](../TODO.md) to select work. Do not resume this list sequentially. +This file preserves completed work, implementation notes, verification evidence +and deferred work. The completed alpha entries through November 9, 2026 are +archived first, followed by the detailed November 4 snapshot, which contains +both completed and unchecked items. + +All tracked alpha work is complete, so the root TODO file has been removed. +Historical priorities, execution order and open checkboxes below are not an +active work queue; do not resume this list sequentially. Select new work from a +concrete reported failure or an explicitly chosen milestone. The later alpha +closures supersede older status claims within their stated scope, without closing +broader deferred milestones. Completed entries describe the cases tested at the time; a new user report can reopen a behavior even when those tests passed. +## Completed alpha work through November 9, 2026 + +All 40 entries below were marked complete in `TODO.md` when archived. Their +original acceptance criteria, dated updates and evidence limits are retained; +references to then-open work within those updates are historical. This archive +does not claim full historical game coverage or a new verification run. + +Target: a playable classic Anarchy Online 14.9.1 preview, with Omni, Clan and +Neutral starts and a useful early game. The working level range is 1-10, not +an open-ended requirement to earn more levels. Every character choice offered +by the preview must have a usable starter combat and recovery path. Broader +profession catalogs and perfect historical balance are separate milestones. + +### How to choose work + +P0 means a broken first experience, unusable early progression, loss/duplication +of player state, or unsafe public exposure. P1 means necessary early-game breadth +or maintainability after the P0 path works. P2 means deeper historical accuracy +and catalog/world expansion. Missing historical evidence alone is not P0 when +an explicit, coherent provisional rule already supports the alpha experience. + +Work on one named failure at a time. First reproduce it in the smallest useful +scenario, fix its shared cause, and run that regression plus relevant checks. +Close it when its stated check passes. Add newly found work separately; do not +turn a resolved bug into an ever-growing subsystem audit. + +Use controlled fixtures or retained checkpoints to reach test conditions. +Use real browser input for an interaction under test and compare outcomes with +server state. Assess combat balance and affordability from implemented rules, +item data and explicit resource budgets; distinguish calculations and controlled +checks from observed ordinary play. Reuse retained gameplay evidence. Do not +grind levels, farm purchase money or replay established routes just to test a fix. +Exploratory manual play stops after 15 minutes unless it has a named integration +purpose and an explicit time budget. Report behavior changes, verification and +research separately. More screenshots and test cases do not count as new gameplay. + +### P0: first experience + +- [x] **Open Options without an account lookup delay.** Account state loads with + the session and refreshes after native creation. Browser coverage holds the + lookup open while using Create/Log in; reopening sends no new request. The + account endpoint reads committed SQLite state without the simulation mutex. + Authenticated HTTP requests measured 1.1-3.3 ms with the native client running, + and a regression confirms the response completes while the simulation is locked. + +- [x] **Use the original native character creation flow.** Login credentials are + collected in a compact modal with password confirmation at native naming, + with native controls blocked until OK + advances the sequence. Phone and desktop browser regressions pass: password + login after creation/restart, cancellation and refresh without duplicate + creation, 4:3 proportions through the outro, and adaptive world rendering. + Native browser walking + passes through all three faction corridors into their training grounds with + the correct starter grants; protocol checks cover atomicity and restart. + Physical phone keyboard display remains a device retest. Options now launches + the original breed, appearance, profession and naming scenes, using the shared + atomic creation backend. Real WASM input covers cancellation, short/duplicate + names, completion, walking through Arrival Hall, faction departure, password login, + inventory preferences, reconnect and cold recovery of both old and new saved + characters. Protocol tests cover duplicate submissions and competing sockets + without duplicate characters/items. Hall dialogue, outfits and departure + policy remain explicit reconstructions; see [character creation](character-creation.md) + and [Arrival Hall](arrival-hall.md). + November 7: new player and admin passwords require at least five characters, + including visitor adoption and password changes. Initial admin setup requires + password confirmation. Browser checks cover rejected short passwords, matching + confirmation and live password changes; server regressions cover rejection + without account changes and five-character credentials after restart. + +- [x] **Give new visitors starter items and a separate Visitor title.** New + visitors receive the character-creation starter kit atomically. A free-text + `title` column beside `name` stores `Visitor` and clears on adoption; generated + names stay unchanged. Verified native labels, inspection, adoption, restart, + profile editing, item ownership, rollback and no duplicate grants. Existing + inventory, cursor, touch and private-storage browser regressions also pass. + +- [x] **Load the game when private browsing denies local storage.** Firefox + private windows stop at "Starting Anarchy Online..." because OPFS + `getDirectory()` rejects with `SecurityError`. Use temporary local preferences + when storage is denied. Completion: startup and inventory interaction work + without OPFS, server-owned items survive reload, and ordinary browser + preferences still persist when storage is available. + November 5: storage denial now selects writable memory for local preferences. + Both denied-storage and persistent-storage browser regressions pass, including + native inventory layout writes and server item preservation after reload. + Firefox private-profile checks reach the player, and the user confirms that + private-window loading now works. + +- [x] **A1: Smooth NPC and enemy movement.** Reopen the November 4 report of + walking followed by multi-metre jumps. Earlier Wardroid/Organic Waste Collector + checks passed; they do not dismiss the current report. Reproduce in Omni Trade + with the currently served build, record build identity and compare render, + prediction and server positions over starts, turns and stops. Check roaming, + combat pursuit/return and reconnect on two clients, then a representative + Clan/Neutral route using the same movement code. Completion: no visible + multi-metre correction on these routes and a regression for the actual cause. + See [prior movement evidence](npc-pursuit.md#npc-starts-turns-and-stops). + November 5: fixed buried and obstructed idle waypoints reproduced on the + Clan/Neutral routes, with packet regressions and two-client reconnect checks. + The user subsequently confirmed that the jumpiness appears resolved and can + no longer be reproduced, and requested closure. The specific cause of the + original Trade report was not isolated. + +- [x] **A2: NPC vendors respond and trade.** The two Omni Trade Food Providers + (`710/district/0/fixed/18` and `19`) and each faction's training-ground + Secondhand Peddler share shop admission and atomic quote/transaction rules. + November 5: all five original placements passed real E/right-click, buy/sell, + cancel, range cancellation and reconnect checks, preserving credits and exact + item identities. Catalog objects are removed when the shop closes, allowing + repeated NPC interaction. Stock selection is provisional; a temporary pickup + box at the seller's feet remains a visual limitation while the window is open. + See [the finite vendor set, verification and evidence limits](npc-shops.md). + November 6: user-requested stock expansion binds 182 merchant definitions in + zone YAML, including the Subway traders and named specialty vendors. All 792 + actual vending-machine placements now have stock, including all 190 A5 shops. + See [catalog coverage and evidence limits](shop-stock-expansion.md). + +- [x] **A3: Recognizable NPC appearances on early routes.** Start with Omni-Tek + Elite Guards in Omni Trade. Their provisional body mappings do not establish + heads or outfits; spawning a named human is not a completed appearance. + Establish shared appearance/equipment delivery and data-backed outfits for + the guards, vendors and enemies encountered on each faction's early route. + Completion: inspect those actors in the real client, including a second + observer and reconnect, with intended bodies, textures and equipment visible. + Label uncertain outfit choices as provisional; do not block on all world NPCs. + November 5: shared humanoid NPC equipment delivery now outfits the seven + Trade Elite Guards and five starter vendors. Female/Atrox guards and all five + vendors pass two-observer/reconnect checks; the humanoid NPC spawn path fixes + a reproduced clothing-compositing crash. Garments are original assets, with + provisional actor assignments. The five training guides and Neutral guard + now also wear original garments and pass front-view two-observer/reconnect + checks. All six training-ground human opponent populations now have original + clothing and pass the same checks, with mouse-look correcting slope-obscured + test views. All 15 distinct creature bodies across the three training routes, + including their bosses, now pass visual inspection, native picking and + two-observer/reconnect checks, completing this finite appearance scope. See + [NPC appearance scope and evidence](npc-appearances.md). November 6: + the captain report reopened missing visible armor/weapons and fixed-post + facing. The bounded follow-up covers 107 source-backed or explicitly inferred + appearances in zone YAMLs and original headings for 4,246 fixed NPCs. + Completed with captain, lieutenant and weapons-dealer browser checks using + two observers/reconnect, plus heading spawn, respawn and cold-load checks. + These representatives verify the shared visual delivery; assignments retain + their individual evidence limits in the YAML source comments. + +- [x] **A4: Doors visibly open where players enter.** Reproduce Entertainment + <-> Trade and the Entertainment shop near Bronto Burger. Zoning already works; + city/shop proximity animation is not established by permanently open mission + doors. Identify the actual portal/door objects and implement shared state + transitions for the early routes, preserving access rules and destination. + Completion: approach, opening, passage and closing are visibly coherent on + both clients, in both directions, including after reconnect. Check a Clan + and Neutral shop/zone route using the same implementation. Record portals + that genuinely have no moving door rather than inventing an animation. + November 5: ten audited endpoints now share native opening/closing state and + replay it after reconnect. All ten endpoints pass the full two-client scenario. + Original collision geometry now grounds the four selected shop interiors, + fixing the Clan arrival mismatch without relaxing the position assertion. + The Old Athen approach uses its original side ramp and an ordinary forward + jump over the threshold, which also stops the native client without server + corrections. All selected portals have moving panels, including the whom-pah. + See [door implementation, verification and scope](city-doors.md). + +- [x] **A5: Useful, nonempty early shop stock.** Inventory every terminal in the + selected starter and basic shops for all three factions. Supported purchases + exist; unstocked categories now explain their purchase limitation on opening. Supply + a coherent early subset: usable weapons/armor, ammunition, health/nano recovery + and the profession essentials needed by offered starts. A clearly identified + unsupported specialty terminal is a scope limitation; a blank apparently + functional basic shop is a failure. Completion: visit each listed shop, browse + and buy/use its applicable stock, sell loot, cancel/retry and reconnect, with + atomic credits/items and prices affordable under the alpha's reward rules. + Exact historical stock rotation and the full historical catalog are deferred. + November 6: read-only acquisition browsing, original item icons and provisional + 30-minute restocking are documented in [shop stock](shop-stock-expansion.md). + Shop changes remain embedded YAML plus a rebuild. + November 8: indoor seller locations now resolve to outdoor shop entrances, + including shared interiors and nested shops. Item pages link to the map from + Possible sources without a duplicate embedded map. Shop-page maps use clickable + location links without general map controls or live player/NPC feeds. Server + regressions cover entrance routing and unchanged outdoor vendors; Chromium + verifies link clicks center the entrance marker and general map controls work. + The catalog also filters items available as loot, including items sold in + shops. The [acquisition audit](shop-stock-expansion.md) confirms six + configured loot families versus 3,363 shop families; the filter exposes + existing drops and does not expand loot tables or change probabilities. + The subsequent [loot expansion](npc-loot.md) adds YAML evidence/inference + fields, visible per-roll chances and provenance in the catalog, and seven + additional loot families from AORebirth candidate data with explicit inferred + rates/assignments. Six previously unsourced gem/jewelry families now have + training-boss sources; Leets can drop useful Low-Tech gloves. CellAO's examples + provide no compatible starter rows. This was the first acquisition-content + increment; broad distribution required the following pass. + November 9: catalog category filtering uses the original `item_class` values, + combines with text/source filters before pagination, and survives sorting. + November 9: the requested [broad distribution](item-distribution.md) + assigns 36,838 families through level-aware pools and named encounters across + 9,214 original population groups. Another 229 families receive department + vending, preserving existing stock indices. The catalog derives individual + item odds, QLs and locations from these tables. CellAO/AORebirth memberships + precede explicitly labeled inference; internal, summoned and progression + records remain excluded. Completion check: each pool family has a reachable + population/QL, one selection per pool, durable death/pickup/rollback, correct + catalog odds and map links, and ordinary page scrolling. This is content + coverage, not closure of high-level combat/effect/balance or the special + quest/crafting source gaps retained in the linked exception inventory. + November 5: [the finite terminal inventory](early-shop-stock.md) lists + all 190 placements in training grounds 950/952/954 and basic shops + 1180/1183/1186. The four empty training terminals now carry seven original QL1 + recovery/ammunition packages under an explicit provisional stock policy; + all four pass native buy/sell, cancel, recovery use, bullet reload, reconnect + and cold recovery checks. The three basic weapon terminals now add QL5/10 + M-10 pistols, E-Beamers, Vektors, Sledgehammers, Gripo rifles and Kerans SMGs + alongside ammunition. All three pass native purchase, equip, + reload/attack, cancellation, reconnect and cold recovery for these families. + Thirty-six crystal terminals now carry 19 original early nanos with complete + supported contracts; all 36 pass native buy/sell, cancel, upload/cast and + reconnect/cold recovery, with every row covered by server regressions. + 120 placements remain empty and visibly identify unsupported purchases while + retaining loot sales. The Meta-Physicist starter Mind Pain now executes its + complete damage and six-skill debuff. Its existing Lesser Anger Manifestation + now accepts native attack commands, pursues enemies, takes retaliation and + credits its owner through shared rewards; retreat, death/removal and recovery + checks pass under an explicit [provisional fist profile](pet-attack.md). + Engineer Feeble Automaton now creates a one-charge shell for four credits; + using it activates an owned robot with combat, removal and recovery support. + See [the original contracts and provisional robot profile](engineer-robots.md). + The three Meta-Physicist terminals now sell Inferior, Greater and Supreme + Anger Manifestation, giving level-2/6/8 combat pets under an explicit + provisional profile. Their original requirements, costs and lifetimes remain + intact; purchase/use and recovery checks are described in + [the stock ledger](early-shop-stock.md#meta-physicist-pet-upgrades). + Trader's issued Weak Delayed Health Payment now supports its complete team + heal and non-removable caster debt, with atomic settlement, expiry and + recovery; see [the contract and provisional targeting rules](trader-health-payment.md). + Martial Artist's issued [Jab of the Snake](jab-of-the-snake.md) now + executes its reusable unarmed attack, nano cost and MA cooldown, with atomic + damage/rewards and native inventory/reconnect checks at level one. + [Burst](burst.md) now executes for the issued Solar SMG and stocked + Kerans, retaining ammunition under the pre-15.5 policy and committing its + damage/rewards with a persistent cooldown. [Brawl](brawl.md) now has its + native action, independent damage item, timed stun and atomic persistent + cooldown, with fists and stocked Sledgehammer input/recovery checks. + [Dimach](dimach.md) now has its independent item damage, native action + and persistent 30-minute cooldown, with the same fists/Sledgehammer input + and recovery checks. [Aimed Shot](aimed-shot.md) now supports the issued + Agent rifle and stocked Gripo through native Sneak and opening-shot input, + with atomic damage/rewards, reveal and persistent cooldown. Concealment + admission and damage use explicit provisional PvE rules; historical + detection and player-versus-player invisibility remain deferred. + The [twelve-profession closure matrix](alpha-profession-paths.md) now + connects all issued tools, supported effects, upgrades and recovery supplies. + All nineteen issued crystals upload with ordinary level-one training and + survive cold recovery. Native Clan/Neutral armor purchase, wear and recovery + now supplement the retained Omni checks, completing this finite shop scope. The + [bounded earned affordability sample](early-shop-stock.md#earned-affordability-sample-november-5) + now completes an ordinary level-two Omni mission, buys and wears gloves, + replenishes recovery supplies and retains 758 credits without grants or sales. + Exact ownership survives reconnect and restart. This checkpoint-resumed sample + does not replace A7's focused combat, loot and economy assessment. + New mission offers + now pay an explicit provisional 500 credits per selected mission level; + level-one completion cash covers recovery/ammunition resupply in all three + factions without selling issued items. Controlled settlement/purchase checks + establish that budget, not ordinary progression pace. The stock ledger also + links each weapon special to its own implementation and native checks; + ordinary attack success alone is not treated as complete special support. + +### P0: playable and releasable + +- [x] **A6: Close concrete item-loss, duplication and recovery failures.** Map + the existing inventory/equipment, trade, loot and reclaim regressions to the + ordinary early-game actions; do not rerun every historical edge case manually. + Completion: no known loss/duplication bug on those paths; exact items, charges + and cash survive buy/sell, wear/remove, backpack transfer, death/reclaim, + reconnect and restart. Retain focused rejected-write/retry coverage at the + transaction boundaries. Visible corpse picking/placement is part of this + gate; recovering the original generic slope formula is not a prerequisite + if the actual early-route corpses render and can be looted correctly. + November 5: the [ordinary-action matrix](alpha-item-recovery.md) maps + exact-state, rejected-write/retry and native reconnect/cold evidence for these + actions, with no known remaining ownership failure on the supported paths. + All 15 distinct creature bodies across the three training routes now pass + visible native corpse picking, generated loot transfer, reconnect and database + recovery, including both boss drops. Reproduced buried Aquaan, Android and + Clawfinger bodies use validated held-pose vertex clearance through one shared + rule; see [corpse placement](corpse-pose.md). This completes the defined + ordinary-action and creature-body matrix. New A7 encounters must establish + their corpse/recovery behavior when admitted. + +- [x] **A7: Analytically establish a viable early progression path.** + November 9: the requested [loot-funded casual economy](loot-economy.md) + reopens and resolves ordinary-hunting affordability at unchanged original shop + prices. Level-one Clan/Neutral loot sales now average 58.5 credits per Leet; + the 623-credit supplies-plus-gloves basket takes about 11 kills on average + without mission cash. A 35% valuable-salvage roll covers ordinary starter + profiles; broader resource/equipment and boss rates also increase. Completion + checks cover rate boundaries, conservative sale budgets, actual loot/sale/buy + cold recovery, and unchanged native price rounding. Higher-level combat pace + and full-loadout budgets are not closed by this focused economy change. + November 8: the reported unfair starter encounters reopened the balance check. + Provisional early enemy HP is now 20 at levels 1/2, then +10 per level; original + damage and rewards remain unchanged. Untrained pistol checks win 18..20 of 20 + fights per starter species/level, averaging about 15 seconds after the first + shot. Prepared profession/breed paths and native combat/recovery/restart pass; + this closes the focused balance follow-up. See the updated assessment below. + Determine whether the implemented combat, loot, shops and rewards support progress for + Omni, Clan and Neutral starts. Levels 1-10 bound the content being assessed; + they are not a playthrough requirement for any faction or profession. + Reuse existing tests, retained gameplay evidence and shared rules, checking + faction/profession differences only where they affect the conclusion. + Completion: record a compact, quantitative assessment of these questions: + - Can a new character with its issued kit and available starting training + defeat an appropriate starter enemy? Compare outgoing damage/time to kill + against incoming damage, health and recovery costs, including fragile + profession cases and hit/miss variability. A single seeded win is not + sufficient evidence of forgiving starter balance. + - Do the supported enemies or missions supply useful, equippable upgrades? + Map representative drops/rewards to requirements and player benefit; identify + items that are only useful for sale rather than assuming every drop is gear. + - Can loot sales, kill cash and mission rewards fund ammunition, health/nano + supplies and worthwhile shop upgrades? Use actual prices, charges, reward + rates and representative encounter/mission budgets, including the initial + path to earning that money without unaffordable prerequisites. + - Are suitable encounters, trainable skills, usable equipment and profession + essentials available as levels rise? Use data and existing level-5/10 + checkpoints to find specific gaps, not additional earned leveling runs. + Reuse A2-A6 evidence for interaction, death/reclaim and persistence. Fix + demonstrated blockers; label provisional balance and uncertain estimates. + Use a short targeted simulation or gameplay check only to resolve a named + uncertainty that analysis and existing evidence cannot answer. No full + level-10 runs, farming, exhaustive faction/profession playthrough matrix or + additional end-to-end release playthrough is required to close A7. + Mission cash/items and combat XP may use documented provisional rules; + unimplemented mission token/completion-XP rewards must not be promised. + November 5: generated offers and recovered journals now advertise zero + completion XP, matching hand-in; cash and selected items remain payable. + Keep a compact matrix of passed paths and specific remaining failures. + The A6 corpse check also reproduced missing combat rewards and lifecycle on + the Clan Green Lizard. LZ01/LZ02 now have an explicit provisional level-1..4 + profile using the original LizardBite weapon; see [starter fauna](starter-fauna.md). + ROLL Rollerrats and BB01 Blubbags now also have bounded provisional profiles, + resolving the same reproduced missing rewards and lifecycle. Clan RT02 Reets + and all five distinct Neutral creature bodies now also have bounded profiles, + with original attack items and explicit provisional reward/balance choices. + Android loot uses original Robot Junk; Blackout uses the starter boss policy. + The six human opponent populations now support attacks, retaliation, rewards, + corpse loot and respawn through the shared combat path. Explicit population + bindings keep guards, vendors and reused templates outside this scope. + Native kills retain heads/outfits, visible slope placement and exact loot + ownership after reconnect/cold recovery; see [human encounters](training-human-combat.md). + The [compact progression matrix](alpha-progression-matrix.md) now names + the finite routes, retained evidence and remaining checks. All 48 profession/ + breed starts pass a full-health fight, recovery and cold ownership check + using starting IP and issued equipment; MPs use their issued pet and shield. + The level-5/10 non-Enforcer checkpoints now pass with available shop loadouts, + including the level-ten Nanomage MA with a complete QL5 Metaplast set. + Current native Clan/Neutral checkpoints now earn/train level two, settle the + saved level-one contract, request/complete a level-two repeat and preserve + exact ownership and training through reconnects and cold starts. A current + earned-checkpoint pace sample records 46 seconds of combat and 124 seconds + of passive recovery for 100 XP, without grants or supplies; the ordinary + mission-funded purchase sample covers one affordability example. The completed + analytical assessment now quantifies fragile starter survival and recovery, + sale-only versus useful loot, first-payout supplies and full upgrade prices. + Short production probes confirm legal training and the lower-difficulty route + to buying gear before it is owned. The fragile Nanomage MA remains demanding: + modeled survival is 94-97% with Jab/Brawl and maximum evasion, or 98-99% with + one issued stim, depending on recovery phase. Mission income funds continued + supplies and upgrades in every faction. This closes the defined analytical + gate without further earned leveling runs; balance remains provisional and + A1's separate visible movement report remains open. + +- [x] **A8: Isolate administration before public hosting.** The current HTTP + and HTTPS listeners share a handler. Administration now requires separate + admin credentials under `/admin`, with first-admin setup, expiring sessions + and cross-origin write protection. Profile uploads now use the same protected + boundary at `/admin/browser-profile/{session}`. November 5 checks passed for + anonymous/player-only refusal, cross-origin rejection and a real browser + administrator upload under a URL prefix. The rebuilt development server was + restarted with its existing database and default launch configuration; both + HTTP 8080 and HTTPS 8443 reject public administrative writes, the old upload + route and tested debug paths are absent, and one administrator is provisioned. + See [administration](admin.md). Provision the first administrator before + exposing any new installation. + +### P1: bounded follow-up work + +- [x] **Restore a green full test suite, including browser coverage.** The + earlier complete maintained Go suite passed 2,412 tests, six focused + concurrency tests passed with `-race -tags=e2e`, and native `make test` passed. + The November 9 browser continuation now has passing results for all 175 + maintained Go browser families, with zero failures, skips, interrupted or + unattempted families. All ten walking-dependent rechecks pass after the final + helper correction. All 19 JavaScript browser scenarios have passing runs; + the three affected Arrival Hall/native-creation scenarios pass again. The + standalone browser error-capture check, 155 JavaScript unit tests and 93 + related Go unit families pass too. Repairs are confined to test fixtures, + scripts and the browser test harness; no production gameplay behavior changed. + See the [completed continuation](browser-test-checkpoint-20261108.md#november-9-completion) + and [exact family inventory](browser-test-status-20261109.json). + +- [x] **Include starter stock in the native socket sale regression.** + The timing baseline finds an unexpected catalog packet because the training + terminal now has seven stock rows. Verify that catalog precedes the trade + window, then retain the sale, zero-cash reset and cold ownership assertions. + November 5: all of those checks pass with the current seven-row catalog. +- [x] **Account for preloaded interiors in the geometry cache regression.** + The timing baseline passes concurrent wall/floor queries but finds 23 cached + surfaces instead of the old one: early shop interiors are now loaded at + startup. Verify the concurrent outdoor queries add exactly one shared cell + while retaining their geometric results and shared water cache. + November 5: the concurrent query and cache-growth assertions pass. +- [x] **Align NPC census checks with admitted creatures and guide outfits.** + The timing baseline finds four newly admitted ROLL fallback actors beyond + the old 23-actor census, and an outfitted guide packet using the current + humanoid layout and original head. Preserve every placement/population + assertion and verify the guide's flags, head, hands and model against that + contract. November 5: all 27 placements and the guide packet checks pass; + placement and appearance behavior are unchanged. +- [x] **Align creation regressions with the current account contract.** + The full-suite timing baseline found obsolete rejection of empty passwords + and of the public `adopted` response field. Preserve credential exclusion + and invalid-input assertions, and verify empty-password creation/login after + restart. November 5: the creation suite passes, including that new restart + check, invalid input, failed writes and concurrent replay. Account behavior + is unchanged. +- [x] **Align East Wind reward checks with the current mission cash policy.** + The timing baseline reproduces old 20-credit expectations for a level-two + production offer that now pays 1000 credits. Verify the promised amount, + failed-write/retry settlement and trained reward ownership after cold loading. + November 5: all reward, failed-write/retry and cold ownership checks pass. +- [x] **Launch crash-recovery children with access to external assets.** + The timing baseline reproduces child startup failure from the isolated test + directory. Preserve the original launch directory for child startup, keeping + each child's database isolated. Verify all eight before/after-commit kills + and their recovery/retry assertions with the default asset provider. + November 5: all eight forced-kill modes now reach and pass those assertions. +- [x] **Update the pending-cast admin item-edit regression for live inventory edits.** + Carried-kit edits now have passing checks for session/cast preservation, + completion or cancellation, failed writes and retry. The separate equipped + helmet edit checks atomic refund/reload, rejected writes, retry and repeated + cold recovery without duplicate refunds. November 5: the related reservation, + live-admin and open-shop edit checks pass. This corrects the obsolete test + expectation; no game behavior changed. See [admin edit semantics](admin.md). +- [x] **Keep account UI changes in the browser source when publishing.** + November 5: publishing the door-observation client exposed existing drift + between `client/browser/index.html` and the checked-in served page: regeneration + would remove the password-change form and other account fixes. The door bundle + preserves the served page. Reconcile the source with those existing features, + regenerate normally and pass the account UI regressions so future client + publications preserve them without a manual page restoration. + November 5: the source now retains password changes, empty passwords and the + existing account-form fixes. Normal page generation/publication reproduces + the served page byte-for-byte. Source account/control/loading checks, + publisher regressions and native live-session password changes pass; see + [account source and publication](browser-accounts.md#source-and-publication). +- [x] **Repair the admin browser scenario's adopted-player fixture.** + The fixture now claims its visitor through the current account endpoint and + keeps the rotated browser token. `TestAdminBrowser` passes through player + password changes, live game interactions and authenticated profile upload. + The restriction on changing unadopted visitors' passwords is unchanged. +- [x] **Make the root-expiry roaming regression deterministic.** The November 5 + full server run exposed a random destination inside the arrival radius, so + the test could report a movement failure after the root had correctly expired. + Place the fixture's home far enough away that every sampled destination + requires movement. All three modes pass 20 repeated runs; production movement + is unchanged. +- [x] **Replace numbered Visitor names with short, cute random names.** + Use curated beginning/middle/ending syllables to produce pronounceable names, + aiming for 6-8 letters and several million distinct usable combinations to + support hundreds of thousands of users. Validate actual distinct capacity + and sample quality before settling on the lists; exclude awkward or offensive + combinations. Check uniqueness case-insensitively against existing character + names, enforce it in the database and retry collisions, including concurrent + creation, without numeric suffixes. Completion: new visitors receive short + pronounceable names; focused tests cover collisions and concurrent creation, + and a capacity check establishes the usable name pool. + November 5: curated syllables and cross-boundary filtering provide 3,602,718 + distinct 6-8 letter names. New visitors use them with case-insensitive + database uniqueness and collision retry, including conflicts at save time. + Names survive reconnect/restart and can be retained during adoption. Capacity, + account/creation, 32-launch concurrency, race and failed-save checks pass. + The full server run's fixture failures are corrected and pass focused reruns; + native account login also passes through the migrated browser scenarios. See + [name allocation and verification](browser-accounts.md#account-state-and-transactions). +- [x] **Keep the custom overlay "opt" button visible after window resizing.** + Reported: the button appears to disappear after resizing the window. + Reproduce and fix the resize behavior. Completion: the button remains visible + and clickable after shrinking and enlarging the window. + November 5: reproduced stale native toolbar bounds after enlargement and + selection of individual buttons at narrow widths. Opt now follows the strip + attached to the current screen edge. Native hover/click checks pass through + seven sizes from 320x480 to 1600x900; see [resize verification](browser-accounts.md#options-after-resizing). +- [x] **Use a browser-native mouse cursor independent of game FPS.** + Replace the WebGL-rendered pointer while preserving AO's context-sensitive + cursor artwork and hotspots, visibility during right-button camera control, + and inventory drag behavior. Existing mobile software-cursor suppression and + SDL custom browser-cursor support provide a starting point. Check dragged-item + icons separately: replacing the pointer may leave those frame-bound. + Completion: smooth cursor motion at low FPS, correct cursor shapes + and click alignment, and no regressions in camera controls, item dragging or + touch input. + November 5: SDL now owns a custom browser cursor made from AO's artwork and + hotspots. Re-entry restores the gray arrow without requiring a shape change. + Focused browser checks pass for input between one-second game frames, target + clicks, right-button camera control, resize/Retina scaling, inventory dragging + and touch. Dragged-item icons use a separate native renderer and remain + frame-bound. + November 8: fixed Shift-right-drag leaving the pointer hidden and causing + rapid spinning when the right button is released first. Active camera release + now ignores modifier bits. Both release orders restore the browser pointer; + later mouse motion leaves camera, character and server facing unchanged. + Native modifier/binding regressions and all three Chromium cursor scenarios + pass, including ordinary dragging and mobile touch transfers. +- [x] **Make camera zoom and numpad actions usable on laptop keyboards.** + November 8 report: the world wheel appears to zoom only inward and the main + minus key does nothing. Completion: wheel zoom changes distance in both + directions, main - / = (+) controls zoom, and camera rotation/reset/preferred + view plus autorun have documented alternatives. Verify real browser input, + modifier release, native text entry and unchanged UI wheel scrolling. + November 8: wheel zoom now works in both directions; main - / = (+), Shift + arrows, Shift-5/7 and Shift-0 invoke camera and autorun actions. Options lists + the controls. Native binding/release tests, three Chromium camera/chat scenarios + and the inventory grid wheel regression in headless Chromium pass. +- [x] **Keep Firefox Quick Find from stealing native chat input.** November 8 + report: typing `/` opens browser search. Completion: slash and apostrophe reach + native chat while the focused game canvas prevents Quick Find; ordinary page + controls retain their normal keyboard behavior. + November 8: the focused canvas cancels Quick Find keypress defaults before SDL + forwards input to the worker. Real Firefox keyboard input verifies the guard; + Chromium verifies exact native chat text. All 87 browser-control tests pass. +- [x] **Use external assets by default; make single-executable bundling opt-in.** + The assets directory currently occupies about 1.2 GB and is unconditionally + embedded into the server/test build. Default development builds should read + `./assets/` through the existing `fs.FS` boundary. Select the embedded provider + with an explicit build tag such as `embedassets`; a runtime flag cannot remove + compile/link costs or embedded bytes. Keep both providers on the same resource + paths and serving/loading code. Document the external directory layout and + launch working directory; resolve test asset roots before fixtures change + directory. Completion: the default server and tests do not embed the large + asset tree; the tagged executable runs without external assets; representative + resource reads and HTTP responses agree in both modes. Update build/release + instructions and resource tests to cover both providers. + November 5: default builds capture `./assets/` at launch; `embedassets` selects + the standalone provider. Both resource/HTTP selections and direct provider + parity pass. The tagged server runs from an empty directory; the default + provider passes native browser startup and resizing. Server size is 169 MB + externally versus 1.34 GB embedded; tests are 194 MB versus 1.37 GB. See + [provider verification and launch instructions](repository-packaging.md#asset-provider-verification). +- [x] **Repair the NPC fixture's missing interior resources.** + The fixture opens the packaged database for required interior geometry while + retaining its fake population, terrain and zone links. Synthetic outdoor + grids remain separate from original scenery. Corpse expiry and respawn tests + now reach and pass their assertions; related roaming, checkpoint, teleport + and fixture-isolation regressions pass as well. +- [x] **Separate browser scenarios from Go internals through a test-only API.** + Put browser scenarios and end-to-end assertions in JavaScript under + `tests/e2e/`, reusing `tools/client/game_test.mjs`. A shared Playwright fixture + owns server startup/shutdown, isolated temporary databases and cleanup, + including restart against the same database for persistence checks. + Compile a small server-side setup/inspection API only into test builds using + a Go build tag. Its implementation may access private Go state; browser tests + call the running server rather than individual Go tests. Keep synchronization, + persistence and the normal simulation lifecycle inside the server, without + per-scenario tick loops or exporting internal types to accommodate tests. + Provide reusable setup operations and explicit authoritative snapshots, not + arbitrary field/SQL access or wholesale serialization of internal structs. + Add narrowly scoped capabilities only for demonstrated scenario needs. + Setup prepares conditions; the action under test uses real browser input and + the normal client/server protocol. Keep rule, transaction, protocol and + exhaustive failure-injection tests in Go, including HTTP-handler unit tests + whose filenames happen to start with `browser_`. + Completion: migrate an ordinary interaction, an inventory refusal and a cold + restart scenario, preserving their assertions and verifying failure cleanup; + verify the test API is absent from production builds. Remove their redundant + Go browser runners and use this structure for new browser scenarios. Migrate + remaining runners incrementally by subsystem; a full server package split or + wholesale test migration is not an alpha prerequisite. + November 5: `tests/e2e/browser.test.mjs` now owns movement/targeting, overflow + refusal and two-account starter cold recovery. Their shared fixture builds + the `e2e` executable, owns isolated loopback servers/databases and Chromium, + and uses production simulation and shutdown checkpoints. All three scenarios + pass (33.48s, 36.58s and 54.28s). An intentional failure with a connected game + also verifies browser/process/port/database cleanup (21.24s). Default-build + route absence and build-file exclusion checks pass, as do both build modes' + vet checks. The three superseded Go runners are removed; the remaining earned + progression runner shares the cold-client assertions. See + [browser testing](../DEVELOPERS.md#browser-game-testing). +- [x] Document/enforce server ownership boundaries as affected code changes: + protocol/session handling, world simulation, game rules/content, and durable + transactions. Keep low-significance simulation state in memory between + checkpoints and significant inventory/reward mutations atomic. Avoid a broad + package reorganization as an alpha prerequisite. + November 5: [the ownership map](../DEVELOPERS.md#server-ownership-boundaries) + records the current owners, lock order, output boundary and persistence + cadence. Production and test executables share simulation/shutdown ownership; + the test API uses those locks and persistence methods and refuses live-player + setup. The migrated browser, cold-recovery and failure-cleanup checks verify + these affected paths. Continue enforcing the documented rules on later edits. + +### Deferred historical completeness + +Recover exact loot-family probabilities/QL distributions, original mission +level/reward/token formulas, generic corpse placement fidelity, full NPC outfits, +complete shop catalogs/rotation, higher levels, and broader world/profession +systems from the [feature backlog](#game-feature-todo) after the alpha gates. +Promote an item only with a demonstrated failure of a named alpha path. +Research must answer one implementation question; reopen a blocked search only +when new primary evidence can resolve it. Provisional balance/content must stay +explicit and must not silently execute partial unsupported item contracts. + +The current server schema has no backward-compatibility obligation. Original +14.9.1 client protocol and behavior remain the reconstruction target. + --- # Game feature TODO diff --git a/docs/mission-acceptance.md b/docs/mission-acceptance.md @@ -95,6 +95,6 @@ exterior entrance is not a private world instance. Do not admit players until visibility, simulation and interaction consumers have explicit instance scope. Saved deadlines now drive [retirement](mission-retirement.md), including native abandonment and bound-key cleanup. Key duplication/metadata and objective -completion/rewards remain open in TODO.md. The fixed narrative, reward values +completion/rewards remain open in [feature backlog](feature-backlog.md). The fixed narrative, reward values and48-hour duration remain provisional as documented in [mission offers](mission-offers.md). diff --git a/docs/mission-offers.md b/docs/mission-offers.md @@ -119,4 +119,4 @@ explicit isolation across all world consumers before admitting players. An arbitrary existing Blue Book must not satisfy a new contract. Completion needs verified objective/token rules and atomic rewards through shared progression and inventory paths. See [remaining integration](mission-terminals.md#remaining-integration) -and the Missions section of `TODO.md`. +and the Missions section of [feature backlog](feature-backlog.md). diff --git a/docs/mission-retirement.md b/docs/mission-retirement.md @@ -175,7 +175,7 @@ stack retained by its initial recorder. The recorder now captures native stdout/stderr and error details. Five subsequent isolated cold terminal runs passed, but they do not establish a fix or identify the cause. The failed profile's last sampled BBR function is not a crash stack. This remains a P0 -diagnostic follow-up in TODO.md. Successful retirement runs have no page +diagnostic follow-up in [feature backlog](feature-backlog.md). Successful retirement runs have no page exceptions; unattributed HTTP404 console messages also occur on successful runs. No adapter/runtime change is justified by the retained abort evidence. diff --git a/docs/nano-healing.md b/docs/nano-healing.md @@ -160,7 +160,7 @@ expiration. Recipient logout freezes both remaining duration and the partial tick interval. Checkpoints retain pending overdue ticks; cold-loaded player effects stay paused until world login resumes their deadlines. Offline time does not earn recovery. Original-server tick phase, downtime and caster lifecycle -rules remain an open historical question in TODO.md. +rules remain an open historical question in [feature backlog](feature-backlog.md). Complete records, exact payloads, source hashes, the forty-program fixture and an independent verifier are under `local/nano-hot-research/catalog/`. The diff --git a/docs/nano-health-drains.md b/docs/nano-health-drains.md @@ -48,7 +48,7 @@ Crystal learning uses the existing complete-program upload and atomic consumption path. Casting uses the shared learned-program, action, range, visibility and creature-target admission, reservation, cancellation and recharge. The existing PvE subset and no-resistance-roll reconstruction remain in force. -Original charging/refund and completion-gate policies remain open in TODO.md. +Original charging/refund and completion-gate policies remain open in [feature backlog](feature-backlog.md). Completion stages the caster heal and target Hit together. The same transaction commits caster HP, reserved nano consumption, recharge and NPC state, including diff --git a/docs/nano-skill-buffs.md b/docs/nano-skill-buffs.md @@ -68,7 +68,7 @@ continues to use periodic checkpoints. The existing NCU/strain, death-removal and offline-duration policies still apply. Historical exceptions, broader targeting rules and the open combat HP -delivery problem remain tracked in TODO.md. +delivery problem remain tracked in [feature backlog](feature-backlog.md). ## Source evidence diff --git a/docs/ranged-weapons.md b/docs/ranged-weapons.md @@ -115,7 +115,7 @@ recharge, invalid requests, failed shot/reload transactions, wield requirements and ammunition preservation through equipment changes. The equipment regression also verifies corrective replies for unsupported wear slots and unchanged durable inventory. These focused checks do not replace the broader gameplay -audits in `TODO.md`. +audits in [feature backlog](feature-backlog.md). `server/ranged_outcome_test.go` additionally exercises failures at the character, corpse, contribution and deferred-COMMIT stages; successful solo/team deaths; diff --git a/docs/research-notes/README.md b/docs/research-notes/README.md @@ -3,7 +3,7 @@ These 75 text notes were cited by maintained documentation and retained when `local/` was deleted. They preserve detailed native addresses, decoded contracts, source citations and investigation limits that may save repeated analysis. -Personal paths were anonymized. The maintained topic documents and TODO.md take +Personal paths were anonymized. The maintained topic documents and [feature backlog](../feature-backlog.md) take precedence over these historical observations and recommendations. Referenced raw captures, snapshots, logs, JSON reports and temporary scripts were diff --git a/docs/shop-control-edits.md b/docs/shop-control-edits.md @@ -8,7 +8,7 @@ current-client check. A failed control-panel save leaves both the session and its draft intact. This regression audit did not reproduce the earlier nearby-terminal range -failure or the separate WASM `unwind` freeze. Both remain open in TODO.md. +failure or the separate WASM `unwind` freeze. Both remain open in [feature backlog](feature-backlog.md). There is no production protocol change in this milestone. ## Original client lifecycle and range check diff --git a/docs/token-upload.md b/docs/token-upload.md @@ -80,5 +80,5 @@ counter updates, exact slot removals and feedback texts. Captures and verificati Redemption does not award mission tokens, completion XP, token boards or token board bonuses. Mission kill thresholds, chance, faction exceptions and XP -arithmetic remain separate P0 work in TODO.md. This milestone must not turn the +arithmetic remain separate P0 work in [feature backlog](feature-backlog.md). This milestone must not turn the fixed starter mission's conditional XP promise into an unconditional reward. diff --git a/protocol.md b/protocol.md @@ -1,7 +0,0 @@ -# Original 11.0 protocol investigation - -The detailed protocol notes now live in [docs/protocol.md](docs/protocol.md). -Original procedure addresses, evidence IDs, captures, decoded layouts, failed -experiments, and unresolved original-client behavior are recorded there. - -Start with [docs/README.md](docs/README.md) for the original-client research index.