Fase 7: analista facoltativo con il modello linguistico (#58) #106

Merged
Alby96 merged 1 commits from fase-7 into main 2026-11-28 16:04:53 +01:00
1 Commits
Author SHA1 Message Date
Alby96andClaude Opus 5.5 dcebfb61e1 Read the news again with an optional language model, capped and schema-bound (refs #58)
ci / test (postgres) (push) Successful in 3m33s
ci / test (sqlite) (push) Successful in 4m16s
ci / image (push) Successful in 2m55s
ci / test (postgres) (pull_request) Successful in 3m42s
ci / test (sqlite) (pull_request) Successful in 4m36s
ci / image (pull_request) Successful in 2m2s
The analyst of SPEC 10.2 point 5 sends the fresh stories about held and
candidate instruments to Anthropic, an OpenAI-compatible service or Ollama,
eight to a request, over plain HTTP with no SDK. The news text travels as
escaped JSON data; only the appendix B schema is kept, instruments not
already linked are dropped, and a verdict can only add a restriction.
Each request goes out only if its worst-case cost still fits under the
daily cap; verdicts are cached by content hash. Without a key nothing is
asked and the rules work as before. ADR 0014 point 15.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 12:41:39 +01:00