Dev/ai summary dev#57
Draft
schmidtnz wants to merge 16 commits into
Draft
Conversation
Trying to get this project file up to date before making other changes. Removed the last layer reference to nz_topo50*. Added the all of government logo. Added the correct information for the text colour on carto text - process_blue.
removed the gridded map service that was causing an issue
removed relief service
🗺️ QGIS project change summary
|
schmidtnz
added a commit
that referenced
this pull request
Jul 9, 2026
This pull request improves the QGIS project diff summarization workflow by enhancing how diffs are processed, summarized, and presented. The changes focus on making the AI-generated summaries more accurate, concise, and robust against irrelevant "churn" (noise from QGIS/Qt build differences), while also refining the workflow's reliability and maintainability. **Workflow and AI summary improvements:** - The workflow now inlines the diff directly into the Copilot prompt (instead of reading from a file), with a character cap to avoid argument length errors, and clearly displays the diff size in the logs. - The AI prompt is now sourced from a dedicated markdown file (`qgs-review-prompt.md`), which provides more precise and maintainable instructions for generating summaries. [[1]](diffhunk://#diff-20eeda2d3ff0bcbaba1993497a03a3a9bc6d2c75e889c49eb34b11c6afee95ccR62-R96) [[2]](diffhunk://#diff-061ce3dabd46e96c4a36f407662160cd8c3aa58b87d1917be3d56a2ef3530190R1-R39) - The Copilot model is updated from `gpt-5-mini` to `gpt-5.4` for improved summary quality. **Churn reduction and diff simplification:** - The diff simplification script (`qgs-diff.py`) now strips trailing QFont descriptor fields (`,,0,0`) that are added by newer QGIS/Qt builds, further reducing irrelevant churn in diffs. [[1]](diffhunk://#diff-84448358df0fb25639c99f298878713e27ec4fd711005c24ca52f5f5c054cfe0L26-R28) [[2]](diffhunk://#diff-84448358df0fb25639c99f298878713e27ec4fd711005c24ca52f5f5c054cfe0R85-R93) **Prompt and summary formatting enhancements:** - The new markdown prompt (`scripts/assets/qgs-review-prompt.md`) gives detailed, structured instructions for distinguishing real changes from build churn, formatting summaries, and collapsing repetitive noise into concise notes. These changes collectively make the QGIS project diff summaries more accurate, scannable, and focused on substantive changes, while minimizing false positives from build artifacts. ### Validation Test branch / comment here: #57 (comment)
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.
Motivation
Modifications
Verification