docs(data-modeling,skills): re-quote the corrected searchable-fields hint, drop the moot caveat - #6980
Merged
os-project-manager merged 1 commit intoAug 9, 2026
Conversation
…hint, drop the moot caveat Fixes #6925 PR #6921 (#6673) changed the `searchable-field-unknown` lint hint in `packages/lint/src/validate-searchable-fields.ts` from "copy the value onto a formula field here" to "copy the value onto a stored text field here" — a formula field is virtual and materializes no column, so the old prescription never worked. Two docs blocks quote that hint verbatim (added by PR #6670, before #6673 landed) and each carried an inline caveat noting the quoted wording was loose. Both are now stale: the quote reproduces text the tool no longer emits, and the caveat describes wording that no longer exists. - content/docs/data-modeling/schema-design.mdx: re-quote + drop caveat - skills/objectstack-data/SKILL.md: re-quote + drop caveat Verified the corrected quote is byte-for-byte identical to the tool's actual hint string on origin/main. No other content/docs/** or skills/** location quotes the stale "formula field" wording (grepped repo-wide). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F8q5J1MQyocgtNspb15fSn
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
os-project-manager
marked this pull request as ready for review
August 9, 2026 07:37
os-project-manager
deleted the
claude/issue-6925-requote-searchable-fields-hint
branch
August 9, 2026 07:53
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.
Fixes #6925
中文说明
PR #6921(#6673)把
packages/lint/src/validate-searchable-fields.ts里searchable-field-unknown规则的 hint 文案从"copy the value onto a formulafield here"改成了"copy the value onto a stored text field here"——formula
字段是虚拟的,不落任何列,旧文案本来就不可能生效。
content/docs/data-modeling/schema-design.mdx和skills/objectstack-data/SKILL.md在 PR #6670(早于 #6673)里逐字引用了这段 hint,并各自附了一句说明"引用的措辞有点松散,
只有 stored 那一半能用"的旁注。#6673 落地后这两处引用文本本身过期了(引用的是工具已经
不再输出的文案),而那句旁注现在讨论的是一段已经不存在的措辞,同样过期。
本 PR 只做机械的逐字重新引用 + 删除过期旁注,不改变任何处方(两处文档早就正确地建议"落到
一个 stored 字段"——只是引用块本身滞后)。
content/docs/data-modeling/schema-design.mdx:重新引用 hint 文本,删除"(That hint's "text/formula" family of wording is loose…)" 旁注。
skills/objectstack-data/SKILL.md:同上,删除 "(The hint's "formula field"wording is loose…)" 旁注。
Verification
Re-quoted both blocks from
origin/main's actual tool source(
packages/lint/src/validate-searchable-fields.ts:347,Clients echo this declaration … not just a quietly narrowed one.block) anddiffed the quoted text against the literal string the tool builds — byte-for-byte
match on both files (verified with a small script comparing the
hint:fencedblock against the concatenated template-literal from the source).
Repo-wide grep for the stale wording (
a formula field here,text/formula)found no other
content/docs/**orskills/**hit beyond the two named in theissue — the
.changeset/searchable-fields-stored-hint.mdFROM/TO note fromPR #6921 itself is historical record of the change, not a live prescription, and
is left untouched.
content/docs/protocol/objectql/query-syntax.mdx:915mentions"a
formulafield is virtual" in prose (not a verbatim tool-output quote) andwas already correct — no change needed there.
Gate coverage note
This repo has no gate that diffs a quoted tool-output block in docs/skills
against the literal string the source builds —
check:doc-authoringonly scansfor the bare-metadata-literal anti-pattern in fenced TS/TSX blocks, and
check:docs-audit-scope'saffected-docs.mjsmaps changed packages to docsthat reference them (0 packages changed here, since only
content/docs/**andskills/**moved). The verbatim-match claim above is manual, notgate-enforced; flagging this per the dispatch's verification bar in case a
future
check:hint-quote-sync-style gate is worth adding.Boundaries respected
packages/lint/src/validate-searchable-fields.ts(tool textcorrect as merged).
skills/objectstack-ui/SKILL.mdorcontent/docs/ui/views.mdx(already corrected by docs(skills): objectstack-ui 补 searchableFields 章节 —— 工具栏搜索的收窄语义与失败边界 (#6675) #6898 / docs(ui): the searchableFields boundary is allowed-set membership, not field type (#6897) #6922).
docs/adr/**orcontent/docs/releases/**.content/docs/**is the domain-boundary-contested path (域标签词表有两个未入表条目:domain:spec-tooling(在用,文件面与 devx 完全重叠)与domain:ui(一例,与repo:objectui重复) #5469); diff is keptto exactly the two stale blocks named in the issue, nothing else in that tree.
check:nul-bytes,check:doc-authoring,check:skill-frame-sync,check:skill-frame-freshness,check:skill-compatibility,docs-audit/affected-docs.mjs— all green (see report).Docs/skills-only change — no package code, no user-visible runtime behaviour
change —
skip-changesetlabel applied.Generated by Claude Code