Files
cindy/docs/dev-rules/protocol-compatibility/plugin-readonly-project-tasks.md
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

10 lines
855 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 插件只读查看项目任务(未发布)
> 通用规则与 Review 清单见[跨端协议兼容](../protocol-compatibility.md);本文件只记录这一项能力的协议约定。
agent.observe 为可选独立能力,不依赖 tasks/targets,只有 Host 确认的 observeCapabilityApproved 才授予;
历史未知字段、旧 tasks/targets 批准不推断新授权。旧 receipt 缺少新可选字段照常读取,无需 schema migration。
新包严格校验布尔值;已安装快照中的非布尔历史值原样保留但不授予,不因新校验停用。
逻辑页管道新增 `observe-request`(`project-tasks` / `open-task`),只在本机 Desktop Main 消费,不进入 device-link 白名单。
旧 Host 忽略声明且没有 `cindy.observe`,插件须探测入口后降级。作者契约见 plugin-agent-tasks.md §4.11.8。