aws / aws/aws-toolkit-vscode

Amazon Q alters business logic when explicitly telling it not to do so while request xml doc on ASP.NET application

Open
#7,425 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem
When running a prompt that explicitly states not to make change to logic and to focus only on commenting code, Q still will change logic.

## Steps to reproduce the issue

## Expected behavior
logic should not have changed with this prompt

[DotNet - Add Documentation Comments.md](https://github.com/user-attachments/files/20595594/DotNet.-.Add.Documentation.Comments.md)

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: Windows 10 Enterprise, 19045.5854
- Visual Studio Code version: 1.100.3
- AWS Toolkit version: 3.63.0
- Amazon Q version: 1.70.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in VS Code with the attached DotNet - Add Documentation Comments.md prompt against Global.asax.cs. Compare the generated file with the original, especially the favicon route string; done means documentation comments are added while the existing business logic and string literals remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
ai, developer-experience
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.