feature(cli): add a command to generate a llm-ready report#116
Open
PierreCapel wants to merge 2 commits intosymfonycorp:mainfrom
Open
feature(cli): add a command to generate a llm-ready report#116PierreCapel wants to merge 2 commits intosymfonycorp:mainfrom
PierreCapel wants to merge 2 commits intosymfonycorp:mainfrom
Conversation
f220501 to
c2f1ca6
Compare
Contributor
just printing on the console is the best IMHO |
c2f1ca6 to
296683f
Compare
296683f to
c91603e
Compare
Author
|
@nicolas-grekas thanks, updated per your recommendations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces a new CLI command,
generate-llm-inputthat fetches the latest analysis for a specific project and generates a structured, context-rich Markdown prompt which is outputted in the console.This output can be directly fed into an LLM to receive actionable code fixes that adhere to Symfony best practices.
The current prompt states to provide different output based on who it is fed to: IDE integrated LLM with code access will provide patches whereas LLM chats will provide code example and explanations.
Security violations are excluded by default to prevent accidental leakage of vulnerability details to public AI models. (can be included with
--with-security-violationsflag, that would require user confirmation before proceeding).Added a
--show-ignored-violationsflag to include or not ignored violations, similar to the analysis command.