* [FrameworkBundle] Add AGENTS.md for AI coding agents
* [FrameworkBundle] Point CLAUDE.md at AGENTS.md via @-import
* [FrameworkBundle] Add heading to CLAUDE.md
* [FrameworkBundle] Apply review feedback to AGENTS.md
Split the operational bullets out of Conventions into a new Everyday
workflow section, generalise what remains around the best practices page,
and replace the stale-training-data note with a concrete list of
discovery commands.
Keeps three specifics under Conventions: MapRequestPayload over
hand-rolled json_decode(), no readonly on a service that may become
lazy, and symfony/lock for mutual exclusion. Those are the failure modes
the file exists to address, and a general rule does not change a model's
behaviour the way naming them does.
* [FrameworkBundle] Broaden the attribute and injection guidance
Attributes were only shown on controllers. They now cover properties,
commands, listeners, message handlers and service declaration.
The autowiring bullet also contradicted itself: it sent scalar arguments
to an explicit service definition, which is what #[Autowire] exists to
avoid. Injection now points at #[Autowire] and #[Target] first, with a
YAML definition as the last resort.
* [symfony/monolog-bundle]: Adding `php bin/console debug:container monolog`
Reason: Make it more obvious that the `channels` key here does not contain the full list of all channels.
* Apply suggestion from @nicolas-grekas
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
---------
Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
Our recipes checker workflow is not running code from the checkout out codebase (it runs the recipes-checker tool fetched separately) so allowing the checkout is OK.
The previous attempt still failed:
- The Flex push embedded the token in the URL, but actions/checkout had
persisted an http.<host>.extraheader Authorization for the default
GITHUB_TOKEN, which git sends in preference to the URL credentials —
so the push authenticated as github-actions[bot] and got 403. Unset
that header before pushing so the BOT_TOKEN in the URL is used.
- marocchino/sticky-pull-request-comment reads the token from its
GITHUB_TOKEN input (default github.token), not the env var, so the
read-only default token was still used. Pass it via "with:" instead.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The default GITHUB_TOKEN is now read-only, so pushing the generated Flex
endpoint and posting the recipe-diff comment failed (403 / "Resource not
accessible by integration"). Authenticate both via the BOT_TOKEN without
persisting it into the checkout credentials.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Import doctrine/mongodb-odm-bundle recipes from contrib
* Add alias 'mongodb-odm' for 'doctrine/mongodb-odm-bundle'
* No need to resolve MONGODB_URL env var