Skip to content

AX-1579 - Add shell-mismatch troubleshooting note for Agent Guard#38

Closed
MatanEden1 wants to merge 1 commit into
mainfrom
AX-1579-add-env-vars-troubleshooting
Closed

AX-1579 - Add shell-mismatch troubleshooting note for Agent Guard#38
MatanEden1 wants to merge 1 commit into
mainfrom
AX-1579-add-env-vars-troubleshooting

Conversation

@MatanEden1

Copy link
Copy Markdown
Collaborator

What

Adds a one-line troubleshooting note to README.md: if Agent Guard isn't
activating, make sure environment variables are defined in the same shell
your IDE launches with.

Why

Confirmed on a real setup: env vars were correctly exported to ~/.zshrc,
but Cursor launches hooks/agent commands under bash by default on that
machine, so neither the sessionStart hook nor the agent's shell commands
ever saw them — despite the vars working fine in the user's own terminal.
This is a documentation-only fix pointing users at that mismatch rather
than a code change.

Test plan

  • Rendered the README section locally to confirm formatting

Env vars exported to one shell's rc file can be invisible to the shell
Cursor actually launches with, silently preventing Agent Guard from
activating. Point users at checking that mismatch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@MatanEden1

Copy link
Copy Markdown
Collaborator Author

will not be implemented

@MatanEden1 MatanEden1 closed this Jul 9, 2026
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.

1 participant