Commit Graph

379 Commits

Author SHA1 Message Date
Lizi
e4bff4be30 Merge pull request #10259 from xuzini-xzn/fix/schedule-owner-scope
fix(scheduler): 修复自动化启动时数据归属快照过期
2026-11-13 04:36:18 +08:00
Kirozeng
ce8f920cce fix(i18n): 英文文案统一 sentence case,高频文案修正并拦截新增违规 (#10026)
* fix(i18n): 英文文案改 sentence case,高频文案修正并拦截新增违规

落实设计规范审核的维护者裁决 B-13、B-14、B-15、B-16(均为 A):

- DESIGN.md §11.2 英文按钮、标题、标签统一 sentence case,写明专有名词、
  产品名、保留英文的术语、缩写与系统界面名称的例外
- 修正 27 条高频英文文案(通用 IPC 错误、插件/Skill 市场通用错误、
  聊天错误横幅、供应商错误 toast、"Pushed successfully"、6 个无宾按钮),
  只改 en 值,不改 key 与其他语言
- check:i18n-glossary 新增 en 写法规则(Please、successfully、直引号、
  无宾 Confirm/OK/Submit),存量 350 条登记进 glossary-baseline,只减不增
- §11 语言数改为引用 SUPPORTED_LOCALES,补 es/fr/de/pt 与文言版的大小写和标点
- 删除已不存在的 Spelunking 示例(§2、§11.1)

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>

* fix(i18n): 英文写法规则支持按 key 豁免格式字面量,并接入手写文案检查

处理 PR #10026 的两条 review:

1. 合法 JSON 示例也被拦截:glossary.json 新增 englishCopyExempt,按规则名分组、
   只收精确 key(拒绝子树前缀与未知规则名),用于必须原样展示的格式字面量。
   插件市场 manifestBody、供应商导入格式说明 5 条、文件名非法字符、终端字体预览、
   SSH host key 修复说明里的 known-hosts.json key 共 9 条从 baseline 移到豁免;
   说明文字改动后不再因摘要失配被判为新增违规。豁免不再命中时根门禁报失效。
2. 手写文案漏检英文违规:新增共享的 auditEnglishCopy,接入原生菜单 / 右键菜单 /
   WebAuthn 影子 catalog、OAuth 结果页、端点清单弹框、Windows 安装器与 mobile
   登录等影子 catalog 的测试;既有问题(OAuth 结果页 2 条、mobile 登录与认证错误
   15 条)在各测试内单独冻结,只减不增。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>

* fix(i18n): 手写文案英文写法存量按命中次数与文案摘要冻结

处理 PR #10026 的 review:auditEnglishCopy 原先只按 key + rule 命中冻结清单,
已冻结的文案再追加同类违规(如给 mobile/loginMessages:invalidEmail 再加一句
Please,please×1 → ×2)会被当存量放行。

- 冻结指纹改为 `key\trule\t命中次数\t文案摘要`,与根门禁 baseline 同口径;
  文案摘要抽成共享的 textDigest,根门禁的 makeViolation 改用同一函数
- 重新生成 OAuth 结果页(2 条)与 mobile 登录 / 认证错误(15 条)的冻结清单
- 补测试覆盖评审给出的例子:追加 Please 后报 please×2 为新增,旧指纹判为失效

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>

---------

Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-13 03:19:32 +08:00
xuzini-xzn
12d986df7b fix(scheduler): 保护调度触发和恢复时的账号归属
Signed-off-by: xuzini-xzn <323002959+xuzini-xzn@users.noreply.github.com>
2026-11-13 03:11:58 +08:00
Kirozeng
bf6b8ebf0a Merge upstream main with preflight baseline fixes
Preserve the PR theme, diff, and legacy shadow compatibility repairs while integrating upstream changes including #10066.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Kirozeng <kirozeng@gmail.com>
2026-11-12 12:00:39 +08:00
Lizi
59702e7da2 Merge pull request #10066 from kirozeng/fix/restart-desktop-whoami-macos-test
fix(scripts): 恢复 whoami 共享运行时识别并隔离 personal-build 引擎测试
2026-11-12 10:02:10 +08:00
Kirozeng
0e72e6afad fix(scripts): recognize personal app paths before launch arguments
Accept whitespace after complete process paths so shared and fixed personal runtimes remain attributable when launchers preserve trailing flags.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Kirozeng <kirozeng@gmail.com>
2026-11-12 08:08:21 +08:00
Kirozeng
9cd2ac1bd6 test(scripts): cover personal runtime trailing launch arguments
Regression reproduces shared and fixed runtime attribution failures with whitespace-delimited arguments and rejects similarly named app paths.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Kirozeng <kirozeng@gmail.com>
2026-11-12 08:06:54 +08:00
kirozeng
50e8580132 test(scripts): personal-build 引擎测试不读开发者的 zsh 启动文件
mac-engine.zsh 以非交互 zsh 运行时仍会读取 $ZDOTDIR/.zshenv(默认
~/.zshenv)。开发者在其中把真实 pnpm 所在目录放到 PATH 前面时,测试注入的
pnpm 桩被覆盖,真实 pnpm 对 fixture 锁文件安装失败,表现为
「stage-result: fail install」。与同文件第一条测试一致,把 ZDOTDIR 指向
临时目录,使测试不依赖本机 shell 配置。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: kirozeng <kirozeng@gmail.com>
2026-11-12 07:45:33 +08:00
Dash
adc368a4b3 fix(host): preserve code values in coverage tables
Encode special code values as HTML entities so backslash-pipe pairs cannot split GFM table cells. Keep ordinary code spans and verify the production Markdown through the GFM parser.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 10:54:49 +13:00
Dash
3aae196f8b test(host): key virtual scanner programs by forward-slash paths
On Windows path.join gives backslash names, but TypeScript asks the
compiler host for forward-slash names, so the in-memory contract file was
never found and collectContractChannels received undefined
("Cannot read properties of undefined (reading 'kind')" in the Windows
test runner self-tests). The virtual host now normalises both sides.
Reproduced on macOS with a backslash key: the old helper throws the same
TypeError, the new one resolves the file.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 10:44:33 +13:00
Dash
c2201a0684 fix(host): resolve templated contract channels and fail on unresolved names
The coverage scanner only read literal desktopChannel values, so the eight
browser-backend:* entries that #9991 builds with
Object.entries(HOST_BROWSER_SETTINGS_ACTIONS).map(([action]) => `browser-backend:${action}`)
were silently skipped and listed as B (window-local) although client mode
proxies them to the Host.

- Resolve the key of Object.entries(X)/Object.keys(X) iteration callbacks
  from X's declared properties.
- Any contract-side channel name the scanner cannot resolve now fails
  generation instead of disappearing; the delegation table's
  HOST_CONTRACT_CHANNELS.map((def) => def.desktopChannel) is recognised as a
  pass-through of names already read from the contract file.
- Lift the constant resolver into createConstResolver so tests exercise the
  real code on the real contract file.

Reclassified (B -> contract): browser-backend:get-state, set-kind,
set-use-real-profile, reset, get-health, recover, probe-source-read,
open-extension-store. Contract 67 -> 75, B 361 -> 353, window class
386 -> 378 (registered 372 -> 364). Host work stays 985.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 09:41:29 +13:00
Dash
291a649254 fix(host): normalize scanner paths on Windows and refresh coverage
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 09:17:59 +13:00
Dash
13ad706f87 test(host): 同步通道领域加断言,措辞改为“用户填写的值”
SYNC_LOCAL_DOMAINS 按 A 规则的领域名判定同步通道是否本地读。新增断言:
其中每个领域都必须是某条 A 规则的 reason,并核对设置与账号提示两类同步
通道的判定和文案,领域改名时测试直接失败,不会静默改判。

计划文档同步 1041669c7a 的改判:扫描计入参数默认值后,唯一改判的通道是
git-review:open-file,A(git 与工作树)→ C-两段式(openReviewFile 第 4 个
参数默认值是 shell.openPath)。A 918 → 917,C-两段式 40 → 41,C 87 → 88,
990 不变;巡检 133 个(722 次)不变。两份证据仍是旧格式计数报告,没有重录,
按记录的 kind 读取;唯一同名的 ghosts:workdir-prefs 在两份证据里都没有调用。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 08:51:26 +13:00
Dash
1041669c7a fix(host): 按通道类型计数并扫描参数默认值中的窗口依赖
Preserve invoke/event identity in versioned usage reports and rankings, read legacy reports by their recorded kind, and detect shell.openPath in the real git-review open-file default argument.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 08:45:25 +13:00
kirozeng
d5e31c72c6 fix(desktop): 颜色与主题按规范审核裁决落地
设计规范矛盾审核(基准 6b8468f37c)颜色与主题一组,按 2026-11-11 维护者裁决:

- A-05(B):Classic 的 text-primary-hsl / surface-hover-hsl / text-tertiary-hsl
  改为与 hex 同色(DTCG 源改值后重新生成)。
- A-06(A):聊天输入框占位字默认直接用占位档,不再叠 40% 透明;删除 CINDY 同值覆盖,
  未使用的 chat-placeholder-text 改指占位档(ID 保留)。
- A-07(A):图片预览、文件预览浮签与横幅、worktree 失败提示、计划保存失败、搜索错误、
  转换对话框、语音权限、终端错误改走现有 token;删除 composer-pill 兜底色。
- A-09(A):.diff / .patch 文件在 CodeMirror 预览里按 --diff-* 整行上色;patch 代码块
  与 diff 代码块同款渲染;深色 hljs 增删行改走 token。
- A-15(A):Toast 四色改走状态色 token,撤销豁免并移入归档。
- E-02(B):CINDY Dark sidebar-item-hover 由白 9% 并入墨水阶梯白 6%(#9828 未改此值)。
- E-03(A):计划编辑框不再自设光标,删除 CodeMirror 主题里无效的 caretColor。
- E-05(A):CINDY 主题与冻结数据文件头改为数值看 design-tokens、规则看 DESIGN §15。
- E-12(A):§15.4 改正 HSL_FORMAT_IDS 说法,cindyThemes ③ 补「名单外不得写成 HSL」。
- A-03 / A-04(含 E-16)/ A-14 / A-16(A):DESIGN.md 补登在用彩色、模型名预算渐变、
  shadow-soft-panel 与 warning-accent 根 token;删除未使用的 shadow-chip-raised。

Signed-off-by: kirozeng <kirozeng@gmail.com>
Assisted-by: Cindy (https://cindy.app)
2026-11-11 23:47:24 +08:00
Dash
542a420b18 docs(host): 登录首帧提示的同步通道归 S·本地
auth:has-persisted-session-hint-sync 只同步读 profile 目录里有没有存量会话标记,
用来在第一帧之前决定是否启用亮色门;这时事件流还没连上,Host 推的镜像赶不上,
同一台电脑上窗口读同一份 profile 就能回答。登录状态本身仍以 Host 为准。
“账号与凭据”加回本地读取的领域:S·本地 8、S·镜像 6(全是 ghosts:*),
要 Host 做的总数不变。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:41:36 +13:00
Dash
8599e2d25d docs(host): 清单单列同步与回执通道,C 类按处理方式细分,给出要 Host 做的总数
- S 同步通道(AST 识别给 event.returnValue 赋值的处理函数,14 个)从 A 中单列:
  S·本地 7(界面设置,窗口本地读 profile)、S·镜像 7(6 个 ghosts:* 与登录提示,
  数据归 Host,需窗口缓存镜像或改界面为异步,放进插件那一小批单独设计)。
- R 回执通道 6 个(model-favorites:host-*、setup-migration:host-*、
  app-preferences:reply):主进程向界面要数据,先标出、不排期。
- C 按审查定的四种细分:C-后台 32、C-两段式 39、C-窗口本地 11、C-专项设计 4。
- update-relaunch:* 归 A 的“升级与交接”领域,注明归交接任务。
- 总口径:真正要 Host 做的 = A + C-后台 + C-两段式 = 918 + 32 + 39 = 989,巡检实际
  调用 133 个;窗口类 385 个中客户端模式已注册 371、未注册 12。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:23:52 +13:00
Dash
09a161d11c docs(host): 清单区分窗口本地设置与客户端模式下未注册的窗口通道
- update-relaunch:blocking-* 问的是“重启会打断哪些任务”,是 Host 持有的运行状态,
  从窗口类移到 A,并在计划里记为归升级与交接流程的剩余项。
- 新增 W 类“窗口本地设置(含同步通道)”:侧栏设置与项目顺序,以及给
  event.returnValue 赋值的同步通道(属于设置、账号提示或未登记前缀)。同步通道走
  异步 HTTP 只会阻塞主进程,由窗口本地读同一份 profile;其它后台领域的同步读取仍是
  A,注明需 Host 预取后本地回放。
- 给出三个数:窗口类且客户端模式已注册 361、未注册 12(电脑控制与浏览器,未实现)、
  真正要 Host 接的 A 930。
- 生成的清单只写文件不写行号(行号留在 --json),避免一合并就过期。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:03:02 +13:00
Dash
207294ccd9 fix(scripts): CINDY_HOST_API 只在隔离沙箱的重启里生效
CINDY_HOST_API 是让桌面离开普通模式的唯一开关。restart 脚本此前把调用方环境整体
传给子进程(spawn 路径)或经白名单转发(Terminal 路径),带着它的环境(例如客户端
模式窗口自己的子进程)会让共享或正式 profile 以客户端模式启动,或在没有令牌时启动
即失败。现在仿照 --mock / --isolated-auth:只有本次调用是隔离沙箱时保留,否则从
process.env 删除并打印一行;复用的 Terminal 里残留的值照常 unset。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:03:01 +13:00
Dash
462c16045f docs(host): 通道清单按 A/B/C 归属分类并核对 B 类在客户端模式的行为
清单脚本给每个未代理通道标归属:A 必须由后台处理、B 永久留在窗口、C 待定(写明
原因)。判定写在脚本的 OWNERSHIP_RULES(通道名/注册模块)里,再加依赖判定:处理
函数及其调用的两层桌面函数用到窗口 API 时,后台领域改判 C;发送方校验与发给单个
窗口的推送不计。结果:A 941、B 363、C 87;夹具巡检实际调用 A 144 个(782 次)。

调用计数报告附带写入时的主进程处理者快照(仅源码运行且设了 CINDY_IPC_USAGE_FILE),
对照客户端模式登录页与普通模式巡检两份快照:B 类 347 个窗口本地照常处理,14 个在
客户端模式被误拒(电脑控制与浏览器状态等),只记录、不改行为。巡检脚本改为按无查询
参数的地址识别主窗口。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:54:28 +13:00
Dash
664d86d4bd docs(host): 生成桌面 IPC 通道的 Host 覆盖清单与真实使用排行
scripts/host-channel-coverage.mjs 用 TypeScript 类型检查器解析桌面主进程全部
ipcMain 注册(含常量、模板、循环与包装函数),按“已在合同 / 客户端自有 /
只属于窗口 / Host 还没接”分类,生成 docs/host/channel-coverage.md。
host-client-usage-tour.mjs 在隔离 --mock 沙箱里走一遍界面夹具,调用计数存为
docs/host/evidence/channel-usage-mock-tour.json,清单按它给未接通道排序。

当前:1454 个通道,合同 61、窗口 362、Host 未接 1029;夹具巡检实际调用 253 个,
其中 150 个 Host 还没接。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:06:34 +13:00
DavidShenXD
ad9d36702f fix(desktop): 保持菜单栏图标位置并支持桌面目标操作 (#9919)
* fix(desktop): preserve menu bar placement and support desktop pointer targets

Embed a stable AppKit preference identity in native menu bar helpers,
with isolated development profile identities and metadata-aware caching.
Expose explicit capture-bound desktop click and drag through Computer Use
while preserving window targeting, input serialization and user protection.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>

* fix(desktop): invalidate desktop captures after local input

Record the start of each desktop capture and verify system idle time before
queueing and dispatch. Reject local HID input after capture even once the
user is no longer active, including input during capture and unknown timing.

Add production-dispatch regression coverage for stale click and drag,
slow captures, and unknown idle state.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>

* fix(desktop): clean up generated desktop captures

Release host-owned desktop screenshots on replacement, failure, cancellation and session cleanup while preserving explicit exports and concurrent reads.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>

---------

Signed-off-by: David <david@DaviddeMacBook-Air.local>
Co-authored-by: David <david@DaviddeMacBook-Air.local>
2026-11-11 20:02:51 +08:00
Dash
d3583be9ce merge: 同步 main,版本基数跟进到 101
主干上其他 PR 仍按旧写法把 BUILT_IN_SKILLS_BUNDLE_VERSION 加到了 101,与本分支
BUILT_IN_SKILLS_BUNDLE_VERSION_BASE 所在的行冲突。保留本分支的"基数 + 记录文件数"写法,
删去旧式常量行,基数调到主干当时的 101(只调高);_versions/ 里保留本 PR 的那一条记录,
合入后版本号为 102。主干对内置技能内容的改动原样保留。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 23:29:03 +13:00
Lizi
581690505e Merge pull request #9761 from makecindy/cindy/optimistic-hertz
fix(desktop): 修复项目选择器滚轮重复滚动及验收工具落点
2026-11-11 16:23:06 +08:00
Dash
eb148eebe8 fix(skills): 内置技能版本号改为基数加记录文件数,不再让每个 PR 改同一个整数
随包技能字节一变就要把 `BUILT_IN_SKILLS_BUNDLE_VERSION` 加一:近 30 天改了 94 次,
任意两个改内置技能的 PR 都在这一行冲突(2026-11-11 有 10 个未合并 PR 卡在这里),
先合入一个,其余每个都要再手动加一次。

- 版本号 = `BUILT_IN_SKILLS_BUNDLE_VERSION_BASE`(96,此后不变)+
  `resources/system-skills/_versions/` 下的 `*.md` 记录数。改动随包技能时新增一个
  记录文件,不再写同一行;两个来源合成后的版本号自动高于任一来源。
- 运行时从随包目录读取版本(`readBuiltInSkillsBundleVersion`)。缺少记录目录或为空时
  拒绝准备并记日志,不当作低版本:猜低会把本包判成不比已安装的新,悄悄保留旧字节。
- `pnpm check:built-in-skills` 对历史上的两种写法都能算出版本;版本倒退、同版本不同
  字节照旧阻断;合并时保留了旧式常量行会阻断。
- 发布打包在产物里核对记录数与源码一致。
- 本次变更自身是第一条记录,版本 97。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 18:18:34 +13:00
Dash
be21e30d5c Merge origin/main into docs/protocol-compatibility-split
protocol-compatibility.md 冲突:必读页保持本分支版本,主干对该文档的改动落到记录文件:

- 新增「远程连接拓扑的本机链路快照」→ device-link-peer-links-snapshot.md(正文与主干逐字一致)。
- 「自建中转服务」章节新增三个小节(agent-net 数据报转发、连接号轮换、独立 Agent-Net V2 与 Desktop 兼容接线)→ self-hosted-relay.md,位置在互通验证说明之后、同步维护指针之前,与原文一致;相对链接补 ../,「按本节下方的同步维护要求」拆分后无处可指,改为指向必读页「自建中转同步维护」的链接。

只改排列与引用,不改规则内容。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 08:45:55 +13:00
Dash
825e7c6611 Merge origin/main into docs/protocol-compatibility-split
protocol-compatibility.md 冲突:必读页保持本分支版本,主干对该文档的改动落到记录文件:

- 新增「伙伴后台任务(委派)退役」→ teammate-background-task-delegation-retirement.md
- 新增「伙伴 V1 其余远程入口退役(2026-11-08)」→ teammate-v1-remote-entry-retirement.md
  两节正文与主干一致,仅相对链接按记录目录补 ../。
- 已有章节内的 11 处追加/改写,逐处应用到对应记录:
  schedule-and-routine-plugin-precheck、teammate-settings-management-action、
  delegated-and-automation-completion-notification、cloud-teammate-switch-primary-computer(2 处)、
  cross-computer-task-action-receipt(3 处)、teammate-follow-up-invitation、
  teammate-roster-follow-up-task-link、desktop-teammate-source-filter、owner-request-cross-task-continuity。
  其中「见下节」「见上文」「见「…」」拆分后无处可指,改为指向对应记录的链接。

docs/product-rules/cindy-bots-runtime.md、message-source.md 与主干内容冲突:取主干版本,再套回本 PR 各自唯一的一处引用更新(指向新记录)。

只改排列与引用,不改规则内容。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 08:08:04 +13:00
Lizi
0f481ec42b Merge main into Agent-Net delivery
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-11-11 02:03:39 +08:00
Lizi
01c41cc4c7 merge: integrate current main for Agent-Net delivery
Resolve desktop and Node Host module extraction, preserve scheduler provider-group bootstrapping and both notification lifecycles, and register encrypted-only settings in search.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-11-10 22:53:46 +08:00
Lizi
ed48ee70a3 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>
2026-11-10 22:48:58 +08:00
Dash
9489031b25 Merge remote-tracking branch 'origin/main' into cindy/amazing-jang 2026-11-11 02:40:52 +13:00
Dash
e57d1d7708 Merge origin/main into docs/protocol-compatibility-split
protocol-compatibility.md 冲突:必读页保持本分支版本,主干对该文档的两处改动落到记录文件(来自 7bef3b345b,#9672):

- 新增一节「手机群内执行与停止范围」→ 新记录 bot-group-mobile-execution-and-stop-scope.md,正文与主干逐字一致,标题提升一级并加回链行。
- 「群聊」节里一句话改动 → 应用到 bot-group-single-speaker.md;其中「见本文「…」」拆分后无处可指,改为指向新记录的链接,其余文字与主干一致。

只改排列与引用,不改规则内容。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 02:26:44 +13:00
nanaco
7bef3b345b fix(mobile): 对齐群聊执行、分工与讨论卡片 (#9672)
* fix(mobile): align group execution timeline and controls

Show each group execution in the timeline with prompts outside process folds, match discussion and work semantics, and preserve scoped stop permissions across desktop hosts and direct chat.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* test(mobile): cover group result reading order

Verify the real group timeline presents the teammate reply before its associated task snapshot.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 对齐群执行组件的 PC 设计

Match the desktop follow-up row, keep process actions outside disclosure, and align teammate permission/question card hierarchy and intrinsic-width actions. Preserve existing permission decisions and mobile confirmation gestures.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 隐藏群执行原任务跳转入口

Keep inline execution details, confirmation cards and group stop actions available.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 精简群讨论与分工卡片布局

保留卡片与既有操作,整理姓名、状态和跳过按钮对齐,合并分工重复标题,将步骤状态与时间集中展示。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 适配主干群执行过程滚动与回归用例

群执行使用主时间线的过程折叠保护,轮次结束时释放保留空间;迁移旧内嵌滚动区测试,并以不可变快照验证主干消息投影缓存下的执行时间。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 收口群执行卡片样式与远程控制

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* docs(group-chat): 同步手机卡片与步骤阅读约定

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 补齐预览登记与下一步窄屏回退

登记仅 mock 可达的群执行预览,并保留开发门禁检查。通用卡片按钮在长文案换行时移到姓名下方纵排,保留短文案同行与 38pt 可见尺寸、44pt 触控热区。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 修复窄屏下一步操作的换行与边界

短按钮保持同行,长文案通过文本测量切换完整纵排,避免容器先自行换行造成操作溢出。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

* fix(mobile): 隔离离开群聊后的停止回执

让直连停止请求随页面焦点失效,避免离开或快速返回群聊后误报失败、旧回执清除新等待状态;经电脑请求保留原有防重复锁。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>

---------

Signed-off-by: nana <823073145@qq.com>
Co-authored-by: nana <823073145@qq.com>
2026-11-10 21:11:56 +08:00
Lizi
2f1ee3c55f Merge pull request #9625 from BarneyZhaoooo/codex/cindy-terra-ultra-fast
test(codex): cover Terra Ultra and Fast
2026-11-10 20:55:37 +08:00
DavidShen
9bb1d951f0 test(desktop): verify folder picker wheels through isolated native input
Exercise the modified isolated app through its own public Computer MCP and host guards, covering native placement, displacement, cancellation, themes and sizes. Cover the legacy recent-folder branch at component level and document its acceptance limit.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-10 19:36:52 +08:00
Dash
e405db1be9 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>
2026-11-11 00:33:32 +13:00
Dash
2cdd07147d feat(mobile): retain opt-in push diagnostics in developer settings
Integrate the local diagnostic UI from 5aa5cf5d36, preserving transient token handling and developer-only placement. Add a real-process supervisor control handoff regression and document acceptance boundaries.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 00:20:59 +13:00
Dash
353a4c76c4 fix(personal-build): integrate reviewed desktop upgrade safeguards
Merge the reviewed reliability work and keep its documentation under advanced developer tools. Validated 163 script tests, 15 Desktop tests, Desktop typecheck, docs and the native input helper build.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 00:11:48 +13:00
Lizi
2bc707061f Merge latest main into feat/agent-net-phase0
Merge origin/main at 00f65f30db. Move the remote connection settings onto the shared settings components, read the APNs environment through the signed profile, keep the communication entitlement on the app target only while the notification extension retains its keychain group, and regenerate the glossary and help knowledge from the merged source.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
2026-11-10 18:19:23 +08:00
Dash
bf3bfc51e2 fix(personal-build): reject null mobile.distribution before build
An explicit null passed the config check but failed Python identity
verification after the native build. Only an omitted field now keeps
the legacy development default.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 23:01:05 +13:00
Dash
3c9597ca7a feat(personal-build): add Ad Hoc delivery and scope docs to developers
Support optional manual export profiles, verify production signing before delivery, and clarify app-signing versus APNs-provider authorization.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 22:36:52 +13:00
zhaohan
d5078548ca test(codex): register and clean up Terra proxy regression
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: zhaohan <zhaohan@xd.com>
2026-11-10 17:29:06 +08:00
Lizi
f4a670c93b Merge pull request #9692 from makecindy/cindy/quirky-newton
fix(desktop): Windows 开发沙盒停止时先正常退出
2026-11-10 17:27:49 +08:00
DavidShen
fef1c9fa6c fix(desktop): Windows 开发沙盒停止时先正常退出
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
2026-11-10 15:34:52 +08:00
Dash
1173f1b1ff fix(personal-build): inspect legacy isolated releases and retire managed registrations
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 12:46:42 +13:00
Dash
85847e763e fix(personal-build): keep registry failures out of activation recovery
Prevent automatic retries of pre-spawn failures and retain the terminal runner after supervision handoff.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 12:36:14 +13:00
Dash
b216da4da7 fix(personal-build): guard isolated starts and recover upgrade coordination
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 12:21:22 +13:00
Dash
93cec81495 fix(personal-build): isolate supervision and verify complete upgrade handoffs
Keep retired apps outside Applications, compare signing requirements before shutdown, and recover only proven pre-spawn failures. Require isolated handoff proof and provide a read-only retention inventory.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:43:14 +13:00
Dash
5ddfb91361 fix(skills): use an empty config file for Git in the build gate test on Windows
Git for Windows cannot open Node's \\.\nul path as GIT_CONFIG_GLOBAL, so the
synthetic-merge test failed in the Windows runner job.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:42:48 +13:00
Dash
2d3fcf3a8f fix(skills): version bundled resources and detect reused versions
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:33:09 +13:00