SPB Git

Repository Public License

10-satellites-and-publishing.md 2.3 KB

# 10. Satellites and publishing

Tier A — Workspace app. Runs inside PRISM. Fastest path.

Tier B — Desktop satellite (V1 target). A separate .app bundle with its own bundle ID, icon, Dock identity, process, and window, built from a prebuilt host plus a validated manifest and resources. It handles a missing or mismatched runtime gracefully and never claims to be standalone if it depends on PRISM.

Tier C — Standalone native export (post-V1). Generates a Swift/SwiftUI project, builds with the installed toolchain, signs with a user-authorized identity, optionally notarizes. No automatic Mac App Store submission.

json
{
  "schemaVersion": 1,
  "appId": "com.example.prism.financestudio",
  "displayName": "Finance Studio",
  "version": "1.0.0",
  "runtime": {"kind": "prism-satellite", "minimumVersion": "1.0.0"},
  "entrypoint": "pages/home",
  "permissions": ["storage.local", "files.import.userSelected"],
  "components": ["prism.table", "prism.chart.line", "prism.form"],
  "data": {"store": "sqlite", "schemaVersion": 1}
}

Publishing workflow.

  1. Validate app graph, schema, dependencies, assets, permissions, and startup.
  2. Generate a unique bundle identifier and icon; prevent collisions.
  3. Build or copy the host template and sign correctly. Any change inside a signed bundle requires re-signing; never assume the signature survives.
  4. Show the permission diff and get explicit approval; install to a user-chosen location with safe replacement and rollback.
  5. Verify launch through LaunchServices, Dock identity, window rendering, persistence, and clean exit.
  6. Report signing, Gatekeeper, sandbox, and notarization limitations exactly as they are.

Updates show a diff, snapshot current state, validate the migration, run tests, and allow rollback. Signed executable code is rebuilt and re-signed, never hot-patched. Uninstall removes the bundle and, with consent, its data.

Inter-app connections (post-V1). Typed, permissioned channels: publish data, subscribe to events, invoke declared capabilities, share selected records, revoke access. Consent, schema compatibility, authentication, and audit logging are enforced; no app gets implicit access to another's database. "Turn selection into app" creates a derived blueprint, copies only authorized resources, and preserves provenance.

Files main
Menu

Theme