Fase 10 — Nuova rotta: solo Docker #184

Merged
Alby96 merged 4 commits from fase-10 into main 2026-12-03 19:59:03 +01:00
Owner

Fase 10 della nuova rotta decisa il 2 dicembre 2026 (piano in docs/piani/2026-12-02-nuova-rotta.md).

Cosa cambia

  • Decisioni (#113): ADR 0021–0026.
    • 0021: nuova roadmap, letture per fase, tabella «Da specifica ad ADR», unione e tag solo dopo il sì dell'utente.
    • 0022: solo Docker.
    • 0023: decisioni solo matematiche, con il criterio di riaccensione scritto prima dei risultati.
    • 0024: divieti → limiti sui soli conti a margine.
    • 0025: eToro Demo e prova a termine.
    • 0026: campionato delle strategie.
    • docs/ROADMAP.md riscritto dalla Fase 10 alla 24 (milestone 79–92, issue #116–#182, facoltativa #183). docs/SPEC.md non cambia.
  • Via il desktop (#114): progetti Anubis.Desktop e Anubis.Setup, deploy/windows, release-win e desktop-win, config.toml, PlatformKind, ANUBIS_PLATFORM, DPAPI con il pacchetto ProtectedData, primo avvio guidato. Cinque progetti.
    • Fuori da un container il server parte solo con --data-dir, ascolta solo su 127.0.0.1 e rifiuta i nomi di host estranei.
    • Server e guardia rifiutano --platform desktop con un messaggio in italiano e codice 2.
    • La modalità dimostrativa tiene la sua chiave in un file.
  • Immagine (#115): solo linux-x64, senza le librerie di Windows di ONNX Runtime.
    • Su disco da 829 a 410 MB; secondo docker image inspect da 283 a 117 MB; /app da 282 a 42 MB.
    • Registri che ruotano (10 MB × 3) nel modello Unraid, nel manuale e nel compose.
    • backtest e learning a colpo singolo.
  • Dati (#78) e manuali (#80): MANUALE.md 5.7 spiega come portare nel container i dati della prova su Windows.

Verifica

  • ./tasks.ps1 ci in locale: formattazione, build con gli analizzatori, 691 test su SQLite e 692 su PostgreSQL, immagine costruita, esercitazione della guardia superata.
  • Due revisioni indipendenti a contesto pulito, con verifica avversaria.
    • Prima revisione, 8 difetti confermati e corretti: spazio perso nel Dockerfile che rompeva l'immagine con il commit; demo bloccata sulla pagina d'errore; guardia che riavviava all'infinito un motore rifiutato; rapporto di diagnostica che leggeva l'ambiente del processo; launch.json rotto; ADR e manuale.
    • Seconda revisione: un difetto minore (il Diario diceva «in Docker» fuori dal container), corretto.
  • Le correzioni importanti sono provate rompendole apposta: i test della guardia e della demo se ne accorgono.

In attesa dell'utente

  • Il sì per unione e tag fase-10 (ADR 0021, punto 4).
  • 48 ore del container sul server di casa a --memory=2g (#55).

refs #113 #114 #115 #78 #80 #81

🤖 Generated with Claude Code

Fase 10 della nuova rotta decisa il 2 dicembre 2026 (piano in `docs/piani/2026-12-02-nuova-rotta.md`). ## Cosa cambia - **Decisioni (#113):** ADR 0021–0026. - 0021: nuova roadmap, letture per fase, tabella «Da specifica ad ADR», unione e tag solo dopo il sì dell'utente. - 0022: solo Docker. - 0023: decisioni solo matematiche, con il criterio di riaccensione scritto prima dei risultati. - 0024: divieti → limiti sui soli conti a margine. - 0025: eToro Demo e prova a termine. - 0026: campionato delle strategie. - `docs/ROADMAP.md` riscritto dalla Fase 10 alla 24 (milestone 79–92, issue #116–#182, facoltativa #183). `docs/SPEC.md` non cambia. - **Via il desktop (#114):** progetti `Anubis.Desktop` e `Anubis.Setup`, `deploy/windows`, `release-win` e `desktop-win`, `config.toml`, `PlatformKind`, `ANUBIS_PLATFORM`, DPAPI con il pacchetto `ProtectedData`, primo avvio guidato. Cinque progetti. - Fuori da un container il server parte solo con `--data-dir`, ascolta solo su 127.0.0.1 e rifiuta i nomi di host estranei. - Server e guardia rifiutano `--platform desktop` con un messaggio in italiano e codice 2. - La modalità dimostrativa tiene la sua chiave in un file. - **Immagine (#115):** solo linux-x64, senza le librerie di Windows di ONNX Runtime. - Su disco da 829 a 410 MB; secondo `docker image inspect` da 283 a 117 MB; `/app` da 282 a 42 MB. - Registri che ruotano (10 MB × 3) nel modello Unraid, nel manuale e nel compose. - `backtest` e `learning` a colpo singolo. - **Dati (#78) e manuali (#80):** `MANUALE.md` 5.7 spiega come portare nel container i dati della prova su Windows. ## Verifica - `./tasks.ps1 ci` in locale: formattazione, build con gli analizzatori, 691 test su SQLite e 692 su PostgreSQL, immagine costruita, esercitazione della guardia superata. - Due revisioni indipendenti a contesto pulito, con verifica avversaria. - Prima revisione, 8 difetti confermati e corretti: spazio perso nel `Dockerfile` che rompeva l'immagine con il commit; demo bloccata sulla pagina d'errore; guardia che riavviava all'infinito un motore rifiutato; rapporto di diagnostica che leggeva l'ambiente del processo; `launch.json` rotto; ADR e manuale. - Seconda revisione: un difetto minore (il Diario diceva «in Docker» fuori dal container), corretto. - Le correzioni importanti sono provate rompendole apposta: i test della guardia e della demo se ne accorgono. ## In attesa dell'utente - Il sì per unione e tag `fase-10` (ADR 0021, punto 4). - 48 ore del container sul server di casa a `--memory=2g` (#55). refs #113 #114 #115 #78 #80 #81 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Alby96 added this to the Fase 10 — Nuova rotta: solo Docker milestone 2026-12-03 17:49:22 +01:00
Alby96 added 2 commits 2026-12-03 17:49:22 +01:00
Record the course the user chose on 2 December 2026 and make the
container the only form of Anubis.

- ADR 0021-0026: new roadmap (phases 10-24, readings per phase, the
  spec-to-ADR table, merge and tag only after the user's yes),
  Docker only, maths-only decisions, bans turned into limits on margin
  accounts, eToro Demo as currency venue and forward tests, strategy
  championship. ROADMAP rewritten from phase 10; STATE, CLAUDE.md,
  SVILUPPO, README, API-NOTES and the manuals without the desktop.
- Remove the desktop: Anubis.Desktop, Anubis.Setup, deploy/windows,
  release-win and desktop-win, config.toml, PlatformKind,
  ANUBIS_PLATFORM, DPAPI with the ProtectedData package and the
  first-run wizard. Outside a container the server needs --data-dir,
  listens on 127.0.0.1 only and refuses foreign hosts; server and guard
  refuse --platform desktop with an Italian message and exit code 2.
  The demo keeps its key in a file and its error-page choices need no
  startup password. The diagnostics report says where the server runs
  from its own environment.
- Lighter image: restore and publish for linux-x64 only, and leave out
  the Windows libraries ONNX Runtime copies anyway (829 MB to 410 MB on
  disk, /app from 282 MB to 42 MB). Rotating Docker logs in the Unraid
  template, the manual and the compose; backtest and learning run as
  one-shot commands. tasks dev uses artifacts/dev-data.

refs #113 #114 #115 #78 #80 #81

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Say in the diary where the server runs, as Settings does
ci / test (postgres) (push) Successful in 5m31s
ci / test (sqlite) (push) Successful in 4m24s
ci / test (postgres) (pull_request) Successful in 5m12s
ci / test (sqlite) (pull_request) Successful in 4m43s
ci / image (push) Successful in 2m16s
ci / image (pull_request) Successful in 1m4s
c27e8194d3
Outside a container the diary said "in Docker": it now says
"fuori dal container (sviluppo)", from the same options as Settings
(ADR 0022). Found by the second independent review.

refs #114

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alby96 added 1 commit 2026-12-03 18:16:49 +01:00
Point the runbook to moving between databases
ci / test (postgres) (push) Successful in 5m55s
ci / test (sqlite) (push) Successful in 4m44s
ci / test (postgres) (pull_request) Successful in 5m45s
ci / test (sqlite) (pull_request) Successful in 4m36s
ci / image (push) Successful in 1m23s
ci / image (pull_request) Successful in 1m5s
195f3e51af
The runbook's database page now says how to move to another database
with db export and db import, and where the Windows trial data goes,
as issue #78 asked.

refs #78

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alby96 added 1 commit 2026-12-03 19:27:01 +01:00
Mark phase 10 as done after the user's yes
ci / test (postgres) (push) Successful in 6m51s
ci / test (sqlite) (push) Successful in 4m54s
ci / image (push) Successful in 2m11s
ci / test (sqlite) (pull_request) Successful in 4m56s
ci / test (postgres) (pull_request) Successful in 6m6s
ci / image (pull_request) Successful in 45s
e302f0cd80
The user approved the merge and the fase-10 tag on 3 December 2026:
STATE and ROADMAP say phase 10 is complete and phase 11 comes next.

refs #81

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alby96 merged commit 1bc7e067fd into main 2026-12-03 19:59:03 +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#184