Urgent.News

What's breaking now, across thousands of outlets.

Tech

A step-by-step guide for how to kill the line-by-line code review

Agents verify; people decide. Most teams running AI code review today have it the other way around. They point a The post A step-by-step guide for how to kill the line-by-line code review appeared first on The New Stack .

A step-by-step guide for how to kill the line-by-line code review

The article presents a step-by-step guide for implementing a more effective code review process by separating verification tasks from judgment. The key points are:

1. Verification should be handled by automated agents that check code against established rules and criteria, while judgment about the code's intent and appropriateness remains with human reviewers.

2. Two main layers of review are created:

- Acceptance criteria describe what the change should achieve.

- Invariants are the codified standards and rules that must always be true, regardless of the change.

3. Invariants define the fundamental rules of the engineering organization, while intent and acceptance criteria capture the specific purpose and expected behavior of the code change. Both need to be captured before the change is made.

4. The review process then builds a test plan based on the criteria and invariants, gathers evidence to support the verdict, and finally allows a human reviewer to make a decision on the change.

5. The key to success is that invariants are refreshed regularly after merges, ensuring that the team's rules remain up-to-date. Ownership, wording, and scope are important considerations when drafting invariants.

The goal is to create a review process that combines the efficiency of automated verification with the nuanced judgment of experienced human engineers, resulting in higher quality code while avoiding the limitations of relying solely on AI-generated reviews.

Written by urgent.news from The New Stack's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at thenewstack.io →

More in Tech

Intel's next budget laptop chip may have no performance cores at all

Intel's current entry-level N-series chips also skip performance cores, and Moon Lake would bring that approach to the company's newer tile-based design. If the leak holds, it would be the next generation of the N-series processors found in many budget machines. Intel has not confirmed the specs. Read Entire Article

Final release for the 7.2 stable series

Greg Kroah-Hartman has announced the release of the 7.2.15 kernel, with a handful of updates. Note, this is the LAST 7.2.y kernel release. After this one the 7.2.y kernel tree is end-of-life. Please move to 7.3.y at this time. And yes, you aren't imagining things, this one went "end-of-life" a bit sooner than normal.

More from Sunday 1 November →