You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ee9ad83
Browse filesBrowse the repository at this point in the historyBrowse files
fix(objectql, runtime): a function's bare-name record follows its holders — a re-bind releases the old owner's claim with the function, and the one remaining holder answers the bare read (#32877)
<!-- claude-projects-attribution: {"github_login":"os-sales"} -->
_Requested by **Sales** · [project
thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuEBomxh3CPXXnuthtBj5jmz)_Fixes#32534
## 维护者速读
1.
改了什么:多包制品重绑时,函数换了归属包(或所在包体被丢弃),旧持有包在注册表里的裸名认领随函数一起释放,只放引擎移除之后该包已不再持有的名字;某函数名的最后注册者离开、只剩一个持有者时,按裸名读函数改为答这个持有者。
2. 为什么改:改前冷启动封存后,旧认领还在,新归属包整组 hook
绑定被拒、该函数无人持有;两包持有时最后注册者一离开,裸名读落空,而另一包还持有它。
3. 风险与回滚:只放宽(Clause-② yes (widening)),被拒或落空的答案改为成功;两个及以上持有者仍不挑(两包仍 409
点名双方);第一方受影响 0;回滚即还原本 PR。
4. 先看:`packages/runtime/src/app-artifact-handlers.ts` 的拆除段与
`releaseMovedFunctions`;`packages/objectql/src/registry.ts` 的
`releaseBareNameFunctions`;`packages/objectql/src/engine-hooks-and-functions.ts`
的 `unregisterFunctionsByPackage`。
5. 两分钟验证:`pnpm --filter @objectstack/objectql exec vitest run
src/registry-bare-name-one-holder-request-family.test.ts`,预期全绿(含 #32534
的 12 个新用例;runtime 另有 6 个)。
6. 需要你做的:无,席位落地。
Clause-②: yes (widening)
Metadata-protocol: none
## What changes
The engine's function registry (`ObjectQL`, the bare map plus the holder
set `functionHoldersOf`, ADR-0150 D4) and the registry's one-holder rule
(`SchemaRegistry`, the function claims the hook binder records) each
keep a record of who holds a function name. Two of those records
outlived the holding. This PR makes both follow the holders.
1. **`SchemaRegistry#releaseBareNameFunctions(owner, stillHolds)`**
(new, `packages/objectql/src/registry.ts`): releases the owner's
package's claim, recorded by `claimBareNameFunctions` at the bind, on
each function name it claims that `stillHolds(name)` says it no longer
holds. Only that package's claims go; each name it still holds and every
other holder's claims stay. It judges nothing itself, sealed or not; an
owner-less call releases nothing.
2. **The runtime's re-bind calls it**
(`packages/runtime/src/app-artifact-handlers.ts`,
`releaseFunctionClaims`) right after it removes functions from the
engine, in both places a re-bind takes functions off an owner, and asks
the engine's holder set
(`functionHoldersOf(name).packageItem(<package>)`), never the binder's
record of its last bind (red-line read 6839471011 F1, contract review
S3):
- `releaseMovedFunctions`: after the removal and after what the old
owner keeps is registered again, ahead of the gaining owner's bind (card
acceptance (a));
- the dropped-body teardown: after the removal of a package body the new
bind no longer carries. This is the same defect class measured on the
same teardown (below), fixed by the same call; it stays inside the
claim's file surface ("`app-artifact-handlers.ts`, only to call the
release").
- The engine removes by the exact owner string (`app:<id>`). So a
function the host also registered for the package under its bare id
stays held and keeps its claim, refused as on main (F1); and a function
an earlier bind gave the owner that the last bind no longer named leaves
with the removal and is released with it (S3).
- An engine without the holder read, or a registry without the release
(a host's own double), is left as it is.
3. **The bare read answers the one remaining holder**
(`packages/objectql/src/engine-hooks-and-functions.ts`,
`unregisterFunctionsByPackage`): when the leaving package's registration
was the bare entry and exactly one holder of the name remains, that
holder's entry becomes the bare entry. Two or more remaining holders get
no pick. An owner-less registration never leaves with a package, so it
keeps its rules. `engine.ts` docblock of `unregisterFunctionsByPackage`
updated.
### Premises re-measured on `main` at `c04aa295` (scratch probes, not
committed)
- **(a) sealed re-bind.** A two-body artifact (alpha, the artifact's
own, and beta), each body installed, bound once, `sealBareNameHolders()`
(no conflict), bound again with a top-level hook naming `qa_moving`,
which moves the function from beta to alpha:
- beta a co-owner of alpha's namespace (declares `alpha`, depends on
alpha): the second bind logs `[AppPlugin] Failed to bind declarative
hooks :: Bare-name conflict: package "com.qa.bodies.alpha" … the
function "qa_moving", already held by package "com.qa.bodies.beta"`;
`functionHoldersOf('qa_moving').packageHolders` = `[]`; alpha's hooks do
not fire (its other hook `qa_alpha_other` included); the claims still
name beta.
- bodies with no installed record (no namespace read): the same refusal
and the same state.
- two namespaces (alpha, beta): no refusal (the holders do not meet),
but the claims read `[beta, alpha]` while only alpha holds the function.
- **Dropped body** (same teardown): bound with body beta whose hook
names `qa_beta_fn`, sealed, re-bound without beta: holders `[]`, claims
`[beta]`, and a later bind of `qa_beta_fn` by another package (no
namespace) is refused naming `com.qa.bodies.beta`.
- On this PR's head, the same probes read: no error, holders `[alpha]`,
claims `[alpha]` in all three modes; the dropped body's claims `[]` and
the later bind admitted.
- **(b) two-holder leave.** `registerFunction('f', …, { packageId:
'app:com.acme.alpha' })`, then beta's, then
`unregisterFunctionsByPackage('app:com.acme.beta')`:
`functionHoldersOf('f').packageHolders` = `["com.acme.alpha"]`,
`resolveFunctionEntry('f')` = `undefined` (no throw). Also measured: the
platform's (owner-less) registration then beta's, beta leaves:
`undefined`; platform + alpha + beta, beta leaves: `undefined`; alpha
then the platform, alpha leaves: the platform answers. On this PR's
head: alpha's entry; the platform's entry; `undefined` (unchanged, two
holders); the platform (unchanged).
### FROM → TO (main `c04aa295` → this PR)
| # | Door | FROM | TO | Clause-② | Pin |
|---|---|---|---|---|---|
| 1 | `bindAppArtifactHandlers` re-bind after the cold-boot seal; a
function moves from owner A to owner B, and the two meet under the rule
(one namespace, or a body with no namespace read) | B's group bind
throws `NAMESPACE_CONFLICT` (422) naming A, logged at error by the
binder; B's hooks never bind; the moved function is held by nobody | B's
whole group binds; the function is held by B; A keeps its other claims |
widening | runtime (i) |
| 2 | the same re-bind, A and B of two namespaces | binds, but A's claim
on the moved name stays: a later bind of that name by a package that
meets A (A's namespace, or none) is refused naming A | A's claim leaves
with the function | widening | objectql (i) (the release), runtime (i)
(the call) |
| 3 | `bindAppArtifactHandlers` re-bind that drops a package body, after
the seal | the dropped body's claims stay: a later bind of one of its
function names by a package that meets it is refused naming the dropped
body | admitted | widening | runtime (ii) |
| 4 | the same re-binds before the seal (a boot that binds twice) | the
seal reports the moved or dropped name as held twice (warned at boot
under `'warn'`, the boot refused under `'refuse'`) | no clash reported
for a released claim | widening | objectql (ii) |
| 5 | `ObjectQL#resolveFunction` / `resolveFunctionEntry` after
`unregisterFunctionsByPackage`: two packages held the name, the
last-registered left | `undefined` | the remaining package's entry |
widening | objectql (iii) |
| 6 | the same, the platform's (owner-less) registration was under the
leaving package's | `undefined` | the platform's entry | widening |
objectql (iv) |
| 7 | `unregisterFunctionsByPackage(P)` return value, when P is the
remaining holder of row 5 and leaves later | `0` (no bare entry left) |
`1` (the bare entry P held since row 5) | widening | objectql (iii) |
| 8 | rows 1 to 3 for a function the old owner's `app:<id>`
registrations held that the re-bind does not register again, after the
seal, whichever way it was bound under that owner: an earlier bind of
the artifact that the last bind no longer named (it stayed registered,
replaced by name, as before), or a bind under that owner outside the
artifact's binder (contract review S3; red-line delta read 6840550973
N6) | the removal takes it, its claim stays: a later bind of it by a
package that meets the old owner is refused naming the old owner |
admitted | widening | runtime (iv) moved, (v) dropped; objectql (vi)
(two binds under the owner, engine level); the outside-binder bind
measured by the red-line delta read (6 cells) |
Unchanged (each a CONTROL pin): the first-registered holder leaving (the
last-registered answers); two package holders remaining (409 naming
both); a one-holder name leaving (nothing answers); an owner-less
registration over a package's (never leaves with it, still answers); the
platform beside one package after the last-registered package leaves
(two holders: nothing picked; current behaviour, not the rule, see
#32907); a package's other claims and every other package's claims after
a release; an owner-less release, and one whose package still holds
every name; a moved or dropped name the old owner's package still holds
under its bare id (the removal is by `app:<id>`): its claim stays and
the bind is refused naming it, as on main (red-line read F1; objectql
(vii), runtime (vi), (vii)).
When an outside package or the platform still holds a moved name, the
rule is unchanged and acts on the new holder set (epic seat ruling on
red-line read N1).
Red line 2, for the restore: the restore answers nothing by order. A
restored bare entry is the only holder the name has; with two or more
holders the bare map is left as it was (two packages refuse, naming
both). The bare read as a whole still answers the platform beside one
package by its last registration while that registration stays; that is
older than this PR and #32907 carries it.
Reach: the re-bind rows need `bindAppArtifactHandlers` called again with
callables on a live engine (the exported binder, or a hot reload); the
JSON install-local door carries no function. Production bare readers of
the function map: one, `releaseMovedFunctions`, which reads it for a
one-holder name only (`git grep` of `resolveFunction` /
`resolveFunctionEntry` outside tests). First-party exposure 0 (ruling
6829776521).
## Tests
Every pin and ablation below is measured on `0c9fad9f` (the F1 and S3
fix, `658dc995`, and its pin fix-up); the two package suites on the same
head. `398a221a` changes the changeset's wording only (red-line delta
read N6). Pins added:
-
`packages/objectql/src/registry-bare-name-one-holder-request-family.test.ts`
- (i) `[#32534] after the seal, releasing a package's claims on the
names it no longer holds lets a package of its namespace bind them; a
name it still holds and the other holders' claims stay`: the re-bind's
removal, what alpha keeps registered again, then the release asking the
engine; CONTROLs (the name alpha still holds, gamma's claim, an
owner-less release, a release whose package still holds every name).
- (vii) `[#32534] CONTROL — a name the package still holds under another
owner spelling (its bare id) keeps its claim after the removal of its
app: registrations` (red-line read F1).
- (vi) `[#32534] a name an earlier bind claimed, removed with the
owner's registrations, is released with the rest, not only the last
bind's names` (contract review S3).
- (ii) `[#32534] a claim released before the seal is no clash for the
cold boot to report` (the existing ABLATION case beside it, with no
release, reports it), with a CONTROL that alpha keeps its other name.
- (v) `[#32534] CONTROL — two namespaces' packages claim one name after
the seal; releasing one owner's claim leaves the other's, so a package
of the remaining holder's namespace is still refused naming it`
(contract review S1): alpha and beta of two namespaces both claim
`shared_fn`, alpha's claim is released, beta's co-owner is refused
naming beta, alpha's co-owner binds.
- (iii), (iv) and five CONTROLs under `describe('[#32534] the bare
engine function read after a holder leaves')`; the platform-plus-package
CONTROL reads "current behaviour, see #32907" (contract review S2).
- `packages/runtime/src/app-artifact-handlers.test.ts`,
`describe('[#32534] after the seal, a re-bind takes the old owner's
bare-name claim off with the function')`
- (i) a function moved to another owner of its namespace: every group
binds, the gaining owner's whole group fires, the function is held by
it; the moved name now refuses a third co-owner naming the new holder
only; CONTROL: beta still holds what it keeps.
- (ii) a dropped body's function claims leave with its functions: a
co-owner then binds the name; CONTROL: the kept owner keeps its claims.
- (vi) CONTROL, moved: the old owner's package also holds the moved
function under its bare id; the gaining owner's group is refused naming
it and beta keeps its claim, as on main (red-line read F1).
- (vii) CONTROL, dropped: the same for a dropped body's function (F1).
- (v) dropped: a function an earlier bind gave beta, which the last bind
no longer named, leaves the engine and its claim with the body; a
co-owner binds it (S3).
- (iv) moved: the same name through `releaseMovedFunctions` (beta keeps
a hook of its own, so it stays an owner); a co-owner binds it; CONTROL:
beta's kept name keeps its claim (S3).
<details><summary>Suites</summary>
- `pnpm --filter @objectstack/objectql exec vitest run
src/registry-bare-name-one-holder-request-family.test.ts`: 68/68.
- `pnpm --filter @objectstack/runtime exec vitest run
src/app-artifact-handlers.test.ts` (objectql dist rebuilt from this
head): 34/34.
- `pnpm --filter @objectstack/objectql test` and `pnpm --filter
@objectstack/runtime test` on `0c9fad9f`: objectql 590 files,
12622/12622; runtime 588 files, 10257 passed, 19 skipped.
- `pnpm --filter @objectstack/objectql typecheck` and `pnpm --filter
@objectstack/runtime typecheck`: exit 0. eslint on the four changed
source and test files: exit 0.
- The derived gate set (`dispatch-gates.mjs --commands`, 73 commands) on
bc9dbb6: in the os-dev-report on the card. The review delta (69245b3,
8564eaa) touches one test file and the changeset only; on it: the test
file 66/66, `check:test-typecheck` for objectql, eslint on the file,
`check-changeset-no-major`, `check-empty-changeset` and
`check:nul-bytes`, each exit 0. The F1 and S3 round (658dc99, 0c9fad9)
touches the same four source and test files and the changeset; on it:
both package suites, both typechecks and eslint above, each exit 0; the
derived set (`dispatch-gates.mjs --commands`, the same 73 commands)
rerun on `0c9fad9f`: 73/73 exit 0, and `--ran` reads 73 derived, 73 run,
0 NOT-MEASURED, 0 UNRUN. `398a221a` changes the changeset text only.
- On the merged head `9cd6224d` (`origin/main` `25ee5076` merged; no
file of this PR changed): objectql and runtime rebuilt with declarations
(`pnpm --filter '@objectstack/runtime...' build`), then `pnpm --filter
@objectstack/objectql test` 590 files, 12657/12657; `pnpm --filter
@objectstack/runtime test` 588 files, 10262 passed, 19 skipped; `pnpm
--filter @objectstack/objectql typecheck` and `pnpm --filter
@objectstack/runtime typecheck` (each runs its package's
`check:test-typecheck`) exit 0, the runtime one under
`NODE_OPTIONS=--max-old-space-size=8192` (at the default heap its
test-layer `tsc` ran out of memory before giving a reading); eslint on
the six changed source and test files exit 0.
- On the second merged head `342fa08f` (`origin/main` `c1a645e2` merged;
this PR's diff of each of its seven files unchanged; `main` touched
`engine.ts` and `app-artifact-handlers.ts` in other regions, #32848 and
#32889): objectql and runtime rebuilt with declarations, then both
package typechecks (with `check:test-typecheck`, under the same heap)
exit 0; `registry-bare-name-one-holder-request-family.test.ts` 68/68;
`app-artifact-handlers.test.ts` 34/34.
</details>
<details><summary>Ablations (each through scripts/ablation-replace.mjs
on the committed head; every restore proved: blob equals HEAD and git
diff HEAD empty)</summary>
On `0c9fad9f`:
- A1, `releaseBareNameFunctions` releases nothing (its two delete lines
replaced): objectql 4 failed / 64 passed ((i), (ii), (v), (vi)); with
objectql rebuilt, runtime 4 failed / 30 passed ((i), (ii), (iv), (v)).
The preflight cannot see a comment marker in the built output (the
bundler drops comments); the four runtime reds are the reading that the
ablated build ran. Restore leg: rebuilt, working tree clean, runtime
34/34.
- A2, the release call in `releaseMovedFunctions` removed: runtime 2
failed / 32 passed ((i), (iv)).
- A3, the release call in the dropped-body teardown removed: runtime 2
failed / 32 passed ((ii), (v)).
- A5 (contract review S1), the release drops the name's whole claimant
set: objectql 1 failed / 67 passed ((v), beta's co-owner admitted).
- A7, the release ignores `stillHolds` (every claimed name of the
package released): objectql 3 failed / 65 passed ((i), (vii), (ii)).
- A9 (red-line read F1), the runtime asks nothing (`() => false`, every
claimed name released): runtime 2 failed / 32 passed (the F1 CONTROLs
(vi), (vii)). The kept-name CONTROLs of runtime (i) and (iv) stay green
under it, since the re-bind claims a kept name again (red-line read N2);
objectql (i) and (vii) carry that property (red under A7).
- A0, the previous head's two production files (`8564eaac`'s
`registry.ts` and `app-artifact-handlers.ts`, file swap, objectql
rebuilt) under this head's runtime tests: 4 failed / 30 passed, exactly
the four new pins ((iv), (v), (vi), (vii)); restored with `git checkout
HEAD`, tree clean, rebuilt.
- A4, measured again on `9cd6224d` (the first merged head; the restore
is unchanged since `ec785b77`): objectql (iii) and (iv) red, 2 failed /
66 passed; every CONTROL green.
</details>
## Acceptance notes
- **Dropped-body release in this PR.** The card asks for the moved
function's release. The same teardown leaves a dropped body's claims
behind (measured above, row 3), so the PR calls the same release there
too, under its own pin (runtime (ii)). Review round 1 on PR #32468 named
it ("Likewise a dropped body's function claim stays in the registry");
round 2 kept only the moved half as S1.
- **Red-line read F1 and contract review S3, fixed here (epic seat
ruling).** The release first used the binder's record of its last bind,
while the engine's removal it follows is by the exact owner string: a
function the host also registered for the package under its bare id
stayed held, yet its claim was dropped, so a bind refused on main was
admitted. The release now asks the engine which names the package still
holds after the removal; the same rule releases a function the old
owner's `app:<id>` registrations held that the re-bind does not register
again, whether an earlier bind of the artifact gave it or it was bound
under that owner outside the artifact's binder (S3 and red-line delta
read N6, row 8). The S3 follow-up card is narrowed to what is left.
- **The platform's entry is restored too (row 6).** Read as the card's
"exactly one holder remains": the platform's owner-less registration is
a holder (`functionHoldersOf(...).platformItem`), and ADR-0150 D4 says
the platform alone answers a caller with no package. "A package-less
registration keeps its rules" is kept: it never leaves with a package,
it does not count toward the 409, and when it is the bare entry it
stays.
- **Observed, not changed:** the platform beside one package answers the
bare read with the last registration of the two (epic seat ruling R2-C
counts package holders only), while ADR-0150 D4's caller-less rule would
refuse it `ambiguous-in-environment`. After the last-registered of three
leaves, that pair answers nothing (CONTROL pin), so no holder is
guessed. Whether the bare read should refuse the platform-plus-package
pair is #32907 (filed by the epic seat): its CONTROL pin here reads
"current behaviour, see #32907", so the alignment flips it on purpose.
- **File surface (contract review N1).**
`packages/objectql/src/engine.ts` changes the
`unregisterFunctionsByPackage` docblock only, and it is outside the
claim's declared file surface. The dropped-body release call in the
runtime teardown goes past "`app-artifact-handlers.ts`, only to call the
release" in `releaseMovedFunctions` (named in the first note).
- The claim release is not recorded on the registry's install restore
point (`noteBareNameClaim`), the same as `claimBareNameFunctions`:
neither runs inside an install transaction.
- **Merged `main` twice before the queue, never rebased.** First
`9cd6224d` (`origin/main` `25ee5076`): 32 first-parent commits had
landed since the branch's last merge (`5c0f1134`), at or over the
queue's 15; clean, touching none of this PR's seven files; the affected
gates run again (Suites above) and A4 measured again. Then `342fa08f`
(`origin/main` `c1a645e2`): 20 more since `25ee5076`; clean, a
mechanical merge (this PR's diff of each file unchanged); both
typechecks and the two changed test files run again (Suites above). Open
PR #32815 also edits `registry.ts` (another region); if it lands after
this PR, it merges `main` on its side.
- No full dogfood battery: the title has no `!` and `Clause-②:` has no
`(narrowing)` arm (`os-dev.md`).
---
_Generated by [Claude
Code](https://claude.ai/code/session_01L6bhgTAAvx8zsU1YcVseLQ)_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L6bhgTAAvx8zsU1YcVseLQ
<!-- signed: domain:server#4 · os-sales ·
session_01L6bhgTAAvx8zsU1YcVseLQ -->
---------
Co-authored-by: Claude <noreply@anthropic.com>
fix(objectql, runtime): a function's bare-name record follows its holders (ADR-0150 D4)
7
+
8
+
Clause-②: yes (widening)
9
+
Metadata-protocol: none
10
+
11
+
The engine's function registry and the registry's one-holder rule each keep a record of who holds a function name, and two of those records outlived the holding:
12
+
13
+
- **A re-bind takes the old owner's bare-name claim off with the function.** The hook binder records a claim for every function a package's bind brings (`SchemaRegistry#claimBareNameFunctions`), and only `uninstallPackage` released it. When a re-bind of a multi-package artifact (`bindAppArtifactHandlers`) moved a function to another owner, or dropped the package body that held it, the old owner's claim stayed. After the cold-boot seal, a bind of that name by a package of the old owner's namespace was then refused naming a holder that no longer registers it. FROM: the gaining owner's whole group refused at bind (`NAMESPACE_CONFLICT`, logged at error; its hooks never fire and the moved function is held by nobody), and a co-owner's bind of a dropped body's function refused the same way. TO: the group binds and the function is held by its new owner; the co-owner's bind is admitted. The new `SchemaRegistry#releaseBareNameFunctions(owner, stillHolds)` releases the owner's package's claim on each function name it claims that `stillHolds` says it no longer holds, and nothing else; the binder calls it right after the engine's removal and asks the engine's holder set. So a name the package still holds under another owner spelling (its bare id) keeps its claim and is refused as before, and every other holder's claims stay. A function the old owner's `app:<id>` registrations held that the re-bind does not register again leaves with the removal and is released too, whichever way it was bound under that owner: an earlier bind of the artifact that the last bind no longer named (it stayed registered, replaced by name), or a bind under that owner outside the artifact's binder. FROM: its claim stayed, and after the seal a bind of it by a package that meets the old owner was refused naming the old owner. TO: admitted. Before the seal, a released claim is no clash for the seal to report.
14
+
-**The last remaining holder answers the bare function read.**`ObjectQL#unregisterFunctionsByPackage` deleted the bare entry of a name only when the leaving package had registered it last, and left the other holders in the holder set. FROM: two packages hold `f`, the last-registered leaves, and `resolveFunction('f')` / `resolveFunctionEntry('f')` answer nothing while `functionHoldersOf('f')` still names the other package. TO: when exactly one holder of the name remains, the bare read answers that holder's entry, a package's or the platform's (owner-less) registration. Two or more remaining holders get no pick: two packages' name stays refused (409 naming both). The platform beside one package is left as it is today: after such a leave it answers nothing. That is today's behaviour, not the rule: ADR-0150 D4 refuses a caller with no package when the platform and a package both hold the name, and #32907 aligns the bare read with it.
15
+
16
+
Unchanged: the first-registered holder leaving, a one-holder name leaving (nothing answers), an owner-less registration (it never leaves with a package), and every reader that resolves by package (`functionHoldersOf`: the flow `script` and screen nodes, the hook binder). Nothing to migrate.
it('[#32534] after the seal, releasing a package\'s claims on the names it no longer holds lets a package of its namespace bind them; a name it still holds and the other holders\' claims stay (base: no release, the bind refused naming the old owner)',async()=>{
it('[#32534] CONTROL — a name the package still holds under another owner spelling (its bare id) keeps its claim after the removal of its `app:` registrations, so its co-owner is still refused naming it, as on main',async()=>{
it('[#32534] a name an earlier bind claimed, removed with the owner\'s registrations, is released with the rest, not only the last bind\'s names',async()=>{
it('[#32534] CONTROL — two namespaces\' packages claim one name after the seal; releasing one owner\'s claim leaves the other\'s, so a package of the remaining holder\'s namespace is still refused naming it (ABLATION: a release that drops the name\'s whole claimant set admits it)',async()=>{
it('[#32534] a claim released before the seal is no clash for the cold boot to report (CONTROL: the ABLATION above, with no release, reports it)',async()=>{
it('the platform\'s (owner-less) registration under a package\'s, the package leaves: the platform, the one holder left, answers (FROM nothing TO its entry)',async()=>{
// CURRENT BEHAVIOUR, see #32907 — not the rule. ADR-0150 D4 refuses a caller
884
+
// with no package `ambiguous-in-environment` when the platform and a package
885
+
// both hold a name (a 409 naming each); the bare read counts package holders
886
+
// only (epic seat ruling R2-C), so this pair answers nothing here. #32907
887
+
// aligns the bare read with D4 and flips this pin on purpose. What it pins
888
+
// for #32534: the restore picks no holder of two.
889
+
it('CONTROL (current behaviour, see #32907) — the platform and one package remain after the last-registered package leaves: two holders, so the restore picks nothing',async()=>{
0 commit comments