@seanyao/roll 3.611.2 → 3.612.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 CHANGED
@@ -1,5 +1,64 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ### 稳定性
6
+
7
+ - `roll attest --capture-command` 截图后不再弹 macOS 终止进程确认
8
+ <!-- evidence: .roll/features/acceptance-evidence/FIX-266/latest/FIX-266-report.html -->
9
+
10
+ ## v3.612.1 — 2026-06-12
11
+
12
+ ### 新功能
13
+
14
+ - `roll loop go` — 连续跑 backlog 到完成或暂停(US-GOAL-002) `[loop]`
15
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-002/latest/US-GOAL-002-report.html -->
16
+ - `roll loop goal` — 查看目标、安全闸和最后裁定(US-GOAL-001) `[loop]`
17
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-001/latest/US-GOAL-001-report.html -->
18
+ - `roll peer` — 一次性外部评审有结构化记录(FIX-255) `[loop]`
19
+ <!-- evidence: .roll/features/goal-mode/FIX-255/latest/FIX-255-report.html -->
20
+
21
+ ### 可见性
22
+
23
+ - 交付档案新增真相板,一眼看 Story/Cycle/Release(US-TRUTH-011) `[truth]`
24
+ <!-- evidence: .roll/features/feedback-truth-alignment/US-TRUTH-011/latest/US-TRUTH-011-report.html -->
25
+ - epic 页能直接打开总览设计文档(US-DOSSIER-009)
26
+ <!-- evidence: .roll/features/delivery-dossier/US-DOSSIER-009/latest/US-DOSSIER-009-report.html -->
27
+ - 主帮助只显示常用命令,机器入口收进对应分组(REFACTOR-052) `[loop]`
28
+ - 帮助与文档已跟 goal/peer 新命令对齐(US-GOAL-007)
29
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-007/latest/US-GOAL-007-report.html -->
30
+
31
+ ### 自动化流水线
32
+
33
+ - goal 完成前按主干证据裁定,不再提前报 Done(US-GOAL-003) `[loop]`
34
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-003/latest/US-GOAL-003-report.html -->
35
+ - goal 无进展会跳卡报警,不再空转烧熔断(US-GOAL-004) `[loop]`
36
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-004/latest/US-GOAL-004-report.html -->
37
+ - goal 连跑有预算、用量和时间盒安全闸(US-GOAL-005) `[loop]`
38
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-005/latest/US-GOAL-005-report.html -->
39
+ - goal 完结前有异构终审,降级也会留痕(US-GOAL-006) `[loop]`
40
+ <!-- evidence: .roll/features/goal-mode/US-GOAL-006/latest/US-GOAL-006-report.html -->
41
+ - `roll loop resume` 清失败计数,不再恢复即熔断(FIX-251) `[loop]`
42
+ <!-- evidence: .roll/features/loop-engine/FIX-251/latest/FIX-251-report.html -->
43
+ - loop 出网预检不再依赖 macOS 默认缺失的 GNU `timeout`,避免直连正常时误报 `egress blocked`(FIX-257) `[loop]`
44
+ - 调度环境残留会被体检指出,不再静默污染 loop(FIX-232) `[loop]`
45
+
46
+ ### 稳定性
47
+
48
+ - `roll loop go --cards` 不再沿用上次暂停的全量范围(FIX-259)
49
+ - goal 失败原因现在直达状态页,不再只剩 `no_cycle_terminal`(FIX-260)
50
+ - 验收证据不再只靠文字声明,缺截图会被指出(FIX-258)
51
+ - `roll attest --capture-command` 不再把失败命令当验收通过(FIX-263)
52
+ - `roll attest --capture-command` 相对路径按项目目录执行(FIX-262)
53
+
54
+ ### 工程和测试
55
+
56
+ - `roll attest` 现在识别新卡的验收清单(FIX-261)
57
+ <!-- evidence: .roll/features/acceptance-evidence/FIX-261/latest/FIX-261-report.html -->
58
+ - 新 worktree 跑 `roll test` 会自动补齐 skills(FIX-264)
59
+ - goal/off/pause 的文档讲清了和定时 loop 的关系(FIX-256)
60
+
61
+
3
62
  ## v3.611.2 — 2026-06-11
4
63
 
5
64
  ### 事实对齐(US-TRUTH 史诗全量交付)
package/README.md CHANGED
@@ -44,39 +44,49 @@ First time through? Start with [Getting started](guide/en/getting-started.md).
44
44
  | Command | Description |
45
45
  |---------|-------------|
46
46
  | **Autonomy · daily use** | |
47
- | `roll loop <on\|off\|now\|status\|runs\|log\|story\|events\|eval\|signals\|fmt\|pr-inbox\|mute\|unmute\|pause\|resume\|reset\|gc>` | Manage the autonomous BACKLOG executor (incl. per-cycle result scoring) |
47
+ | `roll loop <on\|off\|now\|status\|runs\|log\|story\|events\|eval\|signals\|alert\|fmt\|pr-inbox\|mute\|unmute\|pause\|resume\|reset\|gc>` | Manage the autonomous BACKLOG executor (incl. per-cycle result scoring) |
48
+ | `roll loop go [--epic <e>\|--cards <ids>] [--budget <usd>] [--for <duration>] [--review <auto\|hetero\|self\|off>]` | Run goal mode manually until the scoped work completes, pauses, or hits a budget/usage/timebox guardrail; it can run while the scheduler is off, and a paused loop should be resumed first; final review defaults to `auto` |
49
+ | `roll loop goal` | Show persisted goal scope, review mode, usage, limits, safety gate, and last decision |
48
50
  | `roll brief` | Show latest owner brief |
49
51
  | `roll backlog [sync\|block\|defer\|lint\|…]` | View, manage, and sync (from GitHub Issues) pending tasks |
50
- | `roll alert [run-once]` | View / clear loop alerts |
52
+ | `roll loop alert [list\|ack\|resolve\|log]` | View / clear loop alerts |
51
53
  | `roll status` | Show current state and drift |
52
- | `roll doctor` | Environment + install diagnosis (agents, plists, launchd lanes) |
53
- | `roll dream run-once` | Nightly self-scan (patterns, docs freshness, test quality) — one pass now |
54
+ | `roll doctor [skills]` | Environment + install diagnosis (agents, skill catalog, plists, launchd lanes) |
54
55
  | `roll tune [reset]` | Suggest-only self-tuning from loop trends — read-only, never auto-applies |
55
56
  | **Cards & evidence** | |
56
57
  | `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 |
57
58
  | `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) |
58
- | `roll attest <ID>` | Render the acceptance-evidence report into the card folder |
59
- | `roll index` | Rebuild the three-layer Delivery Dossier (front page · epics · story dossiers) |
60
- | `roll consistency <check\|audit>` | Five-dimension gap check · US-TRUTH shadow drift audit (read-only, exit 0) |
61
- | `roll changelog` | Sync CHANGELOG from merged work |
62
59
  | **Project · per repo** | |
63
60
  | `roll init` | Set up Roll in this project (agent-driven onboarding for legacy code) |
64
61
  | `roll offboard` | Remove Roll from this project |
65
- | `roll migrate` | Upgrade a pre-2.0 project layout |
66
62
  | `roll test [--where] [--reset]` | Run the test suite (routes through the isolation adapter; unknown types fail loud) |
67
63
  | `roll ci [--wait]` | Show or wait for current commit's CI status |
68
- | `roll release [ship\|waiver]` | Release guidance · gated tag push (`ship`) · recorded drift waiver (`waiver`) — npm publish stays human |
69
- | `roll feedback --type bug\|idea\|ux` | Open a GitHub issue for this project |
64
+ | `roll release [ship\|waiver\|changelog\|consistency]` | Release guidance · changelog · consistency gate · gated tag push (`ship`) · recorded drift waiver (`waiver`) |
65
+ | `roll release changelog generate [--write]` | Sync CHANGELOG from merged work |
66
+ | `roll release consistency <check\|audit>` | Five-dimension gap check · US-TRUTH shadow drift audit (read-only, exit 0) |
70
67
  | `roll pair [init\|status]` | Cross-agent pairing: heterogeneous peer re-checks during builds |
68
+ | `roll peer [--reviewer <agent>] (--prompt <text>\|--file <path>)` | One-shot structured external-provider review; records `.roll/peer/runs.jsonl` |
71
69
  | **Config & machine** | |
72
70
  | `roll config [lang <zh\|en\|--reset>\|…]` | Read/write roll config (language, loop window, dream time) |
73
71
  | `roll agent [set <slot> <agent>\|use <name>\|list]` | Per-machine complexity-slot routing (easy/default/hard/fallback) |
74
72
  | `roll prices [refresh]` | Model price table (cost accounting source) |
75
- | `roll skills` | Skill catalog status |
76
- | `roll setup [-f]` | First-time install or re-sync conventions to all AI clients |
73
+ | `roll setup [skills\|-f]` | First-time install, skill catalog generation, or re-sync conventions to all AI clients |
77
74
  | `roll update` | Upgrade to latest + re-sync |
78
75
  | `roll --version` / `roll -v` | Print installed roll version |
79
76
 
77
+ ## Truth Model In The UI
78
+
79
+ The Delivery Dossier is a truth projection, not a backlog mirror. Persistent
80
+ facts flow through one read path: anchors -> selectors -> adapter ->
81
+ projections. `roll index` renders the front truth board from three aggregates:
82
+ Story, Cycle, and Release.
83
+
84
+ - A backlog row is a claim; merge evidence on `main` and recorded acceptance
85
+ evidence are truth. A premature `✅ Done` claim is shown as drift.
86
+ - Cycle history is read through the TerminalOutcome vocabulary, not legacy
87
+ free-form summary text.
88
+ - Missing facts render as `?`. A visible `0` means a known zero, not unknown.
89
+
80
90
  ## Repository layout
81
91
 
82
92
  Dev side — a pnpm monorepo. Publish side — one npm package.
@@ -99,7 +109,7 @@ Published as a single npm package `@seanyao/roll`: `dist/` (the CLI bundled to o
99
109
  |---|---|
100
110
  | **Start here** | [Getting started](guide/en/getting-started.md) · [Overview & architecture](guide/en/overview.md) · [Engineering methodology](guide/en/methodology.md) |
101
111
  | **Daily driving** | [The loop (autonomous executor)](guide/en/loop.md) · [Configuration](guide/en/configuration.md) · [Pricing & cost](guide/en/pricing.md) · [FAQ](guide/en/faq.md) |
102
- | **Quality machinery** | [Acceptance evidence (`roll attest`)](guide/en/acceptance-evidence.md) · [Evidence lifecycle](guide/en/acceptance-evidence.md#lifecycle-in-three-stages) · [Consistency & release gate](guide/en/consistency.md) · [Cross-agent pairing](guide/en/pairing.md) · [Test isolation](guide/en/test-isolation.md) |
112
+ | **Quality machinery** | [Acceptance evidence (`roll attest`)](guide/en/acceptance-evidence.md) · [Evidence lifecycle](guide/en/acceptance-evidence.md#lifecycle-in-three-stages) · [Consistency & release gate](guide/en/consistency.md) · [Cross-agent pairing](guide/en/pairing.md) · [Peer review](guide/en/peer.md) · [Test isolation](guide/en/test-isolation.md) |
103
113
  | **Under the hood** | [Architecture: layers · domain · invariants](docs/architecture.md) · [Verification system](docs/verification.md) · [Manifesto](docs/manifesto.md) |
104
114
 
105
115
  Full guide index: [guide/en/](guide/en/) — agents, peer review, feedback, backlog sync, adoption patterns, and more.