Skip to content

RFC-0038: 产物体积预算与性能门禁 - #208

Draft
eric8810 wants to merge 1 commit into
masterfrom
docs/rfc-0038-size-performance-budgets
Draft

eric8810 wants to merge 1 commit into
masterfrom
docs/rfc-0038-size-performance-budgets

Conversation

@eric8810

@eric8810 eric8810 commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

覆盖 S1/S2/S3/P、stdio 性能与持续发布门禁,明确每个产物的拟议预算、基线注册和异常处理。

状态与依赖

S1/S2/P 可独立于架构切换;stdio 场景依赖 RFC-0039。预算是提案,未测量项不能标为达标。

本 PR 属于完整 roadmap RFC 批次。整批已完成节点覆盖与跨文档契约复核,再按主题分别提交 Draft。各 PR 均独立基于 master,不叠加其他未合并文档。设计齐备不表示运行时实现或验收已完成。

验证

  • 文档编号、代码围栏、相对链接、空白检查通过
  • 本 PR 仅修改 rfc/0038-size-performance-budgets.md
  • 本地未运行构建、运行时测试、性能实测或真实 provider 探测;CI 状态以本 PR 当前 head 的检查结果为准

同批设计(均独立基于 master)

cunninghamcard-bit added a commit to cunninghamcard-bit/aimux that referenced this pull request Oct 11, 2026
…udget on unregistered; report-only still fails BUDGET_UNREGISTERED

RFC-0038a §1 :17, §9.4 :377, §12 :428 (upstream arcships#208 @ 11511b3).
cunninghamcard-bit pushed a commit that referenced this pull request Oct 13, 2026
Remove designs from the alignment document that were never implemented
and are no longer planned:

- LanguageModelRef, ResolvedModel and RegistryModelReference. Model
  references follow upstream: an operation takes a string model ID,
  resolved through a registry, or a model instance; named methods come
  from the registration's extensions. The recording target keeps the
  string ID, and live replay asks for an explicit target when there is
  none.
- Registered sidecar metadata and its propagation through resolution,
  scope and wrap. Trace metadata comes from an explicit audit family or
  an injected descriptor index, and catalogue joins use explicit
  package/model links.
- The SessionInferer trait and registration API. Session inference keeps
  the existing opt-in prefix implementation in aimux.
- Session affinity middleware. Callers pass session headers per request
  through headers, as RFC-0019 describes.

Section 1.2 rulings and the appendix entry that pointed at these designs
now state what aimux does instead.

The size and performance gates (S1-S3, P, the CLI budget) and the
capability matrix move out of the alignment document to ROADMAP as work
after the migration. Their thresholds wait for the rewrite of #208
(RFC-0038); until then each migration layer's PR lists artifact sizes
before and after.

Section 9.1 gains a known-gaps list of the agreed designs the migration
layers do not implement, one line each.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A3WxDBWBA4ituJjXsHaEAa

This branch has not been deployed

No deployments
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.

1 participant