Files
ashen-realms/apps
Bastian Wagner a454cf955e test(shop): make three nominal spec §10 cases exercise what they claim
Case 7 ("price is still required even when the reputation condition is met")
and case 3 ("sufficient regional reputation allows purchase") both built
fixtures with `conditions: []`. With no requirement present, none can be met,
so neither test touched the gate it was named after. Both now carry a
satisfied REGION_REPUTATION condition.

Case 4 ("insufficient World Renown blocks purchase") had no test at all. It
matters because a renown block must surface as SHOP_OFFER_LOCKED rather than
MERCHANT_REPUTATION_TOO_LOW -- renown is not the merchant's regard, and
telling the player to go and earn reputation would point at the wrong bar.
Verified by widening the reputation-blame check to include WORLD_RENOWN, which
fails the new test alone.

Also pins a bag offer's description to empty, so the duplicate capacity line
cannot come back through the API side.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 21:07:25 +02:00
..