Skip to content

chore: separate ensureSessionsDir from session barrel index - #750

Merged
avoidwork merged 1 commit into
mainfrom
chore/separate-ensure-sessions-dir
Aug 10, 2026
Merged

chore: separate ensureSessionsDir from session barrel index#750
avoidwork merged 1 commit into
mainfrom
chore/separate-ensure-sessions-dir

Conversation

@avoidwork

Copy link
Copy Markdown
Owner

Summary

Move ensureSessionsDir from src/session/index.js (barrel file) to src/session/factory.js where it logically belongs.

What Changes

  • Move ensureSessionsDir function to factory.js (session creation/initialization)
  • Make index.js a pure barrel file (only re-exports)
  • Update all consumer import paths
  • No behavioral changes — purely structural

OpenSpec

Full spec available at openspec/changes/separate-ensure-sessions-dir/

Related

Fixes #744

- Create proposal, design, tasks, and spec artifacts
- Plan moving ensureSessionsDir from index.js to factory.js
@avoidwork avoidwork self-assigned this Aug 10, 2026
@avoidwork
avoidwork enabled auto-merge (squash) August 10, 2026 05:10
@avoidwork
avoidwork merged commit 0b7c14e into main Aug 10, 2026
3 checks passed
@avoidwork
avoidwork deleted the chore/separate-ensure-sessions-dir branch August 10, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: separate ensureSessionsDir from session barrel index

1 participant