| Files | Last commit | Last update |
|---|---|---|
Merge pull request #9009 from makecindy/cindy/eager-borg docs: 把套餐验收快照移入 docs/acceptance 并清理误入主仓的 PR 截图 | 20 days ago | |
fix(mobile): keep group attachment previews within safe area Signed-off-by: ylliuuu66 <y11iu66666@gmail.com> | 30 days ago | |
fix(memory): 去重按 LIKE 口径折 ASCII, 保住非 ASCII 变体召回 回应 PR #11891 review: `parseQuery` 用 JS 的 toLowerCase 去重, 而 SQLite 的 LIKE 只对 ASCII 忽略大小写。查询「Échec échec」会被合并成一个词, 只含 「échec」的记录因此进不了候选集 (旧实现用两个词做 OR 能召回)。 - 新增 lowerAscii: 只折 A-Z, 与 LIKE 实际支持的大小写规则一致。 - 去重、JS 打分与 description/title 回退匹配统一用它, 避免去重口径与 LIKE 不一致时漏搜, 也避免非 ASCII 变体在打分里被多算一份命中。 新增 2 条回归用例 (修复前均失败): 两种写法都要召回; 变体各自算一个词, 不虚增覆盖率。基准复核小节按最终口径重跑。 Signed-off-by: woniuxia <yumenawei@qq.com> | 4 days ago | |
wip(mobile): preserve interaction and cache optimizations before rebase Local preservation of the current Beta 42 source for the requested rebase. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 18 days ago | |
docs(plugins): 对齐反馈弹窗阴影和遮罩 Signed-off-by: Rainy-Today <328414967+Rainy-Today@users.noreply.github.com> | 6 days ago | |
Merge pull request #12915 from kirozeng/cindy/share-circle-checkbox fix(desktop): 分享选择模式的消息勾选恢复圆形,全选恢复成按钮 | 12 hours ago | |
fix(plugins): stop unsized plugin downloads at the declared length Address review on the optional-size download path: - The downloader caps writes only by expectedSize/maxBytes, which an omitted size leaves at 8 GiB. A 206 may omit Content-Length and keep streaming, so the request hook now wraps the body and fails with SIZE as soon as it passes the length the response declared, never writing beyond the reserved cache budget. - Add a built-in Skill bundle version record for the updated plugin author manual so installed copies pick it up. Signed-off-by: MagicLizi <jiali@magiclizi.com> | 4 hours ago | |
fix(bots): retain recovery while same-engine selection is pending Signed-off-by: ylliuuu66 <y11iu66666@gmail.com> | 1 month ago | |
docs(models): 精简模型配置架构入口并统一下发规则文档 (#4240) * docs(models): 精简模型配置架构入口并统一下发规则文档 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * test(models): 将文档示例校验纳入标准单测套件 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 2 months ago | |
fix(pi): provide auth metadata for proxy-authenticated native providers Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com> | 1 month ago | |
feat(plugins): 接入调用回执上报并精简个人统计 沿用账户数据库保存待上报事件,冻结来源与版本,按服务端契约解析逐项 ACK;保持清除代际和账户隔离。对齐独立下载与使用统计字段,个人卡保留最近调用及近七日次数。 验证:当前组件 9 项与协议 139 项通过,Desktop typecheck 和协议 build 通过;产品文件对齐既有端到端/边界快照,复用此前 578 项定向与迁移验证。整仓全量未执行;本次为 UI 后续任务的本地稳定基线,未发布客户端 PR。 Signed-off-by: nana <823073145@qq.com> (cherry picked from commit 18388ed6acc76331431b4e1d88c56906ecf808de) | 1 month ago | |
feat(host): Cindy background service, phase 1 (personal migration M1) Adds the Node Host (apps/host) so ordinary local tasks can run without a desktop window and behave as they do on the desktop, using the shared desktop code that the desktop prep PR (#11535) extracted. This is the same change as #11536, carried as one commit. #11536 has 717 commits, more than the DCO app can read (it retrieves 250 and reports that it cannot evaluate the pull request), so the required DCO check could not pass there. All 629 non-merge commits in #11536 are signed off by their author; the 88 merge commits are exempt. The full commit history, review threads and per-commit verification remain on #11536 at 8874aafb219a15a093948a5adcc14130fbf1dcc7. The tree of this commit is identical to merging 8874aafb219a15a093948a5adcc14130fbf1dcc7 into main at 3af7adb40e68a49d5ad872ac7ebc7dc31c6c92e2. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 6 days ago | |
feat(desktop): add deep Node worker failure diagnostics Signed-off-by: fmfsaisai <fmfsaisai@gmail.com> | 2 months ago | |
fix(host): 提示企业登录的区域回退和重试方式 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 21 hours ago | |
fix(chat): preserve model visuals and correct rich answer layout semantics Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com> | 1 month ago | |
fix(legal): regenerate notices for Solidity preview dependencies Register existing licensed font and first-party wasm assets so the unchanged license checks can complete. Regenerate notices and SPDX inventories from the locked dependency graph. Assisted-by: Cindy (https://cindy.app) Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com> | 7 days ago | |
fix(plugins): revoke stale dynamic and reused credential streams Signed-off-by: liugaowei <liugaowei@xd.com> | 10 days ago | |
Merge pull request #12820 from makecindy/cindy/plugin-engine-parity feat(plugins): 插件引擎支持 worktree、标题、send_to_session、/learn、目标与 IM 渠道 | 15 hours ago | |
fix(provider-share): 移除未安装账本的 Host 退出空操作 Signed-off-by: yan <yan233@xd.com> | 12 hours ago | |
feat(desktop): 支持为远程供应商分享用户设置备注 Signed-off-by: DavidShen <david@xd.com> | 1 month ago | |
fix(voice-input): isolate cancelled transcripts and recording audio leases Revoke dictation event admission before asynchronous cancellation and bind system audio leases to an optional sender-scoped recording identity, including pending starts. Preserve legacy IPC callers and cleanup on errors/window exit. Add real-handler/controller/queue/guard and renderer-hook regressions for cancel-during-flush and replacement-during-dispose. Stabilize existing test fixtures without changing assertions or timeouts, and patch Terrazzo parent lookup to preserve inheritance while avoiding repeated global sorting. Merge origin/main at 6cb02f6c8da86a214a4a1a8cdc67157eeef77305. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> | 15 days ago | |
feat(desktop): 支持插件声明一级主视图 (#3219) * feat(desktop): 支持插件声明一级主视图 Signed-off-by: xutianqi <xutianqi@xd.com> * fix(desktop): 修复主视图偏好并发持久化 Signed-off-by: xutianqi <xutianqi@xd.com> * fix(desktop): 校验主视图 Windows 保留路径 Signed-off-by: xutianqi <xutianqi@xd.com> * docs(plugins): 收窄 Desktop-only 槽位例外口径 Signed-off-by: xutianqi <xutianqi@xd.com> * test(device-link): stabilize link confirmation retry Signed-off-by: xutianqi <xutianqi@xd.com> * feat(desktop): add plugin main view settings shortcut Signed-off-by: fmfsaisai <fmfsaisai@gmail.com> --------- Signed-off-by: xutianqi <xutianqi@xd.com> Signed-off-by: fmfsaisai <fmfsaisai@gmail.com> Co-authored-by: fmfsaisai <fmfsaisai@gmail.com> | 3 months ago | |
fix(desktop): 修复 Windows 快捷键设备检测与原生输入 (#4208) * fix(desktop): restore Windows input device detection Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): address native input review feedback Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): preserve live controllers during discovery Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): preserve legacy Micro protocol compatibility Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * test(desktop): lock cross-layer Windows input lifecycle contract Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): coalesce Micro requests during native preparation Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): bound Micro output per NDJSON line Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): read Windows Xbox controllers through XInput Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(desktop): exclude XInput HID products from WGI discovery Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(pi): preserve first entry when extracting Windows zip Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> * fix(windows): widen packaged barrier probe timeout Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> --------- Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com> | 2 months ago | |
test(feishu): verify shared-app account isolation Signed-off-by: nana <823073145@qq.com> | 14 days ago | |
feat(mobile): support attachments in direct server groups Signed-off-by: liuliuyao <y11iu66666@gmail.com> | 27 days ago | |
docs(harness): document DSH integration status and delivery plan Assisted-by: Cindy (https://cindy.app) Signed-off-by: deepfry666 <70996072+deepfry666@users.noreply.github.com> | 19 days ago | |
feat(agent-net): 接通独立中转与桌面手机完整业务路径 为自建和本机中转接入独立 V2 身份、配对、加密传输及既有 Device Link 业务。 共享任务和供应商分享固定私有来源,保留 V1 兼容,补齐执行电脑、媒体、恢复和账号边界。 手机接入原生签名、UDP、发现、加密通知和按需视频;宿主与 CLI 支持运营者的推送桥。 加入原生 CI、部署接线与验证记录;生产部署和真机推送验收另按交接手册执行。 验证:Desktop Main 458 项、相关 Device Link 422 项、Mobile 122 项、原生 SDK 27 项、内核 31 项通过。 iOS/Android 原生构建与系统视频探针通过;类型、多语言、定向深浅色 UI 与测试卫生检查通过。 全分支 UI 关联构建因资源增长终止;已记录定向覆盖和未完成的目标环境验收。 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Lizi <jiali@magiclizi.com> | 18 days ago | |
feat(desktop): 在 Agent-Net 面板对比两种连接的流量 Signed-off-by: DavidShen <david@xd.com> | 6 days ago | |
fix(agent-net): use session v2 bodies on a phone only with an engine that has the credit fix The phone's native engine ships with the install package while its JS is hot-updated, so an older engine keeps the core that can leave a body stream without credit. The engine now reports probe-grants, and a phone declares and uses session v2 body streams only on such an engine; otherwise it stays on v1. Desktop and Node Host ship their core with their JS. As every engine with probe-grants also has stream-levels and stream-retired, the fallbacks for engines without them (finish instead of abandon, at most 11 body streams) are gone with their test cases. The native session check runs one build with each engine call 5 ms late, as on a phone whose JS thread is busy: the old core stalls there every time. The older build, which reports no features, now checks that it keeps to v1. Signed-off-by: MagicLizi <jiali@magiclizi.com> | 4 days ago | |
feat(settings): edit API estimates in the pricing section Reuse the existing quote form and get/set/reset APIs for inline editing. Assisted-by: Cindy (https://cindy.app) Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com> | 20 days ago | |
fix(auth): hotfix 不可达时通过备源与本地清单恢复登录 (#4719) * fix(auth): 为服务清单增加分区缓存和独立备源容灾 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(auth): 保留不兼容备源的本地降级并统一缓存信任校验 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 将随包端点清单加入 Metro 文件图 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 2 months ago | |
feat(cindy-make): 个人版保存到 GitHub、单一「同步」与提交给官方 (#5343) * feat(cindy-make): 个人版保存到 GitHub、单一「同步」与提交给官方 - 个人版可保存到用户自己的 GitHub fork:确认卡常驻直到绑定或选择只留本机,存量用户一次确认后迁移,新电脑直接使用 GitHub 上的个人版 - 只有一个「同步」:取回其他电脑的修改 → 合并 → 更新到兼容的官方版本 → 上传;冲突直接在独立任务里处理,完成后自动继续,可放弃、可重启恢复 - 官方更新与合并采纳前核对每项个人修改都在结果里,缺失先提醒任务补回,再由用户决定「仍然使用」或放弃 - 两边合不到一起时可选一边为准,另一边备份;GitHub 仓库被删、改名、归档或无写权限时给出说明与修复入口 - 单项修改可按仓库 PR 流程(模板 + DCO)提交给官方 - 取消「生成前同步最新源码」开关,同步是唯一会移动个人版官方基线的地方 Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): 提交作用域、fork 复用、内容核对与安装脚本信任边界 逐条修复 #5343 的六条 review 意见: 1. 提交给官方全程钉在发起提交的 Cindy 账号作用域上(personalRemoteRuntime / personalContribution):读修改内容、推送与写台账前都校验 ownerScope,中途 切换账号即中止(account),不再可能用 A 的 GitHub 身份提交 B 记录的修改或 把结果写进 B 的台账。 2. create-fork 返回 422(已有 fork 不能再建)时改为定位账号已有的官方 fork 复用,并与创建成功同样严格校验归属与 parent/source;找不到或不合格仍报 forkConflict(personalRemote.ensureOfficialFork)。 3. rebase 为修改产生的提交不再仅凭作者/时间/说明作证:核对内容确实在结果里 (改动相同、再应用无变化,或每行新增文字完整保留在结果对应文件的某一行且 删除行已消失),只保留一部分时会被列出并交由用户决定 (upstreamMerge.uncarriedChanges)。 4. 重新提交先查旧 PR 状态再动分支:旧 PR 已关闭/已合并/状态不明时从新分支 开新 PR(「必须不存在」租约,占用即换名),旧分支与其提交原样保留 (personalContribution.submit)。 5. 新建任务等待已在进行的 GitHub 操作计入同一个 120 秒预算,不再无限等待 (personalRemote.syncBeforeTask)。 6. 取回且未经生成覆盖的 GitHub 内容不再被任务创建前的依赖安装执行生命周期 脚本(--ignore-scripts;installScriptsTrust + taskWorkspace/taskRuntime), 读不到事实时按未验证处理;任务需要时由 Agent 在任务里可见地自行安装, 生成个人版覆盖该内容后恢复执行安装脚本。 文档同步 docs/cindy-make-upstream.md 对应段落。 验证:desktop typecheck;src/main/cindy-make、renderer cindy-make/settings、 shared 全量单测 3358 通过;cindy-make git-integration 83 通过(含新增的 「rebase 只保留一半时报缺」与「不改写旧 PR 分支」回归);pnpm test:unit:related、check:i18n / check:i18n-glossary / check:design-colors / check:dev-docs 通过。macOS 本机跑 git-integration 需把 TMPDIR 指向非别名目录 (os.tmpdir 别名与 assertSource realpath 比对的既有环境问题,Linux CI 不受影响)。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 安装期代码执行面收口、失效绑定不推送、改写保留未验证来源 修复新一轮 review 对上述三点的追问(对应 thread 4161741361 / 4161790310 / 4161790313): 1. inspectPersonalFork 不再只校验 full_name 合法:同名仓库必须仍是本账号的 官方 fork(fork、归属、parent/source 对 makecindy/cindy),否则按绑定已 失效(forkMissing)报告,绝不把托管的 cindy-personal 分支推进一个删名后 占位的无关仓库。 2. 未验证同步内容的自动安装同时禁用 pnpm 钩子与生命周期脚本 (--ignore-scripts --ignore-pnpmfile),并从子进程环境剔除 npm_config_*, 内容自己放的 .pnpmfile.cjs 不再被执行;源码准备的 pnpm fetch 是纯预热, 同样不执行内容钩子。 3. 未验证身份随采纳的改写记录(rewrites)传递:官方更新/合并把个人提交改写 成新哈希后,remoteContentScriptsUnverified 仍能沿改写链判定,只有已生成 个人版覆盖过该内容才恢复执行安装脚本。 回归:installScriptsTrust.test.ts(改写链传递与生成覆盖)、 taskWorkspace.test.ts(--ignore-pnpmfile + 环境剔除)、 personalRemote.test.ts(失效绑定 forkMissing 两例)。 验证:desktop typecheck;src/main/cindy-make 全量单测 1123 通过;cindy-make git-integration 83 通过;check:i18n / check:i18n-glossary / check:design-colors / check:dev-docs 通过;test:unit:related 除 ElevenLabsScribeProvider 并发抖动(单跑通过、与改动零交集)外通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证来源随合并与改写传递、内容核对失败闭、提交前复核绑定 继续收口安全复审指出的六个缺口(thread 4162024461 / 4162024465 / 4162024470 / 4162024479 / 4162024483 / 4162049060): 1. 通过共享合并生命周期(combine)取回的 fork tip 同样记为未验证 (personalRemoteRuntime 订阅者补记 remote.commit)。 2. 采纳改写(官方更新/合并)时把未验证身份折叠到改写后的提交(recordRewrite 同步写入 to),改写记录被 16 条上限淘汰或断开保存时不再断链;keepLocal/ disconnect 也保留 rewrites。 3. rebase 产生提交的内容核对失败闭:删除行按 trim 后比较(缩进保留不算删掉), 二进制改动无行可比时不作证、交回严格核对。 4. 提交给官方的推送前复核保存仓库仍是本账号的官方 fork(inspectFork + inspectPersonalFork 同一套严格校验),绑定失效提示重新保存、不推送。 5. 更新开着的 PR 时,分支推送成功先写入新提交再改 PR 与写记录,中途失败或 切号后重试按新提交租约,不再永久卡死。 6. 文档同步。 回归:personalContribution.test.ts(失效绑定拒绝、推送先落账)、 personalRemote.test.ts(改写折叠未验证身份)、既有 keepChanges/ personalContribution.git-integration 全部保持通过。 验证:desktop typecheck;src/main/cindy-make 单测 1125 通过;cindy-make git-integration 83 通过;pnpm test:unit:related 全绿;check:i18n / check:i18n-glossary / check:design-colors / check:dev-docs 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * test(cindy-make): combine 取回的 fork 内容在 journey 里断言为未验证 syncJourneys 的「两边改同一行」用例补断言:共享合并生命周期采纳 fork tip 后 绑定记录里有 unverifiedRemote;测试侧的接线镜像同步补记(与 configurePersonalRemote 一致)。覆盖 thread 4162024461 指出的路径。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证来源先落账再移动源码、删除文件核对、改名 fork 探测 修复安全复审三项(thread 4162184330 / 4162184333 / 4162184341): 1. 三处取回路径都改为在 `reset --keep` 移动源码之前记录未验证 tip:中断的 运行不会在磁盘上已含 fork 内容时丢失来源记录(移动失败后的保守误标安全)。 2. `editsSurvive` 解析被删除文件的 `--- a/path` 旧路径(a/ 与 b/ 前缀都认, `/dev/null` 回退到旧路径),文件归属不上时失败闭;删除不再绕过内容核对。 3. `existingFork` 的 canonical 探测改用 `redirect: 'manual'`:改名 fork 的 重定向视为未命中并继续账号仓库列表搜索(不携凭证跟随),不再被第一次 探测的重定向截断成 network 错误。 验证:desktop typecheck;src/main/cindy-make 单测 1125 通过;cindy-make git-integration 83 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 断开后谱系不丢、未知 PR 状态不擅自新建、空白改动失败闭 修复安全复审三项(thread 4162223249 / 4162223261 / 4162254512): 1. `rewrites` 谱系改为绑定字段之外解析:disconnect/keepLocal 后记录里没有 login/repository 也不丢改写谱系,未验证 tip 经改写的传递不断链。 2. 重新提交只在明确拿到 closed/merged 时才走新分支新开 PR;原 PR 状态查 不到(网络/5xx/响应异常)时按 network 报错重试,不在用户以为「更新提交」 时公开第二个 PR。状态判定提前到任何 Git 工作之前。 3. `editsSurvive` 对空白行增删、空文件与纯模式改动失败闭(无词可比即不 作证),交回严格核对与用户决定,不再因 `continue` 丢证据被同身份替代 提交蒙混。 回归:personalRemote.test.ts(无绑定时解析 rewrites)、 personalContribution.test.ts(未知状态报错且不动 Git)。 验证:desktop typecheck;src/main/cindy-make 单测 1126 通过;cindy-make git-integration 83 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 断开后新改写照记、无文本块修改失败闭、fork 枚举翻到末页 修复安全复审三项(thread 4162329520 / 4162329526 / 4162329529): 1. `recordRewrite` 不再要求仍在绑定状态:断开绑定后采纳的官方更新改写照常 记录并把未验证身份折叠到新提交,来源链不因解绑中断。 2. `editsSurvive` 对没有文本块的修改失败闭:`diff --git` 文件数与可核对 文件数不等(纯执行位改动、空文件创建/删除)即不作证,交回严格核对。 3. `existingFork` 的账号仓库枚举翻到末页(按返回数量自然终止),不再有 三页 300 仓库的固定上限。 回归:personalRemote.test.ts(无绑定记录的改写折叠、翻页定位改名 fork)。 验证:desktop typecheck;src/main/cindy-make 单测 1128 通过;cindy-make git-integration 83 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 内容核对保序、PR 中途关闭中止、拒绝 node_modules 链接 修复安全复审三项(thread 4162543226 / 4162543230 / 4162583351): 1. `editsSurvive` 的行内比对改为有序、保重数的子序列匹配:融合进对方词语的 适配行仍认(from a and b 包含 from b),但换序或丢词不认(return a - b 不等于 return b - a),不能可靠证明时失败闭。 2. 确认弹窗承诺「更新提交」时只更新不新建:openPull 的 existing 路径不再 在 PATCH 失败或 PR 中途被关闭时落入 POST 新建,直接中止让用户重新确认。 3. 未验证内容的自动安装前拒绝被跟踪的 `node_modules` 符号链接(pnpm 的写 根不能指向 worktree 外),命中即拒绝安装并报错。 回归:taskWorkspace.test.ts(拒绝链接、安装旗标与环境剔除)、 personalContribution.test.ts(PR 中途关闭不新建第二个 PR)。 验证:desktop typecheck;src/main/cindy-make 单测 1130 通过;cindy-make git-integration 83 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * test(cindy-make): 词序核对的回归用例:重排的新增行不算保留 thread 4162543226 的修复(`editsSurvive` 行内比对改有序、保重数子序列)此前 没有回归用例。补 keepChanges.git-integration:冲突解决生成的同身份替代提交 把新增行 `return a - b` 改成 `return b - a`(同词集、换语义)时必须点名 missing,交给用户决定,不得静默采纳。 验证:desktop typecheck;src/main/cindy-make 1214 通过(含 git-integration); test:unit:related 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 二进制核对失败闭、来源先于采纳落账、写根钉死、首次 PR 对账 修复安全复审五项(thread 4162711298 / 4162711304 / 4162746713 / 4162779742 / 4162779747): 1. `bareEdits` 对二进制改动返回「不可比较」:两段二进制 diff 去掉 index 行后 完全相同,快速相等分支不再为二进制修改作证,只有严格核对能认。 2. 未验证安装的 pnpm 写根全部钉死在 worktree 内(modules-dir、 virtual-store-dir、store-dir 经 CLI 覆盖任何内容自带 `.npmrc`),环境剔除 保留工具链自己的 npm_config 设置。 3. combine 采纳的 fork 来源在操作每次发布时即落账(远早于候选采纳与源码 reset),中断不丢来源。 4. 三处取回路径先写官方基线引用再移动源码:中断时保守的是「新基线」,不会 出现「新 tip 挂旧基线」。 5. 首次提交推送后 PR 响应丢失时的对账:重试发现分支被占时先查该分支的 open PR,找到就续写同一分支并更新它,不新开第二个公开 PR。 回归:taskWorkspace.test.ts(写根钉死参数);既有全套保持通过。 验证:desktop typecheck;src/main/cindy-make 单测 1130 通过;cindy-make git-integration 83 通过(含并行补入的词序回归后 84)。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证安装不加载用户 npm 凭证 thread 4162804802:内容自带 `.npmrc` 可设 https-proxy / strict-ssl=false,把 带用户 host 级 Authorization 的 registry 请求引到攻击者代理。未验证安装把 userconfig 指向空设备(不加载 ~/.npmrc 里的任何凭证),并钉死 strict-ssl=true;包内容仍由锁文件 integrity 保护。 验证:desktop typecheck;taskWorkspace/personalContribution 相关单测通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证安装的写根逐个校验为真实后代 thread 4162583351 复审补充(在 4162804802 修复钉死写根的基础上收口剩余绕过): 此前仅按 `git ls-files` 里路径含 `node_modules` 段的跟踪符号链接拒绝安装, 仍有失败开放与旁路:捕获上限 64KB 会截断大仓枚举、引号转义路径可藏段名、 非 `node_modules` 命名的链接(如 `packages -> 外部` 使 `packages/*` 成为 worktree 外写根)与 `pnpm-workspace.yaml` 的 `packages: ["../*"]` 都能把写根 带出 worktree。 改为安装前对内容做整树校验(新 `pnpmWriteRoots`,文件系统遍历而非 git 枚举): 内容里任何解析出 worktree 的符号链接一概拒绝;内容自带 `.npmrc` / `pnpm-workspace.yaml` / `package.json#pnpm` 不得设置路径型配置键(`-dir`/`-path` /`-home`/`-file`/`-config` 段尾与 `Dir`/`Path`/`Home`/`File`/`Config` 驼峰尾, 外加 userconfig/globalconfig/use-node-version 等单词条目);workspace/`workspaces` glob 不得逃出 worktree;每个写根(各 package 目录的 `node_modules`、 `.pnpm` 与钉死的 `.cindy-make-store`)以其现存部分 realpath 验证为 worktree 的真实后代。与安装参数的写根钉死互为兜底。 回归:taskWorkspace.test.ts 新增真实符号链接(任意名、node_modules、 node_modules/.pnpm 遗留)、`.npmrc` store-dir、`virtualStoreDir`、`../*` glob、 `package.json#pnpm.storeDir` 拒绝用例与「已验证内容可自配 store」边界用例; 仓库自身内容扫描零误伤(跟踪树不含任何符号链接,实测通过)。 验证:desktop typecheck;src/main/cindy-make 等 standard 单测 243 文件 3294 通过(git-integration 在本机 macOS 因 /var 软链 realpath 不等而失败, 为既有环境基线,stash 对照确认与本改动无关;CI Linux 侧该套件为绿)。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): sync.json 损坏时以全新记录启动 thread 4162876060:`sync.json` 为截断 JSON 或合法的 `null` 时,`parseSyncRecord` 的解析或随后的属性访问会抛错,与其「Only well-formed values survive; anything else is a fresh start」契约不符(当前构造器里另有一层 catch 兜底,但解析本身 不应靠调用方代为兜底)。解析或类型不合法一律返回全新记录,Sync 不因此哑火。 回归:personalSyncRuntime.test.ts(截断 JSON、`null`、非对象值均得全新记录; `sync.json` 写坏后 `configurePersonalSync()` 不抛、`status` 请求正常返回)。 验证:desktop typecheck;standard 单测 243 文件 3294 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 写根旗标过启动校验、采纳改写落账先于源码移动 两处接线缺口与补测: 1. 未验证安装钉死写根的 `--config.<...>=<相对路径>` 含 `/`,会被 `runSourcePnpm` 的启动校验当「unsafe pnpm argument」拒掉——单测用假 pnpm 测不出,真实未验证安装会整段失败。校验只为固定的写根旗标放行相对路径 (仍无空格、引号与 shell 元字符),其余照旧拒绝任意路径。实测 `--config.<key>` 形式确实压过 `.npmrc` 与 `pnpm-workspace.yaml` 的 modulesDir/virtualStoreDir/storeDir 重定向。 2. 采纳改写的来源落账补上「源码移动前」的一半:订阅器只在每次发布时先记 fork tip,`rewrites` 仍要等 merged 发布;崩溃在 `reset --keep` 之后时旧 tip 不再是新 tip 的祖先、又没有改写边,任务准备会把携未验证内容的改写 结果当成可信。现在 `applyUpstreamMerge` 在移动源码前经 `journal` 钩子把 改写边与未验证身份一并落账(`journalMergeProvenance`,订阅器同一份事实、 重复忽略),移动后崩溃也不丢谱系。 回归:sourcePnpm.test(写根旗标放行、任意路径仍拒绝)、 keepChanges.git-integration(同身份替代提交换掉二进制内容须点名 missing、 采纳改写在源码移动前落账的时序)。 验证:desktop typecheck;src/main/cindy-make 1217 通过(含 git-integration); test:unit:related 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 被改写的删除行不算删除、未验证安装只给白名单环境 修复安全复审两项(thread 4162977344 / 4162977341): 1. `editsSurvive` 的删除行核对不再只做整行精确相等:解决冲突时把被删内容 改写保留(`deny()` 变成 `deny() // upstream note`)曾被当成「已删除」, 让丢失用户删除的替代提交整单作证。删除行的内容以同一套有序、保重数的 子序列比对识别「结果里仍有行携带它」,命中即不作证;新增行与删除行共用 同一套比对(within),两侧对称、都失败闭。 2. 未验证安装改为白名单环境:只放行进程必需(PATH/SystemRoot/ComSpec/临时 目录/HOME 等)与 Cindy 工具链自身的设置(COREPACK_*、PYTHON*、 npm_config_python 等),其余一律不传。此前只滤 `npm_config_*`,启动 Cindy 时继承的 NPM_TOKEN / GITHUB_TOKEN 等仍会被内容自带 `.npmrc` 的 `${VAR}` 展开成发往攻击者 registry 的凭证。 回归:keepChanges.git-integration(被删行以改写形态保留须点名 missing)、 taskWorkspace.test(NPM_TOKEN/GITHUB_TOKEN/AWS 密钥/代理变量一律不出现在 未验证安装的环境里)。 验证:desktop typecheck;src/main/cindy-make 1228 通过(含 git-integration); test:unit:related 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 落账失败中止采纳、坏账本不自证清白、禁用 configDependencies 修复安全复审三项(thread 4163014733 / 4163014737 / 4163036454): 1. 来源账本写不下时中止采纳:`journalMergeProvenance` 不再吞掉 `recordUnverifiedRemote` / `recordRewrite` 的写入异常(也不再在控制器缺位时 静默跳过),失败即从 `applyUpstreamMerge` 的移动前钩子抛出,源码不被 `reset --keep` 到无法记账的结果;订阅器里的补记仍是容错的(采纳本身已由 前置落账把守)。 2. 损坏的 `personal-remote.json` 不再自证清白:`parsePersonalRemoteTrust` 对 非法 JSON、null、非对象与未知 schema 一律抛「信任状态不可证明」,交给 `taskRuntime` 的兜底继续走受限安装(禁脚本);只有缺失的文件才证明「没有 取回过内容」。控制器侧解析维持原「全新记录」语义(坏账本读不到绑定,反而 不会推送)。 3. 未验证内容禁用 `configDependencies`:pnpm 把配置依赖的包名直接拼到 `node_modules/.pnpm-config`,路径型名字(`../../../../../../autostart`)在 写根全部钉死之后仍能把 `.desktop` 文件写出 worktree。任何 `configDependencies`(含 `config-dependencies.*` 子键)一概拒绝。 回归:keepChanges.git-integration(落账回调抛错时源码保持原地不动——落账 回调契约)、personalRemote.test(坏 JSON/null/数组/未知 schema 均抛、 缺失文件为空事实)、taskWorkspace.test(workspace yaml 与 package.json#pnpm 的 configDependencies 路径名均拒绝安装)。`journalMergeProvenance` 去吞异常 本身为直接可读的代码改动,行为由回调契约用例覆盖。 验证:desktop typecheck;src/main/cindy-make 1232 通过(含 git-integration); test:unit:related 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 对账查询失败闭、台账按发起账号钉住、读基线核验祖先 修复安全复审三项(thread 4162906526 / 4162906530 / 4162906537;另两项 4162977344 / 4162977341 已由 506e3d64d1 修复,本提交不重复): 1. `openPullFor` 区分「未知」与「确实没有 PR」:查询超时/5xx/响应异常一律 中止重试(network),只有明确的空列表才允许换名新开分支,不再可能因 查询失败公开第二个 PR。 2. 提交台账按发起提交的账号钉住(入口捕获 `ledgerPath`,读写都用它), 推送成功后的预落账先于任何账号断言写入该台账:中途切号不再丢失已成功 的推送,重试按新提交租约,不会永久撞租约。 3. [P2] 读官方基线时核验其确为个人 tip 的祖先(sourceRevisions 与 upstreamMergeRuntime.latest):中断移动留下的「旧 tip + 新基线」不再被 后续同步信任,回落到由两者共同历史推算的基线。 回归:personalContribution.test.ts(对账未知态中止、切号后台账仍落账)、 sourceRevisions.test.ts(错配基线被忽略);git-integration fixture 按真实 GitHub 行为对 open-pull 查询返回 200+[]。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1144 通过;cindy-make git-integration 87 通过;pnpm test:unit:related 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 凭证类环境键一律剔除、clean 快路径同样先落账 修复安全复审两项(thread 4163118683 / 4163168894): 1. 未验证安装的白名单环境再收紧:命中白名单的键名若含 token/password/auth/secret/credential 一律剔除,`COREPACK_NPM_TOKEN`、 `COREPACK_NPM_PASSWORD` 等不再经白名单前缀漏出;无害的 `COREPACK_ENABLE` 等照常放行。 2. clean rebase/combine 的快路径(`startRebaseCandidate` 直接 `applyUpstreamMerge`)补上与任务路径同款的 `journal` 钩子: `prepareUpstreamMerge` / `preparePersonalCombine` 接受并传递 `journalMergeProvenance`,采纳的改写来源在源码 reset 前先落账,中断不再 让重写后的内容看起来可信。 回归:taskWorkspace.test.ts(COREPACK_NPM_TOKEN/_PASSWORD 剔除、 COREPACK_ENABLE 保留)、keepChanges.git-integration.test.ts(clean 快路径 journaled 先于 moved)。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1147 通过;cindy-make git-integration 89 通过;pnpm test:unit:related 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 新增行按出现次数核对、拒绝对配置符号链接、预热前查配置 修复安全复审三项(thread 4163239420 / 4163271919 / 4163271925): 1. `editsSurvive` 的新增行核对改为按出现次数:结果里每行最多作证一次, 新增次数必须由「原有携带行 + 新增次数」凑够,预存在的同名行不再为丢失的 新增副本作证;删除行侧保持任一残留即不作证。 2. `pnpmWriteRoots` 拒认配置文件符号链接:`.npmrc` / `pnpm-workspace.yaml` / `package.json` / pnpmfile 以链接出现时直接拒绝(pnpm 会跟随读取,扫描不能 跳过其内容),不再可能用链接挂一份恶意配置。 3. 新增 `assertPnpmConfigContained`(只查根配置、不走全树):源码准备的 `pnpm fetch` 缓存预热前先查,配置里有 `configDependencies`、写路径重定向 或配置符号链接时跳过预热——静默准备不执行内容自带的配置代码。 回归:keepChanges.git-integration.test.ts(重复新增行被丢弃必须报缺)、 taskWorkspace.test.ts(配置文件符号链接拒绝安装)。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过;cindy-make git-integration 90 通过;pnpm test:unit:related 与 check:i18n / check:i18n-glossary / check:design-colors / check:dev-docs 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未采纳候选不再进来源账本、来源条目不按时间淘汰 修复安全复审(thread 4163340803): 1. 订阅器不再在每次 publish 预记录 fork tip:采纳时的前置落账 (`journalMergeProvenance`,含 clean 快路径)已经守在源码移动之前;被放弃 的 combine 候选不再写入来源账本,无法把仍在当前源码祖先链上的真实来源 挤出去。 2. `unverifiedRemote` 不再无条件截断(写侧去掉 slice,解析侧只留 512 的 损坏防线):来源条目留到「生成个人版覆盖」或确实不再到达当前源码为止, 淘汰必须以证明为前提,不按时间或数量硬裁。 回归:personalRemote.test.ts(22 条来源并存、旧行不被新行淘汰)。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过;cindy-make git-integration 90 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 预热同样使用无凭证白名单环境 修复安全复审(thread 4163462442):源码预热的 `pnpm fetch` 不再转发完整 processEnvironment——与未验证安装同口径,抽出自 `sourcePnpm.unverifiedPnpmEnv`: 白名单(进程必需 + 工具链自有设置)之外一律剔除(含凭证类键名),userconfig 钉到空设备,另钉 `--config.strict-ssl=true`。内容 `.npmrc` 的 `//attacker.example/:_authToken=${NPM_TOKEN}` 展开不再拿得到任何继承凭证。 taskWorkspace 的未验证安装环境改为共用同一实现(行为不变)。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过;cindy-make git-integration 90 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): Sync 读基线前校验其为个人 tip 的祖先 thread 4163517139:sourceRevisions 与 upstreamMergeRuntime 的读取都已加 「记录基线必须是个人 tip 的祖先」的 clamp,但 Sync 自己的基线读取器 (`personalSyncRuntime.base`)仍原样返回记录值。中断移动留下的「旧 tip + 新基线」会让 Sync 看到 `base === target.commit`、跳过必需的官方更新,反复 报完成而源码仍停在旧版。同口径补上:错配时按两者共同历史推算的基线回落, 推算不出再走原有的 derived 回退。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过; cindy-make git-integration 90 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 信任字段失败闭、删除路径必须不存在、global 凭证隔离 修复安全复审三项(thread 4163517120 / 4163517130 / 4163547646;4163517139 的 Sync 基线校验已由 58d68f7c 修复,本提交不重复): 1. `parsePersonalRemoteTrust` 对信任字段失败闭:`unverifiedRemote` / `rewrites` 形状非法(非数组、条目不合规、超出上限)即抛「信任状态不可证明」,静默 丢条目不再读成「没有未验证内容」。 2. `editsSurvive` 要求被删路径在结果里不存在:删除整个文件的修改若被恢复 (无论内容变成什么)都失败闭,不只看行内容。 3. `unverifiedPnpmEnv` 同时把 `globalconfig` 钉到空设备:全局配置里的 registry 凭证同样不加载。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过;cindy-make git-integration 90 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证 pnpm 环境剔除 API key、不再泛化放行应用前缀 thread 4163598331:白名单里的 `cindy_*`/`xdt_*` 通配会放进真实的应用密钥 (`XDT_ELEVENLABS_API_KEY` 等),后置过滤又未覆盖 `key` 类凭证名;内容 `.npmrc` 用 `${XDT_ELEVENLABS_API_KEY}` 即可把密钥发往其 registry。删除两 个前缀通配(工具链所需均已逐名列出),凭证过滤补上 `key`,并在 taskWorkspace 回归里钉住两类前缀密钥不得外泄。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证环境剔除 API key、核验混合修改的文件模式 修复安全复审两项(thread 4163598331 / 4163632695): 1. `unverifiedPnpmEnv` 不再泛化放行 `CINDY_*` / `XDT_*`(只留测试缝 `cindy_test_*`),凭证类键名过滤补上 `key`:`XDT_ELEVENLABS_API_KEY`、 `XDT_CODEX_API_KEY` 等不再经白名单前缀漏给内容 `.npmrc` 的 `${VAR}`。 2. `editsSurvive` 核验文件模式:`new file mode` / `new mode` 记入后逐一 比对结果树模式(`ls-tree`),混合文本+模式的修改被丢了可执行位或符号 链类型时失败闭,不再只比较行内容。 回归:taskWorkspace.test.ts(XDT/CINDY API key 一律不出现)、既有全套保持 通过。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1148 通过;cindy-make git-integration 90 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 拒绝逃出 worktree 的路径型依赖 修复安全复审(thread 4163766404):`pnpmWriteRoots.checkDependencySpecs` 在 安装/预热前检查 manifest 的 `dependencies` / `devDependencies` / `optionalDependencies`——`link:` / `file:` / 相对或绝对路径解析后必须仍在 worktree 内(树内链接放行),逃逸即拒绝;冻结锁文件里声明的 `"private-data": "link:../private"` 不再让 pnpm 在安装时把外部目录链进任务 worktree。`assertPnpmConfigContained`(预热前)与全树安装检查共用同一判定。 回归:taskWorkspace.test.ts「refuses unverified content with a dependency that escapes the worktree」。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1149 通过;cindy-make git-integration 90 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 递归校验生成依赖 spec 的配置、拒绝 traversal 依赖名 修复安全复审(threads 4163871861 P0、4163923654 P1): - 依赖 spec 校验从三个直接 dependency 字段扩展到所有会生成依赖 spec 的配置: `pnpm.overrides` / 顶层 `overrides` / `resolutions`(冻结锁文件会原样执行其 值,`{"private-data":"link:../private"}` 此前会把 worktree 外目录链进 node_modules)、`catalog` / `catalogs`、`packageExtensions`、 `patchedDependencies`;嵌套选择器递归校验,值仍以树内为限。 - `checkDependencySpecs` 同时校验依赖名本身:pnpm 把每个安装名 join 到 node_modules 下,`"../../../../../autostart"` 这类 traversal 名无论 write root 在哪都能越界(甚至把被占用的外部目录换成指向载荷的 symlink)。名字必须是 `[@scope/]name` 形态;override key 这类 pattern 只拒绝路径形态(`..` 段、绝对 路径、`~`、反斜线)。 - 安装后对生成链接做越界复查:`assertPnpmInstallLinksContained` 遍历 write roots 内所有 symlink(含安装包自带链接),解析后必须落在 worktree 内; `installCindyMakeWorktree` 未验证安装(ignoreScripts)收尾时执行。 回归:taskWorkspace.test.ts「refuses unverified content whose pnpm overrides escape the worktree」「refuses unverified content with a traversal dependency name」「refuses when an installed link leaves the worktree」「installs unverified content whose overrides and links stay in the worktree」。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1244 通过(含 git-integration)。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 先记录新官方基线再移动个人源码 修复安全复审(thread 4163871868 P1):applyUpstreamMerge 采纳 rebase/combine 结果时,`reset --keep` 成功后、`update-ref` 前退出会留下「新 tip + 旧基线」, 旧基线通常是新结果的祖先,祖先校验识别不出错配,重启后同步可能把新 tip 连同 旧基线发布给其他电脑。改为与取回远端 tip 的路径一致:先写 `PERSONAL_UPSTREAM_REF` 再移动源码,中断只会留下「旧 tip + 新基线」——现有 base clamp 能检出(新基线不是 tip 的祖先)并按两者共同历史恢复到 tip 真正的 基线,保留的 merge 操作重入 apply 即可补完被中断的移动。 回归:upstreamMerge.git-integration.test.ts「records the new official baseline before moving the personal source so an interruption is clamped」——在源码移动 处模拟进程退出,断言基线已记录、tip 未动、clamp 可检出可恢复,续跑完成后 tip 与基线一致。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1244 通过(含 git-integration)。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 未验证项目禁用 Corepack 的项目 env 与 packageManager spec 修复安全复审(thread 4167584730 P1):当系统 pnpm 是 Corepack shim 时, `unverifiedPnpmEnv` 此前泛化透传 `COREPACK_*` 且未钉死 `COREPACK_ENV_FILE`, fork 内容可提交 `.corepack.env` 设置 `COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=1` 并把 `packageManager` 指向自定义 URL(或预置 `COREPACK_HOME` 缓存投毒), Corepack 会在真正的 pnpm 启动、`--ignore-scripts` 生效前下载并执行攻击者指定 的包管理器,使任务创建或缓存预热以 Desktop 用户身份执行远端代码。 现在未验证安装/预热环境无条件钉死: - `COREPACK_ENV_FILE=0`:不读项目 `.corepack.env`; - `COREPACK_ENABLE_PROJECT_SPEC=0`:不跟随内容的 `packageManager` spec; - `COREPACK_ENABLE_UNSAFE_CUSTOM_URLS=0`:拒绝自定义 URL 的包管理器。 钉死键在过滤阶段按大小写不敏感剔除父环境同名异形键,避免 Windows 大小写不 敏感环境下双份键打架。工具链自身的 COREPACK_* 设置照旧透传。 回归:taskWorkspace.test.ts「keeps inherited secrets out of an unverified install environment」补三键钉死与异形键剔除断言。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1245 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 每个被占用的候选分支都先做 PR 对账再换名 修复安全复审(thread 4167584746 P1):PR 对账此前限定 `attempt === 0`。当 canonical 分支被较早的关闭 PR 占用、本次提交落到 `-2`,而创建 PR 的响应丢失 时,重试在 `-2` 的 absent lease 失败后不会 `openPullFor('-2')`,直接推 `-3` 并公开第二个 PR。候选分支名按 runId 命名空间隔离,任何被占用的候选都可能 是本客户端自己丢失响应的那次推送:现在每次推送失败(failed)都查询该候选 自己的 open PR,找到即按其当前 tip 做 lease 推送并更新该 PR,仅在确认没有 open PR 时才换下一个名字。 回归:personalContribution.test.ts「reconciles a lost pull request response on any occupied candidate before renaming」——canonical 被关闭 PR 占用、`-2` 为 丢失响应的既有 open PR,断言落到 `-2` 的 PR 被更新(PATCH)、没有任何 POST 创建第二个 PR、也没有推 `-3`。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1245 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 删除行的判定改标点盲比对,证不出缺失即失败闭 修复安全复审(thread 4167962650 P1):editsSurvive 的 within() 按空白分词, 删除 `deny();` 的提交在冲突解决里被保留成 `if (deny()) { ... }` 时,`deny();` 与 `(deny())` 是不同 token,回退判定把被删文本当作已消失,静默把丢失删除的 结果判为「修改保留」,而不是走缺失修改确认。现在删除行的「仍被携带」判定 增加标点剥离后的词序列比对(词序与个数语义同 within),任何形态的换装保留 都算未应用删除;缺失证不出来就失败闭,回到缺失修改确认。新增行的严格 within 判定不变(欠携带方向本就失败闭)。 回归:keepChanges.git-integration.test.ts「names a change whose deletion a resolved rebase kept only wrapped in punctuation」——个人提交删一行改一行, 解决保留改动但把被删代码包进 `(2)`,断言改动被点名而不是被 vouch(修复前 该测试实测失败)。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1249 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 运行 pnpm 前校验锁文件与包档案的传递依赖名 修复安全复审(thread 4168026243 P1 Security):此前只校验检出树可见 package.json 的依赖名,锁文件与树内 tarball 的传递依赖名没校验。复现是根依赖 `file:./evil.tgz`,tarball 内依赖名穿越到 `fake-home/.config/autostart`,pnpm 把被占目录移到 `.ignored_autostart` 并换成指向载荷的链接、返回 0;安装后扫描 从 worktree 起步看不到树外链接。现在安装前补两层: - `pnpm-lock.yaml` 全量递归校验:`importers`/`snapshots`/`packages`(v6) 等所有 依赖字段(dependencies/dev/optional/peer/specifiers)与 `overrides`/`resolutions`/ `patchedDependencies`/`catalog(s)`/`packageExtensions` 的 key 按名字/pattern 规则拒绝 traversal,path 型 spec 值必须从某个合法基址(锁文件根、各 importer 目录、`.pnpm` store)解析后仍在 worktree 内;`packages`/`snapshots` 的包 ID 拒绝 `..` 路径段(`link+` 工作区链接除外,其目标经 spec 校验)。 - `file:` 依赖安装自包档案:档案内 `package/package.json` 的传递依赖名同样必须 是包名,path 型 spec 一律拒绝(解析基址是 store 解包位置,不在树内);档案 经 tar 流式只读 manifest,不整包解压,条目数与大小有上限,解析不了失败闭。 回归:taskWorkspace.test.ts「refuses unverified content whose lockfile dependency names traverse out」「refuses unverified content whose file dependency archive names traverse out」「installs unverified content whose lockfile and archive metadata are benign」(最后一条直接喂仓库自己的 pnpm-lock.yaml,防真实工作区 链接/override pattern/patchedDependencies 被误伤)。 验证:desktop typecheck 通过;src/main/cindy-make 单测 1249 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 待生成事实随源码快照设备级记录,跨账号不再误判 hasUnbuiltPersonalChanges 动态读当前 Cindy 账号的制作历史,而个人源码是设备级 共享的:账号 A 合入修改但尚未生成、切到账号 B 再同步,B 的历史里没有对应回执, 会被误判为「没有待生成修改」,这份仍可能被 A 的失败生成撤回的提交就可能被远端 同步上传、被官方更新改写,造成 GitHub 与本机撤回结果分叉。按产品裁决(PR #5343 discussion_r4268960042)落地选项 1: - 新增设备级待生成记录 pendingBuild.ts(userData/cindy-make/pending-build.json, 与托管源码共同持久化):「源码快照带有这台电脑还没生成、失败生成仍可能撤回的 修改」这一事实与快照共同记录。合入修改先记事实再落回执;生成个人版成功清账; 回滚与源码恢复完成时随源码离开的快照撤账;官方更新/合并改写随 rewrites 把 事实传递到携带它的结果,合并带进的 GitHub 修改同样记为待生成;取回另一台电脑 的版本时先记后移动。记录读不出来时按有待生成处理(失败闭)。 - 判定改为组合:账号自己的回执链/待撤回队列照旧回答自己的合入,其余内容由设备 级记录回答——不能因为当前账号查不到本机制作记录就判定源码没有待生成修改。 - 制作历史继续按账号隔离;源码版本(有哪些修改)与本机生成状态(是否已在这台 电脑生效)分别处理:已生成个人版本覆盖的快照即已生效。 回归:pendingBuild.test.ts(跨账号切换不再误判、跨设备取回后待生成、生成成功 清账、改写传递、读不出来失败闭);buildRollback.test.ts(回滚/恢复完成时撤账、 拒绝改动源码时保留事实);syncJourneys 新增两条真实生成状态旅程(生成后才共享、 另一台电脑取回同一源码并自行生成;生成失败撤回不发布也不覆盖 GitHub 版本)。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(i18n): 提交给官方与停止同步文案避免动词 turn,修好术语主流度门禁 合并 main 后 glossary-rules 的「声明的译法必须是现状主流」在 CI 失败: term=turn 的 ko「턴」覆盖率 33/96 (34%),低于 35% 门槛。根因是统计口径把 本 PR 新增两处英文里的动词用法计入了术语分母("turn sync back on" / "Turn this change into a pull request",韩文译作 다시 켤 수 있습니다 / 정리해 제출하고,本就正确地不用「턴」),而 main 对帮助文案的改写又移除 了一处真正的术语用法("multiple turns"),两边叠加把比率压到门槛下。 不动术语表:把这两处英文改为不含 turn 的等义表述(enable sync again / Submit this change as),与 main 文案改写的方向一致(turn 是内部概念、 不作界面术语)。各语言译文语义不变,键集合不变。 验证:node --test scripts/__tests__/glossary-rules.test.mjs 71 全过; check:i18n / check:i18n-glossary 通过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 提交给官方弹窗改用共享 modal-scrim / modal-panel main 引入的 modalSurfaceContract(DESIGN §4「所有模态弹窗共用同一个外框」) 判本 PR 的「提交给官方」弹窗违规:遮罩自带 bg-[var(--overlay-modal)]、面板 自带 rounded-xl / bg-[var(--confirm-bg)] / shadow-[var(--confirm-shadow)], 没有挂共享的 modal-scrim / modal-panel。按契约改用两个共享类,去掉调用处的 遮罩色、圆角、底色与阴影覆盖;宽度、定位、内边距仍由调用处决定,视觉由 共享外框统一提供(Light / Dark 均由语义 token 驱动)。 验证:modalSurfaceContract 5/5 通过;src/renderer/components/cindy-make 337 通过;typecheck 通过。全量 desktop 单测 56255 通过,余 3 个失败文件 (drizzle-proxy-perf 性能门限、claudeHosted.e2e 真机 e2e、 piGatewaySessionAffinity 本地 mock 收集)均与 main 完全一致、属本地环境 既有噪声,与本 PR 增量无关。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 已知原版解析不到提交时停止同步,不再跳过 migration 比较 自动审查 P1(PR #5343 discussion_r4269797314):原版版本号已知、但构建提交 缺失/标为 dirty 且 v<version> 标签不存在时,pickSyncTarget 的 installed 为 undefined,旧逻辑直接选最新版本、完全跳过 migration 比较——Sync 可能把个人版 更新到含不兼容数据库 migration 的提交,生成无法与当前原版安全切换的版本, 也违反 docs/cindy-make-upstream.md「本机原版已知但查不到对比结果时不动」的 约定。 改为失败闭:原版信息整体未知(或开发版)才跟随最新;版本号已知但解析不到 其提交时抛 code='unavailable'(与 mergeError 同形,调用方映射为「暂时查不到 官方版本信息,请稍后再同步。」),什么都不动。 回归:syncTarget.test.ts「stops when the known original cannot be resolved instead of following the latest release」(build commit 缺失 + 标签不存在、 dirty + 标签不存在两种形态,断言按 unavailable 失败闭且不做 migration 比较)。 验证:typecheck 通过;src/main/cindy-make 1271 全过。 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 账本缺失时失败关闭并守住功能开关 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 初始化全新源码的可信待生成账本 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): 保留损坏的信任记录并补齐状态回归 Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): 多次关闭后仍可重新提交修改 Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): 保持信任账本失败关闭并投影手机只读状态 Signed-off-by: MagicLizi <jiali@magiclizi.com> * fix(cindy-make): harden personal sync review paths Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): close sync projection review gaps Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): preserve publication proof and refresh finished tasks Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): verify preserved additions and full contribution scope Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): fail closed on HTML comment end-bang fragments Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): bind contribution consent to the reviewed snapshot Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): verify carried changes at their original positions Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): verify published coverage after trust ledger overflow Signed-off-by: Lizi <jiali@magiclizi.com> * docs(cindy-make): align sync status and verification contracts Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): bind dependency checks to their real paths Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): restore the official base when updating contributions Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): keep read-only personal status visible on mobile Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): contain local Git dependency URLs Signed-off-by: Lizi <jiali@magiclizi.com> * fix(cindy-make): statically import the merge runtime Signed-off-by: Lizi <jiali@magiclizi.com> --------- Signed-off-by: Lizi <jiali@magiclizi.com> Signed-off-by: MagicLizi <jiali@magiclizi.com> | 1 month ago | |
docs(acp): 按 #12798 更新插件引擎回收的起因说明 #12798 已去掉每个插件固定 8 个进程的上限,文档和注释里还把它写成现状。 改为历史表述:回收现在用来避免空闲引擎进程越积越多。行为不变。 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 19 hours ago | |
docs(desktop): describe manual log consent scope and storage Signed-off-by: xuzini-xzn <xuzini@xd.com> | 2 days ago | |
docs(desktop): describe manual log consent scope and storage Signed-off-by: xuzini-xzn <xuzini@xd.com> | 2 days ago | |
fix(desktop): keep the personal instructions off the cloud web relay The instance declared the personal instructions channel to the cloud instance service, so a browser read sent the full text back through it as a receipt. Their text travels over DeviceLink only, as cloudPersonalization.ts states; the web relay no longer declares or accepts the channel. Signed-off-by: Sirius <sirius@xd.com> | 1 day ago | |
fix(media): 修复旧插件选型和视频提交边界 Signed-off-by: nana <823073145@qq.com> | 1 month ago | |
fix(media): 支持中转图片引用和 Guide 任务内容下载 Signed-off-by: liugaowei <liugaowei@xd.com> | 16 days ago | |
fix(desktop): 修复 Windows Acrylic 侧栏闪烁 (#10010) Use regular frameless windows for Windows system backdrops and preserve clear desktop transparency across restarts. Include localized restart hints and regression coverage. Signed-off-by: Lizi <jiali@magiclizi.com> Assisted-by: Cindy (https://cindy.app) | 14 days ago | |
feat(desktop): 支持桌面半透明与可调模糊并保留侧栏磨砂 复用壁纸控件与背景规则,保留 macOS 圆角和独立侧栏材质;按变化项更新原生状态,透明度拖动本地预览、提交时保存。 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 18 days ago | |
docs(dev-rules): 规则文档声明读取时机与适用路径,生成规则索引 改到哪些文件要读哪些规则,原先全靠根 AGENTS.md 里 58 条「改 X 前先读 Y」。条目多了反而被 忽略:#10938 未经确认就改了更新链路,更新器那条当时就在上下文里。 - 62 份规则文档在开头的引用块里声明「读取时机」和「适用路径」(路径通配或「按主题」)。 - scripts/rule-index.mjs(无依赖)由这些声明生成 docs/dev-rules/rule-index.md,并提供 pnpm rules:for <路径…>、pnpm rules:changed 按路径列出要读的规则。 - pnpm check:dev-docs 核对:有读取时机的文档都声明了适用路径、每条路径仍匹配现存文件、 索引是最新的;并给根 AGENTS.md 的字节数和条目数设上限。 - REVIEW.md 与 Greptile 配置改为按规则索引确定对照哪些规则。 - development-workflow.md §4 写明声明格式,§5 修正「根文件只留触发条件」的说法。 - DESIGN.md 阅读路由补上术语表规则与「任务/对话/消息」命名的入口。 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 8 days ago | |
fix(desktop): check agent binaries after automatic update relaunch (#4950) Automatic relaunches (idle and startup auto-apply) share executeRelaunch with the manual update restart but skipped the one-shot startup marker, so users on auto-update never received agent binary updates. Drop the checkForBinaryUpdates switch so every applied app update writes it. Signed-off-by: MagicLizi <jiali@magiclizi.com> | 2 months ago | |
docs(feishu): add public store app usage guide Signed-off-by: xd-bobo <caojianbo@xd.com> | 15 days ago | |
fix(acp): give hosted plugin-engine tasks the task computer's roster A plugin-engine task hosted for another computer got no plugin roster, while the built-in engines inject the roster snapshot the task computer sends (deviceHostedGhostRoster, only when the tunnel offers the gateway). Hosted plugin-engine tasks now get that same snapshot and still no Skill list; this computer's plugins never enter it. The roster-injection doc lists the plugin-engine briefing as a consumer. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com> | 2 days ago | |
feat(desktop): add dormant Discord ingress scheduler foundation (#2099) * docs: record Discord scheduler PR split plan Signed-off-by: nana <823073145@qq.com> * feat(desktop): add dormant Discord scheduler foundation Signed-off-by: nana <823073145@qq.com> * fix(desktop): harden dormant Discord scheduler discovery Signed-off-by: nana <823073145@qq.com> * fix(desktop): fail closed on missing scheduler snapshots Signed-off-by: nana <823073145@qq.com> * fix(desktop): close scheduler discovery races Signed-off-by: nana <823073145@qq.com> * fix(desktop): isolate scheduler snapshot generations Signed-off-by: nana <823073145@qq.com> * fix(desktop): keep final scheduler refresh live Signed-off-by: nana <823073145@qq.com> * fix(desktop): await final scheduler snapshot refresh Signed-off-by: nana <823073145@qq.com> * fix(desktop): retry scheduler unbinding discovery Signed-off-by: nana <823073145@qq.com> * fix(desktop): require scheduler recovery retry Signed-off-by: nana <823073145@qq.com> * fix(desktop): retry invalid scheduler self snapshots Signed-off-by: nana <823073145@qq.com> * fix(desktop): reject stale scheduler snapshots after disconnect Signed-off-by: nana <823073145@qq.com> * fix(desktop): refresh scheduler state without binding Signed-off-by: nana <823073145@qq.com> * fix(desktop): harden scheduler refresh recovery Signed-off-by: nana <823073145@qq.com> * fix(desktop): invalidate stale scheduler views on recovery Signed-off-by: nana <823073145@qq.com> * fix(desktop): latch scheduler snapshot freshness gate Signed-off-by: nana <823073145@qq.com> * fix(desktop): recover from snapshot request failures Signed-off-by: nana <823073145@qq.com> * fix(desktop): complete async snapshot failure contract Signed-off-by: nana <823073145@qq.com> * fix(desktop): reject stale binding runtime gaps Signed-off-by: nana <823073145@qq.com> * fix(desktop): refresh scheduler state after relay recovery Signed-off-by: nana <823073145@qq.com> * fix(desktop): restart recovery after empty snapshot Signed-off-by: nana <823073145@qq.com> * fix(desktop): harden scheduler binding generations Signed-off-by: nana <823073145@qq.com> * fix(desktop): restore same-identity runtime gaps Signed-off-by: nana <823073145@qq.com> * fix(desktop): clear identity tombstones on account reset Signed-off-by: nana <823073145@qq.com> * fix(scheduler): close recovery and tombstone gaps Signed-off-by: nana <823073145@qq.com> * fix(scheduler): barrier unseen old generations Signed-off-by: nana <823073145@qq.com> * fix(scheduler): enforce binding generation barriers Signed-off-by: nana <823073145@qq.com> * fix(scheduler): reject contradictory peer probes Signed-off-by: nana <823073145@qq.com> * fix(scheduler): scope peer probe cache lifecycle Signed-off-by: nana <823073145@qq.com> * fix(scheduler): latch tagged snapshot gate Signed-off-by: nana <823073145@qq.com> * fix(scheduler): 保留同一 Bot 的未解决代次 Signed-off-by: nana <823073145@qq.com> * fix(scheduler): 阻止已解析代次重新出现 Signed-off-by: nana <823073145@qq.com> * fix(scheduler): 溢出时保留绑定墓碑屏障 Signed-off-by: nana <823073145@qq.com> * fix(scheduler): 拒绝同轮次绑定回滚 Signed-off-by: nana <823073145@qq.com> --------- Signed-off-by: nana <823073145@qq.com> Co-authored-by: nana <823073145@qq.com> | 2 months ago | |
fix(library): 让原生Agent自行定位library并获得生效的只读权限 (#4250) * fix(library): capture write epoch and host-owned library root contract Write/writeCommit receipts now carry the session-captured identity and generation, including stream begin/commit. Host extraDir roots resolve library: relative keys without leaking absolute paths to plugins. Signed-off-by: PraiseZhu <zhuzan@xd.com> * fix(library): wire task-scoped roots into native readers Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(desktop): preserve trusted library grants and retire stream epochs Signed-off-by: Praise <praise@PraisedeMac-mini.local> * test(desktop): avoid duplicate abort controller import Signed-off-by: Praise <praise@PraisedeMac-mini.local> * test(desktop): reconcile upstream abort controller setup Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(desktop): treat closed owner probes as ended Signed-off-by: Praise <praise@PraisedeMac-mini.local> * chore(design): refresh inventory after merging Cindy Make UI Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(desktop): align Cindy Make tests and billing copy after main merge Signed-off-by: Praise <praise@PraisedeMac-mini.local> * fix(i18n): avoid banned Credits wording in billing comparison copy Signed-off-by: Praise <praise@PraisedeMac-mini.local> --------- Signed-off-by: PraiseZhu <zhuzan@xd.com> Signed-off-by: Praise <praise@PraisedeMac-mini.local> Co-authored-by: Praise <praise@PraisedeMac-mini.local> | 2 months ago | |
feat(desktop): enable Beta channel on Linux ARM64 Signed-off-by: guyong <guyong@xd.com> | 26 days ago | |
fix(providers): 恢复添加向导中连接已有 llama.cpp 服务的入口 (#5499) * fix(providers): 恢复添加向导中连接已有 llama.cpp 服务的入口 目录中的 llamacpp 预设重新进入「检测到本机服务」/「更多本机服务」分组, 点击后走普通预设连接流程(可改地址、拉取模型并保存为独立连接), 不再被重定向到 Cindy 托管的 llama.cpp。托管入口保持原有行为。 Fixes #5494 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(providers): 默认地址相同的运行时跟随已编辑地址并更新维护文档 本机服务预设(如 llama.cpp)的 Codex 与 Pi 默认指向同一地址,只改其中一个时 另一个仍停在默认端口。未单独编辑的运行时现在跟随默认地址相同且已编辑的运行时。 同步更新 model-catalog-maintenance.md 中 llama.cpp 两个入口的说明。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 1 month ago | |
fix(local-agent): 保留可用远程模型并支持远程可见任务 Signed-off-by: DavidShen <david@xd.com> | 28 days ago | |
feat(models): 补齐大内存本地候选并更新推荐证据 (#5039) * feat(models): 补齐大内存本地候选并更新推荐证据 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(models): 补齐 NVFP4 与 Q4 包装格式标记 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 2 months ago | |
refactor(vision): remove Vision Bridge across Desktop and Host Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com> | 8 days ago | |
feat(mcp-apps): support declared initial card heights Plugin resources may provide a bounded placeholder height. New viewers keep the measured value local to the viewing device and continue to adopt the actual size after readiness. Assisted-by: Cindy (https://cindy.app) Signed-off-by: fmfsaisai <fmfsaisai@gmail.com> | 4 days ago | |
fix(models): preserve model metadata and show gateway effort availability (#4053) Signed-off-by: zqchris <chrisz83@gmail.com> | 2 months ago | |
feat(models): 新增 Google Gemini 4 Argon 模型资料与两段参考价 (#6007) 依据 Gemini API 官方模型页、思考与价格页(2026-10-14 核验),随包 Registry 同步 xindong/cindy-server 正本: - 公共型号 google/gemini-4-argon(alias gemini-4-argon):1,048,576 上下文、文字/图片输入, low / medium / high 三档,官方默认 medium;最大输出登记默认同步上限 65,536, long decode 的 1,048,576 需单独启用,不作为默认。 - global 官方 Standard 参考价分两段:2026-10-13 起 USD 2 / 10 / 缓存读 0.1, 2026-12-01 起 USD 4 / 20 / 缓存读 0.2,沿用既有生效日期区间;仅隐式缓存,缓存写价未知。 - 与 Gemini 3.8 Flash 相同,只登记公共型号、不加 XD route:无匹配 route 时按公共 ID / alias 回落,Gateway 以 google/gemini-4-argon 或裸 gemini-4-argon 上架,三个引擎都得到同一份资料。 revision 2026-10-14T00:00:00.000Z,与 Server 正本同内容。成员仍以 Gateway /models 与 各连接的模型发现为准;Google 预设推荐清单与 Pi 上游生成目录未改。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 1 month ago | |
fix(models): 同步已核实的模型参考价格 (#4921) * fix(models): 同步已核实的模型参考价格 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(models): 关联 Muse 参考价格组 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 2 months ago | |
fix(desktop): 修复 ChatGPT 订阅图片通道的宿主模型依赖 (#6103) * fix(desktop): 修复 ChatGPT 订阅图片生成的宿主模型依赖 Signed-off-by: nana <823073145@qq.com> * test(desktop): 补齐订阅图片通道白盒边界验证 Signed-off-by: nana <823073145@qq.com> --------- Signed-off-by: nana <823073145@qq.com> Co-authored-by: nana <823073145@qq.com> | 1 month ago | |
docs: fix dangling internal links and widen the link gate (#1502) * docs: fix dangling internal links and widen the link gate `docs/legal/README.md` and `docs/README.md` still linked the two WeChat compliance records that 1260b7c4 ("chore(docs): remove wechat related documents") deleted, and `openai-chat-dual-channel-plan.md` pointed at two files that never existed in this repository's history. - `docs/legal/README.md`: drop the now-empty "人工维护的合规记录" section. - `docs/README.md`: drop the index row for the deleted record. - `openai-chat-dual-channel-plan.md`: `subscription-bridge.md` has no successor doc, so reference `packages/anthropic-responses-bridge` (whose description covers exactly that Anthropic Messages -> OpenAI Responses bridge) instead; repoint `configuration-design-principles.md` to its successor `dev-rules/configuration-and-overrides.md`, which owns the override / restore-default semantics the sentence relies on. The existing "developer documentation links resolve" test only covered CONTRIBUTING plus three canonical docs, so none of these were caught. Widen it to AGENTS.md, both CONTRIBUTING files and every markdown file under `docs/` (5 -> 47 documents). Extending the coverage requires ignoring code, because design-rules/DESIGN.md demonstrates markdown link syntax inline (`[x](y)`). `stripCodeSpans` removes fenced blocks before inline spans (fences contain backticks, so the reverse order eats the fence itself). Links written as [`foo.md`](./foo.md) keep working: stripping leaves [](./foo.md) and the target is still inside the parentheses. Note: the WeChat connector itself still ships (`packages/wechat-ilink`); this change only removes references to files that are already gone. Whether those compliance records should be restored is a maintainer/legal call, not part of this change. Verification: - `node --test scripts/__tests__/dev-docs-contract.test.mjs` -> 6/6 pass. - Negative check: re-adding one dangling link fails the widened test with `broken local link in docs/legal/README.md: ./wechat-open-sdk-compliance.md`; reverting it goes back to green. - `pnpm test:unit` -> 56 workspaces PASS, 0 FAIL. - No package with a `typecheck` script is touched (docs plus the root `scripts/` test), so the per-package typecheck step is a no-op. Signed-off-by: Zymonody7 <2196905367@qq.com> * test(docs-contract): strip indented fences and multi-backtick code spans Review follow-up (Greptile): `stripCodeSpans` only recognised fences at column 0 and single-backtick inline spans, and both forms already exist in the docs it now checks: - indented fences (inside list items) — `docs/design-rules/DESIGN.md:435` and `docs/dev-rules/pi-remaining-work.md:27`; - a multi-backtick span whose content itself contains backticks — `docs/product-rules/task-and-conversation-naming.md:390` (`` `${n} 个会话` ``). Neither currently holds markdown-link syntax, so the gate passes either way. The risk is latent: adding a link example inside one of them would fail the gate on something that is not a link. - Fences now allow leading whitespace on both the opener and the closer. - Inline spans pair on equal-length backtick runs, so a span containing backticks is removed whole. Deliberately does not cross newlines — a stray backtick must not silently disable link checking for the rest of the file. Verification: - `node --test scripts/__tests__/dev-docs-contract.test.mjs` -> 6/6 pass (unchanged across all 47 documents). - Behaviour spot-checks on the stripper: links inside an indented fence, inside a single-backtick span, and inside a multi-backtick span are all dropped, while a plain link and [`foo.md`](./foo.md) both survive. - Negative check still holds: re-adding a dangling link fails with `broken local link in docs/legal/README.md: ./wechat-open-sdk-compliance.md`. - `pnpm test:unit` -> 56 workspaces PASS, 0 FAIL. Signed-off-by: Zymonody7 <2196905367@qq.com> --------- Signed-off-by: Zymonody7 <2196905367@qq.com> | 3 months ago | |
docs(dev-rules): 协议兼容拆成必读规则页与每项能力一份记录 protocol-compatibility.md 已长到 555 KB、194 节:文档抬头落在第 1290 行, §1 的规则被挤到无关小节下面,Review 清单在第 3967 行。每个协议改动都要求 先读它,但没有 Agent 能读完;新记录又都往同一处插,近 30 天 453 次提交改这 一个文件,彼此反复冲突。 - 原页只留对所有跨端改动都成立的规则(事实来源、§1–§3、自建中转同步维护、 Review 清单),10 KB;新增一节说明检索与新增记录的做法。 - 205 项能力记录各占 protocol-compatibility/ 下一个文件,正文逐行保留,只 提升标题层级并修正相对链接;11 个挂在无关章节下的小节独立成篇。 - 7 处「上一节/见下文」改为指向具体文件;其他文档里 29 处按章节名或锚点 的引用改指新文件。 - dev-docs 契约新增一条:规则页不超过 16 KB、记录一文件一标题,防止再次堆回。 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 15 days ago | |
fix(pi): 排队子代理并发审批,避免先到的请求被覆盖 (#4694) durable runner 每个 child 只维护一个 pendingApproval 槽。同一轮并行工具调用的审批 (bash 的 turn-change-capture confirm 等)先后到达时,后一个直接覆盖前一个且不补 应答;Host 只见过最后一个 id,子进程却卡在第一个 confirm 上永久等待——进程零 CPU、 transcript 不再写入、runner 心跳仍报 running,用户只能手动停止。 改为按 child 维护 FIFO 的 pendingApprovals 队列: - 状态投影仍只发布队首,pendingApproval 字段、状态 schema 与 Host / 前台消费者 全部不变; - 审批控制按 id 在整个队列中匹配:多写者(共享 userData 的另一实例、与上一次应答 竞争的状态读取)应答的非队首 id 不再被丢弃;已应答 id 出队,重放仍按 approval-unavailable 拒绝; - stop / terminate / child 退出清空整个队列;重复 id 只刷新载荷,不重复投递。 单槽覆盖的实证(2026-09-18 本机):挂住的 5 个 run 全部有且仅有一个未应答审批, 且与一个永远没有 tool_execution_end 的 bash 调用一一对应;跑完的 run 审批全配平。 回归用例(旧实现下首条按预期变红): - 两个并发审批都被转发并按序出队,运行正常完成; - 非队首 id 的应答被接受而不是丢弃。 验证:packages/maker-core tsc --noEmit;pnpm test:unit:related(带系统 bsdtar, test:runner 545 通过 + maker-core / desktop / orca-workflow / lizi-mcps 全绿)。 Signed-off-by: Zhang Yunjin <zhangyunjin@zju.edu.cn> | 2 months ago | |
feat(plugin): 展示市场处理原因并按变更标记刷新提醒 接入作者变更标记与兼容归档事件,复用未变化的完整结果, 统一市场及审核提醒,并在详情可见且足够新时标记市场结果已读。 需要服务端先在两个生产区域发布 changes 接口,不提供 404 回退。 Signed-off-by: liugaowei <liugaowei@xd.com> | 27 days ago | |
fix(plugin): 统一插件任务与普通任务的权限判断 Signed-off-by: liugaowei <liugaowei@xd.com> | 28 days ago | |
docs(plugins): 修复反馈预览的返回焦点和窄屏换行 Signed-off-by: Rainy-Today <328414967+Rainy-Today@users.noreply.github.com> | 6 days ago | |
fix(plugins): 解除自配模型的官方网关前置拦截 沿用 #7730 的能力调用时就绪判断,保留凭证同步窗口和自配供应商的错误语义。适配当前主干的内置 Skill 版本记录机制,并补充无网关时的设置评估与模型选择回归验证。 Refs #7730, #7581 Signed-off-by: liugaowei <liugaowei@xd.com> | 9 days ago | |
feat(plugin): 收敛鉴权票据上传并补齐伙伴执行收据 Signed-off-by: Leng Jingxu <lengjingxu@users.noreply.github.com> | 27 days ago | |
feat(plugin): 收敛鉴权票据上传并补齐伙伴执行收据 Signed-off-by: Leng Jingxu <lengjingxu@users.noreply.github.com> | 27 days ago | |
merge: 同步主干并衔接调用统计迁移 保留主干 0131,由 Drizzle 重新生成调用来源列迁移 0132。 保留目标投递的 INVALID_INVOCATION 错误码,并补齐公开管子入口的回归测试。 Signed-off-by: liugaowei <liugaowei@xd.com> | 1 month ago | |
docs(plugins): 整理统计功能交付说明与真实验收截图 Signed-off-by: nana <823073145@qq.com> | 1 month ago | |
Merge main into fix/dev-deep-link-registration Preserve upstream window-focus coverage alongside the unpackaged protocol-registration regression tests. Signed-off-by: Zhao Dengfeng <2370187+zhaodengfeng@users.noreply.github.com> | 26 days ago | |
fix(desktop): 新增供应商时自动初始化 Pi runtime (#2509) * fix(desktop): initialize Pi runtime for new providers Signed-off-by: nana <823073145@qq.com> * fix(desktop): preserve omitted Pi runtime selection Signed-off-by: nana <823073145@qq.com> --------- Signed-off-by: nana <823073145@qq.com> Co-authored-by: nana <823073145@qq.com> | 3 months ago | |
fix(provider-share): recover expired gaps and release denied reservations Signed-off-by: zqchris <chrisz83@gmail.com> | 28 days ago | |
fix(provider-share): preserve newer live availability during refresh Signed-off-by: MagicLizi <jiali@magiclizi.com> | 20 days ago | |
refactor(vision): remove Vision Bridge across Desktop and Host Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com> | 8 days ago | |
test(remote-desktop): cover native credential failure propagation Native receive throws fixed CREDENTIAL_* failures instead of returning them in authentication JSON. Remove the unreachable JSON failure branch and assert the real exception path and user-facing error key through ensure. Assisted-by: Cindy (https://cindy.app) Signed-off-by: WZBbiao <16611004+WZBbiao@users.noreply.github.com> | 16 days ago | |
feat(remote-desktop): 手机记住桌面分辨率,切换分辨率不重建视频 (#5393) * feat(remote-desktop): 手机记住桌面分辨率,切换分辨率不重建视频 - 手机按电脑和显示器记住上次选的系统分辨率或「适配此屏幕」尺寸,下次连接在第一帧前恢复; 选回电脑原分辨率或恢复原始比例时清除记忆。 - 被控端新增可选能力 liveDisplaySwitch:切换显示时请求带 keepVideo,原生画布截屏保留同一条 视频连接,响应带 videoKept;手机只更新画面布局,不再重新协商视频。回执缺失时按原流程重建。 - 切分辨率不再重复读取模式列表,并在切换的同时预取 ICE 配置。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(remote-desktop): 只有截屏页确认原生流仍在时才回报已保留视频 - 切换显示前通知截屏页 display-hold,暂停“5 秒无新帧即停流”,慢的虚拟显示创建(最长约 8 秒) 不再把视频停掉。 - 切换后 display-swap 改为请求-回复:截屏页确认当前确实是原生截屏且视频轨道仍在才回 true。 浏览器截屏(未声明鼠标叠加时的 macOS/Windows 默认路径)、流已结束或确认超时都回 false, 主进程按原流程拆掉重建,手机也跟着重建,不会停在旧显示器上。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * test(mobile): 远程桌面分辨率记忆测试改用内存 AsyncStorage Node >= 25 默认的 webstorage 全局是缺方法的 stub,会顶掉 jsdom 的 localStorage, 新增测试依赖 AsyncStorage 网页 fallback 时在 Node 25 下必挂。按 apps/mobile 惯例 vi.mock 成内存实现,不再依赖运行环境的 localStorage。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 记住的适配分辨率只在同一窗口尺寸下提前套用 连接前还量不到画面区域,原先只比较横竖方向就复用旧的适配尺寸;折叠屏展开、 分屏或窗口改变尺寸但方向不变时会套用过期的比例。记忆里额外保存适配时的 App 窗口尺寸,只有窗口完全一致才在首帧前套用,否则走首帧后重新测量的路径。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 记住适配时请求的尺寸,而不是宿主返回的逻辑尺寸 HiDPI 宿主可能用同比例更小的逻辑模式回应 viewerDisplay 请求(带 viewerDisplayRequest 回执)。若把实际尺寸写入记忆,每次重连都会按更小的尺寸 再请求一次,画面越来越小。改为记住请求尺寸,实际尺寸只用于当前画面几何。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 提前套用记住的分辨率失败时不再中断连接 提前套用是连接前的可选步骤,原先失败就把错误抛给 connect,拆掉整个会话, 绕过了 controlFailure.ts 的分类(控制被抢应降为只看、结果未知应交给下次尝试)。 现在失败时保持当前分辨率继续连接,由首帧后的路径再套用;只有租约已结束 (DESKTOP_LEASE_EXPIRED / DESKTOP_STOPPED),或显示器切换请求本身回复丢失 (几何未知,与手动切换一致)才重建。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> * fix(mobile): 记住的分辨率切换失败后重建连接,且不再反复重试 显示器切换请求一旦发出,宿主在切换中出错会自行结束租约;此前只把超时和 明确的租约结束当作需要重建,其余错误继续用旧租约连接,随后在 offer/control 阶段失败。现在只有宿主改动前就拒绝的 DESKTOP_VIEW_ONLY / DESKTOP_DISPLAY_BUSY / DESKTOP_INPUT_BUSY 继续连接,其余一律重建。 提前套用或首帧后套用失败并重建后,本屏不再重试记住的选择,避免持续故障时 新租约反复触发重连。 Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> --------- Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 1 month ago | |
feat(desktop): support cloud instances Let an account own Cindy running in a container, operated by an external cloud instance service, and manage it from the desktop client. Client: claim, sleep, wake and update instances in Settings > Remote connections, sign them in from a separate window, and edit their settings with the local settings components. Runtime: identity and login recovery, status reporting, and the settings service and private channels an instance serves to its owner. Everything is behind the optional endpoint field cloudInstanceApiBaseUrl. Without it no cloud IPC, window bridge, listener, window or request exists. With it, startup never contacts the service; an unreachable or refusing service only hides the entry points. See docs/cloud-instances.md. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Sirius <sirius@xd.com> | 2 days ago | |
docs(plugins): 补充远程管理契约与验收证据 Signed-off-by: nana <823073145@qq.com> | 1 month ago | |
feat(plugin): 插件 OAuth 支持设备码登录(RFC 8628) 声明式 OAuth 新增可选 oauth.deviceAuthorizationUrl:声明后宿主改走设备码登录, 申请验证码、拉起确认页(远程经 authorizationV1 交控制端展示),按服务商间隔 轮询 tokenUrl;令牌保管、刷新与注入沿用授权码模式。未声明的存量插件归一化 清单、权限投影与运行路径不变。 Signed-off-by: Lizi <jiali@magiclizi.com> | 1 day ago | |
Merge main and preserve rich answer block scoping docs Signed-off-by: liuliuyao <y11iu66666@gmail.com> | 27 days ago | |
feat(agent-net): complete relay sharing and account isolation Include relay sharing dialogs, global approvals, same-account discovery and joins, V2 tenant isolation, and guest sharing recovery and error fixes. Verify Agent-Net remains disabled by default for new installations and upgrades without an explicit preference. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Lizi <jiali@magiclizi.com> | 15 days ago | |
feat(skillhub): 按企业部门策略自动安装技能 (#4815) * feat(skillhub): install organization skills by department policy Signed-off-by: qianbo <qianbo@xindong.com> * fix(skillhub): bound department sync and honor cancellation Signed-off-by: qianbo <qianbo@xindong.com> * fix(desktop): stabilize OAuth cleanup and test fixtures Signed-off-by: qianbo <qianbo@xindong.com> --------- Signed-off-by: qianbo <qianbo@xindong.com> Co-authored-by: qianbo <qianbo@xindong.com> | 2 months ago | |
fix(providers): restore explicit Fast updates and save feedback Signed-off-by: yan <yan233@xd.com> | 1 month ago | |
fix(desktop): 移除供应商组详情页标题下的细线 Remove the duplicate local account Fast card from provider group management so it no longer collapses into a line below the title. Keep the group Fast control and the account control in provider settings. Preserve same-account remote account management in a non-shrinking card, with local/remote Light/Dark regression scenes and browser hit testing for the remote account control. Assisted-by: Cindy (https://cindy.app) Signed-off-by: Lizi <jiali@magiclizi.com> | 14 days ago | |
feat(ios): 伙伴推送显示头像和名字 (#5268) * feat(ios): add teammate identity to communication notifications Signed-off-by: zqchris <chrisz83@gmail.com> * test(notifications): cover teammate avatars in session previews Signed-off-by: zqchris <chrisz83@gmail.com> * fix(notifications): load sharp through a static import Signed-off-by: zqchris <chrisz83@gmail.com> --------- Signed-off-by: zqchris <chrisz83@gmail.com> | 1 month ago | |
fix(desktop): 迁移前说明 Claude Code 上层技能发现 Signed-off-by: nana <823073145@qq.com> | 21 hours ago | |
fix(desktop): 隔离桌面活动埋点并按整秒上报停留时长 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 1 day ago | |
merge: reconcile vision bridge removal with main Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com> | 8 days ago | |
perf(voice): 优化桌面语音采集、停顿润色与确认收尾 (#5089) * perf(voice): 优化桌面语音采集、停顿润色与确认收尾 Signed-off-by: Dash <dash@DashdeMac-Studio.local> * fix(voice): 移除静音与提前发送实验路径并同步设计台账 Signed-off-by: Dash <dash@DashdeMac-Studio.local> --------- Signed-off-by: Dash <dash@DashdeMac-Studio.local> Co-authored-by: Dash <dash@DashdeMac-Studio.local> | 1 month ago | |
perf(voice): 优化桌面语音采集、停顿润色与确认收尾 (#5089) * perf(voice): 优化桌面语音采集、停顿润色与确认收尾 Signed-off-by: Dash <dash@DashdeMac-Studio.local> * fix(voice): 移除静音与提前发送实验路径并同步设计台账 Signed-off-by: Dash <dash@DashdeMac-Studio.local> --------- Signed-off-by: Dash <dash@DashdeMac-Studio.local> Co-authored-by: Dash <dash@DashdeMac-Studio.local> | 1 month ago | |
perf(voice): 开始提示音与系统静音改到麦克风打开之后 开始提示音和系统静音都要动扬声器,原先与开麦同时发起。显示器音频闲置约 30 秒后再录音,麦克风要排在扬声器之后才打开:engine_ready 约 520ms, 真正录到声音约 1.05 秒。 现在等麦克风保留首帧 PCM 后再播提示音、做系统静音,最多等 300ms;取消或 启动失败时立即放行。聊天框、全局浮窗、提问卡三个入口一致。隔离开发版实测 闲置后 engine_ready 101-130ms,真正录到声音约 0.59 秒。 新增 first_nonsilent_pcm 与 start_cue_released 两个启动计时点:麦克风返回 流之后硬件还要约 0.5 秒才给出真实采样,first_pcm 不代表已经在收音。 Assisted-by: Cindy (https://cindy.app) Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com> | 15 days ago | |
perf(voice): 优化桌面语音采集、停顿润色与确认收尾 (#5089) * perf(voice): 优化桌面语音采集、停顿润色与确认收尾 Signed-off-by: Dash <dash@DashdeMac-Studio.local> * fix(voice): 移除静音与提前发送实验路径并同步设计台账 Signed-off-by: Dash <dash@DashdeMac-Studio.local> --------- Signed-off-by: Dash <dash@DashdeMac-Studio.local> Co-authored-by: Dash <dash@DashdeMac-Studio.local> | 1 month ago | |
perf(desktop): 壁纸资源改为按需下载并跨升级复用缓存 (#6099) * perf(desktop): 壁纸资源改为按需下载并跨升级复用缓存 Signed-off-by: DavidShen <david@xd.com> * ci: retrigger CodeQL after upstream action download failure Signed-off-by: DavidShen <david@xd.com> --------- Signed-off-by: DavidShen <david@xd.com> | 1 month ago | |
feat(diagnostics): add privacy-safe working directory tracing Signed-off-by: Lizi <jiali@magiclizi.com> | 2 months ago |
Docs 规范索引
本索引用于发现 docs/ 下仍保留的产品规则、设计规则、开发规则、运维与合规文档。
状态含义:authoritative = 权威、对治理模块有约束力;参考 = 设计 / 记录 / spike,非约束、仅供背景参考(不区分是否完成,要看正文)。
| 文档 | 类型 | 状态 | 治理/相关代码 | owner |
|---|---|---|---|---|
| README.md | 索引 | — | docs/ 文档目录 |
— |
| product-rules/README.md | 产品规则索引 | authoritative | Cindy 产品行为、体验与边界 | — |
| core-product-principles.md | 产品原则 | authoritative | Cindy Core、Agent、Skill、插件与多端产品边界 | — |
| im-message-presentation.md | 产品契约 | authoritative | IM 入站上下文、快照计数与 App 完成提醒 | — |
| goal-mode.md | 产品契约 | authoritative | 目标运行中的补充消息、停止与手机 /goal |
— |
| design-rules/README.md | 设计规则索引 | authoritative | Cindy UI 视觉、交互与内容设计 | — |
| design-rules/DESIGN.md | 设计规范 | authoritative | Desktop 与 Mobile 的视觉语言、Token、组件和交互约定 | — |
| dev-rules/README.md | 开发规则索引 | authoritative | Cindy 客户端工程规则 | — |
| DSH harness 接入计划 | 接入提案与证据入口 | 参考 | 第四种 Agent 的现状、F0–F11 依赖与验收条件;尚未实现 | — |
| environment-setup.md | 开发环境 | authoritative | 公共依赖、submodule 与首次安装 | — |
| model-catalog-maintenance.md | 模型配置与下发入口 | authoritative | 架构、配置层级、修改位置、代码导航与发布验收 | — |
| model-metadata-precedence.md | 模型资料合同 | authoritative | 继承、用户覆盖、多账号与成员语义 | — |
| local-model-selection.md | 本地模型规则 | authoritative | 包装、硬件、候选和推荐 | — |
| model-registry-v4-media.md | 媒体模型合同 | authoritative | 全类型资料与发布兼容条件 | — |
| model-catalog-runtime.md | 模型运行细则 | authoritative | 窗口、压缩、原生缓存与显示 | — |
| model-catalog.md | 模型配置示例 | 参考 | 可校验的最小配置和维护场景 | — |
| model-catalog-history.md | 模型历史记录 | 参考 | 旧型号取舍与迁移记录,不代表当前发布状态 | — |
| desktop-development.md | Desktop 开发规则 | authoritative | Desktop 启动、重启与验证 | — |
| electron-security-and-process-boundaries.md | Electron 安全规则 | authoritative | Renderer、preload、BrowserWindow、WebView、IPC、CSP 与进程边界 | — |
| credentials-and-local-storage.md | 本地数据安全规则 | authoritative | 凭证、用户持久数据、临时文件与测试目录 | — |
| media-storage-and-protocols.md | 媒体存储规则 | authoritative | Desktop 媒体入库、协议、引用与回收 | — |
| database-and-migrations.md | 数据库规则 | authoritative | Desktop SQLite schema、migration、companion 与运行期访问 | — |
| mobile-development.md | Mobile 开发规则 | authoritative | Mobile 模拟器、验证与专项入口 | — |
| orca-team-architecture.md | 契约/规范 | authoritative | apps/desktop 的 maker-ipc/orca* 服务 + mcp-integrations codex MCP、packages/lizi-mcps 的 orca、packages/orca-workflow、packages/maker-core 的 codex MCP context |
— |
| maker-core-and-agent-behavior.md | maker-core 规则 | authoritative | packages/maker-core 的 Agent 编排、prompt 组装、translator、model 映射、缓存率/性能/准确性指标与 system prompt 门禁 |
— |
| plugin-security-and-authoring.md | 插件安全规则 | authoritative | 插件(.cindy)运行时沙箱、直接能力声明、网络/凭证/资源交接、存量插件向下兼容与无感升级、作者契约与编写手册同步 |
— |
| cindy-updater.md | 更新器规则 | authoritative | 客户端自动更新链路(cindy-updater + Electron 更新服务)的 owner 确认门禁 |
— |
| engineering-conventions.md | 通用工程规范 | authoritative | Desktop 日志、IPC 错误协议、main 侧测试、跨平台双端兼容与 UI 文案 i18n | — |
| log-upload-and-redaction.md | 日志上报规则 | authoritative | 客户端日志采集/脱敏/上报:记录边界不变量、来源白名单方向、标记代次与原子清除、区域绑定与崩溃时序 | — |
| protocol-compatibility.md | 跨端协议规则 | authoritative | 两仓本地协议包、device-link relay 层与 wire protocol 兼容 | — |
| architecture-invariants.md | 架构原则与不变量 | authoritative | 能力与界面解耦、多端事实、用户偏好、main 静态依赖与布局树 | — |
| configuration-and-overrides.md | 配置契约 | authoritative | 配置可见性分层、默认值+override 分离、迁移与恢复默认语义 | — |
| remote-and-mobile-adaptation.md | 远程/手机版门禁 | authoritative | SSH 远程工作区、device-link allowlist、apps/mobile 入口与功能类 PR 三选一门禁 |
— |
| development-workflow.md | 开发工作流 | authoritative | worktree dogfooding 契约、提 PR/直推 main 门禁、Review P0/P1/P2 口径、项目知识归属 | — |
| plugin-setup-runtime.md | 技术设计 | 参考 | ghost_list / ghost_info / ghost_call 插件配置前置检查、Ask-shell Setup 卡片、配置变更回调与原调用恢复 |
— |
| remote-plugin-oauth.md | 客户端契约 | 参考 | 远程设备插件 OAuth 事务、Desktop 回调桥、任务授权指引及兼容边界 | — |
| desktop-login-hosted-callback.md | 跨仓契约 | 参考 | Desktop 系统浏览器登录的托管回调链路:auth-server 路由契约、结果页模板交付、灰度开关与回滚 | — |
| auth-realm-routing.md | 跨仓契约 | 参考 | 组织 SSO 双区域发现、会话区域持久化与 token 消费端点路由 | — |
| client-log-upload-requirements.md | 需求文档 | 参考 | Desktop 客户端日志上报(手动 + 崩溃自动)的目标、数据边界、同意闸与可靠性要求 | — |
| client-log-upload-implementation-plan.md | 实现方案 | 参考 | 上述需求的落地方案:模块布局、四层收窄管道、定位读取与锚点裁剪、标记代次、分期 | — |
| legal/README.md | 法律/合规索引 | authoritative | 法律合规资料归档边界与固定路径例外 | — |
| legal/notices/README.md | 第三方许可/SBOM | generated | pnpm licenses:generate、Desktop/Mobile 随包声明 |
— |