docs(adr): ADR-0076 OQ#9 裁决 — catch-all 洗白、步骤①吸收完成 (#2462) - #3576
Merged
Conversation
…ep (1) absorbed (#2462) Step (3) decomposed the dispatcher the other way around: 18 domain bodies moved out, dispatch() shrank to gates + a first-match registry, and the if-chain reached zero domain branches. The disease was never the catch-all — it was the unenumerable god if-chain it delegated into. Delegating into a thin gates+registry pipeline is the terminal shape; "kill the dead callable branches" is absorbed (no branches left, only owned registry entries). The adapter-enumerates-registry polish is deliberately not scheduled. Cloud-side verification: objectos-runtime 240 tests (incl. the kernel-resolver strategy) pass unchanged against the decomposed dispatcher. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
6 tasks
This was referenced Jul 27, 2026
os-zhuang
added a commit
that referenced
this pull request
Jul 27, 2026
…re splitting into per-prefix mounts (#3608) (#3637) The first place anyone (human or agent) tempted to "fix" the catch-all looks is this line, not the issue tracker. Anchor the #3576 verdict and the #2852 RLS-leak failure mode here; reopen conditions stay archived on #3608 (closing as deliberately-unscheduled). Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.
裁决(防止将来执行者按旧文本行动)
ADR D11/OQ#9 原文写"until the catch-all is retired by step ③"——步骤③ 用相反的刀法达成了目标:18 个域体全部搬出、dispatch() 缩成关卡序 + first-match 注册表、if 链域分支清零。
病根从来不是 catch-all 本身,而是它委托进的那个不可枚举的上帝 if 链("declared≠mounted≠implemented" 的 v16 缝 bug 类就藏在那里)。委托进"关卡+注册表"薄管线是合理终态:路由表可枚举(
DomainHandlerRegistry.list())、每条有 owner 模块与接缝测试、cloud fallback 织物(/share-links per-env 主面、/notifications 唯一 owner)走同一管线并被 conformance 41 断言 + dogfood 351 端到端锁定。步骤①("删死分支")被吸收:已无分支可删,只有有主的注册表条目。cloud 侧验证:objectos-runtime 240 测试(含 kernel-resolver 策略)对拆解后 dispatcher 原样通过。
可选 polish(adapter 枚举注册表挂显式路由)需把关卡序 middleware 化——成本大于收益,有意不排期(conformance + route-parity 门在位)。
纯 docs(skip-changeset)。关联 #2462。
🤖 Generated with Claude Code