Task Breakdown: Collections
Feature ID: collections
Status: Done (Retrospective)
Last updated: 2026-05-01
Phase 1 — Service
- T1. Add
Collectionshape to taxonomy types in@ever-works/contracts. - T2. Extend
WorkTaxonomyServicewithgetCollections / createCollection / updateCollection / deleteCollection. - T3. Slug generation + duplicate-name guard.
- T4. Delete cleanup: clear
collectionfield on all referencing items.
Phase 2 — Pipeline integration
- T5.
generate_collectionstoggle on Standard Pipeline plugin settings. - T6. Categorization step assigns collections when toggle is on.
Phase 3 — API
- T7. Controller endpoints in
apps/api/src/works/. - T8. Include collections in the
categories-tagslist endpoint. - T9. e2e tests covering CRUD + delete cascade.
Phase 4 — Web
- T10. Items → Collections tab UI.
- T11. Website-settings toggle for
collections_enabled.
Phase 5 — Storage
- T12. Reader/writer for
collections.ymlin the data repo. - T13. Items YAML includes optional
collectionfield.
Phase 6 — Docs
- T14. User-facing doc
docs/features/collections.md. - T15. Cross-link from
taxonomy-system.md. - T16. Retrospective spec/plan/tasks.
Definition of Done
- All tasks shipped, tests pass, docs present, constitution gates verified.