Repository navigation
feat(compass): add Compass, a keyboard-first launcher (org.tunaos.compass) - #678
Merged
Merged
Conversation
…pass) Repackages the official Compass-x86_64.AppImage from the v0.28.3 release as extra-data, unpacked offline with appimage-tools-v2 and run through the AppImage's own AppRun on org.freedesktop.Platform//26.08, the runtime upstream's Flatpak uses. The desktop entries, metainfo and icon are upstream's files from the v0.28.3 tag. finish-args follow upstream's Flatpak, minus two grants: --talk-name=org.freedesktop.portal.Desktop, which every sandbox already has, and --filesystem=home:ro, which only File Search uses and which the metainfo now documents as an opt-in override. The launch path needs --talk-name=org.freedesktop.Flatpak; it is declared under policy.dangerous_permissions and packaging: host-command. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Review —
|
| # | Check | Verdict | Evidence |
|---|---|---|---|
| 0 | Static-only, isolated | ✅ | AppImage fetched as bytes into a scratch dir; SquashFS carved at offset 944632 (hsqs) and listed/extracted with 7-Zip; nothing executed |
| 1.1 | Scope | ✅ | New app: 9 files, all under registry/org.tunaos.compass/ |
| 1.2 | High-scrutiny surface | ✅ | None touched; the resolver is in a brand-new app dir |
| 2.1 | Submitter | ✅ | hanthor (James Reilly): account since 2013, Bluefin LTS maintainer, tuna-os member, #2 contributor to tuna-os/compass |
| 2.2 | Source repo | tuna-os/compass is a GitHub fork of vicinaehq/vicinae (GPL-3.0), created 2026-09-12 with 2 stars. It's young, but it's an established author on top of an established codebase (Vicinae: 2130 commits) |
|
| 2.3 | Commit identity | ✅ | fccf748 by James Reilly <[email protected]>, co-authored by Claude; same identity as the v0.28.3 tag commit fa42084 |
| 2.4 | Timeline | ✅ | Tag commit 2026-10-08; AppImage built and uploaded 2026-10-15 12:36 UTC by upstream's Release (tagged) workflow (run 38735957617, actor hanthor); PR the same day. That's fast but consistent with "releases now carry the AppImage", and the author is established |
| 2.5 | Trust tier | ✅ | Established; the submitter is upstream |
| 2.6 | Provenance tier | ✅ | Tier 2: an upstream CI release asset uploaded by github-actions[bot] (no build attestation on this one, unlike Tavern) |
| 3.1 | Pinning | ✅ | org.tunaos.compass.yml:81-87 extra-data with sha256 and size 71305720; appimage-tools :73-79 identical to the shared pin; every other source is a local file |
| 3.1b | Nothing remote in /app |
✅ | build-commands :62-69 only install local files |
| 3.2 | Escape perms | 👤 | --talk-name=org.freedesktop.Flatpak (:41), declared in flatpark.yml:21-28 with a justification. Verified: app launch is flatpak-spawn --host (compass-platform-linux/src/launch.rs:138-204); extension host commands go through a consent prompt (compass/src/host_commands.rs:300-310, Allow Once / Always Allow, grants stored under the sandboxed $XDG_CONFIG_HOME). Also --filesystem=host-os:ro plus read-only Flatpak export/deploy trees (:46-55), explained in the PR |
| 3.3 | policy: honest |
✅ | proprietary: false (GPL-3.0-only); dangerous_permissions covers the one high-risk arg |
| 3.4 | build-commands | ✅ | Install-only. The wrapper execs the vendor's own AppRun, which is byte-identical to packaging/appimage/AppRun at the tag. No injected code |
| 3.4b | packaging: |
✅ | host-command declared; en and zh-Hans detail text is accurate |
| 3.5 | Source URLs | ✅ | github.com/tuna-os/compass releases |
| 3.6 | App id | ✅ | org.tunaos.compass = upstream's own Flatpak id (packaging/flatpak/org.tunaos.compass.yaml) |
| 3.7 | update.command |
✅ | ./resolve-update.sh |
| 3.8 | Download host | ✅ | Upstream GitHub release |
| 3.9 | Optional caps | ✅ | home:ro (File Search only) left out and documented as a flatpak override in the metainfo; everything else follows upstream's manifest |
| 3.10 | Local-test attestation | ✅ | Body: publish --verify, check-apply-extra, LD_TRACE_LOADED_OBJECTS, launched on Sway, host launch through flatpak-spawn confirmed; gaps named (GNOME Shell extension, tray, shortcuts, extension installs, File Search) |
| 4.1 | Runtime fetch-and-exec | ✅ | No fetch-and-exec in the package. The user-initiated extension store (Raycast/Vicinae ecosystem: backend.raycast.com, api.vicinae.com) runs extensions under Compass's own Landlock + seccomp worker sandbox (crates/compass-sandbox), which needs no user namespaces and so works inside Flatpak. Same category as an editor's extension marketplace |
| 4.2 | Resolver as code | ✅ | releases/latest → exact asset Compass-x86_64.AppImage; curl/jq only |
| 4.3 | Endpoints | Network plus host-os:ro (/usr, /etc). Acceptable for a launcher indexing the system catalogue; noted |
|
| 5.1 | sha256 | ✅ | b8c13949…ebbb, 71305720 B: matches the pin and the GitHub asset digest |
| 5.2 | Inspection | ✅ | 915 entries; no absolute or .. paths, no setuid/setgid; 2 symlinks, both relative and in-tree (.DirIcon, the root svg). Recipe uses appimage-tools; the stub never runs |
| 5.3 | Interpreted code == source | ➖ | Rust binaries (Tier 2, not byte-reproducible); AppRun is byte-identical to the tag |
| 5.4 | Artifact == official | ✅ | Re-fetched; hash equals the pin |
| 5.5 | Bundled prebuilts | ✅ | usr/bin/node is byte-identical to bin/node from nodejs.org node-v22.23.3-linux-x64.tar.xz (fde6a4bf…8f48; the tarball matches SHASUMS256.txt and upstream's pinned NODE_SHA256). libssl.so.3/libcrypto.so.3 are build-host libs gathered by linuxdeploy (standard; no canonical artifact to compare against) |
| 5.6 | IOC | ✅ | RUNPATHs are relative and in-tree only ($ORIGIN/../lib, $ORIGIN/../../lib:$ORIGIN); no /dev/tcp/miner strings. The bundled usr/lib/systemd/user/compass.service sits in /app/extra and isn't exported to the host |
| 6.1 | Purpose | ✅ | A launcher; a GPL-3.0 hard fork of Vicinae with the engine and UI rewritten in Rust (356 commits ahead of the fork point), credited as such in its README |
| 6.2 | Non-FOSS | ➖ | FOSS |
| 7.1 | Overall | 👤 | NEEDS-HUMAN (declared Flatpak escape) → recommend merge |
| 7.2 | Hard-fails | ✅ | None |
| 7.3 | Report | ✅ | Recommendation only; a maintainer merges |
Notes, not blocking:
- The engine, its helpers and the bundled Node were checked as above. Extension installs, the tray and the GNOME Shell paths are named as untested in the PR body; none of them is the core launch/search path.
Submitted by its own developer in flatpark#678, so the PR is the evidence.
Collaborator
|
Since you're Compass's developer and submitted this yourself, this PR counts as the developer's approval for the listing. I've pushed a commit to this branch that sets |
This was referenced Oct 16, 2026
This was referenced Oct 31, 2026
This was referenced Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compass is a keyboard-first launcher for the Linux desktop, written in Rust: application search, clipboard history, snippets, a calculator, an emoji picker, a window switcher and Raycast-compatible extensions behind one search field. It is a hard fork of Vicinae with an Iced/wgpu interface in place of Qt.
Packaging
Compass-x86_64.AppImagefrom the GitHub release (v0.28.3), as extra-data, pinned by sha256 and size. The pin matches the release asset's published digest.apply_extraunpacks it offline withappimage-tools-v2(fd-26.08). The AppImage is never executed.org.freedesktop.Platform//26.08, as upstream's own Flatpak uses. Compass needs neither GTK nor Qt. The AppImage carries its ownlibssl/libcrypto(RUNPATH$ORIGIN/../lib) and Node; the GPU, Wayland and xkbcommon libraries it opens come from the runtime./app/bin/compassruns the AppImage's ownAppRun, which pointsCOMPASS_NODEandCOMPASS_BUILTIN_ICONSinto the unpacked tree and execsusr/bin/compass. The engine findscompass-sandbox-exec,compass-file-indexer, the extension runtime and its Rhai scripts beside its own binary. The vendor's bytes are unmodified.v0.28.3tag: the desktop entry, thecompass:///raycast:///vicinae://URL handler entry, the metainfo and the icon. The metainfo gains one paragraph giving theflatpak overridefor File Search (below).resolve-update.shfollowsreleases/latestand selects theCompass-x86_64.AppImageasset.packaging:declareshost-command.Permissions
These follow upstream's Flatpak manifest (
packaging/flatpak/org.tunaos.compass.yaml), with two left out.--socket=wayland,--device=dri--share=network--own-name=org.tunaos.compass.*org.tunaos.compass.WindowTracker, …)--talk-name=org.gnome.Shell--talk-name=org.kde.StatusNotifierWatcher--system-talk-name=org.freedesktop.login1,--talk-name=org.gnome.SessionManager,--talk-name=org.kde.Shutdown--talk-name=org.freedesktop.Flatpakpolicy.dangerous_permissions. Compass is a launcher: starting the application the user picked means starting it on the host, throughflatpak-spawn --host(compass-platform-linux/src/launch.rs). Host commands an extension asks for go the same way, and only after the user answers Allow Once or Always Allow (compass/src/host_commands.rs). Without it, Compass can search but can't launch.--filesystem=host-os:roand the read-onlyapplications/icons/ Flatpak export and deploy-tree paths,/home/linuxbrew/.linuxbrew/share/applications:roLeft out:
--filesystem=home:ro, which only File Search uses. The metainfo description givesflatpak override --user --filesystem=home:ro org.tunaos.compassto turn it on.--talk-name=org.freedesktop.portal.Desktop, which every sandbox already has.Tested
node scripts/read-descriptor.mjs,node scripts/audit-descriptor.mjsand./scripts/check-approvals.shpass. The only warning is for the declared--talk-name=org.freedesktop.Flatpak.appstreamcli validateanddesktop-file-validatepass on the shipped files;./scripts/check-links.sh org.tunaos.compasschecks 7 links, all OK../scripts/publish.sh --verify org.tunaos.compassbuilds (appstreamcli compose: Success), signs, installs from the local signed repo and runsapply_extra../scripts/check-apply-extra.sh org.tunaos.compassreportsapply_extra OK as root with no capabilities.LD_TRACE_LOADED_OBJECTS=1inside the sandbox reports nothing missing forcompass,compass-sandbox-exec,compass-file-indexerornode.flatpak run org.tunaos.compass startbrings up the engine, indexes the host's applications, loads the five bundled Rhai scripts and presents the launcher as a layer-shell surface; the first-run welcome screen renders.compass pinganswers;compass query htop/vimreturn the host's entries.compass app launch org.codeberg.dnkl.foot.desktopstarted foot on the host throughflatpak-spawn --host(a child offlatpak-session-helper, outside the app's cgroup), and it mapped on Sway. Config, cache and state land under~/.var/app/org.tunaos.compass; nothing is written to the real home.🤖 Generated with Claude Code