Reconcile logged vs git churn
churn_reconcileReconcile logged additions/deletions with actual git commits to detect drift in churn reporting per ticket.
Instructions
For Done tickets with tagged commits, compare the additions/deletions logged in the work log against the git-actual numstat of their commits. Git-actual comes from recorded commit events (FBMCPF-188) or, failing that, a live git log --grep + numstat cached by hash. Reports per-ticket loggedAdd/loggedDel vs gitAdd/gitDel with a drift ratio (worst first), plus an overall churnAccuracy also surfaced on get_health. Paginated (FBMCPB-42): returns the worst-drift page by default (limit/offset, mirroring list_tasks) so a big board stays inside the token budget — the totals/churnAccuracy rollup is always over ALL reconciled tickets. Pass driftThreshold to omit tickets whose drift ratio is below it, or full:true for every row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return every reconciled ticket (ignores limit/offset) — may be large. | |
| limit | No | Max tickets in the returned page (default 25, worst drift first). | |
| offset | No | Page offset into the worst-first list. | |
| project | Yes | ||
| driftThreshold | No | Only return tickets with driftRatio >= this (e.g. 0.2). Totals still cover all tickets. |