Repository navigation
docs(spec,objectql): SharedRecordIds and fixed-read leaf seam docblocks describe the share arm after the switch - #36723
Conversation
…ks describe the share arm after the switch The share arm's capped list of granted ids is retired (ADR-0155 step 6); the docblocks no longer describe it, or the missing producer, in the present tense. Comment-only. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011y7As6FyXmJyGyHNKXUkV7
📓 Docs Drift Check
What this run could not see
Coarse fallback — 177 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#7 · os-alice · session_011y7As6YDLR8TJVDpdXzJyV Contract-review-claim: session_011y7As6YDLR8TJVDpdXzJyV · head d42859d · 2026-11-23T14:22Z L1-a review thread runs the schema-face contract review at CONTRACT_REVIEW_TIER on this head, in parallel with its L1. |
|
repo:objectstack#7 · os-alice · session_011y7As6YDLR8TJVDpdXzJyV Contract reviewServed-tier: Inputs read: card #36121 (body and its three comments: triage 7065140496, claim 7099712845, dev report 7103837295), PR #36723 (body, four-file list, net diff against ① Derived judgments
② Semver levelTwo patch changesets, one per touched published package ( Clause-②: no — right. No accept-set narrows or widens; ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
Tried to break it: looked for a surviving list path or cap in the share arm (none), a second writer of the leaf (none outside probes and testkits), a second reader of the declaration (none), an engine door call that does not admit the leaf (none), and stale future or present tense left in either file (
Implemented-by: VERDICT: PASS |
|
repo:objectstack#7 · os-alice · session_011y7As6YDLR8TJVDpdXzJyV 维护者速读
席位核对Verdict: ACCEPT · head Reviewed against GitHub at this head (diff, card body, Checklist
Out of scope, disposition
|
|
repo:objectstack#7 · os-alice · session_011y7As6FyXmJyGyHNKXUkV7 Landing · 2026-11-23T14:51Z · head
State change: ready for review, auto-merge armed. On MERGED, |
Fixes #36121
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Comment-only, in two files. Each sentence below was false on
origin/main(3aa008d) after the ADR-0155 step-6 switch (plugin-sharing'sbuildReadFilter/buildWriteFilternow pushSharedRecordIds.read/.writeatsharing-service.ts:828and:948;share-arm-boot.tsholds the class-2 boot check;shareGrantsInertReasoncallsdriverEvaluatesFixedReadLeafatsharing-service.ts:1763).packages/spec/src/data/shared-record-ids.tsrecipient_idcomes fromrecipient_idcame frompackages/objectql/src/fixed-read-leaf-seam.tsKept, because still true at main: seam line 5, "
SharedRecordIdstoday, ADR-0147's leaf on the card that adds it" (FIXED_READ_LEAF_NAMESis still['SharedRecordIds']), and "with no cap and no ordering" (ADR-0155 ① ruled A, restated unchanged). The corrected prose describes the 5,000 cap only as retired, never as live.The card's
git grep -n "5,000\|5000" -- packages/spec/src/data packages/objectql/srchits one grant-list line (shared-record-ids.ts:22, fixed here). The other hits are unrelated: autonumber seed page size (engine-top-level.ts,engine-defaults-and-autonumbers.ts),MIN_MAX_EXCLUDED_ID_BUDGET, timeouts and test fixtures. Left alone.Two patch changesets, one per touched published package (
@objectstack/spec,@objectstack/objectql), because the docblocks ship in the published bytes.Tests
No behaviour changes, so there is no new test and no ablation.
Acceptance notes
packages/plugins/plugin-sharing/src/share-arm-boot.ts:10still says "today's grant read" about the retired list read. It is outside this card's file surface (not under the card's grep roots), so it is left for a later pass.Verification
Two-minute check:
git diff origin/main -- packages/spec/src/data/shared-record-ids.ts packages/objectql/src/fixed-read-leaf-seam.tsshows only lines inside block comments, andgrep -n "today\|until" packages/spec/src/data/shared-record-ids.tsno longer finds the list or the producer described as live.Files to read first:
packages/spec/src/data/shared-record-ids.ts(the 5,000 sentence, lines 21-23).Local gates at d42859d
pnpm --filter '@objectstack/objectql^...' --filter @objectstack/objectql buildunder os-verify-lock: VERDICT command-exit 0.pnpm --filter @objectstack/spec typecheckandpnpm --filter @objectstack/objectql typecheck: both passed (the lock command's later vitest leg named a wrong path; rerun below).vitest run src/data/shared-record-ids.test.ts(spec): Test Files 1 passed, Tests 32 passed.vitest run src/engine-fixed-read-leaf-seam.test.ts(objectql): Test Files 1 passed, Tests 70 passed.dispatch-gates --commands: 81 families derived; 79 exit 0, 2 exit 3 (NOT MEASURED):check-plugin-teardown-shape.mjs --self-test(shallow clone cannot reach its pinned control commit) andcheck:dual-build-cjs-loads(needs a full workspace build). Both run in CI.--ranreconciliation: 81 derived, 79 run, 2 NOT-MEASURED, 0 UNRUN.check-nul-bytes: exit 0.test:reponot run locally (no repo-project test touched); CI Test Core covers it.Generated by Claude Code