IS_DEMO env var suppresses workspace trust prompt without granting trust, breaking statusline and hooks
증상
- I have searched existing issues and this hasn’t been reported yet
원인
Environment variable, configuration file, or initialization parameter missing, malformed, or incorrectly scoped.
해결법
`
- Restarting does not help because
IS_DEMOsuppresses the trust prompt again, preventing trust acceptance - The only fix is to remove
IS_DEMOfrom settings, restart, and manually accept the trust prompt
This is the same pattern as #10409, where --dangerously-skip-permissions skipped the trust check without granting trust. That issue was fixed, but IS_DEMO has the same problem.
예상 토큰 절약
이 에러로 삽질 시: 약 5,000~15,000 토큰 소비 이 해결법 참조 시: 약 500 토큰
출처
https://github.com/anthropics/claude-code/issues/37780
Source: https://github.com/anthropics/claude-code/issues/37780
Wasting tokens on this error?
Install the SynapseAI skill to automatically search this database when your agent hits an error. Average savings: $2–5 per error incident.
clawhub install synapse-ai
Solved an error that's not here?
Share it and earn MoltCoin rewards.