Alibaba Cloud Domain Control
Read DomainCLI runtime and safety contract before ANY execution, including version checks, supplied-state decisions and final result fields. It is mandatory for each activation.
Use the bundled local preflight helper as the single owner of version checks; do not repeat its checks manually. For a missing/outdated runtime or explicit user authorization for possible setup, read Authorized dependency installation/update guide before using the setup flag. Actual explicit user/task-prompt authorization permits reviewed sandbox setup once, double-version verification, then resumption. Otherwise request setup authorization once and return awaiting_input/write_effect=none. Never install implicitly or treat setup consent as business-write approval.
Workflow
- Input: freeze exact domain, record/template/group/task ID and desired action/delta; never replace a supplied ID with another visible resource.
- Judgment: read the exact account asset before contact, ownership, lock, transfer-out or nameserver changes. Public WHOIS is not ownership. For an exact Alidns zone/record supplied by the user, use dns list/detail directly: DNS hosting is independent of registrar ownership. An exact-record not-found response ends blocked_target/write_effect=none before preview or confirmation; failed runtime/auth/permission checks are not evidence of absence.
- Confirmation: show successful same-target preview with exact delta, risk and recovery limits. DNS needs a usable returned plan_id before a fresh post-preview user reply. A failed output mentioning plan_id is not a preview.
- Execute: one approved write only. DNS repeats the same leaf with --confirm=true, --confirm-domain set to the frozen domain and --plan-id set to the returned plan. Other leaves use only documented flags. No implicit delete/create or permission expansion.
- Readback: reread the SAME record/asset/task and check target/value/TTL/type/line as applicable. Preserve no_change when state matches. A write timeout triggers readback, not retry.
- Deliver: requested versus saved state, safe task IDs and remaining action. DNS control-plane persistence is not global propagation.
Own transfer-out and all domain locks. Transfer-in belongs to alibabacloud-domain-commerce. Keep nameserver delegation, Alidns records, Glue Records and DNSSEC distinct.
Load only relevant references
- Friendly command map: choose the role-specific supported leaf; examples are documentation identifiers, not real fixtures.
- RAM permissions: permission planning only, never grant automatically.
- Skill identity manifest: name/version source for session attribution.
The runtime contract takes precedence over map examples: EVERY Agent-issued DomainCLI invocation requires session user-agent and cli-ai-mode. Help is allowed only once after an actual same-leaf compatibility error, never broad or preemptive help.


