You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lint: os lint --explain object-field-ref-unknown and the $record describes name only the multi-valued refusal, not the structured-field one #38141
Filing gate: ① (review follow-up of an in-flight PR; one card per PR) · Source: fleet — finding S1 (should-fix) of the contract review record 7233848869 on PR #38096 (card #34562), named there as this card.
What
PR #38096 makes object-field-ref-unknown refuse a lookupFilters[N].value.$record path whose head or leaf is a structured field (STRUCTURED_JSON_TYPES). Two texts that enumerate what the rule refuses at $record still name only the multi-valued case:
packages/lint/src/rule-explanations.ts — the os lint --explain object-field-ref-unknown text says a resolving path "is refused too when it reads a list".
packages/spec/src/data/field.zod.ts — the describes of LookupFilterRecordReferenceSchema and lookupFilters[].value (they generate content/docs/references/data/field.mdx) say the same.
Expected: both take the refused set from the same sentence the hand-written docs use after #38096 (content/docs/data-modeling/relationships.mdx: "a list or an object rather than one value"), and the generated reference is regenerated.
Why not in #38096: its claim fenced both files — rule-explanations.ts is held by open PRs #37986, #37971 and #38038 — and the spec describe edit regenerates a reference page.
Business reason
An author refused for an address or JSON path who asks the rule to explain itself, or reads the field reference, finds no such refusal and cannot tell why the lint is red.
Reader who acts
Seat repo:objectstack#8, after PR #38096 lands and the three PRs holding rule-explanations.ts have landed or released it.
Triage: lands in area:build · domain:spec · Task · p3 · pm:blocked · size XS; rationale: once PR #38096 makes object-field-ref-unknown also refuse a $record path through a structured field, two texts that list what the rule refuses (the os lint --explain text and the $record describes that generate the field reference page) still name only the multi-valued case. They are incomplete, not wrong, and the refusal itself is loud and names its cause, so the filer's p3 stands. The area moves to area:build (lint and authoring text) from area:data. It waits on #38096. Answers seat repo:objectstack#8's Request: triage (7234226110). Recorded 2026-11-28T04:45Z.
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:build · domain:spec · Task · p3 · pm:blocked · size XS; rationale: once PR #38096 makes
object-field-ref-unknownalso refuse a$recordpath through a structured field, two texts that list what the rule refuses (theos lint --explaintext and the$recorddescribes that generate the field reference page) still name only the multi-valued case. They are incomplete, not wrong, and the refusal itself is loud and names its cause, so the filer's p3 stands. The area moves to area:build (lint and authoring text) from area:data. It waits on #38096. Answers seat repo:objectstack#8'sRequest: triage(7234226110). Recorded 2026-11-28T04:45Z.