Files
cbb-refresh-verify-795/SOP.md
T
阿白叔 11a2b2e46e Import CBB refresh verify r4 stability baseline
Preserve tested Verify source, authoritative READY checks, bounded bridge retries, diagnostics and failure-only reporting. Include 336-test suite and packaging assets; exclude live Mentor samples, field logs, backups and distributions.
2026-09-29 15:05:20 +08:00

44 lines
1.9 KiB
Markdown
Raw 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.
# CBB 中心库上传后校验操作规程
## 1. 输入与证据
本项目的 Skyworth 示例根目录是 `F:\Sync Tool Skyworth\Work Maps\Skyworth_CBB_Lib\CBB`。工程清单用于绑定 CBB 源工程和中心库条目;本工具不执行 PCB 同步,也不要求 PCB 文件作为校验输入。
每次作业至少记录:
- DxDesigner/Expedition 精确版本和构建号;
- 原理图工程路径、中心库文件和当前 CBB 标识;
- 上传后、Verify 每一步和最终的中心库状态;
- Verify 对话框的原生结果或错误号;
- 中心库条目标志和错误状态;
- 操作员、时间和截图/日志证据路径。
状态文件采用 UTF-8 JSON,状态只能是 `red`、`yellow`、`green` 或 `unknown`。
## 2. 状态和动作
| 状态键 | 校验动作 | 终态条件 |
| --- | --- | --- |
| `library_item_present` | 确认上传条目存在且名称/来源匹配 | `green` |
| `verify_result` | 对条目执行原生 `Verify` 并完成对话框 | `green` |
| `cbb_status_flag` | 确认 CBB 条目标志为绿色 | `green` |
| `error_state` | 检查没有 ERROR、Cell Name 或未处理警告 | `green` |
动作优先级按表中顺序执行。每次动作后必须重新读取条目和对话框状态;不能使用上一次读取的旧状态继续点击。
## 3. 通过条件
只有以下条件全部满足,报告才是 `PASS`:
- 四项中心库校验状态均为绿色;
- Verify 有对应的动作结果和完成时间;
- CBB 名称、源工程和中心库条目身份一致;
- 未发现 ERROR、Cell Name 或未处理警告;
- 证据文件完整且可读取。
任意状态为 `unknown`、错误、超时、路径不一致或证据缺失,报告为 `BLOCKED`。
## 4. 与上传/替换的先后关系
中心库上传由 `cbb-upload-795` 完成;上传成功后再运行本工具做 Verify 校验。若还包含普通器件替换或 PCB 同步,必须使用各自工具和独立证据目录,不能共享状态文件。