统一运行时会话边界并准备 v0.3.2 - #147
Merged
Merged
Conversation
GroupDriver 统一 Issue/PR 的逻辑生命周期;core 定义会话创建与行为契约, adapter 管理物理资源。Codex 内部共享连接,Pi 每会话隔离进程, 只恢复失效句柄;权限分类、调度和 outbox 独立收敛。 保留 Unknown 与 Context replacement 语义,替换前释放旧句柄, 可运行 claim 只领取可用会话。健康状态汇总不互相覆盖,provider 参数 和持久化类型均沿实际 Profile。更新权威设计并关闭 task packet。 验证:fmt/check/clippy 通过;16 tests passed,1 项既有网络测试 ignored。 Pi 进程隔离、idle/active 故障、释放、terminal 顺序、Profile 选择, 以及 Issue/PR claim 和 Unknown reset 均有组件检查。 完整 Slice 3 五条旅程 PASS,真实 GitHub fixtures: xiaoland/braid-poc-test#30 xiaoland/braid-poc-test#31 Codex 0.155.0;候选二进制 SHA-256: 5e0f8b02ef92e68ead8814fd1b28598c972f40a36e8976c503123742ee822b81 本地证据:dist/runtime-topology-evidence/slice3/result.json。 失败 reaction 快照观察到 rocket→confused;断连后旧 Unknown 保留, 替换会话保持同一 generation/worktree。Fixtures 与 webhook 已清理。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue/PR 原有驱动重复维护连接生命周期,且共享单一 PiProvider 会覆盖会话。此次让 Group 统一逻辑生命周期,由 core 定义会话契约、adapter 拥有物理资源:Codex 内部复用 app-server,Pi 每会话独立进程,失效句柄单独恢复。Mention 权限分类、scheduler tick 与 outbox 独立收敛。
同时修正 Profile 参数与 provider 类型绑定、Unknown reaction、Context reset 终态及旧句柄释放,更新权威设计并准备 v0.3.2。没有新增 migration,schema 保持 v2。
验证:GitHub CI 的 fmt/check/clippy、打包与 clean-install 全部通过;本地 16 项测试通过(1 项既有网络测试 ignored)。最终 v0.3.2 发布包通过完整 Slice 3 五条真实旅程,fixtures #35/#36 已清理。断线历史 turn 保持 Unknown,新 session 恢复运行且 assignment generation/worktree 不变;失败旅程实际采样到 rocket 与 confused。
发布包 SHA-256:
854b79e3d443d2fb894b345ae05a7f79f36a879e0745bbe039c614609c385dde。二进制 SHA-256:6ddf492282c304fea9c644c640d408ee74b967af85177ef6be0b2f074dff0b6d。Pi 资源隔离及 PR claim 分流为组件证据,不声称完成它们的产品 campaign。此前一次最终包验收因 GitHub API EOF 中断,另一次重试因验收命令的 secret 读取错误中止;修正命令后以相同发布包完整重跑通过。