fabro/lib/crates/fabro-server
Bryan Helmkamp e7ce0f6a86
fix(server): restore legacy vault migration removed mid-PR
PR #306 added a temporary startup migration for pre-token/oauth vault
files (commit 3448a7d06) and then deleted it 28 minutes later in the
same PR (commit 437a27769) before merging. Installs that still have
`credential` or `environment` entries in secrets.json now refuse to
boot with `unknown variant 'credential'`.

Restore vault_legacy_migration.rs and wire it back into build_app_state
so old vault files are rewritten to `token`/`oauth`/`file` shape with
a timestamped backup on first boot. Keep the strict `Vault::load` path
(no empty-vault fail-open) so a genuinely corrupt vault still aborts
startup instead of silently zeroing out secrets.

The migration self-deletes after the 2026-08-18 removal deadline noted
in the module docs.
2026-05-18 16:00:18 -04:00
..
src fix(server): restore legacy vault migration removed mid-PR 2026-05-18 16:00:18 -04:00
tests refactor(auth): split credential sources and vault schemas (#306) 2026-05-18 11:07:42 -04:00
build.rs fix(build): refresh embedded git sha on branch commits 2026-05-09 14:10:04 -04:00
Cargo.toml feat(cli): add Fabro MCP server (#236) 2026-05-11 18:20:50 -04:00