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