Skip to content

Commit 9fc4a7e

Browse files
SashaMITcursoragent
andcommitted
revert(components): remove misleading darwin entries for MicroVM providers
Slice B (commit a02045e) added darwin-amd64 / darwin-arm64 entries in the `external` section and x86_64-darwin / aarch64-darwin in the `capsules` section for `shell`, `localhost-provider`, `did-provider`, and `webspace-provider`. Those entries told the install system "this type: microvm capsule runs natively on Mac" while the runtime was actually launching them as plain host-binary subprocesses without microVM isolation — a silent downgrade of the isolation contract those capsules declare, in violation of PRINCIPLES.md #10 (One Canonical Path) and #11 (Fail Closed, Then Explain). This revert restores manifest truth ahead of the Apple Virtualization.framework backend project (docs/vz-backend/PLAN.md), which is the principled path to making Mac a first-class ElastOS host with identical microVM isolation to Linux/KVM. On Mac, `elastos setup --list` will now correctly report these capsules as "not available for darwin-arm64", and capsule launch fails closed with the existing supervisor message rather than degrading silently. Unchanged: the rest of Slice B's daemon-portability work (pid_is_alive, ELASTOS_DATA_DIR, smoke-script Bash 3.2 portability, elastos-crosvm cfg-gated non-Linux build, darwin-arm64 platform identity, universal-platform demo capsule installs) is kept — none of that touches the Linux microVM substrate. No Linux behaviour change. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d623ba7 commit 9fc4a7e

1 file changed

Lines changed: 3 additions & 65 deletions

File tree

components.json

Lines changed: 3 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"size": 0,
88
"platforms": [
99
"x86_64-linux",
10-
"aarch64-linux",
11-
"x86_64-darwin",
12-
"aarch64-darwin"
10+
"aarch64-linux"
1311
]
1412
},
1513
"localhost-provider": {
@@ -18,9 +16,7 @@
1816
"size": 0,
1917
"platforms": [
2018
"x86_64-linux",
21-
"aarch64-linux",
22-
"x86_64-darwin",
23-
"aarch64-darwin"
19+
"aarch64-linux"
2420
]
2521
},
2622
"chat": {
@@ -56,9 +52,7 @@
5652
"size": 0,
5753
"platforms": [
5854
"x86_64-linux",
59-
"aarch64-linux",
60-
"x86_64-darwin",
61-
"aarch64-darwin"
55+
"aarch64-linux"
6256
]
6357
},
6458
"ipfs-provider": {
@@ -125,20 +119,6 @@
125119
"size": 0,
126120
"release_path": "shell-linux-arm64",
127121
"install_path": "bin/shell"
128-
},
129-
"darwin-amd64": {
130-
"cid": "",
131-
"checksum": "",
132-
"size": 0,
133-
"release_path": "shell-darwin-amd64",
134-
"install_path": "bin/shell"
135-
},
136-
"darwin-arm64": {
137-
"cid": "",
138-
"checksum": "",
139-
"size": 0,
140-
"release_path": "shell-darwin-arm64",
141-
"install_path": "bin/shell"
142122
}
143123
}
144124
},
@@ -159,20 +139,6 @@
159139
"size": 0,
160140
"release_path": "localhost-provider-linux-arm64",
161141
"install_path": "bin/localhost-provider"
162-
},
163-
"darwin-amd64": {
164-
"cid": "",
165-
"checksum": "",
166-
"size": 0,
167-
"release_path": "localhost-provider-darwin-amd64",
168-
"install_path": "bin/localhost-provider"
169-
},
170-
"darwin-arm64": {
171-
"cid": "",
172-
"checksum": "",
173-
"size": 0,
174-
"release_path": "localhost-provider-darwin-arm64",
175-
"install_path": "bin/localhost-provider"
176142
}
177143
}
178144
},
@@ -193,20 +159,6 @@
193159
"size": 0,
194160
"release_path": "did-provider-linux-arm64",
195161
"install_path": "bin/did-provider"
196-
},
197-
"darwin-amd64": {
198-
"cid": "",
199-
"checksum": "",
200-
"size": 0,
201-
"release_path": "did-provider-darwin-amd64",
202-
"install_path": "bin/did-provider"
203-
},
204-
"darwin-arm64": {
205-
"cid": "",
206-
"checksum": "",
207-
"size": 0,
208-
"release_path": "did-provider-darwin-arm64",
209-
"install_path": "bin/did-provider"
210162
}
211163
}
212164
},
@@ -227,20 +179,6 @@
227179
"size": 0,
228180
"release_path": "webspace-provider-linux-arm64",
229181
"install_path": "bin/webspace-provider"
230-
},
231-
"darwin-amd64": {
232-
"cid": "",
233-
"checksum": "",
234-
"size": 0,
235-
"release_path": "webspace-provider-darwin-amd64",
236-
"install_path": "bin/webspace-provider"
237-
},
238-
"darwin-arm64": {
239-
"cid": "",
240-
"checksum": "",
241-
"size": 0,
242-
"release_path": "webspace-provider-darwin-arm64",
243-
"install_path": "bin/webspace-provider"
244182
}
245183
}
246184
},

0 commit comments

Comments
 (0)