assets.appicon-1024 ● 不变式发版 AppIcon 必须包含 1024 尺寸 | 未运行 |
assets.privacy-manifest ● 不变式发版 要有 PrivacyInfo.xcprivacy | 未运行 |
git.branch-main ◇ 策略发版 发版应该从主分支出 | 未运行 |
git.clean-tree ◇ 策略发版 发版前工作区必须干净 | 未运行 |
git.tag-matches-version ◇ 策略发版 git tag 必须与版本号一致 | 未运行 |
ios.build-number-unique ● 不变式发版 上传前确认 build 号没被用过(重复会判 INVALID_BINARY) | 4 次 · 4 失败 |
ios.clean-build ● 不变式构建 全新构建(清 derivedData),用于验证改了 DSHKit 之后的行为 | 未运行 |
ios.export-options-valid ● 不变式发版 ExportOptions.plist 的 method 必须是当前 Xcode 接受的值 | 1 次 |
ios.proxy-off-before-upload ◇ 策略发版 上传 App Store 前必须确认系统代理已关闭 | 1 次 · 1 失败 |
ios.sim-build ● 不变式构建 在模拟器上编译 App(不签名),确认改动能通过编译 | 未运行 |
ios.ui-tests-gate ◇ 策略测试 发版前必须真跑 UI 测试,跳过的用例单独报出来 | 未运行 |
plist.export-compliance ● 不变式发版 必须声明出口合规(否则每次上传都被问) | 1 次 |
ios.docs-not-committed ◇ 策略提交前 docs/ 一律不入库 | 1 次 · 1 失败 |
ios.gitignore-artifacts ● 不变式提交前 构建产物(DerivedData/build/xcuserdata)不能进仓库 | 1 次 |
ios.secret-files-ignored ● 不变式提交前 签名证书与密钥文件不能被提交 | 1 次 · 1 失败 |
repo.changelog ◇ 策略发版 要有 CHANGELOG | 未运行 |
repo.ci-workflow ◇ 策略提交前 仓库要有 CI 配置 | 未运行 |
repo.ds-store ● 不变式提交前 .DS_Store 不能进仓库 | 未运行 |
repo.editorconfig ◇ 策略提交前 建议有 .editorconfig | 未运行 |
repo.gitattributes ◇ 策略提交前 建议有 .gitattributes 处理二进制与换行 | 未运行 |
repo.gitignore-xcuserdata ● 不变式提交前 .gitignore 必须包含 xcuserdata | 未运行 |
repo.large-file ● 不变式提交前 不要提交大于 2MB 的文件 | 未运行 |
repo.license ◇ 策略提交前 仓库要有 LICENSE | 未运行 |
repo.readme ◇ 策略提交前 仓库要有 README | 未运行 |
repo.screenshots-dir ◇ 策略发版 商店截图要有固定目录 | 未运行 |
repo.spm-resolved ● 不变式提交前 Package.resolved 要提交 | 1 次 |
repo.swiftlint-config ◇ 策略提交前 建议有 SwiftLint / SwiftFormat 配置 | 未运行 |
git.no-wip-commit ◇ 策略提交前 最后一次提交不要是 WIP | 未运行 |
ios.architecture-clean ◇ 策略提交前 架构分层检查(文件行数、假拆分)必须为 0 违规 | 2 次 · 1 失败 |
ios.l10n-ratchet ◇ 策略提交前 本地化棘轮——不允许新增未翻译的中文字面量 | 未运行 |
ios.message-marker ● 不变式提交前 消息 客户端标记必须是 U+2063 ×2(iOS 消息来源的唯一判据) | 2 次 · 1 失败 |
ios.no-hardcoded-fonts ◇ 策略提交前 禁止 .system(size:) 硬编码字号 | 2 次 · 2 失败 |
ios.no-secrets ● 不变式提交前 代码和脚本里不能出现 token、私钥、云密钥 | 未运行 |
ios.pbxproj-registered ● 不变式提交前 新增的 .swift 文件必须已在 project.pbxproj 注册 | 4 次 |
ios.shell-vars ● 不变式提交前 shell 脚本里 $VAR 后面不能紧跟中文标点(会被当成变量名的一部分) | 未运行 |
ios.tech-index ◇ 策略提交前 TECH_INDEX.md 里每条「文件 · 符号」必须仍然存在 | 未运行 |
plist.ats-arbitrary ● 不变式提交前 不要开启 ATS 的任意加载 | 未运行 |
plist.bg-audio ◇ 策略提交前 用到音频后台播放要声明 background mode | 未运行 |
plist.build-match ● 不变式提交前 build 号必须在 Info.plist 与工程设置中一致 | 1 次 · 1 失败 |
plist.bundle-id-match ● 不变式提交前 Info.plist 的 bundle id 必须与工程设置一致 | 2 次 · 1 失败 |
plist.camera-usage ● 不变式提交前 用到相机就必须有相机用途说明 | 未运行 |
plist.launch-screen ● 不变式提交前 iOS 14+ 需要 UILaunchScreen | 未运行 |
plist.mic-usage ● 不变式提交前 用到麦克风就必须有麦克风用途说明 | 未运行 |
plist.orientation ◇ 策略提交前 必须声明支持的屏幕方向 | 未运行 |
plist.photos-usage ● 不变式提交前 用到相册就必须有相册用途说明 | 2 次 · 1 失败 |
plist.version-match ● 不变式提交前 版本号必须在 Info.plist 与工程设置中一致 | 2 次 · 2 失败 |
swift.anyview ◇ 策略提交前 避免 AnyView(拖慢 SwiftUI diff) | 未运行 |
swift.async-after ◇ 策略提交前 慎用 asyncAfter 做时序控制 | 未运行 |
swift.bundle-id-literal ◇ 策略提交前 代码里不要写死 bundle id | 未运行 |
swift.dispatch-main-sync ◇ 策略提交前 不要在主线程序列上同步等待 | 未运行 |
swift.fatal-error ◇ 策略提交前 生产代码里不要 fatalError | 未运行 |
swift.force-cast ◇ 策略提交前 禁止 as!(类型不符直接崩) | 未运行 |
swift.force-first-last ◇ 策略提交前 谨慎使用 .first! / .last! | 未运行 |
swift.foreground-color ◇ 策略提交前 用 foregroundStyle 替代已废弃的 foregroundColor | 未运行 |
swift.hardcoded-color ◇ 策略提交前 禁止 Color(red:green:blue:) 硬编码颜色 | 未运行 |
swift.hardcoded-frame ◇ 策略提交前 避免写死 frame 尺寸 | 未运行 |
swift.http-url ◇ 策略提交前 代码里不允许出现 http:// 明文地址 | 2 次 · 2 失败 |
swift.localhost-url ◇ 策略提交前 代码里不要写死 127.0.0.1 / localhost | 未运行 |
swift.magic-timeout ◇ 策略提交前 网络超时不要写魔法数字 | 未运行 |
swift.notification-string ◇ 策略提交前 通知名不要用裸字符串 | 未运行 |
swift.nslog ◇ 策略提交前 用 Logger 替代 NSLog | 未运行 |
swift.print ◇ 策略提交前 生产代码里不要用 print 打日志 | 未运行 |
swift.string-format-multi ◇ 策略提交前 String(format:) 多参数要小心顺序 | 未运行 |
swift.thread-sleep ◇ 策略提交前 禁止在主线程 sleep | 未运行 |
swift.todo-no-ref ◇ 策略提交前 TODO/FIXME 必须带 issue 引用 | 未运行 |
swift.try-bang ◇ 策略提交前 禁止 try!(崩了就是线上崩溃) | 2 次 · 1 失败 |
swift.uiwebview ● 不变式提交前 禁止使用已废弃的 UIWebView | 未运行 |
swift.userdefaults-key ◇ 策略提交前 UserDefaults 的 key 不要用裸字符串 | 未运行 |
swift.weak-self ◇ 策略提交前 逃逸闭包引用 self 时要显式声明捕获列表 | 未运行 |
ios.crash-reports ○ 诊断运行时 看最近 24 小时有没有 DSHPocket 的崩溃报告(只读) | 1 次 |
ios.message-origin ○ 诊断运行时 消息 判断最近一条用户消息是手机发的还是电脑发的(只读) | 1 次 |
ios.sim-app-version ● 不变式运行时 模拟器里已安装的 App 版本必须与仓库 Info.plist 一致 | 1 次 · 1 失败 |
disk.cleanup ● 不变式运行时 系统 清理已知的构建缓存目录,并在之后确认磁盘水位 | 未运行 |
env.preflight ● 不变式运行时 系统 跑一遍带检验的记忆库,确认当前环境的前提仍然成立(只读) | 未运行 |
linux.core-dump ◇ 策略运行时 系统 生产机应关闭 core dump | 未运行 |
linux.disk-inode ● 不变式运行时 系统 inode 使用率不能超过 80% | 未运行 |
linux.dns-resolv ● 不变式运行时 系统 DNS 解析必须正常 | 未运行 |
linux.firewall-active ● 不变式运行时 系统 防火墙必须处于启用状态 | 未运行 |
linux.journald-limit ● 不变式运行时 系统 journald 必须配置容量上限 | 未运行 |
linux.logrotate ● 不变式运行时 系统 日志必须配置轮转 | 未运行 |
linux.memory-available ● 不变式运行时 系统 可用内存不能低于 200MB | 未运行 |
linux.ssh-root-login ● 不变式运行时 系统 禁止 root 直接 SSH 登录 | 未运行 |
linux.sudo-nopasswd ● 不变式运行时 系统 禁止无密码 sudo ALL | 未运行 |
linux.swap-pressure ◇ 策略运行时 系统 swap 使用率不能超过 50% | 未运行 |
linux.time-sync ● 不变式运行时 系统 系统时间必须同步 | 未运行 |
port.privileged-bind ● 不变式运行时 系统 绑定小于 1024 的端口时,systemd unit 必须保留 CAP_NET_BIND_SERVICE | 未运行 |
service.restart ● 不变式运行时 系统 重启一个 systemd 服务,并确认端口和 HTTP 真的恢复 | 未运行 |
cert.verify ● 不变式运行时 系统 检查某个域名的 TLS 证书还剩多少天(只读) | 未运行 |
http.health ● 不变式运行时 系统 检查一个 HTTP 端点是否返回预期状态码(只读) | 未运行 |
net.cert-chain ● 不变式运行时 系统 证书链必须完整 | 未运行 |
net.csp ◇ 策略运行时 系统 建议配置 Content-Security-Policy | 未运行 |
net.dns-resolves ● 不变式运行时 系统 域名必须能解析 | 未运行 |
net.gzip ◇ 策略运行时 系统 文本响应要开启压缩 | 未运行 |
net.hsts ◇ 策略运行时 系统 HTTPS 响应要带 HSTS | 未运行 |
net.http-to-https ● 不变式运行时 系统 HTTP 必须跳转到 HTTPS | 未运行 |
net.server-header ◇ 策略运行时 系统 隐藏服务器版本信息 | 未运行 |
net.tls-version ● 不变式运行时 系统 TLS 至少 1.2 | 未运行 |
net.xcto ◇ 策略运行时 系统 响应要带 X-Content-Type-Options | 未运行 |
port.owner ○ 诊断运行时 系统 查某个端口被谁占用、绑在哪个地址(只读诊断) | 未运行 |
tls.sni-match ● 不变式运行时 系统 检查某个域名拿到的证书是否真的匹配它(只读) | 未运行 |
| verify | 36 次 |
| 11-25 23:44 | ios.pbxproj-registered | 成功 |
| 11-25 22:15 | plist.photos-usage | 成功 |
| 11-25 15:45 | plist.photos-usage | 失败 |
| 11-25 15:45 | swift.http-url | 失败 |
| 11-25 15:44 | swift.http-url | 失败 |
| 11-25 15:44 | plist.build-match | 失败 |
| 11-25 15:44 | plist.version-match | 失败 |
| 11-25 15:44 | plist.bundle-id-match | 成功 |
| 11-25 15:44 | swift.try-bang | 成功 |
| 11-25 15:44 | plist.export-compliance | 成功 |
| 11-25 15:44 | repo.spm-resolved | 成功 |
| 11-25 15:44 | plist.version-match | 失败 |
| 11-25 15:44 | plist.bundle-id-match | 失败 |
| 11-25 15:44 | swift.try-bang | 失败 |
| 11-25 15:41 | ios.export-options-valid | 成功 |
| 11-25 15:41 | ios.secret-files-ignored | 失败 |
| 11-25 15:41 | ios.gitignore-artifacts | 成功 |
| 11-25 15:38 | ios.build-number-unique | 失败 |
| 11-25 15:38 | ios.proxy-off-before-upload | 失败 |
| 11-25 15:38 | ios.sim-app-version | 失败 |
只统计 tool / action / ok / agent 四个字段,不含主机名与输出。