Skip to main content

Module paths

Module paths 

Source
Expand description

Shared path helpers (used by workspace and machine_registry to avoid import cycles).

Functions§

canonical
claude_code_slug
Claude Code project slug: leading / becomes -, then / and .-.
cursor_slug
Cursor project slug: strips leading /, then replaces / and . with -.
kaizen_dir
KAIZEN_HOME or ~/.kaizen (requires HOME), or None if undiscoverable.
project_data_dir
~/.kaizen/projects/<slug>/ (or $KAIZEN_HOME/projects/<slug>/), created on demand.
workspace_slug
/Users/lucas/Projects/kaizenUsers-lucas-Projects-kaizen