@orchestrator-claude/definitions 3.33.0 → 3.35.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 (56) hide show
  1. package/README.md +32 -0
  2. package/agents/adversarial-reviewer.md +2 -2
  3. package/agents/azure-devops-engineer.md +9 -1
  4. package/agents/cicd-platform-engineer.md +477 -0
  5. package/agents/ciclo-engineer.md +267 -0
  6. package/agents/debug-sidecar.md +5 -0
  7. package/agents/doc-sidecar.md +5 -0
  8. package/agents/frontend-engineer.md +173 -0
  9. package/agents/implementer.md +39 -23
  10. package/agents/methodology-researcher.md +2 -1
  11. package/agents/operational-artifact-builder.md +2 -1
  12. package/agents/orchestrator.md +54 -72
  13. package/agents/planner.md +2 -2
  14. package/agents/presentation-engineer.md +1 -1
  15. package/agents/python-data-engineer.md +214 -0
  16. package/agents/reviewer.md +16 -8
  17. package/agents/specifier.md +1 -1
  18. package/agents/task-generator.md +1 -1
  19. package/agents/test-sidecar.md +14 -3
  20. package/dist/install/DevCheckoutDetector.d.ts +30 -13
  21. package/dist/install/DevCheckoutDetector.d.ts.map +1 -1
  22. package/dist/install/DevCheckoutDetector.js +33 -16
  23. package/dist/install/DevCheckoutDetector.js.map +1 -1
  24. package/hooks/agent-git-guard.mjs +118 -0
  25. package/hooks/agent-git-guard.ts +166 -0
  26. package/hooks/hooks.json +78 -0
  27. package/hooks/playwright-output-guard.mjs +136 -0
  28. package/hooks/playwright-output-guard.ts +130 -0
  29. package/hooks/pre-agent-dispatch.mjs +346 -0
  30. package/hooks/pre-agent-dispatch.ts +287 -0
  31. package/hooks/session-start.mjs +8 -36
  32. package/hooks/session-start.ts +15 -72
  33. package/hooks/subagent-stop.mjs +0 -18
  34. package/hooks/subagent-stop.ts +29 -13
  35. package/hooks/verification-before-completion.mjs +105 -0
  36. package/hooks/verification-before-completion.ts +97 -0
  37. package/hooks-settings-template.json +19 -4
  38. package/manifest.json +125 -29
  39. package/package.json +1 -1
  40. package/personas/INDEX.md +46 -0
  41. package/skills/artifact-generator/SKILL.md +1 -1
  42. package/skills/artifact-production/SKILL.md +28 -0
  43. package/skills/backlog-synthesis/SKILL.md +8 -3
  44. package/skills/checkpoint-protocol/SKILL.md +7 -0
  45. package/skills/ciclo-lane-dispatch/SKILL.md +158 -0
  46. package/skills/infographic-engine/SKILL.md +116 -0
  47. package/skills/orchestrator/SKILL.md +95 -7
  48. package/skills/persona-library/SKILL.md +1 -1
  49. package/skills/project-conventions/SKILL.md +53 -30
  50. package/skills/project-management-enterprise/SKILL.md +1 -1
  51. package/skills/python-data-engineering/SKILL.md +792 -0
  52. package/skills/release/SKILL.md +29 -18
  53. package/skills/release/release.sh +65 -4
  54. package/skills/storybook-validated-loop/SKILL.md +110 -0
  55. package/skills/tdd-discipline/SKILL.md +16 -0
  56. package/skills/workflow-coordination/SKILL.md +117 -16
@@ -1,34 +1,57 @@
1
1
  ---
2
2
  name: project-conventions
3
- description: Project-wide conventions, patterns, and known gotchas. Loaded by all agents to ensure consistency.
3
+ description: Project patterns, conventions, and known gotchas. Stack-specific conventions are injected via StackContextBuilder at dispatch time.
4
4
  ---
5
5
 
6
- ## Architecture
7
- - Clean Architecture: domain → application → infrastructure → presentation
8
- - TypeScript strict mode (exactOptionalPropertyTypes: true)
9
- - Vitest for testing, TDD discipline
10
- - PostgreSQL (OLTP) + Neo4j (Graph) + MinIO (Object Storage)
11
-
12
- ## DI Patterns (CRITICAL)
13
- - 'ProjectRepositoryNew' = direct PostgreSQL (returns Project | null)
14
- - ServiceNames.ProjectRepository = adapter with Result<T> wrapping
15
- - ALWAYS use 'ProjectRepositoryNew' when consumer expects IProjectRepository
16
- - Register new services in src/infrastructure/di/container.ts
17
-
18
- ## Code Patterns
19
- - Use conditional spread in toDomain() for optional properties
20
- - KBDocument: mapper inline in repository (no separate Mapper class)
21
- - Entities generate own IDs via crypto.randomUUID()
22
- - Definitions are global (no project_id on agent_definitions table)
23
-
24
- ## Testing
25
- - Add context: { projectId } to request mocks
26
- - Set process.env.ENABLE_OBJECT_STORAGE = 'true' for MinIO tests
27
- - Use describe.skipIf for external service tests (Neo4j, PostgreSQL)
28
- - UUID IDs: entities generate own — don't pass id to constructors
29
-
30
- ## What NOT to Do
31
- - NEVER edit .orchestrator/orchestrator-index.json (deprecated since RFC-012)
32
- - NEVER store artifacts on filesystem (use MinIO via MCP)
33
- - NEVER bump versions manually (use /release skill)
34
- - NEVER read/write orchestrator-index.json for workflow state
6
+ # Project Conventions
7
+
8
+ ## Stack Context
9
+
10
+ Stack-specific conventions (commands, patterns, architecture rules) are provided in the `[Stack Context]` section of your prompt — injected automatically by the orchestrator based on the detected workspace stack.
11
+
12
+ If you need deeper guidance on a specific convention topic, use:
13
+ ```
14
+ getStackConventions({ pack: "<pack-id-from-context>", topic: "<topic>" })
15
+ ```
16
+
17
+ ## Universal Conventions (Stack-Agnostic)
18
+
19
+ These apply to ALL projects regardless of stack:
20
+
21
+ ### Quality Standards
22
+ - TDD: Write tests BEFORE implementation
23
+ - Coverage: Minimum 80% test coverage
24
+ - SOLID principles: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion
25
+ - Clean Code: Meaningful names, small functions, no magic numbers
26
+
27
+ ### Lint gate scope
28
+
29
+ When task plans specify a lint verification gate (ruff, eslint, etc.), the default scope MUST cover **both `src/` and `tests/`** (or equivalent test directories) — not src-only.
30
+
31
+ ```bash
32
+ # Python (ruff)
33
+ ruff check src/ tests/
34
+
35
+ # TypeScript (eslint)
36
+ npx eslint src/ tests/
37
+ ```
38
+
39
+ **Rationale:** src-only scoping masks lint debt landing in test files; subsequent CI runs / next contributors discover it as a fix-up commit window. Origin: S226 wave-3c TD-S226-003 fix-up commit (`8bad8d2`). Promoted from TD-S226-005.
40
+
41
+ If a task-generator template emits a lint gate, it MUST default to broader scope. Optionally promote to `pre-commit` hook in target repo.
42
+
43
+ ### Git Conventions
44
+ - Conventional Commits: feat/fix/refactor/test/docs/chore prefix
45
+ - Co-Authored-By trailer for AI-assisted commits
46
+ - Atomic commits: one logical change per commit
47
+
48
+ ### Architecture Principles
49
+ - Dependencies point inward (presentation → application → domain)
50
+ - Domain layer has zero external dependencies
51
+ - Ports in application layer, adapters in infrastructure
52
+ - No business logic in presentation layer
53
+
54
+ ### Documentation
55
+ - Code should be self-documenting; comments explain "why" not "what"
56
+ - Public APIs need JSDoc/docstrings
57
+ - Architecture decisions in ADRs
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: project-management-enterprise
3
- description: PME workflow runtime playbook. Load when: "PME workflow", "consultoria", "consultoria externa", "consultoria interna", "software handoff", "cirurgico", "variant=consultoria-externa", or when starting/advancing a project_management_enterprise workflow. Provides variant selection guide, gate intensity tuning, persona pairing strategy, adversarial review iteration playbook, and phase lifecycle reference.
3
+ description: 'PME workflow runtime playbook. Load when: "PME workflow", "consultoria", "consultoria externa", "consultoria interna", "software handoff", "cirurgico", "variant=consultoria-externa", or when starting/advancing a project_management_enterprise workflow. Provides variant selection guide, gate intensity tuning, persona pairing strategy, adversarial review iteration playbook, and phase lifecycle reference.'
4
4
  allowed-tools: Read
5
5
  ---
6
6