aorecomp

Anarchy Online classic in the browser

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


docs/alpha-readiness.md (8032B)


Alpha readiness review - November 4, 2026

The project has made substantial implementation progress, but its work queue 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 completed alpha plan 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.

Direction in the history

The TODO grew from a late-October-22 snapshot of 560 lines to 5,424 lines at the reviewed HEAD. It still had 172 open checkboxes, including seven P0 umbrellas. The latter were: further levels/enemy families; historical loot qualities; mission token/XP eligibility; mission level/reward mapping; disappearing equipment; corpse loot/expiry; and a connected two-client progression run. Several combine working mechanisms with missing historical arithmetic or undefined remaining breadth. They cannot all be treated as immediate alpha blockers without making the finish line indefinite.

The previous complete text is retained in the feature backlog. Its checked entries remain evidence for their specific cases, not a current release certification. The new plan does not mark existing bugs fixed.

The reported first-impression failures

Report What the repository establishes Next useful check
NPCs walk, then jump The prior movement issue is checked off. roaming.go, npc_motion.go and npc_pursuit.go share simulation/route behavior; prior tests measured particular stop errors. Reopen the report, identify the served build, capture the actual Trade actors and correlate continuous rendered motion with authoritative state. Do not assume the old cause has recurred.
E does nothing on OT Food Provider shops.go:handleShopUse accepts type 51035 machines. Both Trade providers are NPC groups; neither is registered in gamedata/npc_scripts.go. dialogue.go returns silently when no script exists. There is no implemented reusable NPC-vendor purchase path. Implement shared NPC shop interaction and bind these providers, then the finite early-route vendor set.
Generic Elite Guards The Trade FEEL records explicitly have appearance_status: best_effort; makeNPCSpawn sets name/body/appearance but no head or worn outfit. Human snapshots supply base body textures and default heads. Verify the actual body and missing outfit separately; supply appearance data and shared delivery. Dressing humans is relevant, but the reviewed code does not establish the correct historical outfit.
Closed doors still teleport zoning.go resolves trigger crossings and destinations. The implemented doorPacket/doorStatusPacket callers are mission passages initialized open. That does not implement city/shop proximity door transitions. Identify the exact reported portal meshes and state/animation path. The audit does not prove which original portals should animate.
Empty shop windows handleShopUse deliberately omits the catalog update when a machine template has no ShopStock. The checked-in catalog is a supported subset. Audit and populate the actual basic shops across all factions. This is expected from the incomplete implementation, not acceptable as a working basic-shop experience.

Architecture assessment

The reviewed tree contains 708 Go files under server: 152 production files and 556 test files. Of the tests, 141 are named browser_*_test.go. These counts exclude the thousands of embedded game-data/assets files. The directory size does not mean there are thousands of independent server subsystems.

There are useful shared foundations: a common character representation, movement/geometry, item requirements, inventory transactions, shops, combat and persistence. Reusing them is preferable to replacing the engine. There is also substantial coupling: most production code is one main package, the central character/server types span many concerns, packet construction and game rules often live together, and browser fixtures directly manipulate internal state. Packet-specific repairs can be legitimate client contracts; their number alone does not establish that they are arbitrary workarounds.

The proposed Playwright direction already exists in part. For example, browser_starter_cold_test.go creates an isolated Go server, adds /test-state to a test-only mux, and launches tools/client/test_starter_cold.mjs. There are 146 test_*.mjs modules under tools/client, plus the reusable game_test.mjs driver. Go owns setup/lifecycle and JavaScript drives the browser.

Consolidate that boundary incrementally: one small test-only fixture host for scenario setup and authoritative observations, ordinary Playwright modules for actions/assertions, and Go tests for rules/transactions. Do not add a broad production debug API or migrate all wrappers as a prerequisite for fixing the five visible failures. Extract production package boundaries only when actual ownership/dependency problems justify the change.

A separate public-launch issue is concrete: main.go binds HTTP/HTTPS on all interfaces using httpHandler, and that handler registers unauthenticated /admin character, inventory, time and teleport routes. The plan includes isolating administration before public hosting. A reverse proxy might already restrict a deployment, but the source does not guarantee that isolation.

Operating decision

Keep all factions and a broader early game in alpha, as requested. Use levels 1-10 as the finite working target; do not reduce the preview to one faction or a level-2 demonstration. Keep historical reconstruction separate from whether the offered game works. Validate actual earnings where economics is the question, and use checkpoints everywhere repeated grinding supplies no new evidence. Finish visible defects first, then close a compact all-faction matrix of progression, inventory/recovery and release checks.