diff --git a/scripts/policy/interface-migrations/approved-flag-migrations-v1.json b/scripts/policy/interface-migrations/approved-flag-migrations-v1.json index e00cf936..a1ef7b32 100644 --- a/scripts/policy/interface-migrations/approved-flag-migrations-v1.json +++ b/scripts/policy/interface-migrations/approved-flag-migrations-v1.json @@ -128,6 +128,46 @@ }, "state": "pending", "reason": "Preserve legacy argv compatibility while making the canonical flag the only visible parameter." + }, + { + "kind": "requiredness_change", + "command": "dws report entry submit", + "flag": { + "name": "to-user-ids", + "before": { + "present": true, + "type": "string", + "scope": "local" + }, + "after": { + "present": true, + "type": "string", + "required": true, + "scope": "local" + } + }, + "state": "pending", + "reason": "无接收人的日志提交服务端仍返回成功但日志对任何人都不可见;仅在 dws CLI 侧将 --to-user-ids 提升为必填,openAPI create_report 保持可选(bug 85724185)" + }, + { + "kind": "requiredness_change", + "command": "dws report create", + "flag": { + "name": "to-user-ids", + "before": { + "present": true, + "type": "string", + "scope": "local" + }, + "after": { + "present": true, + "type": "string", + "required": true, + "scope": "local" + } + }, + "state": "pending", + "reason": "废弃别名 dws report create(含 dws log create 拼写)与 dws report entry submit 共用 addReportCreateFlags,required 提升必须两侧一致;openAPI create_report 保持可选(bug 85724185)" } ] }