Sashiko проверяет примерно 1200 изменений в день более чем в 100 списках рассылки ядра Linux. При этом письма с результатами система отправляет только туда, где сопровождающие дали на это согласие: к моменту публикации Google Cloud Blog таких списков было более 70.[1][2]
Систему агентного ревью кода с открытым исходным кодом создала команда Google AI & Infrastructure на базе Gemini. Ранее в 2026 году Google передала Sashiko в Linux Foundation, а сервис, проверяющий патчи из публичных рассылок ядра, запускает на sashiko.dev.[3][4]
Перед проверкой Sashiko загружает код вокруг изменений и руководства по предметной области соответствующей подсистемы. По описанию Google Cloud Blog, затем до семи специализированных сессий параллельно ищут разные классы проблем: от соответствия реализации замыслу коммита до ошибок в блокировках, безопасности и работе с оборудованием.[5][6]
Поиск возможных ошибок отделён от их проверки. Каждая специализированная сессия в среднем делает около 100 вызовов инструментов и составляет два списка: предполагаемых проблем и подозрений, которые удалось отклонить после проверки. Выводы сопровождаются подтверждающим кодом.[7][8]
Сложные случаи передают отдельным агентам, работающим параллельно. Каждый получает один вопрос и должен подтвердить вывод кодом во всех местах вызова. Это требование действует и при признании ошибки, и при отклонении подозрения.[9]
Для оценки крупных изменений Sashiko команда собрала бенчмарк почти из 1000 реальных ошибок ядра Linux. Каждая из них прошла человеческое ревью, попала в основное дерево и была исправлена позднее. По данным Google Cloud Blog, Sashiko с моделью Gemini 4 Carbon при высоком уровне размышления обнаруживает в этом наборе 75.8% ошибок, пропущенных людьми.[10][11]
Google Cloud Blog привёл и показатели исправлений после слияния кода. В 18 выпусках Linux до внедрения Sashiko, с 6.2 по 6.19, в течение 60 дней исправления требовались в среднем для 3.4% слитых коммитов. После внедрения показатель составил 2.8% в Linux 7.1 и 2.2% в Linux 7.2.[12][13]
Авторы блога предупредили, что «пока рано делать сильные выводы»: на показатели от выпуска к выпуску могут влиять и другие факторы, поэтому приписывать всё снижение работе Sashiko нельзя.[13]
В выборке из 21 500 отслеживаемых коммитов патчи, прошедшие ревью Sashiko без замечаний, требовали исправления в течение 60 дней в 0.9% случаев. Для патчей, слитых несмотря на критическое предупреждение системы, доля составила 7.6%, сообщает Google Cloud Blog.[14]
В рассылках системе ответили более 1500 разработчиков ядра. По словам авторов блога, их возражения против ложных тревог помогли улучшить подсказки и механизм проверки Sashiko. Система упоминается более чем в 2000 коммитах основного дерева и более чем в 500 официальных CVE ядра Linux за 2026 год.[15][16]
To help maintainers handle the load and catch bugs before they land, the Google AI & Infrastructure team built Sashiko, an open-source, agentic code review system powered by Gemini. We named the project after the Japanese word 刺し子, a stitching technique for artistically reinforcing worn cloth, and donated it to the Linux Foundation earlier this year.
Sashiko first pulls in the code around the diff (modified functions, struct definitions, and direct callers) and loads the subsystem's domain guides, so the changed lines are never judged in isolation.
Up to seven specialist sessions run in parallel, each focused on a single class of problems: commit intent, implementation match, control flow, resource lifetimes, locking, security, and hardware.
To avoid these failure modes, Sashiko separates finding candidate bugs from verification of those bugs, and requires each pass to record what it ruled out:
Each session searches and reads the repository with git tools (averaging about 100 tool calls per review) and outputs two lists: concerns it believes are real, and candidate concerns it investigated and ruled out, along with the code that supports that conclusion.
Instead of checking all difficult cases in one shared prompt, Sashiko gives each difficult case its own verification agent that runs in parallel. Each agent gets one specific question to answer with git tools under a symmetrical rule: Neither a bug claim nor a dismissal is accepted without concrete code proof across all call sites.
Early on, we built a benchmark out of nearly 1,000 real Linux kernel bugs and used it to evaluate every major Sashiko change. Every bug in this set was a real mistake that had passed human review by kernel experts, had been merged into mainline Linux, and later had to be fixed.
Across the 18 kernel releases prior to Sashiko (Linux 6.2 through 6.19, covering 254000 commits), an average of 3.4% of merged commits required a follow-up fix within 60 days.
Since Sashiko rolled out, that 60-day fix rate has fallen to 2.8% in Linux 7.1 and 2.2% in Linux 7.2, a 35% drop (with the 30-day fix rate falling from 2.3% to 1.4%). It’s too early to make strong claims, and obviously many other factors can influence release-to-release numbers, so we cannot solely credit Sashiko for the entire drop, but the trend is optimistic.
In practice, across 21,500 tracked mainline commits, patches that received a clean Sashiko review required a follow-up fix within 60 days just 0.9% of the time — less than a third of the historical baseline. Patches merged despite a critical Sashiko warning needed a fix 7.6% of the time — an 8x higher risk (and 6.3x higher even after adjusting for patch size).
More than 1500 kernel developers have replied on the mailing lists, and their pushback on false alarms has directly driven improvements to Sashiko's prompts and verification engine.
Sashiko is cited in over 2000 mainline kernel commits and in over 500 of this year's official Linux kernel CVEs, spanning drivers, core kernel code, networking, GPUs, memory management, and virtualization.