Files
MooTool/next-compose/docs/diff/191-legacy-java-absolute-vault-paths.md
RememBerBerandCursor c834db2a83 feat(next-compose): 对照 Electron 落地 F00–F25 与 A01–A03 主体能力
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 06:51:45 +08:00

14 lines
802 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DIFF-191:Java 绝对 Vault 根目录迁入设置
## 背景
Java `func.quickNote.quickNoteVaultPath` / `func.jsonBeauty.jsonBeautyVaultPath` 可为相对安装目录或绝对/`~` 路径。Compose 自定义文档库根须绝对路径([DIFF-139](139-vault-path-absolute-validation.md)、[DIFF-141](141-vault-path-load-fallback.md));相对路径在加载时清除,迁移时也不写入设置。
## 行为
`LegacyJavaSettings.applyPatch`:仅当配置值为绝对路径(含 `~` 展开)且通过 `VaultPathConfig.normalizedCustomRoot` 时写入 `vault.quickNotePath` / `vault.jsonPath`。相对路径忽略(数据迁入仍由 `LegacyJavaDataPaths` + `CrossProductImporter` 按源根解析)。
## 证据
- `LegacyJavaSettingsTest.applyPatchMapsAbsoluteVaultPathsAndIgnoresRelative`