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
skills(objectstack-query): the nested-relation condition is one subquery per relationship on a read verb, up to three relationships — retire the "up to 1000 related ids" / one-level text #33875
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:queueReady for the PM dispatch looppriority:p3
Follow-up of #33626 (draft PR #33652). ⛔ Not a claim.
What is wrong
skills/objectstack-query/SKILL.md (the quick-reference row "Filter rows by their lookup target's column") and skills/objectstack-query/rules/filters.md still teach that a nested-relation condition { lookup: { column: value } } in where reaches "up to 1000 related ids" and one level. After PR #33652:
On find / findOne / count / aggregate, a single-valued relation is one in-database subquery per relationship (driver-sql dialects, Turso; driver-memory evaluates the same leaf in process). No id list, no cap.
A relation key inside the condition may carry its own condition, down to ADR-0071's three relationships; a fourth, and the dotted spelling, are refused INVALID_FILTER / 400.
The 1000-id cap remains only where ids are read: a multi-valued relation, and update / delete.
Each hop is read as the caller: a related record the caller cannot read at any hop excludes the row, $ne included.
What lands
The skill text and its rules file say the above, in the same words as content/docs/protocol/objectql/query-syntax.mdx (updated in #33652). Regenerate the skill artifacts the spec package gates (gen:skill-docs, gen:skill-refs).
Grade and route
skills/** is a Tier H governed surface (AGENTS.md Prime Directive #14): the PR is authored by any seat and landed by the maintainer's hand or an authorized approval. Fable-mandatory review per the seat's routing. Lands after #33652 merges.
Seam: spec:skills/objectstack-query text → runtime: lowerRelationConditions (packages/objectql/src/engine-query-lowering.ts).
Ruling: grade p3 · maintainer 「只做有把握的 15 张」 (the option he chose on the decision card) · recorded 2026-11-16T14:01Z
Recorded by the project's decision thread. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T13:52:22Z. Decision thread cmsg_01TenzsRopZj4jMbvjX8uz1X2H6qQ8ciHX7XMq2gtnGnNg, card cmsg_01TenzsRopZj4jMbvjX8uz1XKQvJ8JeBWFXoUnZeAT9HQp, choice record cmsg_01TenzsRopZj4jMbvjX8uz1XLvK1ZoqRY8p1hygErwupfD.
Thread-read: none (the card has no comment). Labels at the read: enhancement, priority:p2, pm:queue, domain:server; unassigned.
The question he was asked
He asked which open p2 cards have no business value and should be lowered or closed. The thread read the 81 open p2 cards that no seat is working, against his 2026-11-15 p3 standard (recorded on #34153) and the grading rules, and listed 26: 15 it was sure of and 11 it was not. How should the list be handled?
This card is lowered from p2 to p3. The other 14 cards of the 15 carry their own record. The 11 cards the thread was not sure of keep p2.
Why this card, as told to him: The skill still says a nested-relation condition reaches "up to 1000 related ids", and the platform now does more than that. Text that understates does not make an author write something wrong; it is out of date. A skills follow-up after a landing is p3 by the grading rules.
State
This record changes no label. Triage writes priority:p2 to priority:p3, citing this record.
List and reasons: /mnt/project-files/pm-orders/objectstack/p2-prune-2026-11-16.md.
The maintainer chose 「只做有把握的 15 张」 on the p2-value decision card, and card #33875 is one of the lowered ones (ruling record 6918566253). The lane and queue state are unchanged.
PR #34565 (#33876, open, draft) names this card in its Skills-docs: line. When it lands, the text this card writes for skills/objectstack-query/SKILL.md must also say: on a driver that does not declare DriverCapabilities.readableIdsLeaf (MongoDB, OData, a third-party driver), a nested-relation condition beneath a single-valued relation on find, findOne, count or aggregate is refused INVALID_FILTER / 400 before anything is read, and an analytics dimension through a lookup is refused INVALID_QUERY / 400. The "up to 1000 related ids" fallback no longer exists on those drivers. The same applies to the skill's filters.md passage on the capped id read. The FROM → TO rewrite is in the PR body's ## BREAKING section.
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:queueReady for the PM dispatch looppriority:p3
Activity
objectstack-fleet commentedon Nov 16, 2026
coordinator#1 · os-project-manager · session_01FEkQ5p5codnUGsdGxBfaL9
Ruling: grade p3 · maintainer 「只做有把握的 15 张」 (the option he chose on the decision card) · recorded 2026-11-16T14:01Z
Recorded by the project's decision thread. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T13:52:22Z. Decision thread
cmsg_01TenzsRopZj4jMbvjX8uz1X2H6qQ8ciHX7XMq2gtnGnNg, cardcmsg_01TenzsRopZj4jMbvjX8uz1XKQvJ8JeBWFXoUnZeAT9HQp, choice recordcmsg_01TenzsRopZj4jMbvjX8uz1XLvK1ZoqRY8p1hygErwupfD.Thread-read: none (the card has no comment). Labels at the read:
enhancement,priority:p2,pm:queue,domain:server; unassigned.The question he was asked
He asked which open p2 cards have no business value and should be lowered or closed. The thread read the 81 open p2 cards that no seat is working, against his 2026-11-15 p3 standard (recorded on #34153) and the grading rules, and listed 26: 15 it was sure of and 11 it was not. How should the list be handled?
The four options on the card, as he read them:
succeededfor an aggregate bulk handler that resolved with failed rows (BulkActionResult) #34292)。拿不准的 11 张保持 p2。由分诊执行。」 (recommended)The ten cards on hold named by the option are #27314, #27108, #33023, #32677, #32603, #30349, #33628, #33353, #26472 and #24027, as listed in the file he was given.
The ruling
This card is lowered from p2 to p3. The other 14 cards of the 15 carry their own record. The 11 cards the thread was not sure of keep p2.
Why this card, as told to him: The skill still says a nested-relation condition reaches "up to 1000 related ids", and the platform now does more than that. Text that understates does not make an author write something wrong; it is out of date. A skills follow-up after a landing is p3 by the grading rules.
State
priority:p2topriority:p3, citing this record./mnt/project-files/pm-orders/objectstack/p2-prune-2026-11-16.md.Notify: rulingto the triage mailbox, PR pm:mailbox — triage#1 · hotlong #32588.Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: regrade p2 → p3 (maintainer) · 2026-11-16T14:13Z
⛔ Not a claim.
The maintainer chose 「只做有把握的 15 张」 on the p2-value decision card, and card #33875 is one of the lowered ones (ruling record 6918566253). The lane and queue state are unchanged.
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmSLi1reMd27fT62jJ3
Skills-docs note · #33875 · 2026-11-17T03:54Z
PR #34565 (#33876, open, draft) names this card in its
Skills-docs:line. When it lands, the text this card writes forskills/objectstack-query/SKILL.mdmust also say: on a driver that does not declareDriverCapabilities.readableIdsLeaf(MongoDB, OData, a third-party driver), a nested-relation condition beneath a single-valued relation onfind,findOne,countoraggregateis refusedINVALID_FILTER/ 400 before anything is read, and an analytics dimension through a lookup is refusedINVALID_QUERY/ 400. The "up to 1000 related ids" fallback no longer exists on those drivers. The same applies to the skill'sfilters.mdpassage on the capped id read. The FROM → TO rewrite is in the PR body's## BREAKINGsection.