Skip to content

draft: context budget implementation tracking (superseded by #3848-#3851) - #3759

Draft
JasonW404 wants to merge 13 commits into
developfrom
fix/context_budget
Draft

draft: context budget implementation tracking (superseded by #3848-#3851)#3759
JasonW404 wants to merge 13 commits into
developfrom
fix/context_budget

Conversation

@JasonW404

@JasonW404 JasonW404 commented Aug 24, 2026

Copy link
Copy Markdown
Member

状态:拆分汇总,不直接合并

该大 PR 已由四个按依赖关系组织、分别验证的 PR 取代。请按以下顺序评审和合并:

  1. feat(models): establish capacity and capability governance #3848 — 模型容量与能力治理基础(base: develop
  2. feat(models): integrate governed model configuration #3849 — 模型配置治理集成(base: split/context-capacity-foundation
  3. feat(context): meter final requests and recover safely #3850 — 最终请求计量与安全恢复(base: split/context-model-governance
  4. feat(context): persist and present agent run usage #3851 — Agent 用量聚合、持久化与前端体验(base: split/context-request-recovery

拆分结果

PR 变更规模 本地 squash 提交 验证
#3848 4,294 行 b6187c3c4 容量/能力/Provider/迁移测试通过
#3849 2,984 行 7402a3b26 模型管理测试、type-check、生产构建通过
#3850 4,215 行 1657d1f3f 请求计量、Provider usage、恢复和监控测试通过
#3851 3,165 行 a82b37dfb Agent/历史/持久化测试、type-check、生产构建通过

本地合并演练

  • 在 2026-09-03 最新 origin/develop1c193e9484500110964279a913a481b3dc9fe737 上开始。
  • 每一层都创建本地临时 PR 分支,执行 git merge --squash,随后按对应 SPEC 运行测试/构建。
  • 每个 squash 结果均与对应远端拆分分支做空 diff 校验。
  • 最终四层 squash 树与原完整实现的 reconciled golden tree 完全一致。

SPEC 判据

  • Model Capacity Governance
  • Model Feature Capability Discovery
  • Final Request Budgeting and Recovery
  • Provider-observed Usage
  • Agent Run Usage Experience

详细功能、旧行为调整、项目收益和逐项验证证据位于四个替代 PR 的描述中。该 PR 保持 Draft,仅作为历史与迁移追踪入口。

Copilot AI lite review requested due to automatic review settings August 24, 2026 08:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@JasonW404
JasonW404 marked this pull request as draft August 28, 2026 09:02
@JasonW404 JasonW404 changed the title feat(context): govern and enforce Agent context budgets feat(context): complete context budgeting and model capabilities Sep 2, 2026
@JasonW404 JasonW404 changed the title feat(context): complete context budgeting and model capabilities feat(context): improve budgeting, recovery, and usage observability Sep 3, 2026
@JasonW404 JasonW404 changed the title feat(context): improve budgeting, recovery, and usage observability draft: context budget implementation tracking (superseded by #3848-#3851) Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants