Skip to content

Commit 1b9d449

Browse files
committed
chore(cli): changeset for the withdrawal carry into the pair
Claude-Session: https://claude.ai/code/session_01ADHkmQTt48dSV5oqZ5jUhK Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8de810a commit 1b9d449

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
'@objectstack/cli': patch
3+
---
4+
5+
fix(cli): `os migrate organization-ownership --apply` carries an organization's public-form withdrawal onto a read-only package's view into that package's `.custom` pair, declared, instead of stopping
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The ceremony carries every organization-layer public-form withdrawal onto the environment (`metadata-promotion`). On a view a read-only package ships, that save named the package itself, which the metadata door now refuses (ADR-0146 D1, D11: the read-only base takes no customization), so the ceremony stopped with a blocker and the operator had to save the withdrawal into the pair by hand.
11+
12+
- **Read-only package.** The carry now ensures the package's `.custom` pair through the ensure door (the in-process `POST /packages/:id/ensure-customization`), then saves the withdrawn view into the pair declaring `overrides: { package: <base>, basedOn: <the installed base's version> }`. Every read of the base's name serves that override, so the form stays withdrawn. It counts in `withdrawalsCarried`, and the progress line names the pair. The manual step in the changeset that closed the write naming the base (save the withdrawal into the pair, then re-run) is no longer needed when the pair can be ensured.
13+
- **Writable package.** Its view is still saved in place, as before.
14+
- **Pair not available.** When the pair cannot be ensured, or the door refuses the declared save into it, the carry makes the save naming the package as before: where the door admits it, that save carries the withdrawal; where it refuses, the step blocks as before, and the blocker now also names the pair's refusal.
15+
- A re-run carries nothing more: the served view already has the form withdrawn.
16+
17+
No door, no accepted request shape and no error code changes.

0 commit comments

Comments
 (0)