How would you tackle this:

1. Button "Hey AI, try a PR!" in a Ticket (with description / goals as markdown)
2. AI agent launches a new, isolated craftcms project instance on a remote machine
3. Imports a database, setup of project (composer install, etc.)
4. Tries to implement task in a new feature branch
5. AI agent can check frontend (via browser extension or other tooling)
6. AI agent submits branch to git (Bonus: preview URls for reviewers)
7. human colleagues check the branch out, test it locally, give feedback
8. Iterate (or merge)

#craftcms #ai #webdev #vibecoding

Things I already know:
- #ddev has a setting called `ddev config global --omit-project-name-by-default` --> projects start with a unique project name, their own database, etc. (https://www.fldrupal.camp/session/use-git-worktree-ddev-run-multiple-versions-same-site)
- craft with ddev (or docker compose) runs on GitHub codespaces, but there are limits, etc.
- claude code has a git worktree setting, where each session is automatically in a new git worktree

I would assume that using a MacMini/own VM could be cheaper than GitHub Codespaces (?)

Use `git worktree` with DDEV to run multiple versions of the same site

With git worktree it's easy to have multiple versions of your Drupal project checked out into different directories.And DDEV has a special feature to let you have the name of the project be determined by the directory it's in.So you can have the same git repository checked out 5 places and all 5 of them (with different features or bugs or whatever) running at the same time.This is surprisingly easy and pretty mature stuff. Take a moment with it and we'll have fun!See Slides and you might like Mark Labrecque's Workspace Manager .

Florida DrupalCamp

Things I wonder:

- How do I connect all the parts (e.g. #ClaudeCode agent, Claude Browser extension) so that MULTIPLE people can trigger a new PR / tasks are being worked on simulatenously on the remote machine?
- Tooling: Claude Remote Control, SSH, Open Claw (would want to avoid for now :nerd: ), other tools already available?

Anyone working on this? Are there already examples for such a setup with craftcms (or other PHP CMSes with a database)?

Thaanks!

(Also posted this into Craft Discord AI channel https://discord.com/channels/456442477667418113/1484264635149320402/1485932580619419698)

Discord - Group Chat That’s All Fun & Games

Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.

Discord