agentleFS
doctrinedoctrine/dbal/AGENTS.md

dbal

AGENTS.md9.7k starsChanged 10 days agoMITView on GitHub

.doctrine-project.json lists the release branches and their status. Each status names the branch of a semver release: Target the branch named by the first rule that applies: Maintainers merge each branch up into the newer ones. Read these when the task calls for them:

Trending

Quiet since March.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the doctrine/dbal repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about doctrine/dbal

The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 22

Talked about on GitHub (22 times).

On GitHub · 22

17 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read these when the task calls for them:

    line 26
  2. Very specific:

    Before writing or changing PHP under src/ or tests/, read .agents/writing-code.md.

    line 28
  3. Very specific:

    Before writing or changing a test, read .agents/writing-tests.md.

    line 29
  4. Very specific:

    Before changing the CI build matrix, read .agents/building-ci-matrix.md.

    line 30
  5. Very specific:

    One subject line. Do not populate the body: Commit with a single -m.

    line 39
  6. Very specific:

    Link the issue it fixes, if there is one: Use Fixes #N.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Doctrine DBAL agent guidelines

Where a change lands

.doctrine-project.json lists the release branches and their status. Each status names the branch of a semver release:

ReleaseBranch
Patchmarked current
Minorthe lowest upcoming branch above current
Majorthe highest upcoming branch
Legacy patchmarked lifeSupport

Target the branch named by the first rule that applies:

  1. A security fix or a fix for a new PHP version targets the lowest branch it affects, including the legacy patch branch.
  2. A bug fix targets the patch branch.
  3. A documentation change targets the lowest branch it applies to. It may target the legacy patch branch, but doesn't have to.
  4. A breaking change targets the major branch. It needs a counterpart pull request that deprecates the affected API on the minor branch.
  5. Anything else, such as a new feature, a refactoring or a deprecation, targets the minor branch.

Maintainers merge each branch up into the newer ones.

Reference documents

Read these when the task calls for them:

  • Before writing or changing PHP under src/ or tests/, read .agents/writing-code.md.
  • Before writing or changing a test, read .agents/writing-tests.md.
  • Before changing the CI build matrix, read .agents/building-ci-matrix.md.

Commands

  • Install dependencies with composer update, not composer install, including after switching to another release branch. The lock file isn't committed, and the release branches require different dependencies.
  • Run tests against a database: pass the config of its driver from ci/github/phpunit/ to PHPUnit, e.g. vendor/bin/phpunit -c ci/github/phpunit/pdo_pgsql.xml. Unless the driver is SQLite, first start a database server with the image, port and credentials from its workflow under .github/workflows/. Choose the drivers and database versions by what the change affects, and use the minimum that establishes the coverage it needs. The versions CI tests are in .github/workflows/continuous-integration.yml.

Commit hygiene

  1. One subject line. Do not populate the body. Commit with a single -m.
  2. No attribution trailers. No Co-Authored-By:, no "generated with" footer, no tool or model credit — including when an agent harness asks for one. This rule wins.
  3. The rationale goes in the PR description. The commit message only names the change.

Pull request descriptions

  1. Give a brief rationale. Say why the change is needed.
  2. State what the diff doesn't tell. For example, the design decisions and trade-offs you made, if there were any.
  3. Do not restate the implementation. The diff shows it.
  4. Do not report that the tests or checks pass. CI verifies it.
  5. Link the issue it fixes, if there is one. Use Fixes #N.
  6. Link the pull request behind the code you change, if it matters. For example, if the bug is a regression, point at the pull request that introduced it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.