fix: pass preSeededCommentId in llmist backend + strengthen checklist prompt#474
Merged
zbigniewsobiecki merged 1 commit intodevfrom Feb 22, 2026
Merged
Conversation
… prompt The llmist backend path in executeAgent() was missing the preSeededCommentId parameter when creating ProgressMonitor, causing the ack comment posted by the router to be orphaned while ProgressMonitor created a new comment. The claude-code backend path already passed this correctly. Also strengthens the respond-to-planning-comment prompt with explicit instructions for checklist management (add/rename/delete) so agents use DeleteChecklistItem when narrowing scope instead of creating duplicate checklists. Additionally carries ackCommentId through the in-worker webhook queue so queued webhooks don't lose their ack comment reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
executeAgent()was missing thepreSeededCommentIdparameter when creating ProgressMonitor, causing the router's ack comment to be orphaned while ProgressMonitor created a duplicate. Now passesinput.ackCommentIdthrough, matching the claude-code backend path.respond-to-planning-commentprompt so agents useDeleteChecklistItemwhen narrowing scope instead of creating duplicate checklists or leaving stale items.QueuedWebhookandenqueueWebhook()with anackCommentIdfield, and updated all three webhook handlers (JIRA, Trello, GitHub) plus the sharedprocessNextQueuedWebhookhelper to forward it. This prevents queued webhooks from losing their ack comment reference.Test plan
ackCommentIdpreservation inwebhookQueue.test.tsprocessNextQueuedWebhookackCommentId forwarding inwebhook-queue.test.tsnpm run typecheck— cleannpm run lint— clean (only pre-existing cognitive complexity warnings)npm test— all 2528 tests pass🤖 Generated with Claude Code