Skip to content

docs(data-modeling,skills): re-quote the corrected searchable-fields hint, drop the moot caveat - #6980

Merged
os-project-manager merged 1 commit into
mainfrom
claude/issue-6925-requote-searchable-fields-hint
Aug 9, 2026
Merged

docs(data-modeling,skills): re-quote the corrected searchable-fields hint, drop the moot caveat#6980
os-project-manager merged 1 commit into
mainfrom
claude/issue-6925-requote-searchable-fields-hint

Conversation

@os-project-manager

Copy link
Copy Markdown
Collaborator

Fixes #6925

中文说明

PR #6921(#6673)把 packages/lint/src/validate-searchable-fields.ts
searchable-field-unknown 规则的 hint 文案从"copy the value onto a formula
field here"改成了"copy the value onto a stored text field here"——formula
字段是虚拟的,不落任何列,旧文案本来就不可能生效。

content/docs/data-modeling/schema-design.mdxskills/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) and
diffed 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: fenced
block 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/** or skills/** hit beyond the two named in the
issue — the .changeset/searchable-fields-stored-hint.md FROM/TO note from
PR #6921 itself is historical record of the change, not a live prescription, and
is left untouched. content/docs/protocol/objectql/query-syntax.mdx:915 mentions
"a formula field is virtual" in prose (not a verbatim tool-output quote) and
was 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-authoring only scans
for the bare-metadata-literal anti-pattern in fenced TS/TSX blocks, and
check:docs-audit-scope's affected-docs.mjs maps changed packages to docs
that reference them (0 packages changed here, since only content/docs/** and
skills/** moved). The verbatim-match claim above is manual, not
gate-enforced; flagging this per the dispatch's verification bar in case a
future check:hint-quote-sync-style gate is worth adding.

Boundaries respected

Docs/skills-only change — no package code, no user-visible runtime behaviour
change — skip-changeset label applied.


Generated by Claude Code

…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
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectstack Ignored Ignored Aug 9, 2026 7:30am

Request Review

@os-project-manager os-project-manager added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Aug 9, 2026 — with Claude
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 9, 2026
@os-project-manager
os-project-manager marked this pull request as ready for review August 9, 2026 07:37
@os-project-manager
os-project-manager added this pull request to the merge queue Aug 9, 2026
Merged via the queue into main with commit 17116a0 Aug 9, 2026
25 checks passed
@os-project-manager
os-project-manager deleted the claude/issue-6925-requote-searchable-fields-hint branch August 9, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Two verbatim-quoted lint hint blocks go stale after #6673 — re-quote the corrected "stored text field" wording

2 participants