fabro/lib/components/fabro-petri/tests
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
..
support Restore graph-wide stall watchdog in Fabro execution 2026-10-14 11:20:00 -04:00
agent_usage.rs Track Petri's root usage breakdown by model 2026-10-12 15:38:02 -04:00
blobs.rs fix: run built-in sandbox providers in process 2026-09-24 17:14:47 -04:00
check.rs Integrate Petri preparation removal and update admission checks 2026-10-23 10:30:54 -04:00
daytona.rs Use only sandbox-driver's new API; refuse what it cannot do yet 2026-11-20 22:48:45 +00:00
git_identity.rs Propagate run Git identity to commands and agents 2026-10-10 08:53:50 -04:00
hooks.rs Explain artifact size-limit omissions with durable notices 2026-11-02 17:06:17 -05:00
host_tools.rs fix: run built-in sandbox providers in process 2026-09-24 17:14:47 -04:00
interview.rs fix: run built-in sandbox providers in process 2026-09-24 17:14:47 -04:00
model.rs Scope run model clients with session headers 2026-10-14 12:44:52 -04:00
network.rs Use only sandbox-driver's new API; refuse what it cannot do yet 2026-11-20 22:48:45 +00:00
projection.rs Build required publication on Petri main's finalization 2026-10-08 12:45:25 -04:00
prune.rs Move Fabro onto sandbox-driver's new API with Petri and Pebble 2026-11-16 21:35:31 +00:00
resume.rs Restore graph-wide stall watchdog in Fabro execution 2026-10-14 11:20:00 -04:00
runs.rs fix: address review of the in-process sandbox providers 2026-09-25 12:31:37 -04:00
secrets.rs fix: run built-in sandbox providers in process 2026-09-24 17:14:47 -04:00
skills.rs Adopt Petri skill expansion boundaries 2026-10-14 17:34:34 -04:00
sqlite_store.rs Implement Petri's run store over Fabro's SQLite database 2026-09-17 19:30:30 -04:00
stage_files.rs Verify tracked files reach successor stage prompts 2026-11-03 14:41:48 -05:00
stall.rs Restore graph-wide stall watchdog in Fabro execution 2026-10-14 11:20:00 -04:00