Skip to content

review follow-ups of PR #34565 (readableIdsLeaf refusal): refusal message, bit TSDoc and ADR-0139 note, cli/lint comments, read-scope id source #34797

Closed as not planned

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Filing gate ②: the four wording nits the contract review of PR #34565 (merged; Fixes #33876) carried as follow-ups: comments 6937856418, 6941313688, 6942192439. Dedupe: readableIdsLeaf refusal wording; no open card.

Suggested-grade: p3 · domain:server · documentation

Items

  • N2 — the where-refusal message says a declaring driver runs the nested-relation condition as one statement. driver-memory evaluates it in process, and the named fallbacks keep the id read. Say what each path does.
  • N3 — the TSDoc of the readableIdsLeaf bit (and the ADR-0139 amendment that landed with feat(objectql): refuse a nested-relation condition and a lookup dimension up front on a driver without the readableIdsLeaf capability #34565) say the condition is planned as the leaf when the bit is true and that a lookup dimension is refused without it. The first omits the fallbacks relation-semi-join.ts names; the second holds only where the host bridges the engine. Correct both in one pass.
  • N8 — the new cli and lint comments name the refused condition more widely than the function refuses it: the refusal is for a condition beneath a single-valued relation on a read verb. The cli comment omits "single-valued"; the lint comment omits that and the read verb. Match the changeset and the contract docblock.
  • N9 — the changeset route for a read scope, "account $in the ids it may read", does not say where a policy gets those ids. A read scope cannot run the two-step read the entries above describe, so the author holds the ids in the scope or keys the scope on a field of the object. Add that clause where the guidance is published (the changeset itself is released; carry it into the docs that teach the route).

No behaviour change; text only. The ADR-0139 edit is governed (docs/adr/**), so that line lands Tier H.

Activity

  1. added
    documentation
    finding
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → closed as not planned (the maintainer's p3 standard, #34153) · 2026-11-17T10:57Z

    ⛔ Not a claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationfinding

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions