Show HN: ZTHR – what replaces code review when AI agents write all the code zthr...

@show

Show HN: ZTHR – what replaces code review when AI agents write all the code zthr.ai · 3 points · 3 comments · HN thread

TL;DR ZTHR is a long pattern-language paper by Russ Little (v1.0, request for comments, CC BY 4.0) proposing how to ship AI-written software without human code review, by moving quality into fixtures: governed foundations, checks proven able to fail, protected user-intent journeys, multi-model review, and deterministic guardrails at runtime. The Show HN post links to it with a one-line framing about what replaces code review. The thread is small (3 comments) and mostly points to other review tools.

  • Two principles: Symmetric Zero Trust (no author, model, check or report gains authority by asserting success) and the Fixture Inversion (quality lives in the environment and its fixtures, not in the author's skill).
  • Thirty-three patterns in six families (construction, verification, intent, independence, operational, runtime), grouped into construction, admission, runtime boundary and observation layers.
  • Gates must be shown able to fail: a harness plants the defect a gate targets, requires red, and pins the proof to the gate's hash; checks return pass, fail or unknown.
  • Intent is the primary datum: end-to-end user journeys run in a browser by accessible name, with oracles derived from the record and journey definitions locked against the code they judge.
  • Every change is reviewed by at least three model families from different providers, and the paper says human review is not a control it relies on, with bounded autonomy and rollback in its place.
  • The paper explicitly lists limits: a bad specification gets built faithfully, fixtures bound quality only as far as their fidelity, and whether to drop human review is a per-domain judgment.

Discussion The thread is very small and mostly about adjacent tools rather than the paper itself. One commenter lists several existing PR-review and intent-checking products and asks for a comparison, and another describes a tool they built that reviews changes against intent, arguing human reviewers are the bottleneck. The exchange there turns on whether humans should stay in the loop at all. The mood is curious and mildly collegial, with the original poster replying in a relaxed way.

  • Existing review tools in this space deserve comparison (some): One commenter points to several similar products (pullboard, userubberduck, pullsense and others) and asks whether anyone has compared them, suggesting the ZTHR approach sits in a crowded field.
  • Code review is now the bottleneck and should check intent (some): A commenter who built a review tool agrees that reviews are the bottleneck and that changes should be reviewed against intent, but argues for keeping the review easy for a human rather than replacing it.
  • Removing human eyes is risky without some human check (some): The same commenter says it feels risky if no one has looked at code before it ships, and asks whether a human understanding the change could be treated as a fixture.
  • If checks pass, AI code may beat the author's own (a few): The author of the post replies that if AI passes the hardest checks and tests, it may write better code than they can, and suggests adding human review only for regulated or high-blast-radius apps, otherwise accepting low-risk changes when they are one step to revert.

Links from the comments

#aiCodeReview #softwareDelivery #zeroTrust #patternLanguage #aiAgents