diff --git a/.blueprint/modules/gitea-integration.md b/.blueprint/modules/gitea-integration.md index 15db23e..c5c0415 100644 --- a/.blueprint/modules/gitea-integration.md +++ b/.blueprint/modules/gitea-integration.md @@ -196,6 +196,17 @@ Gitea push → POST /webhook/gitea/:project_id ## 复盘笔记 +【复盘】G7 一键接线 + autoforphone 首个 UI 全流程接入(2026-07-03) +任务类型: 前端组件 + 实战接入 +复杂度: M +实际轮数: 3轮(预估 1 轮) +是否返工: 是 +返工原因: ① 建仓 403——token 缺 write:user scope(POST /user/repos 归 user 类,权限指导遗漏);② 改 Token 静默失效——giteaUpdateInstance 前端传 snake_case 参数被 Tauri camelCase 匹配丢弃(潜伏自 G1 的未使用封装);③ 首推 980MB 断连——lib/ 下 6 个 AutoJS6 APK + 源码归档被收进首次 commit,超反代请求体限制 +有效策略: "没有最近活动"(Gitea token 页)证明请求未到达 → 直指本地存储问题;git ls-tree -l 按体积排序秒定大文件元凶;远端为空时 amend 首次 commit 即可,无历史包袱 +遗留改进(G7 检测盲区): ① origin 已配置但远端为空/首推未成功的中间态不触发接线引导(本次因手动 remote add 提前存在而按钮未现);② 接线前无大文件预检(>50MB 警告),撞上 APK 类产物会断连——两项待下轮迭代 +auto_applied_rules: R08, R10 +rule_effectiveness: R08=有效(两处"UI 报成功实际没发生"均按此定性), R10=有效(scope 归类以 403 实测为准) + 【复盘】R0 发版链路迁移 + 换钥(2026-07-02) 任务类型: 基础设施 + 架构调整 复杂度: M(实际含排障接近 L)