Files
codex-oauth-plus-onboarding…/skill/codex-oauth-plus-onboarding/references/openai-add-phone-eu4-total10-2026-05-10.md
T

62 lines
2.6 KiB
Markdown

# OpenAI add-phone EU4 total-10 SMS run notes (2026-05-10)
## Trigger
Use these notes when BOSS asks to broaden 5sim SMS phone-verification countries around Europe while keeping the latest strict OpenAI `add-phone` runner behavior.
## User preference captured
When BOSS says to try a set of regions and says "设为/跑 10 次", interpret it as **10 total attempts across the configured country order** unless BOSS explicitly says "每个国家 10 次". This avoids burning unnecessary 5sim orders.
## Country order used
```text
italy,poland,spain,england
```
## Required OpenAI country mappings
| 5sim slug | OpenAI ISO | Visible selector text | Dial prefix |
| --- | --- | --- | --- |
| `italy` | `IT` | `意大利 (+39)` | `39` |
| `poland` | `PL` | `波兰 (+48)` | `48` |
| `spain` | `ES` | `西班牙 (+34)` | `34` |
| `england` | `GB` | `英国 (+44)` | `44` |
## Runner changes made during the session
A temporary latest runner was created from the strict-gate runner:
```text
/tmp/phone_verify_eu4_total10_latest.py
```
It should be promoted/copied into the skill package if it continues to be useful. It differs from the previous strict runner by:
1. Adding Italy/Poland/Spain mappings.
2. Keeping UK mapping as `england` -> `GB` -> `英国 (+44)`.
3. Enforcing `MAX_TOTAL_ATTEMPTS = 10` across all countries, not per-country.
4. Retaining the existing strict country gate before buy and before submit.
5. Retaining official-update learnings:
- probe resend channel before clicking;
- cancel/rotate if WhatsApp is detected under SMS-only policy;
- classify 500/contact-verification server errors;
- cancel activations if a gate or server error occurs.
## First-run evidence
The EU4 run started successfully. The first attempt was Italy and passed the country gate before buying:
```json
{"phase":"country_gate_before_buy","country":"italy","attempt":1,"ok":true,"country":"意大利 (+39)","selectValue":"IT","expected":"意大利 (+39)"}
```
A 5sim activation was bought only after the gate passed. Full phone number is intentionally not recorded.
## Pitfalls
- Do not rely on `PHONE_VERIFICATION_REPLACEMENT_LIMIT=10` alone when multiple countries are configured; the old runner interprets that as per-country. Add a global attempt counter when BOSS asks for total attempts.
- Keep the strict country/area-code gate. Do not submit European numbers while the selector is still `美国 (+1)`.
- Keep SMS-only policy. Do not click WhatsApp resend unless BOSS explicitly approves switching away from SMS-only.
- If the run is interrupted, immediately check/cancel any active 5sim activation in `RECEIVED` state.