@c4a/context-cli 0.7.30 → 0.7.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +2491 -645
- package/indexers/bundles/context-code-indexer/references/indexer.md +17 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c01.md +1 -1
- package/indexers/bundles/context-code-indexer/templates/articles/c07.md +1 -1
- package/indexers/bundles/context-code-indexer/templates/articles/l02.md +1 -1
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +17 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c01.md +1 -1
- package/indexers/bundles/context-markdown-indexer/templates/articles/c07.md +1 -1
- package/indexers/bundles/context-markdown-indexer/templates/articles/l02.md +1 -1
- package/indexers/bundles/context-note-indexer/references/writing.md +17 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c01.md +1 -1
- package/indexers/bundles/context-note-indexer/templates/articles/c07.md +1 -1
- package/indexers/bundles/context-note-indexer/templates/articles/l02.md +1 -1
- package/indexers/bundles/context-sessions-indexer/references/writing.md +17 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c01.md +1 -1
- package/indexers/bundles/context-sessions-indexer/templates/articles/c07.md +1 -1
- package/indexers/bundles/context-sessions-indexer/templates/articles/l02.md +1 -1
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +21 -21
- package/package.json +12 -12
- package/plugins/README.md +45 -2
- package/plugins/README_CN.md +33 -2
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +3 -2
- package/plugins/claude/commands/context-inspect-search.md +18 -0
- package/plugins/claude/commands/context-plan.md +12 -0
- package/plugins/claude/commands/context.md +125 -9
- package/plugins/claude/skills/context-inspect-search/SKILL.md +18 -0
- package/plugins/claude/skills/context-plan/SKILL.md +110 -0
- package/plugins/claude/skills/context-plan/agents/openai.yaml +2 -0
- package/plugins/claude/skills/context-plan/references/project-planning.md +250 -0
- package/plugins/claude/skills/context-plan/references/resource-tools.md +100 -0
- package/plugins/claude/skills/context-plan/templates/PLAN.md +113 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +125 -9
- package/plugins/codex/skills/context-inspect-search/SKILL.md +18 -0
- package/plugins/codex/skills/context-plan/SKILL.md +109 -0
- package/plugins/codex/skills/context-plan/agents/openai.yaml +2 -0
- package/plugins/codex/skills/context-plan/references/project-planning.md +250 -0
- package/plugins/codex/skills/context-plan/references/resource-tools.md +100 -0
- package/plugins/codex/skills/context-plan/templates/PLAN.md +113 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +3 -2
- package/plugins/cursor/commands/c4a-context-inspect-search.md +18 -0
- package/plugins/cursor/commands/c4a-context-plan.md +9 -0
- package/plugins/cursor/commands/c4a-context.md +125 -9
- package/plugins/cursor/skills/context-inspect-search/SKILL.md +18 -0
- package/plugins/cursor/skills/context-plan/SKILL.md +110 -0
- package/plugins/cursor/skills/context-plan/agents/openai.yaml +2 -0
- package/plugins/cursor/skills/context-plan/references/project-planning.md +250 -0
- package/plugins/cursor/skills/context-plan/references/resource-tools.md +100 -0
- package/plugins/cursor/skills/context-plan/templates/PLAN.md +113 -0
- package/plugins/skills/context/SKILL.md +125 -9
- package/plugins/skills/context-code-indexer/references/indexer.md +17 -0
- package/plugins/skills/context-code-indexer/templates/articles/c01.md +1 -1
- package/plugins/skills/context-code-indexer/templates/articles/c07.md +1 -1
- package/plugins/skills/context-code-indexer/templates/articles/l02.md +1 -1
- package/plugins/skills/context-inspect-search/SKILL.md +18 -0
- package/plugins/skills/context-markdown-indexer/references/indexer.md +17 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c01.md +1 -1
- package/plugins/skills/context-markdown-indexer/templates/articles/c07.md +1 -1
- package/plugins/skills/context-markdown-indexer/templates/articles/l02.md +1 -1
- package/plugins/skills/context-note-indexer/references/writing.md +17 -0
- package/plugins/skills/context-note-indexer/templates/articles/c01.md +1 -1
- package/plugins/skills/context-note-indexer/templates/articles/c07.md +1 -1
- package/plugins/skills/context-note-indexer/templates/articles/l02.md +1 -1
- package/plugins/skills/context-plan/SKILL.md +109 -0
- package/plugins/skills/context-plan/agents/openai.yaml +2 -0
- package/plugins/skills/context-plan/references/project-planning.md +250 -0
- package/plugins/skills/context-plan/references/resource-tools.md +100 -0
- package/plugins/skills/context-plan/templates/PLAN.md +113 -0
- package/plugins/skills/context-sessions-indexer/references/writing.md +17 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c01.md +1 -1
- package/plugins/skills/context-sessions-indexer/templates/articles/c07.md +1 -1
- package/plugins/skills/context-sessions-indexer/templates/articles/l02.md +1 -1
- package/providers/context/actions/repair-project-entry.yaml +1 -0
- package/providers/context/graphs/workspace.yaml +1 -1
- package/providers/context/manifest.json +27 -23
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +6 -0
- package/providers/context/resources/manuals/guides/lark-resources.md +94 -11
- package/providers/context/resources/manuals/guides/source-batches.md +89 -0
- package/providers/context/resources/manuals/guides/workspace-prepare.md +12 -0
- package/providers/context/resources/manuals/reference/project-api.md +4 -0
- package/providers/context/resources/procedures/document-capture.md +31 -11
- package/providers/context/resources/procedures/knowledge-review.md +13 -0
- package/providers/context/resources/procedures/knowledge-updates.md +6 -0
- package/providers/context/resources/procedures/source-capture-detailed.md +40 -8
- package/providers/context/resources/procedures/workspace-prepare.md +12 -0
|
@@ -159,3 +159,20 @@ Use [diagram guidance](diagrams.md) or [source visual processing](visual-source-
|
|
|
159
159
|
when actual reader needs or supplied images justify them. Diagrams are not
|
|
160
160
|
mandatory. Content quality belongs to the Agent and Review; do not optimize
|
|
161
161
|
wording, headings or section counts to satisfy a metric.
|
|
162
|
+
|
|
163
|
+
## Source provenance and article prose
|
|
164
|
+
|
|
165
|
+
Keep capture baselines, repository commit hashes, inspected branch revisions and
|
|
166
|
+
verification timestamps in structured source references or citation destinations,
|
|
167
|
+
not in article headings, introductions, tables or standalone evidence paragraphs.
|
|
168
|
+
Do not add sentences such as “the backend baseline is repository@commit” merely
|
|
169
|
+
to describe how the article was researched. Preserve exact source links and
|
|
170
|
+
reference metadata; removing this prose must not weaken traceability.
|
|
171
|
+
|
|
172
|
+
Retain business or API versions, compatibility constraints, migration differences
|
|
173
|
+
and performance comparison baselines when they explain behavior or reader actions.
|
|
174
|
+
A commit belongs in the prose only when the requested topic is that specific
|
|
175
|
+
change, regression or reproduction and its identity is necessary. Apply editorial
|
|
176
|
+
cleanup only to the current authorized writing or revision scope; do not scan or
|
|
177
|
+
rewrite unrelated approved articles. This is writing guidance, not a keyword-based
|
|
178
|
+
CLI rejection rule.
|
|
@@ -30,7 +30,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
30
30
|
3. **技术与依赖摘要**:仅在有技术材料且影响读者选择入口时出现;纯产品资料不强制此节。
|
|
31
31
|
4. **知识索引**:主题、何时阅读、目标文章/代码位置。
|
|
32
32
|
5. **任务导航**:开发、接口对接、排障、交付分别从哪里继续。
|
|
33
|
-
6.
|
|
33
|
+
6. **来源与适用版本**:文档身份、代码仓库和模块入口;正文仅说明影响使用的业务或兼容版本,取证提交号保留在来源引用元数据中。
|
|
34
34
|
|
|
35
35
|
最低产出:对象身份、可信资料/起始文件/注册点和下一步阅读位置。浅索引模块可作为父级表格中的记录,不强制单页。禁止链接到尚未产出的模板占位文件。
|
|
36
36
|
|
|
@@ -22,7 +22,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
22
22
|
|
|
23
23
|
适用:入口优先的业务知识包,尤其是只持有 dist 的消费 Agent。建议章节为 **问题到入口的映射 → 源码身份与版本 → 推荐阅读顺序 → 外部边界 → 何时需要进一步证据**。
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
定位记录:仓库身份、仓内路径/符号、已证明到哪一层、接着读什么。取证版本保留在来源引用元数据中,不在正文重复仓库提交基线。在包内返回可执行的阅读指引;工作区 inspect 与包外源码归因遵循各自现有能力和授权,不声称普通 dist query 会自动 clone。无需在每篇文章重复整套工作流,只保留本篇起点和相关指引链接。
|
|
26
26
|
|
|
27
27
|
## 图示选择
|
|
28
28
|
|
|
@@ -58,7 +58,7 @@ Toast 类家族可以先给成员选择表,再按成员或调用方式分节
|
|
|
58
58
|
| 行为与组合规则 | 状态谁控制、如何交互、配置如何叠加 | 受控/非受控、回调、数据结构、覆盖顺序、关闭/清理、组合约束;具体内容由组件能力决定 |
|
|
59
59
|
| 样式与设计系统 | 哪些是组件可覆盖项、哪些来自全局系统 | 变体、尺寸、slot、token、逻辑方向等具体差异;公共基础规范链接到设计系统,不整篇复制 |
|
|
60
60
|
| 运行环境、可访问性与限制 | 在什么条件下可用、有什么已知边界 | SSR/Portal/宿主/移动端限制;已证实键盘、焦点、role、对比度相关行为;实际测试与静态观察区分 |
|
|
61
|
-
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 |
|
|
61
|
+
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 | 相关能力、实现/类型/示例/文档定位,取证版本保留在引用元数据中;关键行为的定位尽量贴近对应章节 |
|
|
62
62
|
|
|
63
63
|
章节可以有组件特定的小节,例如“选择后是否关闭”“清理时机”“嵌套分组”。固定公共章节不要求把每个组件的业务特点改成相同文案,也不改变事实的原有语义。
|
|
64
64
|
|
|
@@ -60,3 +60,20 @@ Use [diagram guidance](diagrams.md) when it clarifies an important relationship.
|
|
|
60
60
|
For actual source images or tables, read [visual processing](visual-source-processing.md).
|
|
61
61
|
Preserve source strength and external boundaries; diagrams are not a completion
|
|
62
62
|
requirement. Follow the workspace's visual conventions.
|
|
63
|
+
|
|
64
|
+
## Source provenance and article prose
|
|
65
|
+
|
|
66
|
+
Keep capture baselines, repository commit hashes, inspected branch revisions and
|
|
67
|
+
verification timestamps in structured source references or citation destinations,
|
|
68
|
+
not in article headings, introductions, tables or standalone evidence paragraphs.
|
|
69
|
+
Do not add sentences such as “the backend baseline is repository@commit” merely
|
|
70
|
+
to describe how the article was researched. Preserve exact source links and
|
|
71
|
+
reference metadata; removing this prose must not weaken traceability.
|
|
72
|
+
|
|
73
|
+
Retain business or API versions, compatibility constraints, migration differences
|
|
74
|
+
and performance comparison baselines when they explain behavior or reader actions.
|
|
75
|
+
A commit belongs in the prose only when the requested topic is that specific
|
|
76
|
+
change, regression or reproduction and its identity is necessary. Apply editorial
|
|
77
|
+
cleanup only to the current authorized writing or revision scope; do not scan or
|
|
78
|
+
rewrite unrelated approved articles. This is writing guidance, not a keyword-based
|
|
79
|
+
CLI rejection rule.
|
|
@@ -28,7 +28,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
28
28
|
3. **技术与依赖摘要**:仅在有技术材料且影响读者选择入口时出现;纯产品资料不强制此节。
|
|
29
29
|
4. **知识索引**:主题、何时阅读、目标文章/代码位置。
|
|
30
30
|
5. **任务导航**:开发、接口对接、排障、交付分别从哪里继续。
|
|
31
|
-
6.
|
|
31
|
+
6. **来源与适用版本**:文档身份、代码仓库和模块入口;正文仅说明影响使用的业务或兼容版本,取证提交号保留在来源引用元数据中。
|
|
32
32
|
|
|
33
33
|
最低产出:对象身份、可信资料/起始文件/注册点和下一步阅读位置。浅索引模块可作为父级表格中的记录,不强制单页。禁止链接到尚未产出的模板占位文件。
|
|
34
34
|
|
|
@@ -20,7 +20,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
20
20
|
|
|
21
21
|
适用:入口优先的业务知识包,尤其是只持有 dist 的消费 Agent。建议章节为 **问题到入口的映射 → 源码身份与版本 → 推荐阅读顺序 → 外部边界 → 何时需要进一步证据**。
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
定位记录:仓库身份、仓内路径/符号、已证明到哪一层、接着读什么。取证版本保留在来源引用元数据中,不在正文重复仓库提交基线。在包内返回可执行的阅读指引;工作区 inspect 与包外源码归因遵循各自现有能力和授权,不声称普通 dist query 会自动 clone。无需在每篇文章重复整套工作流,只保留本篇起点和相关指引链接。
|
|
24
24
|
|
|
25
25
|
## 图示选择
|
|
26
26
|
|
|
@@ -56,7 +56,7 @@ Toast 类家族可以先给成员选择表,再按成员或调用方式分节
|
|
|
56
56
|
| 行为与组合规则 | 状态谁控制、如何交互、配置如何叠加 | 受控/非受控、回调、数据结构、覆盖顺序、关闭/清理、组合约束;具体内容由组件能力决定 |
|
|
57
57
|
| 样式与设计系统 | 哪些是组件可覆盖项、哪些来自全局系统 | 变体、尺寸、slot、token、逻辑方向等具体差异;公共基础规范链接到设计系统,不整篇复制 |
|
|
58
58
|
| 运行环境、可访问性与限制 | 在什么条件下可用、有什么已知边界 | SSR/Portal/宿主/移动端限制;已证实键盘、焦点、role、对比度相关行为;实际测试与静态观察区分 |
|
|
59
|
-
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 |
|
|
59
|
+
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 | 相关能力、实现/类型/示例/文档定位,取证版本保留在引用元数据中;关键行为的定位尽量贴近对应章节 |
|
|
60
60
|
|
|
61
61
|
章节可以有组件特定的小节,例如“选择后是否关闭”“清理时机”“嵌套分组”。固定公共章节不要求把每个组件的业务特点改成相同文案,也不改变事实的原有语义。
|
|
62
62
|
|
|
@@ -55,3 +55,20 @@ answer the selected question without reconstructing the conversation? Check
|
|
|
55
55
|
that the article answers its planned reader question. Keep remaining investigation
|
|
56
56
|
and real gaps visible in the stage; do not submit a per-passage disposition ledger. A generic overview that drops the actual decision,
|
|
57
57
|
exception or resolution is incomplete even if its headings look correct.
|
|
58
|
+
|
|
59
|
+
## Source provenance and article prose
|
|
60
|
+
|
|
61
|
+
Keep capture baselines, repository commit hashes, inspected branch revisions and
|
|
62
|
+
verification timestamps in structured source references or citation destinations,
|
|
63
|
+
not in article headings, introductions, tables or standalone evidence paragraphs.
|
|
64
|
+
Do not add sentences such as “the backend baseline is repository@commit” merely
|
|
65
|
+
to describe how the article was researched. Preserve exact source links and
|
|
66
|
+
reference metadata; removing this prose must not weaken traceability.
|
|
67
|
+
|
|
68
|
+
Retain business or API versions, compatibility constraints, migration differences
|
|
69
|
+
and performance comparison baselines when they explain behavior or reader actions.
|
|
70
|
+
A commit belongs in the prose only when the requested topic is that specific
|
|
71
|
+
change, regression or reproduction and its identity is necessary. Apply editorial
|
|
72
|
+
cleanup only to the current authorized writing or revision scope; do not scan or
|
|
73
|
+
rewrite unrelated approved articles. This is writing guidance, not a keyword-based
|
|
74
|
+
CLI rejection rule.
|
|
@@ -28,7 +28,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
28
28
|
3. **技术与依赖摘要**:仅在有技术材料且影响读者选择入口时出现;纯产品资料不强制此节。
|
|
29
29
|
4. **知识索引**:主题、何时阅读、目标文章/代码位置。
|
|
30
30
|
5. **任务导航**:开发、接口对接、排障、交付分别从哪里继续。
|
|
31
|
-
6.
|
|
31
|
+
6. **来源与适用版本**:文档身份、代码仓库和模块入口;正文仅说明影响使用的业务或兼容版本,取证提交号保留在来源引用元数据中。
|
|
32
32
|
|
|
33
33
|
最低产出:对象身份、可信资料/起始文件/注册点和下一步阅读位置。浅索引模块可作为父级表格中的记录,不强制单页。禁止链接到尚未产出的模板占位文件。
|
|
34
34
|
|
|
@@ -20,7 +20,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
20
20
|
|
|
21
21
|
适用:入口优先的业务知识包,尤其是只持有 dist 的消费 Agent。建议章节为 **问题到入口的映射 → 源码身份与版本 → 推荐阅读顺序 → 外部边界 → 何时需要进一步证据**。
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
定位记录:仓库身份、仓内路径/符号、已证明到哪一层、接着读什么。取证版本保留在来源引用元数据中,不在正文重复仓库提交基线。在包内返回可执行的阅读指引;工作区 inspect 与包外源码归因遵循各自现有能力和授权,不声称普通 dist query 会自动 clone。无需在每篇文章重复整套工作流,只保留本篇起点和相关指引链接。
|
|
24
24
|
|
|
25
25
|
## 图示选择
|
|
26
26
|
|
|
@@ -56,7 +56,7 @@ Toast 类家族可以先给成员选择表,再按成员或调用方式分节
|
|
|
56
56
|
| 行为与组合规则 | 状态谁控制、如何交互、配置如何叠加 | 受控/非受控、回调、数据结构、覆盖顺序、关闭/清理、组合约束;具体内容由组件能力决定 |
|
|
57
57
|
| 样式与设计系统 | 哪些是组件可覆盖项、哪些来自全局系统 | 变体、尺寸、slot、token、逻辑方向等具体差异;公共基础规范链接到设计系统,不整篇复制 |
|
|
58
58
|
| 运行环境、可访问性与限制 | 在什么条件下可用、有什么已知边界 | SSR/Portal/宿主/移动端限制;已证实键盘、焦点、role、对比度相关行为;实际测试与静态观察区分 |
|
|
59
|
-
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 |
|
|
59
|
+
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 | 相关能力、实现/类型/示例/文档定位,取证版本保留在引用元数据中;关键行为的定位尽量贴近对应章节 |
|
|
60
60
|
|
|
61
61
|
章节可以有组件特定的小节,例如“选择后是否关闭”“清理时机”“嵌套分组”。固定公共章节不要求把每个组件的业务特点改成相同文案,也不改变事实的原有语义。
|
|
62
62
|
|
|
@@ -61,3 +61,20 @@ answer the selected question without reconstructing the conversation? Check
|
|
|
61
61
|
that the article answers its planned reader question. Keep remaining investigation
|
|
62
62
|
and real gaps visible in the stage; do not submit a per-passage disposition ledger. A generic overview that drops the actual decision,
|
|
63
63
|
exception or resolution is incomplete even if its headings look correct.
|
|
64
|
+
|
|
65
|
+
## Source provenance and article prose
|
|
66
|
+
|
|
67
|
+
Keep capture baselines, repository commit hashes, inspected branch revisions and
|
|
68
|
+
verification timestamps in structured source references or citation destinations,
|
|
69
|
+
not in article headings, introductions, tables or standalone evidence paragraphs.
|
|
70
|
+
Do not add sentences such as “the backend baseline is repository@commit” merely
|
|
71
|
+
to describe how the article was researched. Preserve exact source links and
|
|
72
|
+
reference metadata; removing this prose must not weaken traceability.
|
|
73
|
+
|
|
74
|
+
Retain business or API versions, compatibility constraints, migration differences
|
|
75
|
+
and performance comparison baselines when they explain behavior or reader actions.
|
|
76
|
+
A commit belongs in the prose only when the requested topic is that specific
|
|
77
|
+
change, regression or reproduction and its identity is necessary. Apply editorial
|
|
78
|
+
cleanup only to the current authorized writing or revision scope; do not scan or
|
|
79
|
+
rewrite unrelated approved articles. This is writing guidance, not a keyword-based
|
|
80
|
+
CLI rejection rule.
|
|
@@ -28,7 +28,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
28
28
|
3. **技术与依赖摘要**:仅在有技术材料且影响读者选择入口时出现;纯产品资料不强制此节。
|
|
29
29
|
4. **知识索引**:主题、何时阅读、目标文章/代码位置。
|
|
30
30
|
5. **任务导航**:开发、接口对接、排障、交付分别从哪里继续。
|
|
31
|
-
6.
|
|
31
|
+
6. **来源与适用版本**:文档身份、代码仓库和模块入口;正文仅说明影响使用的业务或兼容版本,取证提交号保留在来源引用元数据中。
|
|
32
32
|
|
|
33
33
|
最低产出:对象身份、可信资料/起始文件/注册点和下一步阅读位置。浅索引模块可作为父级表格中的记录,不强制单页。禁止链接到尚未产出的模板占位文件。
|
|
34
34
|
|
|
@@ -20,7 +20,7 @@ This is a writing blueprint, not a completion gate. Adapt the headings and level
|
|
|
20
20
|
|
|
21
21
|
适用:入口优先的业务知识包,尤其是只持有 dist 的消费 Agent。建议章节为 **问题到入口的映射 → 源码身份与版本 → 推荐阅读顺序 → 外部边界 → 何时需要进一步证据**。
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
定位记录:仓库身份、仓内路径/符号、已证明到哪一层、接着读什么。取证版本保留在来源引用元数据中,不在正文重复仓库提交基线。在包内返回可执行的阅读指引;工作区 inspect 与包外源码归因遵循各自现有能力和授权,不声称普通 dist query 会自动 clone。无需在每篇文章重复整套工作流,只保留本篇起点和相关指引链接。
|
|
24
24
|
|
|
25
25
|
## 图示选择
|
|
26
26
|
|
|
@@ -56,7 +56,7 @@ Toast 类家族可以先给成员选择表,再按成员或调用方式分节
|
|
|
56
56
|
| 行为与组合规则 | 状态谁控制、如何交互、配置如何叠加 | 受控/非受控、回调、数据结构、覆盖顺序、关闭/清理、组合约束;具体内容由组件能力决定 |
|
|
57
57
|
| 样式与设计系统 | 哪些是组件可覆盖项、哪些来自全局系统 | 变体、尺寸、slot、token、逻辑方向等具体差异;公共基础规范链接到设计系统,不整篇复制 |
|
|
58
58
|
| 运行环境、可访问性与限制 | 在什么条件下可用、有什么已知边界 | SSR/Portal/宿主/移动端限制;已证实键盘、焦点、role、对比度相关行为;实际测试与静态观察区分 |
|
|
59
|
-
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 |
|
|
59
|
+
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 | 相关能力、实现/类型/示例/文档定位,取证版本保留在引用元数据中;关键行为的定位尽量贴近对应章节 |
|
|
60
60
|
|
|
61
61
|
章节可以有组件特定的小节,例如“选择后是否关闭”“清理时机”“嵌套分组”。固定公共章节不要求把每个组件的业务特点改成相同文案,也不改变事实的原有语义。
|
|
62
62
|
|