Context
Moved from fullsend-ai/fullsend#5516 / PR fullsend-ai/fullsend#5517 (closed — wrong repo). The goal is a trended trust metric for fullsend-ai's own agents, which is what this repo already does; a one-off script in the fullsend repo has no persistence, is not shipped to action users, and only fullsend developers can run it.
scripts/collect-rework.sh currently measures bot-on-bot rework and explicitly scopes out human rework. This fills that gap.
Proposal
Add a daily collector (e.g. scripts/collect-human-rework.sh on lib.sh, wired into .github/workflows/collect.yml) that, for each PR merged by a fullsend bot on fullsend + agents:
- Records the files touched by the PR
- Checks for human (non-bot,
author.type == "User", non-null author) commits within N days (default 7) touching the same files
- Persists per-day × repo counts (
bot_prs_merged, bot_prs_reworked, rework_rate) plus a per-PR details CSV, and surfaces it on the dashboard
The reference implementation with tests is in fullsend-ai/fullsend#5517 (scripts/rework-rate.sh) — logic is reviewed and solid; it needs porting onto lib.sh + CSV persistence rather than recomputing from scratch each run. Known limitations (repo-wide file-overlap heuristic, pre-merge fix branches, PAT machine users counted as human) are documented in that PR's description.
Related
Context
Moved from fullsend-ai/fullsend#5516 / PR fullsend-ai/fullsend#5517 (closed — wrong repo). The goal is a trended trust metric for fullsend-ai's own agents, which is what this repo already does; a one-off script in the fullsend repo has no persistence, is not shipped to action users, and only fullsend developers can run it.
scripts/collect-rework.shcurrently measures bot-on-bot rework and explicitly scopes out human rework. This fills that gap.Proposal
Add a daily collector (e.g.
scripts/collect-human-rework.shonlib.sh, wired into.github/workflows/collect.yml) that, for each PR merged by a fullsend bot onfullsend+agents:author.type == "User", non-null author) commits within N days (default 7) touching the same filesbot_prs_merged,bot_prs_reworked,rework_rate) plus a per-PR details CSV, and surfaces it on the dashboardThe reference implementation with tests is in fullsend-ai/fullsend#5517 (
scripts/rework-rate.sh) — logic is reviewed and solid; it needs porting ontolib.sh+ CSV persistence rather than recomputing from scratch each run. Known limitations (repo-wide file-overlap heuristic, pre-merge fix branches, PAT machine users counted as human) are documented in that PR's description.Related