Files
kandev/docs/plans/agent-message-comments/task-03-chat-wiring.md
T
José Almeida 8f2fe7a8e6 feat(web): add agent message comments (#1835)
* feat(web): add agent message comments

* fix(web): harden agent message comments

* fix(web): address message comment review findings

* fix(web): allow comments on legacy agent messages

* fix(web): address latest message comment review

* fix(web): address follow-up message comment review

* fix(web): address remaining message comment review

* fix(web): keep failed mobile comments open

* fix(web): preserve selections over message comments
2026-07-21 13:32:19 +01:00

1.3 KiB

id, title, status, wave, depends_on, plan
id title status wave depends_on plan
agent-message-comments-03 Chat wiring and delivery complete 3 agent-message-comments-01, agent-message-comments-02 plan.md

Acceptance

  • Add persists pending context and exposes removable message-comment chips in Task Chat and Quick Chat composers.
  • Composer send includes and clears message comments only on success; failed sends preserve context. Existing passthrough review-comment behavior remains intact.
  • Run uses existing direct message and busy queue paths, removing the comment only after successful delivery.

Files

  • apps/web/lib/types/context.ts
  • apps/web/components/task/chat-context-items.ts
  • apps/web/components/task/chat/context-items/*
  • apps/web/components/task/chat/use-chat-panel-state.ts
  • apps/web/components/task/chat/chat-input-area.tsx
  • apps/web/hooks/use-message-handler.ts
  • apps/web/hooks/domains/comments/use-run-comment.ts
  • apps/web/components/task/passthrough-chat-composer.tsx
  • focused tests

Verification

  • focused composer/store/run tests
  • passthrough regression tests

Output

Wired Task Chat and Quick Chat context chips, composer inclusion/cleanup, direct and queued Run delivery, and passthrough preservation.

Output contract

Summarize Task Chat/Quick Chat/passthrough wiring, direct/queue behavior, tests, and risks.