Skip to content

Releases

AutoTrigger 0.1.0 Preview 2026-11-04

Pre-release

Choose a tag to compare

AutoTrigger 0.1.0 Preview(2026-11-04)

基于 2026-10-30 代码审计的复核结论,本轮修复 26 项问题并同步文档。对应提交范围:b5bb35b..160a291。

主要变更

  • 证据与引擎:E-01 文件证据改为逐目录不可读粒度(ISSUE-21),不再因 C:\Program Files\WindowsApps 等单个目录不可读而全局禁用文件证据;预算/超时/条目截断仍全局生效。P-05 安装器输出截断写入中文警告日志(不扩结果 JSON 字段);P-07 AVX2 判定先校验 CPUID 最大基本叶;P-08 环境检查统一识别 OCR .7z/.zip 离线包。
  • CLI:命令行取值非法返回 2、配置文件自身错误仍 3(PRD 6.1/A11);未指定 --output 时默认结果固定写数据目录 results/,删除 %TEMP%\AT-results 死分支;检查类命令不写结果/日志文件,显式 --output <文件> 会提示已忽略;--help 增加相对路径基准说明。
  • GUI 稳定性:模板 ZIP 导出校验移入锁内;删除截图死路径的 panic 风险;修复 roundRect/drawText 的 GDI 对象与 DC 恢复;调试截图改存数据目录并有 200 张上限;模板匹配改为逐模板 500ms + 全库 3s 预算;HWND 复用按 PID/标题重建状态;启动时 schtasks 查询改为后台执行、窗口先显示;WM_PAINT 不再创建 tooltip/改写子控件文本。
  • 平台与工具链:数据目录迁移跳过缺快照残留任务并写警告;任务快照拒绝符号链接/重解析点;单条损坏 task.json 隔离不阻断启动;命令行指针读取改用 lstrlenW 消除越界;打包 zip 不静默覆盖;交付包 docs 改用户文档白名单;新增纯 Go schema 校验器(不再依赖 npm/ajv);冒烟脚本夹具缺失时明确报错。

验证结果

  • gofmt -l . 无输出;go build ./...、go vet ./... 通过;Linux/Darwin 交叉构建通过。
  • go test -count=1 ./...:28 个包 ok,0 FAIL(队长与独立验证人各复跑)。
  • EXE:8,114,688 B,PE 导入表仅 kernel32.dll;schema 与 pkg/schema/result.schema.json 逐字节一致;go.mod/go.sum 无变化。
  • 真实 EXE 冒烟:--timeout=-1→2;--version + 坏配置→0;--check-prereq --output <文件>→warning 且不写文件;--dump-resources→生成 resource-pack.json;默认结果落数据目录。
  • 验证人发现的 2 处非确定测试已修复,-count=10 连跑通过(gui 模板预算、tools/package 模板匹配)。

交付物

  • AutoTrigger-0.1.0-preview-20261104.zip
    • SHA-256:CF6E818924147FD133E1FB6CB11C3B4D9DEA6C63BD75FC0F0655ACEA8327D0F2
    • 大小:194,102,200 B;60 个文件;离线物料(7-Zip、PaddleOCR-json、RapidOCR-json)齐全,含可选 ui_detect 物料
    • 工具 0.1.0 / schema 2.8
    • manifest.json 中 release_ready=false 是打包工具既有口径(不宣称已完成 Win7 实机验收),不代表本包可直接作为正式版发布

已知限制(未验证)

  • 真实桌面 GUI 端到端、Win7 SP1 x64、高 DPI/多显示器、UAC 弹窗、SSH 命名管道全链路、真实安装器验收未执行。
  • E-01 逐目录逻辑已由单元测试与注入式错误覆盖,真实 C:\Program Files\WindowsApps 环境建议实机复核。
  • 本轮为 pre-release,建议在快照虚拟机中验证后再升级为正式版。

文档

  • docs/代码审计记录-20261103.md(决策、26 项明细、验证与风险)
  • docs/自动安装工具prd-v2.18.md(v2.18 修订)
  • docs/验收状态.md、README.md / README.en.md

AutoTrigger v0.1.0

Choose a tag to compare

@pengchengyin pengchengyin released this 23 Oct 17:04

AutoTrigger v0.1.0

首个正式版。AutoTrigger 是面向 Windows 的离线软件安装自动化工具,提供原生 GUI 与 CLI 双入口:识别安装器类型、自动操作安装向导、采集安装证据,并输出结构化结果 JSON。单文件运行、全程离线、MIT 协议。

主要能力

  • 多安装器适配:内置 Inno Setup、NSIS、MSI、WiX Burn 适配;自绘界面可通过图像模板匹配(截图 + 动作标记)与 OCR 兜底。
  • 证据分级判定:安装前后基线快照对比 + 证据分级 + 反证据仲裁,区分「安装完成 / 疑似成功 / 部分完成 / 已安装 / 失败」并给出置信度;退出码 0 不等于安装成功。
  • 活动感知超时:有进展不计时,不误杀慢装;超时先优雅关闭再清理进程树,证据照常采集。
  • 异常路径完整输出:超时、中止、崩溃同样写出可解析结果 JSON(Schema 2.8),便于第三方脚本消费。
  • GUI 工作台:首页环境检查与统计、任务配置(新建任务、历史详情、执行日志与结果 JSON 双标签)、模板管理(批量导入导出 ZIP、连续捕获、发布版本中心)、设置(数据目录迁移、识别与依赖、高级配置 JSON + 可搜索字段说明)。
  • 无人值守:登录自启(管理员提权)、SSH 同账户命名管道远程提交任务、上传/队列/快照保存在 config/remote。
  • 离线交付:7-Zip 与 OCR 引擎(PaddleOCR-json / RapidOCR-json)随包离线物料自动部署,运行全程不联网。

测试数据(历史构建口径)

管理员会话、Windows 10.0.26300 x64:22 个真实安装器中 18 个(81.8%)输出「安装完成」,其余 4 个「部分完成」。分组:Inno Setup 4/5 · NSIS 5/5 · MSI 5/6 · WiX Burn 2/3 · 其他厂商 2/3。压缩包整组稳定性:1621 条结果正常收尾(约 38 分钟)。

以上为历史构建证据,不代表最新版整体成功率;建议在专用虚拟机/快照环境复测。

下载

资产 说明
AutoTrigger-0.1.0.zip 完整离线交付包(EXE + README + 结果 Schema + 文档 + 模板 + 7-Zip/OCR 离线物料 + SHA-256 清单)
AutoTrigger.exe 单文件程序(不含离线物料与模板,依赖需自行部署)
SHA256SUMS-v0.1.0.txt 全部资产校验值

兼容性与安全边界

  • 目标平台 Windows 7 SP1 x64 及以上;Win7 实机兼容尚未完整验收。
  • 不绕过 UAC / UIPI / 锁屏;UAC 弹窗需人工批准。
  • 安全软件可能告警:请先核对来源与 SHA-256,不建议直接加排除。
  • Windows 内置 OCR 尚未实现;OCR 引擎选择与回落策略见 README。

文档

快速开始、结果 JSON 字段说明、图像模板制作、SSH 远程任务说明、架构说明见仓库 docs/ 与交付包内文档。

AutoTrigger 0.1.0 Preview 2026-10-16

Pre-release

Choose a tag to compare

AutoTrigger 0.1.0 Preview - 2026-10-16

Windows x64 offline installer/trigger tool with native GUI and CLI.

Included

  • NEW: current-user administrator logon startup through an explicit saved setting, with corrected task XML encoding, state readback and local diagnostics. Startup/state readback was user-verified on one Windows 10 VM; it is not a system service or a guarantee for every host.
  • NEW: GUI environment checks can select a self-tested OCR engine, keeping a working choice and respecting explicitly disabled OCR. Unsaved settings are not silently overwritten; active tasks never switch engines.
  • NEW: README includes user-provided Audacity installation and self-drawn template capture recordings, MP4 previews, and five tool screenshots. Original WMV files are retained. These demonstrations do not change the historical success-rate statistics.
  • NEW: Windows unattended deployment checklist covers automatic logon, SSH service startup, interactive desktop requirements, power/lock settings, restart validation and security tradeoffs.
  • Direct CLI installation tasks now appear in the desktop task list, with independent result and completed-log snapshots. The same data directory is required.
  • Expanded English license acceptance and rejection rules, with tests for advancing to Next after agreement selection.
  • Fixes for elevation/UIPI fast failure, reboot exit codes, no-activity classification, archive diagnostics, document-host safety, and exhausted GUI candidates. See the issue audit in docs/ for per-issue limits.
  • Template master and variant counts are informational, not packaging gates. Offline-material and resource-integrity checks remain enabled.
  • NEW: the ZIP includes one enabled self-drawn installer example template with accept, next, install and finish actions, four matching PNGs and their original screenshots. It matches only the Synthetic light-theme test window at 96 DPI with threshold 0.95.
  • Each bundled image matched its real capture at score 1.0; image and source SHA-256 checks passed. This is not a claim of end-to-end installation acceptance.
  • Task history, live execution logs, formatted result JSON and field documentation.
  • SSH task submission to a logged-in desktop worker, cancellation and immutable task snapshots.
  • User template capture, marking and enabled-template matching; capture source images and occlusion checks.
  • Offline 7-Zip, PaddleOCR-json and RapidOCR-json materials in the ZIP package.

Downloads

  • ZIP: complete offline delivery with executable, documentation, schema, dependency materials and the enabled example template.
  • AutoTrigger.exe: executable only; does NOT include the external example template or offline dependency packages.
  • SHA256SUMS: download integrity checksums.

Validation and limitations

Go tests and vet passed. Built with Go 1.20.x, CGO disabled; AMD64 PE validation passed.
This is a PRE-RELEASE, recommended for Windows 10/11 x64. Windows 7 runtime validation is deferred; cross-host SSH/UAC/RDP scenarios and full installer regression are not fully validated. Post-install application lifetime, background-process attribution and OCR cold start remain known limitations. No claim of universal unattended installation or successful software activation. Template quantity is not a release gate or proof of coverage.
Some antivirus products have reported detections on earlier builds. This release is not certified detection-free; review protection history and submit disputed detections to the vendor. Do not disable antivirus or add exclusions as a prerequisite. Startup fixes and passing tests do not establish malware-scan clearance.
Only the explicitly reviewed example template is included, not other local user data. Extract into a NEW directory: do not overwrite existing templates or active.index.json when upgrading. The original local template enabled state is unchanged. Review README and docs before use. Exit code 0 is not proof of installation success; inspect result JSON evidence and final_status.

AutoTrigger 0.1.0 Preview 2026-10-15

Pre-release

Choose a tag to compare

AutoTrigger 0.1.0 Preview - 2026-10-15

Windows x64 offline installer/trigger tool with native GUI and CLI.

Included

  • Direct CLI installation tasks now appear in the desktop task list, with independent result and completed-log snapshots. The same data directory is required.
  • Expanded English license acceptance and rejection rules, with tests for advancing to Next after agreement selection.
  • Fixes for elevation/UIPI fast failure, reboot exit codes, no-activity classification, archive diagnostics, document-host safety, and exhausted GUI candidates. See the issue audit in docs/ for per-issue limits.
  • Template master and variant counts are informational, not packaging gates. Offline-material and resource-integrity checks remain enabled.
  • NEW: the ZIP includes one enabled self-drawn installer example template with accept, next, install and finish actions, four matching PNGs and their original screenshots. It matches only the Synthetic light-theme test window at 96 DPI with threshold 0.95.
  • Each bundled image matched its real capture at score 1.0; image and source SHA-256 checks passed. This is not a claim of end-to-end installation acceptance.
  • Task history, live execution logs, formatted result JSON and field documentation.
  • SSH task submission to a logged-in desktop worker, cancellation and immutable task snapshots.
  • User template capture, marking and enabled-template matching; capture source images and occlusion checks.
  • Offline 7-Zip, PaddleOCR-json and RapidOCR-json materials in the ZIP package.

Downloads

  • ZIP: complete offline delivery with executable, documentation, schema, dependency materials and the enabled example template.
  • AutoTrigger.exe: executable only; does NOT include the external example template or offline dependency packages.
  • SHA256SUMS: download integrity checksums.

Validation and limitations

Go tests and vet passed. Built with Go 1.20.x, CGO disabled; AMD64 PE validation passed.
This is a PRE-RELEASE, recommended for Windows 10/11 x64. Windows 7 runtime validation is deferred; cross-host SSH/UAC/RDP scenarios and full installer regression are not fully validated. Post-install application lifetime, background-process attribution and OCR cold start remain known limitations. No claim of universal unattended installation or successful software activation. Template quantity is not a release gate or proof of coverage.
Only the explicitly reviewed example template is included, not other local user data. Extract into a NEW directory: do not overwrite existing templates or active.index.json when upgrading. The original local template enabled state is unchanged. Review README and docs before use. Exit code 0 is not proof of installation success; inspect result JSON evidence and final_status.

AutoTrigger 0.1.0 Preview 2 - Bundled Template

Choose a tag to compare

AutoTrigger 0.1.0 Preview 2

Windows x64 offline installer/trigger tool with native GUI and CLI.

Included

  • NEW: the ZIP includes one enabled self-drawn installer example template with accept, next, install and finish actions, four matching PNGs and their original screenshots. It matches only the Synthetic light-theme test window at 96 DPI with threshold 0.95.
  • Each bundled image matched its real capture at score 1.0; image and source SHA-256 checks passed. This is not a claim of end-to-end installation acceptance.
  • Task history, live execution logs, formatted result JSON and field documentation.
  • SSH task submission to a logged-in desktop worker, cancellation and immutable task snapshots.
  • User template capture, marking and enabled-template matching; capture source images and occlusion checks.
  • Offline 7-Zip, PaddleOCR-json and RapidOCR-json materials in the ZIP package.

Downloads

  • ZIP: complete offline delivery with executable, documentation, schema, dependency materials and the enabled example template.
  • AutoTrigger.exe: executable only; does NOT include the external example template or offline dependency packages.
  • SHA256SUMS: download integrity checksums.

Validation and limitations

Go tests and vet passed. Built with Go 1.20.x, CGO disabled; AMD64 PE validation passed.
This is a PRE-RELEASE: the built-in real-image template acceptance target is not met, Windows 7 runtime acceptance is pending, and cross-host SSH/UAC/RDP scenarios are not fully validated. No claim of universal unattended installation or successful software activation.
Only the explicitly reviewed example template is included, not other local user data. Extract into a NEW directory: do not overwrite existing templates or active.index.json when upgrading. The original local template enabled state is unchanged. Review README and docs before use. Exit code 0 is not proof of installation success; inspect result JSON evidence and final_status.

AutoTrigger 0.1.0 Preview (2026-10-14)

Pre-release

Choose a tag to compare

AutoTrigger 0.1.0 Preview

Windows x64 offline installer/trigger tool with native GUI and CLI.

Included

  • Task history, live execution logs, formatted result JSON and field documentation.
  • SSH task submission to a logged-in desktop worker, cancellation and immutable task snapshots.
  • User template capture, marking and enabled-template matching; capture source images and occlusion checks.
  • Offline 7-Zip, PaddleOCR-json and RapidOCR-json materials in the ZIP package.

Downloads

  • ZIP: complete offline delivery with executable, documentation, schema and dependency materials.
  • AutoTrigger.exe: executable only; existing or separately supplied dependencies may be required.
  • SHA256SUMS: download integrity checksums.

Validation and limitations

Go tests and vet passed. Built with Go 1.20.x, CGO disabled; AMD64 PE validation passed.
This is a PRE-RELEASE: the built-in real-image template acceptance target is not met, Windows 7 runtime acceptance is pending, and cross-host SSH/UAC/RDP scenarios are not fully validated. No claim of universal unattended installation or successful software activation.
Existing user data and templates are NOT included. Review README and docs before use. Exit code 0 is not proof of installation success; inspect result JSON evidence and final_status.