commit 644bbc739fe0e03b1ec7fc869f056326ddd2f815
parent 64377c7e76fd3b78feed3dcd8ddacc9175083ab5
Author: anon <anon@example.com>
Date: Thu, 29 Oct 2026 15:44:40 +0000
Verify earned level-five progression and cold recovery
Diffstat:
4 files changed, 78 insertions(+), 10 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -704,17 +704,19 @@ for exact records, protocol, tests and remaining reconstruction assumptions.
ranges; enemies outside the admitted range still reject mission generation
before fees. Original NPC growth and damage-rating scaling remain unresolved.
Leet levels 1..10 are admitted; higher levels and additional early families
- remain open. The retained native player now clears all five full-health
- level-7 enemies and receives the QL7 reward, but remains at level4. Further
- ordinary player levels and an original universal HP/XP/skill curve are still
- unverified. See the [native upper-range check](docs/mission-levels.md#native-level-four-upper-range-check),
+ remain open. The retained native player clears all five full-health
+ level-7 enemies and receives the QL7 reward. Subsequent ordinary level-5
+ kills now earn player level5, whose normal training unlocks the saved QL6
+ glove. Further ordinary player levels and an original universal HP/XP/skill
+ curve remain unverified. See the [native upper-range check](docs/mission-levels.md#native-level-four-upper-range-check),
including zero/one-free-slot reward refusals, two-slot retry and complete item
accounting through reconnect.
A public-handler regression now covers the level4 -> 5 boundary, atomic
level-cap refusal, the QL6 glove's rounded strict Strength/Agility gates,
earned training costs and wear/remove/rewear with cold state conservation.
- Ordinary native level-five progression remains unverified. See
- [later earned-level regression](docs/character-progression.md#later-earned-level-regression).
+ It also checks the higher health maximum without refilling current health.
+ See [later earned-level regression](docs/character-progression.md#later-earned-level-regression)
+ and [native earned level five](docs/mission-levels.md#native-earned-level-five).
- [x] Verify mapped Tiny Stalkers as a second ordinary early combat family.
Admit only SR01 at levels 2..4 through shared profiles, preserving medium
identity confidence, attack-selection uncertainty and provisional balance.
diff --git a/docs/character-progression.md b/docs/character-progression.md
@@ -280,8 +280,11 @@ The original glove endpoints interpolate to strict Strength >18 and Agility
>20 comparisons. Training Strength 17 -> 19 and Agility 18 -> 20 costs 109 IP
and still refuses wear at equality. The final Agility point costs 40 IP and
allows wear, removal and rewear. Every phase cold-loads the same identity and
-quality, earned level, XP and trained stats; leveling does not refill health.
-This automated check does not establish an ordinary native level-five journey.
+quality, earned level, XP and trained stats. With Stamina 22 and raw Body
+Development 25, maximum health rises from 173 to 180 while current health stays
+173, including cold reconstruction and the equipment lifecycle. The isolated
+fixture does not measure encounter balance; the ordinary native journey is
+recorded in [mission levels](mission-levels.md#native-earned-level-five).
## Retained evidence
diff --git a/docs/mission-levels.md b/docs/mission-levels.md
@@ -141,4 +141,62 @@ was closed afterward; the existing LAN preview stayed running. Evidence and
verification scripts are under `local/earned-fifth-level/`. The focused race
suite passed 23 root tests/140 results; the additional inventory/recovery suite
passed 18 root tests/91 results, with no failures or skips. An ordinary native
-level-five journey and broader historical balance remain open.
+level-five journey is recorded below; broader historical balance remains open.
+
+## Native earned level five
+
+The same ordinary Atrox Enforcer continued from level 4, XP 1700 and IP 11229.
+Normal training spent 300 IP on Sense, Brawl, Dimach, Sneak Attack and Fast
+Attack, qualifying the saved QL7 bat 203 with an ordinary Thug's Delight cast.
+It replaced bat 93, which remained in inventory. Six spare gloves sold for
+95 credits; a 150-credit purchase merged 50 laboratory charges into retained
+kit 144, giving 54 charges and 127 credits before the next contracts.
+
+Three difficulty-9 requests made at level 4 selected level-5 encounters and
+QL5 rewards. Each contained five 175-HP Leets. The fourteenth ordinary kill
+crossed the level-5 boundary: current-level XP became 150, IP rose by 4000 to
+14929 and maximum health increased from 173 to 180. Native current health
+was 120 after leveling. The original client also displayed its
+level-5 congratulatory message.
+
+Normal training then raised raw Strength 17 -> 19, Agility 18 -> 21 and 1h Blunt
+25 -> 30 for exactly 284 IP. Removing QL5 glove 145 and wearing saved QL6 glove
+169 retained both identities and all other owned items. Native AC 90..97 rose
+from `12/21/8/7/4/4/4/4` to `13/22/9/8/4/4/4/4`; glove 169 occupied hands slot
+24 and glove 145 remained in ordinary slot 75. Bought laboratory charges
+recovered the character to the new 180-HP maximum.
+
+All fifteen fights began at full player health: 173 HP for the first fourteen
+and 180 HP for the last. Each enemy awarded 175 XP, giving 2625 earned XP and
+final current-level XP 325/IP 14645. All three books returned successfully for
+QL5 rewards 211, 218 and 222; the accepted third contract kept its selected
+level and reward quality through the player's advancement. Two collected
+Monster Parts had QL5 and QL6. Nine charges were
+used in the first contract, eleven in the second and nine in the third,
+including recovery afterward. Natural regeneration also contributed, so this
+observed 29-charge bill does not establish a minimum recovery cost.
+
+A cold restart before the last hand-in retained all earned progress, trained
+skills, equipment, learned Thug's Delight, the active contract and five death
+records. Its final corpse reopened after restart without paying its already
+claimed five credits again; it had no item drop. Collecting the saved objective
+then consumed book 220/key 219 once and delivered bat 222 plus 20 credits.
+A second cold restart and native page reconstruction retained all 32 owned
+identities, exact qualities, template pairs, slots, ammunition and counts,
+including the final reward, replaced bat/gloves and 25 remaining lab charges.
+
+The wallet reconciles as `182 + 95 - 150 - 12 + 28 + 60 = 203`: six sales,
+one supply purchase, three request fees, collected corpse cash and three
+returns. All 33 starting identities are accounted for: six recorded sales,
+27 retained, two new parts and three rewards. All fifteen encounter deaths
+are durable; every consumed book/key is absent. SQLite integrity/foreign-key
+checks and the 55-root-test/293-result focused race suite pass. No WASM page
+errors occurred. No grants, stat edits, teleports or enemy resets were used.
+Owned browsers were closed; the same binary remains available through the
+single LAN preview.
+Evidence and scripts remain under `local/earned-fifth-level/`.
+
+These checks establish the current normal-play path through player level 5.
+Encounter HP/XP/skill growth, loot and mission reward generation remain
+provisional; original universal growth curves, later player levels, broader
+enemy families and conditional completion XP/tokens remain open.
diff --git a/server/fifth_level_reward_test.go b/server/fifth_level_reward_test.go
@@ -15,7 +15,10 @@ func TestFifthEarnedLevelUnlocksSavedQualitySixReward(t *testing.T) {
player.stats = defaultCharacterStats(4)
player.stats.Abilities.Strength = 17
player.stats.Abilities.Agility = 18
+ player.stats.Abilities.Stamina = 22
+ player.stats.Body.BodyDevelopment = 25
player.stats.ImprovementPoints = 1000
+ player.health = 173
// A level-two Leet remains XP-eligible at player level four.
world.characters[1000000].level = 2
world.characters[1000000].combatProfile = gamedata.NPCCombatProfiles[17655][2]
@@ -47,6 +50,7 @@ func TestFifthEarnedLevelUnlocksSavedQualitySixReward(t *testing.T) {
if player.level != 4 || player.experience != 3950 || player.stats.Abilities.Strength != 17 ||
player.stats.Abilities.Agility != 18 || player.stats.ImprovementPoints != 1000 || client.equipment != nil ||
+ player.health != 173 || player.maximumHealth() != 173 || cold.characters[1].health != 173 ||
cold.characters[1].stats != player.stats || !slices.Equal(player.inventory.Items, expected) ||
!slices.Equal(cold.characters[1].inventory.Items, expected) {
t.Fatal("level-four cap or insufficient wear changed the saved reward or IP", player.stats, player.inventory)
@@ -63,6 +67,7 @@ func TestFifthEarnedLevelUnlocksSavedQualitySixReward(t *testing.T) {
if player.level != 5 || player.experience != 50 || player.stats.ImprovementPoints != 5000 ||
player.stats.Abilities.Agility != 18 || client.equipment != nil || cold.characters[1].level != 5 ||
cold.characters[1].experience != 50 || cold.characters[1].stats != player.stats ||
+ player.health != 173 || player.maximumHealth() != 180 || cold.characters[1].health != 173 || cold.characters[1].maximumHealth() != 180 ||
!slices.Equal(cold.characters[1].inventory.Items, expected) {
t.Fatal("earned level bypassed training or lost the saved reward", player.level, player.experience, player.stats, player.inventory)
}
@@ -102,7 +107,7 @@ func TestFifthEarnedLevelUnlocksSavedQualitySixReward(t *testing.T) {
for _, current := range []*server{world, cold} {
owner := current.characters[1]
if owner.level != 5 || owner.experience != 50 || owner.stats.Abilities.Agility != 21 ||
- owner.stats.Abilities.Strength != 19 || owner.stats.ImprovementPoints != 4851 || owner.health != 25 ||
+ owner.stats.Abilities.Strength != 19 || owner.stats.ImprovementPoints != 4851 || owner.health != 173 || owner.maximumHealth() != 180 ||
!slices.Equal(owner.inventory.Items, expected) {
t.Fatal("trained reward lifecycle lost identity, quality, earned level or IP", move, owner.inventory, owner.stats)
}