Skip to content

Commit db94878

Browse files
committed
[#2109] Enabled AI instructions by default in installer.
1 parent cead6d2 commit db94878

46 files changed

Lines changed: 1376 additions & 9046 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vortex/installer/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"require": {
2020
"php": ">=8.3",
21-
"alexskrypnyk/file": "^0.14",
21+
"alexskrypnyk/file": "^0.15",
2222
"alexskrypnyk/str2name": "^1.4",
2323
"composer/composer": "^2.9.1",
2424
"cweagans/composer-patches": "^2",

.vortex/installer/composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vortex/installer/phpunit.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,7 @@
4343
<logging>
4444
<junit outputFile=".logs/junit.xml"/>
4545
</logging>
46+
<php>
47+
<ini name="memory_limit" value="4G"/>
48+
</php>
4649
</phpunit>

.vortex/installer/src/Prompts/Handlers/AiCodeInstructions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function options(array $responses): ?array {
3838
* {@inheritdoc}
3939
*/
4040
public function default(array $responses): null|string|bool|array {
41-
return self::NONE;
41+
return self::CLAUDE;
4242
}
4343

4444
/**

.vortex/installer/tests/Fixtures/install/ai_instructions_claude/CLAUDE.md renamed to .vortex/installer/tests/Fixtures/install/_baseline/CLAUDE.md

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ CRITICAL UNDERSTANDING:
88
- Uses Docker for local development
99
- Commands are executed via 'ahoy' (task runner)
1010
- Configuration is exported/imported via Drupal's config management
11-
- Testing includes both PHPUnit (unit) and Behat (BDD)
11+
- Testing includes PHPUnit
12+
- Testing includes Behat (BDD)
1213
- Deployment is automated via CI/CD pipelines
1314
1415
KEY CONVENTIONS:
@@ -28,7 +29,7 @@ comprehensive Drupal project template by DrevOps that provides:
2829

2930
- 🐳 **Docker-based development environment**
3031
- 🔄 **Automated CI/CD deployment workflows**
31-
- 🧪 **Comprehensive testing framework** (PHPUnit + Behat)
32+
- 🧪 **Comprehensive testing framework**
3233
- ⚙️ **Configuration management** (exportable configs)
3334
- 🚀 **Production hosting integration**
3435

@@ -104,7 +105,7 @@ ahoy drush uli # Get login link
104105
ahoy composer [command]
105106
# Examples:
106107
ahoy composer install
107-
ahoy composer require drupal/admin_toolbar
108+
ahoy composer require drupal/webform
108109
```
109110

110111
## Code Quality & Testing
@@ -124,13 +125,12 @@ ahoy lint-fix
124125
```bash
125126
# Run PHPUnit tests (unit/integration tests)
126127
ahoy test-unit
128+
```
127129

130+
```bash
128131
# Run Behat tests (behavioral/BDD tests)
129132
ahoy test-bdd
130133

131-
# Run ALL tests (unit + BDD)
132-
ahoy test
133-
134134
# Run specific Behat feature
135135
ahoy test-bdd tests/behat/features/homepage.feature
136136
```
@@ -337,14 +337,10 @@ ahoy drush clamav:update
337337

338338
```bash
339339
# Add contributed modules
340-
ahoy composer require drupal/admin_toolbar
341-
ahoy composer require drupal/pathauto
342-
343-
# Add development-only modules
344-
ahoy composer require --dev drupal/devel
340+
ahoy composer require drupal/webform
345341

346-
# Enable installed modules
347-
ahoy drush pm:install admin_toolbar pathauto
342+
# Enable added modules
343+
ahoy drush pm:install webform
348344
```
349345

350346
### Patching Contributed Modules
@@ -718,7 +714,7 @@ Scenario: View complete content with all fields
718714

719715
```bash
720716
# Enable development modules
721-
ahoy drush pm:install devel webprofiler stage_file_proxy
717+
ahoy drush pm:install devel
722718

723719
# Get admin login URL
724720
ahoy login
@@ -832,13 +828,6 @@ ahoy drush updatedb && ahoy drush config:import && ahoy drush cache:rebuild
832828
```bash
833829
# List all available ahoy commands
834830
ahoy --help
835-
836-
# Get help for specific command
837-
ahoy [command] --help
838-
839-
# Examples:
840-
ahoy build --help
841-
ahoy test-bdd --help
842831
```
843832

844833
### Log Files & Debugging

.vortex/installer/tests/Fixtures/install/ai_instructions_none/-CLAUDE.md

Whitespace-only changes.

0 commit comments

Comments
 (0)