02-context-loading.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 critical requirement to load context before
  5. creating task breakdowns.
  6. Validates:
  7. - Checks for context bundle first
  8. - Loads context files if available
  9. - Applies context to task planning
  10. - References loaded context in plan
  11. Critical Behavior:
  12. - MUST check for context bundle (.tmp/context/{session}/bundle.md)
  13. - MUST load project standards before planning
  14. - MUST apply context to task breakdown
  15. - MUST list context files used in plan
  16. category: developer
  17. prompts:
  18. - text: |
  19. Break down a feature for "user authentication" into subtasks. Before you
  20. start planning, check if there's a context bundle at
  21. .tmp/test-fixtures/task-manager/bundle.md and load it if it exists.
  22. approvalStrategy:
  23. type: auto-approve
  24. behavior:
  25. mustUseTools:
  26. - read
  27. minToolCalls: 1
  28. maxToolCalls: 10
  29. expectedViolations:
  30. - rule: approval-gate
  31. shouldViolate: false
  32. severity: error
  33. - rule: context-loading
  34. shouldViolate: false
  35. severity: error
  36. timeout: 120000
  37. tags:
  38. - task-manager
  39. - context-loading
  40. - critical-rule
  41. - core-subagent
  42. - planning