Fase 7: correzioni della revisione indipendente e chiusura #108

Merged
Alby96 merged 2 commits from fase-7 into main 2026-12-01 10:38:13 +01:00
Owner

Corregge i difetti trovati dalla revisione indipendente della Fase 7 e chiude la fase. Le scelte sono nell'ADR 0017.

  • Analista (#58): una risposta malformata del modello non esce più dal tetto di spesa e non ferma più il diario. Il costo stimato si scrive prima della richiesta; quello vero si registra sempre intero.
  • Giro delle notizie: gira accanto alla coda dei lavori e non ritarda più il motore e il controllo del rischio.
  • Collegamento: elisioni italiane, "The", possessivi, alias delle grandi società, classi di azioni.
  • Storie: notizie di società diverse non si uniscono più; le finestre di 10.5 partono da quando la storia diventa grave.
  • Trimestrali, acquisti rimandati e confronto a un passo corretti.

Restano in attesa dell'utente #55 (rapporto della prova di durata) e #107 (Alpaca News e SEC EDGAR).

Verifiche in locale: tasks ci verde. SQLite: 415 test, 413 superati, 2 saltati. PostgreSQL: 415 test, 412 superati, 3 saltati. Immagine Docker costruita ed esercitazione della guardia eseguita nell'immagine.

Closes #61

🤖 Generated with Claude Code

Corregge i difetti trovati dalla revisione indipendente della Fase 7 e chiude la fase. Le scelte sono nell'ADR 0017. - **Analista (#58)**: una risposta malformata del modello non esce più dal tetto di spesa e non ferma più il diario. Il costo stimato si scrive prima della richiesta; quello vero si registra sempre intero. - **Giro delle notizie**: gira accanto alla coda dei lavori e non ritarda più il motore e il controllo del rischio. - **Collegamento**: elisioni italiane, "The", possessivi, alias delle grandi società, classi di azioni. - **Storie**: notizie di società diverse non si uniscono più; le finestre di 10.5 partono da quando la storia diventa grave. - **Trimestrali, acquisti rimandati e confronto a un passo** corretti. Restano in attesa dell'utente #55 (rapporto della prova di durata) e #107 (Alpaca News e SEC EDGAR). Verifiche in locale: `tasks ci` verde. SQLite: 415 test, 413 superati, 2 saltati. PostgreSQL: 415 test, 412 superati, 3 saltati. Immagine Docker costruita ed esercitazione della guardia eseguita nell'immagine. Closes #61 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Alby96 added 2 commits 2026-12-01 09:53:41 +01:00
The independent review of phase 7 found that an answer with half a Unicode
character, or of an unexpected shape, escaped the validation as an exception:
its cost was lost, it was paid again every two minutes past the daily cap, and
the diary of the news stopped. The same happened to the whole round with an
article cut in the middle of an emoji.

Such answers are now refused like any other, the cost is written before the
request leaves and settled with what the service used, never clamped to the
estimate, and neither the analyst nor one source can stop the others. The
estimate counts every byte as a token, so it is a true worst case. Summaries
with bare domains or invisible characters are refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix what the independent review of Phase 7 found and close the phase (refs #61)
ci / test (postgres) (push) Successful in 4m14s
ci / test (sqlite) (push) Successful in 4m41s
ci / test (postgres) (pull_request) Successful in 4m22s
ci / test (sqlite) (pull_request) Successful in 4m33s
ci / image (push) Successful in 2m51s
ci / image (pull_request) Successful in 50s
a3ff8ea6b7
Linking missed Italian elisions, "The" names and common aliases; keywords
missed words after an apostrophe; stories about two companies merged and
confirmed each other; a story that became serious late was measured from its
first article. The news round delayed the engine and the risk check, and the
classifier ran inside the database writer. The earnings row started and ended
on the wrong sessions, the one-step comparison ignored it, and a purchase was
said to be put off when it was not, or sent at the open. ADR 0017 records the
choices; what depends on the user is in #107 and #55.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alby96 merged commit 632252f95c into main 2026-12-01 10:38:13 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BalboSoft/Anubis#108