fix(dev): prevent empty documentation quality report issues#38099
Closed
Copilot wants to merge 3 commits into
Closed
fix(dev): prevent empty documentation quality report issues#38099Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
…event empty reports - Set strict: true to enforce structured safe-output tool calls - Add toolsets: [default] under tools.github for issue search capability - Rewrite prompt with numbered steps and required issue body template - Make explicit: call create_issue with full body, or noop if nothing found - Recompile dev.lock.yml to pick up the changes Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update documentation quality report for 2026-06-09
fix(dev): prevent empty documentation quality report issues
Jun 9, 2026
Collaborator
|
@copilot always enforce safeoutputs structure, regardless of strict state. |
… of strict mode Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done in 6e74b8b. Moved |
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.
The
devworkflow was creating issues with an empty body (bodyLength=1). The agent calledcreate_issuewithout populating the report content, producing useless daily reports.Three root causes:
strict: false— no enforcement on safe-output tool call structure, letting the agent emit an empty bodytoolsets— notoolsets: [default]undertools.github, likely limitingsearch_issuesavailabilityChanges
dev.md:strict: false→strict: truedev.md: addedtoolsets: [default]undertools.githubdev.md: replaced vague 4-point requirements list with explicit 3-step process and a required Markdown body template (Summary → Issues Found table → Documentation Gaps → Could-Be-Closed → Recommendations); agent must either fill all sections or callnoopdev.lock.yml: recompiledcompiler_validators.go: movedvalidateSafeOutputsStepsShellExpansioninto the always-error validation table, removing the strict-mode conditional — dangerous shell expansion patterns insafe-outputs.stepsscripts are now always a compilation error regardless of thestrictfrontmatter flag