river.io/the dark factory
Order 00515 June 20268 minBriefing

The holdout set: how to trust code no human reviews

StrongDM keeps its standard of truth outside the codebase. The agents that build the code cannot see it. LinearB measured the review bottleneck across 8.1 million pull requests. OWASP now calls prompt injection an architectural flaw that may never be patched.

In mid-June 2026 autonomous software development got its best data and its worst news together. Anthropic published its 2026 Agentic Coding Trends Report. The report makes eight predictions about orchestrated agent teams and long-running agents that work for days. It also confirms the ceiling. Developers use AI in about 60 percent of their work. They can fully delegate only 0 to 20 percent of tasks.

LinearB analyzed 8.1 million pull requests. Developers feel 20 percent faster, but they are measurably 19 percent slower. The best constructive idea of the quarter came from StrongDM's dark factory. Agents can see the tests inside a codebase, and they learn to game them. StrongDM moves the tests out of the codebase and calls them scenarios. StrongDM holds the scenarios apart, like a machine-learning holdout set.

The vendors now admit the ceiling

The main event is that Anthropic released its own report. Anthropic did not let analysts frame the story. These predictions matter most for an autonomous pipeline:

The key admission sits in the capability section. AI is in about 60 percent of development work. Only 0 to 20 percent is fully delegable. Anthropic calls AI a "constant collaborator" that still needs setup, prompting, supervision, validation, and human judgment. That is the most credible confirmation yet that fully dark operation works only in narrow domains. It is not a general default.

Buyers report the same picture. Belitsoft's 2026 enterprise survey finds that the average company runs 12 agents. That number heads to 20 by 2027. About half of those agents work alone, with no coordination. Futurum's first-half-2026 survey shows agentic AI rising as a top priority, from 13.0 to 17.1 percent year over year. The direction is up, but coordinated autonomy is still rare.

Scenarios as a holdout set

The best new technique comes from StrongDM's Attractor dark factory. Three engineers run it under two hard rules. No human writes code. No human reviews code. Since July 2025 the team shipped about 16,000 lines of Rust, 9,500 of Go, and 6,700 of TypeScript. The design answers the central dark-factory problem: how to trust output that no human reviews.

GitHub Spec Kit is now past 90,000 stars with more than 30 agent integrations. Its spec-driven command surface is stable. That surface includes a read-only consistency gate, which checks the spec, the plan, and the tasks before any code. Nothing changed structurally this cycle, so the front-end spec layer has settled. The active frontier moved downstream to the verification and holdout layer. That is where StrongDM is working.

The review bottleneck is now measurable

The evidence now says the constraint is review, not generation:

SourceFindingNumber
LinearB (8.1M PRs, 4,800+ orgs)How much faster developers feel with AI+20%
LinearBMeasured change in actual delivery speed-19%
LinearBTasks completed+21%
LinearBPull requests merged+98%
LinearBPR review time+91%
SonarDevelopers who do not fully trust AI output is correct96%
SonarDevelopers who always check AI output before committing48%
CodeRabbitMore issues surfaced in AI-written code than human-written~1.7x
CodeRabbitDevelopers who say reviewing AI code takes more effort than a colleague's38%

The LinearB result is a 39-point gap between perception and measurement. More work enters the queue, and less work flows out. Sonar's verification gap means developers distrust the gate and skip it. The evidence supports one operating lesson. The loop runs only as fast as its automated, independent verification. Bolt generation onto a manual review gate and you build a slower team.

Make the gate independent of the builder. Use deterministic pass-fail checks for security and policy. Use behavioral checks for intent. Score the whole trajectory, not just the final diff.

Other proof points this cycle

Prompt injection, reframed as permanent

The security story moved from incident to structural verdict. OWASP's GenAI Security Project published State of Agentic AI Security and Governance v2.01 on June 11, 2026. The report argues that prompt injection is not a patchable bug. It is architectural. An LLM has no built-in way to separate trusted commands from untrusted data, because both arrive in the same token stream. Prompt injection maps to six of the ten categories in OWASP's Top 10 for Agentic Applications.

The repositories with the most security advisories matter to anyone wiring agents into CI: n8n (57), Claude Code (22), AutoGPT (15), Dify (13), and Roo-Code (11).

A Cloud Security Alliance research note covers the Claude Code GitHub Action attack chain. It shows how little novelty an attacker needs. The attack combined an authorization bypass, an indirect prompt injection, and environment-variable exfiltration. It started with an opened public GitHub issue. It ended with malicious code pushed to the action's own repository.

IMPLICATION

If injection is permanent, the only durable defenses contain it. They do not cure it. Use least-privilege tokens, and keep secrets out of environments the agent can reach. Require human approval on irreversible actions. Add an independent gate that the building agent cannot influence. Plan for the agent to act against you by accident.

How we apply this at River.io

River.io writes native compiled code with zero third-party dependencies. We use test-driven development and a GitHub-issue-driven SDLC. That posture matches where the credible part of the field is heading.

The scenario holdout pattern is TDD with a firewall. StrongDM's move maps onto our testing discipline. Unit tests stay in the repository for the build loop. An out-of-repo scenario set holds plain-language end-to-end behaviors, validated on its own. We keep that set where the building agent never sees it. This is the cleanest way to keep an autonomous loop honest without a human reviewer.

The pattern costs nothing in dependencies. Scenarios are markdown plus a small native validator. We are proving it out on low-stakes repositories: MeowPassword, weathergalactic, and sloth. We define end-to-end behaviors as scenarios stored outside the source tree. A tiny native validator runs them against a built binary and reports pass or fail. We need no third-party test framework.

Zero third-party dependencies is a security asset, not a style choice. This cycle's risk material all rides the dependency supply chain. That includes OWASP's permanent flaw verdict, slopsquatting, and hallucinated-dependency vectors. A zero-dependency compiled codebase removes the largest attack surface. An autonomous loop keeps that property with a deterministic gate. The build fails if any import comes from outside the standard library.

We harden the issue-ingestion path before any autonomy. The Claude Code GitHub Action attack chain starts with an opened public issue. Our SDLC is issue-driven. We treat every issue, PR, and comment body as untrusted data, never as instructions. Any agent that reads them runs with least-privilege tokens and no secrets in its environment. That guardrail holds however far we push autonomy.

Regulated work stays human-gated. CareTime and TimeForCare handle Medicaid electronic visit verification and protected health information. MaterialsAndPractices handles organic-farm compliance. All three run at assisted autonomy, with a human approval gate on every irreversible action. Anthropic's 0-to-20-percent-delegable finding and LinearB's review-bottleneck data agree. Full autonomy pays off only in narrow, well-specified domains with a small blast radius. Regulated work is the opposite, so lights-out experiments stay on throwaway repositories.


Sources

Vendor and blog figures in this briefing show direction, not audited benchmarks. Some numbers come from a single vendor's or sample's own definition. That includes Anthropic's delegation percentages, the LinearB, Sonar, and CodeRabbit metrics, the StrongDM line counts, and the Google and Microsoft AI-code shares. Treat each one as a signal of direction, not as an independently verified measurement.

← The Dark Factory Subscribe by RSS Reply by email