Skip to main content

Task Breakdown: Work Changelog

Feature ID: work-changelog Status: Done (Retrospective) Last updated: 2026-05-01


Phase 1 — Schema

  • T1. Add activityType + changelog columns to work_generation_history (additive migration).

Phase 2 — Service

  • T2. ActivityLogService builders for each activity type.
  • T3. Pipeline finalisation hook records added/updated/removed items.
  • T4. Manual mutation hooks (item add/update/remove, taxonomy changes, comparison add/remove) record their entries.
  • T5. Community PR processor records community_pr_merged.

Phase 3 — API

  • T6. GET /api/works/:id/history with pagination + filter.
  • T7. Server-side filter-group mapping.

Phase 4 — Web

  • T8. History tab with pagination.
  • T9. Activity-type filter chips.
  • T10. Expandable entry details grouped by Added/Updated/Removed.

Phase 5 — Tests

  • T11. Per-activity-type service tests.
  • T12. RECREATE flow records removed items.
  • T13. Pagination + filter integration tests.

Phase 6 — Docs

  • T14. User-facing doc docs/features/work-changelog.md.
  • T15. UI behaviour doc docs/web-dashboard/history-ui.md.
  • T16. Retrospective spec/plan/tasks.

Definition of Done

  • All tasks shipped, tests pass, docs present, constitution gates verified.