# ALD Transition Console Russian native desktop console for preparing an AD → ALD Pro 3.1.0 transition. **0.1.0 development preview; not a validated Astra release or a completed migration.** The selected destination remains `corp.local` in the existing IP network. The C++17/Qt 5.15 source implements protected local projects, bounded native read-only probes, fixed Windows PowerShell tasks over system OpenSSH, inventory validation, stable identity maps, blocked migration planning, instructional checklists with append-only observation history, HTML/JSON export, access restoration records and a native Qt desktop shell. It does not claim that ALD replicates AD DS or preserves SIDs, passwords, Windows profiles or GPO effects. ## Установка пакетов на тестовой Astra Команды выполняются на тестовой ВМ из штатных репозиториев выбранной Astra или с одобренного локального носителя. Для сборки нужны C++17, CMake >= 3.13, Qt **5.15.2–5.15.x**, плагин SQLite и Python >= 3.7. ALD Pro для самой сборки не требуется. Зависимости действующего КД отдельно сверяются с допустимым составом ПО его поставки. При доступных репозиториях обновите индекс пакетов и проверьте версии: ```sh sudo apt-get update apt-cache policy cmake python3 qtbase5-dev qtbase5-dev-tools \ qt5-qmake libqt5sql5-sqlite ``` Сначала посмотрите предполагаемые изменения без установки: ```sh apt-get -s install --no-upgrade --no-remove \ build-essential cmake make python3 git ca-certificates \ qtbase5-dev qtbase5-dev-tools qt5-qmake libqt5sql5-sqlite ``` Если версии подходят и добавляются только недостающие пакеты, установите их: ```sh sudo apt-get install --no-upgrade --no-remove \ build-essential cmake make python3 git ca-certificates \ qtbase5-dev qtbase5-dev-tools qt5-qmake libqt5sql5-sqlite ``` Если доступен только Qt 5.11 или симуляция предлагает обновление установленного ПО, сохраните вывод для разбора состава репозиториев. Не подключайте Kali/Debian и не обновляйте Astra, Qt, Python или ALD ради сборки. `--no-upgrade` не заменяет проверку изменений зависимостей. Без интернета используйте локальный источник пакетов с их зависимостями для той же версии Astra. Git и `ca-certificates` нужны для получения исходников по HTTPS; при переносе архива их можно исключить. Проверьте установленные версии, затем из корня исходников запустите сборку и тесты **без sudo**: ```sh cmake --version qmake -query QT_VERSION python3 --version python3 tools/build_astra_lab.py ``` Для дополнительных проверок `tools/check_assets.py` и `tools/validate_local.py` нужен пакет `python3-jsonschema` с `Draft7Validator` из того же разрешённого источника. Он не нужен для `build_astra_lab.py`; при необходимости проверьте и установите его отдельно: ```sh apt-get -s install --no-upgrade --no-remove python3-jsonschema sudo apt-get install --no-upgrade --no-remove python3-jsonschema python3 -c "from jsonschema import Draft7Validator; print('Draft7Validator: OK')" ``` После успешной сборки обычный запуск с локальной диагностикой: ```sh ./build-astra/ald-transition-console --project ./astra-lab-project ``` Подробности и расположение отчёта — в [инструкции для стенда](docs/astra-lab.ru.md). ## Build For the Astra test machine, follow the [Russian laboratory guide](docs/astra-lab.ru.md). The one-command handoff is `python3 tools/build_astra_lab.py`: it builds and runs the four test suites, and saves a report archive even if a build stage fails. It uses the Python standard library, installs nothing and never authorizes a domain change or marks the release validated. Use an approved toolchain with CMake >= 3.13, a C++17 compiler, Qt **5.15.x** (API baseline: 5.15.2), Core, Gui, Widgets, Network, Sql, Test, the QSQLITE plugin, and Qt build tools. Russian Qt translations are used when available. Do not install upstream packages on an Astra DC to force this application to build. Validate the allowed software composition with the vendor. ```sh cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr cmake --build build --parallel 2 QT_QPA_PLATFORM=offscreen ctest --test-dir build --output-on-failure ``` For CMake versions older than 3.20, run `ctest --output-on-failure` from `build/` instead of using `--test-dir`. The actual validated package revisions must be recorded in `docs/compatibility-lock.json` before packaging. Currently those Astra fields are intentionally null. The application and temporary executor were built on Kali 2026.3 with GCC 16.2.0, CMake 4.3.4 and Qt 5.15.19. All four CTest suites pass. The actual Qt application renders and exits in explicit DEMO using the offscreen platform; 100/150/200% scale checks pass. X11 desktop validation and Astra/Windows integration remain unverified. See [test results](docs/test-results.md). ```sh python3 tools/check_assets.py python3 tools/run_portable_tests.py python3 tools/validate_local.py ``` ## Run after a successful Qt build The GUI refuses root. Select a dedicated project directory, owned by the administrative user and mode `0700`. The process must already have legitimate access to that directory; it never grants itself infrastructure privileges. ```sh mkdir -m 700 /tmp/ald-console-demo ./build/ald-transition-console --project /tmp/ald-console-demo --demo ``` DEMO is an explicit selection and never substitutes for a failed live connection. It uses synthetic identities and reserved documentation addresses. For live **read-only** discovery, use another protected project directory and omit `--demo`. The application performs local read-only probing at startup; remote connections occur only after selecting a target and pressing an action. No real infrastructure was changed during implementation. ## Current boundaries - Native local probes are implemented; exact Astra integration is untested. - Windows discovery and bounded directory inventory tasks are implemented, but have not run against Windows 10 / Server 2019 / Server 2025 VMs. - Full same-name migration, existing-password preservation, Windows trust and profile continuity, ACL/application/policy equivalence and AD retirement remain blocked. Manual PASS does not bypass capability gates. - ALD initialization provides the documented interactive native workflow and strict prerequisites. Automatic promotion is disabled pending the delivery, installed help, exact package lock, same-name procedure and laboratory tests. - Administration/policies provide guided workflows and profile comparison, not a hidden unsupported write API. No automated infrastructure mutation is enabled in this build. - The temporary privileged helper allows only global `sshd -T` observation through authenticated private local IPC. No setuid bit, daemon, polkit auto-grant, custom root rule file or system task is installed. - The 40 Linux recommendation cards have provisional source mapping. No automatic remediation or regulatory certification claim is made. - Offline JSON **data** bundles verify hashes and stage content for review; publisher signatures, executable installation bundles and archive extraction are not implemented. Accepted profiles are not silently changed. Read the [operator guide](docs/operator-guide.ru.md), [feasibility gates](docs/feasibility.md), [adapter contracts](docs/native-adapter-contracts.md) and [release acceptance matrix](docs/implementation-status.md). The [next steps](docs/next-steps.ru.md) distinguish development dependencies from the licensed vendor laboratory media. A reproducible source review archive can be generated with `python3 tools/make_source_archive.py` after local validation; it does not contain a binary or grant deployment/migration approval.