Skip to content

spec/objectql: the SharedRecordIds and seam docblocks still describe the share-grant list in the present tense after the switch #36121

Closed

Description

@objectstack-fleet

repo:objectstack#7 · os-tesla · session_01L9qibyXo4gSy8DJPNz4ANz

Filing gate: ③ stale prose the contract review named · Source: fleet (L2 record 7064569198 on #36116, N3; seat 7's call, 2026-11-21 15:04 UTC). Part of #33787.

维护者速读

  • 问题:第 6 步切换后,packages/spec/src/data/shared-record-ids.ts 和 packages/objectql/src/fixed-read-leaf-seam.ts 的注释仍用现在时描述「最多 5000 条的 id 名单」。
  • 这一步做什么:把这两处注释改成切换后的说法(名单已退役,读取走子查询)。纯注释。
  • 不做会怎样:读注释的人(和 AI)会以为上限还在。
  • 要你做的:无。

Scope

Dedupe

repo:objectstack-ai/objectstack is:issue SharedRecordIds docblock present tense → none.

Grade: p3. Type: Task.

Activity

  1. added
    pm:queue
    domain:server
    on Nov 21, 2026
  2. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:spec (shared-record-ids.ts) and domain:server (fixed-read-leaf-seam.ts) · pm:queue; rationale: area:data · Bug · after the step-6 switch, the published SharedRecordIds docblock and the seam docblock still describe the 5,000-id share list in the present tense, so readers and AI think the cap still applies; part of #33787 → p2 (a wrong sentence in published TSDoc; the filed p3 is raised) · size XS.

  3. added
    bug
    domain:spec
    priority:p2
    and removed on Nov 21, 2026
  4. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7

    Claim: PM loop round 1
    Session: session_011y7As6FyXmJyGyHNKXUkV7
    Account: os-alice
    Branch: claude/issue-36121-shared-record-ids-docblock-tense
    Worktree: objectstack-issue-36121
    Domain: domain:spec + domain:server
    Seat: repo:objectstack#7
    Area: o7-data
    File surface: docblock prose only in packages/spec/src/data/shared-record-ids.ts and packages/objectql/src/fixed-read-leaf-seam.ts, plus any other docblock about the share-grant list that the card's git grep finds under packages/spec/src/data and packages/objectql/src; one patch .changeset per touched package (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate"), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (stale TSDoc prose after the ADR-0155 step-6 switch)
    Thread-read: 7065140496
    Premise: holds (origin/main: shared-record-ids.ts:22 "The list the share arm binds today holds at most 5,000 members of G"; #36116, the step-6 switch, merged 2026-11-21)
    Pre-claim lane: repo:objectstack#7 · o7-data — the card is in the o7-data row on #35557; packages/spec stays in this lane under area-lease.md's stay-in-lane row (fix is clear, prose only)
    Pre-claim deps: "After #36116 merges" — #36116 merged 2026-11-21T18:06Z
    Prior rulings read: check-prior-rulings --card 36121: 10 hit lines in the 2 files, none with an id shape; ADR-0155 ① ruled A (no cap, no ordering) is what the corrected prose states
    Serial constraints cleared: no open PR touches either file (only #35129, Version Packages, carries the related changesets); os-verify-lock depth checked at dispatch. Owes a contract-review-tier L2 (published schema docblock under packages/spec/src/**) through L1-a
    Fold-or-serial: not folded with #36355 (different file and package, gate ① fails)

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7
    os-dev-report

    {
     "issue": 36121,
     "status": "done",
     "branch": "claude/issue-36121-shared-record-ids-docblock-tense",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36723",
     "session": "session_011y7As6FyXmJyGyHNKXUkV7",
     "premise_still_valid": true,
     "summary": "Comment-only: rewrote the sentences in the SharedRecordIds module docblock (packages/spec/src/data/shared-record-ids.ts lines 9, 21-23, 72, 102-104) and the fixed-read leaf seam docblocks (packages/objectql/src/fixed-read-leaf-seam.ts lines 57-59, 85-86, 121) that were false on origin/main 3aa008d436 after the ADR-0155 step-6 switch. Each one described the 5,000-capped grant list, or the missing producer, as live. The 5,000 cap now appears only as retired. 'with no cap and no ordering' (① ruled A) and the seam's line 5 ('SharedRecordIds today', still true because FIXED_READ_LEAF_NAMES is ['SharedRecordIds']) are kept. The PR body lists each change as before → after. The card's grep found no other grant-list line; the autonumber page-size, MIN_MAX_EXCLUDED_ID_BUDGET, timeout and fixture hits are unrelated and were left alone. Added two patch changesets (spec, objectql).",
     "tests": "HEAD d42859d056. pnpm --filter @objectstack/spec typecheck and @objectstack/objectql typecheck both passed (under os-verify-lock). spec vitest src/data/shared-record-ids.test.ts: Test Files 1 passed, Tests 32 passed. objectql vitest src/engine-fixed-read-leaf-seam.test.ts: Test Files 1 passed, Tests 70 passed (VERDICT command-exit 0). The first lock run's 4th leg named a non-existent path (src/fixed-read-leaf-seam.test.ts; the runner printed FILTER SELECTED NOTHING, exit 1); it was rerun with the correct file. No behaviour change, so there is no new test and no ablation.",
     "gates": "Closure build objectql^... + objectql: VERDICT command-exit 0. dispatch-gates --commands --repo objectstack-ai/objectstack: 81 families, 79 exit 0, 2 exit 3 NOT MEASURED (check-plugin-teardown-shape --self-test: shallow clone, pinned control commit unreachable; check:dual-build-cjs-loads: PREREQUISITE NOT MET, needs full build). --ran with exit codes: '81 derived, 79 run, 2 NOT-MEASURED, 0 UNRUN'. Spec dist gates rerun after the build (the first run overlapped it): check:api-surface, check:exported-any, check:docs, check:authorable-surface all exit 0. check-nul-bytes exit 0. overlap-check: VERDICT clean exit 0. test:repo not run locally (declared to CI Test Core). PR check-runs: in_progress at report time (not waited on).",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/36723/assignees os-alice); post-stamped issue comment on #36121 (this report). git push x2 not counted (not REST).",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed — packages/plugins/plugin-sharing/src/share-arm-boot.ts:10 still says 'today's grant read' about the retired list read; outside this card's file surface and grep roots; recorded in the PR's Acceptance notes"
     ],
     "files_changed": [
      "packages/spec/src/data/shared-record-ids.ts",
      "packages/objectql/src/fixed-read-leaf-seam.ts",
      ".changeset/36121-shared-record-ids-docblock-tense.md",
      ".changeset/36121-fixed-read-leaf-seam-docblock-tense.md"
     ],
     "deviations": "None in scope. The commit trailer uses the model-free pair AGENTS.md requires, not the harness reminder's model-named Co-Authored-By. The PR body footer is the session-URL form from os-dev.md, not the harness's '🤖 Generated with' line."
    }
  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7

    Delivered · 2026-11-23T19:14Z · PR #36723 merged 2026-11-23T15:28Z (L1-a ACCEPT 7104624675, L2 PASS 7104042827). The SharedRecordIds and fixed-read leaf seam docblocks now describe the share arm after the switch (the grant set is read once, not bound as a list of at most 5,000 ids). Comments only, with one patch changeset per package. The stale share-arm-boot.ts:10 comment was dropped as not a card (internal, no user-visible cost). pm:dispatched is removed with this note. sweep-closed-cards --pr 36723: this card is the only one the merge closed.

  8. removed
    pm:dispatched
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:databugdomain:serverdomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions