Команды вспомогательных CLI
Сгенерированный справочник. Не редактируйте эту страницу напрямую. Обновите
BuildTools/HelperCliInterface.jsonили владеющий исполняемый парсер, затем выполнитеpython BuildTools/docs_helper_cli.py --write.
| Индекс справочника | Команды | Каноническая JSON-модель | Контракт генерации |
Команды приведены с точными созданными парсером usage и справкой фиксированной ширины 80 столбцов. Запускайте helper из корня репозитория движка, если владелец вызова не задаёт другой рабочий каталог.
Генерация кода
Создаёт конфигурацию движка, регистрацию метаданных, привязки скриптов и исходники встроенных ресурсов.
- Стабильный ID:
helper-cli.codegen - Программа:
codegen.py - Владелец:
build-release - Аудитория:
engine-contributor,embedding-project-build-system - Владелец вызова: BuildTools/cmake/stages/Codegen.cmake
- Исходный парсер: BuildTools/codegen.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: codegen.py [-h] -maincfg MAINCFG -buildhash BUILDHASH -devname DEVNAME -nicename NICENAME -embedded EMBEDDED [-enginedefine ENGINEDEFINE] -meta META [-commonheader COMMONHEADER] -genoutput GENOUTPUT [-verbose]
FOnline code generator
options:
-h, --help show this help message and exit
-maincfg MAINCFG main config file
-buildhash BUILDHASH build hash
-devname DEVNAME dev game name
-nicename NICENAME nice game name
-embedded EMBEDDED embedded buffer capacity
-enginedefine ENGINEDEFINE
engine configuration define NAME=VALUE emitted as a macro into EngineConfig.gen.h
-meta META path to script api metadata (///@ tags)
-commonheader COMMONHEADER
path to common header file
-genoutput GENOUTPUT generated code output dir
-verbose verbose mode
Покрытие кода
Очищает, собирает и формирует отчёты покрытия кода движка для сгенерированных тестовых целей.
- Стабильный ID:
helper-cli.codecoverage - Программа:
codecoverage.py - Владелец:
quality - Аудитория:
engine-contributor,ci-maintainer - Владелец вызова: BuildTools/cmake/stages/Applications.cmake
- Исходный парсер: BuildTools/codecoverage.py
Аргументы верхнего уровня
На этом уровне аргументов нет.
Точный вывод --help верхнего уровня
usage: codecoverage.py [-h] {clean,run,report,full} ...
Run and analyze engine code coverage
positional arguments:
{clean,run,report,full}
clean Remove previously collected coverage data and reports
run Run the instrumented test binary and collect coverage data
report Generate text and HTML reports from collected coverage data
full Clean, run the instrumented binary, and generate reports
options:
-h, --help show this help message and exit
clean
Удалить ранее собранные данные покрытия и отчёты.
Stable ID: helper-cli.codecoverage.command.clean
usage: codecoverage.py clean [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Точный вывод --help
usage: codecoverage.py clean [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Remove previously collected coverage data and reports
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
run
Запустить инструментированный тестовый бинарный файл и собрать данные покрытия.
Stable ID: helper-cli.codecoverage.command.run
usage: codecoverage.py run [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Точный вывод --help
usage: codecoverage.py run [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Run the instrumented test binary and collect coverage data
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
report
Создать текстовый и HTML-отчёты из собранных данных покрытия.
Stable ID: helper-cli.codecoverage.command.report
usage: codecoverage.py report [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Точный вывод --help
usage: codecoverage.py report [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Generate text and HTML reports from collected coverage data
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
full
Очистить данные, запустить инструментированный бинарный файл и создать отчёты.
Stable ID: helper-cli.codecoverage.command.full
usage: codecoverage.py full [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Точный вывод --help
usage: codecoverage.py full [-h] --workspace-root WORKSPACE_ROOT --build-dir BUILD_DIR --binary BINARY --backend {gcc,llvm,msvc} --output-dir OUTPUT_DIR [--object OBJECTS] ...
Clean, run the instrumented binary, and generate reports
positional arguments:
binary_args arguments passed to the test binary
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
embedding-project source directory
--build-dir BUILD_DIR
configured CMake build directory
--binary BINARY instrumented test executable
--backend {gcc,llvm,msvc}
coverage compiler/toolchain backend
--output-dir OUTPUT_DIR
coverage data and report output directory
--object OBJECTS additional instrumented executable or shared library for LLVM reporting; repeatable
Запуск игровых тестов
Запускает упорядоченные многопроцессные игровые smoke-сценарии с контрактами готовности, маркеров, deadline, очистки и JSON-отчёта.
- Стабильный ID:
helper-cli.gameplay-test-runner - Программа:
gameplay_test_runner.py - Владелец:
quality - Аудитория:
game-developer,engine-contributor,embedding-project-build-system,ci-maintainer - Владелец вызова: CMake-цели подключающего проекта и CI smoke-задачи игровых тестов
- Исходный парсер: BuildTools/gameplay_test_runner.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: gameplay_test_runner.py [-h] --manifest MANIFEST [--value KEY=VALUE] [--report REPORT]
Run project-neutral multi-process gameplay smoke scenarios from a checked JSON manifest.
options:
-h, --help show this help message and exit
--manifest MANIFEST scenario manifest path
--value KEY=VALUE placeholder value; repeat as needed
--report REPORT optional JSON result path
Клиент протокола AiControl
Вызывает совместимый с Engine проектный мост AiControl через версионированный NDJSON/TCP envelope, не раскрывая shared tokens в командной строке.
- Стабильный ID:
helper-cli.ai-control-client - Программа:
ai_control_client.py - Владелец:
tooling - Аудитория:
game-developer,engine-contributor,tool-developer,ci-maintainer - Владелец вызова: ИИ-адаптеры проекта, smoke-тесты протокола и непосредственная диагностика разработчиком
- Исходный парсер: BuildTools/ai_control_client.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: ai_control_client.py [-h] [--host HOST] [--port PORT] [--timeout TIMEOUT] [--token-env TOKEN_ENV] [--allow-remote] {ping,status,observe,events,act} ...
Call an Engine-compatible AiControl bridge over NDJSON/TCP.
positional arguments:
{ping,status,observe,events,act}
ping Check bridge liveness.
status Read bridge status and queue limits.
observe Read the latest project observation.
events Read events after a sequence cursor.
act Enqueue one project-defined command.
options:
-h, --help show this help message and exit
--host HOST Bridge host.
--port PORT Bridge port.
--timeout TIMEOUT Socket timeout in seconds.
--token-env TOKEN_ENV
Environment variable containing the shared token.
--allow-remote Permit a non-loopback endpoint; transport remains unencrypted.
ping
Проверить доступность моста.
Stable ID: helper-cli.ai-control-client.command.ping
usage: ai_control_client.py ping [-h]
На этом уровне аргументов нет.
Точный вывод --help
usage: ai_control_client.py ping [-h]
options:
-h, --help show this help message and exit
status
Прочитать состояние моста и ограничения очереди.
Stable ID: helper-cli.ai-control-client.command.status
usage: ai_control_client.py status [-h]
На этом уровне аргументов нет.
Точный вывод --help
usage: ai_control_client.py status [-h]
options:
-h, --help show this help message and exit
observe
Прочитать последнее наблюдение проекта.
Stable ID: helper-cli.ai-control-client.command.observe
usage: ai_control_client.py observe [-h]
На этом уровне аргументов нет.
Точный вывод --help
usage: ai_control_client.py observe [-h]
options:
-h, --help show this help message and exit
events
Прочитать события после sequence-cursor.
Stable ID: helper-cli.ai-control-client.command.events
usage: ai_control_client.py events [-h] [--after-seq AFTER_SEQ] [--limit LIMIT]
Точный вывод --help
usage: ai_control_client.py events [-h] [--after-seq AFTER_SEQ] [--limit LIMIT]
options:
-h, --help show this help message and exit
--after-seq AFTER_SEQ
Exclusive event cursor.
--limit LIMIT Maximum events to return.
act
Поставить в очередь одну определённую проектом команду.
Stable ID: helper-cli.ai-control-client.command.act
usage: ai_control_client.py act [-h] --type TYPE [--target-id TARGET_ID] [--item-id ITEM_ID] [--aux-id AUX_ID] [--x X] [--y Y] [--screen-x SCREEN_X] [--screen-y SCREEN_Y] [--int-arg INT_ARG] [--string-arg STRING_ARG] [--append]
Точный вывод --help
usage: ai_control_client.py act [-h] --type TYPE [--target-id TARGET_ID] [--item-id ITEM_ID] [--aux-id AUX_ID] [--x X] [--y Y] [--screen-x SCREEN_X] [--screen-y SCREEN_Y] [--int-arg INT_ARG] [--string-arg STRING_ARG] [--append]
options:
-h, --help show this help message and exit
--type TYPE Project-defined command type.
--target-id TARGET_ID
Optional target entity identifier.
--item-id ITEM_ID Optional item entity identifier.
--aux-id AUX_ID Optional auxiliary entity identifier.
--x X Optional project world X coordinate.
--y Y Optional project world Y coordinate.
--screen-x SCREEN_X Optional screen X coordinate.
--screen-y SCREEN_Y Optional screen Y coordinate.
--int-arg INT_ARG Optional integer payload.
--string-arg STRING_ARG
Optional string payload.
--append Request project queue append semantics.
Форматировщик контента
Форматирует файлы .fomain, прототипов и необязательные файлы AngelScript в раскладке движка и отказывается от любой перезаписи, которая изменила бы прочитанное движком.
- Стабильный ID:
helper-cli.format-content - Программа:
format_content.py - Владелец:
tooling - Аудитория:
game-developer,embedding-project-build-system,ci-maintainer - Владелец вызова: BuildTools/buildtools.py format-content, задачи форматирования встраивающего игрового проекта и проверки расхождений в CI
- Исходный парсер: BuildTools/format_content.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: format_content.py [-h] [--check] [--project-root PROJECT_ROOT] [--fomain FOMAIN] [--skip-fomain] [--skip-protos] [--proto-path PATH] [--metadata PATH] [--fos PATTERN]
Format .fomain, prototype and optional AngelScript files without changing what the Engine reads from them.
options:
-h, --help show this help message and exit
--check report files that need formatting and exit with 1 without writing
--project-root PROJECT_ROOT
project root for relative paths and the .fomain lookup (default: FO_PROJECT_ROOT, then the current directory)
--fomain FOMAIN main config path (default: the only *.fomain file in the project root)
--skip-fomain do not format the main config
--skip-protos do not format prototype files
--proto-path PATH format only these prototype files or directories instead of the Proto resource packs (repeatable)
--metadata PATH read property and setting order from these files, in this order, instead of the Metadata resource packs (repeatable)
--fos PATTERN also format AngelScript files matching this glob relative to the project root with clang-format 20 (repeatable)
Средство чтения форматов контента движка
Выводит действующую конфигурацию, входы пакетов ресурсов, унаследованные значения прототипов и записи текстовых пакетов так, как их читают парсеры движка.
- Стабильный ID:
helper-cli.fo-formats - Программа:
fo_formats.py - Владелец:
tooling - Аудитория:
game-developer,tool-developer,ci-maintainer - Владелец вызова: контентные инструменты встраивающего игрового проекта и прямая диагностика разработчиком
- Исходный парсер: BuildTools/fo_formats.py
Аргументы верхнего уровня
На этом уровне аргументов нет.
Точный вывод --help верхнего уровня
usage: fo_formats.py [-h] {config,protos,text} ...
Print Engine content formats as the Engine reads them, as JSON.
positional arguments:
{config,protos,text}
config Effective settings, resource packs and sub-configs of a main config.
protos Effective prototype values of every Proto baker pack.
text Entries of one .fotxt text pack file.
options:
-h, --help show this help message and exit
config
Действующие настройки, пакеты ресурсов и подконфигурации основной конфигурации.
Stable ID: helper-cli.fo-formats.command.config
usage: fo_formats.py config [-h] [--sub-config SUB_CONFIG] [--files] main_config
Точный вывод --help
usage: fo_formats.py config [-h] [--sub-config SUB_CONFIG] [--files] main_config
positional arguments:
main_config Main configuration file (.fomain).
options:
-h, --help show this help message and exit
--sub-config SUB_CONFIG
Apply this [SubConfig] section after the main settings.
--files Also list the input files of every resource pack.
protos
Действующие значения прототипов из каждого пакета сборщика ресурсов Proto.
Stable ID: helper-cli.fo-formats.command.protos
usage: fo_formats.py protos [-h] [--sub-config SUB_CONFIG] [--type TYPE_NAME] [--name NAME] main_config
Точный вывод --help
usage: fo_formats.py protos [-h] [--sub-config SUB_CONFIG] [--type TYPE_NAME] [--name NAME] main_config
positional arguments:
main_config Main configuration file (.fomain).
options:
-h, --help show this help message and exit
--sub-config SUB_CONFIG
Apply this [SubConfig] section after the main settings.
--type TYPE_NAME Print only prototypes of this type.
--name NAME Print only the prototype with this migrated name.
text
Записи одного файла текстового пакета .fotxt.
Stable ID: helper-cli.fo-formats.command.text
usage: fo_formats.py text [-h] path
Точный вывод --help
usage: fo_formats.py text [-h] path
positional arguments:
path Text pack file named <TextPack>.<Language>.fotxt.
options:
-h, --help show this help message and exit
Контроль миграций идентичности
Требует MigrationRule для каждого удалённого или переименованного прототипа, свойства и значения enum и по зафиксированному манифесту запрещает повторное использование выведенных из оборота идентификаторов.
- Стабильный ID:
helper-cli.migration-guard - Программа:
migration_guard.py - Владелец:
quality - Аудитория:
game-developer,embedding-project-build-system,ci-maintainer - Владелец вызова: локальные задачи проверки встраивающего игрового проекта и контентные гейты CI
- Исходный парсер: BuildTools/migration_guard.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: migration_guard.py [-h] (--check | --update-manifest) [--root ROOT] [--config CONFIG] [--main-config MAIN_CONFIG] [--sub-config SUB_CONFIG] [--manifest MANIFEST] [--content-dir CONTENT_DIR] [--proto-extension PROTO_EXTENSION]
[--script-dir SCRIPT_DIR] [--native-source NATIVE_SOURCE]
Require a MigrationRule for every removed or renamed prototype, property and enum value, and refuse reuse of a retired identifier, against a committed manifest.
options:
-h, --help show this help message and exit
--check Compare the tree with the manifest; exit 1 on any violation.
--update-manifest Rewrite the manifest from the tree; refuses while a rule is missing or an identifier is reused.
--root ROOT Project root; relative paths resolve against it (default: current directory).
--config CONFIG JSON guard configuration, relative to the root.
--main-config MAIN_CONFIG
Main configuration file (.fomain) whose packs define the scope.
--sub-config SUB_CONFIG
Apply this [SubConfig] of the main config before reading resource packs.
--manifest MANIFEST Manifest file to check or rewrite.
--content-dir CONTENT_DIR
Prototype directory; replaces the Proto packs of the main config.
--proto-extension PROTO_EXTENSION
Prototype file extension used with --content-dir (default: Baking.ProtoFileExtensions).
--script-dir SCRIPT_DIR
Script source directory; replaces the Metadata packs of the main config.
--native-source NATIVE_SOURCE
Root-relative glob of native sources with property and enum declarations.
MCP-адаптер AiControl
Предоставляет bridge AiControl MCP-клиенту через stdio: общие инструменты протокола, endpoint, готовности и собственных процессов плюс инструменты, зарегистрированные проектом; инструмент разработки, никогда не поставляется в выпуске.
- Стабильный ID:
helper-cli.ai-control-mcp - Программа:
ai_control_mcp - Владелец:
tooling - Аудитория:
game-developer,tool-developer,ci-maintainer - Владелец вызова: конфигурации MCP-клиентов встраивающего проекта, проектные модули инструментов и раннеры ИИ-плейтестов
- Исходный парсер: BuildTools/ai_control_mcp/cli.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: ai_control_mcp [-h] [--host HOST] [--port PORT] [--timeout TIMEOUT] [--token-env TOKEN_ENV] [--allow-remote] [--project-root PROJECT_ROOT] [--project-module PROJECT_MODULE] [--module-path MODULE_PATH]
[--launch-profile LAUNCH_PROFILE] [--tool-prefix TOOL_PREFIX] [--server-name SERVER_NAME] [--keep-processes-on-exit] [--max-message-bytes MAX_MESSAGE_BYTES] [--list-tools]
Serve an AiControl bridge to an MCP client over stdio; a development tool, never shipped.
options:
-h, --help show this help message and exit
--host HOST Default bridge host.
--port PORT Default bridge port and base port for launches.
--timeout TIMEOUT Bridge socket timeout in seconds.
--token-env TOKEN_ENV
Environment variable containing the shared bridge token.
--allow-remote Permit non-loopback bridges; they also require a token.
--project-root PROJECT_ROOT
Root for launch paths, binaries and logs.
--project-module PROJECT_MODULE
Dotted module name or .py file whose register(registry) adds project tools; repeatable.
--module-path MODULE_PATH
Directory added to the import path for dotted project modules.
--launch-profile LAUNCH_PROFILE
JSON launch profile; overrides a profile set by a project module.
--tool-prefix TOOL_PREFIX
Prefix of the core tool names.
--server-name SERVER_NAME
MCP serverInfo name.
--keep-processes-on-exit
Leave launched processes running after the adapter exits; their trees must then be stopped manually.
--max-message-bytes MAX_MESSAGE_BYTES
Largest accepted MCP message line.
--list-tools Print the registered tool names and descriptions as JSON, then exit.
Проверка импортов Windows 7
Проверяет совместимость импортов слинкованных PE-файлов с Windows 7 и по запросу требует флаг большого адресного пространства у исполняемых файлов.
- Стабильный ID:
helper-cli.windows7-import-check - Программа:
check_windows7_imports.py - Владелец:
quality - Аудитория:
engine-contributor,embedding-project-build-system,release-operator - Владелец вызова: CI и релизная проверка Windows 7 подключающего проекта
- Исходный парсер: BuildTools/check_windows7_imports.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: check_windows7_imports.py [-h] [--require-large-address-aware] binaries [binaries ...]
Reject imports Windows 7 SP1 cannot resolve from Windows 7-compatible PE binaries
positional arguments:
binaries linked PE executable or DLL to inspect
options:
-h, --help show this help message and exit
--require-large-address-aware
Require the large-address flag on checked executables
Проверка ссылок Markdown
Проверяет локальные ссылки Markdown, якоря заголовков в стиле GitHub, UTF-8, парность ограждённых блоков кода и, по выбору, единственный заголовок H1 в пределах одного корня репозитория.
- Стабильный ID:
helper-cli.markdown-links - Программа:
markdown_links.py - Владелец:
quality - Аудитория:
game-developer,engine-contributor,embedding-project-build-system,ci-maintainer - Владелец вызова: обёртки документации встраивающего игрового проекта, локальные задачи и задания документации в CI
- Исходный парсер: BuildTools/markdown_links.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: markdown_links.py [-h] [--root ROOT] [--include GLOB] [--exclude GLOB] [--target-root DIR] [--skip-target GLOB] [--allow-line-fragments] [--require-reference-definitions] [--require-single-h1] [--require-yaml-front-matter]
[--h1-exempt GLOB] [--list]
Check local Markdown links, heading anchors, UTF-8 and fenced-code balance under one root
options:
-h, --help show this help message and exit
--root ROOT repository root that bounds link targets (default: current directory)
--include GLOB root-relative document glob; repeatable (default: **/*.md and **/*.markdown)
--exclude GLOB root-relative file or directory glob removed from the document set; repeatable
--target-root DIR extra directory, relative to --root, that links may point into without its documents being checked; repeatable
--skip-target GLOB root-relative glob of link targets that are not verified, such as a submodule that is not checked out; repeatable
--allow-line-fragments
accept #L10 and #L10-L20 line fragments on Markdown targets
--require-reference-definitions
report [text][label] links whose label has no definition in the same document
--require-single-h1 report documents that do not contain exactly one H1 heading
--require-yaml-front-matter
report front matter values that hold ': ' outside quotes, which YAML reads as a second mapping
--h1-exempt GLOB root-relative glob of documents exempt from --require-single-h1; repeatable
--list print the selected documents instead of checking them
Аудиты нативных исходников
Проверяет нативные области C++ на нарушения контрактов аллокаторов, умных указателей и локальных переменных с baseline движка и проекта.
- Стабильный ID:
helper-cli.native-source-audit - Программа:
native_source_audit.py - Владелец:
quality - Аудитория:
engine-contributor,embedding-project-build-system,ci-maintainer - Владелец вызова: CI проверки движка, обёртки нативных аудитов встраивающего игрового проекта и прямое использование разработчиком
- Исходный парсер: BuildTools/native_source_audit.py
Аргументы верхнего уровня
На этом уровне аргументов нет.
Точный вывод --help верхнего уровня
usage: native_source_audit.py [-h] AUDIT ...
Audit native C++ sources against the Engine coding contracts. Each audit scans --scope paths below --root (default: the Engine Source directory), applies the Engine-owned baseline plus project baselines, and fails on remaining findings or
on stale baseline rows. Exit codes: 0 passed or skipped, 1 findings or stale baseline rows, 2 invalid invocation, configuration, baseline or tool failure.
positional arguments:
AUDIT
allocator Report standard containers, allocating std:: helpers and C allocation outside the memory system.
smart-pointer Check the ptr/nptr/unique/refcount smart-pointer vocabulary and raw-pointer boundaries.
smart-pointer-ast Find raw pointer declarations on lines added since a git revision with clang-query.
local-variables Find redundant top-level const locals (clang-query) and use-after-move (clang-tidy).
explicit-local-types
Find auto locals whose deduced type is a simple explicit type (clang-query).
options:
-h, --help show this help message and exit
allocator
Сообщить о стандартных контейнерах, выделяющих память функциях std:: и выделении памяти C вне системы памяти.
Stable ID: helper-cli.native-source-audit.command.allocator
usage: native_source_audit.py allocator [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE] [--max-printed MAX_PRINTED]
[--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}]
Точный вывод --help
usage: native_source_audit.py allocator [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE] [--max-printed MAX_PRINTED]
[--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}]
Report standard containers, allocating std:: helpers and bare C allocation calls that bypass the Engine memory system.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--fail-on {error,warning,none}
Minimum severity that fails the command (default: error).
smart-pointer
Проверить словарь умных указателей ptr/nptr/unique/refcount и границы сырых указателей.
Stable ID: helper-cli.native-source-audit.command.smart-pointer
usage: native_source_audit.py smart-pointer [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}] [--inventory] [--inventory-output INVENTORY_OUTPUT] [--inventory-details-output INVENTORY_DETAILS_OUTPUT]
[--summary-output SUMMARY_OUTPUT] [--jobs JOBS]
Точный вывод --help
usage: native_source_audit.py smart-pointer [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--fail-on {error,warning,none}] [--inventory] [--inventory-output INVENTORY_OUTPUT] [--inventory-details-output INVENTORY_DETAILS_OUTPUT]
[--summary-output SUMMARY_OUTPUT] [--jobs JOBS]
Check the smart-pointer vocabulary, nullable checks and raw-pointer boundary shapes with text rules.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--fail-on {error,warning,none}
Minimum severity that fails the command (default: error).
--inventory Print non-failing inventory counters for pointer vocabulary and raw-pointer markers.
--inventory-output INVENTORY_OUTPUT
Write per-file inventory counters as TSV.
--inventory-details-output INVENTORY_DETAILS_OUTPUT
Write line-level inventory markers as TSV.
--summary-output SUMMARY_OUTPUT
Write a JSON summary of findings and inventory counters.
--jobs JOBS Worker processes; 0 uses the CPU count; output order does not depend on it (default: 0).
smart-pointer-ast
Найти через clang-query объявления сырых указателей в строках, добавленных после ревизии git.
Stable ID: helper-cli.native-source-audit.command.smart-pointer-ast
usage: native_source_audit.py smart-pointer-ast [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--diff-base DIFF_BASE] [--all]
Точный вывод --help
usage: native_source_audit.py smart-pointer-ast [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--diff-base DIFF_BASE] [--all]
Run clang-query over a compilation database and report raw pointer declarations, fields, parameters and returns.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--compilation-database COMPILATION_DATABASE
Directory containing compile_commands.json (default: config compilation_database).
--clang-query CLANG_QUERY
clang-query executable (default: FO_CLANG_QUERY, then PATH).
--clang-tidy CLANG_TIDY
clang-tidy executable for use-after-move (default: FO_CLANG_TIDY, then PATH).
--require-tooling Fail with exit code 2 instead of skipping when clang tools or the compilation database are missing.
--source-pattern SOURCE_PATTERN
clang-query isExpansionInFileMatching regex (default: derived from the scopes).
--unit-pattern UNIT_PATTERN
Only analyze compilation units whose display path matches this regex.
--jobs JOBS Parallel clang processes (default: 4).
--batch-size BATCH_SIZE
Translation units per clang process (default: 2).
--timeout TIMEOUT Seconds allowed per clang process (default: 900).
--diff-base DIFF_BASE
Report only matches on lines added since this git revision.
--all Report every match in the scopes instead of added lines only.
local-variables
Найти локальные переменные с избыточным const верхнего уровня (clang-query) и use-after-move (clang-tidy).
Stable ID: helper-cli.native-source-audit.command.local-variables
usage: native_source_audit.py local-variables [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--checks {all,redundant-local-const,use-after-move}]
[--mode {check,report,apply}]
Точный вывод --help
usage: native_source_audit.py local-variables [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--checks {all,redundant-local-const,use-after-move}]
[--mode {check,report,apply}]
Run clang-query and clang-tidy over a compilation database to find redundant top-level local const and use-after-move.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--compilation-database COMPILATION_DATABASE
Directory containing compile_commands.json (default: config compilation_database).
--clang-query CLANG_QUERY
clang-query executable (default: FO_CLANG_QUERY, then PATH).
--clang-tidy CLANG_TIDY
clang-tidy executable for use-after-move (default: FO_CLANG_TIDY, then PATH).
--require-tooling Fail with exit code 2 instead of skipping when clang tools or the compilation database are missing.
--source-pattern SOURCE_PATTERN
clang-query isExpansionInFileMatching regex (default: derived from the scopes).
--unit-pattern UNIT_PATTERN
Only analyze compilation units whose display path matches this regex.
--jobs JOBS Parallel clang processes (default: 4).
--batch-size BATCH_SIZE
Translation units per clang process (default: 2).
--timeout TIMEOUT Seconds allowed per clang process (default: 900).
--checks {all,redundant-local-const,use-after-move}
Checks to run (default: all).
--mode {check,report,apply}
check fails on active findings; report never fails; apply removes redundant const (requires --checks redundant-local-const).
explicit-local-types
Найти локальные переменные auto, выведенный тип которых является простым явным типом (clang-query).
Stable ID: helper-cli.native-source-audit.command.explicit-local-types
usage: native_source_audit.py explicit-local-types [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--mode {check,report,apply}] [--also-redundant-local-const]
[--json JSON] [--apply-report APPLY_REPORT]
Точный вывод --help
usage: native_source_audit.py explicit-local-types [-h] [--root ROOT] [--scope SCOPE] [--exclude EXCLUDE] [--config CONFIG] [--baseline BASELINE] [--no-engine-baseline] [--report REPORT] [--emit-baseline EMIT_BASELINE]
[--max-printed MAX_PRINTED] [--engine-root ENGINE_ROOT] [--compilation-database COMPILATION_DATABASE] [--clang-query CLANG_QUERY] [--clang-tidy CLANG_TIDY] [--require-tooling]
[--source-pattern SOURCE_PATTERN] [--unit-pattern UNIT_PATTERN] [--jobs JOBS] [--batch-size BATCH_SIZE] [--timeout TIMEOUT] [--mode {check,report,apply}] [--also-redundant-local-const]
[--json JSON] [--apply-report APPLY_REPORT]
Run clang-query over a compilation database and report auto locals that must spell their simple type explicitly.
options:
-h, --help show this help message and exit
--root ROOT Root that scopes, excludes, reports and project baselines are relative to (default: current directory).
--scope SCOPE File or directory to audit, relative to --root; repeatable (default: config scopes, else the Engine Source directory).
--exclude EXCLUDE fnmatch pattern of root-relative paths to skip; a pattern ending in / skips a subtree; repeatable.
--config CONFIG JSON configuration with scopes, exclude patterns, baselines and audit options; relative to --root.
--baseline BASELINE Additional project baseline TSV with root-relative paths; repeatable.
--no-engine-baseline Do not apply BuildTools/audit_baselines/<audit>.tsv from the Engine.
--report REPORT Write remaining findings and stale baseline rows as TSV.
--emit-baseline EMIT_BASELINE
Write candidate baseline rows (empty reason column) for the remaining findings.
--max-printed MAX_PRINTED
Maximum findings printed to stdout; 0 prints all (default: 50).
--engine-root ENGINE_ROOT
Engine checkout whose Source rules and BuildTools/audit_baselines apply (default: the Engine containing this tool).
--compilation-database COMPILATION_DATABASE
Directory containing compile_commands.json (default: config compilation_database).
--clang-query CLANG_QUERY
clang-query executable (default: FO_CLANG_QUERY, then PATH).
--clang-tidy CLANG_TIDY
clang-tidy executable for use-after-move (default: FO_CLANG_TIDY, then PATH).
--require-tooling Fail with exit code 2 instead of skipping when clang tools or the compilation database are missing.
--source-pattern SOURCE_PATTERN
clang-query isExpansionInFileMatching regex (default: derived from the scopes).
--unit-pattern UNIT_PATTERN
Only analyze compilation units whose display path matches this regex.
--jobs JOBS Parallel clang processes (default: 4).
--batch-size BATCH_SIZE
Translation units per clang process (default: 2).
--timeout TIMEOUT Seconds allowed per clang process (default: 900).
--mode {check,report,apply}
check fails on candidates; report never fails; apply rewrites the eligible auto tokens.
--also-redundant-local-const
Run the redundant-local-const matcher in the same AST pass.
--json JSON Write the full candidate report as JSON.
--apply-report APPLY_REPORT
Apply a previously reviewed JSON report without running clang-query (requires --mode apply).
Аудиты нативной безопасности
Отклоняет нативный код, меняющий покрытие сущностей в обход серверных экспортов в скрипты, и сверяет пофункциональные классификации безопасности исключений в исходниках движка и проекта с зафиксированными baseline, включая функции без зоны, способные бросить исключение, но не имеющие строки.
- Стабильный ID:
helper-cli.native-safety-audit - Программа:
native_safety_audit.py - Владелец:
quality - Аудитория:
engine-contributor,game-developer,embedding-project-build-system,ci-maintainer - Владелец вызова: workflow validate движка, задачи нативной проверки встраивающего игрового проекта и CI
- Исходный парсер: BuildTools/native_safety_audit.py
Аргументы верхнего уровня
На этом уровне аргументов нет.
Точный вывод --help верхнего уровня
usage: native_safety_audit.py [-h] command ...
Audit Engine and project native sources against the entity-cover and exception-safety contracts.
positional arguments:
command
sync-scope reject native code that obtains, replaces or releases entity cover for script exports
exception-safety
check per-function exception-safety classifications against the baselines
options:
-h, --help show this help message and exit
sync-scope
Отклонить нативный код, который получает, заменяет или освобождает покрытие сущностей для экспортов в скрипты.
Stable ID: helper-cli.native-safety-audit.command.sync-scope
usage: native_safety_audit.py sync-scope [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--json]
Точный вывод --help
usage: native_safety_audit.py sync-scope [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--json]
options:
-h, --help show this help message and exit
--root ROOT repository root for --scope, --config and --baseline paths (default: current directory)
--engine-root ENGINE_ROOT
Engine checkout to audit (default: the checkout that contains this script)
--scope DIR root-relative project native directory audited with the Engine rules (repeatable)
--config FILE project JSON configuration with vendored exclusions and reviewed project rules
--baseline FILE project baseline TSV for findings in the --scope directories
--json print the summary and diagnostics as JSON
exception-safety
Проверить пофункциональные классификации безопасности исключений по baseline.
Stable ID: helper-cli.native-safety-audit.command.exception-safety
usage: native_safety_audit.py exception-safety [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--fail-on {error,warning}] [--require-classified]
[--level {NoThrow,Strong,Basic,None,Unclassified}] [--area AREA] [--file FILE_FILTER] [--function FUNCTION_FILTER] [--add-new] [--add-markerless] [--prune-removed] [--migrate-signatures]
[--accept FILE::FUNCTION] [--accept-all-changed]
[{audit,report,update}]
Точный вывод --help
usage: native_safety_audit.py exception-safety [-h] [--root ROOT] [--engine-root ENGINE_ROOT] [--scope DIR] [--config FILE] [--baseline FILE] [--fail-on {error,warning}] [--require-classified]
[--level {NoThrow,Strong,Basic,None,Unclassified}] [--area AREA] [--file FILE_FILTER] [--function FUNCTION_FILTER] [--add-new] [--add-markerless] [--prune-removed] [--migrate-signatures]
[--accept FILE::FUNCTION] [--accept-all-changed]
[{audit,report,update}]
positional arguments:
{audit,report,update}
audit (default) fails on drift; report summarizes the baselines; update maintains them
options:
-h, --help show this help message and exit
--root ROOT repository root for --scope, --config and --baseline paths (default: current directory)
--engine-root ENGINE_ROOT
Engine checkout to audit (default: the checkout that contains this script)
--scope DIR root-relative project native directory audited with the Engine rules (repeatable)
--config FILE project JSON configuration with vendored exclusions and reviewed project rules
--baseline FILE project baseline TSV for findings in the --scope directories
--fail-on {error,warning}
audit: also fail on warnings (pending None adjudication, review notes)
--require-classified audit: fail on markerless functions without a row that contain throw points or call classified functions, and on rows with a level whose status is still unclassified
--level {NoThrow,Strong,Basic,None,Unclassified}
report: list rows with this level
--area AREA report: list rows of this source area (second path component)
--file FILE_FILTER report: list rows whose file contains this text
--function FUNCTION_FILTER
report: list rows whose function contains this text
--add-new update: add unclassified rows for new functions
--add-markerless update: add unclassified rows for the markerless functions the audit reports
--prune-removed update: remove rows whose function vanished
--migrate-signatures update: carry classifications across signature-only changes with identical body hashes
--accept FILE::FUNCTION
update: refresh the body hash of a re-derived function (repeatable)
--accept-all-changed update: refresh every changed body hash
Управление устройством Android
Находит, подключает, устанавливает, запускает, останавливает и проверяет Android Wi-Fi-устройства через adb.
- Стабильный ID:
helper-cli.android-device - Программа:
android_device.py - Владелец:
platform - Аудитория:
game-developer,engine-contributor - Владелец вызова: Android-задачи подключающего проекта и непосредственное использование разработчиком
- Исходный парсер: BuildTools/android_device.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: android_device.py [-h] [--workspace-root WORKSPACE_ROOT] {discover,connect,install,launch,launch-game,stop,logcat} ...
Android Wi-Fi device helper for BuildTools tasks
positional arguments:
{discover,connect,install,launch,launch-game,stop,logcat}
discover List Android Wi-Fi devices discovered through adb mdns
connect Connect to an Android Wi-Fi device and cache the endpoint
install Install an APK on the selected Android Wi-Fi device
launch Launch an Android activity on the selected device
launch-game Launch the Android game activity and pass RemoteSceneLaunch server host override
stop Force-stop an Android package on the selected device
logcat Stream logcat from the selected device
options:
-h, --help show this help message and exit
--workspace-root WORKSPACE_ROOT
Workspace directory path containing android-sdk and android-debug
discover
Перечислить Android-устройства Wi-Fi, найденные через adb mdns.
Stable ID: helper-cli.android-device.command.discover
usage: android_device.py discover [-h]
На этом уровне аргументов нет.
Точный вывод --help
usage: android_device.py discover [-h]
options:
-h, --help show this help message and exit
connect
Подключиться к Android-устройству по Wi-Fi и кешировать endpoint.
Stable ID: helper-cli.android-device.command.connect
usage: android_device.py connect [-h] [--device DEVICE]
Точный вывод --help
usage: android_device.py connect [-h] [--device DEVICE]
options:
-h, --help show this help message and exit
--device DEVICE Device IP[:port]; if omitted, auto-discovery and interactive selection are used
install
Установить APK на выбранное Android-устройство Wi-Fi.
Stable ID: helper-cli.android-device.command.install
usage: android_device.py install [-h] --apk APK [--device DEVICE]
Точный вывод --help
usage: android_device.py install [-h] --apk APK [--device DEVICE]
options:
-h, --help show this help message and exit
--apk APK APK path
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
launch
Запустить Android activity на выбранном устройстве.
Stable ID: helper-cli.android-device.command.launch
usage: android_device.py launch [-h] --activity ACTIVITY [--device DEVICE]
Точный вывод --help
usage: android_device.py launch [-h] --activity ACTIVITY [--device DEVICE]
options:
-h, --help show this help message and exit
--activity ACTIVITY Fully qualified activity component, e.g. com.example.game/.FOnlineActivity
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
launch-game
Запустить Android activity игры и передать переопределение хоста сервера RemoteSceneLaunch.
Stable ID: helper-cli.android-device.command.launch-game
usage: android_device.py launch-game [-h] --activity ACTIVITY [--device DEVICE] [--server-host SERVER_HOST]
Точный вывод --help
usage: android_device.py launch-game [-h] --activity ACTIVITY [--device DEVICE] [--server-host SERVER_HOST]
options:
-h, --help show this help message and exit
--activity ACTIVITY Fully qualified activity component, e.g. com.example.game/.FOnlineActivity
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
--server-host SERVER_HOST
Host IP or name for ClientNetwork.ServerHost; if omitted, auto-detected from the route to the selected device
stop
Принудительно остановить Android-пакет на выбранном устройстве.
Stable ID: helper-cli.android-device.command.stop
usage: android_device.py stop [-h] --package PACKAGE_NAME [--device DEVICE]
Точный вывод --help
usage: android_device.py stop [-h] --package PACKAGE_NAME [--device DEVICE]
options:
-h, --help show this help message and exit
--package PACKAGE_NAME
Android package name
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
logcat
Передавать поток logcat с выбранного устройства.
Stable ID: helper-cli.android-device.command.logcat
usage: android_device.py logcat [-h] [--device DEVICE]
Точный вывод --help
usage: android_device.py logcat [-h] [--device DEVICE]
options:
-h, --help show this help message and exit
--device DEVICE Device IP[:port]; if omitted, cached endpoint or discovery is used
Локальный Web-сервер
Раздаёт упакованный Web-клиент с локального HTTP-сервера без кеширования.
- Стабильный ID:
helper-cli.simple-web-server - Программа:
simple-web-server.py - Владелец:
platform - Аудитория:
game-developer,release-operator - Владелец вызова: payload WebServer в BuildTools/package.py
- Исходный парсер: BuildTools/web/simple-web-server.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: simple-web-server.py [-h] [--port PORT] [--fork]
Simple HTTP server
options:
-h, --help show this help message and exit
--port PORT web server port
--fork fork process
Контрольные суммы артефактов
Записывает или проверяет sidecar-файлы SHA-256 и необязательный манифест для готовых релизных пакетов.
- Стабильный ID:
helper-cli.artifact-checksums - Программа:
artifact_checksums.py - Владелец:
build-release - Аудитория:
release-operator,ci-maintainer,embedding-project-build-system - Владелец вызова: релизные задачи подключающего проекта после остановки последнего записывающего пакеты процесса
- Исходный парсер: BuildTools/artifact_checksums.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: artifact_checksums.py [-h] [--artifact RELATIVE_PATH] [--suffix SUFFIX] [--manifest FILENAME] [--no-sidecars] [--verify] directory
Write or verify SHA-256 sidecars and an optional manifest for finished release packages.
positional arguments:
directory finished package directory, before publication
options:
-h, --help show this help message and exit
--artifact RELATIVE_PATH
select this file, relative to the directory, instead of scanning the directory root; repeatable
--suffix SUFFIX case-insensitive file-name suffix to select; repeatable; replaces the default .zip, .tar, .tar.gz, .msi and .apk
--manifest FILENAME also write (or verify) one manifest of every selected file at the directory root, for example SHA256SUMS
--no-sidecars write or verify only the manifest; requires --manifest
--verify compare existing sidecars and manifest with the current file bytes instead of writing them
Генератор версии проекта
Создаёт или проверяет записываемый машиной монотонный файл VERSION проекта по встроенной или проектной схеме версий.
- Стабильный ID:
helper-cli.project-version - Программа:
project_version.py - Владелец:
build-release - Аудитория:
game-developer,ci-maintainer,embedding-project-build-system - Владелец вызова: задачи версии, hooks и проверки CI подключающего проекта
- Исходный парсер: BuildTools/project_version.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: project_version.py [-h] [--root ROOT] [--config CONFIG] [--file FILE] [--base-ref BASE_REF] [--scheme SCHEME] [--limit COMPONENT=N] [--since-commit SINCE_COMMIT] [--check]
Generate or check a machine-written monotonic project VERSION file against Git history.
options:
-h, --help show this help message and exit
--root ROOT directory inside the project work tree (default: current directory)
--config CONFIG JSON file with any of file, base_ref, scheme, limits, since_commit; options given on the command line win
--file FILE version file relative to --root (default: VERSION)
--base-ref BASE_REF Git ref whose version the next value must exceed, for example origin/main; required to generate
--scheme SCHEME built-in patch-per-commit (default) or counter, or <file.py or module>:<factory> of a project scheme
--limit COMPONENT=N exclusive upper bound of one scheme component, for example patch=10000; a full component carries into the previous one; repeatable
--since-commit SINCE_COMMIT
ignore values committed before this commit, for example where the encoding changed; it must be an ancestor of every compared ref
--check validate the working-tree file without writing it
Предварительная проверка релиза
Проверяет версию, тег и ассеты релиза проекта, выбирает публикацию или dry-run, делит слишком большие ассеты и записывает манифест контрольных сумм.
- Стабильный ID:
helper-cli.release-preflight - Программа:
release_preflight.py - Владелец:
build-release - Аудитория:
release-operator,ci-maintainer - Владелец вызова: ручные релизные задачи подключающего проекта перед созданием тега и публикацией
- Исходный парсер: BuildTools/release_preflight.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: release_preflight.py [-h] [--root ROOT] [--config CONFIG] [--file FILE] [--scheme SCHEME] [--limit COMPONENT=N] [--tag-prefix TAG_PREFIX] [--remote REMOTE] [--ref REF] [--release-ref RELEASE_REF] [--dry-run] [--engine PATH]
[--assets-dir ASSETS_DIR] [--asset-pattern GLOB] [--max-asset-bytes SIZE] [--manifest FILENAME] [--outputs-file OUTPUTS_FILE] [--summary-file SUMMARY_FILE]
Validate the version, tag and assets of a project release and decide between publish and dry-run.
options:
-h, --help show this help message and exit
--root ROOT directory inside the project work tree (default: current directory)
--config CONFIG project_version.py JSON config; its file, scheme and limits apply here
--file FILE version file relative to --root (default: VERSION)
--scheme SCHEME version scheme, as for project_version.py (default: patch-per-commit)
--limit COMPONENT=N scheme component limit, as for project_version.py; repeatable
--tag-prefix TAG_PREFIX
release tag prefix before the version (default: v)
--remote REMOTE also look for the tag on this Git remote, for example origin
--ref REF ref being released, for example refs/heads/main (default: the branch checked out at HEAD)
--release-ref RELEASE_REF
only this ref publishes; every other ref is a dry run, and without it every run is a dry run
--dry-run force dry-run mode even on the release ref
--engine PATH also require the committed gitlink of this Engine submodule to be reachable from a remote-tracking branch of the submodule
--assets-dir ASSETS_DIR
directory whose root-level files are the release assets
--asset-pattern GLOB file-name pattern of the assets in --assets-dir; repeatable (default: every file)
--max-asset-bytes SIZE
split each larger asset into <name>.partNN pieces of at most SIZE bytes; K, M and G suffixes are powers of 1024
--manifest FILENAME write a SHA-256 manifest of the final assets into --assets-dir
--outputs-file OUTPUTS_FILE
append version, tag, previous_tag, publish and assets as key=value lines, for example to $GITHUB_OUTPUT
--summary-file SUMMARY_FILE
append a Markdown summary, for example to $GITHUB_STEP_SUMMARY
Отчёт об обновлении Engine
Записывает Markdown-запись обновления Engine с идентичностями Engine, входящим диапазоном, миграциями из истории изменений и поиском имён в проекте.
- Стабильный ID:
helper-cli.engine-upgrade-report - Программа:
engine_upgrade_report.py - Владелец:
documentation - Аудитория:
game-developer,engine-contributor - Владелец вызова: работа подключающего проекта по обновлению Engine, запуск из корня проекта
- Исходный парсер: BuildTools/engine_upgrade_report.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: engine_upgrade_report.py [-h] [--project PROJECT] [--engine ENGINE] [--old OLD] [--new NEW] [--changelog CHANGELOG] [--names NAMES] [--search-path PATHSPEC] [--max-locations MAX_LOCATIONS] [--output OUTPUT] [--force]
Write a Markdown Engine update record for an embedding project from read-only Git queries.
options:
-h, --help show this help message and exit
--project PROJECT embedding project work tree (default: current directory)
--engine ENGINE Engine checkout relative to --project (default: Engine)
--old OLD baseline Engine revision (default: the parent gitlink at HEAD)
--new NEW target Engine revision, for example a commit or a v<version> tag (default: the Engine checkout HEAD)
--changelog CHANGELOG
changelog path inside the Engine repository, read at the target revision (default: Docs/en/reference/changelog.md)
--names NAMES text file with one literal name per line to search in the project sources; blank lines are ignored
--search-path PATHSPEC
project pathspec to search for the names; repeatable (default: the whole project except the Engine checkout)
--max-locations MAX_LOCATIONS
locations listed per name in the record; the match count is always complete (default: 20)
--output OUTPUT write the record to this file instead of standard output
--force replace an existing --output file
Проверка привязок скриптов
Отклоняет сырые указатели в нативных сигнатурах, доступных скриптам, и сравнивает nullability обработчиков AngelScript с объявлениями событий и удалённых вызовов.
- Стабильный ID:
helper-cli.script-binding-check - Программа:
check_script_bindings.py - Владелец:
quality - Аудитория:
game-developer,engine-contributor,ci-maintainer - Владелец вызова: CI движка и гейты качества встраивающего игрового проекта
- Исходный парсер: BuildTools/check_script_bindings.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: check_script_bindings.py [-h] [--root ROOT] [--scope DIR] [--scripts DIR] [--exclude GLOB] [--baseline TSV] [--write-baseline TSV] [--list-rules]
Check script-facing native signatures for ptr/nptr spelling and compare AngelScript handlers with event and remote-call declarations
options:
-h, --help show this help message and exit
--root ROOT repository root that scopes and reported paths are relative to (default: the Engine root that contains this script)
--scope DIR root-relative native source directory; repeatable (default: Source)
--scripts DIR root-relative AngelScript directory whose handlers are compared; repeatable
--exclude GLOB fnmatch pattern for root-relative POSIX paths to skip; repeatable
--baseline TSV accepted findings (rule, path, count, reason TSV); repeatable
--write-baseline TSV write current finding counts with empty reasons instead of gating
--list-rules print rule identifiers and exit
Проверка гигиены кода AngelScript
Проверяет авторские модули AngelScript на соблюдение соглашений о пространствах имён, include, макросах стороны, директивах сортировки и окончании файлов с baseline, счётчики которого могут только уменьшаться.
- Стабильный ID:
helper-cli.angelscript-hygiene-check - Программа:
check_angelscript_hygiene.py - Владелец:
quality - Аудитория:
game-developer,engine-contributor,ci-maintainer - Владелец вызова: CI движка и гейты качества встраивающего игрового проекта
- Исходный парсер: BuildTools/check_angelscript_hygiene.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: check_angelscript_hygiene.py [-h] [--root ROOT] [--scripts DIR] [--config JSON] [--exclude GLOB] [--baseline TSV] [--write-baseline TSV] [--list-rules]
Check authored AngelScript modules for namespace, include, side-macro, sort-directive and file-ending conventions with an optional count-ratchet baseline
options:
-h, --help show this help message and exit
--root ROOT repository root that script directories and reported paths are relative to (default: the Engine root that contains this script)
--scripts DIR root-relative directory searched recursively for .fos files; repeatable (default: Examples)
--config JSON rule switches, rule options and excludes (schema_version 1)
--exclude GLOB fnmatch pattern for root-relative POSIX paths to skip; repeatable
--baseline TSV accepted findings (rule, path, count, reason TSV); repeatable
--write-baseline TSV write current finding counts with empty reasons instead of gating
--list-rules print rule identifiers, defaults and exit
Создание MSI
Собирает установщик MSI из созданного упаковщиком определения WiX.
- Стабильный ID:
helper-cli.createmsi - Программа:
createmsi.py - Владелец:
build-release - Аудитория:
release-operator,engine-contributor - Владелец вызова: пакет Wix в BuildTools/package.py
- Исходный парсер: BuildTools/msicreator/createmsi.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: createmsi.py [-h] [--wix-dir directory] definition.json
Build an MSI package from a WiX definition
positional arguments:
definition.json bare WiX package definition filename in the working directory
options:
-h, --help show this help message and exit
--wix-dir directory directory containing WiX tools; omit to find them on PATH
Анализ трейса синхронизации движения
Свести строки журнала MOVESYNC из Network.MoveSyncTrace в отчёты о расхождении, отставании и коррекциях по сценариям.
- Стабильный ID:
helper-cli.move-sync-analysis - Программа:
move_sync_analysis.py - Владелец:
networking - Аудитория:
game-developer,engine-contributor,ci-maintainer - Владелец вызова: плейтесты движения встраивающего игрового проекта и прямая диагностика разработчиком
- Исходный парсер: BuildTools/move_sync_analysis.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: move_sync_analysis.py [-h] --geometry {hexagonal,square} [--clock {t,st}] [--actor ACTOR] [--settle-ms SETTLE_MS] [--extra-side EXTRA_SIDE] [--timeline TIMELINE] [--json JSON] [--markdown MARKDOWN] [--require-converged]
logs [logs ...]
Analyse MOVESYNC movement synchronization traces written with Network.MoveSyncTrace.
positional arguments:
logs log files holding MOVESYNC lines (server and clients)
options:
-h, --help show this help message and exit
--geometry {hexagonal,square}
world grid geometry of the project (FO_GEOMETRY)
--clock {t,st} t: shared monotonic clock (one machine); st: synchronized time (several machines)
--actor ACTOR analyse the whole trace as one scenario of this critter id instead of mark-delimited scenarios
--settle-ms SETTLE_MS
extend each scenario window by this many milliseconds after its end mark
--extra-side EXTRA_SIDE
also read MOVESYNC lines of this project-written side into timelines (repeatable)
--timeline TIMELINE print the merged timeline of a scenario label (repeatable, or 'all')
--json JSON write the full report as JSON
--markdown MARKDOWN write the Markdown summary table
--require-converged exit 1 when any scenario ends with the views disagreeing
Проверка текстовых пакетов
Проверить исходные пакеты .fotxt на ошибки разбора, повторяющиеся варианты, текст в чужой письменности и согласованность ключей между языками до бейкинга.
- Стабильный ID:
helper-cli.check-text-packs - Программа:
check_text_packs.py - Владелец:
localization - Аудитория:
game-developer,embedding-project-build-system,ci-maintainer - Владелец вызова: задачи локализации встраивающего игрового проекта и контентные гейты CI
- Исходный парсер: BuildTools/check_text_packs.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: check_text_packs.py [-h] (--languages LANGUAGES | --config CONFIG) [--sub-config SUB_CONFIG] [--script LANGUAGE=SCRIPTS] [--ignore-pattern REGEX] [--sparse LANGUAGE] [--strict-variant-counts] [--baseline BASELINE]
[--base-dir BASE_DIR] [--json JSON]
roots [roots ...]
Lint raw .fotxt text packs against the Engine grammar and language normalization.
positional arguments:
roots text directories to scan recursively; each root is checked as one resource-pack input
options:
-h, --help show this help message and exit
--languages LANGUAGES
ordered Baking.BakeLanguages declarations, such as 'engl russ'
--config CONFIG main .fomain config whose Baking.BakeLanguages is read
--sub-config SUB_CONFIG
sub-config applied over the main config section (with --config)
--script LANGUAGE=SCRIPTS
letter scripts a language allows, such as engl=latin (repeatable)
--ignore-pattern REGEX
text removed before the script check, such as project placeholders (repeatable)
--sparse LANGUAGE language that intentionally inherits missing packs and keys from its fallback (repeatable)
--strict-variant-counts
also report keys whose variant count differs from the fallback language
--baseline BASELINE JSON exemption file with a reason per known finding (repeatable)
--base-dir BASE_DIR directory that finding and exemption paths are relative to (default: current directory)
--json JSON also write the remaining findings as JSON
Проверка рецептов механик
Проверить страницы рецептов механик, их русские зеркала и указатель раздела по манифесту рецептов, цитируемым файлам примера и сгенерированной модели API.
- Стабильный ID:
helper-cli.mechanics-recipes - Программа:
mechanics_recipes.py - Владелец:
documentation - Аудитория:
engine-contributor,game-developer,ci-maintainer - Владелец вызова: тесты документации движка, авторы рецептов и проверки документации в CI
- Исходный парсер: BuildTools/mechanics_recipes.py
Аргументы верхнего уровня
Точный вывод --help верхнего уровня
usage: mechanics_recipes.py [-h] (--check | --list) [--root ROOT] [--manifest MANIFEST] [--api-model API_MODEL]
Check mechanics recipe pages against their recipe manifest, example files and the generated API model
options:
-h, --help show this help message and exit
--check validate the manifest, pages, Russian mirrors, section index and example files
--list print the recipes and cross-cutting pages from the manifest without validating them
--root ROOT Engine checkout to check (default: the checkout that contains this script)
--manifest MANIFEST recipe manifest (default: Examples/MechanicsSandbox/recipes.json under --root)
--api-model API_MODEL
generated API model (default: Docs/generated/api.json under --root)