Skip to content

F3: Work products / deliverables as first-class objects#22

Merged
obaid merged 2 commits intomainfrom
feature/work-products
Apr 9, 2026
Merged

F3: Work products / deliverables as first-class objects#22
obaid merged 2 commits intomainfrom
feature/work-products

Conversation

@obaid
Copy link
Copy Markdown
Contributor

@obaid obaid commented Apr 9, 2026

Summary

  • New task_work_products table tracking files/artifacts per task
  • Agents declare deliverables via WORK_PRODUCT: title | file_path | summary
  • provisiond parses WORK_PRODUCT lines and submits with result
  • DaemonController creates TaskWorkProduct records on result report
  • TaskWorkProducts React component with type badges, summaries, download links
  • Download controller proxies files from agent server via SSH

Test plan

  • Agent completes task with WORK_PRODUCT line → verify work product appears on task page
  • Click download → verify file streams from agent server
  • Verify work products show type badge and summary
  • Run migration on prod

obaid added 2 commits April 8, 2026 17:03
Track files and artifacts produced by agents as first-class objects linked to
tasks. Agents declare work products using WORK_PRODUCT: title | file_path |
summary in their response, which provisiond parses and reports to the API.

- Migration: task_work_products table with ULID primary key
- Model: TaskWorkProduct with task/agent relationships
- Controller: TaskWorkProductController with SSH-based file download
- DaemonController: creates TaskWorkProduct records from result payload
- ReportResultRequest: validation rules for work_products array
- GovernanceTaskController: eager loads workProducts in show()
- Route: GET company/tasks/{task}/work-products/{taskWorkProduct}/download
- Frontend: TaskWorkProducts component with download/link actions
- Types: TaskWorkProduct type and work_products on GovernanceTask
- provisiond: WORK_PRODUCT prefix parsing, prompt instruction, result mapping
Cover daemon API work product creation, attribute verification,
Inertia page prop loading, graceful absence, validation, and
agent association.
@obaid obaid merged commit 9fd9384 into main Apr 9, 2026
1 of 2 checks passed
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