@nalvietnam/avatar-cli 3.32.0 → 3.33.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -1
- package/dist/index.js +196 -116
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -144,11 +144,38 @@ Nếu đổi hẳn OAuth client trên Console: cập nhật Client ID trong
|
|
|
144
144
|
|
|
145
145
|
```bash
|
|
146
146
|
npm run dev # tsup --watch
|
|
147
|
-
npm run test # vitest
|
|
147
|
+
npm run test # vitest — mặc định AUTOPILOT_PACK_FIXTURES_DIR=$PWD/../team-ai-pack/tests/fixtures
|
|
148
|
+
# (pack sibling trong workspace v3). Thiếu dir ⇒ các test đọc fixture chung
|
|
149
|
+
# với pack (scope glob, canonical JSON, binding) bị SKIP = CHƯA bảo vệ, không phải pass.
|
|
148
150
|
npm run lint # biome check
|
|
149
151
|
npm run build # production bundle vào dist/
|
|
150
152
|
```
|
|
151
153
|
|
|
154
|
+
## Autopilot (beta)
|
|
155
|
+
|
|
156
|
+
`avatar autopilot` — lớp tự hành: supervisor (CLI) giữ journal/state/gate, worker
|
|
157
|
+
`claude -p` chạy trong worktree mission cô lập, verifier độc lập quyết định done. 1
|
|
158
|
+
mission · 1 repo · 1 worker · 1 journal file (phạm vi v1).
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
avatar autopilot init --request-file <path> # khởi tạo mission từ request JSON
|
|
162
|
+
avatar autopilot run [--mission <id>] # chạy supervisor foreground
|
|
163
|
+
avatar autopilot status [--watch] [--json] # đọc trạng thái, read-only
|
|
164
|
+
avatar autopilot doctor [--json] [--reverify] # chẩn đoán settings/hook/pin/journal
|
|
165
|
+
# 7 lệnh control qua inbox (CLI local hoặc Mattermost thread):
|
|
166
|
+
avatar autopilot approve|answer|redirect|revert|pause|resume|abort
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Trạng thái nghiệm thu (2026-09-09): M1/M2 đủ, **M3 hoàn thành trừ F16** (telemetry
|
|
170
|
+
mode-aware — sang plan follow-up ngoài v1, không đụng repo `telemetry` production),
|
|
171
|
+
**M4 một phần** (brownfield survey/baseline thật trên clone repo NAL; migration/release
|
|
172
|
+
theo CI thật và capstone ME chưa nghiệm thu). Bản pack tương ứng cài qua `avatar sync
|
|
173
|
+
--local`, chưa promote `stable/latest.txt`.
|
|
174
|
+
|
|
175
|
+
- Vận hành: [`docs/autopilot-operations-one-pager.md`](docs/autopilot-operations-one-pager.md)
|
|
176
|
+
- Spec đầy đủ: [`docs/autopilot-build-spec-v1.html`](docs/autopilot-build-spec-v1.html)
|
|
177
|
+
- Roadmap + changelog: [`docs/development-roadmap.md`](docs/development-roadmap.md), [`docs/project-changelog.md`](docs/project-changelog.md)
|
|
178
|
+
|
|
152
179
|
## Liên quan
|
|
153
180
|
|
|
154
181
|
- Kiến trúc v3 (multi-repo + pack distribution): [`docs/avatar-v3-multi-repo-architecture-and-pack-distribution.html`](docs/avatar-v3-multi-repo-architecture-and-pack-distribution.html)
|