Skip to content

Commit 152b53c

Browse files
docs(spec): the package-less row entry's remedy deletes the package-less row first, and saves a code package's customization in its .custom pair (#32973)
<!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuXJAMZYj59b5X3KNNXXrJPe)_ Fixes #32968 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:#32568 升级指南条目 `package-less-row-exact-address-by-type-class` 的补救写法和对应 changeset 的 The fix 段。现在先读出并保存包外行的正文(从 `GET /api/v1/data/sys_metadata` 读),先清掉同名已绑包的行,再删包外行,最后保存;代码包的定制存到它的 `.custom` 配对包,可写包才用 `?package=<持有方>`。另外写明:代码包发布同名时,flow、action、doc、mapping 和无覆盖通道的封闭类型(skill 除外)的包外删除返回 403,这些行没有元数据接口能删,留着也不被任何读取服务。 - 为什么改:在 main 上实测,按原顺序(先存后删)不带包的删除会删掉刚存的那份定制,包外行却留着,属于数据丢失。另外对代码包传 `?package=<持有方>` 保存会返回 403。 - 风险与回滚:只改文字,不改任何答案、键或导出。回滚即 revert 本 PR。本 PR 有意改写了 #32568 尚未发版的 note(见 DELIBERATE CORRECTION 一节),`Check Changeset` 按设计保持红。 - 先看:`packages/spec/src/migrations/entries/semantic/18.package-less-row-exact-address-by-type-class.ts`。 - 两分钟验证:读 `replacement` 与 `acceptanceCriteria` 两段,对照下面的实测表。 - 需要你做的:无,席位落地。 ## What changes The ADR-0087 entry #32568 registered (`package-less-row-exact-address-by-type-class`, in 18.4.0's upgrade guide) prescribed: save the customization, then delete the package-less row. Measured on `main` (`25ee50765`), that order loses the user's change: - A delete naming no package addresses the one package the name's rows are bound to (the save door's resolution, `packagelessAddress` / `packagelessDraftAddress`). Run after the save, it removes the row just saved and leaves the package-less row. - A save at `?package=<holder>` answers `403 NOT_OVERRIDABLE` when the holder is a code package, naming its `.custom` pair. The entry's `replacement` now gives the remedy as steps, each measured or read on `main`: 1. Read and keep the package-less row's stored body first. A holder's exact address does not serve it (a sealed type's row is served by no read); its `sys_metadata` record does (`GET /api/v1/data/sys_metadata`, filtered by type, name and state with `package_id` null; `sys-metadata.object.ts` opens `get` and `list` on that object, and the body is its `metadata` field). The delete hard-deletes the row and a draft leaves no history copy, so the kept body is the only copy a refused save can be retried from (contract review must-fix 1). 2. Check the same list for rows of the name bound to a package. A delete naming no package addresses the one package the name's rows are bound to: for an active row, a bound row at that state; for a draft, the item's ACTIVE rows decide (their package's own draft is removed, and with active rows bound to two or more packages the delete answers `409` whatever drafts exist). Such a row is kept, deleted at its own address, and re-saved there after the package-less delete; it is folded into the saved change only when it belongs to the package that change goes to (should-fix 3; r2 review should-fix 1 and 2). 3. Delete the package-less row (its receipt names no package), then save: a writable holder at `?package=ID`; a code package in `?package=ID.custom` with `overrides: { package: ID, basedOn }`. Run after the save, the same delete removes the change just saved. 4. When a code package ships the name, the package-less delete of `flow`, `action`, `doc`, `mapping` and every type of (2b) but `skill` answers `403 NOT_OVERRIDABLE`, sealed against removal (`refusePackagedBaseRemoval`: artifact-backed, no `allowEnvironmentOverlay`, no `supportsOverlay`). No metadata door removes that row; it stays stored and served by no read, and the remedy skips the delete there: for the (2a) types the declared override is saved, for (2b) the change ships as before (must-fix 2). Per kernel topology, measured: `hook`, `action` and `flow` answer 403 on both; `job`, `queue` and `agent` answer 403 on an environment kernel and are removed on a host-config kernel, whose delete door takes the legacy path for a type with `allowRuntimeCreate: false` (r3 review should-fix 1). `sharing_rule`, `assignment_rule` and `api` share those flags and were not run. `acceptanceCriteria` name the address the saved draft answers at, allow the 403-sealed row to remain, and require every package-bound row cleared on the way to be back at its own address. `.changeset/32568-package-less-row-sealed-and-draft-exits.md`'s "The fix" says the same. A new `@objectstack/spec` patch changeset records the text change. ## DELIBERATE CORRECTION `Check Changeset` refuses the edit of `.changeset/32568-package-less-row-sealed-and-draft-exits.md`, a pending note on the merge base that this PR did not add. It is not a filename collision: #32968 exists to correct that note, whose remedy order is measured false (table below), and restoring the base text would republish it. Named note: `.changeset/32568-package-less-row-sealed-and-draft-exits.md`. Sentences corrected: - BEFORE `The fix:` · AFTER `The fix (first read and keep the package-less row's stored body …; then check the same list for rows of the name bound to a package … for a draft it is decided by the item's ACTIVE rows … Clear such a row first: keep its body, delete it at its own address ?package=<its package>, and after the package-less delete re-save it at that same address; fold it into the change saved below only when it belongs to the package that change goes to … then delete the package-less row …, and only then save, because run after the save the same delete removes the change just saved):` - BEFORE `… TO saving the customization under the one package it customizes, then deleting the package-less row.` · AFTER `… TO deleting the package-less draft, then saving it under the package it customizes: ?package=<holder> for a writable (authored) holder; for a code package … the holder's paired .custom package (?package=<holder>.custom with overrides: { package: <holder>, basedOn }), where ?package=<holder>.custom&state=draft then answers it.` - BEFORE `… TO a declared override in the holder's paired .custom package (ADR-0146), then deleting the package-less row.` · AFTER `… TO deleting the package-less row, then a declared override in the holder's paired .custom package (ADR-0146). When a code package ships the name, the package-less delete of a flow, action, doc or mapping row answers 403 NOT_OVERRIDABLE (sealed against removal): no metadata door removes that row, it stays stored and served by no read, and the declared override is saved without the delete.` - BEFORE `… TO deleting the package-less row and shipping the change in a new version …` · AFTER `… TO deleting the package-less row (when a code package ships the name, that delete answers 403 NOT_OVERRIDABLE for hook everywhere, and for every other one of these but skill on an environment kernel; there the row stays stored and served by no read, while a host-config kernel removes the row of a type that allows no runtime creation: job, queue, sharing_rule, assignment_rule, agent, api) and shipping the change in a new version …` The diff also changes code text (the ADR-0087 entry), so this is confirmed by the same-head at-tier contract-review PASS (pm-dispatch `references/landing-operations.md`). The gate stays red by design. The same declaration is on the PR as comment 6841100444 (written at `f2642c6b0`; the third and fourth bullets above are new at `7441aa675`, the first bullet's bound-row clause was rewritten at `bf6e09b9b`, and the fourth bullet's 403 sentence is per kernel topology at `f36b5fea3`). ### Measured (real `ObjectQL` engine and `SchemaRegistry`, the boot of `environment-overlay-five-types.test.ts`, `email_template` and `dashboard` unless named) | Case | As written (save, then delete) | Corrected (delete, then save) | |---|---|---| | (1) Two code holders, package-less draft: save at `?package=<holder>` | `403 NOT_OVERRIDABLE` naming the pair | (not the path) | | (1) Two code holders: draft saved at `?package=<holder>.custom` with `overrides` | both rows kept until the delete; the delete removes the package-less draft; the pair's draft answers at `?package=<holder>.custom&state=draft` | same end state: pair draft kept, package-less draft gone | | (1) A writable (authored) holder: draft saved at `?package=<holder>` | the delete removes the draft just saved; the package-less draft stays and is still served | package-less draft gone; `?package=<holder>&state=draft` answers the saved draft | | (2a) `dataset`, declared override in `<holder>.custom` | the delete removes the override; the package-less row stays; `?package=<holder>` answers the shipped item | override kept, package-less row gone; `?package=<holder>` answers the override | | `dataset`, a `.custom` override stored BEFORE the remedy, beside the package-less active row | first package-less delete removes the override; receipt: `Customization overlay deleted (package=…custom) … its package-less row remains`; a second removes the package-less row | (the precondition the entry now states: clear the bound row at its own address first) | | `action` and `flow` shipped by a code package, package-less active row, both topologies | package-less delete: `403 NOT_OVERRIDABLE` sealed against removal, row stays | `?package=<holder>.custom` delete answers success and removes nothing; `?package=<holder>`: 403 (environment kernel), success and nothing removed (host-config); the row stays; an engine read of `sys_metadata` returns it with its body | | `job`, `queue`, `agent`, `hook` shipped by a code package, package-less active row | environment kernel: all four `403 NOT_OVERRIDABLE` sealed against removal, row stays | host-config kernel: `job`, `queue`, `agent` deleted (`reset to artifact default`), row gone; `hook` `403`, row stays | | `email_template` and `dashboard`, two code holders, an active override in each `.custom` pair, package-less draft | package-less draft delete: `409 RESOURCE_CONFLICT` naming both, nothing deleted | delete the second pair's override at `?package=<holder2>.custom` (receipt names it), then the package-less draft delete discards it; save the draft in `<holder1>.custom`, re-save the second override: `<holder1>.custom` draft and both overrides answer at their addresses | After the corrected remedy with a code holder, `?package=<holder>&state=draft` answers 404 (no draft at the base's address; the draft is the pair's), which is why the acceptance criteria now name `?package=ID.custom&state=draft` for a code package. The written order happened to survive the two-code-holder draft case because no active row binds the name there; the corrected order is the one that holds in every case measured. Probes: `/mnt/project-files/issue-32968/remedy-probe.test.ts.txt` and `remedy-probe-r2.test.ts.txt` and `remedy-probe-r3.test.ts.txt`, `remedy-probe-r4.test.ts.txt` beside it (a copy of the five-types boot; its `sys_metadata` double gains `draft_changes`, which the draft save writes). Not measured: the REST data read itself (`GET /api/v1/data/sys_metadata`); it is read from the object's `apiMethods: ['get', 'list']`. `doc`, `mapping`, `sharing_rule`, `assignment_rule` and `api` are read from their type flags, not run. ## Acceptance notes - The writable-holder case was measured with one registry holder (an authored package's saved item is a stored row, not a registry holder in this harness); the trap is in the delete's address resolution and does not depend on the holder count. - Branch note: this branch held card #32820's on-hold work (`0637a5006`, recorded on #32820). A force push to restart it was refused, so `74a36e1f6` returns those seven files to `main`'s text; this PR's diff against `main` is the three files above. #32820's commits remain in the branch history and as patches beside that card. - First-party count: no first-party composition stores a package-less row of a name a package holds; text only. ## Verification On `f36b5fea3`: - `pnpm --filter @objectstack/spec build`: exit 0. - `pnpm --filter @objectstack/spec check:generated`: exit 0. - `pnpm --filter @objectstack/spec exec vitest run --project local src/migrations`: 5 files, 198 tests passed. - `pnpm check:adr-0087-registration`: exit 0 . `node scripts/check-changeset-no-major.mjs`: exit 0. - eslint on the entry: exit 0. Gate scope per the seat's order (text only): `check:generated`, ADR-0087 and the spec migrations. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic (one migration entry's text). - [x] 2. No name added. - [x] 3. No formatter ran. - [x] 4. One issue, one branch, one pull request (see the branch note). - [x] 5. The change carries a changeset, and both declaration lines are filled in here and in it. - [x] 6. `packages/spec` touched: one entry file; the registry, `spec-changes.json` and the upgrade guide are generated, git-ignored projections. - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. --- _Generated by [Claude Code](https://claude.ai/code/session_01L6bhgV84zNSi6HwSHmMU2c)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgV84zNSi6HwSHmMU2c <!-- signed: domain:server#1 · os-sales · session_01L6bhgVaKJ9TPfXPRhdqx3e --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 870ce55 commit 152b53c

3 files changed

Lines changed: 57 additions & 16 deletions

File tree

‎.changeset/32568-package-less-row-sealed-and-draft-exits.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ A package-less row is a `sys_metadata` row bound to no package, or its copy in t
2020

2121
No first-party composition has two packages holding one name with a package-less row, so no answer changes in this repository.
2222

23-
The fix:
23+
The fix (first read and keep the package-less row's stored body: a holder's exact address does not serve it, and a sealed type's row is served by no read, but its `sys_metadata` record does, `GET /api/v1/data/sys_metadata` filtered by type, name and state with `package_id` null, the body being its `metadata` field; the delete hard-deletes the row and a draft leaves no history copy, so the kept body is the only copy a refused save can be retried from. Then check the same list for rows of the name bound to a package: a delete naming no package addresses the one package the name's rows are bound to, so it would remove such a row and leave the package-less one. For an active row, the row it removes is a bound row at that state, such as an existing declared override in `<holder>.custom` (`409` when two packages hold one); for a draft it is decided by the item's ACTIVE rows: their package's own draft is the one removed, and with active rows bound to two or more packages the delete answers `409` whatever drafts exist. Clear such a row first: keep its body, delete it at its own address `?package=<its package>`, and after the package-less delete re-save it at that same address; fold it into the change saved below only when it belongs to the package that change goes to, since another holder's row goes back to that holder. For a draft under two or more active-bound packages, clear the active rows of all but one of them. Then delete the package-less row, `DELETE /meta/<type>/NAME` naming no package, `?state=draft` for a draft, whose receipt names no package; and only then save, because run after the save the same delete removes the change just saved):
2424

25-
- FROM `GET /meta/<type>/NAME?package=<holder>&state=draft` (or the preview, or `?layers=true`) refused for a package-less draft of an overlay type TO saving the customization under the one package it customizes, then deleting the package-less row.
26-
- FROM a sealed type's package-less row that no read serves, for a type with a declared override channel (`flow` and `action` under ADR-0146 D9's conditions, `page`, `app`, `dataset`, `doc`, `book`, `mapping`), TO a declared override in the holder's paired `.custom` package (ADR-0146), then deleting the package-less row.
27-
- FROM the same row of any other sealed type (`hook`, `job`, `queue`, `sharing_rule`, `assignment_rule`, `agent`, `skill`, `api`, …), which has no override channel (ADR-0146: "customization of those is a new version of the package"), TO deleting the package-less row and shipping the change in a new version of the holding package's source, or keeping it as an item of its own under a name no package ships. An environment action bound to an object neither holder binds (the `/actions/:object/NAME` case above) overrides neither holder: it takes a name no package ships.
25+
- FROM `GET /meta/<type>/NAME?package=<holder>&state=draft` (or the preview, or `?layers=true`) refused for a package-less draft of an overlay type TO deleting the package-less draft, then saving it under the package it customizes: `?package=<holder>` for a writable (authored) holder; for a code package, whose own address refuses the save `403 NOT_OVERRIDABLE` naming its pair, the holder's paired `.custom` package (`?package=<holder>.custom` with `overrides: { package: <holder>, basedOn }`), where `?package=<holder>.custom&state=draft` then answers it.
26+
- FROM a sealed type's package-less row that no read serves, for a type with a declared override channel (`flow` and `action` under ADR-0146 D9's conditions, `page`, `app`, `dataset`, `doc`, `book`, `mapping`), TO deleting the package-less row, then a declared override in the holder's paired `.custom` package (ADR-0146). When a code package ships the name, the package-less delete of a `flow`, `action`, `doc` or `mapping` row answers `403 NOT_OVERRIDABLE` (sealed against removal): no metadata door removes that row, it stays stored and served by no read, and the declared override is saved without the delete.
27+
- FROM the same row of any other sealed type (`hook`, `job`, `queue`, `sharing_rule`, `assignment_rule`, `agent`, `skill`, `api`, …), which has no override channel (ADR-0146: "customization of those is a new version of the package"), TO deleting the package-less row (when a code package ships the name, that delete answers `403 NOT_OVERRIDABLE` for `hook` everywhere, and for every other one of these but `skill` on an environment kernel; there the row stays stored and served by no read, while a host-config kernel removes the row of a type that allows no runtime creation: `job`, `queue`, `sharing_rule`, `assignment_rule`, `agent`, `api`) and shipping the change in a new version of the holding package's source, or keeping it as an item of its own under a name no package ships. An environment action bound to an object neither holder binds (the `/actions/:object/NAME` case above) overrides neither holder: it takes a name no package ships.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
docs(spec): the upgrade guide's remedy for a package-less row at a holder's exact address keeps the row's body, deletes the package-less row before saving, and saves a code package's customization in its paired `.custom` package
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The semantic entry `package-less-row-exact-address-by-type-class` (#32568) prescribed saving the customization, then deleting the package-less row. Measured on `main`: a delete naming no package addresses the one package the name's rows are bound to, so in that order it removed the change just saved (the draft saved under a writable holder; the declared override of a `dataset` in the holder's `.custom` package) and left the package-less row. And `?package=<holder>` refuses the save `403 NOT_OVERRIDABLE` when the holder is a code package, naming its `.custom` pair. The entry now says to read and keep the package-less row's body first (from its `sys_metadata` record through `GET /api/v1/data/sys_metadata`, since the delete hard-deletes it and a draft leaves no history copy), to clear a package-bound row of the name before the package-less delete and re-save it at its own address after (that delete would otherwise remove the bound row instead; for a draft it is decided by the item's active rows, and answers `409` when they are bound to two or more packages), then delete, then save, and where each holder kind takes the save. It also says which sealed types' package-less delete answers `403 NOT_OVERRIDABLE` when a code package ships the name (`flow`, `action`, `doc`, `mapping` and `hook` on every kernel; every other type with no override channel but `skill` on an environment kernel, while a host-config kernel removes those rows): that row stays stored and served by no read, and the change is saved without the delete. Its acceptance criteria name the address the saved draft answers at. Text only: no answer moves, no key and no export is added.

‎packages/spec/src/migrations/entries/semantic/18.package-less-row-exact-address-by-type-class.ts‎

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,42 @@ export const entry: SemanticMigration = {
2222
+ 'assignment_rule and the like): any package-less row of a name a package ships. Whether the change moves to a '
2323
+ 'declared override turns on the type: only flow, action, page, app, dataset, doc, book and mapping have one',
2424
replacement:
25-
'For (1), save the customization under the one package it customizes (?package=ID on the write), then delete '
26-
+ 'the package-less draft. For (2), what the change becomes depends on whether the type has a declared override '
27-
+ 'channel (ADR-0146). (2a) flow and action (under ADR-0146 D9\'s conditions), page, app, dataset, doc, book and '
28-
+ 'mapping: author the change as a declared override in the holder\'s paired .custom package, then delete the '
29-
+ 'package-less row. (2b) every other sealed type (hook, job, queue, sharing_rule, assignment_rule, agent, skill, '
30-
+ 'api and the like) has no override channel: delete the package-less row, and ship the change as a new version of '
31-
+ 'the holding package\'s source, or keep it as an item of its own under a name no package ships (an environment '
32-
+ 'action bound to an object neither holder binds included). A package-less overlay row of a name one package '
33-
+ 'holds is that holder\'s customization and is served as before',
25+
'First read and keep the package-less row\'s stored body. A holder\'s exact address does not serve it (a '
26+
+ 'sealed type\'s row is served by no read), but its sys_metadata record does: GET /api/v1/data/sys_metadata '
27+
+ 'filtered by type, name and state with package_id null, the body being its metadata field. The delete below '
28+
+ 'hard-deletes the row and a draft leaves no history copy, so the kept body is the only copy a refused save can '
29+
+ 'be retried from. Then check the same list for rows of the name bound to a package: a delete naming no package '
30+
+ 'addresses the one package the name\'s rows are bound to, so it would remove such a row and leave the '
31+
+ 'package-less one. For an active row, the row it removes is a bound row at that state (an existing declared override in '
32+
+ 'ID.custom; 409 when two packages hold one). For a draft it is decided by the item\'s ACTIVE rows: their '
33+
+ 'package\'s own draft is the one removed, and when active rows are bound to two or more packages the delete '
34+
+ 'answers 409 whatever drafts exist. Clear such a row first: keep its body, delete it at its own address '
35+
+ '(?package=ITS_PACKAGE; until it is re-saved that address serves what lies under it), and after the '
36+
+ 'package-less delete re-save it at that same address (a row bound to a read-only code package itself is refused '
37+
+ 'there 403 naming its pair: re-save it in that pair as a declared override). Fold it into the change you save only when it belongs '
38+
+ 'to the package that change goes to; another holder\'s row goes back to that holder. For a draft under two or '
39+
+ 'more active-bound packages, clear the active rows of all but one of them. Then delete the package-less row '
40+
+ '(DELETE /api/v1/meta/TYPE/NAME naming no package; ?state=draft for a draft; its receipt names no package), and '
41+
+ 'only then save the change where it belongs: run after the save, the same delete removes the change just saved. '
42+
+ 'For (1), save the draft under the package it customizes: ?package=ID when the holder is a writable '
43+
+ '(authored) package; for a code package, whose own address refuses the save 403 NOT_OVERRIDABLE naming its '
44+
+ 'pair, in the holder\'s paired .custom package (?package=ID.custom with overrides: { package: ID, basedOn: '
45+
+ 'VERSION }). For (2), what the change becomes depends on whether the type has a declared override channel '
46+
+ '(ADR-0146). (2a) flow and action (under ADR-0146 D9\'s conditions), page, app, dataset, doc, book and '
47+
+ 'mapping: author the change as a declared override in the holder\'s paired .custom package, after deleting the '
48+
+ 'package-less row. (2b) every other sealed type (hook, job, queue, sharing_rule, assignment_rule, agent, '
49+
+ 'skill, api and the like) has no override channel: delete the package-less row, and ship the change as a new '
50+
+ 'version of the holding package\'s source, or keep it as an item of its own under a name no package ships (an '
51+
+ 'environment action bound to an object neither holder binds included). When a code package ships the name, '
52+
+ 'the package-less delete answers 403 NOT_OVERRIDABLE (sealed against removal) for every sealed type whose '
53+
+ 'overlay does not merge at read: flow, action, doc, mapping, and every type of (2b) but skill; only page, app, '
54+
+ 'dataset, book and skill take it. On a host-config kernel (one serving no environment) the (2b) types that allow '
55+
+ 'no runtime creation (job, queue, sharing_rule, assignment_rule, agent, api) take it too and the row is removed; '
56+
+ 'flow, action, doc, mapping and hook answer 403 on both. Where it answers 403, no metadata door removes the row (a delete naming ID or ID.custom '
57+
+ 'removes nothing either): it stays stored and served by no '
58+
+ 'read, and no order loses a change, since that delete reaches no row. Skip the delete: for flow, action, doc '
59+
+ 'and mapping save the declared override; for the (2b) types ship the change as above. A package-less overlay '
60+
+ 'row of a name one package holds is that holder\'s customization and is served as before',
3461
reason:
3562
'A package-less row of an overlay type is a holder\'s customization that cannot say which holder when two '
3663
+ 'packages hold the name (ADR-0150 D4), so each holder\'s exact read refuses it 409 RESOURCE_CONFLICT naming '
@@ -44,9 +71,13 @@ export const entry: SemanticMigration = {
4471
+ 'the change landed: no first-party composition has two packages holding one name with a package-less row.',
4572
acceptanceCriteria:
4673
'For every package-less draft of an email_template, dashboard or report whose name two installed packages '
47-
+ 'hold, the draft is re-saved under one package and the package-less draft deleted: each holder\'s '
48-
+ '?package=ID&state=draft then answers its own draft, never 409 naming both. For every package-less stored row '
49-
+ 'of a sealed type whose name a package ships, no package-less row of the name remains, and: for a type of '
74+
+ 'hold, the package-less draft\'s body is kept, the package-less draft deleted and the draft re-saved under '
75+
+ 'the package it customizes: '
76+
+ '?package=ID&state=draft answers it for a writable holder, ?package=ID.custom&state=draft for a code package '
77+
+ '(whose own ?package=ID&state=draft answers no draft), and no holder\'s draft read answers 409 naming both. For every package-less stored row '
78+
+ 'of a sealed type whose name a package ships, no package-less row of the name remains (except where the '
79+
+ 'package-less delete answers 403 sealed against removal: there the row stays stored and no read serves it), '
80+
+ 'every package-bound row cleared on the way is back at its own address, and: for a type of '
5081
+ '(2a), the change lives in a declared override of the holder\'s .custom package and ?package=ID answers the '
5182
+ 'override, before and after a reload; for a type of (2b), ?package=ID answers the holder\'s own shipped item '
5283
+ 'at the version that carries the change, or the change answers under its own name, which no package ships.',

0 commit comments

Comments
 (0)