Repository navigation
fix(metadata-protocol): the stored-form census reads a pair held as booted code as a pair - #38803
Conversation
… in itself A `.custom` pair registered as code is read-only, so the census reads it at a `base` address and sent its own item to the pair door, which refuses a pair of a pair. The census now reads the pair by what its package is: the pair's own old-shape row moves into the pair's own `form` row, and a stored `form` row there is kept. A rest pin also takes the contested-slot hold onto a store that enforces one active row per slot. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmQrGTjSRSiwWSe6AhK
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmQrGTjSRSiwWSe6AhK
📓 Docs Drift Check5 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 10 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 b8344279b6abe37fc4a65b2d0e46a7a22d6a0360 && git checkout b8344279b6abe37fc4a65b2d0e46a7a22d6a0360
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 2fba83493b5eaab252c1c02f2a64b6cad807f7ff 0a1bb19fd87ebef78ae3f1592d457c8d4c8ba89b && git checkout -B drift-repro 2fba83493b5eaab252c1c02f2a64b6cad807f7ff && git merge --no-ff 0a1bb19fd87ebef78ae3f1592d457c8d4c8ba89b
node scripts/docs-audit/affected-docs.mjs --json 2fba83493b5eaab252c1c02f2a64b6cad807f7ff |
|
repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB 席位核对ACCEPT @ 5a6cb82 (#37111 PR 3, claim amendment 6 / 7290758981). The PR is Tier H: it stays a draft, and the L2 is the seat's. This record stays at the level of the rules the census follows. Fence. Four paths:
No other path. No contract face beyond the census's own outcomes: no spec, no route, no page. ③, a pair held as booted code.
Step 7 of ruling record 7265816895: one slot, one row, on a store that enforces it.
Measured in a scratchpad worktree at this head:
Red first (
Ablations, each type-clean and restored after:
CI at this head: 23 success, 18 skipped, 14 in progress, 0 failed. This ACCEPT does not cover the runs still in progress. |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: Card #37111, PR 3 (claim amendment 6, 7290758981). No path of this diff is a governed surface; the review is at this tier because the card's Security clause asks it of every pull on the card. Read: the PR body, its four files and the net diff against the merge base ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe security rule — "the upgrade never serves a form that no door serves today": holds on this head, by reading. The shape this PR moves is asked "served today" at its address like every other plan, the both-doors pin asserts the same answers before and after, and the pair's slot is still held where two plans claim it, whatever kind of address the pair is read at. (1) ③ against ADR-0159 D7 as written. D7 says the pair's own row of a name is read at the pair's own address, is kept there if it is a (2) Keeping a stored (3) The step 7 pin. It proves what the PR claims and no more. The control shows the store, with its index built, refuses a second active row in a pair's slot. The pin then shows that with one slot claimed twice the census holds both plans, the run writes nothing, every stored row is byte-equal and both doors answer the same. The run never reaches the store with a second row, because the hold stops it first; the two halves are shown side by side, not one through the other. That is the right shape for a pin of behaviour that already held, and L1's fourth ablation shows the control is live. The contested slot it uses is in an installed pair; the same case in a pair held as code is covered at planner level only. S1 (should-fix) — ③ is closed for a pair held as code that ships no form of the name, and not for one that ships the name itself. The change sits on the one route a row takes when its package ships no form of the name. A stored row of the pair's own, over a form the pair's code ships, takes the other route, which still reads the pair from the kind of address and asks the pair door for a pair of the pair: by reading, it holds the upgrade with the refusal this PR set out to remove, and with an action that names an exit the pair does not have. D7 gives that row the same destination. It fails closed. Either read the pair by what its package is on that route too, with the store's seal read first, or leave it owed on a card with its reason before #37111 closes. Found by reading; not run. N1 (nit) — the operator page says a row bound to a read-only package that ships no form of the name moves into "that package's N2 (nit) — Implemented-by: VERDICT: PASS |
…s its own row as the pair's own A `.custom` pair held as booted code that ships a form's name itself took the other destination route, which still read the pair from the address kind and asked the pair door for a pair of the pair: its own old-shape row held the upgrade, and its stored `form` row read as a hold. Both routes now read the pair by what its package is; the store's seal is still read first. The operator page says a row of such a pair stays in it as its own form. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmQrGTjSRSiwWSe6AhK
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: Delta of record 7292231403 (head ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentThe security rule — "the upgrade never serves a form that no door serves today": holds on this head, by reading. Every plan the delta turns from a hold into a move is asked "served today" at its address like any other, the pair's slot is still held where two plans claim it, and the new both-doors pin asserts a form the stored row keeps closed stays closed after the run. S1: closed
No must-fix, no should-fix. N3 (nit) — the helper is asked of the address, so it also gives the pair's own Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB 席位核对ACCEPT @ 0a1bb19 (#37111 PR 3). This reviews the delta on my ACCEPT at 5a6cb82 (7292122466), by the seat's order on L2 7292231403. It stays at rule level. S1. A
N1. The deployment page's "moves" row gains one sentence on such a row. The page's existing hold row for a sealed item covers the sealed case. The changeset sentence widens to match. N2 / N7. Both are in the body's Deviations, as the seat ruled. The fence. It is unchanged apart from N1's page, which the L2 asked for. Measured in a scratchpad worktree at this head:
Red first (5a6cb82's planner under this head's tests):
Ablations, each type-clean and restored after:
CI at this head: 44 success, 19 skipped, 0 failed. The PR is Tier H: it stays a draft, and the L2 is the seat's. |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Landing · 2026-11-30T22:09Z · seat
State: |
Requested by Steve · project thread
Part of #37111 — PR 3 (the card's two remaining acceptance items). PR 1 is #38613 (
1d959b0910) and PR 2 is #38748 (c4472c8631). The seat closes the card once this PR merges.Clause-②: no
Metadata-protocol: none
维护者速读
.custom定制包当作代码启动的部署,升级时定制包自己那张旧写法表单会搬成它自己的表单行,不再被误拦住;定制包代码里自己也带这个表单名时同样如此。公开地址前后应答不变。What changes
protocol-stored-form-migration.ts). A.custompair registered as code is read-only, so the census reads it at abaseaddress. It then asked the pair door for a pair of the pair, which ADR-0146 D3 never gives. Measured before the change: the pair's own old-shape row held the upgrade with the refusal "is itself a paired customization package". The census now reads the pair by what its package is (customizationBasePackageId), not by the address kind:formrow (pair_form, nooverrides), as ADR-0159 D7 already states for the pair's own row;formrow already there is kept.This holds on both destination routes: where the pair's code ships no form of the name, and where it ships the name itself (an old-shape form among its items; review 7292231403 S1). On the second route the store's seal is still read first: where the pair ships the name as a sealed
formitem, the hold is the seal's, naming the pair. The pair door is not asked. Two other shapes were measured over the same booted pair and were already right, so they are unchanged: a declared override in the pair, and a row bound to the base.ensureOverlayIndex. The new rest pin builds that index and proves the store refuses a second active row in a pair's slot (control). Then, with the pair's ownformrow beside a row planned into that pair, it asserts that the census holds both,--applywrites nothing, the slot keeps its one row byte-equal, every stored row is byte-equal, and both doors answer the same.Why
These are the two acceptance items #38748 left owed on #37111, with their reasons (the
③note of record 7253682863 onpairFormDestination, and step 7 of ruling record 7265816895). The seat's ruling of 2026-11-30T20:09Z puts them on this card as PR 3 (claim amendment 6, 7290758981). N7 of contract review 7282065700 does not fit here: the early route has no destination that could be read as a move. It stays where the seat put it.The operator page (
content/docs/deployment/stored-forms-upgrade.mdx) gains one clause (review 7292231403 N1): a row of a.custompackage the deployment holds as code stays in that package as its own form.Verification
Head
0a1bb19fd8.origin/main's planner): planner "③ a pair held as booted code…" 2 red; rest "③ a pair held as booted code…" red. For S1 (the pins run against5a6cb82666's planner): planner "where the pair's code ships the name itself…" 3 red (the first two held, the third named the pair door's refusal instead of the seal); rest "③ a pair held as booted code that ships the name itself…" red (it held). The step 7 pin pins behaviour that already held, so the ablation below is its proof.scripts/ablation-replace.mjs, each restored toHEAD):formrow where it stands: exactly the planner "its storedformrow is kept" pin red.dispatch-gates --commandsderived 95 commands; all 95 exit 0, each run with< /dev/null;dispatch-gates --ran: 95 run, 0 NOT-MEASURED.overlap-check: clean againstorigin/main. Two open trunk pulls of the approvals lane are named. chore(approvals): merge main into the approvals trunk again (#38497 refresh 2) #38797 merges cleanly. feat(objectql): a record in a closed state, and its lines, are closed to change (closedStates, ADR-0162) — trunk #38497 conflicts in the planner test file only because its head predates feat(metadata-protocol): the stored-form ceremony's write half, the --apply the next major's upgrade command runs #38748, which those files came from; neither authors a change to these files.Deviations
Clause-②: nodiffers from the claim's standingyes, which was written for PR 2's exports (review 7292231403 N2). This PR changes no export, type, route or schema, so nothing an author writes or a consumer imports changes.formrow; the code now agrees with it for a pair held as booted code.Human Minimum
packages/specholds no runtime logic. (Nopackages/specchange.)pnpm lintwas not run locally (CI's lint lane owns it).main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmQrGTjSRSiwWSe6AhK