Skip to content

Commit 0d487e0

Browse files
docs(adr-0061): anchor the engine withhold on expandSearchOnAst, not its local const
Seat review S3. The symbol anchor for the engine's internal/credential strip now names the method, the way other ADRs anchor engine.ts; the prose keeps the scanFields name. No wording change otherwise. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbY1n95XjHLy7atRLWP
1 parent c520802 commit 0d487e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/adr/0061-record-search-architecture.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The default contract is `$search: string` (plus existing `$filter`/scope). **Fie
6767
> not a `FieldType`), so such a column marked `searchable: true` is neither scanned nor accepted as an override. The
6868
> third channel, an `internal: true` column, holds by the pre-existing withhold rather than by
6969
> `SEARCH_FLAG_EXCLUDED_TYPES`: the engine strips `internal: true` and credential fields from the field map before it
70-
> resolves the set (`packages/objectql/src/engine.ts#scanFields`, #22646), and the door refuses an explicit override
70+
> resolves the set (`scanFields` in `packages/objectql/src/engine.ts#expandSearchOnAst`, #22646), and the door refuses an explicit override
7171
> naming one before the resolver runs (above), so the flag never reaches it. The resolver reads no PII marker, before or
7272
> after this ruling, and the flag changes which fields resolve, not how a search executes: it still runs through the
7373
> gated `find()` pipeline, so the rest of D5 is untouched.

0 commit comments

Comments
 (0)