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

115 lines
2.9 KiB
Markdown

# EU4 phone verification run and round-robin correction (2026-05-10)
## Request
BOSS requested broadening 5sim SMS countries to:
```text
Italy, Poland, Spain, United Kingdom
```
and running the latest strict-gate workflow for 10 attempts.
## Intended config
```text
FIVE_SIM_COUNTRY_ORDER=italy,poland,spain,england
PHONE_VERIFICATION_REPLACEMENT_LIMIT=10
```
Country mappings:
| 5sim country | OpenAI ISO | Visible selector | Prefix |
| --- | --- | --- | --- |
| `italy` | `IT` | `意大利 (+39)` | `39` |
| `poland` | `PL` | `波兰 (+48)` | `48` |
| `spain` | `ES` | `西班牙 (+34)` | `34` |
| `england` | `GB` | `英国 (+44)` | `44` |
## Actual first EU4 run outcome
Runner:
```text
/tmp/phone_verify_eu4_total10_latest.py
```
Log:
```text
/tmp/phone_verify_eu4_total10_latest.log
```
Result:
```json
{"phase":"phone_failed_all","total_attempts":10,"order":["italy","poland","spain","england"]}
```
Important correction: although the order included four countries, the script loop ran all 10 attempts against the first country (`italy`) because it nested `for country in ORDER` outside `for attempt in LIMIT` and stopped after the global total reached 10. It did not test Poland, Spain, or UK in that run.
## Italy findings
All bought orders were canceled. Examples:
- `1006744560`
- `1006745080`
- `1006745501`
- `1006746015`
- `1006746588`
- `1006747049`
- `1006747555`
- `1006748145`
Observed pattern:
1. Strict country gate passed before buying:
- `意大利 (+39)`
- `selectValue=IT`
2. OpenAI accepted or transitioned into phone verification/waiting state.
3. 5sim status stayed `RECEIVED` with `sms_count=0`.
4. Resend probe detected WhatsApp delivery, e.g.:
```text
重新发送 WhatsApp 消息
```
5. Under BOSS's SMS-only policy, runner canceled the SMS activation instead of clicking WhatsApp resend.
Conclusion for Italy:
```text
Italy +39 did not produce SMS via 5sim/openai in this run; OpenAI repeatedly exposed WhatsApp resend, so SMS-only automation canceled the activations.
```
## Runner bug fixed
A corrected round-robin runner was written:
```text
/tmp/phone_verify_eu4_roundrobin10_latest.py
```
The corrected runner attempts countries in round-robin order:
```text
attempt 1: italy
attempt 2: poland
attempt 3: spain
attempt 4: england
attempt 5: italy
...
```
This prevents a global limit from being exhausted by the first country only.
## Workflow rule added
When BOSS says "expand countries A/B/C/D and run N attempts", interpret `N` as global attempts unless BOSS explicitly says "per country". Use a round-robin schedule so each configured country is actually tested before repeating the first one.
## Still mandatory
- Strict country/area-code gate before buying and before submit.
- No non-US number on `美国 (+1)`.
- Probe resend channel before clicking.
- If resend channel is WhatsApp and BOSS policy is SMS-only, cancel activation and rotate/stop.
- Cancel any active activation on interruption or flow failure.