nisse-dev: a settled reply posted top-level is no point to answer either
nisse-review's review of #169: a reply quoting a top-level point, or one Gitea refused on its line, arrives through list_comments, so answering it would start the thank-you loop again. Also records what the live Gitea showed: resolving is per comment, and resolving again is a 204. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
This commit is contained in:
1 parent
33d030590d
commit
0694b47c34
4 files changed
+24
-2
No files matched your search
@@ -1111,6 +1111,8 @@ class LoopAgent:
|
||||
loop = replace(loop, comments=comment.id)
|
||||
if comment.author == self._account:
|
||||
continue # its own replies
|
||||
if SETTLED_MARKER in comment.body:
|
||||
continue # a settled reply posted top-level: nothing to answer
|
||||
if comment.author not in self._gitea_operators:
|
||||
point = f"c{comment.id}"
|
||||
loop = self._peer_point(
|
||||
|
||||
Reference in new issue
Block a user