Files
windroost/tools/fullgame
wushenghua e36e337af0 feat: complete new-sky decisions — unlock gate, edict shop, full preview (design 8.2/8.3)
Continued the active goal: close the four real gaps in the transcendence/new-sky
layer that the audit surfaced (prestige numbers were done, but the decisions
were not).

1. New-sky unlock gate: new_sky_unlock() in prestige.py/.gd (parity) requires
   completed_regions>=5 OR rift_layer>=50; chapter 1 only unlocks rebuild.
   The confirm_new_sky action re-checks the gate at the boundary (refuses and
   changes nothing while locked). Added rift_layer profile field + normalize +
   reset on new sky.
2. Edict purchase economy: sky marks buy the 9 wind edicts; edict_cost() is
   deterministic and escalating (D01=5 .. D09=29, parity-tested). buy_edict()
   debits marks, sets ownership, rejects duplicates / insufficient balance,
   never goes negative, no real-money path. Skyport 风之律令 shop modal lists
   all 9 with cost + rule description + buy/owned/disabled states.
3. Full decision preview (design 8.3): the modal now shows both gains, unlock
   progress (region x/5, rift x/50), an estimated time-back-to-node (paper
   pacing 1.9s/node, labelled as an estimate), the chosen oath's resource
   direction, retained items, and a shop entry — so no forced blind prestige.
4. Tests: extended check_prestige_parity with unlock/buy/ETA cases; new
   prestige_decision_ui_test drives gate/shop/preview/reset through the real
   shell. Registered in full gate.

Also fixed modal top inset (14->24) so long shop titles no longer clip into
the golden frame. Re-captured affected store (16) and UI screenshots.

All gates pass; P2_CHECKS_PASS. prototype/ untracked.
2026-11-18 18:27:42 +08:00
..