Files
WesandBrain ef6784cd60 fix(dev): make sidecar resolution prefer the build's own profile
Dropping --release from staging/goose only fixed the build side; runtime
resolution still preferred release, so a dev box with stale release
artifacts would rebuild debug sidecars and then launch the stale release
ones anyway.

- desktop: command_search_dirs() now searches the dir matching this app's
  own build profile first (cfg!(debug_assertions)). A debug desktop build
  (tauri dev via `just staging`) prefers target/debug; a release build is
  unchanged. Add a unit test for the ordering.
- goose / goose-bg: prepend $PWD/target/debug to PATH so the agent and the
  `sprout` CLI its skills shell out to resolve to the same debug profile,
  not a stale release binary.

Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
2026-06-08 15:55:57 -06:00
..