From 5e2e8990751052729dbb382f70e6e33d8c5983a0 Mon Sep 17 00:00:00 2001 From: lanrtop Date: Fri, 3 Jul 2026 10:21:01 +0900 Subject: [PATCH] =?UTF-8?q?chore(blueprint):=20G7=20=E5=AE=9E=E6=88=98?= =?UTF-8?q?=E5=A4=8D=E7=9B=98=E2=80=94=E2=80=94scope/=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=91=BD=E5=90=8D/=E5=A4=A7=E6=96=87=E4=BB=B6=E4=B8=89?= =?UTF-8?q?=E5=9D=91=E4=B8=8E=E6=A3=80=E6=B5=8B=E7=9B=B2=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .blueprint/modules/gitea-integration.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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)