dashboard: banner verde con il conto illeggibile, testi 'esecuzione non attiva', immagine ferma al 23/06 #33
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Revisione 2026-09-27 (goldrake): rilievo Opus 5.5, verifica avversariale fable. Sola lettura, nessun codice toccato.
Rilievo C4 [registro-falso]
FILE: PG:src/live/dashboard.py:76-80, 130-132, 191-192 (shadow.py:183-192)
COSA: (a) se
shadow_report()solleva,book_alertsresta vuoto e il banner stampa verde "✓ Book live: nessun alert (… posizione leggibile · equity reale ok)"; (b) untrade_historyche fallisce e' ingoiato (except: pass) e la tabella dice "nessun trade reale eseguito". "Non vedo" stampato come "va bene"/"zero".SCENARIO: gateway giu' -> shadow={"error":…} -> banner verde + "nessun trade reale".
PROVA: VERIFICATO (lettura): ramo
if shadow and "error" not in shadowe' l'unico che popola pos/eq; l'errore di shadow non entra in book_alerts.PROPOSTA:
if shadow.get("error"): book_alerts["shadow"] = shadow["error"]; in shadow.py registrare l'eccezione di trade_history in un campolive_trades_errore mostrarlo.Verifica fable C4 VERDETTO: CONFERMATO
GRAVITA': medio
PERCHE':
src/live/dashboard.py:63-66shadow={"error":...}; 76-80book_alertspopolato soloif shadow and "error" not in shadow-> banner verde «nessun alert (... posizione leggibile · equity reale ok)» (127-132) con il gateway giu'.src/live/shadow.py:184-192trade_historyinexcept Exception: pass-> «nessun trade reale». Impatto ridotto dal fatto che la dashboard in esercizio e' un'immagine del 23/06 (C5) e AI-OS la consuma da localhost.CORREZIONE: ok.
Rilievo C5 [registro-falso] / [pulizia]
FILE: PG:src/live/dashboard.py:320, 331, 300 + docker-compose.yml:5
COSA: la dashboard in esercizio (container
pythagoras-dashboard, 127.0.0.1:8787) gira da un'immagine costruita il 2026-06-23 21:10Z (build: ., codice nell'immagine, solodata/montato): il sorgente rivisto qui non e' quello che gira. E anche il sorgente attuale stampa testi cablati falsi: «esecuzione REALE non attiva (solo micro-test)», «Oggi TP01 e' in target TSMOM risk-off → flat: nessun ordine reale… il cron giornaliero la esegue», «min-order $5 OK a $600».SCENARIO: chi apre la dashboard legge che il libro non opera mentre e' armato e a mercato (~$1.500 lordi, conto ~$4.570).
PROVA: VERIFICATO:
docker images-> pythagorasgoal-dashboard 2026-06-23 21:10:27;docker inspectcreato 2026-08-04; CLAUDE.md non cita la dashboard.PROPOSTA: decidere se la dashboard vive: se si', togliere i tre testi cablati (derivare da config/book_report) e ricostruire l'immagine; se no, fermare il container e dichiararlo.
Verifica fable C5 VERDETTO: CONFERMATO
GRAVITA': medio
PERCHE':
docker images->pythagorasgoal-dashboard 2026-06-23 21:10:27;docker ps->pythagoras-dashboard Up 6 weeks 127.0.0.1:8787;docker-compose.yml:5-6 build: ., volumi solo./datae.env.mainnet-> il codice gira dall'immagine. Testi cablati falsi nel sorgente ATTUALE:dashboard.py:320«esecuzione REALE non attiva (solo micro-test)»,:331«nessun ordine reale... il cron giornaliero»,:300,174,190«min-order $5 OK a $600».grep -i dashboard CLAUDE.md-> nessuna riga: il servizio non e' dichiarato.CORREZIONE: ok (decidere se vive; se si', rimuovere i tre testi e ricostruire; se no, fermare e dichiararlo in CLAUDE.md).