# PaC Source Artifact YAML 空白稳定性

- 来源：https://github.com/pikasTech/unidesk/issues/1753
- 范围：通用 PaC source artifact serializer；禁止 consumer 手工修补。


## R1 [completed]

修复 PaC source artifact YAML serializer 的行尾空格，关联 https://github.com/pikasTech/unidesk/issues/1753，完成任务后将详细报告写入[任务报告](./details/pac-source-artifact-yaml-whitespace/R1_Task_Report.md)。

### R1.1 [completed]

复现空 mapping 行尾空格和 git diff --check 失败，关联 https://github.com/pikasTech/unidesk/issues/1753，完成任务后将详细报告写入[任务报告](./details/pac-source-artifact-yaml-whitespace/R1.1_Task_Report.md)。

### R1.2 [completed]

在通用 serializer 修复稳定 YAML 输出并保持结构不变，完成任务后将详细报告写入[任务报告](./details/pac-source-artifact-yaml-whitespace/R1.2_Task_Report.md)。

### R1.3 [completed]

验证 AgentRun/HWLAB 生成、EOF 和二次写入幂等，完成任务后将详细报告写入[任务报告](./details/pac-source-artifact-yaml-whitespace/R1.3_Task_Report.md)。

### R1.4 [completed]

提交非 draft PR、运行受控 preflight 并留下审查证据，完成任务后将详细报告写入[任务报告](./details/pac-source-artifact-yaml-whitespace/R1.4_Task_Report.md)。
