Task Breakdown: Creating a Work
Feature ID: creating-a-work
Status: Done (Retrospective)
Last updated: 2026-05-01
Phase 1 — Service / API
- T1.
WorkGenerationService.createWork(method, dto, user)handling all five flavours. - T2. Slug uniqueness check +
[a-z0-9-]validation. - T3. Provider cascade resolver.
- T4. Three-repo provisioning via
GitFacadeService. - T5. Trigger.dev dispatch for AI/Awesome generations.
Phase 2 — Plugin form-schema integration
- T6.
form-schema-providercapability used by pipelines. - T7. Server endpoint to fetch the form schema for a given pipeline id.
Phase 3 — Web UI
- T8. New Work page with method picker.
- T9. AI Creation form (name, prompt, advanced settings).
- T10. Manual form (name, slug, description, owner).
- T11. Import wizard (URL → analyze → configure → confirm).
- T12. Dynamic plugin form-fields rendering.
Phase 4 — CLI
- T13.
ever-works work createcommand.
Phase 5 — Tests
- T14. Unit tests on the resolver cascade.
- T15. e2e tests for each creation flavour.
- T16. Playwright spec covering the wizard.
Phase 6 — Docs
- T17. User-facing doc
docs/features/creating-a-work.md. - T18. Cross-links to import + plugin system.
- T19. Retrospective spec/plan/tasks.
Definition of Done
- All tasks shipped, tests pass, docs present, constitution gates verified.