Closes #023-warn - Implement PEAD fallback transparency warning badge
This commit is contained in:
@@ -136,3 +136,33 @@ Indicators in the cockpit cards use HSL-tailored status lights (Emerald-Green, A
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### PEAD Drift Radar API Response Schema (`/api/scanner`)
|
||||
```json
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"ticker": "NVDA",
|
||||
"name": "NVIDIA Corporation",
|
||||
"peadSector": "Technology",
|
||||
"announcementDate": "2026-05-20",
|
||||
"daysElapsed": 25,
|
||||
"epsActual": 6.12,
|
||||
"epsConsensus": 5.58,
|
||||
"surprisePercent": 9.68,
|
||||
"driftStatus": "Active Drift",
|
||||
"isLiveApi": true
|
||||
}
|
||||
],
|
||||
"isShieldActive": false
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 4. Fallback Protection & Operational Transparency Levels
|
||||
The workstation enforces zero silent caching or historical data ingestion:
|
||||
* **PEAD Drift Radar**: Uses a dynamic state flag `isLivePeadApi` to toggle status rendering.
|
||||
* *Green Badge (`🟢 LIVE EPS FEED`)*: FMP API endpoint responded with real-world quarterly reports (`isLiveApi: true`).
|
||||
* *Amber Badge (`⚠️ ARCHIV-DATEN (API OFFLINE)`)*: Live API timeout, failure, or developer shield fallback active (`isLiveApi: false`).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user