Repository navigation
fix(spec,metadata-protocol): name the row-held-base exception's whole cell in the packageId texts; the read-only-base rollback pin restores a real version - #38639
Conversation
… and dependent cases in the packageId texts and door-request comments Claude-Session: https://claude.ai/code/session_01ADHkmT5it85jhPpGaNANG7 Co-authored-by: Claude <noreply@anthropic.com>
…ck pin so it restores a real row Claude-Session: https://claude.ai/code/session_01ADHkmT5it85jhPpGaNANG7 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmT5it85jhPpGaNANG7 Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 2 package(s): 1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
What this run could not see
Coarse fallback — 183 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 7dbc56fa99c3973a9e6ec17fde82e9356c20dc5b && git checkout 7dbc56fa99c3973a9e6ec17fde82e9356c20dc5b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin f5da514b07bcbb402e3b17790465615ca726b3b3 9c1304f3090df23b84a6dd065f76cffb53493d23 && git checkout -B drift-repro f5da514b07bcbb402e3b17790465615ca726b3b3 && git merge --no-ff 9c1304f3090df23b84a6dd065f76cffb53493d23
node scripts/docs-audit/affected-docs.mjs --json f5da514b07bcbb402e3b17790465615ca726b3b3
|
|
repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv 席位核对REWORK @ Must-fix:
Read at head (these stand for the delta):
Delta review after the fix: only the changeset file should move. |
…, which ship in its declarations Claude-Session: https://claude.ai/code/session_01ADHkmT5it85jhPpGaNANG7 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv 席位核对ACCEPT @ Delta read (
Nit (non-blocking): the PR body's changeset line still names only the |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract-review-handoff: repo:objectstack#1 — CONTRACT_REVIEW_TIER unavailable (project rule: the maintainer bars the ceiling tier in this seat, 「契约复审交 review 席位,不用 fable」; no l2-review or review seat is seated, mailbox list read 2026-11-29T19:31Z) · head 2ab554b Face: published schema ( |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract-review-claim: session_01ADHkmSAjFEZHRpRq3WCj6z · head 2ab554b · 2026-11-30T00:09Z The seat takes the tier itself from here (the maintainer, 2026-11-30 「你现在有fable」); the earlier handoff to repo:objectstack#1 is withdrawn on its mailbox #38524. |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: Read: card #35529 (body, two triage comments, the claim, the os-dev-report), PR #38639 (body, 7 files, net diff ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
S1 (should-fix) — the rewritten delete sentence, "the next request naming no package is judged over them alone: one dependent's row is served next and a second delete naming no package removes it too", is false in one reachable cell of the exception it describes. Take base A holding
Nits (no effect on correctness or the contract):
Implemented-by: VERDICT: PASS |
…im to the cells where it holds; except-where in the door-request comments Claude-Session: https://claude.ai/code/session_01ADHkmT5it85jhPpGaNANG7 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmT5it85jhPpGaNANG7 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv 席位核对ACCEPT @
|
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract-review-claim: session_01ADHkmSAjFEZHRpRq3WCj6z · head 9c1304f · 2026-11-30T00:57Z |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: Delta round over Prior findings:
① Derived judgments
② Semver levelUnchanged and still right: ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix.
PR body: N4's line now says the texts name the two conditions left out, and adds the bound on the delete claim. It no longer claims more than the text. Its wording "The deletion is bounded to" means the delete sentence's claim; clear enough in context. Nits (no effect on the contract; none needs a change on this head):
Implemented-by: VERDICT: PASS |
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z
Requested by Steve · project thread
Fixes #35529
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Nits N4–N6 of the contract review on the parent change (record 7011078775, VERDICT PASS), each re-checked on
origin/main681fec2 before editing.packages/spec/src/api/protocol.zod.ts. The row-held-base exception in thepackageIddescriptions of the save (active and draft), per-item publish, delete and history/diff/rollback requests (HISTORY_PACKAGE_SELECTOR_DESCRIPTION) now names the two conditions the texts left out (a name no package ships in code; one or more dependents) of the cell the server applies (rowHeldBaseJudgmentinpackages/metadata-protocol/src/protocol-meta-item-face.ts): a bundled type's member of a name no package ships in code, whose active rows a base package and one or more packages declaring it hold, with no package-unbound row beside them. The delete's consequence sentence no longer assumes one dependent: after the base's row goes, the next bare request is judged over the dependents' rows alone (one dependent: served next, a second bare delete removes it; two or more: judged by the same rule). The deletion is bounded to the base holding no other member, or the canonical member; at a named non-canonical member while the base holds another, the bare read still takes the base's address (404). The draft-save sentence refers back to the save's and is unchanged. Regenerated:packages/spec/docs/references/api/protocol.md,protocol.part-2.md,protocol.part-3.md(check:docs; the card'scontent/docs/references/api/protocol.mdxpath no longer exists, the generated reference lives here now).packages/metadata-protocol/src/protocol-door-requests.ts. The publish, rollback and delete request docblocks state the row-held-base exception beside the two-package409, pointing atpackagelessRowHeldBaseAddress. Comment-only.packages/runtime/src/domains/meta-bare-write-doors-follow-base-34681.test.ts. The read-only-base pin seeds onesys_metadata_historyversion of the base's slot before the rollback, sotoVersion: 1is a real restore, and asserts that the bare rollback restored that version into the base's row with the dependent's row untouched, as?package=BASEdoes..changeset/35529-spec-row-held-base-texts.md(@objectstack/specpatch: the describe text ships in the package;@objectstack/metadata-protocolpatch: the three request types' comments ship in itsdist/index.d.ts).No schema shape, key, accepted value, error code or server answer moves.
Tests
meta-bare-write-doors-follow-base-34681.test.ts: 11/11 pass.404 VERSION_NOT_FOUNDwith the rows unchanged, which is what the pin measured before this change. Restored from the commit.Ablation reading
Acceptance notes
Verification
Read first: the delete sentence in
protocol.zod.ts(the one text whose meaning moved), then the N6 hunk.Two-minute check:
pnpm --filter @objectstack/runtime exec vitest run --maxWorkers=2 src/domains/meta-bare-write-doors-follow-base-34681.test.tsprintsTests 11 passed (11).Local gates at 0ee1576
node scripts/pm/dispatch-gates.mjs --commandsderived 94 commands; all 94 run, each exit 0;--ranreconciliation: 94 derived, 94 run, 0 NOT-MEASURED. Three first answers were not verdicts and were re-run: the teardown-shape self-test exit 3 (shallow clone; re-run aftergit fetch --unshallow),check:dual-build-cjs-loadsexit 3 (no full build) andcheck:lean-entry-closureexit 1 (packages/spec/distbeing rebuilt under it by a concurrent build), both re-run afterturbo run build(123/123).pnpm --filter @objectstack/spec check:generated: stalecheck:docsregenerated with--fix, re-check all 14 up to date.pnpm --filter @objectstack/runtime typecheck: exit 0.node scripts/pm/overlap-check.mjs: clean againstorigin/mainand the two open PRs sharing a file.@objectstack/metadata-protocoltests (comment-only diff there); CI carries the rest of the farm.Generated by Claude Code