Repository navigation
Closed
3 / 33 of 3 issues completedLabels
agent-runtimeAgent orchestration, memory, and extensionsAgent orchestration, memory, and extensionsepicParent issue grouping related deliverablesParent issue grouping related deliverablesgit-workflowGit and pull request workflowsGit and pull request workflowsroadmapProduct roadmap and cross-cutting delivery trackingProduct roadmap and cross-cutting delivery trackingsecuritySecurity boundary or high-risk capabilitySecurity boundary or high-risk capability高难度
Description
Parent: #98
目标 / Goal
在 #99 已交付模型可调用工作区工具、#101 已交付 Workspace Checkpoint/Rewind/Fork 的基础上,补齐 Code Agent 的语义代码导航、高级 Git 生命周期,以及基于正式 GitHub API 的 PR Review/CI 修复闭环。
本 Issue 作为 P2 嵌套 Epic 管理范围与依赖;具体实现由 GitHub Sub-issues 交付。
优先级 / Priority
P2。#116 与 #117 已无硬阻塞,可并行开始;#118 的完整交付等待二者提供稳定接口。
当前基线 / Current baseline
- feat(agent-tools): 模型可调用的工作区读取、搜索与编辑工具 #99 已由 PR feat(agent-tools): add model-callable workspace workflow #109 完成:
agent-code-tools.v1、多轮工具结果回送、Workspace/commit/file hash、Budget 和 capability 可见性已经存在。 - feat(workspace): 可逆编辑、Checkpoint/Rewind 与会话 Fork #101 已完成 Workspace Checkpoint/Rewind/Fork,可为 hunk revert、历史改写和 worktree 操作提供恢复边界。
- Repository service 已覆盖 status/diff/history、stage/unstage/commit、branch、fetch/FF pull、push 和 PR 创建/更新。
- 当前仍缺 Go-owned LSP Runtime、hunk/stash/rebase/cherry-pick/bisect/worktree typed 生命周期,以及 GitHub review threads/CI 日志/写回闭环。
- Cyber Surface 已剥离,本 Epic 只规划 Code Surface。
子任务范围 / Child scope
- feat(code-intel): Go-owned LSP Runtime 与只读语义工具 #116 — Go-owned LSP Runtime 与只读语义工具;无硬阻塞,可立即开始。
- feat(git): hunk 级操作、高级恢复与 Worktree #117 — hunk 级操作、高级恢复与 Worktree;无硬阻塞,可与 feat(code-intel): Go-owned LSP Runtime 与只读语义工具 #116 并行。
- feat(github): Review Provider、CI 证据与修复闭环 #118 — GitHub Review Provider、CI 证据与修复闭环;被 feat(code-intel): Go-owned LSP Runtime 与只读语义工具 #116、feat(git): hunk 级操作、高级恢复与 Worktree #117 阻塞。
依赖与交付顺序 / Dependencies
#116 LSP 语义证据 ─────┐
├──→ #118 GitHub Review / CI 修复闭环
#117 高级 Git 与恢复 ──┘
- feat(agent-tools): 模型可调用的工作区读取、搜索与编辑工具 #99 已完成,不再是本 Epic 或 feat(code-intel): Go-owned LSP Runtime 与只读语义工具 #116/feat(git): hunk 级操作、高级恢复与 Worktree #117 的 blocker。
- feat(workspace): 可逆编辑、Checkpoint/Rewind 与会话 Fork #101 已完成,不再阻塞高级 Git;feat(git): hunk 级操作、高级恢复与 Worktree #117 直接复用其 Checkpoint/Fork 合同。
- feat(code-intel): Go-owned LSP Runtime 与只读语义工具 #116 与 feat(git): hunk 级操作、高级恢复与 Worktree #117 可以独立开发和合并。
- feat(github): Review Provider、CI 证据与修复闭环 #118 可提前设计 Provider schema、credential/network 边界和只读 API fixture,但必须在两项依赖完成后才能满足完整验收。
- 父子和硬依赖均使用 GitHub 原生 Sub-issues / Issue dependencies 维护,正文仅作可读说明。
完成定义 / Definition of done
- 至少 Go 与 TypeScript 两种语言的真实 LSP 支持 definition、references、implementation、hover、diagnostics 和 call hierarchy。
- LSP 结果绑定 Workspace/root/commit/file version/Server generation,编辑或分支漂移后 stale 位置不会作为当前证据。
- hunk stage/unstage/revert、stash、rebase、cherry-pick、bisect 和 worktree 具有 typed preview、冲突、continue/abort、Checkpoint 和持久收据。
- 可通过正式 GitHub API 读取 unresolved threads、inline comments、requested changes、Check Runs 和有界 CI 失败日志。
- GitHub 评论位置与 merge-base diff、hunk、文件版本和 LSP 调用链正确关联,base/head 漂移后明确失效。
- reply/resolve/review/push/PR 更新均绑定精确 host/repo/PR/commit/目标对象,并经过独立 credential、network 和写入授权。
- review/focused-checks 基于调用链、生命周期、并发、恢复路径、改动范围和 CI 证据选择检查并分级。
- offline、rate limit、权限不足、fork PR、force-push/base drift、Server crash 和应用重启具有稳定恢复行为。
- 单元、集成、竞争、故障注入、恶意 LSP/远端内容、真实 Git/GitHub fixture、OpenAPI、Desktop 和双语文档完成。
非目标 / Out of scope
- Cyber Surface、二进制分析、攻击链或远程安全工具。
- 自动安装语言服务器、执行仓库提供的任意 Server command,或为 LSP 开放网络/credential。
- 默认 force push、共享历史改写、reset --hard、自动 resolve thread、自动 review 或无人确认的 PR 写回。
- GitHub Issues/Projects/Releases 通用管理、网页 DOM 抓取或复用用户浏览器登录态。
- 把 LSP、GitHub 评论、CI 日志或仓库内容视为可信指令或权限来源。
涉及目录 / Affected directories
internal/codeintel/internal/githubreview/internal/repository/internal/workspace/internal/application/internal/toolgateway/internal/runner/internal/credential/internal/policy/internal/approval/internal/store/internal/events/internal/httpapi/cmd/web/src/configs/skills/review/configs/skills/focused-checks/docs/
安全边界 / Security boundaries
语义证据、Git 状态与 GitHub 远端内容只提高决策质量,不能自行增加写入、命令、网络、credential 或历史改写权限。所有操作仍由 Go 控制平面按当前 Workspace、Surface/Phase/Role/Profile、Policy、Approval、Budget、Checkpoint 和 capability generation 最终复核。
Metadata
Metadata
Assignees
Labels
agent-runtimeAgent orchestration, memory, and extensionsAgent orchestration, memory, and extensionsepicParent issue grouping related deliverablesParent issue grouping related deliverablesgit-workflowGit and pull request workflowsGit and pull request workflowsroadmapProduct roadmap and cross-cutting delivery trackingProduct roadmap and cross-cutting delivery trackingsecuritySecurity boundary or high-risk capabilitySecurity boundary or high-risk capability高难度
Activity
[-]feat(code-intel): LSP 代码智能与 GitHub 审阅协作[/-][+][Epic] LSP 代码智能、高级 Git 与 GitHub 审阅协作[/+]Qiyuanqiii commentedon Aug 21, 2026
完成收口 / Completion closeout
本 Epic 的 3 个 GitHub 原生子 issue 已全部按 completed 交付:
交付范围已覆盖 Go/TypeScript 真实 LSP 与新鲜度绑定、typed Advanced Git 生命周期、正式 GitHub API 的 review/CI evidence、精确写入授权与恢复语义,以及 CLI/OpenAPI/Desktop、测试和双语文档。三个合并 PR 的最终 CI 均通过;#118 还完成了隔离 GitHub App 的真实只读/写入冒烟和幂等恢复验证。
本 Epic 没有剩余开放子项,因此按 completed 关闭。其父 Epic #98 可据此进入 9/9 总收口。