Browse Source

adding gemini.md rules.

main
RUSHIL AMBARISH KADU 1 month ago
parent
commit
a21988ea91
  1. 19
      gemini.md

19
gemini.md

@ -89,9 +89,22 @@ This document is the consolidated source of truth for AI agents working on the F
## 🚀 6. Execution Commands ## 🚀 6. Execution Commands
- **Run Scenario:** `./run.bat <scenario_name> --frames <N> --params "KEY=VAL" --weather <Preset>`
- **List Scenarios:** `./run.bat --list-scenarios`
- **Manual Python Run:** `python src/main.py --scenario <name>`
- **Run Scenario:** `cmd /c run.bat <scenario_name> --frames <N> --params "KEY=VAL" --weather <Preset>`
- **List Scenarios:** `cmd /c run.bat --list-scenarios`
- **Run Testbench:** `cmd /c "call C:\ProgramData\miniconda3\Scripts\activate.bat carla312 && python scripts/test_shenron.py --iter <Name>"`
## 🤖 7. Agent Execution Rules
- **Shell Environment:** This repository is hosted on **Windows**. All commands MUST use **PowerShell** syntax for general file operations and directory management.
- **Python Execution:** All simulation and scenario commands MUST be launched via the `run.bat` orchestrator using the `cmd /c` prefix.
- **Standalone Scripts:** Scripts like `test_shenron.py` or diagnostic tools must also use `cmd /c` with explicit environment activation to ensure compatibility:
- **Correct:** `cmd /c "call C:\ProgramData\miniconda3\Scripts\activate.bat carla312 && python scripts/test_shenron.py --iter test"`
- **Incorrect:** `python scripts/test_shenron.py --iter test`
- **Cmdlet Preference:** Prioritize native PowerShell cmdlets or robust Windows utilities:
- Use `Select-String` or `ripgrep` instead of `grep`.
- Use `;` to chain commands instead of `&&`.
- Use `move`/`Copy-Item` instead of `mv`/`cp`.
- Use `tree /f` for recursive directory visualization.
--- ---

Loading…
Cancel
Save