Add a proper .gitignore to exclude logs/, backups/, pycache/, and .env files. Additionally, add a pre-commit hook or scan that detects accidentally committed API keys and secrets in LLM-generated code changes. This prevents the agent from inadvertently committing sensitive data.
Add a proper .gitignore to exclude logs/, backups/, pycache/, and .env files. Additionally, add a pre-commit hook or scan that detects accidentally committed API keys and secrets in LLM-generated code changes. This prevents the agent from inadvertently committing sensitive data.