iOS sandbox: prove it on two leases and document what it covers
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Documentation
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- ios, typescript
Piste de recherche
Read ADR 0103 §8 and inspect e2e/slow-ios-sandbox.test.ts, its probe app fixture, and e2e/slow-ios-passthrough-signals.test.ts; the work depends on #2044, #2045, and #2046. Run the slow lane with two leases on one sandboxed worker and record each B13 and B14 result. Then document the measured coverage and all listed gaps in the new worker/ page and update the named trust lines; done when the website builds and its shared-service claims match the recorded results.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Part of #1648.
Scope
The sandbox is proven end to end on one worker with two leases, the shared Mac services are probed, and the website says what the sandbox covers, what it does not, and that it is weaker than a VM.
If it goes wrong, the docs promise isolation the sandbox does not give.
Technical spec
Commit b037ae2a0.
Rows
- Behaviours: B13, B14
Facts
none
Modules touched
e2e/slow-ios-sandbox.test.ts and its probe app fixture, website (a new page under worker/ for the sandbox, linked from astro.config.mjs, and the trust lines in gateway/access.mdx and concepts/tokens-and-roles.mdx:38), src/drivers/AGENTS.md and src/drivers/ios/AGENTS.md known gaps, src/daemon/AGENTS.md Security model, docs/internal/flows/device-exec.md:94 known gap. Searches: rg "accident boundary|shell access" website docs src --glob '*.md*'.
Rules in play
- ADR 0103 (Accepted — not yet implemented): the sections named on each line below; the feature's rows hold the shapes.
- ADR 0103 §8: the gap list the docs carry.
- Documentation rule 9 and
user-facing-docsvoice: no claim about a shared service before B14 measured it.
Tests
Seam: slow lane e2e/slow-ios-sandbox.test.ts (T2 adds it), two leases on one sandboxed worker; model e2e/slow-ios-passthrough-signals.test.ts.
- B13: On a sandboxed worker a probe app in a leased simulator is refused the worker's home, another lease's simulator data, an unopened loopback port, a Mac program and a Mac service, and reaches its own data, an opened
reverseport and its lease folder; an.ipaand a photo uploaded to the lease folder install and add; a worker path outside it does not; an agent-device session opens, takes a snapshot and taps through its XCTest runner; a client's own XCTest bundle is not tried (known gap): each attempt in the case list, two leases on one worker - B14: The probe also tries the shared Mac services (pasteboard between leases, input to another simulator, rendering of another simulator) and records each result; the docs page states the measured results and the gaps and nothing more: pasteboard written by lease A read by lease B; input sent at B from A; B's screen read from A
Done when
- Slow lane (real simulators):
e2e/slow-ios-sandbox.test.tsruns B13 and B14 with two leases on one sandboxed worker. - The new website page lists every gap of ADR 0103 §8, the client XCTest gap, a lease's app holding a
reversePortsport so another lease'sreverseon it is refusedTUNNEL_PORT_IN_USE, and agent-device's fast accessibility snapshot being off (its XCTest path is used), and the shared-service lines match B14's recorded results. website/builds; the trust lines ongateway/access.mdxsay a sandboxed worker's iOS leases are boxed in and an agent token is still shell access through other tools.
Out of scope
Narrowing terminal access (a follow-up issue), CPU, memory or disk limits.
Depends on
- #2044 because: the allow-list B13 relies on
- #2045 because: port grants B13 opens
- #2046 because: the lease-folder read B13 uses
Written by an agent.
- Langage dominant
- TypeScript
- Étoiles
- 730
- Forks
- 44
- Merge moyen
- 15 h 28 min
- PR mergées (30 j)
- 387
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de callstackincubator/simlock
-
bug:new
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
callstackincubator/simlock#2088 ·
Les mainteneurs répondent en général sous 1 jour
-
bug:new
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
callstackincubator/simlock#2080 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
task:ready
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
callstackincubator/simlock#2079 ·
Les mainteneurs répondent en général sous 1 jour
-
platform:ios task:ready
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 18/100
callstackincubator/simlock#2078 ·
Les mainteneurs répondent en général sous 1 jour
-
iOS copy: keep the app database at the copy's own UDIDPeut-être pris @V3RON l’a pris aujourd’hui. Ouverteplatform:ios task:ready
callstackincubator/simlock#2077 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de callstackincubator/simlock
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
earendil-works/gondolin#222 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
endora-commerce/endora-commerce#2203 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement priority:medium ready-for-human
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
wondermoney/wondermoney#1079 ·
Les mainteneurs répondent en général sous 1 jour