Lukas May
7695604da2
feat: Add threaded review comments + agent comment responses
Introduces GitHub-style threaded comments via parentCommentId self-reference.
Users and agents can reply within comment threads, and review agents receive
comment IDs so they can post targeted responses via comment-responses.json.
- Migration 0032: parentCommentId column + index on review_comments
- Repository: createReply() copies parent context, default author 'you' → 'user'
- tRPC: replyToReviewComment procedure, requestPhaseChanges passes threaded comments
- Orchestrator: formats [comment:ID] tags with full reply threads in task description
- Agent IO: readCommentResponses() reads .cw/output/comment-responses.json
- OutputHandler: processes agent comment responses (creates replies, resolves threads)
- Execute prompt: conditional <review_comments> block when task has [comment:] markers
- Frontend: CommentThread renders root+replies with agent-specific styling + reply form
- Sidebar/ReviewTab: root-only comment counts, reply mutation plumbing through DiffViewer chain
2026-03-06 10:21:22 +01:00
..
2026-03-05 11:45:09 +01:00
2026-03-05 20:58:44 +01:00
2026-03-03 14:25:43 +01:00
2026-03-05 16:58:12 +01:00
2026-03-05 21:29:38 +01:00
2026-03-04 12:07:00 +01:00
2026-03-03 13:29:39 +01:00
2026-03-03 11:22:53 +01:00
2026-03-05 20:41:49 +01:00
2026-03-05 17:02:17 +01:00
2026-03-06 09:41:28 +01:00
2026-03-03 11:22:53 +01:00
2026-03-03 11:22:53 +01:00
2026-03-05 21:30:22 +01:00
2026-03-06 10:21:22 +01:00
2026-03-05 15:39:15 +01:00
2026-03-05 15:39:15 +01:00
2026-03-05 17:02:17 +01:00
2026-03-03 11:22:53 +01:00
2026-03-05 21:35:14 +01:00