chore: #3640739 Add AGENTS.md, Drush and wider core version testing

Description

Issue: https://www.drupal.org/project/redirect/issues/3640739

Widens CI's core version testing and makes local development with ddev-drupal-contrib easier.

  • .gitlab-ci.yml: adds OPT_IN_TEST_MAX_PHP and the _AUTORUN_* variables, so the previous major, previous minor, next minor, next major and max PHP jobs run on every pipeline, including the scheduled one.
  • composer.json: adds drush/drush to require-dev.
  • New AGENTS.md: Architecture, Conventions, Checks and Merge requests sections.

Testing instructions

  1. In this merge request's pipeline, confirm the phpunit (previous major), phpunit (previous minor), phpunit (next minor), phpunit (next major) and phpunit (max PHP version) jobs run without being started by hand.

AI disclosure

I used Claude Code to compare the project with my checklist for drupal.org projects and to draft these changes and AGENTS.md. I chose which changes to make, checked AGENTS.md against the code, and ran phpcs, phpstan and the kernel tests locally.

🤖 Generated with Claude Code

Edited by Dave Reid

Merge request reports

Loading
Loading