File size: 3,039 Bytes
65f993f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Progress — HF connect + API analysis

**UTC window:** 2026-07-20 ~14:11–14:20Z  
**Base:** https://korewhitelabelmall.xyz → `129.121.79.248`

## Phase 1 — Hugging Face connection (verified)

| Check | Result |
|-------|--------|
| MCP `hf_whoami` | Authenticated as **Shaurya2020** |
| CLI `hf auth whoami` | **Shaurya2626** |
| VPS `HF_TOKEN` | **SET** (not printed) |
| `FEED365_HF_OUTCOME` | `1` |
| `FEED365_HF_AUTO_DECLARE` | `1` |
| `FEED365_HF_MIN_CONFIDENCE` | `0.75` |
| `FEED365_HF_INFERENCE_MODEL` | `Qwen/Qwen2.5-1.5B-Instruct` |
| `FEED365_HF_DATASET_ALLOW_DECLARE` | `0` |
| `FEED365_HF_AUTO_REFRESH_MS` | `120000` |
| HF Jobs schedule | **Blocked** historically (402 prepaid credits) — in-API tick is primary |
| pm2 | `lego-api`, `lego-feed365-upstream`, `lego-feed365-ws` **online**; servercjs variants stopped |

### Live settlement smoke (HF path)

| Field | Value |
|-------|--------|
| betId | `hf-docs-smoke-*` |
| settlementId | `8d773562-73cb-46f7-a5a8-2878b2a53dcf` |
| Teams | Nashville SC vs Atlanta United FC |
| After refresh | `status/outcome=won` |
| `outcomeSource` | `public_board+hf` |
| `hfConfidence` | `0.95` |
| `needsLocalClose` | `true` |
| `hfState` | `resolved` |

**Conclusion:** HF + public boards auto-declare works for finished match-odds with snapshot team names.

## Phase 2 — Live platform snapshot

| Probe | Result |
|-------|--------|
| `/365/health` | `live`, `upstreamSource=vps`, `ingestVpsOnly=true`, `ageSec≈0`, `eventCount≈147` |
| `/365/socket/odds` | `200` live |
| `/365/soccer/inplay` | count **39** |
| `/365/cricket/inplay` | count **10** |
| `/365/health` no key | **401** |
| `/365/docs` | **200** |
| `/openapi.json` | **200** |
| `/health` | **200** |
| `/ready` | **503** (feeds/streams readiness — platform, not Feed365) |
| `/api/feeds/ready` | **503** (same) |
| `/api/diamond` | **200** |
| Provider contracts (ezugi/cq9/lucky/vivo/wicketspro) | **200** |
| `/api/gap-providers` | **200** |
| `/api/feeds/huidu/catalog` | **200** |
| `/api/uae` | **404** (empty mount / no index) |
| `/api/turbo246` | **404** (no root handler) |
| Open settlements (`?open=1`) | **2** (incl. inplay stay-open + any residual) |

## Prior session milestones (context)

1. **VPS-only upstream**`POST /365/ingest` requires `X-Feed365-Upstream: vps`; Mac harvest disabled.
2. **Settlement durability** — store v2, snapshots, `SETTLEMENT_NOT_FOUND` + recovery, `needsLocalClose`, orphan_recoverable.
3. **HF confidence gate fix** — hard panel/sportscore finishes no longer blocked by prior `outcomeSource=huggingface`.
4. **Deploy safety** — `scripts/deploy-to-vps.sh` excludes `data/` so settlements/wallets are not wiped by `rsync --delete`.
5. **Store wipe incident** — pre-exclude deploy recreated empty store; no backup found; only post-wipe traces remain.

## Account split (ops note)

- Use **MCP Shaurya2020** for Hub/Jobs from Cursor.
- Use **CLI Shaurya2626** for `feed365-settle-scripts` and progress dataset uploads unless tokens are unified.