Question · Vibe coding with Claude Code course · Module 9: Discord clone

Quiz: The deny rule in auto mode

The rule Read(./.env.*) is in .claude/settings.json. What happens when Claude in auto mode tries to read .env.local with the Read tool?

Answer options

  • The auto mode classifier decides on its own whether to allow it
  • Claude reads the file, because deny rules are skipped in auto mode
  • Claude asks you for consent, as in Manual mode
  • The read is rejected, because deny rules work in every mode

You can check the correct answer by solving this task in the CodeWorlds game.