Skip to content

feat(bots): owners can turn a bot's command sandbox and its network on or off; a sandbox that can't start says why and offers a fix - #2507

Merged
TheAnimatrix merged 50 commits into
masterfrom
bot-sandbox-setting
Dec 1, 2026
Merged

TheAnimatrix merged 50 commits into
masterfrom
bot-sandbox-setting

Conversation

@TheAnimatrix

@TheAnimatrix TheAnimatrix commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

A bot's command sandbox was decided inside each provider's code from platform checks, and no owner could change it.

  • On Linux or WSL without socat or bubblewrap, every command of a Claude Code bot failed before it ran. The bot could only tell its owner to install a package and restart Mousse.
  • On macOS, a bot reviewing pull requests couldn't reach api.github.com with gh or curl, because sandboxed commands had no network.
  • A sandbox that failed to start looked like every command failing.

Change

Each bot now has two owner settings in About → Can use, under Run commands:

  • Sandbox commands (on/off).
  • Allow network for sandboxed commands (on/off).

Only the owner can change them, from a Mousse window: locally from the app window, or from another device whose router marks the call as a window's. A bot, the CLI, an agent or MCP can't change them, and Allow everything leaves them alone. They are stored per bot in bots.db (v19, table bot_sandbox), with a revision. A change made from an older view is refused.

One resolver. BotSandboxResolver turns the setting, the provider entry (or Mousse's own runner) and the command's environment into exactly one of three results:

  • open: the sandbox is off.
  • held: a sandbox that was tested and starts.
  • unavailable: a reason, and whether installing a package fixes it.

It is a required field of a bot's authority, so no launch is built without it. About, the chat card, the bot's system text and every launch read this same result. The old per-driver decisions (botHold and its platform checks) are removed.

Off removes only the sandbox. Grants, approvals, destructive-command cards, secret masking and the filtered command environment all still apply, on every provider:

  • Claude Code turns its subprocess scrub on only when commands are sandboxed, because on Linux that scrub itself needs bubblewrap and socat. Otherwise a file named in CLAUDE_ENV_FILE unsets the provider's sign-in variables before every command.
  • Codex gives bot commands the bot's filtered environment through the thread's shell_environment_policy, so variables such as GH_TOKEN don't reach them. The bot's own PATH wins over a PATH in the owner's set. It keeps its approval gate, so a bot without Run commands still can't run a command.

On, per launcher:

Launcher Linux / WSL 2 macOS Windows
Claude Code its sandbox (bubblewrap + socat) its Seatbelt sandbox unavailable
Codex mousse-bot profile mousse-bot profile, also reading Homebrew's folders unavailable
Mousse's runner: background commands, secret commands, Pi's bash bubblewrap sandbox-exec profile unavailable
Antigravity unavailable unavailable unavailable

Network open on Claude Code goes through a small Mousse proxy on 127.0.0.1, passed as network.httpProxyPort. The pinned CLI refuses a bare * host list, which is why the proxy exists.

  • The proxy tunnels CONNECT without reading the traffic, so gh and curl verify certificates as usual.
  • It reaches globally reachable public addresses only. It refuses:
    • every block in IANA's IPv4 and IPv6 special-purpose address registries, including anycast and infrastructure blocks marked globally reachable;
    • IPv4 multicast, and IPv6 outside 2000::/3;
    • every address of this computer's own network interfaces.
  • Addresses that carry an IPv4 address (::ffff:, NAT64, 6to4) are judged by that IPv4 address.
  • It looks each name up once, checks every address, and connects to the address it checked.
  • Claude Code passes a proxy as a port number alone, so the sandbox has no secret to show the proxy. Filtering by destination is what keeps it safe: a local program gains nothing it couldn't reach directly.

Network open on Mousse's runner uses this computer's network as is. It is wider than the Claude Code path: it can reach services on this computer and the local network. docs/bots.md says so.

Codex:

  • With the sandbox on, no command runs outside it, whatever its shape. Codex 0.162.1 has two ways out, and both are now closed:
    • A command that fails in the sandbox and prints something like "Operation not permitted" (for example touch ~/outside-test || exit 1) is retried outside the sandbox. Under untrusted, Codex doesn't ask again before that retry once the first attempt was approved. Codex skips the retry only when the profile denies a path.
    • A command the model sends with require_escalated runs, once approved, under the profile widened to write everywhere except what it denies.
  • The mousse-bot profile now denies the rest of the disk (":root" = "deny") below everything it grants. Codex then never retries outside the sandbox, and an approved escalation keeps the bot's own profile. The bot's folders, the folders it reads and the system's programs stay as granted, because Codex reads the most specific entry and doesn't mask the denied root in bubblewrap or Seatbelt.
  • With the sandbox on, a command approval that carries a reason (a retry, a network prompt, a require_escalated justification) or asks for extra permissions is declined. With the sandbox off, nothing changes.
  • On Windows, Codex's workspace-write sandbox can't deny a path, so the Codex sandbox is unavailable there, with the reason "Codex can't keep a failed command from running again outside the sandbox on Windows." and Turn off sandbox for this bot.
  • On macOS the profile also denies /private/tmp and /private/var/tmp. Codex's Seatbelt profile otherwise lets every command write there. The bot's own TMPDIR is in its scratch folder.
  • On macOS the profile also reads /opt/homebrew and /usr/local where they exist, so Homebrew programs such as gh start. With the sandbox on, gh gets its own config folder in the bot's scratch (GH_CONFIG_DIR), because it stops at an unreadable ~/.config/gh. It has no sign-in there: the owner's tokens are filtered out.
  • The probe reads the same app-server arguments the launch uses, in Codex's own order (every -c, then --enable, then --disable).
  • Pinned Codex applies the owner's own command rules (rules/*.rules, which Codex's "don't ask again" writes) to every thread, and an allow rule skips both the approval and the sandbox. A thread can't switch them off.
    • With the sandbox on and a rule there, the sandbox is unavailable: the usual card with Turn off sandbox for this bot, the reason "Codex can't keep commands in the sandbox while you have Codex command rules.", and the bot's unavailable line.
    • Each bot is checked against its own rule folders (the Codex home, the system and user folders, and its own project's), so one bot's project rules never affect another bot on the same entry. A bot that hasn't run a thread yet is checked against the shared folders until its first thread start, which runs the full check. A rules finding at thread setup is never kept for the whole entry: the rules are read again for each bot's folder at every check, so another bot never sees it and the bot starts again once the rules are gone.
    • With the sandbox off, those rules apply as in the owner's own Codex threads. Commands run with the bot's filtered environment and its grant check.

When the sandbox can't start. Each turn first runs a real probe of the program, using the command's own PATH; so does a subagent's start and turn. A real start failure is mapped to the same state, including Claude Code's start errors (bubblewrap missing, socat missing, and WSL with a Windows drive mounted). Mousse then:

  • posts one card per reason in the bot's chat, naming the launcher that failed (a provider entry, or Mousse's runner), with Turn off sandbox for this bot. Each card follows its own launcher's state, and with the sandbox off every card settles;
  • shows the same state in About. When the work's provider starts but Mousse's runner can't, About says background and secret commands can't start;
  • parks work that needs commands until every launcher it met unavailable starts, or the sandbox is turned off. A turn whose provider starts doesn't wake work that Mousse's runner parked. The launchers it waits for are stored with it, so this holds across a restart. A launcher not probed since the start or a recheck never counts as started, and one that failed is probed again before the work goes on;
  • offers Install what's missing where a package fixes it (Linux or WSL 2 without socat or bubblewrap). It opens an owner's terminal with the distribution's command typed (apt-get, dnf, pacman or zypper) and checks again when the terminal closes. No restart is needed. On a card of another launcher (a subagent's entry), it adds that launcher's packages. When there is nothing to install for a card, only that card stops offering it.

What a held command printed is masked before it is read, so the card's Details never show a secret. A secret command's start failure is recorded against Mousse's runner, not the turn's provider.

The bot is told the reason in its system text, and to point the owner to the card rather than to install commands.

Changing it while work runs. A tighter setting stops running commands, background commands and subagents that hold the shell. Any change closes the warm chat process, rechecks the sandbox and resumes waiting work.

Subagents are held by the same setting. A subagent whose runtime reaches further than its work's runs without commands.

Defaults: the sandbox is off for every bot, new and existing. Its commands run as the owner's own threads' do, with grants, approvals, secret masking and the filtered environment still applying. The owner turns it on per bot. Existing bots get that row once, at the first start of this version, with nothing posted in their chats. A bot moved from an older build, whose bundle carries no setting, arrives off too. The network choice stored with it is open, which is what a bot gets when its owner turns the sandbox on.

Moving a bot carries the setting (bundle format 3). An older Mousse refuses that bundle before the source moves.

Design and wording: docs/plans/bot-sandbox-setting.md. Reference: "Command sandbox" in docs/bots.md.

Two choices differ from the first plan:

  • Chat turns don't post the card, because the chat runs no commands itself; the work it hands them to does.
  • Pi's bash runs on Mousse's runner, so it is held on Linux and macOS rather than unavailable.

How to review

  1. src/shared/bots/personal/sandbox.ts: types, the default and all wording.
  2. src/mms/bots/sandbox/: the resolver, probes, runner, proxy and install command.
  3. BotEngine.ts: search sandbox. This covers setting changes, cards, parking and resume, the upgrade, sandboxOf, sandboxView and runtimeHold.
  4. Launchers:
    • Claude Code: harness/claude/locked.ts (tools, the command environment file), ClaudeSubscriptionProviderService.ts (the scrub), drivers/claudeCode/.
    • Codex: vendors/codex/botSandbox.ts, childPolicy.ts, userSetup.ts, CodexProviderService.ts.
    • Runner: secrets/runWithSecrets.ts, bots/watchers.ts, harness/pi/extension/shell.ts.
    • Antigravity: botApprovals.ts.
  5. Owner-only methods: methodTable.ts, BotRouter.ts, RemoteBots.ts.
  6. UI: BotSandboxRows.tsx, BotAboutPanel.tsx, BotCards.tsx.

The risk is in the launchers. A wrong policy there either runs a command less held than the owner chose, or blocks every command.

Verification

Tier 5. Run on Windows 11.

  • At e3bbc29, merged with master at 29d5a02ea: node scripts/verify.mjs <the 61 test files this PR touches, plus the secret and Pi runner tests and the provider config test> --typecheck all passed: 1657 tests and both typechecks.
  • At 326376d: node scripts/verify.mjs <the 18 test files of the Codex sandbox, the sandbox setting, cards, Install, the method tables and the remote bot methods> --typecheck all passed: 747 tests and both typechecks, with the same known piBotGate failure (piBotGate bash test fails on Windows: Git Bash prints the files folder as /tmp/... #2405).
  • At c4727c5: node scripts/verify.mjs <the 8 Codex sandbox, setting, Install and card test files> --typecheck all passed: 452 tests and both typechecks.
  • At cf81f65 (sandbox off by default): node scripts/verify.mjs <the 19 test files of the sandbox setting, cards, Install, subagent holds, approvals, watchers, transfer, device access, remote bot methods, the secret runner, the Codex sandbox and the Pi gate> --typecheck all passed: 728 tests and both typechecks, with the known piBotGate failure (piBotGate bash test fails on Windows: Git Bash prints the files folder as /tmp/... #2405).
    • remoteBotApplets (8 tests) and botAvailableHistory (2 tests) fail on Windows on master too (7659c2993), so they are not in that run.
  • At 9c0de54: node scripts/verify.mjs <the 12 test files of the sandbox setting, Install, transfer, subagent holds, approvals, watchers, cards, About, device access, remote bot methods, the secret runner and Mousse's runner> --typecheck all: 279 of 280 tests and both typechecks passed. The one failure was a Windows temp-folder cleanup error (EPERM) in botWatchers. That file passes on its own, and fails the same way at random on the previous head (1 of 3 runs).
  • At 39b1cd9, merged with master at 2d0b27647: node scripts/verify.mjs <the 22 test files of the sandbox setting, Install, transfer, subagent holds, approvals, the method table, relayed owner answers, cards, About, device access, remote bot methods, the secret runner, Mousse's runner, the Claude Code sandbox and proxy, the Codex sandbox and adapter, the provider policy, Antigravity and the Pi gate> --typecheck all passed: 810 tests and both typechecks, with the known piBotGate failure (piBotGate bash test fails on Windows: Git Bash prints the files folder as /tmp/... #2405).
  • At d82ffc1: node scripts/verify.mjs <the 7 test files of the sandbox setting, Install, cards, About, approvals, subagent holds and secret containment> --typecheck all passed: 117 tests and both typechecks.
  • On macOS 26.6 at cf81f65, nothing under the bot profile could read the owner's Keychain, with the network on or off (com.apple.SecurityServer is reachable when the network is on). Only exit codes and sizes were checked:
    • security find-generic-password -s gh:github.com and security find-internet-password -s github.com find the item outside the sandbox and return "not found" (44) inside it.
    • gh auth token with a token-free hosts.yml naming the account returns the token outside, and "no oauth token found" inside. gh api user is authenticated outside, and gets 401 inside (network on).
    • Xcode's git-credential-osxkeychain get returns the credential outside, and nothing inside.
  • On macOS 26.6 (Apple silicon) at c4727c5, with the pinned Codex 0.162.1 and a temporary CODEX_HOME:
    • npx vitest run tests/harness/codexBotEscalationReal.test.ts passed 6 of 6, with the default TMPDIR and with TMPDIR under /private/tmp: a command in the bot's folder runs; a plain write outside fails; Homebrew's gh starts; touch <outside> || exit 1, printing the denial, is not retried outside; require_escalated with and without a justification stays in the sandbox.
    • On the sources before the fix, the retry and both require_escalated tests created the outside file.
    • codex sandbox -P mousse-bot with the bot's profile: a write to a new folder under /private/tmp is denied, a write in the bot's folder works, and /opt/homebrew/bin/gh --version exits 0 with GH_CONFIG_DIR in the bot's folder. Without the Homebrew folders, gh can't start (execvp … Operation not permitted).
  • Each new test below for the Codex escape, per-bot rules failures, parked work after a restart (including a launcher not yet probed), cards with the sandbox off, Install from another launcher's card and Install decided per card fails on the sources before its fix.
  • keepPasted (1 test) and secretFetchFiles (6 tests) fail on Windows on master too (npx vitest run tests/secrets/keepPasted.test.ts tests/secrets/secretFetchFiles.test.ts at 29d5a02ea), so they are not in the run above.
  • Tests cover:
    • Upgrade and owner changes:
      • the default, off with the network open, for a new bot, for one from before the setting (written once at start, with nothing in its chat) and for one moved from an older build;
      • owner-only changes, locally and remotely, and stale changes;
      • the system-text lines.
    • Cards and parking:
      • unavailable → card → parked work → resume when the owner turns it off;
      • a card of Mousse's runner while the work's provider starts: About, the card's buttons, and parked work that a healthy provider turn doesn't wake;
      • a card of another provider entry stands as posted until that entry's state is known, and settles when the sandbox is off;
      • Install on a card of another provider entry sends that entry and gets its packages;
      • work parked by Mousse's runner stays parked across a restart when its provider starts;
      • work parked for a subagent's entry stays parked after a restart until that entry is probed and starts;
      • a stale card with nothing to install hides only its own Install, and a later card for the same launcher offers it again;
      • work parked for a launcher repaired alone carries on even while the work's entry and Mousse's runner can't start;
      • a subagent's entry probed at its start, and again next time;
      • install commands per distribution.
    • Runner:
      • the runner's bubblewrap and Seatbelt arguments;
      • a background command whose sandbox fails to start raises the card;
      • a held secret command's sandbox failure keeps its output masked, and is recorded against the runner. The end-to-end masking test runs on Linux and macOS only.
    • Network proxy:
      • the proxy refusing a sample of every row of IANA's IPv4 and IPv6 special-purpose registries (3fff::1 included), and allowing ordinary public addresses;
      • a service on this computer's own network address gets 403 through the proxy and receives nothing.
    • Claude Code:
      • its start errors read as sandbox failures;
      • with the sandbox off, its commands don't see the provider's credentials.
    • Codex:
      • with the sandbox on, the owner's rules files make it unavailable with the card; comment-only files and untrusted projects don't;
      • with the sandbox off, commands run under the owner's rules, with no card;
      • with the sandbox off, its commands get the bot's filtered environment, the bot's PATH winning over the owner's set;
      • its probe reads the app-server's own arguments in Codex's order, including where --enable comes before a -c that disagrees;
      • one bot's project rules don't mark another bot's sandbox unavailable on the same entry, also between a probe and a turn when its thread setup found them, and the bot starts again once they're gone;
      • with the sandbox on, the profile denies the rest of the disk, and a retry, a require_escalated justification or extra permissions are declined; with it off, accepted by the grant;
      • on Windows the Codex sandbox is unavailable with its reason; on macOS the profile reads Homebrew's folders where they exist;
      • a real-Codex test (codexBotEscalationReal, Linux with bubblewrap or macOS) runs touch <outside> || { echo "…Operation not permitted"; exit 1; } and require_escalated with and without a justification as a bot with the sandbox on, and checks nothing outside is created.
    • UI: the About rows and the chat card.
  • Live checks on this PC:
    • Claude Code, pinned 2.1.291 in a WSL 2 distribution with a fake Messages API (no sign-in), sandbox off:
      • Commands ran with bubblewrap missing, with socat missing, and with C: mounted. With the old scrub setting, the same three runs failed as reported.
      • The bot's command didn't see the API key or custom headers.
    • Claude Code, network open: curl https://api.github.com/zen and git ls-remote worked through the proxy. With the network blocked, the request got 403. A write outside the bot's folders didn't persist.
    • Codex 0.162.1 with a temporary CODEX_HOME: GH_TOKEN and an owner set value no longer reach a bot's command, and PATH does. The owner set.PATH row ran on the installed Codex 0.172.0, as 0.162.1 isn't on this PC. Earlier, with the sandbox on and the network open, gh api /zen and git ls-remote worked and a write outside was denied.
    • Mousse's runner (bubblewrap) in WSL 2: with the network open, DNS and HTTPS worked; with it blocked, they failed; a write outside was denied.
  • A live check on Ubuntu 22.04 passed:
    • plain reasons, one card, apt install commands, and a recheck with no restart;
    • network open and blocked, through the proxy and the runner;
    • writes outside denied;
    • the proxy listening on 127.0.0.1 only.
  • Not checked: Claude Code and Mousse's runner on macOS (including whether they can read the Keychain), signed-in Claude Code and Codex turns, a real Pi child in bubblewrap, and the real-Codex escape test on Linux. Three Codex tests (codexBotTools, codexManagedWire, codexBotMousseData) need Linux or the repo's pinned install and were skipped on Windows.

Notes

No issue

…o end in the engine; owner-only routes checked
…s switches, Turn off and Install what's missing

About → Can use gets Sandbox commands and Allow network for sandboxed commands under Run commands, read from
bots.sandbox.get when the section opens and after each detail refresh, greyed with why where this window can't set the
bot up. A stale save reads the setting again. Mousse's sandbox card in the chat says why, that the work waits, the
details, and offers Turn off sandbox for this bot and Install what's missing (only where a package fixes it); once the
sandbox starts or is off it says what holds now. Install opens the owner's terminal on the bot's computer in the side
panel, types the command without Enter once the shell shows its prompt, and checks again when that terminal ends or
closes.
- botSandbox on the Codex driver: probes the entry's own Codex with codex sandbox under a profile like the bot's; Windows reads every file and blocks the network only with Codex's elevated sandbox; botHold removed
- codexTurnPolicy and the thread config follow the policy: held keeps the profile or workspace-write with the owner's network, open runs commands without a sandbox but still asks, unavailable has no command tool
- the loaded thread's key carries the policy kind, network and revision
- a retry outside the sandbox is declined only while held; a command while unavailable gets the refusal text
- a command whose sandbox failed to start is reported to startFailed once per run
Claude Code gives the resolver its own sandbox support: Windows has none;
Linux and WSL 2 need bubblewrap and socat on the entry's own PATH, user
namespaces, and no Windows drive mounted (Claude Code 2.1.291's sandbox
fails every command on WSL 2 with C: mounted); macOS starts Seatbelt. With
the network open the support also starts Mousse's proxy.

A bot turn reads only its sandbox policy. Off: Bash runs with no sandbox,
through the grant gate, with Claude Code's subprocess scrub keeping provider
credentials out of commands. Held: today's sandbox, with the network blocked
by an empty strict host list, or open through Mousse's proxy on
network.httpProxyPort (and, on macOS, the certificate service Go tools
need). Unavailable: no Bash, and any command is refused with what to tell
the owner. A locked entry without sandbox evidence for its version is
unavailable when held, never open.

A sandbox that fails to start, at Claude Code's start or at a command, is
reported to the engine instead of failing as a command; a turn whose Claude
Code would not start runs again without commands. The proxy never reaches
this computer's loopback, unspecified or link-local addresses.

The old per-driver decisions are gone: claudeSandboxFact, botHold,
botWithheldTools, the owner entry's sandbox check and botShellWithheld.
… nested writable folders writable, and tells a failed sandbox start from a command's failure
…wner's card; docs say Pi runs on Mousse's runner
# Conflicts:
#	src/mms/bots/activation/BotEngine.ts
#	src/mms/bots/chat/BotChatService.ts
#	src/renderer/components/bots/BotCards.tsx
#	tests/renderer/fakeBotsClient.ts
@TheAnimatrix

Copy link
Copy Markdown
Collaborator Author

About → Can use, and the chat card (Mousse Dark, real renderer and CSS):

Sandbox on Sandbox off Can't start
Sandbox on Sandbox off Sandbox unavailable

The card in the bot's chat:

Sandbox unavailable card in the chat

…nner refusal parks the work; subagents probe their own entry; upgrade keeps held paths held and says which are newly held
…lure is read, so the card never shows a secret
…dbox start failures; the WSL drive detail spells C:\Program Files\ClaudeCode
…x rules files would let a command skip its approvals and sandbox

Codex 0.162.1 checks every command against the rules files of its active config layers (the Codex home, the system config folder, trusted projects' .codex folders) before any approval. An allow rule skips the approval and, with the sandbox on, the sandbox. Its app-server has no switch that leaves them out of one thread, so a bot thread that would load one starts without command tools and each turn tells the bot why.
…net addresses only, never this computer's own addresses or the owner's private network
…ess scrub, and Mousse's command file keeps the provider's credentials out of each command
… sandbox on or off

Codex gives a command every variable of its own process unless the thread's shell_environment_policy says otherwise, and the owner's own set and filters merge under the thread's key by key. A bot thread with commands now inherits only Codex's core variables, sets the bot's command environment (lockedEnv, as Pi's commands get it) over them, keeps only those names in the form the owner's config uses, and turns login shells off. Checked on the real 0.162.1: GH_TOKEN and the owner's own set no longer reach a command; PATH keeps Codex's helper folders.
…errides, from the one list its launch passes

The probe decided Windows' elevated sandbox from config.toml alone and ran codex sandbox without the entry's -c overrides, so it could pass while commands ran unelevated with the network blocked only by proxy variables. The launch, the sign-in process and the probe now take their arguments from one function; the probe applies its config overrides (and --enable/--disable) over config.toml, runs under them, and probes again when they change.
…is on, with the card; with it off they apply as in the owner's own threads
…rpose address registries

The refused set is now the full IPv4 and IPv6 special-purpose registries (as updated 2025-10-09), kept in code row by row with one CIDR helper, plus multicast and IPv6 outside 2000::/3. Rows the registry marks globally reachable (anycast PCP, TURN and DNS-SD registration, AS112, AMT, ORCHIDv2, DETs) are refused too. IPv4-mapped, NAT64 and 6to4 addresses are still judged by the IPv4 address they carry; the deprecated ::a.b.c.d form is no longer read as IPv4. 3fff::/20 and 5f00::/16, among others, were reachable before.
…writes its notice with the setting; waiting work resumes only when every launcher it met starts; runner failures and cards are keyed by launcher
…ide it

The bot profile denies the whole disk below what it grants, so Codex neither retries a failed command
outside the sandbox nor widens an approved require_escalated command. With the sandbox on, a command
approval with a reason or extra permissions is declined. Windows, whose sandbox can't deny, makes the
Codex sandbox unavailable. macOS bots read Homebrew's folders so its programs start.
…s stay per bot; parked work keeps its launchers; cards settle when off; Install reads the card's launcher

- Every first write of a bot's sandbox setting (start, About, a turn, the owner's change) writes its upgrade notice in
  the same transaction; while it fails, the default is read without being kept.
- A Codex command_rules failure is never kept launcher-wide: the rules are read per bot folder at each resolve.
- The launchers parked work waits for are kept with it, so a restart doesn't wake it while the runner is still down.
- With the sandbox off, every card settles, whatever launcher it names.
- Install what's missing sends the card's launcher entry and adds that launcher's packages.
… folders, and gh gets its own config folder

Codex's Seatbelt profile lets every :minimal command write /private/tmp and /private/var/tmp unless the profile denies
them. Under the profile gh stops at an unreadable ~/.config/gh, so held Codex bot commands get GH_CONFIG_DIR in the
bot's scratch.
New bots and bots from before the setting start with the sandbox off and the network open for when the owner turns it
on. The upgrade writes that default with nothing posted in the chat; the per-runtime upgrade rules, the upgrade notice
and the old secret runner's bubblewrap lookup are removed with their tests. Tests about held commands turn the sandbox on
first. The device-access test now covers the bots.sandbox methods.
…tall is decided per card; an older bundle arrives off

- A launcher not probed since the start or a recheck never counts as started for waiting work, and one that failed is
  probed again: parked work is looked at again once those probes end.
- The card's Install answer is kept per card launcher, so a stale card never hides Install elsewhere.
- A bot moved from an older build without a saved setting arrives with the default, off.
# Conflicts:
#	src/mms/bots/activation/BotEngine.ts
…'s provider and the runner read; a card's nothing-to-install is kept per card

- sandboxView looks at waiting work, probing the launchers it waits for, even when the work's entry and Mousse's runner
  can't start, so work parked for a launcher repaired alone carries on.
- Install's 'nothing to install' is remembered by the card (its message and place), so a later card for the same
  launcher, posted when its package went missing again, offers Install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant