8f2fe7a8e6
* 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
1.3 KiB
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.tsapps/web/components/task/chat-context-items.tsapps/web/components/task/chat/context-items/*apps/web/components/task/chat/use-chat-panel-state.tsapps/web/components/task/chat/chat-input-area.tsxapps/web/hooks/use-message-handler.tsapps/web/hooks/domains/comments/use-run-comment.tsapps/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.