fabro/lib/crates/fabro-cli
Bryan Helmkamp b29a582d31
fix(storage): use Storage/RunScratch accessors instead of raw path joins
Four callsites were bypassing existing Storage/RunScratch methods:

1. install.rs — .join("secrets.json") → Storage::secrets_path()
2. initialize.rs — .join("worktree") → RunScratch::worktree_dir()
3. git.rs — .join("final.patch") → RunScratch::final_patch()
4. create.rs — duplicated date-format logic → RunScratch::for_run()

Adds RunScratch::for_run(scratch_dir, run_id) to centralize the
date-prefixed directory name, used by both Storage::run_scratch()
and make_run_dir().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:12:19 -04:00
..
src fix(storage): use Storage/RunScratch accessors instead of raw path joins 2026-04-06 15:12:19 -04:00
tests/it refactor(cli): separate local socket and storage defaults 2026-04-06 11:57:14 -04:00
build.rs Move git SHA/build date from fabro-util to fabro-cli build.rs 2026-03-13 15:03:12 -04:00
Cargo.toml refactor(cli): route run state through the shared server daemon 2026-04-05 00:15:33 -04:00