Security and privacy

What has your access, what's kept on your computer, and every place Woolshed connects to.

Mods have your access

A mod is trusted JavaScript running inside Woolshed. It can run programs with your environment, fetch URLs and read files. The built-in file API limits writes to the app home, but a mod can run a program to write elsewhere. That is not a security boundary. Mods can also run programs on connected machines.

There is no permission prompt for each program or network request. Read a mod before installing it, and treat it like a shell script you would run yourself. Layouts can load mods. Check those references too. Layouts and mods from the gallery are made by other people, are not reviewed, and run with the same access.

Woolshed Core runs your terminals

Woolshed Core (hc) runs programs with your account's access. It is not a sandbox or a permission broker for agents. Anything that can connect to it can run commands, read and change files, and control its terminals with that access.

On Unix the core listens on a local socket under your runtime directory ($XDG_RUNTIME_DIR/woolshed-core/, or /run/user/<uid>/woolshed-core/), or else in its state directory, not on a network port. On Windows it uses named pipes that only your account and SYSTEM can open. Other programs running as your account are inside that trust boundary. HC_SESSION selects a separate core with its own terminals and state, which is useful for tests, but it is not a security boundary.

Adding a machine gives this computer's windows and agents access to that machine's account: its commands, files and terminals. SSH handles login, host keys and encryption; trust the machine and the SSH target before you add it.

What stays on disk

The default app home is ~/.config/woolshed, including on macOS and Windows (under your user home). XDG_CONFIG_HOME changes the config root. WOOLSHED_HOME selects an app home directly and takes precedence.

This folder holds your settings, keys, layouts, mods, generated agent guide and API types. It also holds mod data, shared state, window positions, this screen's focus and zoom, update notes and cached media, and the local usage summary while it is on. Mods may store sensitive data here. Woolshed does not encrypt this folder. The installed guide's file map explains the files.

Spaces, tabs and splits are stored in each machine's core document, not in the app home. Terminals and their output belong to Woolshed Core. Its state, including terminal records, saved screens and history, lives in ~/.local/state/woolshed-core/<session>/ (Windows: %LOCALAPPDATA%\woolshed-core\<session>\), and its settings in ~/.config/woolshed-core/config.toml (Windows: %APPDATA%\woolshed-core\config.toml). Treat the state folder as private: saved screens may contain secrets. Removing the app home does not stop the core or erase its data.

The app exposes a local control socket in its home (woolshed.sock) so agents can inspect and drive the window. Treat access to that home as access to the window and its commands. Remote connections use SSH through the core.

What the app connects to

  • App updates. Release builds check https://woolshed.dev/releases (WOOLSHED_RELEASES_URL picks another server), download an update, and check its SHA-256 checksum against the release manifest before unpacking it. The app switches to the downloaded version on quit. Builds from source do not check unless WOOLSHED_RELEASES_URL is set.
  • Woolshed Core. The app installs and updates the core from the copy inside it, with no download. hc update, which you run yourself, fetches the latest core from https://woolshed.dev/releases/core and checks its checksum. Adding a machine copies this computer's core there when both have the same OS and CPU, and otherwise downloads that machine's build of the same version from https://woolshed.dev/releases/core.
  • The gallery. When you or your agent add a layout or mod from the gallery, its files download from where its author published them: GitHub for most items, https://woolshed.dev/gallery/files/ for Woolshed's own.
  • Release-note pictures load only from https://woolshed.dev/media.
  • Install counting sends a random install ID, the version and the system's name to https://woolshed.dev once a day, unless you turn it off (see below).
  • Usage reports and feedback go nowhere unless you set a server (see below).
  • Mods can reach the network themselves.

A checksum from the same service detects a damaged download; it is not an independent signature on the manifest. The app does not verify a separate cryptographic signature on update manifests.

The release pipeline supports Apple Developer ID signing on macOS and Azure artifact signing on Windows when their credentials are configured. Without them, packages can be unsigned or ad hoc signed. On macOS the installer and updater verify certificate-signed bundles and preserve their signatures. Apple notarization is tested separately; it is not required for publishing a release. Do not assume every download is notarized or signed. On macOS the app only finishes upgrading a core it found if that core is Woolshed Core (dev.woolshed.core) signed by the same Apple team as the running Woolshed; it leaves cores you built or installed some other way alone. A local build of Woolshed that is ad hoc signed or unsigned has no team to compare, so it skips this check.

Usage data

Woolshed has two settings about what it reports, turned off apart, both in Settings → Privacy.

Install counting

The count_install setting is on by default. Once a day, after the update check (installed releases only), Woolshed sends a random ID for this install, its version and the system's name (for example macos, aarch64) to https://woolshed.dev. The service keeps a hash of the ID per day to count daily and monthly active installs, and nothing else: no account, no usage, no folder, file or terminal content. The ID is install-id in the Woolshed home folder.

Turn it off in Settings → Privacy, or set this field in your existing settings.json:

{
  "count_install": false
}

Turning it off deletes the install ID. For one run, set DO_NOT_TRACK=1 or WOOLSHED_TELEMETRY=0; CI environments are not counted either.

Usage summary

The telemetry setting is off by default. Woolshed has no report server for it: with the setting on, the app keeps an anonymous usage summary on your computer, and Settings → Privacy shows what it holds. It leaves your computer only if you also set WOOLSHED_TELEMETRY_URL to a server of your own; then the app sends one small report a day there with a random install ID (not the install-counting ID). A report has app and core versions, OS and architecture, bucketed usage time and counts, known agent names, built-in layout names, mod counts, app command names, and fixed event counters. Custom layout names become custom; custom mod names are not sent. Terminal text, prompts, file contents, folder paths and free-text names are not included.

To turn it on, set this field in your existing settings.json (or use Settings → Privacy):

{
  "telemetry": true
}

Turning it off deletes its local install ID and unsent reports. For one run, set DO_NOT_TRACK=1 or WOOLSHED_TELEMETRY=0. CI environments disable collection too.

Feedback

Feedback is drafted for you to review, never sent silently. Woolshed has no feedback service: the form can only send when WOOLSHED_FEEDBACK_URL points at a server of your own. Without it, the form says so and has no Send button.

Turning usage data off does not stop update checks, mod network requests or feedback you choose to send.