Repository navigation
docs(agents): 归档旧客户端与已迁出插件的 Agent Note 并改写 Viva 现状 - #1947
Merged
Merged
Conversation
- 归档 70 篇只描述旧 Swift macOS、Tauri Windows 客户端或已迁到插件仓库的 Java/Maven/Gradle/JDT/Spring 的 Agent Note - 改写 118 篇活跃和提议中的 Note:路径与验证改到 desktop/internal 和 Lithe-core-rust crate 布局 - 删除只服务旧客户端的 6 篇文档和两组截图;重写 docs/ci-builds.md 等文档 - 修正 develop-lithe、lithe-code-review、submit-lithe-issue、write-stable-tests 参考页中的旧路径 Closes #1787 Closes #957
xiaoyumuxi
marked this pull request as ready for review
November 14, 2026 18:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
worktree-resources.json的旧客户端条目已在 Issue 评论里补充,不在本 PR 处理)write-stable-tests的旧计时执行器和静态扫描器已在 Issue 评论里补充,不在本 PR 处理)PR 类型 / Type
改动说明 / What changes
背景 / Why
仓库现在只剩 Viva 桌面端(
desktop/,Go)这一个客户端,Core 在 Lithe-core-rust。Java、Maven、Gradle、JDT 和 Spring 已迁到各自的插件仓库(#1495)。但.agents/notes/、docs/和 Skill 参考页里,还有大量内容把已删除的 Swift macOS 客户端(macos/)、Tauri Windows 客户端(windows/tauri/)、仓内rust/和内置 Java 支持写成当前实现:本 PR 把这些内容分三类处理:
改动 / Changes
Agent Note:归档 70 篇(移到
.agents/notes/archived/,状态改为“已实现”,加归档日期:2026-11-15,开头写明归档原因和现在的归属)maven-java-domain-plugin-migration、java-support-independent-distribution、jdtls 堆上限、Gradle 导入设置、Spring 索引、Maven 运行诊断、JVM 性能监控、Java New 菜单模板。Agent Note:改写 118 篇(104 篇已实现,14 篇提议中)
macos/Sources/...、windows/tauri/...和仓内rust/...改成desktop/internal/...的实际文件,以及 Lithe-core-rust 的 crate 链接。swift test、bun run这类命令改成scripts/desktop/desktop-go.sh test ./internal/<包>,每个包路径都核对过存在。rust/lithe-core/src/...改成 crate 布局,例如rust/crates/git/src/metadata_watch.rs、rust/crates/text/src/edits.rs、rust/crates/plugin-manifest/src、rust/crates/ai。钉在固定修订(例如 0ffd327、5a54c41)上的永久链接保持不变。desktop/internal/workbench/debug_*.go和 Corerust/crates/debug。删除了 Xcode、SwiftUI 的实施细节。plugin-injected-toolchains、java-extraction-generic-apis-and-gate、single-repository-git-status-observation改写到desktop/internal/toolchain、desktop/internal/workbench/git_observation.go和 Core 的当前状态。仍缺的能力写成明确的缺口,而不是“待迁移”。go-php-community-plugins:第 5 节改写为当前残留,即空的官方索引只供desktop/internal/marketplace测试使用;删除已不存在的scripts/plugins/...适用范围。archived/。原来指向已归档笔记的地方改成一句文字说明,或者删除。docs/
docs/development/windows-plugin-parity-plan.md、docs/architecture/macos-updates.md、docs/releases/windows-updater.md、docs/performance/macos-interaction-baseline.md、docs/agent-classic-layout-visual-check.md、docs/plugin-executable-layout-visual-check.md,以及没有引用的截图目录docs/assets/agent-classic-layout/、docs/assets/plugin-executable-layout/。docs/ci-builds.md(676 → 232 行):desktop-ci.yml、desktop-release.yml和desktop-autobuild.yml的实际触发条件和 job 重写。例如 Desktop CI 的 push 只触发preview;Draft PR 只跑 Linux。prepare、build、publish三步,删除 Sparkle、appcast 和release-preview-macos.yml。desktop/internal/logwindow/visual_capture_test.go。docs/development/desktop-getting-started.md、document-encoding.md、windows-ai-commit.md、issue-1495-...、macos-plugin-api-plan.md:删除旧客户端命令和路径,链接改到归档位置或当前实现。Skill 参考页
develop-lithe/references/scripts.md:scripts/ci/common/实际不存在。改为说明“被两个及以上工作流共用的脚本才放这里,目前没有”,删除旧的“变更分类、车道复用”描述。develop-lithe/references/macos-ui.md:改为“原版视觉与交互基线”。macos/...路径都用git cat-file -e在 5a54c41 下核对存在,然后改成固定修订的永久链接。ui.Menu、ui.ContextMenu、ui.Combobox、ui.Select,每项附本仓库的调用处。共享行尺寸和 8pt 菜单外层圆角目前没有共享实现,表中如实写明。desktop/internal/uistyle/uistyle.go的Bars;验证范围改为在desktop/下运行受影响包的 Go 测试。develop-lithe/SKILL.md中指向这一页的两处链接文字同步改名。develop-lithe/references/scrolling-content.md、lithe-code-review的finding-severity.md、submit-lithe-issue的environment-checklist.md、write-stable-tests的test-reporting.md:删除旧客户端路径和命令。不在本 PR 范围内 / Out of scope
scripts/resources/worktree-resources.json里的旧客户端条目:swiftpm、bun、conpty、agent-、remote-、sparkle-baseline-staging 等。清理它们要同步改复用脚本的校验路由和测试,已补充到 [Feature] 清理 Viva 资源复用清单与构建文档中的旧 Java 内置打包规则 #1905。write-stable-tests的run-swift-tests-with-timing.mjs、run-bun-tests-with-timing.mjs,以及verify-test-stability.mjs的旧目录分类,已补充到 [Feature] 清理 Viva 重构后 Windows 计时执行器的失效 scope #1940。补充内容包括一个缺口:这个扫描器不覆盖 Go,对当前客户端没有任何检查。macos/Sources的死代码,已记录在 [Feature] 统一 Viva 桌面文案的共享 i18n 来源与校验 #1807。docs/development/macos-plugin-api-plan.md状态列的重新核对,以及issue-1495剩余台账的重新定基线:这两项需要逐项核对 Viva 实现,本 PR 只修了失效链接。docs/development/windows-ai-commit.md的文件名:保留原名,避免已有外部链接失效。legacy段里指向旧路径和已归档笔记的证据:它们钉在旧客户端修订 5a54c41,在该修订下是正确的,所以不改。docs/viva-migration.md的历史段落。类型专属:docs
.agents/notes/(中文),docs/只保留操作说明、正式 schema、发布说明和验收材料;改了 Note 已运行./scripts/agent-notes/verify-agent-notes.shdesktop-go.sh test包路径和 Core main 链接,都已用脚本对照本工作树和固定 Core 检出核对;剩余未命中的都是 Core 仓库路径、示例或生成文件)范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:没有改宿主能力。
legacy段的证据路径钉在 5a54c41,不改;已运行./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh。插件归属 / Plugin ownership
develop-lithe第三节“插件归属与宿主零依赖”的自查命令,结果为空shared/i18n/;插件的构建步骤、资源路径和补丁没有写进scripts/resources/、docs/ci-builds.md、Agent Note 或 Skill(本 PR 反而删除了笔记里的 Java 和 Maven 构建细节,改成指向插件仓库)UI 验证 / UI evidence
N/A:只改文档。
统一日志系统 / Structured logging
N/A:只改文档。
界面文案 / i18n
N/A:没有改界面文案。已运行两个 i18n 检查,确认没有受影响。
逻辑归属 / Logic placement
N/A:没有改业务逻辑。
性能与内存 / Performance and memory
N/A:只改文档。
设置 / Settings
N/A:只改文档。
插件契约 / Plugin contract
N/A:不涉及契约。
发行包与资源 / Bundle and resources
N/A:没有改运行时资源和构建步骤。
docs/ci-builds.md的资源说明只删除了已不存在的旧客户端条目;worktree-resources.json未改,其旧条目由 #1905 处理。无用代码与重构 / Dead code and refactoring
验证 / Verification
./scripts/agent-notes/verify-agent-notes.shnode scripts/i18n/verify-app-language-localization.mjsnode scripts/i18n/generate-i18n.mjs --check./scripts/platform-feature-matrix/verify-platform-feature-matrix.shnode scripts/resources/test-reuse-worktree-resources.mjsrg(develop-lithe第三节)desktop-go.sh test包路径核对(临时脚本,对照本工作树)docs/a.png和生成文件lithe-mcp.bin外全部存在PINNED_CORE_REVISION的 Core 检出)legacy段(钉在 5a54c41)和docs/viva-migration.md历史段落未能执行的检查和原因:
./scripts/desktop/verify/verify-runtime-bundle-immutability.sh:本 PR 不改运行时资源、构建脚本和产品代码,没有运行。提交前确认 / Final checks
preview创建;目标分支:feat、fix、docs 为preview,release 以发布流程要求为准.build/、target/、dist/、.artifacts/等产物,没有凭据、个人路径和未脱敏的日志或截图