Skip to content

F2: Task comments / feedback thread#21

Merged
obaid merged 2 commits intomainfrom
feature/task-comments
Apr 9, 2026
Merged

F2: Task comments / feedback thread#21
obaid merged 2 commits intomainfrom
feature/task-comments

Conversation

@obaid
Copy link
Copy Markdown
Contributor

@obaid obaid commented Apr 9, 2026

Summary

  • TaskNoteController for user comments on tasks
  • Daemon API endpoint for agent progress notes
  • TaskCommentThread React component with User/Agent badges
  • Revision workflow: commenting on a done task moves it back to todo
  • provisiond posts "Starting task..." note on checkout

Test plan

  • Post comment on a task → verify it appears in thread
  • Post comment on done task → verify status moves to todo
  • Agent completes task → verify "Starting task..." note appears
  • Verify notes render with markdown

obaid added 2 commits April 8, 2026 16:50
- Create TaskNoteController with store() for user comments
- Add postNote() to DaemonController for agent-posted notes
- Add web route POST company/tasks/{task}/notes and daemon API route
- Eager load notes in GovernanceTaskController::show()
- Create TaskCommentThread React component with chronological display
- Reopen done tasks to todo when a user comments (revision flow)
- Add postNote() to provisiond API client and auto-post on task checkout
- Update GovernanceTask type with notes field
- Add 7 Pest tests covering user notes, cross-team rejection, done-to-todo
  transition, status preservation, body validation, Inertia props, and
  daemon agent notes via API
- Create TaskNoteFactory for test data generation
- Remove undefined workProducts eager load from GovernanceTaskController::show
@obaid obaid merged commit aef2fff into main Apr 9, 2026
0 of 2 checks passed
@obaid obaid deleted the feature/task-comments branch April 9, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant