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 9910fbc
Browse filesBrowse the repository at this point in the historyBrowse files
fix(metadata-protocol): declare and pin the list cell where a platform action sits at a key no package binds
The list slot fix also lists a platform action of a name (no package, no
stored row) beside a package's action of the name on another object, or
object-less, where main dropped it (b61bcd2 moved the bound cells, 73c2de8
the object-less one). The changeset bullet and the
environment-action-on-another-object-answers-first entry now name it, FROM
and TO, and three pins plus a CONTROL hold it.
Claude-Session: https://claude.ai/code/session_01ADHkmQmQ1jpFsNcARMbY56
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/34452-same-name-writes-and-hydration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Metadata-protocol: none
15
15
-**A bare write beside a disabled package's row** (#34346). Two enabled packages ship the name and its stored rows are bound to a disabled package and to one shipper, with no package-less row of the name. FROM the bare publish save answering 200 and writing that shipper's row, and the bare draft save and delete refusing naming that shipper and the disabled package, TO all three refusing `409 RESOURCE_CONFLICT` naming the two shippers, as the bare read does, never the disabled package, and writing or removing nothing.
16
16
-**A doc row hydrated after a restart beside two holders, a disabled one counted** (#34417, ruling 6942962369). FROM the row wearing the first registered holder's envelope, so `?package=FIRST` served the environment's row and every read naming no package refused 409, TO every read naming no package serving the environment's row and `?package=FIRST` serving that holder's own doc.
17
17
-**The environment's own action on another object** (#33904, ADR-0150 D4). A package holds an action name on one object (or object-less) and the environment stores its own package-less action of the name on another. FROM the plain read, `/layers` and `/published` naming no package serving the package's action, the merged list naming only it, and the bare delete removing the package's row, TO those reads serving the environment's action, the list naming both, and the bare delete removing the environment's row.
18
-
-**The merged action list where a package binds the object** (#33904, ADR-0150 D4). The list now slots an action at its `(package, objectName, name)` key wherever a package's action of the name binds the object, object-less being a key of its own. Two cells move with no environment-own action. Two packages hold the name on two objects and a package-less row is stored on one: FROM the row listed under both packages and the second package's own action dropped, TO the row listed under its object's package and the second package's own action listed. A list scoped to a package whose action is bound to one object, beside the environment's row on another: FROM that package's slot serving the environment's row, TO its own action. Where no package holds the name, the list slots by name as before.
18
+
-**The merged action list where a package binds the object** (#33904, ADR-0150 D4). The list now slots an action at its `(package, objectName, name)` key wherever a package's action of the name binds the object, object-less being a key of its own. Three cells move with no environment-own action. Two packages hold the name on two objects and a package-less row is stored on one: FROM the row listed under both packages and the second package's own action dropped, TO the row listed under its object's package and the second package's own action listed. A list scoped to a package whose action is bound to one object, beside the environment's row on another: FROM that package's slot serving the environment's row, TO its own action. A platform action of the name (no package, no stored row) on one object, or object-less, beside a package's action on another object, or object-less: FROM the platform action dropped, TO both listed. Where no package holds the name, the list slots by name as before.
19
19
-**A package-less action row beside an enabled and a disabled holder on its object** (#34258). FROM the read naming no package answering 404 when the disabled holder registered first, TO 200 serving the row as the enabled holder's customization in both orders. And where every holder on the row's object is disabled while an enabled package holds the name on another object: FROM 200 serving the row (the name, not the key, was judged, and it had an enabled holder) TO 404, as a key whose every holder is disabled answers with no other holder of the name.
20
20
21
21
The registry's heal for a package-less overlay row whose every holder is disabled (#33127) now keeps it recorded with no holder, so enabling one holder rebuilds it under that holder's envelope; no door's answer moves.
it('a platform action (no package) on `lead`, a code package\'s OBJECT-LESS action: both listed (BASE, on `main` and the first list fix: P\'s item only)',()=>{
+'DELETE /api/v1/meta/action/NAME naming no package. Also the merged action list, with no such environment '
32
33
+'action, where two packages hold the name on two objects and a package-less row is stored on one of them, '
33
34
+'and the list scoped to a package (GET /api/v1/meta/action?package=PACKAGE) whose action of the name is bound '
34
-
+'to one object while the environment\'s row is on another',
35
+
+'to one object while the environment\'s row is on another, and the merged list where a platform action of the '
36
+
+'name (no package) is on an object, or object-less, while every package\'s action of the name is on another '
37
+
+'object or object-less',
35
38
replacement:
36
39
'To read or delete the package\'s action, name the package: GET or DELETE /api/v1/meta/action/NAME?package=PACKAGE '
37
40
+'reads or removes that package\'s action, as before. The reads that name no package serve the environment\'s '
38
41
+'action (its version too), the list names both actions, and the delete that names no package removes the '
39
42
+'environment\'s row and leaves the package\'s. In the list, a package-less row on one package\'s object is that '
40
43
+'package\'s customization only, and the other package\'s own action is listed again; the list scoped to a '
41
-
+'package lists that package\'s own action, and the environment\'s row on another object is read naming no package.',
44
+
+'package lists that package\'s own action, and the environment\'s row on another object is read naming no package. '
45
+
+'A platform action at a key no package\'s action binds is listed beside the package\'s; read it by its object '
46
+
+'(the action route) or override it in the environment.',
42
47
reason:
43
48
'The environment\'s own item answers first, and reads and writes give the same answer (ruling 6942962369). The '
44
49
+'plain read, /layers effective and /published served the package\'s action, the list slotted actions by name and '
45
50
+'named the package\'s only (so a package-less row on one package\'s object was also listed under every other '
46
51
+'package of the name, in place of that package\'s own action, and stood in for a scoped list\'s package on '
47
-
+'another object), and the bare delete removed the package\'s row and left the environment\'s, while '
52
+
+'another object, and a platform action at another key was dropped from the list), and the bare delete removed the package\'s row and left the environment\'s, while '
48
53
+'the save door and the action route keyed the two apart. There is no mechanical rewrite: which action a caller '
0 commit comments