- broker: a context-window 400 fails its generation (fences nothing) and goes back to Pi as context_length_exceeded, so Pi compacts and resends - runner: new generation ID after compaction, wait for Pi's resumed run, record kept_messages; drop agent/context-mask.js and context_mask_chars - models.json: contextWindow large so Pi compacts only on a real overflow, never on an estimate right before a pause (resume would not match) - export: compactions[] gives what the model actually saw after each one - prompt: keep facts and acceptance, drop how-to rules and coaching (SYSTEM.md 89->64 lines, e2e.md 27->20); stage status == stage wait Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
项目文档
本目录收录 BPU 量化轨迹工厂的设计与方法说明,原始文档内容保持不变:
运行入口与配置方式见 项目 README,实现约定见 CONTRACT.md。文档中的实验状态、服务器路径和实测结果对应其编写时间;当前运行状态需要重新核查。
SFT采集可靠性 V1(实施与验收)
- 计划与规范入口
- 实施计划:数据、GLM共享配额、生命周期、实时看板一体交付。
- 自动验收标准 与 机器用例清单:全部用例初始为NOT_RUN。
- 确定性数据规则:默认保留、100%覆盖、身份去重、因果闭合及版本回滚。
规则与运行规范放在该文档目录的 rules/;当前实现入口见 IMPLEMENTATION,逐步独立验收见 PROGRESS。模块通过不表示整版验收通过。
Git 收录范围
仓库收录 harness、模型适配器、Agent 配置模板、数据导出代码、脚本、测试、registry、配置和项目文档,保留现有提交历史。
模型权重、ONNX/HBM、数据集、缓存、运行状态、训练轨迹、评测输出、日志、第三方源码下载、压缩包以及本地凭据留在各运行环境,不随源码仓库分发。原工作目录下的 outputs/ 和 job_verdicts.csv 属于运行产物;这些文件继续保留在本地。启动前按项目 README 准备依赖、数据、模型与本地环境变量。
.env.local.example 和 agent/models.json.tmpl 为可提交模板;真实 .env.local 和 agent/models.json 已被忽略。