Entitlements posture: shipping without App Sandbox #37

Closed
opened 2026-08-29 09:36:26 +02:00 by AlexKucera · 1 comment
Owner

Part of #12

Question

Does Museion ship without App Sandbox? The gate must spawn hermes as a child process; provisioning and the bridge later write ~/.hermes/profiles/museion/ and ~/Library/Application Support/Museion/. No entitlements file exists yet — decide the entitlements posture the gate builds against. ADR-worthy if confirmed (distribution shape; App Store distribution is already a PRD non-goal).

[Generated by AI]

Part of #12 ## Question Does Museion ship without App Sandbox? The gate must spawn `hermes` as a child process; provisioning and the bridge later write `~/.hermes/profiles/museion/` and `~/Library/Application Support/Museion/`. No entitlements file exists yet — decide the entitlements posture the gate builds against. ADR-worthy if confirmed (distribution shape; App Store distribution is already a PRD non-goal). [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-08-29 09:36:27 +02:00
AlexKucera self-assigned this 2026-09-03 10:55:12 +02:00
Author
Owner

Resolution

Ship unsandboxed: ENABLE_APP_SANDBOX = NO (Debug + Release), hardened runtime ON (Developer ID notarization), no .entitlements file, direct-download distribution. The sandbox is architecturally incompatible with the engine gate — a sandboxed child hermes cannot write ~/.hermes/profiles/museion/, and the app's own writes to ~/Library/Application Support/Museion/ would silently container-redirect. App Store distribution is already a PRD non-goal (GPL-3), so nothing is lost.

Materialized in this resolution (build verified green after the flip):

  • Museion.xcodeproj/project.pbxproj — sandbox NO, both configs
  • docs/adr/0009-no-app-sandbox.md — the ADR
  • Museion/AGENTS.md + docs/AGENTS.md — stale "sandbox ON" text corrected, ADR range updated

Compensating constraint: engine discovery stays pinned to absolute-path probes in the documented order (#36) — the app never shells out to arbitrary paths.

Downstream #38 (gate UI) and #39 (state.json) build against this posture.

[Generated by AI]

## Resolution Ship unsandboxed: `ENABLE_APP_SANDBOX = NO` (Debug + Release), hardened runtime ON (Developer ID notarization), no `.entitlements` file, direct-download distribution. The sandbox is architecturally incompatible with the engine gate — a sandboxed child `hermes` cannot write `~/.hermes/profiles/museion/`, and the app's own writes to `~/Library/Application Support/Museion/` would silently container-redirect. App Store distribution is already a PRD non-goal (GPL-3), so nothing is lost. Materialized in this resolution (build verified green after the flip): - `Museion.xcodeproj/project.pbxproj` — sandbox NO, both configs - `docs/adr/0009-no-app-sandbox.md` — the ADR - `Museion/AGENTS.md` + `docs/AGENTS.md` — stale "sandbox ON" text corrected, ADR range updated Compensating constraint: engine discovery stays pinned to absolute-path probes in the documented order (#36) — the app never shells out to arbitrary paths. Downstream #38 (gate UI) and #39 (state.json) build against this posture. [Generated by AI]
Sign in to join this conversation.