Bug Description
When running ouroboros run workflow, the opencode runtime is launched with $HOME as the working directory instead of the registered brownfield default repo path.
Steps to Reproduce
- Register a brownfield repo:
ouroboros setup scan /path/to/project
ouroboros setup default # select the project
2. Verify registration:
```bash
ouroboros setup list
# Shows: ★ project-name /path/to/project
```
3. Run workflow from the project directory:
```bash
cd /path/to/project
ouroboros run workflow seed.yaml --sequential
```
4. Check logs - shows cwd=$HOME instead of /path/to/project
Expected Behavior
opencode should be launched with the brownfield default repo path as cwd:
cwd=/path/to/project
Actual Behavior
opencode is launched with user home directory:
cwd=$HOME
Environment
- OS: Windows
- Ouroboros version: 0.40.1
- Runtime: opencode
- Shell: Git Bash
Impact
- opencode has to search for project files, adding significant startup time
- Execution context is wrong, potentially causing file path issues
- Brownfield registration appears to be metadata-only, not used for execution context
Workaround
None found. Even running from the project directory doesn't help - ouroboros seems to hardcode $HOME as cwd when launching the runtime.
Bug Description
When running
ouroboros run workflow, the opencode runtime is launched with$HOMEas the working directory instead of the registered brownfield default repo path.Steps to Reproduce
ouroboros setup scan /path/to/project ouroboros setup default # select the projectcwd=/path/to/project
cwd=$HOME