fabro/lib/foundation
Amp 467abb2c84
Use only sandbox-driver's new API; refuse what it cannot do yet
Fabro no longer uses sandbox_driver::legacy, the old Docker, Daytona and
Host provider crates, the legacy test doubles or protocol 2's plugin
supervisor. The server opens one SandboxCatalog with Fabro's Host, Docker
and Daytona entries and the operator's protocol 3 plugin entries, and
reaches run sandboxes, the inventory, health, files, preview ports, SSH,
VNC and the terminal through the new Sandbox handle.

Where the new API cannot yet do what Fabro did, the feature refuses or
degrades with a clear error, and a TODO(parity) comment says what
sandbox-driver is missing:

- Run Files reads no git: the file list falls back to the final patch,
  and the commit list and SHA ranges return 501.
- The terminal needs tty exec, which the built-in providers refuse.
- SSH and VNC need endpoints, which Daytona, Host and protocol 3 plugins
  do not offer.
- Provider health no longer tells an unreachable backend from a rejected
  credential, or lists a Daytona key's missing scopes.
- Sandbox status has no provider state string, error reason, region,
  workspace ownership or timestamps.
- A Host sandbox is re-designated by directory with no ownership check.
- Daytona gets sandbox-driver's User-Agent and HTTP client.
- The GitHub access probe makes one attempt, without git retry.

The sandbox status shown by the API is now a Fabro type projected from
sandbox-driver's Status, with the same wire shape. Listening ports for
the Services tab come from a Fabro-owned script run in the sandbox.
fabro-workflow's sandbox_git module is removed.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1e5fa-bf64-7347-834c-085d7d0fe444
Co-authored-by: Scott Werner <scott@lithos.computer>
2026-11-20 22:48:45 +00:00
..
build-support refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-api Use only sandbox-driver's new API; refuse what it cannot do yet 2026-11-20 22:48:45 +00:00
fabro-auth Scope run model clients with session headers 2026-10-14 12:44:52 -04:00
fabro-client Return lithos-llm probe reports from model tests 2026-11-02 17:09:41 -05:00
fabro-config Serialize generated provider overlays with the TOML library 2026-10-23 14:38:46 -04:00
fabro-db Drop the run_events table and narrow the runs row 2026-09-18 14:37:18 -04:00
fabro-dev Fix the Mintlify docs deployment 2026-09-28 17:26:49 -04:00
fabro-http Depend on lithos-llm and the published twin-openai crate 2026-09-09 17:26:57 -06:00
fabro-macros refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-oauth refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-options-metadata refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-proc Simplify the store-fault handling 2026-10-06 16:07:36 -04:00
fabro-redact Exempt ULIDs from entropy-based secret redaction 2026-10-20 14:51:14 -04:00
fabro-static refactor: tidy the in-process sandbox provider wiring 2026-09-25 11:29:29 -04:00
fabro-telemetry refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-template Read workflow graphs through Petri's DOT parser 2026-09-19 12:23:57 -04:00
fabro-test Move Fabro onto sandbox-driver's new API with Petri and Pebble 2026-11-16 21:35:31 +00:00
fabro-types Use only sandbox-driver's new API; refuse what it cannot do yet 2026-11-20 22:48:45 +00:00
fabro-util Resume a Petri run whose store failed, as after a crash 2026-10-06 12:29:34 -04:00
fabro-vault refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00