Skip to content

Commit c18ca0c

Browse files
authored
Updated AGENTS.md to never run inline commands. (#2443)
1 parent c8f0313 commit c18ca0c

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

.vortex/installer/tests/Fixtures/handler_process/_baseline/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ ahoy test-bdd -- --tags=@tagname # Run Behat tests with specific tag
7777

7878
- **Never modify** `scripts/vortex/` - use `scripts/custom/` for your scripts
7979
- **Never use** `ahoy drush php:eval` - use `ahoy drush php:script` instead
80+
- **Never pass inline code to commands** via stdin, heredocs, or `/dev/stdin` - always write code to a temporary file first, then pass the file path to the command (e.g. `ahoy drush php:script path/to/fix.php`)
8081
- **Always export config** after admin UI changes: `ahoy drush cex`
8182
- **Never use compound Bash commands.** See the highest priority rule at the top.
8283

.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -82,8 +82,8 @@
1+
@@ -83,8 +83,8 @@
22

33
## Key Directories
44

.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@@ -82,8 +82,8 @@
1+
@@ -83,8 +83,8 @@
22

33
## Key Directories
44

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ ahoy test-bdd -- --tags=@tagname # Run Behat tests with specific tag
8787

8888
- **Never modify** `scripts/vortex/` - use `scripts/custom/` for your scripts
8989
- **Never use** `ahoy drush php:eval` - use `ahoy drush php:script` instead
90+
- **Never pass inline code to commands** via stdin, heredocs, or `/dev/stdin` - always write code to a temporary file first, then pass the file path to the command (e.g. `ahoy drush php:script path/to/fix.php`)
9091
- **Always export config** after admin UI changes: `ahoy drush cex`
9192
- **Never use compound Bash commands.** See the highest priority rule at the top.
9293

0 commit comments

Comments
 (0)