Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Windows/Git Bash: statusline always falls back to bare 'LifeOS' — LIFEOS_DIR ships as native C:\ path, fails #1463 absolute-path gate

Open umair-a11y opened this issue 4 months ago • 1 comments

On Windows, the installer writes LIFEOS_DIR into settings.json env as a native drive path (C:\Users\<user>/.claude/LIFEOS). LIFEOS_StatusLine.sh's fail-closed gate from #1463 only accepts POSIX-absolute paths (case $LIFEOS_DIR in /*)), so every Git Bash session silently renders the one-word LifeOS fallback instead of the statusline.

Fix applied locally: normalize [A-Za-z]:[\/]* paths to POSIX before the gate, via cygpath -u (ships with Git Bash) with a pure parameter-expansion fallback for thin-PATH spawn contexts. Verified: full statusline renders after the patch.

Related Windows false-negative family: #1730.

🤖 Generated with Claude Code

umair-a11y avatar Aug 03 '26 08:08 umair-a11y

Good catch, @umair-a11y — on Windows the statusline fell back to a bare 'LifeOS' on drive-letter paths. Fixed in source (added a cygpath arm), ships next release. Closing since the public repo is generated from that source.

danielmiessler avatar Aug 06 '26 05:08 danielmiessler