Skip to content

Move two step workflow to analyze.toml - #45

Merged
QuinnDACollins merged 6 commits into
mainfrom
workflow_in_analyze
Oct 8, 2025
Merged

Move two step workflow to analyze.toml#45
QuinnDACollins merged 6 commits into
mainfrom
workflow_in_analyze

Conversation

@QuinnDACollins

@QuinnDACollins QuinnDACollins commented Sep 30, 2025

Copy link
Copy Markdown
Contributor

moves the two step flow to the analyze toml in order to reduce accidental triggers of our workflow

@heltonduarte heltonduarte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wait for Rishabh's review.

Comment thread commands/security/analyze.toml
@QuinnDACollins

Copy link
Copy Markdown
Contributor Author

Tested against ~10 repos from our dataset.

Directives such as 'Any vulnerabilities?', 'Are there security issues in my code?' will lead to a generic scan using gemini-cli read-file and search-text tools, with a recommendation to use security:analyze for a fuller analysis.
image

Comment thread GEMINI.md Outdated
* To gain context for any task, you are encouraged to read the surrounding code in relevant files (e.g., utility functions, parent components) as required.
* You **MUST** only use read-only tools like `ls -R`, `grep`, and `read-file` for the security analysis.
* During the security analysis, you **MUST NOT** write, modify, or delete any files unless explicitly instructed by the Core Operational Loop (i.e., `SECURITY_ANALYSIS_TODO.md`, `DRAFT_SECURITY_REPORT.md`).
* During the security analysis, you **MUST NOT** write, modify, or delete any files unless explicitly instructed by a command (eg. `security:analyze`)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: /security:analyze?

@shrishabh

Copy link
Copy Markdown
Contributor

I particularly like the suggestion to use /security:analyze at the end.
Do you think we can intercept the vanilla scan and suggest this before so that they may be able to use the extension? Should we try to do that? @heltonduarte @capachino ?

@QuinnDACollins

Copy link
Copy Markdown
Contributor Author

Moved the suggestion to before the analysis happens (premable). Please review the gemini md and see the changes- had to add a bit to get it working across several repos with proper suggestions.
Screenshot 2025-10-08 at 12 15 30 PM

@heltonduarte @shrishabh

@shrishabh

Copy link
Copy Markdown
Contributor

Looks good to me!

@QuinnDACollins
QuinnDACollins merged commit d663b69 into main Oct 8, 2025
2 checks passed
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.

Extension triggers a security review within Gemini CLI for non-related questions

5 participants