初始提交:浩瑞(HaoRui)头条自动化工程

- app/:Kotlin 全部源码、AndroidManifest 与资源
- docs/:技术文档、UI 原型、回归清单
- img/:文档引用的对照规格截图
- scripts/:环境加载与回归统计脚本
- 构建配置:Gradle 入口脚本与属性
- 新增 .gitignore:排除工具链、构建缓存、临时产物与本机配置

Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
2026-11-06 17:26:51 +08:00
co-authored by Claude Code
commit e497d36ba1
69 changed files with 16651 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# 浩瑞回归统计(回归清单 §五 判据)
# 用法:powershell -File scripts\regress-stats.ps1 <regression.txt>
param([string]$LogPath = ".tmp\regression.txt")
$L = Get-Content $LogPath
"═══ 硬门禁 ═══"
"1 采集相位循环 : " + ($L | Select-String -Pattern "相位 SHARE -> CLIPBOARD").Count
"2 取到链接 : " + ($L | Select-String -Pattern "CLIPBOARD\] 取到链接").Count
"3 解析成功 : " + ($L | Select-String -Pattern "Resolver: 解析成功").Count
"4 VOD 主路径 : " + ($L | Select-String -Pattern "发现 GetPlayInfoToken").Count
"5 下载完成 : " + ($L | Select-String -Pattern "Download: 下载完成").Count
"6 下载不完整 : " + ($L | Select-String -Pattern "下载不完整").Count + " / 非MP4: " + ($L | Select-String -Pattern "下载内容非 MP4").Count
"7 发布完成 : " + ($L | Select-String -Pattern "\[DONE\] 发布成功").Count
"8 发布失败 : " + ($L | Select-String -Pattern "发布失败").Count + " / 回执: " + ($L | Select-String -Pattern "收到「.*」回执").Count
"9 去重拦截 : " + ($L | Select-String -Pattern "跳过重复视频").Count
"10 让路 : " + ($L | Select-String -Pattern "让路").Count
"═══ 软门禁 ═══"
"S4 step 异常 : " + ($L | Select-String -Pattern "step 异常").Count
"S5 step 跳过 : " + ($L | Select-String -Pattern "step 跳过").Count
"S6 放弃/超限 : " + ($L | Select-String -Pattern "放弃").Count
"═══ 新增判据(本轮) ═══"
"草稿回执 : " + ($L | Select-String -Pattern "收到「存草稿」回执|草稿模式").Count
"发布模式 : " + ($L | Select-String -Pattern "发布模式切换").Count
"门控放行 : " + ($L | Select-String -Pattern "门槛 60 → 放行|→ 放行").Count
"互动相位 : " + ($L | Select-String -Pattern "HaoRui-Interact").Count
"孤儿回收 : " + ($L | Select-String -Pattern "孤儿素材回收").Count
"═══ 心跳/自愈 ═══"
"自愈监控 : " + ($L | Select-String -Pattern "自愈监控 #").Count
"心跳(如适用): " + ($L | Select-String -Pattern "心跳").Count