feat(prompt): include req_changed diagnostics in --prompt output#6
Closed
feat(prompt): include req_changed diagnostics in --prompt output#6
Conversation
The TMPL_SHIFTED_SPAN template used {old_start}, {old_end}, {new_start},
{new_end} but the code produces old_span and new_span as arrays.
Fix the template to use the correct variable names.
Signed-off-by: WANG Xuerui <git@xen0n.name>
The --prompt mode now includes req_changed diagnostics, which fire when a related requirement's text has changed. This completes the coverage of all actionable diagnostic types in prompt mode. - Add TMPL_REQ_CHANGED template with instructions to run liyi approve - Handle DiagnosticKind::ReqChanged in build_prompt_output - Add test fixture verification for req_changed prompt group Signed-off-by: WANG Xuerui <git@xen0n.name>
Update the design document to reflect that ReqChanged diagnostics are now included in --prompt output, bringing the total to seven diagnostic types. Signed-off-by: WANG Xuerui <git@xen0n.name>
Add the req_changed diagnostic type to the prompt output schema, including the enum value and the reqChangedItem definition for validation. Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: WANG Xuerui <git@xen0n.name>
2041d71 to
f9cec6c
Compare
Contributor
Author
|
Failed instruction following, not even AIGC trailers. Sigh. |
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.
Summary
req_changedgroups to--promptoutputshifted_spantemplate to match emitted item fieldsTesting