@seanyao/roll 4.710.3 → 4.713.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 +19 -0
- package/dist/postinstall.mjs +2 -0
- package/dist/roll.mjs +4417 -5149
- package/docs/architecture.md +57 -7
- package/guide/en/loop.md +17 -0
- package/guide/zh/loop.md +13 -0
- package/package.json +1 -1
- package/skills/roll-build/SKILL.md +3 -0
- package/skills/roll-build/references/full-contract.md +48 -15
- package/skills/roll-loop/SKILL.md +8 -0
- package/skills/roll-loop/references/full-contract.md +10 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## v4.713.1 — 2026-07-13
|
|
6
|
+
|
|
7
|
+
### 自动化流水线
|
|
8
|
+
- 交付"最后一公里"重做成一个对账闭环:cycle 开完 PR 就进"等待合并"挂起态、立刻释放去做下一张卡,不再干等合并;合并与记账由交付对账器在任意 `roll` 调用时完成,**退役了那个在无人值守/headless 环境常起不来的独立 PR 守护进程**(US-DELIV-001、US-DELIV-006) `[loop]`
|
|
9
|
+
- 交付真相从 main 反查:用 PR 状态 + git patch-id 认出"已交付"——**不管是循环自己合的、还是人手动合的都算数**,`roll loop cycles` 账本不再和实际交付对不上;附只读命令 `roll loop reconcile`(US-DELIV-002) `[loop]`
|
|
10
|
+
- 缺验收证据的交付在 push 前就被拦下并告警,不再留下没有 PR 的裸分支 (US-DELIV-004) `[loop]`
|
|
11
|
+
- 对账时发现 PR 的 CI 已绿,自动执行 `gh pr merge --squash`,不用等仓库开 auto-merge 也不用依赖 launchd 守护进程 (US-DELIV-003) `[loop]`
|
|
12
|
+
- 同一张卡同时只允许一个交付在途(租约),避免多个 agent 重复做同一张卡、白白烧钱 (US-DELIV-005) `[loop]`
|
|
13
|
+
- 文档同步:架构说明更新为"最后一公里=一个对账闭环、无独立守护",三仓一致 (US-DELIV-007) `[loop]`
|
|
14
|
+
|
|
15
|
+
## v4.712.1 — 2026-07-12
|
|
16
|
+
|
|
17
|
+
### 交付方法
|
|
18
|
+
- 攻防结对引擎收尾:verified/designed 档的卡遇到任何攻防异常(凑不齐异构搭档、agent 不可用、某回合卡死)都会自动降级回单个 builder 把卡做完,并留下明确的降级记录——不再有卡死,也不会悄悄退化成一份空验收(US-LOOP-106) `[loop-engine]`
|
|
19
|
+
- roll-build 交付契约与文档更新到位:攻防结对从"契约里写着"变成"引擎真的在编排",roll-build 契约、架构文档、技能库三处同步一致(US-LOOP-105) `[loop-engine]`
|
|
20
|
+
|
|
21
|
+
### 可观测
|
|
22
|
+
- 新增只读命令 `roll loop adversarial`:把攻防卡的抓洞数、平均回合数、降级率、耗时按"攻防 vs 标准"两组汇总,用数据回答"攻防结对到底有没有多抓 bug、要不要扩大适用范围"(US-LOOP-104) `[loop-engine]`
|
|
23
|
+
|
|
5
24
|
## v4.710.3 — 2026-07-10
|
|
6
25
|
|
|
7
26
|
### 交付方法
|
package/dist/postinstall.mjs
CHANGED
|
@@ -85,6 +85,8 @@ var TRUTH_FIELD_REGISTRY = [
|
|
|
85
85
|
{ field: "pr_url", surface: "runs", anchor: "pr_merge", writer: `${RUNNER}; corrected by ${BACKFILL}`, kind: "authoritative" },
|
|
86
86
|
{ field: "merged_at", surface: "runs", anchor: "pr_merge", writer: BACKFILL, kind: "derived-cache", rebuild: REBUILD_BACKFILL },
|
|
87
87
|
{ field: "merge_commit", surface: "runs", anchor: "pr_merge", writer: BACKFILL, kind: "derived-cache", rebuild: REBUILD_BACKFILL },
|
|
88
|
+
// US-LOOP-104: the adversarial-pairing outcome ({rounds,holesFound,terminationReason,degraded}|null).
|
|
89
|
+
{ field: "adversarial", surface: "runs", anchor: "cycle_outcome", writer: RUNNER, kind: "derived-cache", rebuild: "foldCycleAdversarial over the cycle's adversarial:* events (US-LOOP-104)" },
|
|
88
90
|
// ── cycle:terminal event (US-TRUTH-001) ────────────────────────────────────
|
|
89
91
|
{ field: "type", surface: "event:cycle:terminal", anchor: "cycle_outcome", writer: "buildTerminalEvent", kind: "authoritative" },
|
|
90
92
|
{ field: "schema", surface: "event:cycle:terminal", anchor: "cycle_outcome", writer: "buildTerminalEvent", kind: "authoritative" },
|