Summary
The loom init wizard should allow configuring the repository scan root during setup, and LOOM should support directory structures beyond the current <root>/<org>/<repo> convention.
Motivation
Currently, loom init does not let you choose where to scan for repositories — you have to manually edit config.toml afterward to set scan_roots. This defeats the purpose of having an interactive setup wizard.
More fundamentally, LOOM requires repositories to be organized as <root>/<org>/<repo> (e.g., ~/repos/dasch-swiss/dsp-api). Many developers keep a flat layout like ~/repos/dsp-api. Adopting LOOM currently means reorganizing your entire directory structure, which is a significant barrier to adoption.
Commands affected
Modules affected
Proposed behavior
- Wizard scan root prompt:
loom init should ask where to scan for repositories, rather than using a hardcoded default.
- Flexible directory structures: LOOM should support discovering repos in flat directories (
<root>/<repo>) in addition to the current org-grouped layout (<root>/<org>/<repo>). This could be a config option like scan_depth or layout = "flat" | "org-grouped".
Acceptance criteria
Summary
The
loom initwizard should allow configuring the repository scan root during setup, and LOOM should support directory structures beyond the current<root>/<org>/<repo>convention.Motivation
Currently,
loom initdoes not let you choose where to scan for repositories — you have to manually editconfig.tomlafterward to setscan_roots. This defeats the purpose of having an interactive setup wizard.More fundamentally, LOOM requires repositories to be organized as
<root>/<org>/<repo>(e.g.,~/repos/dasch-swiss/dsp-api). Many developers keep a flat layout like~/repos/dsp-api. Adopting LOOM currently means reorganizing your entire directory structure, which is a significant barrier to adoption.Commands affected
loom initloom newloom addloom removeloom downloom listloom statusloom execloom shellloom saveloom openloom registryModules affected
configmanifestworkspacegitagentsynctuiregistrycliProposed behavior
loom initshould ask where to scan for repositories, rather than using a hardcoded default.<root>/<repo>) in addition to the current org-grouped layout (<root>/<org>/<repo>). This could be a config option likescan_depthorlayout = "flat" | "org-grouped".Acceptance criteria
loom initprompts the user for scan root path(s)<root>/<repo>) are supported for repo discoveryconfig.tomlediting required afterloom initfor basic setup