Skip to content

Commit dc197c1

Browse files
committed
chore: release v1.16.2
1 parent cacaecf commit dc197c1

30 files changed

Lines changed: 164 additions & 141 deletions

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
> **说明**: 版本概览摘要。最新版本的详细变更见下方表格首行的 `changelogs/releases/vX.Y.Z.md` 链接;历史版本见对应详细变更文件
44
> **最后更新**: 2026-08-03
5-
> **当前未发布**: v1.16.1 已归档;后续未发布实现继续记录到 [`changelogs/unreleased.md`](./changelogs/unreleased.md)
5+
> **当前未发布**: v1.16.2 已归档;后续未发布实现继续记录到 [`changelogs/unreleased.md`](./changelogs/unreleased.md)
66
77
---
88

99
## 版本概览
1010

1111
| 版本 | 日期 | 变更摘要 | 详细 |
1212
|------|------|---------|------|
13+
| [v1.16.2](./changelogs/releases/v1.16.2.md) | 2026-08-03 | 🔧 **ContextRead 回执耐久化与用户任务教程**:独立来源观察账本抵御 Hook/MCP 交错覆盖,修复空会话标识重放冲突;README 增加常见任务提示词与只读 CLI 帮助 | [查看](./changelogs/releases/v1.16.2.md) |
1314
| [v1.16.1](./changelogs/releases/v1.16.1.md) | 2026-08-03 | 🔧 **长会话提示有界化与项目绑定稳定性修复**:治理候选仅投影当前消息,历史状态有界压缩且新会话隔离;同会话项目绑定不再超时,唯一项目短名与 CLI 解析保持一致 | [查看](./changelogs/releases/v1.16.1.md) |
1415
| [v1.16.0](./changelogs/releases/v1.16.0.md) | 2026-08-03 |**首次初始化、用户语言与多项目运行态统一**`init` 自动生成非覆盖式 workspace Profile,`init --profile` 一步初始化唯一目标项目;用户回复与产物正文跟随消息语言,派生状态集中隔离并提供 runtime status/prune | [查看](./changelogs/releases/v1.16.0.md) |
1516
| [v1.15.9](./changelogs/releases/v1.15.9.md) | 2026-08-03 | 🔧 **SkillRoute 部分阶段 rebind 恢复防死锁**:相同语义的 ContextRead 刷新可安全迁移未完成阶段进度并重新签发新 plan cursor;rebind、status 与 Stop 返回同一可执行续页调用,语义或依赖漂移仍 fail closed | [查看](./changelogs/releases/v1.15.9.md) |
@@ -135,7 +136,7 @@
135136

136137
## 相关文档
137138

138-
- [`changelogs/releases/v1.16.1.md`](./changelogs/releases/v1.16.1.md) — 最新版本详细变更文档
139+
- [`changelogs/releases/v1.16.2.md`](./changelogs/releases/v1.16.2.md) — 最新版本详细变更文档
139140
- [`changelogs/releases/v1.16.0.md`](./changelogs/releases/v1.16.0.md) — 上一版本详细变更文档
140141
- [`changelogs/releases/v1.15.7.md`](./changelogs/releases/v1.15.7.md) — 历史版本详细变更文档
141142
- [`changelogs/releases/v1.15.0.md`](./changelogs/releases/v1.15.0.md) — 上一版本详细变更文档

RULES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# DevCodex v1.16.1 — 使用入口
1+
# DevCodex v1.16.2 — 使用入口
22

3-
> AI workflow injector for Copilot / Claude Code / Codex / Gemini / Grok · publisher: Rocky · version: 1.16.1
3+
> AI workflow injector for Copilot / Claude Code / Codex / Gemini / Grok · publisher: Rocky · version: 1.16.2
44
55
## 正式主支持客户端
66

changelogs/releases/v1.16.2.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# v1.16.2
2+
3+
> 发布日期:2026-08-03
4+
> 类型:Patch
5+
6+
## 摘要
7+
8+
本版本修复 Profile 与 memory 已完整读取后,Hook 和 MCP 进程交错写入仍可能把 ContextRead receipt 覆盖回 baseline,继而让 SkillRoute 在 commit、rebind 或阶段加载时反复返回 `CONTEXT_BINDING_PENDING` 的阻断问题;同时补充面向用户的常见任务提示词和零写入 CLI 帮助。
9+
10+
## 主要变更
11+
12+
- 新增独立、工作区隔离的 `ContextSourceObservationLedgerV1`,用有锁的单调合并保存 Profile/memory 来源观察;SkillRoute 在校验前按 ContextRead 精确身份重放,生命周期旧快照不能再抹除已完成读取。
13+
- 修复显式空 `hostSessionId` 在持久化重放时被替换为当前会话、导致同一 observation 被判定为语义冲突的问题。
14+
- 不放宽 ContextBinding 或 MCP 参数校验:错绑、Profile metadata 漂移、stale/blocked receipt 和账本写入失败继续 fail closed。
15+
- 增加生命周期覆盖、分片多写者、锁超时、来源漂移、stale 状态及空会话标识的回归测试,并用真实 Codex S15 候选探针验证完整 ContextRead、SkillRoute 与 closeout。
16+
- README 新增分析、需求确认、Bug 诊断、自动推进、深度审查、任务续接和发布请求示例;`devcodex help <command>``<command> --help` 统一为只读帮助。
17+
18+
## 验证
19+
20+
- `npm run test:skill-route`
21+
- `npm run test:full`
22+
- `npm run test:package-release`
23+
- `npm run release:dry-run:all`
24+
- npm tarball 隔离安装、线上 registry 新装与 production-eligible Codex S15。
25+
26+
## 发布说明
27+
28+
- npm 包名:`devcodex`
29+
- registry:`https://registry.npmjs.org/`
30+
- 发布分支:`main`
31+
- 发布路径:tag `v1.16.2` 触发 GitHub Actions `Publish to npm`

changelogs/unreleased.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# 未发布变更(Unreleased)
22

33
> **用途**: 记录尚未正式发版的实现级变更。
4-
> **当前**: v1.16.1 已归档到 `changelogs/releases/v1.16.1.md`;本文件仅保留历史锚点索引与镜像供 validate 探针消费。发版后新实现再写入下方「当前未发布」。
4+
> **当前**: v1.16.2 已归档到 `changelogs/releases/v1.16.2.md`;本文件仅保留历史锚点索引与镜像供 validate 探针消费。发版后新实现再写入下方「当前未发布」。
55
66
## 当前未发布实现候选
7-
- **ContextRead / SkillRoute receipt 持久化修复(PF-256 / PI-216)**:MCP Profile/memory 正文观察新增 128-slot、单 slot 512KiB 的 `ContextSourceObservationLedgerV1`,以 locked read-modify-write 合并分片/并发 writer;SkillRoute 在 commit/rebind/load_stage/status/Stop 前按 contextEpoch + planId + planContentId + activeRoot + project 精确重放,抵御 Hook/lifecycle 旧快照把 receipt 覆盖回 baseline。重放保留 MCP 证据显式空 hostSessionId,防止同 observationId 被误判语义冲突;source metadata 漂移、`stale/blocked`、lock timeout 和错绑仍 fail closed,未放宽任何 MCP/ContextBinding 参数校验。
8-
- **README 常见任务与 CLI 帮助防误写**:公共 README 新增可直接复制的分析、需求确认、Bug 诊断、`@rocky` 自动修复、深度审查、任务续接和发布请求教程;`devcodex help <command>``<command> --help` 现统一进入只读帮助,不再误执行 `init` 或进入子命令解析。`PublicReadmeContractV1` 和 CLI registry 负向探针防止教程或零写入语义回归。
7+
- **v1.16.2 已归档**:ContextRead 来源回执耐久化、空会话标识重放修复、README 常见任务教程与 CLI 只读帮助已进入 `changelogs/releases/v1.16.2.md`
98
- **v1.16.1 已归档**:长会话提示有界化、会话治理状态隔离、项目绑定稳定性与唯一短名解析修复已进入 `changelogs/releases/v1.16.1.md`
109
- **v1.16.0 已归档**:首次初始化、项目 Profile、用户语言与 workspace runtime-state 一致性已进入 `changelogs/releases/v1.16.0.md`
1110
- **v1.15.9 已归档**:SkillRoute 相同语义 rebind 现在可迁移未完成阶段前缀、重新签发新 plan cursor,并让 rebind/status/Stop 返回一致且可执行的恢复调用;语义、阶段内容或依赖漂移仍 fail closed。

content/duplication-inventory.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": "ControlContentDuplicationInventoryV1",
3-
"sourceBundleDigest": "88d55041aa3d8af562eb402a58d4b4d71f486fbd7e13e30137f20a225a61c7f2",
3+
"sourceBundleDigest": "521b6b99a2759923536cca8f71a6a36c817c716c8a831927b2025b8bd3e2527d",
44
"thresholds": {
55
"minParagraphChars": 100,
66
"sectionThreshold": 0.94,

content/instructions/00-safety.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
applyTo: "**"
33
description: 安全底线与输出语言规则,定义 S01~S07、违规处理与不可豁免边界
44
priority: P2
5-
version: 1.16.1
5+
version: 1.16.2
66
---
77
# 安全底线规范(S01~S07)
88

content/instructions/01-common.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
applyTo: "**"
33
description: 通用规范总则,覆盖优先级、意图路由、Profile/active-root、宿主适配与治理总线
44
priority: P5
5-
version: 1.16.1
5+
version: 1.16.2
66
---
77
# 通用规范
88

content/instructions/01a-profile-loading.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
applyTo: "**"
33
description: 意图驱动的 Profile 加载、active-root 路径、目标项目识别与项目现实扩展规范
44
priority: P5
5-
version: 1.16.1
5+
version: 1.16.2
66
---
77
# Profile 加载与项目现实扩展
88

content/instructions/01b-record-router.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
applyTo: "**"
33
description: 任务切换边界、RecordRouter 分流、Improvement Intake 与提交发布边界的通用规范
44
priority: P5
5-
version: 1.16.1
5+
version: 1.16.2
66
---
77
# 任务边界与 RecordRouter
88

content/instructions/01c-intent-expansion.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
applyTo: "**"
33
description: 意图识别、Intent Expansion Card、上下文重建与可见回复证据的通用规范
44
priority: P5
5-
version: 1.16.1
5+
version: 1.16.2
66
---
77
# 意图扩展与上下文重建
88

0 commit comments

Comments
 (0)