# DigiDala — Alpha50.2 Changeset

## Goal

Replace the provisional `135 Stars -> 1 Pix` exchange model with the final current
one-to-one internal currency rule and update the paid Support Mandala cell price.

## Product/economic rules

```text
1 Star = 1 Pix

Pix purchase options:
1 / 50 / 100 / 500 / 1000 / 2000 Pix

Мандала поддержки:
95 Pix / клетка
```

Pix remains a reusable internal balance. A user can purchase Pix once and then spend
the balance across paid Mandalas according to each Mandala's `cell_price_pix`.

Existing Pix ledger balances and historical payment records are preserved unchanged.
No balance conversion is required for the current test state.

## Implementation scope

- Add migration `011_pix_economy_1_to_1_and_cell_prices.sql`.
- Set `pix_settings.stars_per_pix` to `1`.
- Set the Support Mandala `cell_price_pix` to `95`.
- Change server-provided Pix purchase options to `1 / 50 / 100 / 500 / 1000 / 2000`.
- Keep the existing server-authoritative `pixAmount` purchase API and Telegram invoice flow.
- Update Mini App cache-busting/version to `0.4.0-alpha.50.2`.
- Update integration/API coverage for the new economic values.
- Do not change Sandbox behavior or the separate project-support Stars flow.

## Acceptance criteria

1. `GET /api/v1/pix/balance` reports `stars_per_pix = 1`.
2. `GET /api/v1/pix/balance` reports purchase options `[1, 50, 100, 500, 1000, 2000]`.
3. A purchase quote for `N` Pix requires exactly `N` Stars.
4. The Support Mandala reports `cell_price_pix = 95`.
5. A paid Support occupation debits 95 Pix atomically and rejects an acquisition with an insufficient balance.
6. Existing Pix ledger rows are not migrated or rewritten.
7. Sandbox and project-support Stars behavior remain unchanged.
8. Full automated project checks remain green.

## Verification status

```text
Automated verification: pending
Deployment: not performed
Manual Telegram QA: pending
```
