Repository navigation
refactor!: 精简原生 API 并退役旧版兼容实现 - #16
Merged
Merged
Conversation
This was referenced Oct 17, 2026
ZhuLinsen
force-pushed
the
codex/native-v03
branch
from
October 18, 2026 12:10
b0f0a43 to
ad2f660
Compare
ZhuLinsen
force-pushed
the
codex/native-v03
branch
from
October 18, 2026 12:11
ad2f660 to
ed00f34
Compare
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.
问题与改动
main 同时保留原生 Harness 与旧文本 Agent、全局工具目录、系统工具、Memory 和 Orchestrator。本 PR 集中原生 API,旧实现保存在独立历史分支,减少重复实现和维护入口。
已同步 main
929cfe2,保留已合入 #15 的 CLI 展示与测试,合并双方更新记录。#13 的响应式依赖、可替换 Loop 及其测试不进入本 PR。温度覆盖接入 CLI 初次启动、引导后的配置重载和模型切换。Policy、Harness、LLM、Session 和 MCP 实现不变。README 文案和布局保留,只同步双语代码统计;演示说明同步 #15 已进入主线的事实。
项目原则
包含注释和空行,统计方式不变;减少来自明确退役的实现,没有挪出统计范围或压行。保留原生工具调用、流式输出、静态插件、权限、Skills、MCP stdio、持久会话和上下文压缩。
旧版 codex/legacy-pre-harness 固定于
b437298d60e93899f7b47964267e8513df6fd3f7(#7 合入前版本)。迁移说明列明旧 Memory 不自动转换、Orchestrator 无内置等价替代,保留所有旧数据。验证与交付
qwen3.5-flash,没有替换模型回复或工具执行。bac7cee,21 个运行时 Python 文件 SHA-256 与当前提交一致;后续仅同步文档和测试说明。脱敏原始记录保留在本地,旧首页录屏不冒充本次验收。5fc475e的 8 项远端组合 CI 全部通过,覆盖 Linux / Windows、Python 3.11 / 3.12;含完整回归、静态检查、依赖审计、构建与最小安装:Lean Harness CI、Stacked PR Regression。使用本提交结果,不复用ed00f34的旧结论。兼容与回滚
这是有迁移说明的 breaking change / alpha candidate:移除旧 MiniAgent、文本模式、Memory、Orchestrator、旧系统工具和 legacy/docx extras。顶层旧入口给出迁移提示,已删除子模块不保留导入兼容;详见 docs/legacy-migration.md。原生 JSONL、权限和连接格式不变。
本 PR 已与当前 main/#15 组合,不依赖 #13;本提交组合 CI 已通过,当前可单独合入。本轮只修复和更新 PR,不合入 main、不改变 About、不发版或打 tag。
回滚本 PR 的合入提交可恢复 main 的 0.2 过渡实现,并保留 #15 的 CLI 展示。保留 Session / Memory 文件,未知副作用先检查再 resolve,不因回滚重放工具。