Skip to content

Use runtime-specific log directories for codex and opencode#7

Merged
shayne-snap merged 1 commit intomainfrom
BAC-13
Mar 6, 2026
Merged

Use runtime-specific log directories for codex and opencode#7
shayne-snap merged 1 commit intomainfrom
BAC-13

Conversation

@shayne-snap
Copy link
Copy Markdown
Owner

Fixes BAC-13: When using opencode runtime, logs should go to log/opencode/ directory instead of log/codex/.

Changes:

  • Modified logging.IssueLogsDir to accept runtime kind parameter
  • Updated all callers to pass agent runtime kind
  • Added test to verify correct path generation
  • Ensures opencode and codex use separate log directories

- Rename CodexIssueLogsDir to IssueLogsDir and add runtimeKind parameter
- Update all callers to pass the agent runtime kind (codex or opencode)
- Add test for IssueLogsDir to verify correct path generation
- This ensures opencode logs go to log/opencode/ instead of log/codex/
@shayne-snap shayne-snap merged commit 7089cce into main Mar 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant