commit dc67d757c19d3745a35bb2a2c46709a15cf8bc85
parent dfdcb0d6b9ac741f2681f55cbc2e7af127bec558
Author: anon <anon@example.com>
Date: Tue, 3 Nov 2026 22:31:07 +0000
Close verified P0 intermediate equipment supply gate
Diffstat:
2 files changed, 69 insertions(+), 4 deletions(-)
diff --git a/TODO.md b/TODO.md
@@ -317,12 +317,18 @@ unverified mass/deletion/reclaim policies are in [backpacks](docs/backpacks.md).
- [x] Interpolate one armor family's intermediate qualities. Check: native
template endpoints, requirements, AC and visuals agree at representative
qualities and rounding boundaries, including after equip/remove and restart.
-- [ ] [P0] Supply intermediate-quality equipment for the early progression loop.
+- [x] [P0] Supply intermediate-quality equipment for the early progression loop.
Expand reviewed endpoint families through shared data, not item-name matching
or per-family Go branches. Start with useful early armor and a weapon; verify
requirements, bonuses, damage, attack/recharge, ammunition, price and native
low/high template delivery at low, intermediate and boundary QLs. Include
pickup, rejected wear, equip/remove, sale and cold recovery of the same instance.
+ Completion audit checks every listed consumer against retained original-item,
+ packet, native and cold-SQL evidence, including ordinary earned armor and a
+ mission-earned weapon. Shared supply is complete; original loot distributions,
+ mission selection, historical purchase policy and full catalog coverage remain
+ in their separate P0/P1/P2 tasks. See
+ [requirement-by-requirement audit](docs/intermediate-equipment-audit.md).
Metaplast and one reviewed QL1..11 Rusty pistol family now use the shared QL
path. The reviewed complete Low-Tech set adds QL1/2 basic-shop upgrades through
the same consumers, with ordinary earned purchases and wear of gloves and a
@@ -330,9 +336,10 @@ unverified mass/deletion/reclaim policies are in [backpacks](docs/backpacks.md).
rejected wear, earned IP training, equip/remove, a full-health kill, canceled
sale and cold retention. Ordinary Omni boss drops now also provide qualified
QL3 glove wear and earned level-4 training into retained QL5 gloves, with
- two-client effects, sales and cold retention verified. Wider early families
- and historical loot membership remain. The connected fresh-character run now
- also earns a QL3 bat, trains its requirements, removes/re-equips it and defeats
+ two-client effects, sales and cold retention verified. Further catalog families
+ and historical loot membership remain in their separate tasks. The connected
+ fresh-character run now also earns a QL3 bat, trains its requirements,
+ removes/re-equips it and defeats
a full-health level-3 encounter, retaining that exact weapon across cold load.
See [earned QL3 weapon](docs/starter-progression.md#same-character-earned-ql3-weapon),
[earned creature upgrades](docs/earned-creature-upgrade.md),
diff --git a/docs/intermediate-equipment-audit.md b/docs/intermediate-equipment-audit.md
@@ -0,0 +1,58 @@
+# P0 intermediate-equipment completion audit
+
+The shared early-equipment supply task is complete: useful early armor and
+weapons use reviewed endpoint data through their acquisition, qualification,
+equipment, combat, price and persistence consumers. Its completion check asks
+for these behaviors at low, intermediate and boundary qualities, including
+retention of the same physical instance. The retained evidence covers every
+listed check.
+
+## Requirement and evidence matrix
+
+| Completion check | Current implementation and inspected evidence |
+| --- | --- |
+| Reviewed families through shared data | `server/gamedata/item_families.yaml` supplies explicit endpoints. `server/gamedata/item_quality.go` bounds qualities; `server/item_quality.go` resolves templates and original scalar/value rounding. No family-name matcher selects these records. Full original audits cover Low-Tech, Rusty M-10, Advanced Baseballbat and the later families. |
+| Useful early armor | Ordinary earned income buys the Low-Tech glove125 for125 credits; the character retains18 items and31 credits. Eight reviewed Low-Tech pairs include all worn slots, separate sleeves and both body/leg styles. [Early armor](early-armor.md) retains the source and native purchase evidence. |
+| Useful early weapon | An ordinarily created level-2 Enforcer earns QL2 bat72 through mission completion, trains its unmet requirements, wears/removes/re-wears it and defeats a full-health authored enemy. Cold SQLite retains that same item72 in slot6, its12-item owner and68 credits. [Early melee](early-melee.md) and [earned QL3 weapon](starter-progression.md#same-character-earned-ql3-weapon) distinguish actual progression from controlled checks. |
+| Requirements and rejection | Strict ability/skill equality, profession and hand/slot restrictions preserve ownership. Public-handler checks cover both anchors and representative qualities; native Rusty QL5/6, Kevlar QL101 and East Wind QL2 refusals preserve usable inventory. Native skill training then qualifies those same items. |
+| Bonuses | Low-Tech full-set native ACs are38/38/28/9/9/9/9/9, including two independent sleeves. Recent Kevlar native and cold checks retain all eight selected ACs and the distinct vest/body contracts. Shared modifier consumers derive bonuses from the equipped inventory. |
+| Damage and timing | The reviewed Rusty family retains selected normal/Fling values and original attack/recharge/equip stats. Baseballbat checks cover its six quality points and ordinary earned combat. Recent East Wind tests check original Energy damage,67/33 weighting, attack/recharge cadence and original strict thresholds. [Catalog weapons](catalog-weapons.md) and [East Wind](east-wind.md) retain exact source contracts and limits. |
+| Ammunition | Original Rusty native checks retain20 loaded rounds, consume one to19, reload to20 and account for source bullets80then79. Owner/observer outcome packets match. Unlimited-ammunition bat and Katana checks retain zero loaded rounds without consuming unrelated ammunition. |
+| Price and sale | `ownedItem.shopPrice` reads shared selected value74; sale uses the same item. Rusty values at QL5/6 are2525/2640. Cancelled/accepted selected-quality sales have public-handler checks. Recent native Kevlar QL100 cancellation and acceptance sell the exact item8 for4962 credits and cold-retain wallet5062 and the other nine items. |
+| Native low/high delivery | Retained individual Rusty FullUpdateItem packets contain QL5/6, endpoints123742/123743, maximum15/16, critical13/14, MultiRanged36/39 and value2525/2640. Recent native armor captures include QL2/100/101 and the exact upper endpoint atQL200. Shared boundary tests collapse native pairs to low/low or high/high at authored endpoints. |
+| Pickup of the same instance | Reviewed loot checks retain selected quality and physical identity through ordinary corpse pickup, repeated requests and cold load. [Loot quality ranges](loot-quality-ranges.md) and the focused generated-pickup tests separate controlled membership from historical distribution. Ordinary bat mission hand-in consumes its bound book/key and creates the promised concrete reward once. |
+| Equip/remove and cold recovery | The earned bat remains item72, type51018, template122691, QL2, count1/ammo0, owner5/slot6 in `local/early-melee/cold-final-database.sqlite`. Recent Kevlar and East Wind traces repeat wear/removal and page/fresh-server recovery with exact identities, endpoints and quantities. |
+
+## Audit method
+
+This is a read-only completion audit of existing work. It inspects the current
+shared source paths, actual retained packet bytes, source reports and cold
+SQLite ownership, rather than treating a completion flag or a document summary
+as sufficient evidence. Bat72's cold database passes integrity and foreign-key
+checks. The Rusty packet audit respects each individual N3 packet boundary
+inside batched WebSocket frames and checks MultiRanged stat134.
+
+Twenty-two recent Kevlar/East Wind native traces have no page exceptions,
+dropped packet events or dropped lifecycle events. Their underlying item audits
+and focused passing checks cover both stored anchors and strict boundaries.
+The ordinary earned armor and bat reports are kept distinct from these
+controlled consumer fixtures. No leveling, farming, mission traversal or
+unchanged gameplay was repeated for this audit.
+
+`local/p0-equipment-audit/verification.json` records hashes of the inspected
+source, reports, wire files, cold database and recent native traces. The
+read-only verifier is `local/p0-equipment-audit/tmp_verify.py`.
+
+## Remaining work
+
+The separate P0 loot task retains original membership, chance and level-relative
+quality distributions. The P0 mission tasks retain original difficulty/QL,
+encounter variation, fixed-QL reward exceptions and token/completion-XP
+eligibility. Current reconstruction selections remain explicitly provisional.
+
+The P1 catalog-weapon and purchase tasks retain wider weapon behavior, dated
+weapon/backpack stock, purchase ammunition and stock generation/rotation. The
+P2 full-catalog and companion-event tasks retain all remaining item/effect
+coverage. Native regression coverage, broader progression and disappearance
+audits also remain open in their existing tasks. This audit adds no historical
+acquisition rule and changes no gameplay behavior.