fix: posting UAT as a new comment, not update the original issue body (#43) - #46
Merged
Conversation
The UAT step appended its checklist to the issue body via a read-modify-write `gh issue edit --body`, rewriting the human's own report to carry bot output. It now posts the section as a new issue comment instead, leaving the body untouched. - UATTarget is now UATSurfaces + Comment. UATSurfaces is one `gh issue view --json body,comments` returning the body followed by every comment; the marker check scans all of them, so an issue that already got a body checklist from an older loope does not gain a duplicate comment. - IssueBody/AppendIssueBody are gone with their last caller. - maxIssueBodyChars and its skip are gone: maxUATChars (8000) already keeps a comment far clear of GitHub's 65536 limit, so the guard was dead. Judgment calls made headless: - isBotStatusComment is left alone, so the UAT comment is still fed back as issue content on a rework run. That matches the previous behavior (the body was always included) and keeps any boxes a human ticked in context. - The uat-section template is unchanged; the marker and heading read the same in a comment as they did in the body. Closes #43 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 tasks
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.
Closes #43
Automated by loope (bug flow). Spec and plan, if any, are committed in this branch under docs/.