fabro/lib/foundation/fabro-config/src
Bryan Helmkamp 809b3891b5
Forward every configured sandbox plugin to the Petri worker
The worker's environment carried only the host, Docker and Daytona plugin
variables from the server's own environment, so a run on a third-party
provider kind never learned where its plugin was, although the server
kept `[server.sandbox.providers.<kind>]` plugin settings for its own
attach. The launch spec now derives `PETRI_SANDBOX_<KIND>_PLUGIN` and
`PETRI_SANDBOX_<KIND>_SHA256` from every enabled kind's plugin settings,
and `PETRI_SANDBOX_PLUGIN_DEV=1` when any of them sets `dev`, set after
the allowlist so the settings win over an ambient variable of the same
name and the allowlist stays the fallback.

The server's default plugin binary name is `sandbox-driver-<kind>`, the
name Petri looks up, since one executable serves both sides.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 14:45:42 -04:00
..
layers Remove the [server.slatedb] settings and the SlateDB prefix probe 2026-09-18 16:00:24 -04:00
resolve Remove the [server.slatedb] settings and the SlateDB prefix probe 2026-09-18 16:00:24 -04:00
tests Forward every configured sandbox plugin to the Petri worker 2026-09-19 14:45:42 -04:00
bind.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
builders.rs Bump lithos-llm to 43a42ac and migrate catalogs to the codecs schema 2026-09-18 22:07:00 -04:00
daemon.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
defaults.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
defaults.toml Remove the [server.slatedb] settings and the SlateDB prefix probe 2026-09-18 16:00:24 -04:00
envfile.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
error.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
home.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
input_overrides.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
lib.rs Remove the [server.slatedb] settings and the SlateDB prefix probe 2026-09-18 16:00:24 -04:00
load.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
logging.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
migrations.rs Remove the [server.slatedb] settings and the SlateDB prefix probe 2026-09-18 16:00:24 -04:00
parse.rs Read catalog policy from lithos core fields and metadata.agent 2026-09-09 23:20:12 -06:00
project.rs Simplify workflow version registration tool layering 2026-09-12 10:15:29 -06:00
run.rs refactor(config): stop resolving {{ env.* }} in interpolated config 2026-07-27 21:09:35 -04:00
storage.rs Remove the [server.slatedb] settings and the SlateDB prefix probe 2026-09-18 16:00:24 -04:00
user.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00