Repository navigation
Move mechanical issue reporting out of AI - #9
Merged
Merged
Conversation
Prepare private repository context before investigation and derive issue destinations, template rendering and validation in deterministic code. Preserve legacy generations and publication claims, request required facts, and expose rendered drafts and layout limitations in Reported issues.
Redact complete candidate bodies against known secrets before applying retention limits, so truncation cannot leave a credential prefix in the private investigation snapshot. Keep catalog-supported labels when a selected template requires generic formatting. Cover both boundaries with focused regression assertions.
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.
Issue
Automatic bug reporting asks AI to repeat repository discovery, choose a destination and format the final issue body. Those mechanical steps make reports less consistent and consume investigation work that can be handled deterministically.
Fix
Capture private repository context before investigation, including pinned templates and guidance, label catalogs and bounded duplicate candidates. Keep evidence investigation, ownership explanations, template selection, duplicate assessment and narrative writing with AI. Derive the destination from the component and render and validate the completed draft in code.
Supported Markdown layouts and issue forms keep their headings and field order. Missing or unsupported layouts use a standard report with a limitation note. Missing required facts request information; unsupported choices, invented attestations and contradictory findings are rejected. Reported issues exposes the rendered draft and fallback notice through its existing evidence and recovery controls.
Retain the six MCP inputs and existing response fields. Pin the new output contract per investigation, preserve legacy workflows and drafts, and retain publication claims so uncertain creation is never repeated. Reconcile the reporting-flow and UI specifications with the implementation.
Decisions