qianwenyun-deploy — Skill Architecture

Agent-driven orchestration: scripts are dumb, the Agent decides — Alibaba Cloud (千问云) one-click deploy via ROS

Alibaba Cloud — 千问云 (ROS-managed region) User natural language intent Claude Agent SKILL.md · 14-step / 3-step decision-maker Scripts py + sh · no branching signals & wrappers aliyun CLI ROS · ECS · OSS ROS stack orchestration .qianwenyun-deploy state + .local secrets hot-update source OSS temp bucket artifacts + template signed URLs · 7-day ECS ×1 / ×2 Nginx + backend (userdata) EIP / SLB public entry RDS MySQL 8.0 internal optional deploy · update · delete analyze · render · upload aliyun calls ROS API upload artifacts record / hot-update provision EIP / SLB route :80 SQL pull (userdata) Legend External Backend Cloud Database

Control plane — Agent decides

  • • Agent reads SKILL.md + reference/ to pick app_type, nginx_mode, topology, RDS
  • • Scripts are deliberately dumb: signals in, CLI calls out — zero branching logic
  • • Agent dispatches on documented exit codes (0 / 2 / 3 …), never the scripts

Data plane — ROS-managed

  • • single: 1 ECS + EIP + VPC + SG · HA: 2 ECS cross-AZ + SLB
  • • OSS temp bucket (7-day lifecycle) carries signed artifact URLs
  • • Optional RDS MySQL 8.0 internal-only; ECS pulls artifacts via userdata bootstrap

Hard constraints

  • • AK/SK never collected via chat; ROS must use --TemplateURL (WAF blocks body)
  • • Probe = two gates: /healthz then / · 502/504 = backend down despite Nginx up
  • • Cleanup only via delete_stack.sh — ROS releases resources in dependency order