dev-manager-tauri/.blueprint/modules/github-auth.md
lanrtop 29a066e7e3 chore(conventions): v1.9.0 自洽体检——规则边界结构 + R11 + 状态词汇统一
- CONVENTIONS 1.9.0:规则新增 boundaries/failure_cases 可选字段(失败定边界,
  经验细化为变体而非推翻);新增 R11 自动执行规则失效时必须记录失败案例;
  模块状态表补 abandoned 定义(何时更新蓝图章节早已引用但表中缺失)
- 状态词汇统一:github-auth/github-publish 的 deprecated(未定义状态)→ abandoned,
  BlueprintModal 状态色表补 abandoned 渲染
- 文档防腐:CLAUDE.md 技术栈改为 Gitea(GitHub 已退役);cicd-workflow 模块
  加改造中指针(单一事实来源指向 gitea-integration 的 Gitea Actions 卡)
- 蓝图:R2 卡完成解锁(分发随下次发版生效)
2026-07-02 14:09:09 +09:00

767 B
Raw Blame History

id name status progress
github-auth GitHub OAuth abandoned 100

❄️ 已冻结2026-06-19:全面统一自建 Gitea弃用 GitHub。 🗑️ 已退役2026-07-02代码全部移除github.rs 删除、登录门槛拆除、OAuth 命令下线),详见 github-decommission 模块。本文件仅作历史记录。

概述

GitHub OAuth Device Flow 认证,获取 token 后支持 API 操作和 Git 推送。

任务卡

OAuth Device Flow

  • status: done
  • files: src-tauri/src/commands/github.rs, src/components/auth/

启动 OAuth 流程、轮询 token、保存账户信息。

Token 管理

  • status: done
  • files: src-tauri/src/commands/github.rs

保存、读取、清除 GitHub token支持登出。