All posts

Coding agents skip open source guidelines, study finds

Huma ShaziaAugust 12, 2026 at 7:16 PM4 min read
Coding agents skip open source guidelines, study finds

AI coding agents regularly bypass contribution guidelines when submitting to open source projects, according to new research. The finding exposes a gap between how these tools perform on benchmarks and how they behave in real repositories with established norms.

Coding agents skip open source guidelines, study finds
Source: The New Stack

The study, reported by The New Stack, examined how AI agents interact with CONTRIBUTING.md files, code style guides, and other project-specific requirements. Instead of reading and following these documents, agents frequently generate code that violates formatting rules, skips required tests, or ignores commit message conventions.

7.5%
The autonomous success rate for AI agents completing real GitHub issues without human intervention, per METR research
Advertisements

Why agents fail at real-world contributions

Open source projects encode years of accumulated decisions into their contribution guidelines. A CONTRIBUTING.md might require signed commits, specific branch naming, or mandatory CI checks. Style guides enforce tab versus space, import ordering, documentation standards. These rules exist because maintainers learned, often painfully, what keeps a codebase healthy.

Coding agents trained on generic code patterns don't prioritize these project-specific constraints. They optimize for syntactically correct, functionally plausible code. Whether that code matches the project's established patterns is a secondary concern, if it registers at all.

The numbers bear this out. Research from METR (Model Evaluation & Threat Research) found that AI agents achieved only 7.5% autonomous success on real GitHub issues. With human guidance, that figure climbed to 41%. The gap suggests agents can produce working code but lack the contextual awareness to produce acceptable contributions.

The benchmark problem

Benchmark environments strip away the messy realities of real repositories. There's no CONTRIBUTING.md to read, no CI pipeline to satisfy, no maintainer preferences to intuit. An agent that scores well on HumanEval or SWE-bench may still produce pull requests that get rejected on sight.

METR's research showed agents performing 25-50% worse on real-world open source tasks compared to controlled environments. That's not a minor calibration error. It's a structural mismatch between what agents are trained to do and what maintainers actually need.

Advertisements

What this means for engineering teams

For teams using AI coding assistants internally, the implications are manageable. You control the environment, enforce standards through CI, and can train developers to review agent output against your own guidelines.

For open source maintainers, the future looks noisier. As more developers delegate contribution tasks to agents, maintainers will see more PRs that ignore documented requirements. The burden shifts to reviewers who must either reject mechanically or spend time explaining norms the contributor's agent could have read.

Some projects already flag agent-generated PRs for additional scrutiny. Others have started requiring explicit acknowledgment that the contributor read the guidelines. Neither solution scales gracefully.

ℹ️

Logicity's Take

The real issue isn't that agents can't read CONTRIBUTING.md. It's that they aren't prompted to, and vendors don't penalize guideline violations in training. Until GitHub Copilot, Cursor, and similar tools are evaluated on contribution acceptance rates rather than just code correctness, this gap will persist. Teams should treat agent-generated PRs as drafts requiring human review against project norms, not finished contributions.

Also Read
15 Claude features most users overlook

Explores AI tool capabilities that could address some of these workflow gaps

Can agents learn project norms?

In theory, yes. An agent could be instructed to read CONTRIBUTING.md first, parse style guides, and check its output against those requirements before submitting. Some enterprise deployments already implement this workflow.

The harder question is whether agents can infer norms that aren't explicitly documented. Experienced contributors pick up on patterns: this project prefers small PRs; that maintainer wants verbose commit messages; another expects you to open an issue before submitting code. These conventions live in git history and issue threads, not README files.

Teaching agents to read social context, not just code context, remains an open research problem. Until it's solved, human judgment stays in the loop.

ℹ️

Need Help Implementing This?

Logicity helps engineering teams establish AI coding workflows that balance speed with contribution quality. Contact us to discuss your team's approach to agent-assisted development.

Source: The New Stack / Meredith Shubel

H

Huma Shazia

Senior AI & Tech Writer

Produced with AI assistance and reviewed by the Logicity editorial team. Learn more in our Editorial Policy.