diff --git a/README.md b/README.md index 539c2d0cd..8a7073017 100644 --- a/README.md +++ b/README.md @@ -356,6 +356,8 @@ The interactive configuration tool provides a terminal UI where you can: > 🪟 **Windows Support:** PowerShell examples, installation notes, fonts, troubleshooting, WSL, and Windows Terminal configuration are in [docs/WINDOWS.md](docs/WINDOWS.md). +> 🫥 **Status line empty in one folder?** Claude Code only runs the status line command in trusted workspaces, and nested git repositories stopped inheriting trust in Claude Code 2.1.232. See [Status line empty in one folder](docs/USAGE.md#status-line-empty-in-one-folder-but-fine-elsewhere). +
diff --git a/docs/USAGE.md b/docs/USAGE.md index 62cd88bcf..3901b9da0 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -176,6 +176,12 @@ The same menu controls these ccstatusline cache settings, saved with **Save & Ex Git commands run on cache misses with a five-second timeout. A timed-out command follows the normal missing-data path for its widget. +### Status line empty in one folder but fine elsewhere + +Claude Code only runs a custom `statusLine` command in a workspace whose trust dialog has been accepted (since Claude Code 2.1.51). Since 2.1.232, a git repository nested under an already-trusted parent folder no longer inherits that trust, and Claude Code does not always show the trust dialog again. In such a folder, ccstatusline is never invoked, so the status line renders as an empty row even though running `ccstatusline` by hand in the same folder works and other folders still show it. + +To confirm, look up the project path in `~/.claude.json` under `projects` and check its `hasTrustDialogAccepted` value. Setting it to `true` (or accepting the trust dialog when Claude Code shows it) and starting a new session restores the status line. + ## Usage Credentials and Cache Usage API requests read credentials from the active Claude config directory's `.credentials.json` on Linux and Windows. On macOS, a custom `CLAUDE_CONFIG_DIR` selects its matching Keychain service first, then falls back only to that profile's credentials file. `CLAUDE_SECURESTORAGE_CONFIG_DIR`, when set, overrides the value used to select the Keychain service; an empty value selects the default service lookup. With the default service lookup, ccstatusline tries `Claude Code-credentials`, then matching suffixed services, then the credentials file.