@seanyao/roll 2026.518.4 → 2026.519.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/CHANGELOG.md +31 -0
- package/README.md +26 -14
- package/bin/roll +683 -81
- package/conventions/global/AGENTS.md +6 -6
- package/conventions/templates/backend-service/AGENTS.md +4 -4
- package/conventions/templates/cli/AGENTS.md +4 -4
- package/conventions/templates/frontend-only/AGENTS.md +4 -4
- package/conventions/templates/fullstack/AGENTS.md +4 -4
- package/lib/__pycache__/roll-loop-status.cpython-314.pyc +0 -0
- package/lib/roll-backlog.py +3 -3
- package/lib/roll-brief.py +2 -2
- package/lib/roll-help.py +3 -3
- package/lib/roll-home.py +28 -8
- package/lib/roll-init.py +101 -0
- package/lib/roll-loop-status.py +24 -8
- package/lib/roll-plan-validate.py +221 -0
- package/lib/roll-status.py +4 -4
- package/package.json +1 -1
- package/skills/roll-.changelog/SKILL.md +13 -13
- package/skills/roll-.dream/SKILL.md +21 -21
- package/skills/roll-brief/SKILL.md +12 -12
- package/skills/roll-build/SKILL.md +15 -15
- package/skills/roll-debug/SKILL.md +1 -1
- package/skills/roll-design/SKILL.md +46 -46
- package/skills/roll-doc/SKILL.md +10 -10
- package/skills/roll-fix/SKILL.md +7 -7
- package/skills/roll-idea/SKILL.md +4 -4
- package/skills/roll-loop/SKILL.md +11 -11
- package/skills/roll-onboard/SKILL.md +143 -0
- package/skills/roll-peer/SKILL.md +1 -1
- package/skills/roll-propose/SKILL.md +13 -13
- package/skills/roll-sentinel/SKILL.md +1 -1
- package/template/AGENTS.md +2 -2
- /package/template/{BACKLOG.md → .roll/backlog.md} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v2026.519.2
|
|
4
|
+
|
|
5
|
+
### Improved
|
|
6
|
+
|
|
7
|
+
- **`roll init`** — 初始化流程现在显示 6 步编号进度,新建文件用绿色 `+`、合并已有用琥珀 `~`,结尾给三步上手指南 `[loop]`
|
|
8
|
+
|
|
9
|
+
## v2026.519.1
|
|
10
|
+
|
|
11
|
+
### Major(大版本重构)
|
|
12
|
+
|
|
13
|
+
- **项目结构重组 — 过程文件迁入 `.roll/`** — Phase 1 of Legacy Onboard Epic。`BACKLOG.md`、`PROPOSALS.md`、`docs/{features,briefs,dream,design,domain}/` 全部搬入 `.roll/`;`docs/guide/`、`docs/site/`、`docs/intro/` 上移到根级。一次性 breaking change,迁移指南见 `guide/{en,zh}/migration-2.0.md` `[legacy-onboard]`
|
|
14
|
+
- **新命令 `roll migrate`** — 老项目一键迁到新结构:dry-run 预览 + `git mv` 保留历史 + 单原子 commit + 三态幂等(仅老 / 仅新 / 并存) `[legacy-onboard]`
|
|
15
|
+
- **新版 `roll init` 识别 Legacy 项目** — 检测到现有源码无 `AGENTS.md` 时引导用户进入 onboard 流程:列出本机 AI agent、显式告知 token 消耗、引导运行 `$roll-onboard` `[legacy-onboard]`
|
|
16
|
+
- **新技能 `$roll-onboard`** — 三组九问 ≤ 3 分钟,AI 读懂项目后生成 `.roll/onboard-plan.yaml`,bash 侧 `roll init --apply` 执行 `[legacy-onboard]`
|
|
17
|
+
- **新命令 `roll init --apply`** — 消费 onboard plan 创建 `.roll/` 结构,按用户选择写 `.gitignore`、同步 AI 工具约定 `[legacy-onboard]`
|
|
18
|
+
- **结构强制检测** — 新版 Roll 在老结构项目上拒绝运行 + 引导 `roll migrate`(`setup` / `update` / `version` / `help` / `init` 豁免;`ROLL_SKIP_STRUCTURE_CHECK=1` 旁路) `[legacy-onboard]`
|
|
19
|
+
|
|
20
|
+
### Improved
|
|
21
|
+
|
|
22
|
+
- `AGENTS.md` §8 Documentation Conventions 重写匹配新目录结构,明确"过程默认对内、产品默认对外"原则 `[docs]`
|
|
23
|
+
- `guide/{en,zh}/practices/` 收入工程规范文档(原 `docs/practices/engineering-common-sense.md`) `[docs]`
|
|
24
|
+
- 新增 Python 校验器 `lib/roll-plan-validate.py`,验证 onboard plan 完整性、`generated_at` 24h 时效、版本兼容 `[legacy-onboard]`
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **`roll setup` 后从未开启 loop 的项目** — 不再被 macOS 自动激活、每小时弹出终端窗口 `[loop]`
|
|
29
|
+
- **`_write_backlog` 缺 `mkdir -p` 导致 `cmd_init` 在 `.roll/` 不存在时崩** `[legacy-onboard]`
|
|
30
|
+
- **`release.sh` 多 feature 时 awk `newline in string` 错误** — macOS BSD awk 不容忍 `-v var=多行`;改用 `ENVIRON` 读取 `[release]`
|
|
31
|
+
- **GitHub 仓库改名 Roll → roll** — 内部代码、测试 fixture、文档引用全部同步小写命名 `[chore]`
|
|
32
|
+
- **`.roll/backlog.md` 和 `guide/*` 中残留 `docs/features` 等老路径引用** — Story 5 sed 漏覆盖 `.roll/` 和 `guide/` 文件,dream 巡检发现后补齐 `[legacy-onboard]`
|
|
33
|
+
|
|
3
34
|
## v2026.518.4
|
|
4
35
|
|
|
5
36
|
### Improved
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
**[中文版 README](README_CN.md)**
|
|
13
13
|
|
|
14
|
-
[](https://seanyao.github.io/roll/)
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@seanyao/roll)
|
|
17
17
|
[](https://github.com/seanyao/roll/actions/workflows/ci.yml)
|
|
@@ -28,6 +28,18 @@ Roll is an autonomous delivery system for software teams — AI agents pick stor
|
|
|
28
28
|
|
|
29
29
|
_Works with Claude, Cursor, Codex, or your own agent._
|
|
30
30
|
|
|
31
|
+
## What's New in 2.0 (May 2026)
|
|
32
|
+
|
|
33
|
+
Roll 2.0 introduces a **process/product split** to keep open-source projects clean:
|
|
34
|
+
|
|
35
|
+
- **`.roll/` directory convention** — all process artifacts (backlog, features, briefs, dream logs) move out of root into `.roll/`. User-facing `guide/` and `site/` move up to root. Old `docs/` directory disappears.
|
|
36
|
+
- **`roll migrate`** — one-command migration for projects on pre-2.0 layout. `git mv` preserves history, single atomic commit, three-state idempotent.
|
|
37
|
+
- **`$roll-onboard`** — interactive skill for adopting Roll on legacy codebases without rewrites. AI reads your code, asks 9 questions in ≤ 3 minutes, produces a plan; `roll init --apply` executes it.
|
|
38
|
+
- **Three adoption patterns** — `seed` (new project), `graft` (legacy, non-invasive), `replant` (legacy, clean rebuild). See [guide/en/patterns/](guide/en/patterns/).
|
|
39
|
+
|
|
40
|
+
📖 Upgrading from 1.x? Read [guide/en/migration-2.0.md](guide/en/migration-2.0.md).
|
|
41
|
+
📖 New legacy project? Read [guide/en/legacy-onboarding.md](guide/en/legacy-onboarding.md).
|
|
42
|
+
|
|
31
43
|
## Evolution
|
|
32
44
|
|
|
33
45
|
Roll didn't start as a framework. It started as a question: *what if the AI didn't just write code, but actually shipped it?*
|
|
@@ -46,7 +58,7 @@ The goal from here: full delivery, end to end — with humans on the loop, not i
|
|
|
46
58
|
npm install -g @seanyao/roll
|
|
47
59
|
roll setup # distribute conventions to all AI clients
|
|
48
60
|
cd my-project
|
|
49
|
-
roll init # create AGENTS.md +
|
|
61
|
+
roll init # create AGENTS.md + .roll/backlog.md + .roll/features/
|
|
50
62
|
roll loop on # optional: let the agent work unattended
|
|
51
63
|
```
|
|
52
64
|
|
|
@@ -58,16 +70,16 @@ roll loop on # optional: let the agent work unattended
|
|
|
58
70
|
|
|
59
71
|
| Topic | English | 中文 |
|
|
60
72
|
|-------|---------|------|
|
|
61
|
-
| Overview & architecture | [guide/en/overview.md](
|
|
62
|
-
| Engineering methodology | [guide/en/methodology.md](
|
|
63
|
-
| Loop (autonomous executor) | [guide/en/loop.md](
|
|
64
|
-
| Dream (nightly health scan) | [guide/en/dream.md](
|
|
65
|
-
| Peer (cross-agent review) | [guide/en/peer.md](
|
|
66
|
-
| Configuration (env vars) | [guide/en/configuration.md](
|
|
67
|
-
| Skill selection guide | [guide/en/skills.md](
|
|
68
|
-
| FAQ (troubleshooting) | [guide/en/faq.md](
|
|
69
|
-
| Domain model (DDD) | [domain/context-map.md](
|
|
70
|
-
| Engineering common sense | [practices/engineering-common-sense.md](
|
|
73
|
+
| Overview & architecture | [guide/en/overview.md](guide/en/overview.md) | [guide/zh/overview.md](guide/zh/overview.md) |
|
|
74
|
+
| Engineering methodology | [guide/en/methodology.md](guide/en/methodology.md) | [guide/zh/methodology.md](guide/zh/methodology.md) |
|
|
75
|
+
| Loop (autonomous executor) | [guide/en/loop.md](guide/en/loop.md) | [guide/zh/loop.md](guide/zh/loop.md) |
|
|
76
|
+
| Dream (nightly health scan) | [guide/en/dream.md](guide/en/dream.md) | [guide/zh/dream.md](guide/zh/dream.md) |
|
|
77
|
+
| Peer (cross-agent review) | [guide/en/peer.md](guide/en/peer.md) | [guide/zh/peer.md](guide/zh/peer.md) |
|
|
78
|
+
| Configuration (env vars) | [guide/en/configuration.md](guide/en/configuration.md) | [guide/zh/configuration.md](guide/zh/configuration.md) |
|
|
79
|
+
| Skill selection guide | [guide/en/skills.md](guide/en/skills.md) | [guide/zh/skills.md](guide/zh/skills.md) |
|
|
80
|
+
| FAQ (troubleshooting) | [guide/en/faq.md](guide/en/faq.md) | [guide/zh/faq.md](guide/zh/faq.md) |
|
|
81
|
+
| Domain model (DDD) | [domain/context-map.md](.roll/domain/context-map.md) | — |
|
|
82
|
+
| Engineering common sense | [practices/engineering-common-sense.md](guide/en/practices/engineering-common-sense.md) | — |
|
|
71
83
|
|
|
72
84
|
---
|
|
73
85
|
|
|
@@ -77,9 +89,9 @@ roll loop on # optional: let the agent work unattended
|
|
|
77
89
|
|---------|-------------|
|
|
78
90
|
| `roll setup [-f]` | First-time install or re-sync conventions to all AI clients |
|
|
79
91
|
| `roll update` | Upgrade to latest version |
|
|
80
|
-
| `roll init` | Initialize project: AGENTS.md +
|
|
92
|
+
| `roll init` | Initialize project: AGENTS.md + .roll/backlog.md + .roll/features/ |
|
|
81
93
|
| `roll status` | Show sync state, skill links, detected AI tools |
|
|
82
|
-
| `roll backlog` | Show pending tasks from
|
|
94
|
+
| `roll backlog` | Show pending tasks from .roll/backlog.md |
|
|
83
95
|
| `roll loop <on\|off\|now\|status\|monitor>` | 🤖 Manage autonomous executor |
|
|
84
96
|
| `roll brief` | 🤖 Show latest owner digest |
|
|
85
97
|
| `roll peer` | 🤖 Cross-agent code review |
|