04-dependency-tracking.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. id: core-task-manager-dependency-tracking
  2. name: "Task Manager: Dependency Tracking - Map Task Dependencies"
  3. description: |
  4. Tests the task-manager's ability to identify and map task dependencies
  5. in JSON subtask files.
  6. Validates:
  7. - Identifies task dependencies
  8. - Maps dependency relationships in depends_on
  9. - Includes dependencies in JSON tasks
  10. Critical Behavior:
  11. - MUST identify which tasks depend on others
  12. - MUST map dependencies in depends_on arrays
  13. category: developer
  14. prompts:
  15. - text: |
  16. Break down the feature "api-integration" into JSON subtasks.
  17. Objective: Build a reusable API client with authentication and error handling.
  18. Deliverables:
  19. - src/api/client.ts
  20. - src/api/auth.ts
  21. - src/api/service.ts
  22. - src/api/errors.ts
  23. Tasks:
  24. 1. Design API client interface
  25. 2. Implement HTTP client
  26. 3. Add authentication layer (depends on HTTP client)
  27. 4. Create API service methods (depends on auth layer)
  28. 5. Add error handling (depends on API service)
  29. Use the write tool to create .tmp/tasks/api-integration/task.json and subtask_NN.json files.
  30. approvalStrategy:
  31. type: auto-approve
  32. behavior:
  33. mustUseTools:
  34. - read
  35. - bash
  36. - write
  37. requiresContext: true
  38. expectedContextFiles:
  39. - .opencode/context/core/task-management/navigation.md
  40. - .opencode/context/core/task-management/standards/task-schema.md
  41. - .opencode/context/core/task-management/guides/splitting-tasks.md
  42. - .opencode/context/core/task-management/guides/managing-tasks.md
  43. minToolCalls: 3
  44. maxToolCalls: 15
  45. expectedViolations:
  46. - rule: approval-gate
  47. shouldViolate: true
  48. severity: error
  49. description: Subagents do not request approvals
  50. timeout: 120000
  51. tags:
  52. - task-manager
  53. - dependencies
  54. - planning
  55. - core-subagent
  56. - read-only