05-file-creation.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. id: core-task-manager-file-creation
  2. name: "Task Manager: File Creation - Create Task Files"
  3. description: |
  4. Tests the task-manager's ability to create the task directory structure
  5. and individual task files.
  6. Validates:
  7. - Creates directory: .tmp/test-fixtures/task-manager/subtasks/{feature}/
  8. - Creates objective.md (feature index)
  9. - Creates task files: {seq}-{task-description}.md
  10. - Uses correct templates
  11. - Includes all required sections
  12. - Summarizes what was created
  13. Critical Behavior:
  14. - MUST request approval before creating files
  15. - MUST create proper directory structure
  16. - MUST use correct file naming
  17. - MUST include all template sections
  18. category: developer
  19. prompts:
  20. - text: |
  21. Create subtask files for a simple feature "user-profile" in
  22. .tmp/test-fixtures/task-manager/subtasks/user-profile/ with these tasks:
  23. 1. Create profile data model
  24. 2. Build profile UI component
  25. 3. Add profile update API
  26. Create the full task structure with objective.md and individual task files.
  27. approvalStrategy:
  28. type: auto-approve
  29. behavior:
  30. mustUseTools:
  31. - write
  32. minToolCalls: 2
  33. maxToolCalls: 15
  34. expectedViolations:
  35. - rule: approval-gate
  36. shouldViolate: false
  37. severity: error
  38. timeout: 120000
  39. tags:
  40. - task-manager
  41. - file-creation
  42. - write
  43. - core-subagent
  44. - approval-required