diff --git a/MEMORY.md b/MEMORY.md index b95caa2..fd78091 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -1,5 +1,7 @@ # MEMORY +- 2026-11-17: the owner-provided community chat link is maintained in `web/index.html` beside VK: `https://matrix.to/#/!hQAD8j0wKv51OhvyeAPqRBNyBzvzoZsqBIWYR_OgNxw?via=nyan404.ru`. Preserve both the room ID and `via` parameter when editing it. + - 2026-11-17: the owner requested documentation for a LU trainer inspired by `tek1laa/catwar-lu-trainer`, with the interface closer to the supplied real-game screenshot, and explicitly included the «Минное поле» map. See `LU_TRAINER_PROJECT.md`. This is planned work, not an implemented/deployed module. Upstream rules were read at `52f7f6111576f57fa5fe3edf43a38ffe2299f799` but were not validated against CatWar; one active map and the proposed route remain design choices, not additional owner-confirmed requirements. - 2026-11-17: the external report integration polls `/api/admin/calculations/pending` and acknowledges through the admin `entered` flag; it shares the admin credential and privileges. A poll starts from the beginning each time to rediscover unmarked or concurrently committed records; clients deduplicate by report ID. The local change is not evidence of deployment. diff --git a/structure_and_data.md b/structure_and_data.md index a5eed58..bc10a21 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -6,6 +6,11 @@ - Upstream `tek1laa/catwar-lu-trainer` was statically inspected at commit `52f7f6111576f57fa5fe3edf43a38ffe2299f799`; no upstream code/assets were imported. The owner's screenshot remains a chat attachment; identifying content was not copied into Git. - Proposed `/lu-trainer` and `web/lu-trainer/` do not exist yet. No runtime, infrastructure, dependencies or deployment changed. GitHub MCP fetch was unavailable; public GitHub API/raw files supplied the source. Token-optimizer and remote test-zone MCP were not exposed; no application tests/builds or background services were run for this documentation task. +## Homepage Matrix chat — 2026-11-17 + +- `web/index.html` links to the owner-provided Matrix room beside the VK community link, using the existing homepage styling and a decorative chat icon. The link opens in a new tab with `noopener noreferrer`; the room ID and `via=nyan404.ru` routing hint are preserved. No runtime dependencies or deployment changes. +- Validation: local Chromium render at 1280/390 px, exact link destination, keyboard focus and no horizontal overflow; screenshots reviewed and removed. Remote test-zone and token-optimizer MCP were unavailable. No push or deployment. + ## External report polling — 2026-11-17 - `GET /api/admin/calculations/pending` reads unentered history directly from SQLite/PostgreSQL in ascending ID order with cursor pagination. `PATCH /api/admin/calculations/{id}/entered` updates the same flag as the admin UI and returns the actual row regardless of history size. The existing admin password/session authorizes both; no separate integration identity exists. See README for the contract and polling semantics. Changes are local until deployed. diff --git a/web/index.html b/web/index.html index e4cf2b7..03fd2ed 100644 --- a/web/index.html +++ b/web/index.html @@ -76,6 +76,7 @@
+