mirror of
https://github.com/DingTalk-Real-AI/dingtalk-workspace-cli.git
synced 2026-09-28 13:14:08 +08:00
P1: Four irreversible delete leaves (subject delete, subject batch-delete, project delete, account delete) were declared as confirmation=not_required and executed without a user confirmation gate. Update safetyDestructive to confirmation=user_required so DeclareLeafMetadata installs the typed ConfirmSafety gate before the first MCP call. Update TestCrossPlatformCoverageContractProjectDeleteMapsIntegerIDs to verify both branches: unconfirmed invocation returns typed confirmation_required error with zero MCP calls, and --yes confirmation proceeds with exactly one call and precise arguments. Add HelpReferences (RelatedSkills + Documentation) to contract ProductDecl to satisfy TestPublicServicesDeclareExistingHelpReferences and TestAgentVisibleLeavesHaveCompleteRenderableSafetyAndReferences. Remove retired edu-contact endpoint from openSupplementServers to satisfy TestCrossPlatformCoverageOpenSupplementServersExcludesRetiredEduEndpoints.