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-06 10:21:22 +01:00
2026-03-05 12:05:08 +01:00
2026-03-05 20:59:23 +01:00
2026-03-03 11:22:53 +01:00
2026-03-03 11:22:53 +01:00
2026-03-06 10:21:22 +01:00
2026-03-05 21:30:22 +01:00
2026-03-06 10:21:22 +01:00
2026-03-06 09:41:28 +01:00
2026-03-06 10:21:22 +01:00
2026-03-05 22:05:28 +01:00
2026-03-03 11:22:53 +01:00
2026-03-03 11:22:53 +01:00
2026-03-05 22:38:00 +01:00
2026-03-03 11:22:53 +01:00
2026-03-05 11:45:09 +01:00
2026-03-05 21:30:22 +01:00
2026-03-06 10:21:22 +01:00
2026-03-06 10:21:22 +01:00
2026-03-05 12:05:08 +01:00
2026-03-05 14:26:22 +01:00