Nobody in that thread was complaining about code quality

The question was about quality. The answers were about control. A developer whose code is now mostly agent-written cannot say how any of it fits together, which is a problem of understanding a system rather than of defects. Backthread records the reasoning behind each merged change against the area of the codebase it touched.

On 10 November a question went up on Hacker News titled "How do you keep up quality when you vibe-code?" and collected 39 points and 39 comments. The poster is not a beginner complaining that the output is bad. They describe code that works, shipped, with users on it, and a process that has stopped being legible to the person responsible for it.

The sentence that is not about quality

The thread's framing is quality, but the mechanism arrives in the second paragraph:

Every time I build anything new, it adds more complexity and the agent only seems to focus on the surrounding code within that session without keeping track of how it fits into the rest of the code base/product.

That is nkcodes, in the thread on 10 November 2026. Read it as a description of scope rather than of skill. The agent attends to the code adjacent to the prompt, because that is the code in front of it. Each change is locally correct and globally unaccounted for, and the accounting was never anybody's step — it used to happen incidentally, in the head of whoever typed the diff.

Every bug fix feels like whack-a-mole, the poster reports, with edge cases arriving from flows nobody holds a list of. That is what it is like to operate a system whose behaviour is defined only by its implementation.

The thread's two families of answer

Thirty-nine comments sorted themselves into two groups, and the split is worth noticing because it is the same split every team arrives at.

The first group says write the behaviour down. The poster's own plan was to commit product specs to the repo so that each agent session inherits how the product is supposed to behave instead of inferring it from nearby code. Another commenter had been running that for a while:

Every task and decisions are documented on .md files, referencing related tasks and decisions. The project becomes bloated quickly, but Claude can easily locate and relate decisions from a long time ago.

That is Marco012, replying in the same thread. The reported win is not tidy docs: it is that the agent can relate a current task to a decision taken months ago.

The second group says gate the commit. Static analysis in the tree-sitter family, a check that fails a commit when new code duplicates an existing utility, a gate that bounces helper functions which do not help, and one commenter whose agent-written repositories run to roughly 70% tests and benchmarks by line count.

Both groups are right about something, and both have a failure mode that the thread did not get to.

Write the behaviour downGate the commit
What it catchesA new change contradicting an old decisionShape: duplication, dead abstractions, untested paths
What it missesNothing checks that the file is still trueAnything that is correct but unaccounted for
How it failsProse rots, and rots silentlyA passing gate reads as a verdict on the design

The first column is the one with the quiet failure, and we have run into it on our own repository: a context file that every agent session loaded described one of our graphs as roughly a thousand nodes when the largest version we have ever rendered is 77. Hand-maintained prose gets injected into every session as authoritative and has no test that fails when it stops being true. A bloated decision folder is better than no folder; it is not a record anyone has verified.

What changes for someone running a team

The poster is one developer. A team meets the same problem later and more expensively, because the model of the whole was already distributed across people.

  • The missing artefact is the alternative, not the description. Specs say what the system should do. What neither a spec nor a gate holds is what this change weighed and rejected, which is the thing that stops the next session reaching for the same dead end. On our own repository, 1,613 of 4,302 decisions captured from agent sessions carry any recorded deliberation at all, so most merged changes have no weighed alternative recorded anywhere.
  • Session-local attention is a property, not a bug to wait out. The agent reads what is near the prompt. Anything that depends on a model of the whole has to be supplied, derived or gated, and expecting the next model release to carry your system in its head is a plan with no date on it.
  • Clutter is training data. The poster notes that their repo is cluttered with prototype code the agent then copies. That is the same mechanism we measured in a prompt, where one example we wrote became the most frequent output across 2,144 generations. Whatever is in context is a sample of what you want, whether you meant it as one or not.
  • Enumerate before you clean. The most useful reply in the thread was to list every known example of bad code and fix or delete each one, rather than starting a general cleanup. A list is finishable and a mood is not.

What none of the thread's answers reach has to be captured while the session is open, because that is the only moment it exists: what was considered, what was dropped, and why this shape. Ours is kept against the area of the system it touched rather than against the commit, which is the thing that gets rewritten next week.

Connect one repo and the alternatives each merge rejected start accumulating against the areas that have none recorded. The trial runs fourteen days.

In short

The complaint was legibility, not defect rate
The poster describes shipped code with users on it and a process that has stopped being legible to the person responsible for it. Every bug fix feels like whack-a-mole because the system's behaviour is defined only by its implementation.
An agent attends to the code next to the prompt
Each change can be locally correct and globally unaccounted for. The accounting used to happen incidentally in the head of whoever wrote the diff, and nothing in an agent-driven process inherits that step.
Written specs and commit gates each miss a different half
A committed spec catches a change that contradicts an earlier decision, but nothing fails when the prose stops being true. A gate catches duplication and dead abstractions, and passes anything that is correct but unaccounted for.

Sources

  1. How do you keep up quality when you vibe-code? — Ask HN, 10 November 2026 (39 points, 39 comments)
  2. The reply on documenting every task and decision in committed .md files — Marco012, 10 November 2026
  3. The poster's own plan to commit product specs so each agent session inherits intended behaviour — nkcodes, 10 November 2026
  4. AWS Emulator and the engineer's job when agents write the code — Hacker News, 11 November 2026 (111 points)

Backthread shows how much of what your agents built your team really understands. See how it works