fabro/apps/fabro-web
Bryan Helmkamp 1d61611f68
feat: seed environments at install, make default deletable
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>
2026-06-01 20:10:33 -04:00
..
app feat: seed environments at install, make default deletable 2026-06-01 20:10:33 -04:00
public/images Add sandbox providers settings page 2026-05-24 17:47:15 -04:00
scripts fix(web): raise timeout for build tests that run a real vite build (#310) 2026-05-18 12:52:18 -04:00
.dockerignore Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
.gitignore Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
index.template.html chore(web): namespace static images under /images and skip in HTTP logs 2026-04-30 08:57:14 -04:00
package.json Replace DIY overlay primitives with Radix UI + Sonner (#424) 2026-05-26 23:03:06 -04:00
react-doctor.config.json refactor(web): improve React Doctor score (#405) 2026-05-25 22:41:37 -04:00
tsconfig.json Fix login route collision after SPA cutover 2026-04-01 21:55:30 -07:00