commit e33e8b9df2f5ccfc65360c980231dc2c4781e3e0
parent 26e7bfcd12a3c1ae6e6cb2eadc38c86f9024968a
Author: anon <anon@example.com>
Date: Wed, 28 Oct 2026 05:53:49 +0000
Verify earned loot funds a native armor upgrade
Diffstat:
3 files changed, 89 insertions(+), 13 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -72,9 +72,12 @@ cash/glove across rejected wear, reconnect and cold restart. The same character
then earned level 2 through fifteen full-health kills, spent 38 earned IP to
train Agility 9->11, and wore/removed/re-wore that exact QL2 reward. Native armor
effects and all ten owned items survived another cold restart. The character
-now meets the backyard-to-city level requirement. Earning the remaining
-equipment budget, selling loot and completing the ordinary shop purchase remain
-open. See
+then crossed the city gate, completed two more fixed contracts, sold its four
+Monster Parts and traded one spare reward toward 125-credit Low-Tech gloves.
+That purchased instance improved melee/projectile AC and survived removal,
+re-wear, page reconnect and cold restart with the remaining eight items and
+9 credits accounted for. Health-supply replenishment, useful creature equipment
+drops and progression against another enemy level remain open. See
[earned fixed-mission reward](docs/starter-progression.md#earned-fixed-mission-reward).
After fixing an inactive-mesh projectile that blocked repeated native casts,
a fresh Atrox Nano-Technician completed fifteen ordinary Leet kills without
@@ -247,8 +250,9 @@ unverified mass/deletion/reclaim policies are in [backpacks](docs/backpacks.md).
pickup, rejected wear, equip/remove, sale and cold recovery of the same instance.
Metaplast and one reviewed QL1..11 Rusty pistol family now use the shared QL
path. Reviewed Low-Tech gloves now add QL1/2 basic-shop upgrades through the
- same consumers; ordinary earned funding, useful loot pools and wider early
- families remain. See [early armor](docs/early-armor.md).
+ same consumers, with an ordinary earned sale-funded purchase and wear now
+ verified. Useful loot pools and wider early families remain. See
+ [early armor](docs/early-armor.md).
- [x] Verify one intermediate-quality weapon family through shared consumers.
Check: Rusty pistol endpoints 123742/123743 at QL1,2,5,6,10,11 preserve selected
damage, criticals, strict requirements, OE, delays, ammo, price and native
@@ -1114,14 +1118,26 @@ introduction and starting-item gameplay remain open below.
its first level. Verify affordable replenishment through ordinary earned
funds, rather than relying on the initial package or passive waiting alone.
The NT route now verifies earned purchase/use of a 20-credit Nano Kit, native
- rejection of an unaffordable laboratory, and exact cold ownership. The affordable
- equipment upgrade remains open; see [earned recovery](docs/starter-progression.md#earned-recovery-purchase).
+ rejection of an unaffordable laboratory, and exact cold ownership. The Enforcer
+ route below verifies an earned armor purchase; affordable health-supply
+ replenishment remains open. See [earned recovery](docs/starter-progression.md#earned-recovery-purchase).
Measure the full upgrade budget: earned cash/loot sales, recovery charges and
the ordinary level/IP needed to meet the purchased item's requirements. QL5
Metaplast gloves cost 343 at effective Computer Literacy 40 in the Omni basic
booth and require Strength 17/Agility 18; the earlier first-level NT run had
earned only 53 before recovery spending. Audit provisional NPC health/rewards
and recovery economics together; a controlled wallet does not prove affordability.
+- [x] Verify an ordinary earned sale-funded armor purchase through the native shop.
+ The retained level-2 Enforcer walked from training through Backyard1 and
+ Entertainment to the basic armor booth. Two more fixed contracts paid 20 each
+ after two-credit request fees; four collected Parts sold for six each. Native
+ purchase rejected wallets of 95/119. A spare QL2 mission glove supplied 15 toward
+ the 125-credit QL1 Low-Tech gloves in one atomic sale/purchase, leaving 9.
+ Cancelled sale, original reward retention, exact bought instance 38, wear/remove/
+ re-wear, native AC, page reconnect and cold server/client recovery passed.
+ No wallet, item, ability, position, enemy or reward fixture was used. This closes
+ the equipment example, not health replenishment or the broader progression loop.
+ See [earned armor purchase](docs/starter-progression.md#earned-loot-sales-and-an-armor-purchase).
- [x] Add a cheaper, level-attainable basic-armor option through reviewed data.
Low-Tech gloves use explicit QL1..200 endpoints and QL1/2 stock at the original
Omni/Clan/neutral basic armor booths. Preserve authored prices, strict wear
@@ -1129,8 +1145,8 @@ introduction and starting-item gameplay remain open below.
removal, sale, cold recovery and SQL failure/ignored placement/commit retry.
The fixed stock subset is reconstruction policy. GPU WASM checks verify
both purchases, strict wear, effects/removal, canceled/accepted sale, insufficient
- funds and exact cold retention. Controlled funds/stats/location do not close
- the ordinary earned-income upgrade gate above. See
+ funds and exact cold retention. The separate earned-income check above now
+ verifies the ordinary QL1 purchase without controlled funds/stats/location. See
[early armor](docs/early-armor.md).
- [x] Preserve selected QL through shop catalogs, quotes, basket quantities,
purchases and native delivery. Each stock entry specifies template and QL;
@@ -1139,7 +1155,7 @@ introduction and starting-item gameplay remain open below.
Metaplast subset. Fixed stock, endpoint boundaries, separate same-family QLs,
rollback, strict wear and cold ownership use shared rules; see
[selected-quality armor stock](docs/shops.md#selected-quality-basic-armor).
- This does not complete the P0 ordinary earned-income equipment purchase above.
+ Broader useful stock and health-supply replenishment remain separate work.
- [x] Populate shop rooms with their missing vending machines. Restore all 795
original placements, 582 nonidentity rotations and 188 authored mesh overrides
through one registry. Native WASM checks cover Omni, Clan and neutral rooms,
diff --git a/docs/early-armor.md b/docs/early-armor.md
@@ -54,7 +54,12 @@ and 130/132 in Clan/neutral. At a starter's lower literacy the Omni prices are
with two abilities at 8, while QL2 requires 10; ordinary IP and breed/level caps
still apply. These are cheaper low-level upgrades, not proof that the current
loot economy funds them suitably or that every breed can immediately wear them.
-The ordinary earned-income purchase/equip acceptance gate remains open.
+An ordinary earned-income QL1 purchase/equip check now passes for the retained
+level-2 Enforcer: four generated Parts and one spare fixed-mission reward funded
+the 125-credit purchase, with the original reward, bought instance, effects and
+9-credit balance retained after cold restart. See
+[earned armor purchase](starter-progression.md#earned-loot-sales-and-an-armor-purchase).
+Broader loot/recovery economics and other starter breeds remain open.
## Verification
diff --git a/docs/starter-progression.md b/docs/starter-progression.md
@@ -317,7 +317,7 @@ SQLite foreign-key/integrity checks. One shared HTTPS preview remains on 8443.
## Remaining acceptance
-Useful equippable production drops, affordable useful equipment purchases,
+Useful equippable production drops, affordable health-supply replenishment,
broader enemy-level progression and broader death/reclaim
coverage remain open. Ordinary return to training is now verified above.
Solitus starter viability needs further audit. The
@@ -470,4 +470,59 @@ SQLite snapshots alongside them. There were no page exceptions or adapter
aborts. The separate creation-to-level server regression uses controlled rolls
and is described in [IP training](ip-training.md#training-earned-rewards-and-persistence-failures).
Owned test browsers are closed, with one preview on the default ports retained.
-Earned loot sales and the funded equipment-purchase gate remain open.
+The following check covers the earned sale and equipment-purchase step.
+
+### Earned loot sales and an armor purchase
+
+The same retained level-2 Enforcer completed two further ordinary fixed missions,
+collecting and returning each contract's exact book. Each request charged two
+credits and each completion granted 20 plus its own QL2 Metaplast glove. The
+wallet rose 59->57->77->75->95. No mission XP was granted; level 2, cumulative
+XP 1500, IP 5139, Strength 15 and Agility 11 remained unchanged. The original
+earned glove 26 stayed worn; the extra rewards were 34 and 37.
+
+Native walking crossed the Backyard1 city exit at level 2 without charging cash,
+then reached the original basic shop 1183 through Entertainment. The armor booth
+3221226655 quoted 125 for QL1 Low-Tech gloves 70562 and rejected the 95-credit wallet
+with the correct 30-credit shortfall. Offering Part 29 quoted six; cancellation
+restored the same item without paying cash. Its subsequent accepted sale and a
+three-Part basket paid 24 total, leaving 119. All four sold identities 27/29/30/31
+were removed, with the issued gear and all three mission rewards accounted for.
+
+The 119-credit wallet still could not afford the gloves. Offering spare reward 34
+supplied 15 in sale proceeds, allowing the 125-credit buy row in that same basket.
+Acceptance atomically removed 34 and delivered instance 38 at QL1, leaving 9 credits.
+The other spare 37 and original reward 26 remained owned. No test grant, stat edit,
+teleport, modified reward or balance change funded this transaction.
+
+Right-clicking the new gloves while hands were occupied retained both pairs.
+After removing 26 normally, the purchased pair equipped in hands 24. Including the
+issued shirt, native AC90..97 changed from 2/12/2/2/1/1/1/1 to 3/13/1/1/1/1/1/1:
+a melee/projectile improvement, with less energy/chemical protection. Removing
+38 returned it to inventory and restored shirt-only AC 0/10/0/0/0/0/0/0; re-wear
+restored the new bonuses. Page reconnect and a real unchanged-database server
+restart retained all eight items, instance 38 worn, 9 credits, the learned program,
+abilities, XP and IP. Early delivery probes had an unresolved zero-ID proxy;
+fully materialized reconnect/cold views matched the durable 38 exactly.
+
+`local/earned-armor/market-verification.json` asserts the cash sequence, exact
+frozen inventory phases, two independent completion packets, native transaction
+rows, armor effects and cold recovery. Native screenshots were inspected and all
+three run error lists were empty. A queued walking command initially used backyard
+coordinates after zoning; the bounded driver stopped at a city wall and its owned
+browser closed normally. That harness mistake is excluded from movement acceptance;
+subsequent walking reached the shop without position edits. The harness now rejects
+walk targets over 200 meters away to catch this mistake before movement.
+
+Focused Go regressions passed 92 root tests (331 results), covering shops,
+Low-Tech wear/rollback, mission rewards/return and earned loot sales. The race
+selection passed five root tests (27 results), including mixed-basket funding,
+failed multi-sale writes, Low-Tech purchase/wear/sale and repeat mission return.
+Logs and asserted counts are in `market-go.json`, `market-race.json` and
+`market-test-verification.json`. This milestone changes documentation only;
+the server and published WASM implementation used for the scenario are unchanged.
+
+The owned test browser is closed and the single LAN preview remains on default
+ports. This verifies one earned equipment purchase alongside the earlier Nano Kit
+purchase; it does not establish health-supply replenishment, useful creature armor
+drops, broader enemy levels or historical mission/population/reward generation.