
# PARA Workspace
**Workspace Framework cho Con người & AI Agent**
[](https://opensource.org/licenses/MIT)
[](../../CHANGELOG.md)

[](https://antigravity.google/)
🇺🇸 English •
🇻🇳 Tiếng Việt •
🇨🇳 中文 •
🇪🇸 Español •
🇫🇷 Français
---
| Mục | Mô tả |
| :-- | :-- |
| [🌌 Tổng quan](#-tổng-quan) | Giới thiệu, ba nguyên tắc nền tảng |
| [📂 Kiến trúc](#-kiến-trúc) | Cấu trúc Repo + Workspace |
| [📥 Cài đặt](#-cài-đặt) | Yêu cầu, thiết lập, profiles |
| [🧠 Kernel](#-kernel-nhân-hệ-thống) | Invariants, heuristics, hợp đồng |
| [🛠️ CLI](#️-tham-chiếu-cli) | Tất cả lệnh CLI |
| [📑 Workflow Catalog](#-catalog-workflow) | 32 governed workflows |
| [🛡️ Rule Catalog](#️-rule-catalog) | 14 governance rules |
| [🧩 Skill Catalog](#-catalog-kỹ-năng-skills) | 21 reusable skills |
| [🔌 Hệ thống Công cụ](#-hệ-thống-công-cụ-v180) | Cài đặt plugin AI agentic ngoài |
| [🧩 Task Management](#-task-management-hybrid-3-file-model) | Hybrid 3-File model |
| [🔄 Nâng cấp](#-nâng-cấp-phiên-bản-upgrading) | Auto update + clean slate |
| [🗺️ Lộ trình](#️-lộ-trình) | Lịch sử version + kế hoạch |
## 🌌 Tổng quan
**PARA Workspace** là một workspace framework mã nguồn mở, định nghĩa cách con người và AI agent tổ chức tri thức và cộng tác trong dự án. Hệ thống được phân phối dưới dạng **repo** chứa kernel (hiến pháp), công cụ CLI, và templates — từ đó tạo ra các **workspace** nơi bạn thực sự làm việc. Kernel thực thi các invariants và heuristics để mọi workspace đều nhất quán, kiểm soát được, và thân thiện với agent.
### Ba Nguyên tắc Nền tảng
1. **Repo ≠ Workspace** — Repo chỉ chứa nội dung quản trị (kernel, CLI, templates). Không bao giờ chứa dữ liệu người dùng.
2. **Workspace = Runtime** — Được tạo bởi `para init`, mỗi workspace là một instance độc lập nơi bạn và agent làm việc.
3. **Kernel = Hiến pháp** — Các quy tắc bất biến mà mọi workspace phải tuân theo. Thay đổi yêu cầu RFC + nâng version.
```mermaid
flowchart TD
R["🏛️ Repo\n(Hiến pháp + Trình biên dịch)"]
W["💻 Workspace\n(HĐH Runtime)"]
A["🤖 Agent\n(Môi trường Thực thi)"]
R -->|para init| W
W -->|agent attach| A
style R fill:#4a90d9,stroke:#2c5f8a,color:#fff
style W fill:#50c878,stroke:#2e8b57,color:#fff
style A fill:#ff8c42,stroke:#cc6633,color:#fff
```
---
## 📂 Kiến trúc
### Cấu trúc Repo (Repository này)
```
para-workspace/
├── .github/ # 🤖 CI/CD — validate-pr.yml, CODEOWNERS
├── rfcs/ # 📝 Quy trình RFC — TEMPLATE.md, status in header
├── kernel/ # 🧠 Hiến pháp
│ ├── KERNEL.md
│ ├── invariants.md # 10 luật cứng (MAJOR bump)
│ ├── heuristics.md # 10 quy ước mềm
│ ├── schema/ # workspace, project, backlog, catalog schemas
│ └── examples/ # Vector kiểm thử tuân thủ
├── cli/ # 🔧 Trình biên dịch
│ ├── para # Điểm vào (Tương thích Bash 3.2+)
│ ├── lib/ # logger.sh, validator.sh, rollback.sh, fs.sh
│ └── commands/ # init, scaffold, status, migrate, archive, install, update
├── templates/ # 📦 Khuôn mẫu & Thư viện Quản trị
│ ├── common/agents/ # Workflows/, rules/, skills/ tập trung + catalog.yml
│ │ └── projects/ # .project.yml template
│ └── profiles/ # Preset: dev, general
├── tests/ # 🧪 kernel/ + cli/ integration tests
├── docs/ # 📖 Tài liệu
│ ├── architecture/ # Kiến trúc: overview, kernel
│ ├── guides/ # Hướng dẫn: development, planning
│ ├── reference/ # Tra cứu: CLI, workflows, project-rules
│ ├── rules/ # Chi tiết từng Rule (11 files)
│ └── workflows/ # Chi tiết từng workflow (22 files)
├── CONTRIBUTING.md
├── VERSIONING.md
├── CHANGELOG.md
└── VERSION
```
### Cấu trúc Workspace (Tạo bởi `para init`)
Đây là hệ thống được sinh ra dành riêng cho cá nhân bạn.
```