reasonweave 1.4.9 → 1.4.12
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/AGENTS.md +15 -14
- package/INSTALL.md +8 -8
- package/README.md +19 -18
- package/docs/CONSUMER-PROMPTS.md +11 -11
- package/docs/backlogs/17-feat-role-action-matrix-and-ticket-affinity.md +52 -0
- package/group/architecture/adr/0018-role-drift-prevention-and-deterministic-fsm-authorization.md +101 -0
- package/group/architecture/adr/0019-declarative-role-action-matrix-session-ticket-affinity-and-cross-platform-resilience.md +115 -0
- package/group/architecture/adr/INDEX.md +2 -0
- package/package.json +1 -1
- package/units/handoffs/AGENT-GUIDE.md +2 -2
- package/units/handoffs/CHANGELOG.md +43 -0
- package/units/handoffs/README.md +3 -1
- package/units/handoffs/RESPONSE-TEMPLATE.md +20 -8
- package/units/handoffs/VERSION.md +1 -1
- package/units/handoffs/handoff.mjs +541 -92
- package//344/275/277/347/224/250/350/257/264/346/230/216.md +5 -5
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
| **backlog** | `backlog/` | 待办捕获:越界 / 待拍板 / 未来功能,一任务一文件,`docs/backlogs/` |
|
|
55
55
|
| **codegraph** | `docs/codegraph-readiness-check.md` | 代码语义索引就绪检查(索引工具本身需独立安装,本库只含就绪检查文档) |
|
|
56
56
|
| **code-review-graph** | `docs/code-review-graph-guide.md` | 代码审查与变动爆炸半径(Blast Radius)分析引擎就绪与使用指引 |
|
|
57
|
-
| **handoffs** | `handoffs/` | 跨仓 / 仓内交接枢纽(`handoff.mjs` 引擎 + 中央契约 **v2.
|
|
57
|
+
| **handoffs** | `handoffs/` | 跨仓 / 仓内交接枢纽(`handoff.mjs` 引擎 + 中央契约 **v2.45.0**),声明式 Role-Action 权能矩阵与会话-工单互斥粘性锁 (ADR-0019)、Windows 文件锁指数退避自愈与跨平台路径归一化、动态角色权能锚定 Banner、防角色漂移物理白名单、确定性 FSM 授权与反向提示词拦截 (ADR-0018)、统一工单与会话ID、防跨会话硬门禁、宿主后台任务契约与自主续办协议、严禁将普通 shell `session_id` 当作自动唤醒保证、明确降级协议与会话恢复自动续办纪律、修复发起方 delivered 看板不可见缺陷、跨客户端角色锚定与状态机归属确定性 (ADR-0016)、根治建单 from_lane 为空与上游角色倒错、出站提示词双向锚定、自主双盲审计分诊协议、避免角色漂移、纯化入站单行裁决提示词、Rule 8 分级 SDD 验收与负向测试先行证明、`--profile readonly` 生产源码写保护物理硬门禁、HMAC-SHA256 密码学审计凭据 (`audit.token`)、出站提示词防注入三段式、五态状态机、显式身份 `--as`、无条件下车与事件唤醒 |
|
|
58
58
|
| **worktree** | `worktree/` | 基于 Git Worktree 的物理目录隔离调度引擎,为多 Agent 并发分配独立沙盒,智能共享依赖缓存(v0.1.1,支持 `--version` 与契约门禁) |
|
|
59
59
|
| **orphan** | `orphan/` | 全局死代码与孤儿资产清道夫与反假接线三层正交治理(**v1.4.2**,ADR-0009 / ADR-0011 / ADR-0013):只读 Git HEAD、S1–S3 求解器、L1/L2/L3 规范、Tier 1/2 自查、`check-deps [--strict]` 孤儿依赖求解器、`scan-secrets [--strict]` 零调用高熵假凭证探针、动态 SSOT 与 `--version` 支持 |
|
|
60
60
|
| **spec-guard** | `spec-guard/` | 架构规约与物理接线守卫(**v2.2.1**):P3' 三元对账、三维热力表、ADR 机器信任根验签、物理接线探针、约定阈值解耦、零覆盖假绿防卫、暂存区增量快速放行、动态 SSOT 与 `--version` 支持 |
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
解压后验证目录结构:
|
|
82
82
|
应能看到 `bin/`、`group/`、`units/`(包含 `adr/`、`backlog/`、`handoffs/`、`orphan/`、`spec-guard/`、`worktree/`、`skills/`、`playbook/`、`preflight/`、`review-gate/`)、`constitution.md`、`INSTALL.md` 以及本文件 `使用说明.md`。顶层同名软链接(如 `orphan`、`spec-guard`、`skills`)为向后兼容保留,勿删除。
|
|
83
83
|
|
|
84
|
-
> **已装过旧版本?** 本轮新增了多个 CLI,且接入桩正文已演进至最新版(v2.
|
|
84
|
+
> **已装过旧版本?** 本轮新增了多个 CLI,且接入桩正文已演进至最新版(v2.45.0)。升级必须先在 lab 仓重跑 `npm link`,再在每个消费方仓根跑 `baton install` + `baton link --check`(或直接使用 `lab sync-consumers` 一键全自动同步)。完整步骤见 [INSTALL.md §4](INSTALL.md),可直接复制给消费方 Agent 的提示词见 [docs/CONSUMER-PROMPTS.md 场景五](docs/CONSUMER-PROMPTS.md)。
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
@@ -101,7 +101,7 @@ lab doctor # 自动检查依赖健康度(防误报探针:支持 ~/.loca
|
|
|
101
101
|
baton doctor # 引擎版本 + shim 指向 + 接入桩版本一致性(等价 baton link --check)
|
|
102
102
|
baton check # 交接 / 回执合规自检
|
|
103
103
|
```
|
|
104
|
-
若 Node 和 Git 显示绿色对勾、`baton doctor` 显示「桩版本 == 引擎版本 (v2.
|
|
104
|
+
若 Node 和 Git 显示绿色对勾、`baton doctor` 显示「桩版本 == 引擎版本 (v2.45.0)」,即代表核心能力全部就绪。
|
|
105
105
|
|
|
106
106
|
---
|
|
107
107
|
|
|
@@ -129,7 +129,7 @@ baton check # 交接 / 回执合规自检
|
|
|
129
129
|
```
|
|
130
130
|
详见 `adr/docs/new-project-prompt.md`。
|
|
131
131
|
|
|
132
|
-
5. **handoffs / baton(多仓 / 多 Agent 协作中枢 · 契约 v2.
|
|
132
|
+
5. **handoffs / baton(多仓 / 多 Agent 协作中枢 · 契约 v2.45.0)**
|
|
133
133
|
```bash
|
|
134
134
|
baton install # 把接入桩注入 AGENTS.md / CLAUDE.md / GEMINI.md / README.md 及全局载体(幂等)
|
|
135
135
|
baton link # 把 baton / handoff shim 自愈接入 ~/.local/bin;顺带自动重刷漂移的项目桩
|
|
@@ -263,7 +263,7 @@ baton check # 交接 / 回执合规自检
|
|
|
263
263
|
|
|
264
264
|
---
|
|
265
265
|
|
|
266
|
-
## 八、注意力节流与工作树物理隔离实战(v2.21 起 · 现版本 v2.
|
|
266
|
+
## 八、注意力节流与工作树物理隔离实战(v2.21 起 · 现版本 v2.45.0)
|
|
267
267
|
|
|
268
268
|
> **设计哲学**:Take as little human attention as possible, and give as much value as possible.
|
|
269
269
|
> (占用尽可能少的人类注意力,交付尽可能多的确定性价值。)
|