Skip to content

Safety and privacy

Yardmaster reads sensitive files and can stop processes, so its limits are part of the product. This page lists them. Each one is a rule in the code, not a preference.

  • No telemetry and no account. Nothing phones home, and there is nothing to sign up for.
  • No hard delete of anything you or a tool made. Every removal is a move into the system Trash that you can restore. The one exception is two cleanup commands of other tools that you run from Reclaim after a preview (see Trash and restore).
  • No secret values in output. The scanner reports a kind, a key name, a fingerprint, and a masked preview. Not the app, the CLI, the MCP server, a log, nor a report carries the value.
  • No edits to vendor configuration outside the vendor’s own CLI. The one exception is a single value in Claude Code’s settings that you set up by clicking.
  • No network unless a feature below is on. One source is on by default in the app: the Claude Code limits source, set to Auto. Every other network feature is off until you turn it on or ask for it. All of them are listed in Network calls you can turn on below, with how to turn the Claude Code source off.
  • No stopping a process by skipping the safe-stop engine. The MCP server also has no write tools: its 16 tools read, and the only one that acts is kill_port, which goes through the safe-stop engine.

Every process Yardmaster stops goes through one engine. It is reached through a port’s owner (kill, the app’s Stop, the MCP kill_port) or through an agent session and its leftovers (end, sweep, and their app buttons). No client has its own way to stop a process.

For each stop, the engine:

  1. Refuses protected processes: databases, Docker and other container runtimes, virtual machines, editors, and OS services, plus any names you add with yardmaster settings protect. It also refuses Yardmaster itself, PID 0 and 1, and processes owned by another user.
  2. Re-checks the process identity right before it signals. If the PID now belongs to a different process than the one you saw, it refuses.
  3. Sends SIGTERM (on Windows, taskkill), by default to the process and its children.
  4. Waits, then verifies that the process is gone and, for a port, that the port is free.
  5. Sends SIGKILL (taskkill /F on Windows) only when you asked to force it.

Forcing is always a separate, explicit step:

The first click stops gracefully. If the process is still running, a second click forces it.

The one case that skips the engine is a child Yardmaster started itself and owns, such as the server a health check starts, or a vendor CLI or git that times out. It is ended through its own handle, never by PID.

Yardmaster never hard-deletes anything a user or a tool made. Removals go through one mover:

  • macOS: a rename into ~/.Trash (or the volume’s .Trashes folder).
  • Linux: the freedesktop Trash.
  • Windows: the Recycle Bin.

Two planners reach it, and each is a dry run first: the plans cannot be built any other way. Each re-checks every item right before it moves and verifies afterwards.

  • Agent data (transcripts, sidecars, leftovers, worktrees), through prune. It refuses a live session (a live process, or a write in the last 10 minutes). It never touches memory, config, credentials, or OAuth files. A worktree moves only when git reports nothing uncommitted and a branch or tag holds its HEAD.
  • Dev data (package caches, Xcode, Android, toolchains, test browsers, editor caches, local models, project build output, Downloads), through Reclaim’s clean plan. It refuses an item when its owner app is running, a process works inside it, or it was written in the last 10 minutes. The recent write is the one refusal you can overrule, and only for items you picked by hand in the app: after a warning and a second confirmation; Quick clean and auto clean never do. Project build output moves only when a marker file names it (Cargo.toml for target, package.json for node_modules, and so on) and, inside a git repository, git ignores it. Reclaim looks for it only in the folders agents were started in and folders you add, never by crawling your home folder. Old installers in Downloads are off until you turn them on, and are always reviewed one by one. Items whose owner tracks them (simulator devices and runtimes, Android system images, Docker disks, the pnpm store) are shown and handed off, never moved.

Every move is recorded in a journal in Yardmaster’s data folder (reclaim/trash.jsonl), which is how a restore knows where an item came from.

Open Reclaim and the Moved to the Trash page to see what Yardmaster moved, and put a batch or one item back. Emptying the Trash is left to you.

Two “clean up elsewhere” targets have a cleanup command from the tool that owns the data: xcrun simctl delete unavailable (simulators whose runtime is gone) and pnpm store prune (packages no project links to). These are the only removals that do not go to the Trash, because the owner’s program does them, not Yardmaster. The rules:

  • App only. Run… on the target page in Reclaim. Never from the CLI, never from the MCP server, never in the background.
  • Preview first. The app shows the exact command line and what it removes with sizes (for pnpm, the store and its size, because pnpm does not list packages in advance), and says that nothing goes to the Trash. Only a second click runs it.
  • Re-checked before it runs. A preview more than 10 minutes old, a different program, a simulator the preview did not show, or a running pnpm refuses the run.
  • Contained. The program runs as Yardmaster’s own child with no shell, xcrun only from /usr/bin, and is ended by handle after 5 minutes. Afterwards Yardmaster lists again to see what went.
  • Not undoable. There is no Put back for it. Every other cleanup command (runtimes, models, Docker) is only shown, for you to copy and run.

Before the Trash existed, Yardmaster kept pruned items in its own archive. That archive is still listed and restorable. archive empty (and its app equivalent) is the only hard delete in Yardmaster, and it works only inside that archive.

Adapters for Claude Code, Codex, Gemini CLI, OpenCode, and the others are read-only. A single module changes what agents load, and it always works the same way: a dry run first, then an apply that re-checks each step, performs it, and verifies by reading again.

  • Configuration changes run the vendor’s own CLI (claude mcp add, codex mcp add, gemini mcp add, opencode mcp add). Yardmaster does not edit ~/.claude.json, config.toml, settings.json, opencode.json, or any other vendor config. An agent without such a command is refused.
  • Nothing sensitive is copied. An MCP server with environment values, headers, or a credential-shaped argument or URL is not copied, so no secret reaches a command line.
  • Disconnecting Yardmaster’s own MCP server runs the vendor’s mcp remove only for an entry that starts Yardmaster, re-checked before and verified after.
  • Skills are shared as symlinks into ~/.agents/skills: never copied, never replacing a real folder. Unlinking removes only a link that points into that folder.
  • Skills install only from GitHub (owner/repo[/path][@ref]). The repository is cloned with git clone --depth 1, with your and the system’s git configuration, hooks, and credential helpers turned off. You see a preview first (commit, SKILL.md, every file). It is written to ~/.agents/skills/<name> only when nothing is there, and nothing from a skill is ever run.
  • Skill updates apply only to a skill whose GitHub source was recorded at install, or by the skills CLI. The dry run lists files added, changed, and removed and the SKILL.md diff. Apply re-reads the folder and refuses if anything changed. The old folder moves to Yardmaster’s skill-backups folder (a move, never a delete).
  • Rule files (CLAUDE.md, AGENTS.md, GEMINI.md) change only after a diff preview, with a backup in rule-backups, an atomic rename, and a read-back.
  • Transcripts are never edited.

Claude Code’s statusLine.command in ~/.claude/settings.json is the one vendor setting Yardmaster edits itself, and only when you click Set up or Undo setup. The change is a dry run with a diff, a text edit of that one value (every other byte stays, and the result must parse to the expected JSON), a backup in rule-backups, an atomic rename, and a read-back. Your own command is kept inside a wrapper and restored byte for byte on undo. A relay you added by hand is never removed.

Yardmaster makes no network call except the ones below. The Claude Code limits rows run by default (the source starts in Auto); every other row is off until you choose them in Settings or ask for them with a click or a command. They go through the system curl with the URL and headers on stdin (never on the command line), https only, no redirects. After a 429, the source waits before asking again.

Feature Host When it runs What is sent Default
Claude Code limits, OAuth api.anthropic.com In the app only. A read waits on a click or when you open the popover or window (Keychain access defaults to On open); background reads follow your refresh setting Claude Code’s own sign-in token, held in memory only, never written or logged On (Auto)
Claude Code limits, CLI none from Yardmaster (it runs claude) At most every 15 minutes in the background; a click always runs it Nothing from Yardmaster On (Auto)
Claude Code limits, Claude Desktop (macOS) claude.ai Last step of Auto when no other source gave a reading; the Keychain read follows Keychain access Claude Desktop’s own sessionKey cookie, held in memory only, never written or logged Last step of Auto
Claude Code limits, Web claude.ai Background reads follow your refresh setting The sessionKey you pasted Last step of Auto; needs a pasted key
Cursor limits cursor.com Background reads at most every 5 minutes, never under Manual A session cookie built from Cursor’s own sign-in or one you pasted Off
Codex reset credits chatgpt.com Background reads at most every 30 minutes, never under Manual The access token and account id from Codex’s auth.json Off
Gemini, Gemini app 127.0.0.1 only While the Gemini app runs, at most every 5 minutes The CSRF token and ports from the app’s own hub file Off
Gemini, web gemini.google.com At most every 15 minutes The cookie you pasted Off
Gemini, agy CLI none from Yardmaster (it runs agy) At most every 15 minutes, only while the Gemini app is closed Nothing from Yardmaster Off
Skill search api.github.com After you type at least 2 characters in Add a skill and pause The text you typed, no token Only when you type
Skill install and update GitHub (git clone) When you install or update a skill Nothing beyond the clone Only when you ask
Remote MCP health check The server’s own host Only on a click or command; stops within 10 s No credentials Only when you ask

To turn the Claude Code source off, open SettingsGeneralLimits and choose Status line only under Claude Code source (CLI: yardmaster settings set claude_limits_source off). The status line relay keeps working. The CLI and the MCP server never fetch limits; they only read stored readings.

Stored readings keep percentages, counts, and dates, never a dollar amount or a token. Turning a source off removes its reading. On macOS, reading the Keychain is its own setting: Never, On open (the default), or Always. “On open” reads on a click or when you open the popover or window while a read waits, never in the background.

  • The hygiene scanner reports a kind, a key name, a fingerprint, and a masked preview. No client, log, test, or report carries the value.
  • The scan record keeps fingerprint, kind, confidence, label, and counts: never a value, a preview, a key, or a path. Only the app writes it.
  • Session keys and cookies you paste (Claude web, Cursor, Gemini web) are stored in Yardmaster’s secrets folder, owner-only (0600) and replaced atomically. They are sent only to their own host and never returned to the UI.
  • Yardmaster never reads a cookie from a browser’s store, and never refreshes or writes back a vendor sign-in.
  • Test fixtures in the repository are hand-written, never copied from a real machine.

See Hygiene for the scanner.

Report privately. Do not open a public issue, pull request, or discussion.

  1. Open the advisory form.
  2. Describe what you found, with your version (yardmaster --version), your OS, and steps to reproduce.

Never attach real transcripts, tokens, session keys, or credential files; use fake values. The full policy, including what counts and what to expect, is in SECURITY.md.