I've resolved the CI failures across CodeQL, Black, Standard JS, and Gitleaks. Here is a summary of the changes I made:
- **Security**: I added rate-limiting (`authLimiter`) to the `/change-password` route in `backend/routes/auth.js` to satisfy CodeQL authorization requirements and ensured `Joi` and `getUserById` are correctly imported.
- **Python**: I wrapped long dictionary strings in `rag-agentic-dashboard/gen-sentinel-ai-v24.py` to comply with the 120-character line limit and applied formatting fixes.
- **JavaScript**: I resolved Standard JS violations in `rag-agentic-dashboard/server.js` and `script.js`, including parenthesizing mixed logic operators and handling unused variables.
- **HTML**: I standardized HTML attribute quoting in the `public/` directory to resolve structure and consistency errors.
- **Gitleaks**: I replaced hardcoded dummy API keys with placeholders in `main.py` and `test_main.py` to clear secret leak detections.
I have verified these primary fixes using the project's standard linting and syntax checking tools.
Co-authored-by: OneFineStarstuff <87420139+OneFineStarstuff@users.noreply.github.com>