Files
Jiayuan Zhang de8f73e262 fix(usage): scope squad filter to squad-member agents
Squad usage was attributing any task on a squad-assigned issue to that
squad, regardless of which agent ran it. Per product definition, the
squad filter is "tasks on issues assigned to the squad AND run by an
agent that belongs to the squad (member or leader)". Add the membership
predicate to all four dashboard queries (daily/by-agent tokens,
daily/per-agent run-time) and lock the exclusion down with a new
fixture: an outsider agent runs against the squad-assigned issue and
must not appear in the squad-filtered totals or rows.

Co-authored-by: multica-agent <github@multica.ai>
2026-05-19 10:38:47 +08:00
..