Quality phase02 I1: context fidelity (Backend #112) #280

Merged
weichen merged 7 commits from feature/agent-quality-phase02 into main 2026-10-09 15:12:03 +00:00
Owner

摘要

P2 上下文保真 · 增量 I1 的 Dev 组合 PR。组件:Backend #112(已含 after-run 修复)。
主记录:Documents 2026-10-09-agent-quality-improvement-plan.md §4 P2。

四项:窗口 token 化(128k 默认替换 32k 字符硬编码)、被清理工具结果落盘留可读路径、
附件解析文本持久 inputs/<名>.md 且环境段跨轮列出全部工作区文件、MiniMax 类交错思考
模型历史回传 <think>(auto|on|off)。附带:超长工具输出转存(tool-*.txt)不进交付门禁
与交付卡片。

真实模型对照(before=main b68833f,after=908fb25/1167927,同 golden 集)

指标(plan-followup 3 轮) before after
未核实数字 13 0
读原件次数 49(P1 后)→ 但仍依赖整轮重读 3(inputs/*.md 直读)+ minutes-basic 0→12
检查失败 7 1
工具调用 78 42

pm-tool 单任务复验(1167927):tool-*.txt 门禁误伤清零,交付清单只剩交付物。

Evidence

  • make test(组合,worktree 最终 head)PASS——任务卡 evidence 行(SELF)
  • Backend #112 CI vet-and-test success(GATE)
  • 两份 after 报告 + 单任务复验收据入 .task/phase02-eval/

剩余(I2,续本卡)

内核会话记录为权威上下文、压缩接线、regenerate/exclude 会话树映射;
composeFinal 漂移与验证器解析问题按裁定 4 归 P4/P5。

## 摘要 P2 上下文保真 · 增量 I1 的 Dev 组合 PR。组件:**Backend #112**(已含 after-run 修复)。 主记录:Documents `2026-10-09-agent-quality-improvement-plan.md` §4 P2。 四项:窗口 token 化(128k 默认替换 32k 字符硬编码)、被清理工具结果落盘留可读路径、 附件解析文本持久 `inputs/<名>.md` 且环境段跨轮列出全部工作区文件、MiniMax 类交错思考 模型历史回传 `<think>`(auto|on|off)。附带:超长工具输出转存(tool-*.txt)不进交付门禁 与交付卡片。 ## 真实模型对照(before=main b68833f,after=908fb25/1167927,同 golden 集) | 指标(plan-followup 3 轮) | before | after | |---|---|---| | 未核实数字 | 13 | **0** | | 读原件次数 | 49(P1 后)→ 但仍依赖整轮重读 | 3(inputs/*.md 直读)+ minutes-basic 0→12 | | 检查失败 | 7 | **1** | | 工具调用 | 78 | **42** | pm-tool 单任务复验(1167927):tool-*.txt 门禁误伤清零,交付清单只剩交付物。 ## Evidence - make test(组合,worktree 最终 head)PASS——任务卡 evidence 行(SELF) - Backend #112 CI vet-and-test success(GATE) - 两份 after 报告 + 单任务复验收据入 `.task/phase02-eval/` ## 剩余(I2,续本卡) 内核会话记录为权威上下文、压缩接线、regenerate/exclude 会话树映射; composeFinal 漂移与验证器解析问题按裁定 4 归 P4/P5。
weichen added 7 commits 2026-10-09 15:00:46 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-quality-phase02.md; R0=2e92b184f3f257bbe9c90fd9e8278c2b6f192251.

Impact: task metadata only; the feature workspace starts at 2e92b184f3.

Refs: .task/feature-agent-quality-phase02.md
Why: The Dev combination must test the context-fidelity increment.

Evidence: SELF - gitlink equals backend feature/agent-quality-phase02 head.

Impact: Pointer only.
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=2e92b184f3f257bbe9c90fd9e8278c2b6f192251; candidate=76d9b5b262ef80f53cd1af47c28aee555146fdb9.

Impact: task metadata only.

Refs: .task/feature-agent-quality-phase02.md
Why: The gate misfire fix from the live after-run belongs in the same increment.

Evidence: SELF - gitlink equals the backend phase02 head.

Impact: Pointer only.
weichen merged commit ccf19803cd into main 2026-10-09 15:12:03 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#280