mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-28 23:59:25 +00:00
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> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
fabro-workflow
Fabro's platform half of a workflow run: what Fabro does around the engine.
Petri compiles and executes every run. fabro-petri is the crate that talks
to the engine (fabro-dot reads a graph's shape and file references through
Petri's parser), and this crate keeps what Fabro itself owns:
operations— creating a run around Petri's admission (materialize_admitted_run,persist_create_run), and the other run operations: fork, rewind, retry, and the timeline they resolve targets on. The run's display graph (fabro_types::RunGraph) is read off the graph Petri admitted; the DOT the workflow was written in is persisted beside it asgraph_source.workflow_bundle— the bundle a run is created from: every workflow of the version closure with its settings file and its files, and theRunDefinitionthe run records.git,sandbox_git— the Git helpers a run's platform effects use, on the host and inside a sandbox.pull_request— pull request creation for a finished run.run_tools,services— the run tools an agent session calls.web_search— the built-in web search backend.run_lookup— resolving a run selector to a run.
The run records and status vocabulary are fabro_types'. Workflow
diagnostics are Petri's: fabro validate, fabro preflight and the create
handler report Petri's codes (attractor.*, unsupported.*, deprecated.*,
info.*), plus Fabro's fabro.model.no_ready_provider when a model node has
no provider ready to run it.