Commit graph

102 commits

Author SHA1 Message Date
vrubelroman
2f75b52556 opening trainer: four starter repertoires for new and updated users, wider repertoire panel; headless test windows 2026-11-27 12:54:40 +03:00
vrubelroman
05514c661e release: prepare 2.4.0 with the rewritten opening training 2026-11-27 09:57:49 +03:00
vrubelroman
5034527865 docs: task 40 — core cleanup done 2026-11-27 08:50:13 +03:00
vrubelroman
adf89181d5 docs: task 40 — owner's 2026-11-27 changes 2026-11-27 08:24:52 +03:00
vrubelroman
67044d7b48 docs: task 40 — QA results 2026-11-27 02:43:52 +03:00
vrubelroman
e59f01c47d docs: opening trainer v2 — task, decisions, changelog 2026-11-27 02:20:25 +03:00
vrubelroman
22aedf9011 docs: handoff state 2026-11-27, review notes 2026-11-27 01:47:23 +03:00
vrubelroman
98f0e4749f wip: opening trainer v2 desktop UI (repertoires, session, lines), i18n, devhooks doc
One repertoire_ui test still fails (see docs/qa/opening-trainer-v2-devhooks.md).
2026-11-26 17:13:34 +03:00
vrubelroman
ddc836198d release: verify 2.3.0 packages and update AUR checksum
Some checks failed
CI / check (push) Has been cancelled
CI / windows-build (push) Has been cancelled
CI / macos-build (push) Has been cancelled
2026-11-06 01:49:41 +03:00
vrubelroman
8c430f1eaf release: prepare 2.3.0 with annotated repertoire variations and faster training 2026-11-06 01:31:15 +03:00
vrubelroman
9ba3628751 release: verify 2.2.0 packages and clarify alpha training limitations
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release notes / update (push) Waiting to run
2026-11-06 00:43:39 +03:00
vrubelroman
860e84d0d9 fix: refine opening training UI, move feedback and opponent preparation 2026-11-06 00:26:01 +03:00
vrubelroman
a4521d94ed Merge Android clipboard into opening training
# Conflicts:
#	CHANGELOG.md
#	docs/decisions.md
#	docs/dev/tasks.md
2026-11-05 21:23:29 +03:00
vrubelroman
5e3d1ead3f feat: open PGN from Android clipboard 2026-11-05 21:14:42 +03:00
vrubelroman
d1733b4fe5 feat: implement ChessTempo opening learning trainer 2026-11-04 16:24:30 +03:00
vrubelroman
b08aca0b4c refine opening repertoire table 2026-11-03 22:56:09 +03:00
vrubelroman
1b4d30900e feat: refine opening repertoire training 2026-11-03 19:04:22 +03:00
vrubelroman
71ca5ad9e6 feat: simplify opening variation training 2026-11-03 11:03:24 +03:00
vrubelroman
f49aab68fa feat: add opening repertoire training 2026-11-03 00:03:51 +03:00
vrubelroman
fdcb12bd80 Release 2.1.5
Some checks failed
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / publish (push) Has been cancelled
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Automatically save opponent preparations and start the opening-error engine when the report is ready, while preserving manual Stop and saved evaluations.

Remove the book comparison from opponent preparation: its UI, background work, algorithm and development hook are gone. Legacy saved data remains readable and is preserved for a possible future revert.

Align game counts, error counts and percentages in the preparation summary and refresh the architecture and team documentation.
2026-11-02 13:35:21 +03:00
vrubelroman
3803165491 Changelog, decisions and tasks: periods, saved preparations, game links
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:04:39 +03:00
vrubelroman
57fa98241b Opponent prep: which games by period or number, saved preparations
The report takes all the player's games, those of the last 1/2/5 years
before his newest game, or his last 50/100/200 of each colour; every
choice shows how many games it takes. Undated games count only with all.
«💾 Save» keeps a preparation with its errors in the program's data;
«📑 Preparations» in the library opens, renames and deletes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:11:58 +03:00
vrubelroman
4fc1d5b67d Tasks: training along a file's tree of variations, as in ChessTempo
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:38:42 +03:00
vrubelroman
02b665719f Tasks: training files - positions to solve with points, as in ChessBase
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:26:36 +03:00
vrubelroman
b5da315343 Sizes in the interface's language: units and the decimal sign («2,2 ГБ, предел 2,0 ГБ»)
platform::size_text takes the units from the translations ({n} GB …) and
the decimal comma where the language writes one; every size the web version
shows goes through it. chessbase.mjs takes CP_LANG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:15:11 +03:00
vrubelroman
bc104c55b4 Web version: ChessBase databases of several files and folders, a 2 GB limit with a polite refusal, messages without the page's paths
A .cbh chosen alone brings a window: its folder (Chrome, Edge:
showDirectoryPicker opening beside the file, the folder remembered; others:
webkitdirectory) or all its files; the files are grouped into databases by
name (chess_import::group_chosen), the reader opens a ChessBase one with
open_chessbase_owned. The user's files stay the browser's File objects: the
worker reads them, the page never holds a database's bytes; a kept copy
takes the whole database. Over 2 GB of the files read: refused with the way
to the desktop program. A reader out of memory says so in the user's words.
Paths like /opened/... are no longer shown (platform::files::shown).

chess-core: detect_letter_substitution decodes the text a piece at a time;
it held the whole text as chars (four times its size): a 1 GB cp1251 PGN
could not be read in a browser (capacity overflow) and cost gigabytes on a
computer. Now 1.95 GB opens in Firefox and Chromium.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:42:18 +03:00
vrubelroman
bda92c5675 Web version: «Allow reading» checked, a kept copy lets the handle go, dropped files told apart in Chrome; docs: §9, the checks in Chromium
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:58:01 +03:00
vrubelroman
67c91b6e0d Web version: no engine-file or folder buttons in a browser's settings; docs: the review check (359 of 359 positions the same as on the computer), checks of stage 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:43:28 +03:00
vrubelroman
48de2debcf Web version: engine settings without threads and memory; review check reads the browser's storage as JSON; docs for stage 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:37:38 +03:00
vrubelroman
dd1f3c6c28 docs/dev/web.md: the size of the download, the device page's variants, the engine's location
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:19:11 +03:00
vrubelroman
30eac472ff Web version: what the browser lacks is not offered, files dropped on the window, checks, docs
The interface hides what the platform does not have (platform::CAPS): play,
new databases, adding to a database, preparation, translation, their
shortcuts and the Translation tab. Files dropped on the window open like
chosen ones (in a browser; the desktop program takes no drops, as before),
with «Release to open» while they are dragged over it.

/app/: ?phone=android and ?phone=ios show those variants of the device page.

apps/web/check: device.test.mjs (14 devices: computer, iPhone, iPad as a Mac,
Android phone and tablet, desktop-site modes, Chromebook, touch laptop) and
app.mjs (headless Firefox: the device page in three languages without the
program, the program, a PGN opened by Ctrl+O and the file chooser, a dropped
PGN, a game of the classics, moves, «Download PGN», e2-e4 on the board, the
settings after a reload). All pass.

docs/dev/web.md: the architecture, the platform layer, what is not built for
a browser, the build and the checks, what comes next; docs/dev/uci.md and
desktop.md updated, web/README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:18:45 +03:00
vrubelroman
de18fd93d6 Web version: the concept study; task 22 status
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:22:22 +03:00
vrubelroman
b30f9635d1 Web version: a subproject to study running ChessPenguin in the browser
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 12:46:33 +03:00
vrubelroman
63ba4b3e08 Tasks: opponent preparation stays on the desktop
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:36:45 +03:00
vrubelroman
5b2898ee46 Tasks: opponent prep - games by age or count; saved preparations
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:17:02 +03:00
vrubelroman
3d72f80ab5 Tasks: opponent prep status; «Open as a game» left for the owner to decide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:50:32 +03:00
vrubelroman
f02f140394 Opponent prep: the desktop screen (dialog, report, engine run)
The «Prepare against…» entry points in the library (the filter panel's button
when a player is set, the game row's context menu, Ctrl+Shift+P), the dialog
(database, the player's spellings with the similar names apart, colour, book)
and the report screen in the stack between the library and the game: the
repertoire tree with transpositions, opening names, scores and the book
column, the openings table by family and variation, the errors tab (repeated
errors and by opening), the board of the chosen position with the line under
it, and the games of the selection, which open in the game screen at that move
with «⬅ Back to preparation».

The engine run reuses the game analysis job over the distinct opening
positions of the chosen colour: the launch dialog shares the engine picker and
the quality/threads/memory grid with review.rs (quality «Fast» by default, its
own setting), marks appear as positions are evaluated, «Stop» keeps what was
done, the evaluations and the report are cached under <cache>/prep. One engine
job per program: game analysis and the live engine are blocked meanwhile.

Core: targets and counts by colour (`targets_for`, `missing_for`), the book
step keeps its per-position counts (`book_counts`) for the tree column.
Narrow windows: the board stacks over the lists under 804 px and folds into a
button under 720 px of height; the right column is split explicitly (a nested
bottom panel is not reserved from the content above it in egui).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 15:43:15 +03:00
vrubelroman
b51ca265ff Research: preparing against an opponent (concept and technical part)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 11:59:47 +03:00
vrubelroman
ef498aa7cc Tasks: opening repertoire and opponent preparation
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:43:05 +03:00
vrubelroman
4ffe45363d Desktop: the draw offer button is «½–½», its words in the tooltip
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:04:53 +03:00
vrubelroman
424c7830e7 Notation: the review's mark right after the move, in its color; no reasons
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
As on Lichess: «Qg7??» in red instead of a pill at the cell's edge, on the
desktop and on Android; the author's own sign stands instead when there is one.
!! and ! get no block under the move (the reason line was more than needed).
Task 18: a shorter draw-offer button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:00:29 +03:00
vrubelroman
5b585b0dee Desktop play: the time control in the header, the set's kings, a low-time tick, which game is left
During a game against the computer the header's chip shows its control («5+3»,
«∞») where the result comes after it. The players' cards show the king of the
board's piece set instead of ♔/♚, the state line under the name. The player's
clock turning red is heard once a game: a double tick made of Kenney's
tick_004 (CC0), every sound set; a game put aside with the time already low
goes on without it. «The game is on» says which game: «Maia 1550 · you play
white · 5+3 · move 5», as the card of a game put aside. Reviewed by the
designer and the tester.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 17:09:20 +03:00
vrubelroman
f8a2c6ffa3 Rodent IV on macOS: its home is its own folder, so it offers its personalities
Some checks failed
Rodent IV / build (rodent-iv-macos-arm64, macos-14) (push) Has been cancelled
Rodent IV / build (rodent-iv-windows-x86_64.exe, windows-latest) (push) Has been cancelled
Rodent IV / publish (push) Has been cancelled
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rodent IV / build (rodent-iv-linux-x86_64, ubuntu-22.04) (push) Failing after 1s
On macOS the authors left the engine's home folder unset (a comment where
_NSGetExecutablePath should be). With an empty home every folder was taken
relative to the one it changed into last: reading basic.ini it went into
personalities/ and found none of the personality files, so the Personality
option was not offered and ChessPenguin's «Personality = Tal» was refused —
«Rodent did not start». home-dir.patch now takes the executable's folder there
too, as on Linux and Windows. Reproduced on Linux with the home left empty and
checked with _NSGetExecutablePath shimmed: the play crate's Rodent IV game
fails before and passes after. The workflow now checks that the engine, in a
folder with a space and started from elsewhere, offers «Tal».

Tasks: the Android screenshots done; two copies of the program put off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:53:48 +03:00
vrubelroman
20d9d018bb Tasks: the Linux hang closed; put-aside games, Rodent and the Android stages done
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:31:52 +03:00
vrubelroman
3fe82551ce Play: Rodent IV's characters and players in Rodent's list of styles
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rodent IV / build (rodent-iv-linux-x86_64, ubuntu-22.04) (push) Failing after 41s
Rodent IV / build (rodent-iv-macos-arm64, macos-14) (push) Has been cancelled
Rodent IV / build (rodent-iv-windows-x86_64.exe, windows-latest) (push) Has been cancelled
Rodent IV / publish (push) Has been cancelled
The owner: «заюзаем rodent 4 со всеми его стилями». One opponent «Rodent»:
its list gets Rodent IV's 13 characters and 22 players (sorted by their names
as shown, the Tals side by side); the engine follows the style (Rodent IV's
UCI_Elo 800–2800), «Rodent IV 2000 (Petrosian)» in the record. Texts say
«Rodent» where they said «Rodent V».

Rodent IV's authors publish no builds for Linux and Windows: the workflow
rodent-iv.yml builds it from their sources at a pinned commit (with one fix,
packaging/rodent-iv/home-dir.patch: on Linux it now and then took a wrong home
folder and played without its personality) into a pre-release that is never
«latest». The app downloads that build and the personalities and books from
the authors' repository at the same commit (scripts/rodent4-manifest.py →
rodent4_files.rs), each checked; three misnamed books get a copy under the
name their personality reads. Until the build's sums are written in, Rodent
IV's styles are not shown.

Reviewed (tester and designer in one) with a local build (CP_RODENT4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 20:53:49 +03:00
vrubelroman
c3d4a0d703 CHANGELOG, desktop.md: Rodent V, CP_RIVAL, CP_RODENT
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 03:06:46 +03:00
vrubelroman
179f92144e decisions: Rodent V as the opponent with character (desktop)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
2026-10-26 02:10:23 +03:00
vrubelroman
0fd40f01b4 decisions: Android gets move input, own databases, Maia 5M without clocks, the trainer
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:07:35 +03:00
vrubelroman
9c9f7e9178 Game analysis: «Analyse» starts at once with the options chosen before
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The dialog comes the first time (no analysis started from it yet) and with
«Analyse again…». The analysis options are now saved when changed. Dev
hook CP_REVIEW=ask presses «Analyse».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 22:47:39 +03:00
vrubelroman
053b189614 tasks: statuses after 1.2.0–1.4.0
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 16:13:47 +03:00