Add provenance summary of why each recipe was generated#123
Merged
Tobias-Fischer merged 3 commits intoMay 30, 2026
Conversation
Track why each package is selected during recipe generation and print a summary after the recipes are written. For every generated recipe it now reports whether it was requested directly by the config and which already selected packages depend on it. - get_selected_packages records a _pkg_provenance map (requested_by_config and required_by) into vinca_conf - print_generation_summary lists generated recipes with their reasons and is called after write_recipe in main() - add tests covering provenance tracking and the summary output https://claude.ai/code/session_01AonWy19EgSJ17hQVFgDFbC
Use the rich library (already a project dependency, used in generate_azure and generate_gha) to print the why-was-this-generated summary as a table with Recipe / Requested by config / Depended on by columns. https://claude.ai/code/session_01AonWy19EgSJ17hQVFgDFbC
Contributor
|
Looks great, thanks! Can you please run the format so lint is happy too? |
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.
While working on this pr I struggled to understand why a recipe was generated. This PR will create a table from vinca that tracks why a recipe was generated.
It looks like this for the prev mentioned pr:
Do you like this?
The code was generated by Claude Code Web