Skip to content

fix(output): use platform app directory for default results#51

Merged
jpreagan merged 3 commits intomainfrom
output-default-platform-dir
Feb 19, 2026
Merged

fix(output): use platform app directory for default results#51
jpreagan merged 3 commits intomainfrom
output-default-platform-dir

Conversation

@jpreagan
Copy link
Copy Markdown
Owner

@jpreagan jpreagan commented Feb 19, 2026

Summary

llmnop currently defaults output to result_outputs relative to the current working directory, which scatters output folders across arbitrary paths.

This PR switches output to an OS-conventional per-user app directory.

Changes

  • Resolve results directory via platform conventions:
    • macOS: ~/Library/Application Support/llmnop/results
    • Linux: ~/.local/state/llmnop/results
    • Windows: %LOCALAPPDATA%\llmnop\data\results
  • Remove --results-dir override.
  • Remove local result_outputs fallback; writing now requires platform directory resolution.

Why

  • Prevents result_outputs/ litter in arbitrary working directories.
  • Aligns with user expectations for CLI-generated app data.
  • Makes output location predictable and OS-native.

@jpreagan jpreagan merged commit 5194951 into main Feb 19, 2026
7 checks passed
@jpreagan jpreagan deleted the output-default-platform-dir branch February 19, 2026 05:49
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