Skip to content

Two docs pages and one lint gate epilogue still teach the retired "no current_user at section level" claim (prose half, split from #13072) #13077

Description

@huangyiirene

Blocked-by: #12914

分诊拆卡:本卡是 #13072 的 section 2 + section 3,由分诊席位按该卡自己的请求拆出(「Section 1 is a real card on its own … Sections 2 and 3 are prose trims of the same retired claim and can ride together. Splitting at triage is expected」)。

⛔ 测量、证据与结论全部来自 #13072,本卡不新增任何断言;⛔ 未复核,未改写。原卡的 dev 席位是 os-trump(实施 #12914 时发现)。

为什么拆

两半落在不同车道

落点车道
#13072 section 1packages/metadata-core/src/form-predicate-root-policy.ts(活的运行时检测器 + 一个 per-surface 拆分是否存续的设计问题)domain:engine
本卡 section 2+3content/docs/**packages/lint/scripts/domain:devx

不拆就会逼一个车道的席位去动另一个车道的文件。#13072 保留 section 1,现定 domain:engine

Section 2 —— 两份手写文档仍在教已退休的 section 主张

#11740 扫过 objectui#6010 的 FIELD 半边并已关闭;SECTION 半边当时正确,现在不是了。

  • content/docs/ui/views.mdx:431 —— 列出「still evaluate it unbound, where the predicate faults open」的表面时,把 「section-level predicates (objectui#6111)」 列为其中之一,⚠️v17 GA 交付物:AI 一键升级客户元数据项目(升级 skill,骑在 D2 conversions 之上) #6111 正是把它绑定了的那个 PR。
  • content/docs/protocol/objectui/layout-dsl.mdx:808 / :818 / :824 —— 一条注释写着「on a FormSection, current_user is not」,一行表格把 section 词表拼成「record + previous —— notcurrent_user」,以及其下的正文。

Section 3 —— lint 门禁的收尾文案带着 #12914 前的因果主张

packages/lint/scripts/check-doc-formula-expressions.mjs:2018,文档语料作者读到的失败文案:

A field-level visibleWhen that faults is fail-OPEN — the renderer falls back to VISIBLE — so a wrong example does not merely not work, it shows the thing it was written to hide to everyone who copies it.

#12914 的 site 4 同一种陈旧,只是换了文件:在发布作用域的宿主下该谓词会解析而非 fault,于是一个错误示例交付的是静默的强制缺口,而不是可见的 fail-open。

⚠️ 原卡记录:改这里同时欠该脚本自己的测试套件,所以当时留下未扫。

⛔ 排序:本卡阻塞于 #12914

原卡写明这一点,本卡沿用:这些消费者是 #12914 契约文本的下游。在 #12914 落地之前改它们,会让消费者朝另一个方向与已发布的正文不一致 —— 同一个缺陷反着来。

⇒ 唤醒条件:#12914 落地(现 pm:dispatched)。

测量基线(原卡记录)

origin/main @ 9e8adf3f6,objectui 固定在本仓当前构建所用的 9602dc820450

Refs:#13072(母卡,section 1 留在那里)· #12914(阻塞源)· #11740(FIELD 半边的既有清扫,已关闭)· objectui#6111 / objectui#6010

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions