fn collect_dev_sources(
dev_root: &Path,
out: &mut Vec<SqliteSource>,
incomplete: &mut bool,
)Expand description
Locate dev instance dirs (those with data/db/objects.db) and anchor each
on its sibling agents/ dir. The dev layout is at most two levels under
dev/: dev/<branch>/data/... (older single-level layout) or
dev/<branch>/<sub-hash>/data/.... We check exactly those depths and never
descend into an instance’s own subdirs — so an agent workspace
(<instance>/agents/<slug>/) that holds a nested AgentMux objects.db is
never mistaken for a source (reagent P2), and a dev branch whose slug
happens to equal an internal dir name like data/agents is still scanned
(no name-based skip-list — codex P2).