Evidence aggregation up the task parent treebacklog_item

task-systemorchestration
1 min read · Edit on Pyrite

When a child task accumulates evidence links, automatically aggregate them up to the parent task. This makes it possible to query a parent task and see all evidence from its subtree without manual collection.

Impacted Files

  • pyrite/services/task_service.py
  • pyrite/models/task.py (possibly _parent_rollup hook)
  • Acceptance Criteria

  • Parent tasks show aggregated evidence from all children
  • Aggregation happens automatically on child task update
  • Evidence deduplication (same entry not listed twice)