Alibaba Cloud Domain Discovery
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 the exact user domain or suffix and requested public fact. Ask once for missing non-secret input; never substitute invented candidates.
- Judgment: validate syntax and load the role command map. Choose only check, price, whois or ask. No identity reads for public checks.
- Confirmation: read-only only, no payment/confirmation fields. Route explicit acquisition intent to commerce instead of performing it here.
- Execute: invoke the verified friendly leaf with session attribution; advance only on structured same-target success.
- Readback: validate returned target/source/currency/quote type. Availability, reference price, marketplace listing and WHOIS are separate facts. available=false does not prove a listing; WHOIS does not prove account ownership.
- Deliver: chat summary with target, separate availability and price/policy/WHOIS evidence, uncertainty and write_effect=none. A reference price is not a final quote or charge.
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.


