@seanyao/roll 3.626.2 → 3.628.1
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/CHANGELOG.md +34 -0
- package/README.md +21 -6
- package/dist/roll.mjs +6278 -3872
- package/lib/README.md +2 -2
- package/lib/roll-plan-validate.py +147 -2
- package/package.json +1 -1
- package/skills/README.md +1 -1
- package/skills/roll-onboard/SKILL.md +200 -150
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## v3.628.1 — 2026-06-28
|
|
6
|
+
|
|
7
|
+
### 上手引导
|
|
8
|
+
|
|
9
|
+
- **`roll init` 给出的 PRD 下一步现在能直接运行**:`roll design --from-file <path>` 会校验输入文件并把 PRD/brief 绑定到 `$roll-design`,不再落到 usage。(#1065) `[legacy-onboard]`
|
|
10
|
+
|
|
11
|
+
## v3.627.1 — 2026-06-27
|
|
12
|
+
|
|
13
|
+
### 上手引导
|
|
14
|
+
|
|
15
|
+
- **新拆的卡会带验收契约**:`roll design` 现在把预期证据和评分重点写进 story,交付和评审看同一份标准。(US-SKILL-030) `[skill-ecosystem]`
|
|
16
|
+
<!-- evidence: .roll/features/skill-ecosystem/US-SKILL-030/2026-06-27T02-11-16/US-SKILL-030-report.html -->
|
|
17
|
+
- **`roll init` 会先分清项目类型**:PRD、空项目、已有代码库、partial Roll、旧布局和已就绪项目都会走不同下一步。(US-INIT-004, US-INIT-005, US-INIT-006a, US-INIT-009) `[legacy-onboard]`
|
|
18
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-004/latest/US-INIT-004-report.html -->
|
|
19
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-005/latest/US-INIT-005-report.html -->
|
|
20
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-006a/latest/US-INIT-006a-report.html -->
|
|
21
|
+
- **已有代码库先诊断再应用**:`roll init` 先产诊断和计划,确认后再 `roll init --apply`,不会一上来改你的仓库。(US-INIT-006b, US-INIT-006c, US-INIT-006d) `[legacy-onboard]`
|
|
22
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-006b/latest/US-INIT-006b-report.html -->
|
|
23
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-006c/latest/US-INIT-006c-report.html -->
|
|
24
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-006d/latest/US-INIT-006d-report.html -->
|
|
25
|
+
- **`roll init --apply` 可以放心重跑和退出**:重复执行会复用变更账本,`roll offboard` 只移除 Roll 管理的内容。(US-INIT-006e, US-INIT-006f) `[legacy-onboard]`
|
|
26
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-006e/latest/US-INIT-006e-report.html -->
|
|
27
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-006f/latest/US-INIT-006f-report.html -->
|
|
28
|
+
- **`roll next` 成了上手流程的继续按钮**:init、onboard、repair、migrate、design 和下一张 Todo 都会收束到一个显然下一步。(US-INIT-007) `[legacy-onboard]`
|
|
29
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-007/latest/US-INIT-007-report.html -->
|
|
30
|
+
- **文档、CLI help 和站点图现在讲同一条路**:README、指南、skill contract 和 `$roll-onboard` 图都改成“已有代码库”视角。(US-INIT-008) `[legacy-onboard]`
|
|
31
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-008/latest/US-INIT-008-report.html -->
|
|
32
|
+
|
|
33
|
+
### 稳定性
|
|
34
|
+
|
|
35
|
+
- **验收截图不再能伪造现场**:CLI 用 Terminal.app,站点图用真实浏览器窗口;无 GUI 或无权限时诚实跳过。(US-INIT-003d, US-INIT-008) `[acceptance-evidence]`
|
|
36
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-003d/latest/US-INIT-003d-report.html -->
|
|
37
|
+
<!-- evidence: .roll/features/init-onboard/US-INIT-008/latest/US-INIT-008-report.html -->
|
|
38
|
+
|
|
5
39
|
## v3.626.2 — 2026-06-26
|
|
6
40
|
|
|
7
41
|
### 自动化流水线
|
package/README.md
CHANGED
|
@@ -33,12 +33,26 @@ Requirements: Node.js ≥ 22. Roll is a self-contained TypeScript CLI — no run
|
|
|
33
33
|
```bash
|
|
34
34
|
cd your-project
|
|
35
35
|
roll init # set up Roll here (interactive confirmation)
|
|
36
|
+
roll next # continue with design, apply, repair, migrate, loop, or status
|
|
36
37
|
roll loop on # let AI work through the backlog (optional)
|
|
37
38
|
```
|
|
38
39
|
|
|
39
|
-
`roll init`
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
`roll init` first diagnoses the current directory. Complete Roll projects get
|
|
41
|
+
`Already initialized` and `Next: roll status`; partial Roll projects get
|
|
42
|
+
`roll init --repair`, while pre-2.0 layouts get migration guidance without writing files. Existing codebases route to
|
|
43
|
+
`$roll-onboard`. PRD/docs-only workspaces are treated as new projects: Roll writes
|
|
44
|
+
`.roll/brief.md` from the detected document and points to
|
|
45
|
+
`roll design --from-file <detected-doc>`.
|
|
46
|
+
Empty directories ask what you are building in an interactive terminal; in scripts
|
|
47
|
+
and CI, plain `roll init` is read-only and `roll init --auto` writes a placeholder
|
|
48
|
+
brief before pointing to `roll design`.
|
|
49
|
+
For existing-codebase grafts, `roll init --apply` validates the generated
|
|
50
|
+
artifacts, prints a review checkpoint with every planned file operation, and
|
|
51
|
+
waits for owner confirmation before writing. Automation must use
|
|
52
|
+
`roll init --apply --auto` after that review.
|
|
53
|
+
After any init path, `roll next` is the continuation button: it reads the same
|
|
54
|
+
brief, onboard plan, backlog, and Roll markers, then prints one best next
|
|
55
|
+
command instead of a menu.
|
|
42
56
|
First time through? Start with [Getting started](guide/en/getting-started.md).
|
|
43
57
|
|
|
44
58
|
## Quick start for new projects
|
|
@@ -73,15 +87,16 @@ with `roll loop resume` when ready.
|
|
|
73
87
|
| `roll loop alert [list\|ack\|resolve\|log]` | View / clear loop alerts |
|
|
74
88
|
| `roll status` | Verdict-first truth summary read from the ONE snapshot — LOOP · CYCLE · RELEASE · STORY, with the STORY line's attest-coverage % (`done ≡ merged ∧ attested`) — then convention/AI-client sync health |
|
|
75
89
|
| `roll pulse [--json]` | Today's delivery pulse: cycles in window, merged count, attested count, plus an ASCII sparkline from the story spectrum. Bilingual EN/中. `--json` for machine-readable output |
|
|
76
|
-
| `roll doctor [skills]` | Environment + install diagnosis
|
|
90
|
+
| `roll doctor [skills\|--tools]` | Environment + install diagnosis; `roll doctor --tools` shows focused tool and screenshot readiness, including Terminal.app Screen Recording |
|
|
77
91
|
| `roll daemon <start\|stop\|status>` | Opt-in read-only observability daemon for the live console; defaults to `127.0.0.1:7077`, records `.roll/loop/daemon.pid`, and is never auto-started by the loop |
|
|
78
92
|
| `roll tune [reset]` | Suggest-only self-tuning from loop trends — read-only, never auto-applies |
|
|
79
93
|
| **Cards & evidence** | |
|
|
80
94
|
| `roll idea "<one-sentence description>"` | Capture a card: auto-classify, number, lint, infer epic, mint the full story folder — the one user entry for adding cards |
|
|
81
95
|
| `roll story new <ID> --title <t> [--epic <e>] [--no-index]` | The one minting entry agents/skills use: card folder + backlog row + index refresh (`--no-index` for batches) |
|
|
82
96
|
| **Project · per repo** | |
|
|
83
|
-
| `roll init` |
|
|
84
|
-
| `roll
|
|
97
|
+
| `roll init` | Diagnose this directory and route to fresh scaffold, PRD/design handoff, existing-codebase onboard, repair, migration, or `roll status` |
|
|
98
|
+
| `roll next` | Continue the init/onboard journey with one best next command: design, apply, repair, migrate, loop, or status |
|
|
99
|
+
| `roll design [--from-file <path>] [--agent <name>]` | Launch `$roll-design` interactively; `--from-file` binds a PRD/brief as the design input |
|
|
85
100
|
| `roll offboard` | Remove Roll from this project |
|
|
86
101
|
| `roll test [--where] [--reset]` | Run the test suite (routes through the isolation adapter; unknown types fail loud) |
|
|
87
102
|
| `roll daemon <start\|stop\|status>` | Manage the read-only observability daemon (OPT-IN only; never auto-started) |
|