AudionAudion

Audion DevOps Tools — User Guide

USER_GUIDE_EN.md

Audion DevOps Tools — User Guide

Русский · About · Command Reference

Contents

How to work with it: launching, the central rule, risk marking, the sections, and what to read about each.

Quick Start

launcher_gui.cmd

The window comes up as administrator — most operations need it: deployment servicing, Linux subsystem features, the hosts file, network adapters, default and driver policies, the recovery environment, disk work.

Read-only, without the elevation prompt:

set AUDION_GUI_NO_ELEVATE=1
launcher_gui.cmd

A different Python:

set AUDION_GUI_PYTHON=C:\Path\To\python.exe
launcher_gui.cmd

The window opens at http://127.0.0.1:8092/.

The Central Rule

Every operation goes through the project's own means:

This matters most for the Linux subsystem and system operations. When testing the project layer, do not bypass it with manual commands — otherwise you are testing luck in the current console, not the project.

A dangerous operation straight from the command line needs an explicit flag:

runtime\python.exe system_core\cli_operation.py <operation> --yes-i-understand

Risk and Confirmation

Every operation carries a kind:

kindmeaning
safereading, diagnostics, or writing only inside the project area
dangerouschanges the user, the system, the network, disks, policy, or secrets

And a level that says what changes:

levelwhat changes
project_writewrites into the project
user_writechanges the current user
system_changechanges Windows policy
destructivemay delete data or partitions
secret_exportexports secrets, such as SSH keys

Dangerous operations need separate confirmation. Some external wizards also ask you to type a word. Built-in non-interactive operations must carry explicit project flags rather than hidden yes/no prompts.

Reading the Interface

The interface is deliberately hybrid. Command and parameter names stay English: they match the operation id, the log line, the Windows calls, and Microsoft's own documentation. The tooltip explains them in plain language.

A typical trio:

button     Default Apps Guard · Enable / repair defaults protection
tooltip    the Windows "Default apps" section, the AppAssociations.xml baseline,
           the DefaultAssociationsConfiguration policy
log        default_apps_apply_policy

The short name keeps technical precision; the tooltip explains what will actually change.

What the frames and colours mean

The colouring here is instrument marking, not decoration.

A frame around a group marks a pair or a lifecycle: backup and restore, export and import, block and unblock, capture and apply. The way back is always in view.

colourmeaning
ordinary blueentering a section — navigation, not an action
greengentle, read-only, status; or the deliberate undo half of a pair
tealan ordinary working change
amberstrong intervention, a destructive action, or a secret export

Colour does not replace the operation kind, the confirmation, or the log — it helps you read the character of neighbouring buttons inside one frame.

A command's visible description is deliberately short: its job is to let you decide in a couple of seconds. The full explanation, the Windows terms, the risk, and the rollback live in the tooltip. The confirmation dialog for a dangerous operation shows the full text.

Stable word pairs

wordmeaning
backupa snapshot of state inside the project
exporttake state or artefacts out into a file or folder
importbring a file or folder back into the system or a profile
restoreapply saved state back
block / unblockset or lift a restriction
enable / disablea mode or a component
capture / applysave a layer and apply it back
cleanuptidying within a chosen scope; look for a dry run first

Where the Working Data Lives

config\       command definitions, terminal history, window settings
system_core\  services, the window, PowerShell modules, Linux subsystem assets
tools\        project utilities and wrappers
profiles\     managed profiles, such as the associations baseline
backup\       backups of system and user state
output\       reports and exported artefacts
logs\         operation logs
report\       elevated logs and diagnostics
workspace\    tool working folders

backup\ is a first-class folder alongside input and output: it is created during preparation, opened by its own button, and holds what changes are rolled back from. It is not a cache or scratch space: network snapshots, registry branches, driver store exports, browser bookmarks before and after, certificates, SSH material, virtualisation and hosts backups.

The Sections

Each section has its own document under tools\ — the order of operations, the Windows specifics, and the traps.

sectionaboutin detail
Linux subsystemfeatures and updates, install from network or file, status, backup, clone, move, register diskstools\WSL_TOOLKIT_RU.md
Virtualisationread-only status, Hyper-V or third-party mode, coexistence, toggles with a boot-config backuptools\VIRTUALIZATION_SWITCHER_RU.md
Networkingdiagnostics, backup and restore, proxytools\NETWORK_CONNECTIVITY_RU.md
Adapters and connectionsadapters, sign-in to shared folders, Wi-Fi profiles, quick modestools\NETWORK_CONNECTIVITY_RU.md
Hosts and Bitrixaddress override, endpoint detection, name and port status, byte-exact restoretools\BITRIX_HOSTS_RU.md
Default appssnapshot and comparison of defaults, policy protectiontools\DEFAULT_APPS_GUARD_RU.md
Association defenceMicrosoft built-in apps, reinstall blocking, change trackingtools\ASSOCIATION_DEFENSE_RU.md
Hardware and driversblocking drivers from updates, graphics restrictions, driver store backup, HDMI audiotools\HARDWARE_DRIVER_GUARD_RU.md
Disksinventory, recovery environment, SSD wizardtools\STORAGE_DISK_PROCEDURES_RU.md
SSH keysexport and importtools\OPENSSH_KEYKIT_RU.md
Certificatesexport and import, working with storestools\CERTIFICATE_KEYKIT_RU.md
Browser bookmarksbuilding a master copy, merging, restoringtools\BROWSER_BOOKMARKS_MASTER_RU.md
Maintenanceproject cleanup, assistant memory backuptools\MAINTENANCE_CLEANUP_RU.md
Migrationgathering every credential into one folder with an inventorytools\MIGRATION_RU.md

Two short sequences are worth knowing by heart.

Defaults after a clean Windows install. Check protection → overwrite the baseline with current defaults → leave "remove suggested" on → enable protection → sign out and in, or reboot → check protection again.

A Bitrix address override. Detect the endpoint → check name and port status → enable the override → do the work → disable it. Disabling restores hosts byte-for-byte from the backup named in the managed comment.

Section documents are currently Russian only.

The Terminal

Output appears live, with Windows and Linux subsystem encodings decoded — no mojibake. The final status lives below the terminal and stays until the next run: grey for idle, a blue pulse while running, green after success, red after an error. A pop-up notification is not the source of truth: if the window was inactive, you may never see it.

There is a line for running a command by hand, with history and a cache of frequent ones.

Checks

runtime\python.exe -m py_compile system_core\ui_nicegui\app.py system_core\services\devops_tools.py system_core\core\jobs.py
runtime\python.exe system_core\ui_nicegui\app.py --smoke
runtime\python.exe system_core\doctor.py

What is actually run before a release: the checklist (Russian).


Technical Reference

Section launchers

cli\launcher_wsl.cmd
cli\launcher_bitrix.cmd
cli\launcher_default_apps.cmd
cli\launcher_association_defense.cmd
cli\launcher_hardware.cmd
cli\launcher_docs_pdf.cmd
cli\launcher_codex_nuke.cmd
cli\launcher_python_nuke.cmd

The first ones go through the same manifest and service layer as the window. The last two wrap the built-in cleanup tools with elevation and typed confirmation.

Operations from the command line

runtime\python.exe system_core\cli_operation.py <operation>
runtime\python.exe system_core\cli_operation.py <operation> --yes-i-understand

The full list of operations and their fields is the command reference. It is generated from config\tool_manifest.yaml and includes tooltips, risk classification, inherited fields, defaults, and choices.

Maintenance

init_folders.cmd                  create missing working folders
cleanup_project.cmd               careful cleanup
cleanup_project.cmd /DRYRUN /Y    show the plan, delete nothing
cleanup_project.cmd /BACKUP       the backup folder only, with its own prompt

Cleanup keeps scripts, configuration, documentation, licences, and the folder structure. It removes what was generated or downloaded: the runtime, the package store, builds, downloads, bundled binaries, logs, reports, working-folder contents, and caches. Neighbouring tools are untouched.

Workbench naming

One shared vocabulary across all Audion projects: Source, Add file…, Target, Reset, Delete, List. In Russian: Источник, Добавить файл…, Назначение, Сбросить, Удалить, Список.

Reset restores the project folders and deletes no files. Delete clears the current source and target only after confirmation. The words Destination, Clear, «Цель», and «Очистить» are not used for these controls.

Все проекты