mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-30 01:53:45 +00:00
Built-in environments (default, docker, daytona) are now seeded only by the installer, not re-created on every server startup. The running server loads whatever is on disk and never self-heals seeds, so an uninstalled instance has no managed environments and a run that selects an absent environment fails explicitly instead of silently resurrecting a built-in. The `default` environment is no longer protected from deletion. Deleting it removes the run fallback on purpose: a later run that selects `default` fails with "unknown environment: default", forcing an explicit choice. `local` is unchanged (reserved, in-memory). - fabro-environment: `EnvironmentStore::load_or_seed` -> `load` (no seeding); new public `seed_environments(dir)` (idempotent, preserves edits); drop the `default` delete guard and the `Protected` error. - fabro-server: startup loads without seeding; web install seeds after persistence; drop the Protected->409 mapping; test_support seeds so tests exercise an installed instance. - fabro-cli: install seeds after persisting outputs. - web: remove the "protected" tag and disabled Delete for `default`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| crates | ||
| packages/fabro-api-client | ||