@brunosps00/dev-workflow 1.7.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +201 -0
  3. package/README.md +2 -2
  4. package/lib/agents.js +6 -1
  5. package/lib/init.js +14 -0
  6. package/lib/install-state.js +8 -4
  7. package/package.json +2 -1
  8. package/scaffold/agents/core/dw-build-fixer.md +0 -1
  9. package/scaffold/agents/core/dw-code-explorer.md +0 -1
  10. package/scaffold/agents/core/dw-code-reviewer.md +0 -1
  11. package/scaffold/agents/core/dw-planner.md +0 -1
  12. package/scaffold/agents/core/dw-test-author.md +0 -1
  13. package/scaffold/agents/csharp/dw-csharp-reviewer.md +0 -1
  14. package/scaffold/agents/csharp/dw-dotnet-build-fixer.md +0 -1
  15. package/scaffold/agents/frontend/dw-qa-runner.md +0 -1
  16. package/scaffold/agents/python/dw-python-build-fixer.md +0 -1
  17. package/scaffold/agents/python/dw-python-reviewer.md +0 -1
  18. package/scaffold/agents/rust/dw-rust-build-fixer.md +0 -1
  19. package/scaffold/agents/rust/dw-rust-reviewer.md +0 -1
  20. package/scaffold/agents/security/dw-security-reviewer.md +0 -1
  21. package/scaffold/agents/security/dw-silent-failure-hunter.md +0 -1
  22. package/scaffold/agents/typescript/dw-typescript-build-fixer.md +0 -1
  23. package/scaffold/agents/typescript/dw-typescript-reviewer.md +0 -1
  24. package/scaffold/config/routing.json +60 -0
  25. package/scaffold/en/commands/dw-claude-run.md +5 -1
  26. package/scaffold/en/commands/dw-codex-run.md +5 -1
  27. package/scaffold/en/commands/dw-dockerize.md +14 -7
  28. package/scaffold/en/commands/dw-generate-pr.md +13 -0
  29. package/scaffold/en/commands/dw-new-project.md +14 -13
  30. package/scaffold/en/commands/dw-run.md +1 -1
  31. package/scaffold/en/templates/project-onepager.md +6 -5
  32. package/scaffold/en/templates/task-template.md +1 -1
  33. package/scaffold/en/templates/tasks-template.md +7 -5
  34. package/scaffold/pt-br/commands/dw-claude-run.md +5 -1
  35. package/scaffold/pt-br/commands/dw-codex-run.md +5 -1
  36. package/scaffold/pt-br/commands/dw-dockerize.md +14 -7
  37. package/scaffold/pt-br/commands/dw-generate-pr.md +13 -0
  38. package/scaffold/pt-br/commands/dw-new-project.md +14 -13
  39. package/scaffold/pt-br/commands/dw-plan.md +1 -1
  40. package/scaffold/pt-br/commands/dw-run.md +1 -1
  41. package/scaffold/pt-br/templates/project-onepager.md +6 -5
  42. package/scaffold/pt-br/templates/task-template.md +1 -1
  43. package/scaffold/pt-br/templates/tasks-template.md +7 -5
  44. package/scaffold/skills/docker-compose-recipes/SKILL.md +2 -4
  45. package/scaffold/skills/docker-compose-recipes/references/compose-composition.md +2 -2
  46. package/scaffold/skills/docker-compose-recipes/references/env-conventions.md +16 -9
  47. package/scaffold/skills/docker-compose-recipes/references/healthcheck-patterns.md +0 -1
  48. package/scaffold/skills/docker-compose-recipes/references/prod-vs-dev.md +7 -2
  49. package/scaffold/skills/docker-compose-recipes/services/elasticsearch.yml +3 -3
  50. package/scaffold/skills/docker-compose-recipes/services/meilisearch.yml +2 -2
  51. package/scaffold/skills/docker-compose-recipes/services/minio.yml +8 -4
  52. package/scaffold/skills/docker-compose-recipes/services/mysql.yml +4 -4
  53. package/scaffold/skills/docker-compose-recipes/services/postgres.yml +2 -2
  54. package/scaffold/skills/docker-compose-recipes/services/rabbitmq.yml +3 -3
  55. package/scaffold/skills/docker-compose-recipes/services/typesense.yml +3 -3
  56. package/scaffold/skills/dw-cli-run/SKILL.md +42 -38
  57. package/scaffold/skills/dw-cli-run/references/dispatch-tuning.md +85 -0
  58. package/scaffold/skills/dw-execute-phase/SKILL.md +4 -2
  59. package/scaffold/skills/dw-execute-phase/agents/executor.md +4 -2
  60. package/scaffold/skills/dw-execute-phase/agents/plan-checker.md +9 -7
  61. package/scaffold/skills/dw-execute-phase/references/atomic-commits.md +12 -8
  62. package/scaffold/skills/dw-execute-phase/references/plan-verification.md +6 -4
  63. package/scaffold/skills/docker-compose-recipes/services/mailhog.yml +0 -23
  64. package/scaffold/skills/docker-compose-recipes/services/postgres-pgvector.yml +0 -31
@@ -1,23 +0,0 @@
1
- # MailHog — DEV-ONLY email capture (NEVER sends real mail)
2
- # This is the dev-workflow DEFAULT for email-in-dev so the project cannot accidentally email real users.
3
- # Env vars: MAILHOG_SMTP_PORT (default 1025), MAILHOG_UI_PORT (default 8025)
4
- # Application-side SMTP config:
5
- # SMTP_HOST=mailhog ; SMTP_PORT=1025 ; SMTP_USER= ; SMTP_PASSWORD= ; SMTP_SECURE=false
6
-
7
- mailhog:
8
- image: mailhog/mailhog:latest
9
- restart: unless-stopped
10
- ports:
11
- - "${MAILHOG_SMTP_PORT:-1025}:1025"
12
- - "${MAILHOG_UI_PORT:-8025}:8025"
13
- healthcheck:
14
- test: ["CMD", "wget", "--quiet", "--spider", "http://localhost:8025"]
15
- interval: 10s
16
- timeout: 3s
17
- retries: 5
18
- start_period: 5s
19
-
20
- # Prod notes:
21
- # - MailHog must NEVER ship to prod. Replace with a real SMTP relay or transactional email API
22
- # (SendGrid, Resend, Postmark, SES) when promoting docker-compose.dev.yml to prod.
23
- # - Open the UI at http://localhost:8025 to inspect captured mail; nothing leaves the host.
@@ -1,31 +0,0 @@
1
- # PostgreSQL 18 + pgvector 0.8.2 — relational and vector database
2
- # Env vars: POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB, POSTGRES_PORT (default 5432)
3
- # Application-side: derive DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
4
- # The image ships pgvector; create the extension in an application migration with: CREATE EXTENSION IF NOT EXISTS vector;
5
-
6
- postgres:
7
- image: pgvector/pgvector:0.8.2-pg18
8
- restart: unless-stopped
9
- environment:
10
- POSTGRES_USER: ${POSTGRES_USER:-app}
11
- POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-app}
12
- POSTGRES_DB: ${POSTGRES_DB:-app}
13
- ports:
14
- - "${POSTGRES_PORT:-5432}:5432"
15
- volumes:
16
- - postgres_data:/var/lib/postgresql
17
- healthcheck:
18
- test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-app} -d ${POSTGRES_DB:-app}"]
19
- interval: 5s
20
- timeout: 3s
21
- retries: 10
22
- start_period: 5s
23
-
24
- # volumes block to merge:
25
- # volumes:
26
- # postgres_data: {}
27
- #
28
- # Prod notes:
29
- # - Use a current patch release derived from PostgreSQL 18 and pgvector 0.8.2 or newer compatible patch.
30
- # - Move POSTGRES_PASSWORD to a secret and remove the public port mapping.
31
- # - Keep CREATE EXTENSION and vector indexes in reviewed application migrations.