tapps-agents 3.5.41__py3-none-any.whl → 3.6.1__py3-none-any.whl
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.
- tapps_agents/__init__.py +2 -2
- tapps_agents/agents/reviewer/scoring.py +1566 -1566
- tapps_agents/agents/reviewer/tools/__init__.py +41 -41
- tapps_agents/cli/commands/health.py +665 -665
- tapps_agents/cli/commands/top_level.py +3586 -3586
- tapps_agents/core/artifact_context_builder.py +293 -0
- tapps_agents/core/config.py +33 -0
- tapps_agents/health/orchestrator.py +271 -271
- tapps_agents/resources/__init__.py +5 -0
- tapps_agents/resources/claude/__init__.py +1 -0
- tapps_agents/resources/claude/commands/README.md +156 -0
- tapps_agents/resources/claude/commands/__init__.py +1 -0
- tapps_agents/resources/claude/commands/build-fix.md +22 -0
- tapps_agents/resources/claude/commands/build.md +77 -0
- tapps_agents/resources/claude/commands/debug.md +53 -0
- tapps_agents/resources/claude/commands/design.md +68 -0
- tapps_agents/resources/claude/commands/docs.md +53 -0
- tapps_agents/resources/claude/commands/e2e.md +22 -0
- tapps_agents/resources/claude/commands/fix.md +54 -0
- tapps_agents/resources/claude/commands/implement.md +53 -0
- tapps_agents/resources/claude/commands/improve.md +53 -0
- tapps_agents/resources/claude/commands/library-docs.md +64 -0
- tapps_agents/resources/claude/commands/lint.md +52 -0
- tapps_agents/resources/claude/commands/plan.md +65 -0
- tapps_agents/resources/claude/commands/refactor-clean.md +21 -0
- tapps_agents/resources/claude/commands/refactor.md +55 -0
- tapps_agents/resources/claude/commands/review.md +67 -0
- tapps_agents/resources/claude/commands/score.md +60 -0
- tapps_agents/resources/claude/commands/security-review.md +22 -0
- tapps_agents/resources/claude/commands/security-scan.md +54 -0
- tapps_agents/resources/claude/commands/tdd.md +24 -0
- tapps_agents/resources/claude/commands/test-coverage.md +21 -0
- tapps_agents/resources/claude/commands/test.md +54 -0
- tapps_agents/resources/claude/commands/update-codemaps.md +20 -0
- tapps_agents/resources/claude/commands/update-docs.md +21 -0
- tapps_agents/resources/claude/skills/__init__.py +1 -0
- tapps_agents/resources/claude/skills/analyst/SKILL.md +272 -0
- tapps_agents/resources/claude/skills/analyst/__init__.py +1 -0
- tapps_agents/resources/claude/skills/architect/SKILL.md +282 -0
- tapps_agents/resources/claude/skills/architect/__init__.py +1 -0
- tapps_agents/resources/claude/skills/backend-patterns/SKILL.md +30 -0
- tapps_agents/resources/claude/skills/backend-patterns/__init__.py +1 -0
- tapps_agents/resources/claude/skills/coding-standards/SKILL.md +29 -0
- tapps_agents/resources/claude/skills/coding-standards/__init__.py +1 -0
- tapps_agents/resources/claude/skills/debugger/SKILL.md +203 -0
- tapps_agents/resources/claude/skills/debugger/__init__.py +1 -0
- tapps_agents/resources/claude/skills/designer/SKILL.md +243 -0
- tapps_agents/resources/claude/skills/designer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/documenter/SKILL.md +252 -0
- tapps_agents/resources/claude/skills/documenter/__init__.py +1 -0
- tapps_agents/resources/claude/skills/enhancer/SKILL.md +307 -0
- tapps_agents/resources/claude/skills/enhancer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/evaluator/SKILL.md +204 -0
- tapps_agents/resources/claude/skills/evaluator/__init__.py +1 -0
- tapps_agents/resources/claude/skills/frontend-patterns/SKILL.md +29 -0
- tapps_agents/resources/claude/skills/frontend-patterns/__init__.py +1 -0
- tapps_agents/resources/claude/skills/implementer/SKILL.md +188 -0
- tapps_agents/resources/claude/skills/implementer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/improver/SKILL.md +218 -0
- tapps_agents/resources/claude/skills/improver/__init__.py +1 -0
- tapps_agents/resources/claude/skills/ops/SKILL.md +281 -0
- tapps_agents/resources/claude/skills/ops/__init__.py +1 -0
- tapps_agents/resources/claude/skills/orchestrator/SKILL.md +390 -0
- tapps_agents/resources/claude/skills/orchestrator/__init__.py +1 -0
- tapps_agents/resources/claude/skills/planner/SKILL.md +254 -0
- tapps_agents/resources/claude/skills/planner/__init__.py +1 -0
- tapps_agents/resources/claude/skills/reviewer/SKILL.md +434 -0
- tapps_agents/resources/claude/skills/reviewer/__init__.py +1 -0
- tapps_agents/resources/claude/skills/security-review/SKILL.md +31 -0
- tapps_agents/resources/claude/skills/security-review/__init__.py +1 -0
- tapps_agents/resources/claude/skills/simple-mode/SKILL.md +695 -0
- tapps_agents/resources/claude/skills/simple-mode/__init__.py +1 -0
- tapps_agents/resources/claude/skills/tester/SKILL.md +219 -0
- tapps_agents/resources/claude/skills/tester/__init__.py +1 -0
- tapps_agents/resources/cursor/.cursorignore +35 -0
- tapps_agents/resources/cursor/__init__.py +1 -0
- tapps_agents/resources/cursor/commands/__init__.py +1 -0
- tapps_agents/resources/cursor/commands/build-fix.md +11 -0
- tapps_agents/resources/cursor/commands/build.md +11 -0
- tapps_agents/resources/cursor/commands/e2e.md +11 -0
- tapps_agents/resources/cursor/commands/fix.md +11 -0
- tapps_agents/resources/cursor/commands/refactor-clean.md +11 -0
- tapps_agents/resources/cursor/commands/review.md +11 -0
- tapps_agents/resources/cursor/commands/security-review.md +11 -0
- tapps_agents/resources/cursor/commands/tdd.md +11 -0
- tapps_agents/resources/cursor/commands/test-coverage.md +11 -0
- tapps_agents/resources/cursor/commands/test.md +11 -0
- tapps_agents/resources/cursor/commands/update-codemaps.md +10 -0
- tapps_agents/resources/cursor/commands/update-docs.md +11 -0
- tapps_agents/resources/cursor/rules/__init__.py +1 -0
- tapps_agents/resources/cursor/rules/agent-capabilities.mdc +687 -0
- tapps_agents/resources/cursor/rules/coding-style.mdc +31 -0
- tapps_agents/resources/cursor/rules/command-reference.mdc +2081 -0
- tapps_agents/resources/cursor/rules/cursor-mode-usage.mdc +125 -0
- tapps_agents/resources/cursor/rules/git-workflow.mdc +29 -0
- tapps_agents/resources/cursor/rules/performance.mdc +29 -0
- tapps_agents/resources/cursor/rules/project-context.mdc +163 -0
- tapps_agents/resources/cursor/rules/project-profiling.mdc +197 -0
- tapps_agents/resources/cursor/rules/quick-reference.mdc +630 -0
- tapps_agents/resources/cursor/rules/security.mdc +32 -0
- tapps_agents/resources/cursor/rules/simple-mode.mdc +500 -0
- tapps_agents/resources/cursor/rules/testing.mdc +31 -0
- tapps_agents/resources/cursor/rules/when-to-use.mdc +156 -0
- tapps_agents/resources/cursor/rules/workflow-presets.mdc +179 -0
- tapps_agents/resources/customizations/__init__.py +1 -0
- tapps_agents/resources/customizations/example-custom.yaml +83 -0
- tapps_agents/resources/hooks/__init__.py +1 -0
- tapps_agents/resources/hooks/templates/README.md +5 -0
- tapps_agents/resources/hooks/templates/__init__.py +1 -0
- tapps_agents/resources/hooks/templates/add-project-context.yaml +8 -0
- tapps_agents/resources/hooks/templates/auto-format-js.yaml +10 -0
- tapps_agents/resources/hooks/templates/auto-format-python.yaml +10 -0
- tapps_agents/resources/hooks/templates/git-commit-check.yaml +7 -0
- tapps_agents/resources/hooks/templates/notify-on-complete.yaml +8 -0
- tapps_agents/resources/hooks/templates/quality-gate.yaml +8 -0
- tapps_agents/resources/hooks/templates/security-scan-on-edit.yaml +10 -0
- tapps_agents/resources/hooks/templates/session-end-log.yaml +7 -0
- tapps_agents/resources/hooks/templates/show-beads-ready.yaml +8 -0
- tapps_agents/resources/hooks/templates/test-on-edit.yaml +10 -0
- tapps_agents/resources/hooks/templates/update-docs-on-complete.yaml +8 -0
- tapps_agents/resources/hooks/templates/user-prompt-log.yaml +7 -0
- tapps_agents/resources/scripts/__init__.py +1 -0
- tapps_agents/resources/scripts/set_bd_path.ps1 +51 -0
- tapps_agents/resources/workflows/__init__.py +1 -0
- tapps_agents/resources/workflows/presets/__init__.py +1 -0
- tapps_agents/resources/workflows/presets/brownfield-analysis.yaml +235 -0
- tapps_agents/resources/workflows/presets/fix.yaml +78 -0
- tapps_agents/resources/workflows/presets/full-sdlc.yaml +122 -0
- tapps_agents/resources/workflows/presets/quality.yaml +82 -0
- tapps_agents/resources/workflows/presets/rapid-dev.yaml +84 -0
- tapps_agents/simple_mode/orchestrators/base.py +185 -185
- tapps_agents/simple_mode/orchestrators/build_orchestrator.py +2700 -2667
- tapps_agents/simple_mode/orchestrators/fix_orchestrator.py +723 -723
- tapps_agents/workflow/cursor_executor.py +2337 -2337
- tapps_agents/workflow/message_formatter.py +188 -188
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/METADATA +6 -6
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/RECORD +141 -18
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/WHEEL +0 -0
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/entry_points.txt +0 -0
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/licenses/LICENSE +0 -0
- {tapps_agents-3.5.41.dist-info → tapps_agents-3.6.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Brownfield Analysis Workflow
|
|
2
|
+
# Comprehensive analysis of existing (brownfield) projects
|
|
3
|
+
|
|
4
|
+
workflow:
|
|
5
|
+
id: brownfield-analysis
|
|
6
|
+
name: Brownfield Project Analysis
|
|
7
|
+
description: |
|
|
8
|
+
Comprehensive analysis workflow for existing codebases that provides:
|
|
9
|
+
- Project discovery and profiling
|
|
10
|
+
- Code quality assessment
|
|
11
|
+
- Architecture pattern analysis
|
|
12
|
+
- Codebase structure evaluation
|
|
13
|
+
- Technical debt categorization and prioritization
|
|
14
|
+
- Dependency and integration mapping
|
|
15
|
+
- Test and documentation coverage analysis
|
|
16
|
+
- Modernization roadmap generation
|
|
17
|
+
|
|
18
|
+
This workflow orchestrates multiple agents to provide a complete picture
|
|
19
|
+
of a brownfield project's current state and recommended improvements.
|
|
20
|
+
type: brownfield
|
|
21
|
+
|
|
22
|
+
sequence:
|
|
23
|
+
- step: discovery
|
|
24
|
+
agent: analyst
|
|
25
|
+
action: analyze-brownfield
|
|
26
|
+
parameters:
|
|
27
|
+
phase: discovery
|
|
28
|
+
creates:
|
|
29
|
+
- project_profile
|
|
30
|
+
- service_inventory
|
|
31
|
+
- tech_stack_summary
|
|
32
|
+
- file_structure_map
|
|
33
|
+
notes: |
|
|
34
|
+
Phase 1: Discover project structure, services, tech stack, and file organization.
|
|
35
|
+
Uses ProjectProfileDetector, ServiceDiscovery, and LanguageDetector.
|
|
36
|
+
output: |
|
|
37
|
+
- Project profile saved to .tapps-agents/project-profile.yaml
|
|
38
|
+
- Service inventory JSON
|
|
39
|
+
- Tech stack summary
|
|
40
|
+
|
|
41
|
+
- step: quality_analysis
|
|
42
|
+
agent: reviewer
|
|
43
|
+
action: analyze-project
|
|
44
|
+
requires:
|
|
45
|
+
- discovery
|
|
46
|
+
creates:
|
|
47
|
+
- quality_scores
|
|
48
|
+
- duplication_report
|
|
49
|
+
- security_scan_results
|
|
50
|
+
notes: |
|
|
51
|
+
Phase 2: Comprehensive code quality analysis across all services.
|
|
52
|
+
Uses reviewer analyze-project, duplication detection, and security scanning.
|
|
53
|
+
output: |
|
|
54
|
+
- Quality scores by service
|
|
55
|
+
- Duplication report
|
|
56
|
+
- Security vulnerabilities list
|
|
57
|
+
|
|
58
|
+
- step: architecture_analysis
|
|
59
|
+
agent: analyst
|
|
60
|
+
action: analyze-brownfield
|
|
61
|
+
parameters:
|
|
62
|
+
phase: architecture
|
|
63
|
+
requires:
|
|
64
|
+
- discovery
|
|
65
|
+
creates:
|
|
66
|
+
- architecture_patterns
|
|
67
|
+
- component_graph
|
|
68
|
+
- coupling_metrics
|
|
69
|
+
- architectural_debt
|
|
70
|
+
notes: |
|
|
71
|
+
Phase 3: Analyze architecture patterns, component relationships, and coupling.
|
|
72
|
+
Uses ArchitectureAnalyzer for import graph analysis and pattern detection.
|
|
73
|
+
output: |
|
|
74
|
+
- Architecture pattern inventory
|
|
75
|
+
- Component dependency graph
|
|
76
|
+
- Coupling/cohesion metrics
|
|
77
|
+
- Architectural debt assessment
|
|
78
|
+
|
|
79
|
+
- step: structure_analysis
|
|
80
|
+
agent: analyst
|
|
81
|
+
action: analyze-brownfield
|
|
82
|
+
parameters:
|
|
83
|
+
phase: structure
|
|
84
|
+
requires:
|
|
85
|
+
- discovery
|
|
86
|
+
creates:
|
|
87
|
+
- structure_quality_metrics
|
|
88
|
+
- module_organization
|
|
89
|
+
- structural_issues
|
|
90
|
+
notes: |
|
|
91
|
+
Phase 4: Assess codebase structure, module organization, and structural quality.
|
|
92
|
+
Uses StructureAnalyzer for organization and coupling analysis.
|
|
93
|
+
output: |
|
|
94
|
+
- Structure quality scores
|
|
95
|
+
- Module organization report
|
|
96
|
+
- Structural issue list
|
|
97
|
+
|
|
98
|
+
- step: dependency_analysis
|
|
99
|
+
agent: ops
|
|
100
|
+
action: audit-dependencies
|
|
101
|
+
requires:
|
|
102
|
+
- discovery
|
|
103
|
+
creates:
|
|
104
|
+
- dependency_tree
|
|
105
|
+
- security_vulnerabilities
|
|
106
|
+
- outdated_packages
|
|
107
|
+
- integration_points
|
|
108
|
+
notes: |
|
|
109
|
+
Phase 6: Analyze dependencies, security vulnerabilities, and integration points.
|
|
110
|
+
Uses ops audit-dependencies and DependencyAnalyzer.
|
|
111
|
+
output: |
|
|
112
|
+
- Dependency tree visualization
|
|
113
|
+
- Security vulnerability report
|
|
114
|
+
- Outdated package list
|
|
115
|
+
- Integration point map
|
|
116
|
+
|
|
117
|
+
- step: test_doc_analysis
|
|
118
|
+
agent: analyst
|
|
119
|
+
action: analyze-brownfield
|
|
120
|
+
parameters:
|
|
121
|
+
phase: tests_docs
|
|
122
|
+
requires:
|
|
123
|
+
- discovery
|
|
124
|
+
creates:
|
|
125
|
+
- test_coverage_report
|
|
126
|
+
- test_gaps
|
|
127
|
+
- documentation_coverage
|
|
128
|
+
- documentation_gaps
|
|
129
|
+
notes: |
|
|
130
|
+
Phase 7: Analyze test coverage and documentation completeness.
|
|
131
|
+
Uses TestCoverageAnalyzer and DocumentationAnalyzer.
|
|
132
|
+
output: |
|
|
133
|
+
- Test coverage report
|
|
134
|
+
- Test gap analysis
|
|
135
|
+
- Documentation coverage report
|
|
136
|
+
- Documentation gap analysis
|
|
137
|
+
|
|
138
|
+
- step: technical_debt_assessment
|
|
139
|
+
agent: analyst
|
|
140
|
+
action: analyze-brownfield
|
|
141
|
+
parameters:
|
|
142
|
+
phase: technical_debt
|
|
143
|
+
requires:
|
|
144
|
+
- quality_analysis
|
|
145
|
+
- architecture_analysis
|
|
146
|
+
- structure_analysis
|
|
147
|
+
- dependency_analysis
|
|
148
|
+
- test_doc_analysis
|
|
149
|
+
creates:
|
|
150
|
+
- debt_inventory
|
|
151
|
+
- debt_categorization
|
|
152
|
+
- prioritized_debt
|
|
153
|
+
- remediation_roadmap
|
|
154
|
+
notes: |
|
|
155
|
+
Phase 5: Aggregate and categorize technical debt from all analysis phases.
|
|
156
|
+
Uses TechnicalDebtAnalyzer to prioritize and generate recommendations.
|
|
157
|
+
output: |
|
|
158
|
+
- Technical debt inventory
|
|
159
|
+
- Debt categorization (code, architecture, dependencies, tests, docs)
|
|
160
|
+
- Prioritized debt list
|
|
161
|
+
- Remediation recommendations
|
|
162
|
+
|
|
163
|
+
- step: modernization_roadmap
|
|
164
|
+
agent: analyst
|
|
165
|
+
action: analyze-brownfield
|
|
166
|
+
parameters:
|
|
167
|
+
phase: modernization
|
|
168
|
+
requires:
|
|
169
|
+
- technical_debt_assessment
|
|
170
|
+
creates:
|
|
171
|
+
- modernization_opportunities
|
|
172
|
+
- prioritized_improvements
|
|
173
|
+
- effort_estimates
|
|
174
|
+
- implementation_roadmap
|
|
175
|
+
notes: |
|
|
176
|
+
Phase 8: Generate modernization roadmap with prioritized improvements.
|
|
177
|
+
Uses ModernizationRoadmapGenerator to synthesize all findings.
|
|
178
|
+
output: |
|
|
179
|
+
- Modernization opportunities list
|
|
180
|
+
- Prioritized improvement plan
|
|
181
|
+
- Effort estimates
|
|
182
|
+
- Implementation timeline
|
|
183
|
+
|
|
184
|
+
- step: generate_report
|
|
185
|
+
agent: analyst
|
|
186
|
+
action: analyze-brownfield
|
|
187
|
+
parameters:
|
|
188
|
+
phase: report_generation
|
|
189
|
+
requires:
|
|
190
|
+
- modernization_roadmap
|
|
191
|
+
creates:
|
|
192
|
+
- comprehensive_report_json
|
|
193
|
+
- comprehensive_report_markdown
|
|
194
|
+
- comprehensive_report_html
|
|
195
|
+
notes: |
|
|
196
|
+
Final step: Generate comprehensive reports in multiple formats.
|
|
197
|
+
Consolidates all phase results into unified reports.
|
|
198
|
+
output: |
|
|
199
|
+
- JSON report (machine-readable)
|
|
200
|
+
- Markdown report (human-readable)
|
|
201
|
+
- HTML report (interactive dashboard)
|
|
202
|
+
|
|
203
|
+
gates:
|
|
204
|
+
- name: discovery_complete
|
|
205
|
+
condition: discovery.status == "success"
|
|
206
|
+
message: "Discovery phase must complete successfully"
|
|
207
|
+
|
|
208
|
+
- name: quality_analysis_complete
|
|
209
|
+
condition: quality_analysis.status == "success"
|
|
210
|
+
message: "Quality analysis phase must complete successfully"
|
|
211
|
+
|
|
212
|
+
outputs:
|
|
213
|
+
reports:
|
|
214
|
+
- type: json
|
|
215
|
+
path: reports/brownfield-analysis/analysis-report.json
|
|
216
|
+
description: "Complete analysis results in JSON format"
|
|
217
|
+
- type: markdown
|
|
218
|
+
path: reports/brownfield-analysis/analysis-report.md
|
|
219
|
+
description: "Human-readable markdown report"
|
|
220
|
+
- type: html
|
|
221
|
+
path: reports/brownfield-analysis/analysis-report.html
|
|
222
|
+
description: "Interactive HTML dashboard"
|
|
223
|
+
|
|
224
|
+
metadata:
|
|
225
|
+
version: "1.0.0"
|
|
226
|
+
created: "2025-01-XX"
|
|
227
|
+
author: "TappsCodingAgents Framework"
|
|
228
|
+
estimated_duration: "15-30 minutes"
|
|
229
|
+
complexity: "high"
|
|
230
|
+
project_types:
|
|
231
|
+
- brownfield
|
|
232
|
+
- existing-project
|
|
233
|
+
- legacy-modernization
|
|
234
|
+
- codebase-assessment
|
|
235
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Fix Workflow
|
|
2
|
+
# Best for: Bug fixes, hotfixes, maintenance, refactoring. Replaces maintenance, quick-fix, simple-fix-issues.
|
|
3
|
+
|
|
4
|
+
workflow:
|
|
5
|
+
id: fix
|
|
6
|
+
name: "Fix"
|
|
7
|
+
description: "Debug, fix, and verify issues in existing code"
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
|
|
10
|
+
type: brownfield
|
|
11
|
+
auto_detect: true
|
|
12
|
+
|
|
13
|
+
settings:
|
|
14
|
+
quality_gates: true
|
|
15
|
+
code_scoring: true
|
|
16
|
+
context_tier_default: 2
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- id: enhance
|
|
20
|
+
agent: enhancer
|
|
21
|
+
action: enhance_prompt
|
|
22
|
+
context_tier: 1
|
|
23
|
+
creates:
|
|
24
|
+
- enhanced-requirements.md
|
|
25
|
+
requires: []
|
|
26
|
+
condition: optional
|
|
27
|
+
next: debug
|
|
28
|
+
|
|
29
|
+
- id: debug
|
|
30
|
+
agent: debugger
|
|
31
|
+
action: analyze_error
|
|
32
|
+
context_tier: 2
|
|
33
|
+
requires: []
|
|
34
|
+
creates:
|
|
35
|
+
- debug-report.md
|
|
36
|
+
next: fix
|
|
37
|
+
|
|
38
|
+
- id: fix
|
|
39
|
+
agent: implementer
|
|
40
|
+
action: write_code
|
|
41
|
+
context_tier: 3
|
|
42
|
+
requires:
|
|
43
|
+
- debug-report.md
|
|
44
|
+
creates:
|
|
45
|
+
- fixed-code/
|
|
46
|
+
next: review
|
|
47
|
+
|
|
48
|
+
- id: review
|
|
49
|
+
agent: reviewer
|
|
50
|
+
action: review_code
|
|
51
|
+
context_tier: 2
|
|
52
|
+
requires:
|
|
53
|
+
- fixed-code/
|
|
54
|
+
scoring:
|
|
55
|
+
enabled: true
|
|
56
|
+
thresholds:
|
|
57
|
+
overall_min: 65
|
|
58
|
+
security_min: 6.5
|
|
59
|
+
gate:
|
|
60
|
+
condition: "scoring.passed == true"
|
|
61
|
+
on_pass: testing
|
|
62
|
+
on_fail: fix
|
|
63
|
+
next: testing
|
|
64
|
+
|
|
65
|
+
- id: testing
|
|
66
|
+
agent: tester
|
|
67
|
+
action: write_tests
|
|
68
|
+
context_tier: 2
|
|
69
|
+
requires:
|
|
70
|
+
- fixed-code/
|
|
71
|
+
creates:
|
|
72
|
+
- tests/
|
|
73
|
+
next: complete
|
|
74
|
+
|
|
75
|
+
- id: complete
|
|
76
|
+
agent: orchestrator
|
|
77
|
+
action: finalize
|
|
78
|
+
context_tier: 1
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Full SDLC Pipeline Workflow
|
|
2
|
+
# Best for: Enterprise projects, new applications, compliance-heavy systems
|
|
3
|
+
|
|
4
|
+
workflow:
|
|
5
|
+
id: full-sdlc
|
|
6
|
+
name: "Full SDLC Pipeline"
|
|
7
|
+
description: "Complete software development lifecycle with all quality gates"
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
|
|
10
|
+
type: greenfield
|
|
11
|
+
auto_detect: true
|
|
12
|
+
|
|
13
|
+
settings:
|
|
14
|
+
quality_gates: true
|
|
15
|
+
code_scoring: true
|
|
16
|
+
context_tier_default: 2
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- id: requirements
|
|
20
|
+
agent: analyst
|
|
21
|
+
action: gather_requirements
|
|
22
|
+
context_tier: 1
|
|
23
|
+
creates:
|
|
24
|
+
- requirements.md
|
|
25
|
+
requires: []
|
|
26
|
+
condition: required
|
|
27
|
+
next: planning
|
|
28
|
+
|
|
29
|
+
- id: planning
|
|
30
|
+
agent: planner
|
|
31
|
+
action: create_stories
|
|
32
|
+
context_tier: 1
|
|
33
|
+
requires:
|
|
34
|
+
- requirements.md
|
|
35
|
+
creates:
|
|
36
|
+
- stories/
|
|
37
|
+
next: design
|
|
38
|
+
|
|
39
|
+
- id: design
|
|
40
|
+
agent: architect
|
|
41
|
+
action: design_system
|
|
42
|
+
context_tier: 2
|
|
43
|
+
requires:
|
|
44
|
+
- requirements.md
|
|
45
|
+
- stories/
|
|
46
|
+
creates:
|
|
47
|
+
- architecture.md
|
|
48
|
+
next: api_design
|
|
49
|
+
|
|
50
|
+
- id: api_design
|
|
51
|
+
agent: designer
|
|
52
|
+
action: api_design
|
|
53
|
+
context_tier: 2
|
|
54
|
+
requires:
|
|
55
|
+
- architecture.md
|
|
56
|
+
creates:
|
|
57
|
+
- api-specs/
|
|
58
|
+
next: implementation
|
|
59
|
+
|
|
60
|
+
- id: implementation
|
|
61
|
+
agent: implementer
|
|
62
|
+
action: write_code
|
|
63
|
+
context_tier: 3
|
|
64
|
+
requires:
|
|
65
|
+
- architecture.md
|
|
66
|
+
- api-specs/
|
|
67
|
+
- stories/
|
|
68
|
+
creates:
|
|
69
|
+
- src/
|
|
70
|
+
next: review
|
|
71
|
+
|
|
72
|
+
- id: review
|
|
73
|
+
agent: reviewer
|
|
74
|
+
action: review_code
|
|
75
|
+
context_tier: 2
|
|
76
|
+
requires:
|
|
77
|
+
- src/
|
|
78
|
+
scoring:
|
|
79
|
+
enabled: true
|
|
80
|
+
thresholds:
|
|
81
|
+
overall_min: 70
|
|
82
|
+
security_min: 7.0
|
|
83
|
+
maintainability_min: 7.0
|
|
84
|
+
gate:
|
|
85
|
+
condition: "scoring.passed == true"
|
|
86
|
+
on_pass: testing
|
|
87
|
+
on_fail: implementation
|
|
88
|
+
next: testing
|
|
89
|
+
|
|
90
|
+
- id: testing
|
|
91
|
+
agent: tester
|
|
92
|
+
action: write_tests
|
|
93
|
+
context_tier: 2
|
|
94
|
+
requires:
|
|
95
|
+
- src/
|
|
96
|
+
creates:
|
|
97
|
+
- tests/
|
|
98
|
+
next: security
|
|
99
|
+
|
|
100
|
+
- id: security
|
|
101
|
+
agent: ops
|
|
102
|
+
action: security_scan
|
|
103
|
+
context_tier: 1
|
|
104
|
+
requires:
|
|
105
|
+
- src/
|
|
106
|
+
next: documentation
|
|
107
|
+
|
|
108
|
+
- id: documentation
|
|
109
|
+
agent: documenter
|
|
110
|
+
action: generate_docs
|
|
111
|
+
context_tier: 1
|
|
112
|
+
requires:
|
|
113
|
+
- src/
|
|
114
|
+
creates:
|
|
115
|
+
- docs/
|
|
116
|
+
next: complete
|
|
117
|
+
|
|
118
|
+
- id: complete
|
|
119
|
+
agent: orchestrator
|
|
120
|
+
action: finalize
|
|
121
|
+
context_tier: 1
|
|
122
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Quality-Focused Workflow
|
|
2
|
+
# Best for: Code quality initiatives, refactoring sprints, quality gates
|
|
3
|
+
|
|
4
|
+
workflow:
|
|
5
|
+
id: quality
|
|
6
|
+
name: "Quality Improvement"
|
|
7
|
+
description: "Comprehensive code review and improvement cycle"
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
|
|
10
|
+
type: brownfield
|
|
11
|
+
auto_detect: true
|
|
12
|
+
|
|
13
|
+
settings:
|
|
14
|
+
quality_gates: true
|
|
15
|
+
code_scoring: true
|
|
16
|
+
context_tier_default: 2
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- id: initial_review
|
|
20
|
+
agent: reviewer
|
|
21
|
+
action: review_code
|
|
22
|
+
context_tier: 2
|
|
23
|
+
requires: []
|
|
24
|
+
scoring:
|
|
25
|
+
enabled: true
|
|
26
|
+
thresholds:
|
|
27
|
+
overall_min: 0
|
|
28
|
+
creates:
|
|
29
|
+
- review-report.md
|
|
30
|
+
next: improve
|
|
31
|
+
|
|
32
|
+
- id: improve
|
|
33
|
+
agent: improver
|
|
34
|
+
action: refactor
|
|
35
|
+
context_tier: 3
|
|
36
|
+
requires:
|
|
37
|
+
- review-report.md
|
|
38
|
+
creates:
|
|
39
|
+
- improved-code/
|
|
40
|
+
next: re_review
|
|
41
|
+
|
|
42
|
+
- id: re_review
|
|
43
|
+
agent: reviewer
|
|
44
|
+
action: review_code
|
|
45
|
+
context_tier: 2
|
|
46
|
+
requires:
|
|
47
|
+
- improved-code/
|
|
48
|
+
scoring:
|
|
49
|
+
enabled: true
|
|
50
|
+
thresholds:
|
|
51
|
+
overall_min: 75
|
|
52
|
+
maintainability_min: 8.0
|
|
53
|
+
security_min: 7.5
|
|
54
|
+
gate:
|
|
55
|
+
condition: "scoring.passed == true"
|
|
56
|
+
on_pass: testing
|
|
57
|
+
on_fail: improve
|
|
58
|
+
next: testing
|
|
59
|
+
|
|
60
|
+
- id: testing
|
|
61
|
+
agent: tester
|
|
62
|
+
action: write_tests
|
|
63
|
+
context_tier: 2
|
|
64
|
+
requires:
|
|
65
|
+
- improved-code/
|
|
66
|
+
creates:
|
|
67
|
+
- tests/
|
|
68
|
+
next: security
|
|
69
|
+
|
|
70
|
+
- id: security
|
|
71
|
+
agent: ops
|
|
72
|
+
action: security_scan
|
|
73
|
+
context_tier: 1
|
|
74
|
+
requires:
|
|
75
|
+
- improved-code/
|
|
76
|
+
next: complete
|
|
77
|
+
|
|
78
|
+
- id: complete
|
|
79
|
+
agent: orchestrator
|
|
80
|
+
action: finalize
|
|
81
|
+
context_tier: 1
|
|
82
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Rapid Development Workflow
|
|
2
|
+
# Best for: Feature development, sprint work, iterative development
|
|
3
|
+
|
|
4
|
+
workflow:
|
|
5
|
+
id: rapid-dev
|
|
6
|
+
name: "Rapid Development"
|
|
7
|
+
description: "Fast feature development with quality checks"
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
|
|
10
|
+
type: brownfield
|
|
11
|
+
auto_detect: true
|
|
12
|
+
|
|
13
|
+
settings:
|
|
14
|
+
quality_gates: true
|
|
15
|
+
code_scoring: true
|
|
16
|
+
context_tier_default: 2
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- id: enhance
|
|
20
|
+
agent: enhancer
|
|
21
|
+
action: enhance_prompt
|
|
22
|
+
context_tier: 1
|
|
23
|
+
creates:
|
|
24
|
+
- enhanced-requirements.md
|
|
25
|
+
requires: []
|
|
26
|
+
condition: optional
|
|
27
|
+
next: planning
|
|
28
|
+
|
|
29
|
+
- id: planning
|
|
30
|
+
agent: planner
|
|
31
|
+
action: create_stories
|
|
32
|
+
context_tier: 1
|
|
33
|
+
requires: []
|
|
34
|
+
creates:
|
|
35
|
+
- stories/
|
|
36
|
+
next: implementation
|
|
37
|
+
|
|
38
|
+
- id: implementation
|
|
39
|
+
agent: implementer
|
|
40
|
+
action: write_code
|
|
41
|
+
context_tier: 3
|
|
42
|
+
requires:
|
|
43
|
+
- stories/
|
|
44
|
+
creates:
|
|
45
|
+
- src/
|
|
46
|
+
next: review
|
|
47
|
+
|
|
48
|
+
- id: review
|
|
49
|
+
agent: reviewer
|
|
50
|
+
action: review_code
|
|
51
|
+
context_tier: 2
|
|
52
|
+
requires:
|
|
53
|
+
- src/
|
|
54
|
+
scoring:
|
|
55
|
+
enabled: true
|
|
56
|
+
thresholds:
|
|
57
|
+
overall_min: 65
|
|
58
|
+
security_min: 6.5
|
|
59
|
+
gate:
|
|
60
|
+
condition: "scoring.passed == true"
|
|
61
|
+
on_pass: testing
|
|
62
|
+
on_fail: implementation
|
|
63
|
+
next: testing
|
|
64
|
+
|
|
65
|
+
- id: testing
|
|
66
|
+
agent: tester
|
|
67
|
+
action: write_tests
|
|
68
|
+
context_tier: 2
|
|
69
|
+
requires:
|
|
70
|
+
- src/
|
|
71
|
+
creates:
|
|
72
|
+
- tests/
|
|
73
|
+
condition: mandatory
|
|
74
|
+
gate:
|
|
75
|
+
condition: "test_coverage >= 70"
|
|
76
|
+
on_pass: complete
|
|
77
|
+
on_fail: testing
|
|
78
|
+
next: complete
|
|
79
|
+
|
|
80
|
+
- id: complete
|
|
81
|
+
agent: orchestrator
|
|
82
|
+
action: finalize
|
|
83
|
+
context_tier: 1
|
|
84
|
+
|