02-context-loading.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. id: core-task-manager-context-loading
  2. name: "Task Manager: Context Loading - Load Context Before Planning"
  3. description: |
  4. Tests the task-manager's requirement to load task-management context
  5. before creating JSON task files.
  6. Validates:
  7. - Loads task-management context files
  8. - Applies context to task planning
  9. - Proceeds to JSON task creation when details are sufficient
  10. Critical Behavior:
  11. - MUST load navigation + core task-management guides
  12. - MUST load task schema before planning
  13. category: developer
  14. prompts:
  15. - text: |
  16. Break down the feature "user-authentication" into JSON subtasks.
  17. Objective: Allow users to register, log in, and reset passwords.
  18. Deliverables:
  19. - auth service module
  20. - user registration endpoint
  21. - login endpoint
  22. - password reset flow
  23. Constraints:
  24. - Use existing auth patterns
  25. - Include acceptance criteria per subtask
  26. Use the write tool to create .tmp/tasks/user-authentication/task.json and subtask_NN.json files.
  27. approvalStrategy:
  28. type: auto-approve
  29. behavior:
  30. mustUseTools:
  31. - read
  32. - bash
  33. - write
  34. requiresContext: true
  35. expectedContextFiles:
  36. - .opencode/context/core/task-management/navigation.md
  37. - .opencode/context/core/task-management/standards/task-schema.md
  38. - .opencode/context/core/task-management/guides/splitting-tasks.md
  39. - .opencode/context/core/task-management/guides/managing-tasks.md
  40. minToolCalls: 3
  41. maxToolCalls: 15
  42. expectedViolations:
  43. - rule: approval-gate
  44. shouldViolate: true
  45. severity: error
  46. description: Subagents do not request approvals
  47. timeout: 120000
  48. tags:
  49. - task-manager
  50. - context-loading
  51. - critical-rule
  52. - core-subagent
  53. - planning