Unclear It is not confirmed what level of access this check grants an app that passes it.
What
Claude Code has a new environment variable, CLAUDE_CODE_LOOKING_GLASS. An environment variable is a setting given to a program when it starts.
- It is read first, and when it is not set, a server switch named
bot_protected_tengu_looking_glassis used instead. - It is used in one place: a check of app bundle ids, the identifiers Mac apps carry, inside the check that decides whether an app is allowed. This is part of computer use, where Claude operates apps on your computer.
- That check always accepts ids under
com.anthropic.claudethat match.artifact-app.. When this value is on, it accepts any id that starts withcom.anthropic.claude. - The name is also added to two lists of
CLAUDE_CODE_*variables, next toCLAUDE_CODE_QUIET_GIRAFFEandCLAUDE_CODE_DEEP_TWILIGHT. What those lists do was not read.
Nothing has been read about the gate tengu_looking_glass, so it is unread, not off.
Why
When this value is on, more of Claude's own apps, any whose id starts with com.anthropic.claude, pass the app check used by computer use. It can be set either on your machine or from the server.
Names in the bundleCLAUDE_CODE_LOOKING_GLASS
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not confirmed what level of access this check grants an app that passes it.