Paths

Stackie stores daemon state, package metadata, package manager roots, dashboard/runtime files, and SQLite databases under one resolved Stackie home. Release builds use ~/.stackie by default. Local development and mutate worktree runs use <worktree>/.stackie so simultaneous branches do not overwrite each other’s daemon socket, database, package, or port state.

SOLID Compliance

  • SRP: Each path function has single responsibility
  • OCP: New path utilities can be added without modifying existing code

DRY Compliance

  • Single path validation implementation for all providers
  • Single resolved Stackie sources directory resolution
  • No duplication of path handling across providers