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>
The classifier is distilroberta-finetuned-financial-news-sentiment-analysis in
Xenova's quantized ONNX export, pinned at revision e6953e30 and checked by size and
SHA-256.
- Model download: the model is not in the repository. The news job downloads it in
the background into the models folder of the data directory, the first time, and
retries after 6 hours if that fails. Until then the keywords judge alone, as
SPEC 10.3 requires.
- Tokenizer: RoBERTa's byte-level BPE travels inside the DLL, read with
BpeTokenizer and the RoBERTa pre-tokenizer. CodeGenTokenizer.Create adds ids for
runs of spaces that the model rejects. No special tokens are recognised in
untrusted text.
- Token check: the test compares the ids on 14 headlines with an independent copy
of the GPT-2 encoder run on the same files.
- Model test: it reads the tone of clear headlines at 23-24 ms per title on one
thread. It runs where the model is already downloaded and is skipped in CI.
Microsoft.ML.OnnxRuntime 1.31.1 and Microsoft.ML.Tokenizers 2.0.1 come from the
ADR 0004 list. Google.Protobuf joins the known indirect dependencies.
Anubis and Anubis.Server now declare win-x64 among their runtime identifiers, so
their lock files hold the Windows native packages. Publishing the Windows zip no
longer rewrites the lock files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 1 foundations in the Anubis library:
- Platform: startup configuration from environment variables (Docker) or
config.toml (desktop, in-house TOML subset), data folder layout, secret key
custody (ANUBIS_SECRET_KEY, DPAPI on Windows, restricted file elsewhere),
installation identity and database fingerprint.
- Db: ADO.NET with Npgsql and Microsoft.Data.Sqlite, money as NUMERIC(38,18)
or canonical text rounded to 18 decimals, UTC moments, UUIDv7 ids; numbered
SQL migrations with type tokens and a version table; engine-independent
export/import with count and accounting-total checks; backups keeping 14.
- Core: injectable clock, channel event bus, scheduler with fixed, interval
and market-relative times, settings with change log, AES-GCM secrets, log
redaction, Italian formats.
- Access: PBKDF2-SHA512 hashes, RFC 6238 TOTP, hashed session tokens,
sign-in attempt limit.
SQLitePCLRaw (Apache-2.0) arrives with Microsoft.Data.Sqlite and is declared
in DependencyPolicyTests and API-NOTES.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Empty but complete solution so every later phase starts from a working
toolchain: analyzers as errors, locked restore, format check, policy tests
that keep packages within ADR 0004 and keep live trading switched off,
a /health endpoint served from Docker, and a Gitea workflow with only
run steps. API facts of SPEC section 4 re-checked in docs/API-NOTES.md;
ADR 0006 records what changed (MSTest base packages, Ubuntu images,
OKX WebSocket on 443, Alpaca margin-only accounts).
refs #1 refs #2 refs #3 refs #4 refs #5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>