duaer-spec 0.6.2 → 0.6.3
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/ADOPT.md +7 -2
- package/CHANGELOG.md +8 -0
- package/DUADER.md +5 -3
- package/README.md +2 -0
- package/README.zh-CN.md +34 -0
- package/docs/agent/README.md +3 -1
- package/docs/agent/branching-and-release.md +12 -1
- package/docs/agent/e2e-test-plan.md +4 -0
- package/package.json +3 -2
package/ADOPT.md
CHANGED
|
@@ -12,10 +12,15 @@ npx duaer-spec init --here
|
|
|
12
12
|
npx duaer-spec update
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Do **not** use `init --here --force` as the everyday refresh. `update` reuses
|
|
16
|
+
the mode/branch from `.duaer/duaer-init.json`.
|
|
17
|
+
|
|
18
|
+
If you customized constitution / baseline / `.duaer/handoff.json` commands,
|
|
19
|
+
glance at `git diff` once and keep your overrides.
|
|
16
20
|
|
|
17
21
|
Ensure the repo has **`main`** and **`develop`**. See
|
|
18
|
-
[`docs/agent/branching-and-release.md`](docs/agent/branching-and-release.md)
|
|
22
|
+
[`docs/agent/branching-and-release.md`](docs/agent/branching-and-release.md)
|
|
23
|
+
(Chinese: [`README.zh-CN.md`](README.zh-CN.md)).
|
|
19
24
|
|
|
20
25
|
Then talk to the agent in plain language.
|
|
21
26
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.3 — 2026-09-15
|
|
4
|
+
|
|
5
|
+
### Docs: update path in installed 说明
|
|
6
|
+
|
|
7
|
+
- `DUADER.md` and `docs/agent/branching-and-release.md` document `npx duaer-spec update`
|
|
8
|
+
- Add `README.zh-CN.md` (install / update / branches)
|
|
9
|
+
- ADOPT clarifies: do not use `init --force` for everyday refresh
|
|
10
|
+
|
|
3
11
|
## 0.6.2 — 2026-09-15
|
|
4
12
|
|
|
5
13
|
### Simple update
|
package/DUADER.md
CHANGED
|
@@ -7,9 +7,10 @@ runs Brief → work → accept. Humans are not the operators of the phase machin
|
|
|
7
7
|
|
|
8
8
|
## Human experience
|
|
9
9
|
|
|
10
|
-
1. One-time: `npx duaer-spec init --here`
|
|
11
|
-
2.
|
|
12
|
-
3.
|
|
10
|
+
1. One-time install: `npx duaer-spec init --here`
|
|
11
|
+
2. Later refresh: `npx duaer-spec update`
|
|
12
|
+
3. Ongoing: describe work in chat
|
|
13
|
+
4. Review the handoff line (accepted / not yet)
|
|
13
14
|
|
|
14
15
|
## Agent procedure (autonomous)
|
|
15
16
|
|
|
@@ -42,4 +43,5 @@ Humans need not configure it for everyday use.
|
|
|
42
43
|
## Related
|
|
43
44
|
|
|
44
45
|
- Adopt: [`ADOPT.md`](ADOPT.md)
|
|
46
|
+
- Branches / go-live: [`docs/agent/branching-and-release.md`](docs/agent/branching-and-release.md)
|
|
45
47
|
- Agent ops: [`AGENTS.md`](AGENTS.md)
|
package/README.md
CHANGED
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# duaer-spec
|
|
2
|
+
|
|
3
|
+
**Duaer** 把 AI 编程助手变成**数字员工**:你用自然语言提需求,它自己跑 Spec → 实现 → 验收;只有交接干净才算完成。
|
|
4
|
+
|
|
5
|
+
你**不用**操作流程。装一次之后,说话即可。
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx duaer-spec init --here
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 更新
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx duaer-spec update
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
若你改过本地 constitution / baseline / `handoff.json` 命令,看一眼 `git diff` 即可。
|
|
20
|
+
|
|
21
|
+
## 必须有的分支
|
|
22
|
+
|
|
23
|
+
| 分支 | 作用 |
|
|
24
|
+
|---|---|
|
|
25
|
+
| `main` | 生产 / 正式上线 |
|
|
26
|
+
| `develop` | 日常集成、联调 |
|
|
27
|
+
| `feat/<name>` | 功能 → 合进 `develop` |
|
|
28
|
+
| `fix/<name>` | 缺陷 → 合进 `develop`(紧急从 `main` 出,再回补 `develop`) |
|
|
29
|
+
|
|
30
|
+
不同问题怎么上线:[`docs/agent/branching-and-release.md`](docs/agent/branching-and-release.md)
|
|
31
|
+
|
|
32
|
+
合并后:`duaer handoff [--run]` 在 `develop` 上重启本地服务(命令写在 `.duaer/handoff.json`)。
|
|
33
|
+
|
|
34
|
+
英文源:[`README.md`](README.md) · 采纳细节:[`ADOPT.md`](ADOPT.md)
|
package/docs/agent/README.md
CHANGED
|
@@ -10,4 +10,6 @@ Wins over Duaer and `examples/` when they conflict.
|
|
|
10
10
|
| [change-checklist.md](change-checklist.md) | Finish checklist |
|
|
11
11
|
| [e2e-test-plan.md](e2e-test-plan.md) | E2E scenario catalog template |
|
|
12
12
|
|
|
13
|
-
Root contract: [`AGENTS.md`](../../AGENTS.md).
|
|
13
|
+
Root contract: [`AGENTS.md`](../../AGENTS.md).
|
|
14
|
+
Adoption: [`ADOPT.md`](../../ADOPT.md) — `npx duaer-spec init --here` / `npx duaer-spec update`.
|
|
15
|
+
Chinese summary: [`README.zh-CN.md`](../../README.zh-CN.md).
|
|
@@ -199,9 +199,20 @@ All implementation edits happen inside the request worktree.
|
|
|
199
199
|
|
|
200
200
|
---
|
|
201
201
|
|
|
202
|
+
## 7. Install and update (adopters)
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
npx duaer-spec init --here # once
|
|
206
|
+
npx duaer-spec update # later refresh — no --force recipe
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Details: [`ADOPT.md`](../../ADOPT.md). Chinese summary: [`README.zh-CN.md`](../../README.zh-CN.md).
|
|
210
|
+
|
|
202
211
|
## Related
|
|
203
212
|
|
|
204
213
|
- [workflow.md](workflow.md) — R4 and development loop
|
|
205
214
|
- [change-checklist.md](change-checklist.md) — finish checklist
|
|
206
215
|
- [baseline.md](../baseline.md) — frozen: `develop` + `main`
|
|
207
|
-
- [ADOPT.md](../../ADOPT.md) — install into another repo
|
|
216
|
+
- [ADOPT.md](../../ADOPT.md) — install / update into another repo
|
|
217
|
+
- [README.zh-CN.md](../../README.zh-CN.md) — Chinese install, update, branches
|
|
218
|
+
|
|
@@ -35,6 +35,8 @@ the table for their app.
|
|
|
35
35
|
| E2E-008 | Docs require main+develop+feat+fix and typed go-live flows | manual |
|
|
36
36
|
| E2E-009 | After merge, handoff restarts services on develop (`duaer handoff`) | manual |
|
|
37
37
|
| E2E-010 | `npx duaer-spec update` refreshes an existing install | manual |
|
|
38
|
+
| E2E-011 | Installed docs (`DUADER.md`, `docs/agent/`) document `update` | manual |
|
|
39
|
+
| E2E-012 | `README.zh-CN.md` covers install, update, branch model | manual |
|
|
38
40
|
|
|
39
41
|
## Traceability
|
|
40
42
|
|
|
@@ -50,3 +52,5 @@ the table for their app.
|
|
|
50
52
|
| E2E-008 | `branching-and-release.md` | Branch + release matrix |
|
|
51
53
|
| E2E-009 | `.duaer/handoff.json` / `duaer handoff` | Service handoff |
|
|
52
54
|
| E2E-010 | `duaer update` | One-line refresh |
|
|
55
|
+
| E2E-011 | DUADER + agent docs | Update path in installed 说明 |
|
|
56
|
+
| E2E-012 | `README.zh-CN.md` | Chinese 说明文档 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "duaer-spec",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Digital employees: autonomous delivery; main/develop/feat/fix; simple update",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"docs/agent",
|
|
19
19
|
"docs/baseline.md",
|
|
20
20
|
"LICENSE",
|
|
21
|
-
"README.md"
|
|
21
|
+
"README.md",
|
|
22
|
+
"README.zh-CN.md"
|
|
22
23
|
],
|
|
23
24
|
"publishConfig": {
|
|
24
25
|
"access": "public"
|