Skip to content

docs: explain an empty status line in one folder (workspace trust) - #606

Open
D-L-Narayana wants to merge 1 commit into
sirmalloc:mainfrom
D-L-Narayana:docs-workspace-trust-empty-status-line
Open

D-L-Narayana wants to merge 1 commit into
sirmalloc:mainfrom
D-L-Narayana:docs-workspace-trust-empty-status-line

Conversation

@D-L-Narayana

Copy link
Copy Markdown

Since Claude Code 2.1.51 a custom statusLine command only runs in a trusted workspace, and since 2.1.232 a git repository nested under a trusted parent folder no longer inherits that trust. Claude Code does not always re-show the trust dialog, so in such a folder ccstatusline is never invoked and the status line is an empty row, while running the command by hand works and other folders are fine. It looks exactly like a ccstatusline bug, and several repos under one parent break at once.

Add a troubleshooting entry to docs/USAGE.md with the check (hasTrustDialogAccepted for the project path in ~/.claude.json) and a pointer to it from the README next to the other quick-start notes.

Closes #552

Since Claude Code 2.1.51 a custom statusLine command only runs in a
trusted workspace, and since 2.1.232 a git repository nested under a
trusted parent folder no longer inherits that trust. Claude Code does not
always re-show the trust dialog, so in such a folder ccstatusline is never
invoked and the status line is an empty row, while running the command by
hand works and other folders are fine. It looks exactly like a
ccstatusline bug, and several repos under one parent break at once.

Add a troubleshooting entry to docs/USAGE.md with the check
(`hasTrustDialogAccepted` for the project path in ~/.claude.json) and a
pointer to it from the README next to the other quick-start notes.

Closes sirmalloc#552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Status line silently empty since Claude Code 2.1.232 (nested git repos lost inherited workspace trust — command never invoked)

1 participant