'Us vs. Them': A Clojure Tool That Scores Every Line of a File From 1.0 (Human) to 0.0 (Agent) Using Only Git History
This Show HN (51 points) tackles a problem that gets worse as agents edit more of a repo: knowing which lines a human actually wrote, without watermarks or special markup. It derives line-level provenance purely from git commit authorship and diff analysis, assigning scores where 1.0 is fully human, 0.0 is fully agent-generated, and an intermediate value like 0.46 means human-originated but subsequently agent-modified. The algorithm deliberately models joining, splitting, and dilution of authorship to identify coherent blocks rather than isolated lines — the practical use case being protecting hand-written README sections or intentional code from agent overwrites via `--ours`/`--theirs` flags. 41 stars, 43 commits, written in Clojure and installed with bbin.
↳ Follow the thread