---
name: opening-blessing-buckets
description: Architect Minute-0 roguelike 3-choice opening blessings using strict 3-slot bucketing (Safe Floor / Build-Defining / Explicit High-Risk Gamble) plus a hidden Newly-Unlocked Card Slot-1 priority override. Eliminates the 1.8% all-downside instant-restart bug and 67.9% missing-archetype failure rate of flat 8-pool random sampling.
---

# Opening 3-Slot Blessing Buckets & New-Unlock Slot-1 Priority

A roguelike's Minute-0 3-choice opening blessing (*Slay the Spire* Neow, *Hades*, *Zhaoshi Wulin* Shrine) is **not** a flat charity handout — it is a **Player Personality Test** serving three distinct mindsets:
- **Safe Strategists** (zero downside floor)
- **Build Architects** (Minute-0 archetype lock-in)
- **High-Rollers** (explicit price for massive ceiling)

Never throw all 8 blessings into one flat pool and sample 3 without stratification. With 3 downside items in an 8-item pool:
- `1 / C(8,3) = 1.8%` of runs roll **3 downside curses at once** (e.g., Old Wound + Distraction + Max HP -8), causing immediate rage-restarts at Minute 0.
- `38 / 56 = 67.9%` of runs **fail to offer all 3 archetypes**!

## 1. The 3 Mandatory Rules (Extracted from *Zhaoshi Wulin*)

1. **Rule 01 — Strict 3-Slot Stratified Buckets**:
   - **Slot 1 (Safe Floor · Zero Downside)**: Sample strictly from zero-penalty comfort picks:
     - *Pack Full*: `+6 Max HP`, `+6 Heal`, `+10 Gold`
     - *Travel Light*: Remove 1 starter card immediately
     - *Keepsake Relic*: Claim 1 Common Relic (e.g. *Jade Bell*)
   - **Slot 2 (Build-Defining · Sets Run Identity)**:
     - *Secret Technique*: Draft 1 of 3 Uncommon cards (*Charge Fist* / *Flurry Strike* / *Flow Palm*)
     - *Morning Drill*: Upgrade starter technique `Lv.0 -> Lv.1`
   - **Slot 3 (High-Risk Gamble · Explicit Price for High Ceiling)**:
     - *Boss Relic Gamble*: Boss Relic (*Blazing Seal*: `+1 STR`, `+2 Turn-1 Draw`) **+** Curse (*Old Wound*: `-2 HP` if held in hand)
     - *Rare Manual Gamble*: Rare 3-pick-1 draft **+** Pollution (*Distraction*: dead draw slot)

2. **Rule 02 — Always Price the Risk Upfront**:
   - Never hide penalties behind mystery wording on Slot 3. Display the exact curse/pollution effect on the card face so bold players opt into tension voluntarily and feel clever when they manage it.

3. **Rule 03 — Hidden Newly-Unlocked Card Slot-1 Priority Override**:
   - Whenever the player unlocked a new card at the end of the previous run (`meta.justUnlockedCardId`), secretly override Candidate #1 inside the opening 3-card draft:
     ```ts
     if (meta.justUnlockedCardId && candidates.length >= 3) {
       candidates[0] = getCardById(meta.justUnlockedCardId);
     }
     ```
   - Players get to play with their freshly unlocked toy at Minute 0 instead of grinding 5 more runs hoping RNG drops it. Clear the priority flag once drafted or offered.

## 2. Verification Checklist (Run Before Merging)
- [ ] Across 1,000 simulated openings, **0%** roll all-downside choices (`allDownsideCount === 0`).
- [ ] Across 1,000 simulated openings, **100%** include 1 Safe Floor + 1 Build-Definer + 1 High-Risk Gamble.
- [ ] When `justUnlockedCardId` is set, `buildDraftCandidates()[0]` strictly equals that unlocked card.
- [ ] Slot 3 blessing descriptions explicitly list both the high-ceiling reward and exact downside card/cost.
