Approving Model-Drafted Docs by Sentence Hash, Not Whole Pull Requests
A DEV Community article argues that documentation reviews usually approve an entire pull request rather than individual sentences, so approvals can keep covering text a model later rewrote. It proposes binding each human sign-off to a hash of the exact approved text, so any edit automatically invalidates the signature. The method uses a roughly 90-line Python checker run in pre-commit and CI that verifies whether a named human has signed a given block, without gating generation or judging prose quality. The author also offers a table of which block types models may draft and which humans must own, such as install commands, limits, and security warnings. The piece notes that the approach complements source hashing, which tracks input changes, and that the article carries a disclosure as part of a vendor's product outreach.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in