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>
Starting the 48-hour run showed two defects.
After an absence, a decision made past 12:00 UTC was written off as
"no data" at the first pulse, because the data step had not yet brought
the bars of the close: the recovered decision was lost. A late decision
now asks for its bars and waits up to 30 minutes for them. The 20-hour
absence test pulses before the bar arrives and fails without the fix.
The soak report measured coverage and silences from reconciliation
rows, but a clean round writes none, so a healthy run would have been
reported as never covered. It now reads when the scheduled jobs first
ran and last finished, the absences written at each restart, the guard
interventions, and each account's status (reconciled within the last
15 minutes and normal). The test no longer fakes a row every 5 minutes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An independent review of the phase found nine defects. The ones that
could lose money or orders:
- Exits at the close of equity_meanrev are now planned orders written in
the same transaction that claims the decision, so a restart can neither
lose them nor send them twice. A sell with a deadline starts aggressive.
- Resume also finds a planned order not yet linked to its execution
(restart between sending and linking) and closes it before re-planning.
- An account is "ready" only after adopting the guard's stops, checking
the key, reconciling, resuming and aligning stops. Until then nothing is
decided on it or sent to it, and the loop retries its startup each
minute. The guard's note is deleted only when every stop it placed is in
the ledger.
- Each account's turn is cut after 45 s (60 s for a retried startup), so a
slow broker no longer silences the heartbeat until the guard kills a
healthy engine; the beat is also withheld when the scheduler has been
silent for 30 minutes.
Smaller ones: a stock decision made after the open is marked late; the
Telegram loops survive unexpected errors; a long absence is shown on the
Panoramica until "Ho visto" (SPEC 5.6); plain-http heartbeats are only
accepted to home-network addresses; the soak report gives a daily close
30 minutes to be decided before expecting it.
ADR 0012 point 12 records these choices; #51 and the two screen criteria
are ticked in the roadmap.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"anubis soak" reads the bot's records over a time window and says whether
the run kept control. It changes nothing, so it can run beside the working
bot with docker exec. It exits with 4 when something needs a look. It
checks:
- the hours covered and silences longer than 15 minutes;
- orders or decisions made twice;
- unexplained reconciliation differences and each account's last outcome;
- absences and guard interventions;
- one crypto decision per daily close.
ADR 0012 records what the specification leaves open in this phase: the
live engine shares the backtest's decision call, run keys, recovery after
an absence, the guard and its drill seams, the diary templates, the
"senza bot" comparison, Telegram and the heartbeat, the screens and the
endurance run. ROADMAP ticks the Phase 6 items and criteria with the tests
that prove them, STATE moves on to Phase 7, and SVILUPPO explains the
guard and the report.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>