Consumer half of #16066, split by director ruling (decision batch #58, 2026-09-06, option A). Independent of the spec half — this card does not wait on it.
Why
#15866 typed 22 protocol-dispatch sites in packages/rest/src/rest-server.ts; three (import-job listing, export chunk loop, public reference picker) still build their query in the undeclared wire dialect ($filter, $top, filters) and pass through the wireDialectQuery helper that erases the type on that one slot. Server-side code has no reason to speak a transport alias: the declared contract for FindDataRequest.query is the QueryAST.
Scope
Out of scope
Acceptance
Consumer half of #16066, split by director ruling (decision batch #58, 2026-09-06, option A). Independent of the spec half — this card does not wait on it.
Why
#15866 typed 22 protocol-dispatch sites in
packages/rest/src/rest-server.ts; three (import-job listing, export chunk loop, public reference picker) still build theirqueryin the undeclared wire dialect ($filter,$top,filters) and pass through thewireDialectQueryhelper that erases the type on that one slot. Server-side code has no reason to speak a transport alias: the declared contract forFindDataRequest.queryis the QueryAST.Scope
where,limit,orderBy,expand), so the slot compiles againstFindDataRequest['query'].wireDialectQueryand the comment block that carries [finding]FindDataRequest.querydeclares the QueryAST, but the shippedfindDataingress also accepts an undeclared wire dialect — so that one slot cannot be compiled #16066's reasoning; point the retirement at this card.p.deleteData({...} as any)/p.updateData({...} as any)erase the compile-time check of the assembled request againstDeleteDataRequest/UpdateDataRequest#15866 pin extended) thatrest-server.tscontains noas any/ helper-erasedqueryslot.Out of scope
WIRE_QUERY_ALIAS_SLOTS/WIRE_DOLLAR_ALIASES) — that is [finding]FindDataRequest.querydeclares the QueryAST, but the shippedfindDataingress also accepts an undeclared wire dialect — so that one slot cannot be compiled #16066's spec half (declare the transport aliases in the spec alias table, derive the fold from it).Acceptance
wireDialectQuerygone