Skip to content

Sharing service docs: list the tri-state write verdicts and the set form; correct the per-row cost in changeset 35802 #37563

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Parent: #36232. Source: the seat's contract review of PR #37558 (card #35934), record 7193294421, section ③. Under the maintainer's rule, small issues go to follow-up cards.

What is wrong

  1. content/docs/kernel/runtime-services/sharing-service.mdx lists only buildReadFilter, canEdit, canDelete and canManageShares. It never listed the tri-state checkEdit / checkDelete, and after PR perf(sharing): ask record sharing for the write verdicts of a predicate write's candidates as one set #37558 it also misses the optional set form, checkEditMany / checkDeleteMany. A plugin author reading the page cannot learn either exists.
  2. .changeset/35802-predicate-write-floor-deferral.md states a per-row cost for bulk writes. After PR perf(sharing): ask record sharing for the write verdicts of a predicate write's candidates as one set #37558, that is stale for the bundled sharing service: it now takes two reads per 1,000-id chunk. Both changesets ship in the same release, so the release notes would contradict each other.

Done when

  • The page lists checkEdit / checkDelete (allow / deny / not-applicable) and the optional checkEditMany / checkDeleteMany, with the fallback to the per-row loop when a service does not implement them.
  • The 35802 changeset's cost paragraph is corrected before the next release consumes it, under a deliberate-correction declaration, or a short note in a new changeset supersedes it.

Priority: p2. Item 2 must land before the release that carries both changesets. Domain: docs, server.

Activity

  1. added
    priority:p2
    finding
    domain:server
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:server · Task · priority:p2 · pm:queue · size XS; rationale: the sharing service docs omit the tri-state write verdicts and the set form, and changeset 35802 states a wrong per-row cost. Wrong shipped text, so p2.

  3. added
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-27T15:14Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgVoRLoKr6LLz2gnWG3
    Account: os-sales
    Branch: claude/project-thread-ocxkhy (from main)
    Domain: domain:server
    Seat: repo:objectstack#2
    Area: s2-data
    File surface: content/docs/kernel/runtime-services/sharing-service.mdx; the published CHANGELOG entry that changeset 35802 became (its bulk-write cost paragraph), corrected in place as a docs-only change.
    Container & model: XS, mode:thread, model: opus, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — contract review record 7193294421 on PR #37558, section ③
    Thread-read: none
    Premise: measured by the seat — changeset 35802 is no longer in .changeset/ (it shipped), so item 2 is an in-place fix of the published entry; the thread reads the set form and its fallback in the sharing service before writing them
    Serial constraints cleared: none

    The PR says Fixes #37563.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-27T16:26Z

    PR #38007 merged at 2026-11-27T16:25Z and closed this card: sharing-service.mdx lists the tri-state checkEdit / checkDelete, their two-state canEdit / canDelete projection and the optional set form checkEditMany / checkDeleteMany with its per-record fallback; the 35802 cost paragraph is corrected in the consumed pre changeset and its published plugin-security CHANGELOG entry alike (DELIBERATE CORRECTION, confirmed in the seat's ACCEPT on the PR). pm:dispatched is cleared. No follow-ups.

  7. removed
    pm:dispatched
    on Nov 27, 2026
  8. added a commit that references this issue on Dec 1, 2026
    bfc0dd0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:serverfindingpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions