Skip to content

Since the last run

Overall +20 pointsContext Economy +58 pointsCode Navigability +37 pointsVerification Surface +35 pointsReproducible Setup +15 pointsMachine Orientation โˆ’12 pointsAgent Safety โˆ’12 points

torvalds/linux (opens in a new tab)

A monumental codebase whose legendary subsystem organization keeps it navigable for agents despite the complete absence of modern containerized setups or automated verification pipelines.

Cโ˜… 249,2883 open issuesOther
Overall score: 63 out of 100
Slipping

last scored 2026-09-17 ยท both lenses

Readiness lenses

The same repo, two ways: how ready it is for an AI coding agent, and for a human newcomer. Switch lenses to see each one's score and checks.

How ready the repo is for an AI coding agent to read, build, and operate it.

63 / 100

13 of 38 checks passed across 6 categories.

  • Machine Orientation

    60

    Extensive documentation and README exist, but an explicit AGENTS.md is missing for machine orientation.

    The repository features a clear top-level README and comprehensive architecture and process documentation in Documentation/, but lacks a dedicated AGENTS.md or CLAUDE.md file specifying machine-readable entry points for AI agents. This places it in the Workable band (50โ€“69), as essentials exist across extensive documentation files but lack concise, agent-first onboarding guidance.

  • Reproducible Setup

    60

    Documented tool requirements exist, but automated reproducible setup and containers are entirely absent.

    The repository provides comprehensive documentation for build requirements and procedures (such as Documentation/process/changes.rst), but completely lacks machine-verifiable setup artifacts such as containers, dockerfiles, lockfiles, or pinned dependency versions. Consequently, an AI agent cannot deterministically or automatically set up the build environment without manual system-level package installation. This lands the category squarely in the Workable band.

  • Code Navigability

    65

    Traditional kernel layout with clear subsystem boundaries and robust formatting aids makes navigation workable despite massive scale.

    The Linux kernel uses traditional C source layout with explicit subsystem directories and configuration files like .clang-format, but lacks structured language type strictness signals and standard modern conventions. Code navigation relies heavily on robust formatting configs and documentation trees, clearing the Workable band cleanly.

  • Verification Surface

    60

    The kernel has powerful build targets, but zero automated CI pipelines or turnkey agent verification runners.

    While the repository provides standard kernel test hooks and kbuild targets (tests=yes, taskRunner=yes), there is no automated CI configuration (ci=no), lockfiles, or standard agent-verifiable check suite out of the box. This places the verification surface in the 50โ€“69 Workable band, as essentials exist for human workflows but lack turnkey machine-verifiable feedback loops for an agent.

  • Agent Safety

    60

    Secret hygiene is sound, but explicit .env exclusion is missing from gitignore.

    Secret hygiene is well-managed with no committed env files and private keys like signing_key.pem explicitly excluded in .gitignore, though .env exclusion is not explicitly covered. There are no flagged destructive or irreversible agent operations or prompt-injection hazards in agent-read content. This repository clears the Workable (50-69) band for agent safety essentials.

  • Context Economy

    80

    Vast code volume cleanly managed by ignore rules, but overwhelming for unindexed agent contexts.

    The Linux kernel repository is massive (~67,000+ files) with no generated or vendored bulk tracked in git and proper .gitignore coverage, earning a Solid band for Context Economy despite its monumental scale. The signal-to-noise ratio is kept high by cleanly excluding build artifacts and node modules, though the sheer size of the codebase naturally challenges standard agent context windows.

  • Machine Orientation

    3 checks passed6 problems found

    • mediumAgent instructions file

      AGENTS.md / CLAUDE.md is the direct, machine-read channel for entry points and conventions.

      Fix: Add an AGENTS.md naming the entry points, the build/test commands, and the house conventions.

    • lowllms.txt present

      An llms.txt is the emerging machine-orientation standard โ€” a curated map for LLMs.

      Fix: Add an llms.txt pointing at the key docs and entry points.

    • lowTopics set

      GitHub topics situate the repo's domain and stack for an agent at a glance.

      Fix: Add a few GitHub topics describing the domain and stack.

    • lowREADME shows usage

      A usage/example section tells an agent how the project is actually invoked.

      Fix: Add a Usage or Examples section to the README with a runnable snippet.

    • lowExamples directory

      An examples/ directory gives an agent runnable, copyable references for the API.

      Fix: Add an examples/ directory with small, runnable usage samples.

    • lowContribution conventions are written down

      A contributor guide is where an agent learns the branch, commit, and review conventions it must follow.

      Fix: Add a CONTRIBUTING.md stating the branch naming, commit format, and how a change gets reviewed.

    • README present โ€” An agent reconstructs what the repo is and how to work in it from the README first.
    • Repository description set โ€” The one-line description is the fastest orientation signal an agent reads.
    • Architecture doc โ€” An ARCHITECTURE doc hands an agent the module map instead of making it infer one.
  • Reproducible Setup

    0 checks passed6 problems found

    • highLockfile committed

      Without a lockfile two clones can resolve different dependency trees โ€” the build isn't reproducible.

      Fix: Commit your lockfile (package-lock.json / pnpm-lock.yaml / Cargo.lock / โ€ฆ).

    • mediumRuntime / toolchain pinned

      An unpinned runtime makes an agent guess the version a clean environment needs.

      Fix: Pin the runtime with .nvmrc / .tool-versions / an engines field / packageManager.

    • mediumContainer or dev-container

      A Dockerfile / compose / devcontainer removes 'works on my machine' from setup.

      Fix: Add a Dockerfile, a compose file, or a .devcontainer so the environment is declared, not assumed.

    • mediumREADME documents setup

      Explicit install/setup steps are what let an agent go from clone to running.

      Fix: Add a Setup/Install section with the exact commands to install and run.

    • lowEnv template present

      A .env.example tells an agent which configuration keys it must supply to run.

      Fix: Ship a .env.example listing every required key with placeholder values.

    • lowDev container

      A .devcontainer gives an agent a one-command, fully-declared environment.

      Fix: Add a .devcontainer so the toolchain is declared, not assumed.

  • Code Navigability

    2 checks passed2 problems found

    • mediumConventional source layout

      A recognised src/ ยท lib/ ยท app/ layout lets an agent localise code without spelunking.

      Fix: Group source under a conventional top-level directory (src/, lib/, app/, โ€ฆ).

    • lowTyped public API

      A declared `types` entry gives an agent typed signatures to anchor an edit on.

      Fix: Ship type declarations and point package.json `types`/`typings` at them.

    • .editorconfig present โ€” An .editorconfig keeps whitespace and encoding consistent, so diffs stay legible.
    • Formatter configured โ€” A formatter config (Prettier/Biome/rustfmt/โ€ฆ) keeps style uniform across the tree.
  • Verification Surface

    2 checks passed5 problems found

    • mediumTest command defined

      A `test` script is the documented, discoverable way to run the suite.

      Fix: Add a `test` script (package.json / Makefile / Taskfile) that runs the suite.

    • mediumCI configured

      Readable CI is the feedback loop an agent reads to know what 'green' means here.

      Fix: Add a CI workflow (e.g. under .github/workflows) that runs the build and tests.

    • lowLint command defined

      A linter an agent can run catches a class of mistakes before they ship.

      Fix: Add a `lint` script and a linter config.

    • lowTypecheck command

      A typecheck script lets an agent catch type errors before they ship.

      Fix: Add a `typecheck` script (e.g. `tsc --noEmit`).

    • lowBuild command

      A documented build command is the discoverable way for an agent to produce artifacts.

      Fix: Add a `build` script that produces the distributable.

    • Tests present โ€” Runnable tests are the ground truth an agent checks its own edits against.
    • Task runner present โ€” A Makefile / Taskfile / justfile gives an agent a single index of the project's commands.
  • Agent Safety

    4 checks passed4 problems found

    • medium.gitignore covers env files

      An ignore rule for .env is what keeps the next careless commit from leaking secrets.

      Fix: Add `.env` (and `.env.*`) to .gitignore.

    • mediumSecurity policy

      A SECURITY.md is where an autonomous security agent reads this repo's rules before acting on it.

      Fix: Add a SECURITY.md stating the disclosure channel and the repo's security rules.

    • lowCODEOWNERS present

      CODEOWNERS marks the 'don't touch without review' zones an agent should respect.

      Fix: Add a CODEOWNERS file marking the sensitive paths.

    • lowAutomated dependency updates

      Dependabot / Renovate keeps dependencies patched without a human in the loop.

      Fix: Enable Dependabot or Renovate.

    • No committed .env โ€” A tracked real .env hands secrets to anything โ€” including an agent โ€” that reads the repo.
    • No exposed secrets โ€” Secret-shaped literals in tracked files are a live credential leak.
    • .gitignore present โ€” A .gitignore is the first guard against an agent committing secrets or build junk.
    • License makes the code reusable โ€” Without a license an agent cannot safely copy, redistribute, or vendor any of this code.
  • Context Economy

    2 checks passed2 problems found

    • lowGenerated / vendored files marked

      A .gitattributes linguist marker tells tools (and agents) what to skip.

      Fix: Mark generated/vendored paths in .gitattributes (linguist-generated / linguist-vendored).

    • lowNo oversized source file

      A single file in the hundreds of KB blows past an agent's effective context window.

      Fix: Split the largest files along their natural seams.

    • Dependencies not vendored in โ€” A committed node_modules / vendor tree drowns the real signal an agent needs.
    • Build output not committed โ€” Generated dist/ ยท build/ output is noise an agent has to read past.

Where the grip slips

  1. mediumVerification Surface+8 pts if fixed

    Missing Automated CI configuration

    No automated CI pipeline file (.github/workflows/*) is present to verify commits or builds in an isolated environment.

    Fix: Add standard CI workflows for build and test validation.

  2. lowCode Navigability+6 pts if fixed

    Missing agent-specific code navigation index files

    No strict typing enforcement or standardized automated navigation tooling configuration for AI agents.

    Fix: Add editor/agent configuration files specifically tailored to code navigation helpers.

  3. mediumMachine Orientation+5 pts if fixed

    Missing AGENTS.md / CLAUDE.md file

    No AGENTS.md or CLAUDE.md file is present to orient AI coding agents on specific build/test/run commands and conventions.

    Fix: Create an AGENTS.md file summarizing key build targets, test execution, and kernel development conventions.

  4. highReproducible Setup+5 pts if fixed

    Missing Container or Devcontainer Environment

    No container, dockerfile, or devcontainer is provided for automated reproducible setup.

    Fix: Add a Dockerfile or devcontainer.json that provisions the required build dependencies (gcc, make, flex, bison, pahole, python3, etc.).

  5. lowAgent Safety+5 pts if fixed

    Missing explicit .env ignore pattern

    .gitignore does not explicitly ignore .env files alongside other build and signing secrets.

    Fix: Add .env and .env.* to .gitignore.

  6. mediumReproducible Setup+3 pts if fixed

    Unpinned Toolchain and Dependencies

    Dependencies and toolchain requirements are documented in text files rather than pinned lockfiles or scriptable environment manifests.

    Fix: Provide a setup script or container image pinning the required compiler and tool versions.

  7. mediumContext Economy+2 pts if fixed

    Monolithic scale without agent-focused navigation manifests

    Repository contains over 67,000 files across the Linux kernel source tree, which exceeds standard LLM context windows without specialized modular indexing.

    Fix: Provide machine-readable subsystem maps, modular index guides, or llms.txt entry points to assist agents in scoping navigation.

Show your score

Latch badge
[![Latch score](https://latch.fyi/api/badge/66bc3fde-3af9-4a79-9b2b-d1df8ae9c98f)](https://latch.fyi/torvalds/linux)

Share this analysis

https://latch.fyi/torvalds/linux

Fixed some issues? Re-analyze to measure your progress โ†’

Copy the whole report

Grab the entire verdict in one go โ€” a Markdown block for a README or an issue, plain text, or a prompt you can paste straight into an LLM.

Was this verdict fair?

One tap helps โ€” or tell us more.