fabro/lib/components
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
..
fabro-automation Open sandbox provider identity to plugin kinds 2026-09-09 15:17:32 -06:00
fabro-checkpoint Merge remote-tracking branch 'origin/main' into remove/run-metadata-branches 2026-09-12 16:28:01 -06:00
fabro-dot Reflow the Attractor origin comment for rustfmt 2026-11-11 17:09:50 -05:00
fabro-dump Build the run's display graph from Petri's admission 2026-09-19 11:41:58 -04:00
fabro-environment Open sandbox provider identity to plugin kinds 2026-09-09 15:17:32 -06:00
fabro-github Resolve one Git identity per run and inject it everywhere 2026-09-12 11:35:46 -06:00
fabro-graphviz Read workflow graphs through Petri's DOT parser 2026-09-19 12:23:57 -04:00
fabro-install Keep installer tests focused on behavioral contracts 2026-10-23 16:32:19 -04:00
fabro-interview Delete the interviewers the Petri cutover left unused 2026-09-19 09:05:52 -04:00
fabro-llm Return lithos-llm probe reports from model tests 2026-11-02 17:09:41 -05:00
fabro-manifest Read workflow graphs through Petri's DOT parser 2026-09-19 12:23:57 -04:00
fabro-mcp-store refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-petri Use only sandbox-driver's new API; refuse what it cannot do yet 2026-11-20 22:48:45 +00:00
fabro-slack Delete fabro-core and the engine half of fabro-workflow 2026-09-18 10:44:41 -04:00
fabro-store Harden artifact capture writes 2026-09-28 14:30:36 -04:00
fabro-tool Answer steer and interrupt with the worker's acknowledgement 2026-09-18 23:54:11 -04:00
fabro-tracker refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-variable refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
fabro-workflow Use only sandbox-driver's new API; refuse what it cannot do yet 2026-11-20 22:48:45 +00:00
fabro-workflow-version Read workflow graphs through Petri's DOT parser 2026-09-19 12:23:57 -04:00