frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

One reviewer per layer: splitting code review by the way code is read

https://djordjepuzic.com/blog/posts/2026-10-27-one-reviewer-per-layer/
18•djordjep•2d ago

Comments

djordjep•2d ago
I wrote this after reading how the Claude Code team reviews code. Their layers are stages in time. I propose layering the reader instead: one agent per layer of code (form, local meaning, wiring, runtime, use), crossed with lenses like security, history and reversibility. Each cell gets its own narrow context. Curious where people think it breaks.
replygirl•45m ago
this is common practice, works pretty well in my experience both to improve quality and reduce cost, and afaik is a naive version of what tools like coderabbit and greptile do internally
manofmanysmiles•43m ago
I am playing with similar ideas.

I am inspired by this to make a harness that intentionally does sparse checkouts, so the agents only can see so much context.

I am also playing with the idea of layering additional data structures on top of the "code" that cover different aspects. For example, a tree structure of performance requirements that has durable symbolic references to entities in the code that are especially relevant. Another tree can cover aspects of security, another legal compliance, another UI guidelines.

visarga•35m ago
I think it is a good approach for this year, but it misses something important - how do you know the code still reflects your intention after steering for weeks and months, across many sessions? Messages flow in the session and zoom out of view, and across compactions/new sessions they get forgotten. To solve this, I log every user message in a chat log, and review it from time to time to distill the latest form of user intent.

Another kind of review not mentioned here or in Anthropic's article is the plan review. I generate the plan for some stretch of work, then have the plan (saved as a file) reviewed by one or more agents. This checks the plan against project constraints before executing it.

If we can solve testing then coding is almost fully automated. The only remaining problem was always trust, why should we trust that code? If you read it manually then it's like walking a motorcycle. If you don't, then you need some way to derisk it. There are many ideas flowing around about how to do this, the OP and Anthropic showed their takes. I think the approach is project specific though, no general method.

zsoltkacsandi•14m ago
What I do is that each of my requirements are captured in a yaml file, with a unique id, with the exact sentence I wrote. Each must be covered/proven at least with one test, a linter checks whether the requirement is covered (test exists annotated with that id), and a test inventory generated from it. Usually I browse and review the test inventory first to see I get what I asked. It does not guarantee that the agent implemented everything correctly, but if I ask another agent to review it and point out the gaps, it produces very good results.
zomtorg•26m ago
I wonder if we would see more engineering teams transitioning away from git to Sapling. We do need a refresh on how we review and ship code.

I'm aware that GH recently released stacked PRs, but it still seems like a long way to go both from usability and reliability perspective compared to what Meta and likely Anthropic have internally.

Patrick Stewart has died

https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html
1138•j4mie•1h ago•205 comments

We're releasing the weights of Mistral Large 4

https://mistral.ai/news/mistral-large-4-oss/
960•kuberwastaken•6h ago•270 comments

The importance of communities around software

https://lumi.codeberg.page/blog/software-community.html
53•amcclure•1h ago•40 comments

Alleged Chinese spy had 'close relationship' with Nvidia boss Jensen Huang

https://nypost.com/2026/10/29/business/alleged-chinese-spy-had-close-relationship-with-nvidia-bos...
135•mgh2•3h ago•73 comments

H.264 Is Magic (2016)

https://sidbala.com/h-264-is-magic/
229•ea016•5h ago•103 comments

After 28 years walking across the globe, he's almost home

https://www.nytimes.com/2026/10/29/world/europe/karl-bushby-walking-globe-uk.html
68•rafaelc•3h ago•38 comments

LLM Voice

https://martinfowler.com/bliki/LLM-Voice.html
254•ibobev•6h ago•137 comments

Claude Duet is the future of chatbot interaction

https://fig.blue/posts/duet-is-the-future/
38•nathanfig•3h ago•24 comments

DoorDash to acquire Instacart

https://about.doordash.com/en-us/news/doordash-to-acquire-instacart
343•WalterSobchak•8h ago•538 comments

Edit an SQLite database in your browser

https://editsqlite.com/
45•chmaynard•2d ago•19 comments

One reviewer per layer: splitting code review by the way code is read

https://djordjepuzic.com/blog/posts/2026-10-27-one-reviewer-per-layer/
19•djordjep•2d ago•7 comments

Chained PHP2Shell exploit roots 25 servers, including US Government servers

https://dreamgroup.com/blog/chained-php2shell-exploit-roots-25-servers
237•882542F3884314B•10h ago•104 comments

Grace Blackwell needs a new scheduler: 27% more usable GPUs from the same racks

https://skypilot.ai/blog/grace-blackwell-needs-a-new-scheduler
103•wondersky•5h ago•18 comments

Launch HN: Simantic (YC F26) – Firmware Simulation for AI Agents

35•shong0504•5h ago•12 comments

A tiny world model running games on a Raspberry Pi Pico 2 W

https://github.com/SheepSeb/tinyworldformer
10•airinei•25m ago•1 comments

IgE disruptor for food allergy with Claude-enabled antibody design [pdf]

https://divergencelabs.com/publications/ige-preprint.pdf
18•matco11•1h ago•6 comments

Show HN: A proof-of-concept formalization of the IRS federal tax forms

https://github.com/emmilco/us-tax-model
26•RGS1811•1d ago•3 comments

Zombie stats: Where the numbers AI quotes come from

https://trakkr.ai/trakkr-research/zombie-stats
117•mektrik•5h ago•57 comments

16colo.rs – ANSI/ASCII art archive

https://16colo.rs/
61•memalign•4h ago•5 comments

Show HN: Overtone – Transcribe, correct and cut captions for any screen shape

https://github.com/lonthq/overtone-captions
12•rvanderlinden•3h ago•0 comments

Tomáš Mikolov awarded the Medal of Merit by the President of the Czech Republic

https://www.vut.cz/en/but/news-f19528/two-but-graduates-received-state-honors-from-the-president-...
140•armcat•4h ago•14 comments

If IPv4 were land

https://iptrust.co/blog/if-ipv4-were-land
195•rokostik•8h ago•215 comments

NetBSD adds a new text editor called atto

https://mastodon.sdf.org/@netbsd/117518160563539748
147•luke8086•8h ago•115 comments

What we know so far about Spain train crash

https://www.bbc.com/news/articles/cm8xz7pkd0jjo
110•ZeljkoS•12h ago•210 comments

noalloc: Tooling and libraries to enforce zero heap allocations in Golang

https://github.com/theconsensuslabs/noalloc
58•g0xA52A2A•1d ago•34 comments

Keplearn: Extract Equations from Data in Seconds

https://github.com/owls-on-wires/keplearn
80•owls-on-wires•6h ago•7 comments

I went to Mexico to test-drive the cars Americans can’t buy

https://www.washingtonpost.com/climate-environment/2026/10/27/i-saw-future-driving-mexico-its-off...
260•bookofjoe•5h ago•286 comments

The tragedy of losing your Wikipedia page

https://www.wired.com/story/the-tragedy-of-losing-your-wikipedia-page/
44•tptacek•3d ago•62 comments

Google Search is now less than half of Alphabet’s revenue

https://www.kadoa.com/companies/insights/google-search-below-half
364•hubraumhugo•4h ago•310 comments

If-then-else had to be invented (2020)

https://github.com/e-n-f/if-then-else/blob/master/if-then-else.md
157•theanonymousone•4d ago•151 comments