---
title: "Deploy Staging"
description: "Browser không thể load source từ laptop developer một cách an toàn và reproducible. Deploy biến declared app surface thành immutable, content-addressed bytes để mọi screen, tool…"
url: "https://sotaagents.ai/vi/manual/developer-guide/deploy-staging"
generated_by: "sotaagents-ldp"
docs_index: "https://sotaagents.ai/manual/llms.txt"
locale: "vi"
---

# Deploy Staging

Browser không thể load source từ laptop developer một cách an toàn và reproducible. Deploy biến declared app surface thành immutable, content-addressed bytes để mọi screen, tool-result renderer, locale loader và artifact consumer resolve cùng một bản.

![Sơ đồ source project trở thành immutable SotaAgents artifact](/manual/assets/developer/bundle-pipeline.svg?v=2)
_Artifact upload chứa package assets và resolved definition; backend đang chạy, database, secrets và operational data không nằm trong bundle._

Terminal

```
sota validate
sota deploy --dry-run
sota deploy --description "Add grounded search results"
sota status
```

Deploy compile/pack bytes theo cách deterministic, upload rồi để Core validate authoritative definition. Shared Staging pointer chuyển tới artifact mới; Production không đổi.

> [!WARNING]
> Version là bất biến.
>
> Deploy bytes khác với version đã dùng sẽ trả `VERSION_IMMUTABLE_CONFLICT`. Hãy tăng version. Với breaking change, truyền acknowledgement và migration declaration mà CLI yêu cầu.

Muốn test Staging, exact Staging environment phải được cài và bật trong org/workspace. Tester cũng phải là owner/contributor và active workspace member.
