agent/pkg/lib/flow/php.md
Snider 53482cb0c8 feat: workspace templates via Extract — Gosod pattern for agent dispatch
- Move pkg/prompts/lib → pkg/lib (prompt, task, flow, persona, workspace)
- New lib.go: unified package with ExtractWorkspace() using text/template
- Workspace templates: default, security, review — .tmpl files with data injection
- prep.go: uses lib.ExtractWorkspace() + detect helpers for language/build/test
- prompts.go: thin re-export wrapper for backwards compat

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-18 14:03:06 +00:00

7 lines
281 B
Markdown

# PHP Build Flow
1. `composer install --no-interaction` — install deps
2. `./vendor/bin/pint --test` — check formatting (PSR-12)
3. `./vendor/bin/phpstan analyse` — static analysis
4. `./vendor/bin/pest --no-interaction` — run tests
5. `composer audit` — security check