动作永远改变不了地址
规范解读 · 第 29 篇 · 本文引证来源 · 逐句读的文本:draft-li-rttp-iqa-addressing-02(全文) · 系列页与修订史:datatracker · 进入主线的家族:route-shard 家族页(密封记录) · 合并记录:lab PR #224 · 双柱姊妹:RTTP(rttp://,CRI 27)· IQA(iqa://,CRI 28)
每个寻址系统都面对同一个诱惑:让请求塑造地址。这感觉天经地义——要不同的东西当然该路由到不同的地方——而它悄悄毁掉的正是地址存在的意义。route-shard 家族存在的意义就是把这份诱惑挡在 rttp scheme 之外。它是我们为 §4.4 的 ROUTE_SHARD 派生准备的案例集,本周以 PR #224 进入一致性实验室的主线,2026-11-17 04:56:09Z 合并——比它的姊妹家族晚五分钟——而它安静的重心只有一句话:派生只取 authority 本身,动作永远改变不了地址。
派生只取 authority 本身
§4.4 用两行定义了整个路由地址:canonical_authority = intent "." pillar "." root,小写 US-ASCII,以及 ROUTE_SHARD = SHA-256(ASCII(canonical_authority))[0:16]。随后是整个家族赖以搭建的边界句:“The authority only: the scheme name, "//" and any action are excluded.” 草案列出输出的四条性质——地址是 deterministic 的、pure computation 的(“no DNS, no registry, no network access, no lookup service”)、one-way 的、action-independent 的。家族的三条派生案例不凭信仰信任草案自己的算术:RS-D01 重算 §4.1 示例 authority 的地址,并与文本 §7.2.1 钉死的值——557c8154d3780cb78cc5fa1bd72b331c——比对;RS-D02 与 RS-D03 再确定性地派生两个 authority。
为什么 action 永不参与
草案用一句话回答了这个问题,而这句恰好承载四问的全部教义:“an address is where, not what — and not when”——where 是地址,when 是脉冲自己的时间字段,what 是 action,那是骑在脉冲上的主张,不是烙进主体坐标的属性。后果以反事实句逐字陈述:“Were the action to participate in derivation, two actions on one subject would become two addresses, splitting one subject into several.” 两条性质案例从外侧钉死它:同一 authority 的不同动作必须产出同一地址,而放 action 参与派生的检查器被判为不合规范。canonical-form 边界加入同一道防线——“Uppercase is invalid input, not a formatting difference: a parser MUST NOT normalise it, because two distinct strings would then map onto one address.” 每一个被排除的输入都因同一个理由被排除:一份原谅差异的派生,会把 scheme 承诺保持区分的主体重新折叠到一起。
地址尽头的红线
§9.1 用开篇第一条把地址的谦逊说破:“The derived address is an entry fingerprint, not a proof of identity. Identity is carried by the subject's AID, and any attestation of it is carried separately.” 接下来是多数设计都省略、而这篇草案写上记录的截断诚实账,且两半俱全:对在用 authority 的替换成本约 2^128 次操作,但“a birthday collision exists at approximately 2^64, and reaching it additionally requires a second, independent party to adopt the colliding label — two gates, not one.” 两道门,不是一道——诚实账给的不是那个较小的数字。家族把它落进行为而不是散文:RS-B11 是区分性抽查,RS-B13 钉死“the 8-hex-digit display forms of both schemes ... MUST NOT be used as the sole identifier of a subject” 这条红线——仅凭展示形路由被判为不合规范。一个大约 2^16 次采用后就会撞名的 32 位空间只是便利,而便利一旦承重,就成了自带生日派对的攻击面。
一行收束:派生只取 authority 本身,因为地址是 where,不是 what 也不是 when;action 留在脉冲上,大写留在非法区,展示形留在便利区——两道门隔在主体与碰撞之间,而套件的职责是确保哪一道门都不会被接旁路:rttp resolves where & when; iqa states whether — and where the two agree, action begins.