听荷
66061bb0b0
fix(college-contact): 移除可复制破坏性示例中的确认绕过参数并补齐契约示例必填参数
CR P1-1:15 个 user_required 叶子的 Cobra Example 携带 -y/--yes,
Agent 或用户直接复制即绕过本 PR 实现的用户确认门。改为只保留
--dry-run 预览示例(含 -f json 变体),确认参数由调用方在取得
用户明确确认后自行追加。
CR P1-2:create-group-rule 的 Contract.Selection.Examples 缺少必填
--dept-type,示例实际执行会在参数校验阶段失败。同类缺陷在本文件另有
6 处(dept create / employee add / alumni list / alumni add-alumnus /
alumni update-alumnus / graduate batch-update-pending),一并对齐到
各自 Cobra Example;另修正 dept update、dept batch-update-type 契约
示例中 dept-type 取值与 Cobra 示例不一致的问题(standard -> college)。
验证:5 个产品共 153 条 Contract.Selection.Examples 全部 --dry-run
可执行(153/153 ok);changed code coverage 100.0000%。
2026-08-24 20:23:21 +08:00
..
2026-08-24 17:51:45 +08:00
2026-08-20 23:19:33 +08:00
2026-08-24 17:51:45 +08:00
2026-08-20 16:38:05 +08:00
2026-08-20 01:50:13 +08:00
2026-08-23 17:55:33 +08:00
2026-08-19 12:08:35 +08:00
2026-08-24 20:23:21 +08:00
2026-08-20 21:24:06 +08:00
2026-08-24 16:47:19 +08:00
2026-08-24 13:10:38 +08:00
2026-08-24 13:10:38 +08:00
2026-08-19 21:29:47 +08:00