wegho-agentes 7.0.0 → 7.0.1
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.
- package/.agent/skills/wegho-global-rules/SKILL.md +20 -0
- package/.agent/workflows/PROMPT_GUIDE.md +7 -4
- package/.agents/cli.ts +29 -21
- package/.agents/core/base-agent.ts +28 -12
- package/.agents/core/memory-system.ts +45 -13
- package/.agents/core/report-generator.ts +26 -19
- package/.agents/orchestrator.ts +104 -74
- package/.clinerules +318 -1229
- package/.cursorrules +0 -189
- package/README.md +3 -3
- package/docs/VERSION.md +3 -2
- package/package.json +3 -3
- package/.agents/agents/ai-agents/README.md +0 -175
- package/.agents/agents/ai-agents/agent.ts +0 -83
- package/.agents/agents/ai-agents/specialty.md +0 -14
- package/.agents/agents/architecture/README.md +0 -61
- package/.agents/agents/architecture/agent.ts +0 -238
- package/.agents/agents/architecture/memory.md +0 -111
- package/.agents/agents/architecture/specialty.md +0 -31
- package/.agents/agents/automation/README.md +0 -60
- package/.agents/agents/automation/agent.ts +0 -61
- package/.agents/agents/automation/specialty.md +0 -14
- package/.agents/agents/backend/README.md +0 -155
- package/.agents/agents/backend/agent.ts +0 -100
- package/.agents/agents/backend/specialty.md +0 -14
- package/.agents/agents/cloud/README.md +0 -73
- package/.agents/agents/cloud/agent.ts +0 -53
- package/.agents/agents/cloud/specialty.md +0 -14
- package/.agents/agents/code-auditor/README.md +0 -37
- package/.agents/agents/code-auditor/agent.ts +0 -334
- package/.agents/agents/code-auditor/specialty.md +0 -14
- package/.agents/agents/cro/README.md +0 -200
- package/.agents/agents/cro/agent.ts +0 -61
- package/.agents/agents/cro/specialty.md +0 -14
- package/.agents/agents/database/README.md +0 -67
- package/.agents/agents/database/agent.ts +0 -93
- package/.agents/agents/database/specialty.md +0 -14
- package/.agents/agents/devops/README.md +0 -84
- package/.agents/agents/devops/agent.ts +0 -54
- package/.agents/agents/devops/specialty.md +0 -14
- package/.agents/agents/documentation/README.md +0 -107
- package/.agents/agents/documentation/agent.ts +0 -253
- package/.agents/agents/documentation/memory.md +0 -56
- package/.agents/agents/documentation/specialty.md +0 -33
- package/.agents/agents/frontend/README.md +0 -188
- package/.agents/agents/frontend/agent.ts +0 -211
- package/.agents/agents/frontend/memory.md +0 -139
- package/.agents/agents/frontend/specialty.md +0 -30
- package/.agents/agents/inventory/README.md +0 -35
- package/.agents/agents/inventory/agent.ts +0 -758
- package/.agents/agents/inventory/memory.md +0 -50
- package/.agents/agents/inventory/specialty.md +0 -129
- package/.agents/agents/nextjs/README.md +0 -58
- package/.agents/agents/nextjs/agent.ts +0 -114
- package/.agents/agents/nextjs/specialty.md +0 -14
- package/.agents/agents/pentest/README.md +0 -228
- package/.agents/agents/pentest/agent.ts +0 -96
- package/.agents/agents/pentest/specialty.md +0 -14
- package/.agents/agents/planning/README.md +0 -107
- package/.agents/agents/planning/agent.ts +0 -389
- package/.agents/agents/planning/specialty.md +0 -14
- package/.agents/agents/project-discovery/README.md +0 -35
- package/.agents/agents/project-discovery/agent.ts +0 -344
- package/.agents/agents/project-discovery/specialty.md +0 -14
- package/.agents/agents/quality/README.md +0 -81
- package/.agents/agents/quality/agent.ts +0 -269
- package/.agents/agents/quality/memory.md +0 -110
- package/.agents/agents/quality/specialty.md +0 -31
- package/.agents/agents/rag/README.md +0 -41
- package/.agents/agents/rag/agent.ts +0 -85
- package/.agents/agents/rag/specialty.md +0 -14
- package/.agents/agents/security/README.md +0 -152
- package/.agents/agents/security/agent.ts +0 -218
- package/.agents/agents/security/memory.md +0 -91
- package/.agents/agents/security/specialty.md +0 -31
- package/.agents/agents/task-analyzer/README.md +0 -36
- package/.agents/agents/task-analyzer/agent.ts +0 -462
- package/.agents/agents/task-analyzer/specialty.md +0 -14
- package/.agents/agents/testing/README.md +0 -161
- package/.agents/agents/testing/agent.ts +0 -61
- package/.agents/agents/testing/specialty.md +0 -14
- package/.agents/agents/uiux/README.md +0 -68
- package/.agents/agents/uiux/agent.ts +0 -95
- package/.agents/agents/uiux/specialty.md +0 -14
- package/.agents/base/base-agent.ts +0 -331
- package/.agents/base/memory-system.ts +0 -397
- package/.agents/base/skill-manager.ts +0 -95
- package/.agents/convert-memory.ps1 +0 -153
- package/.agents/examples/reporting-example.md +0 -203
- package/.agents/managers/build-manager.ts +0 -304
- package/.agents/managers/cache-manager.ts +0 -184
- package/.agents/managers/checkpoint-manager.ts +0 -299
- package/.agents/migrate-agents.ps1 +0 -117
- package/.agents/templates/change-report.md +0 -55
- package/.agents/templates/execution-plan.md +0 -36
- package/.agents/unmapped-skills.txt +0 -0
- package/.agents/utils/agent-migrator.ts +0 -360
- package/.agents/utils/agent-monitor.ts +0 -102
- package/.agents/utils/agent-parallelizer.ts +0 -108
- package/.agents/utils/context-monitor.ts +0 -140
- package/.agents/utils/feedback-collector.ts +0 -207
- package/.agents/utils/file-generator.ts +0 -304
- package/.agents/utils/memory-converter.ts +0 -217
- package/.agents/utils/memory-dashboard.ts +0 -147
- package/.agents/utils/performance-tracker.ts +0 -275
- package/.agents/utils/report-generator.ts +0 -193
- package/.agents/utils/retry-utility.ts +0 -140
- package/.agents/utils/workflow-validator.ts +0 -158
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Security Agent (com Memória)
|
|
3
|
-
*
|
|
4
|
-
* Responsabilidades:
|
|
5
|
-
* - Detectar vulnerabilidades (XSS, CSRF, SQL Injection)
|
|
6
|
-
* - Validar sanitização de inputs
|
|
7
|
-
* - Verificar proteção de rotas
|
|
8
|
-
* - Validar uso seguro de variáveis de ambiente
|
|
9
|
-
* - Detectar exposição de dados sensÃveis
|
|
10
|
-
* - Aprender com vulnerabilidades detectadas
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import * as fs from 'fs';
|
|
14
|
-
import { BaseAgent, TaskContext, TaskResult } from '../../base/base-agent.js';
|
|
15
|
-
|
|
16
|
-
export interface SecurityCheckResult extends TaskResult {
|
|
17
|
-
vulnerabilities: Array<{
|
|
18
|
-
severity: 'P0' | 'P1' | 'P2';
|
|
19
|
-
type: string;
|
|
20
|
-
file: string;
|
|
21
|
-
line?: number;
|
|
22
|
-
message: string;
|
|
23
|
-
suggestion: string;
|
|
24
|
-
}>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export class SecurityAgent extends BaseAgent {
|
|
28
|
-
constructor(memoryBasePath: string = '.agents/memory') {
|
|
29
|
-
super('security-agent', memoryBasePath);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Implementação da validação de segurança
|
|
34
|
-
*/
|
|
35
|
-
async executeTask(taskDescription: string, context: TaskContext): Promise<TaskResult> {
|
|
36
|
-
const vulnerabilities: SecurityCheckResult['vulnerabilities'] = [];
|
|
37
|
-
|
|
38
|
-
for (const filePath of context.files) {
|
|
39
|
-
if (!fs.existsSync(filePath)) {
|
|
40
|
-
continue;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
const content = fs.readFileSync(filePath, 'utf-8');
|
|
44
|
-
const lines = content.split('\n');
|
|
45
|
-
|
|
46
|
-
// 1. dangerouslySetInnerHTML sem sanitização (P0)
|
|
47
|
-
if (content.includes('dangerouslySetInnerHTML') && !content.includes('DOMPurify')) {
|
|
48
|
-
vulnerabilities.push({
|
|
49
|
-
severity: 'P0',
|
|
50
|
-
type: 'xss-vulnerability',
|
|
51
|
-
file: filePath,
|
|
52
|
-
message: 'dangerouslySetInnerHTML sem sanitização detectado',
|
|
53
|
-
suggestion: 'Usar DOMPurify.sanitize() antes de renderizar HTML',
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// 2. service_role no cliente (P0)
|
|
58
|
-
if (content.match(/service_role|SUPABASE_SERVICE_ROLE/i) && !filePath.includes('server')) {
|
|
59
|
-
vulnerabilities.push({
|
|
60
|
-
severity: 'P0',
|
|
61
|
-
type: 'security-critical',
|
|
62
|
-
file: filePath,
|
|
63
|
-
message: 'service_role key no código cliente (NUNCA expor no browser!)',
|
|
64
|
-
suggestion: 'Mover para variável de ambiente server-side ou usar anon key',
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// 3. console.log com dados sensÃveis (P0)
|
|
69
|
-
lines.forEach((line, index) => {
|
|
70
|
-
if (line.match(/console\.(log|debug|info).*?(password|token|secret|key|credential)/i)) {
|
|
71
|
-
vulnerabilities.push({
|
|
72
|
-
severity: 'P0',
|
|
73
|
-
type: 'security-leak',
|
|
74
|
-
file: filePath,
|
|
75
|
-
line: index + 1,
|
|
76
|
-
message: 'console.log com dados sensÃveis detectado',
|
|
77
|
-
suggestion: 'Remover log ou usar técnica de mascaramento',
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
// 4. NEXT_PUBLIC_ com dados sensÃveis (P0)
|
|
83
|
-
if (content.match(/NEXT_PUBLIC_.*?(SECRET|KEY|PASSWORD|TOKEN)/i)) {
|
|
84
|
-
vulnerabilities.push({
|
|
85
|
-
severity: 'P0',
|
|
86
|
-
type: 'security-critical',
|
|
87
|
-
file: filePath,
|
|
88
|
-
message: 'Variável sensÃvel exposta com NEXT_PUBLIC_',
|
|
89
|
-
suggestion: 'Remover NEXT_PUBLIC_ e usar apenas no server-side',
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// 5. Inputs sem validação (P1)
|
|
94
|
-
if (content.includes('<input') && !content.match(/zod|yup|validator/i)) {
|
|
95
|
-
vulnerabilities.push({
|
|
96
|
-
severity: 'P1',
|
|
97
|
-
type: 'missing-validation',
|
|
98
|
-
file: filePath,
|
|
99
|
-
message: 'Inputs detectados sem validação (Zod/Yup)',
|
|
100
|
-
suggestion: 'Adicionar schema de validação com Zod ou Yup',
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// 6. fetch() sem tratamento de erro (P1)
|
|
105
|
-
lines.forEach((line, index) => {
|
|
106
|
-
if (line.includes('fetch(') || line.includes('axios.')) {
|
|
107
|
-
const nextLines = lines.slice(index, index + 10).join('\n');
|
|
108
|
-
if (!nextLines.match(/\.catch|try|error/i)) {
|
|
109
|
-
vulnerabilities.push({
|
|
110
|
-
severity: 'P1',
|
|
111
|
-
type: 'missing-error-handling',
|
|
112
|
-
file: filePath,
|
|
113
|
-
line: index + 1,
|
|
114
|
-
message: 'fetch() ou axios sem tratamento de erro',
|
|
115
|
-
suggestion: 'Adicionar .catch() ou try-catch',
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
const p0Count = vulnerabilities.filter(v => v.severity === 'P0').length;
|
|
123
|
-
const success = p0Count === 0;
|
|
124
|
-
|
|
125
|
-
const details = this.formatVulnerabilities(vulnerabilities);
|
|
126
|
-
|
|
127
|
-
return {
|
|
128
|
-
success,
|
|
129
|
-
details,
|
|
130
|
-
issues: vulnerabilities.filter(v => v.severity === 'P0').map(v => v.message),
|
|
131
|
-
warnings: vulnerabilities.filter(v => v.severity === 'P1').map(v => v.message),
|
|
132
|
-
recommendations: vulnerabilities.filter(v => v.severity === 'P2').map(v => v.message),
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Valida segurança de arquivos (método de conveniência)
|
|
138
|
-
*/
|
|
139
|
-
async validateSecurity(files: string[]): Promise<SecurityCheckResult> {
|
|
140
|
-
const context: TaskContext = {
|
|
141
|
-
files,
|
|
142
|
-
areas: ['security'],
|
|
143
|
-
complexity: 'medium',
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
const result = await this.executeWithMemory(
|
|
147
|
-
`Validar segurança de ${files.length} arquivo(s)`,
|
|
148
|
-
context
|
|
149
|
-
);
|
|
150
|
-
|
|
151
|
-
return {
|
|
152
|
-
...result,
|
|
153
|
-
vulnerabilities: this.extractVulnerabilities(result),
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Formata vulnerabilidades
|
|
159
|
-
*/
|
|
160
|
-
private formatVulnerabilities(vulnerabilities: SecurityCheckResult['vulnerabilities']): string {
|
|
161
|
-
if (vulnerabilities.length === 0) {
|
|
162
|
-
return 'Nenhuma vulnerabilidade detectada';
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
const p0 = vulnerabilities.filter(v => v.severity === 'P0').length;
|
|
166
|
-
const p1 = vulnerabilities.filter(v => v.severity === 'P1').length;
|
|
167
|
-
const p2 = vulnerabilities.filter(v => v.severity === 'P2').length;
|
|
168
|
-
|
|
169
|
-
return `Vulnerabilidades: P0=${p0}, P1=${p1}, P2=${p2}`;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Extrai vulnerabilidades do resultado
|
|
174
|
-
*/
|
|
175
|
-
private extractVulnerabilities(result: TaskResult): SecurityCheckResult['vulnerabilities'] {
|
|
176
|
-
// Implementação simplificada - em produção, seria mais robusto
|
|
177
|
-
return [];
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Especialidade padrão do Security Agent
|
|
182
|
-
*/
|
|
183
|
-
protected getDefaultSpecialty(): string {
|
|
184
|
-
return `# Security Agent - Especialidade
|
|
185
|
-
|
|
186
|
-
## Responsabilidades
|
|
187
|
-
- Detectar vulnerabilidades (XSS, CSRF, SQL Injection)
|
|
188
|
-
- Validar sanitização de inputs
|
|
189
|
-
- Verificar proteção de rotas
|
|
190
|
-
- Validar uso seguro de variáveis de ambiente
|
|
191
|
-
- Detectar exposição de dados sensÃveis
|
|
192
|
-
|
|
193
|
-
## Expertise
|
|
194
|
-
- OWASP Top 10
|
|
195
|
-
- XSS, CSRF, SQL Injection
|
|
196
|
-
- Autenticação e Autorização
|
|
197
|
-
- Criptografia e Hashing
|
|
198
|
-
- Segurança de APIs
|
|
199
|
-
- Row Level Security (RLS)
|
|
200
|
-
|
|
201
|
-
## Regras
|
|
202
|
-
- NUNCA expor service_role no cliente
|
|
203
|
-
- Sempre sanitizar HTML com DOMPurify
|
|
204
|
-
- Validar todos os inputs (Zod/Yup)
|
|
205
|
-
- Usar HTTPS em produção
|
|
206
|
-
- Não logar dados sensÃveis
|
|
207
|
-
- Variáveis sensÃveis apenas server-side
|
|
208
|
-
|
|
209
|
-
## Tarefas TÃpicas
|
|
210
|
-
- Auditar código para vulnerabilidades
|
|
211
|
-
- Validar autenticação e autorização
|
|
212
|
-
- Verificar sanitização de inputs
|
|
213
|
-
- Revisar uso de variáveis de ambiente
|
|
214
|
-
- Detectar exposição de dados sensÃveis
|
|
215
|
-
`;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# Memória do Agente security
|
|
2
|
-
|
|
3
|
-
Última atualização: 2026-02-08T06:24:05Z
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 📊 EstatÃsticas
|
|
8
|
-
|
|
9
|
-
- Total de sucessos: 4
|
|
10
|
-
- Total de falhas: 0
|
|
11
|
-
- Taxa de sucesso: 100%
|
|
12
|
-
- Aprendizados acumulados: 2
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## ✅ Sucessos Recentes
|
|
17
|
-
### 24/01/2026 - `1769254251458-m6fuqb1wt`
|
|
18
|
-
|
|
19
|
-
**Tarefa**: Detectar vulnerabilidades (XSS, CSRF, dados sensÃveis)
|
|
20
|
-
|
|
21
|
-
**Contexto**:
|
|
22
|
-
- Arquivos: nenhum
|
|
23
|
-
- Ãreas: frontend, security
|
|
24
|
-
- Complexidade: medium
|
|
25
|
-
|
|
26
|
-
**Resultado**: Nenhuma vulnerabilidade detectada
|
|
27
|
-
|
|
28
|
-
### 24/01/2026 - `1769254246021-h513rxol0`
|
|
29
|
-
|
|
30
|
-
**Tarefa**: Detectar vulnerabilidades (XSS, CSRF, dados sensÃveis)
|
|
31
|
-
|
|
32
|
-
**Contexto**:
|
|
33
|
-
- Arquivos: nenhum
|
|
34
|
-
- Ãreas: frontend, security
|
|
35
|
-
- Complexidade: medium
|
|
36
|
-
|
|
37
|
-
**Resultado**: Nenhuma vulnerabilidade detectada
|
|
38
|
-
|
|
39
|
-
### 24/01/2026 - `1769254240571-w5klc3tl1`
|
|
40
|
-
|
|
41
|
-
**Tarefa**: Detectar vulnerabilidades (XSS, CSRF, dados sensÃveis)
|
|
42
|
-
|
|
43
|
-
**Contexto**:
|
|
44
|
-
- Arquivos: nenhum
|
|
45
|
-
- Ãreas: frontend, auth, security
|
|
46
|
-
- Complexidade: medium
|
|
47
|
-
|
|
48
|
-
**Resultado**: Nenhuma vulnerabilidade detectada
|
|
49
|
-
|
|
50
|
-
### 23/01/2026 - `1769137691455-ijx16j1pc`
|
|
51
|
-
|
|
52
|
-
**Tarefa**: Inicializar memória do agente
|
|
53
|
-
|
|
54
|
-
**Contexto**:
|
|
55
|
-
- Arquivos: nenhum
|
|
56
|
-
- Ãreas: initialization
|
|
57
|
-
- Complexidade: low
|
|
58
|
-
|
|
59
|
-
**Resultado**: Nenhuma vulnerabilidade detectada
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
63
|
-
## ⌠Falhas Registradas
|
|
64
|
-
|
|
65
|
-
_Nenhuma falha registrada._
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## 🧠Aprendizados
|
|
70
|
-
|
|
71
|
-
### Aprendizado 1
|
|
72
|
-
|
|
73
|
-
**Padrão**: Evitar: Detectou vulnerabilidade XSS corretamente
|
|
74
|
-
|
|
75
|
-
**Descrição**: Usuário não gostou de: Detectou vulnerabilidade XSS corretamente
|
|
76
|
-
|
|
77
|
-
**Recomendação**: Evitar fazer: Detectou vulnerabilidade XSS corretamente
|
|
78
|
-
|
|
79
|
-
**Confiança**: 50%
|
|
80
|
-
|
|
81
|
-
### Aprendizado 2
|
|
82
|
-
|
|
83
|
-
**Padrão**: Sugestão: Sugerir DOMPurify automaticamente
|
|
84
|
-
|
|
85
|
-
**Descrição**: Usuário sugeriu: Sugerir DOMPurify automaticamente
|
|
86
|
-
|
|
87
|
-
**Recomendação**: Considerar implementar: Sugerir DOMPurify automaticamente
|
|
88
|
-
|
|
89
|
-
**Confiança**: 50%
|
|
90
|
-
|
|
91
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Security Agent - Especialidade
|
|
2
|
-
|
|
3
|
-
## Responsabilidades
|
|
4
|
-
- Detectar vulnerabilidades (XSS, CSRF, SQL Injection)
|
|
5
|
-
- Validar sanitização de inputs
|
|
6
|
-
- Verificar proteção de rotas
|
|
7
|
-
- Validar uso seguro de variáveis de ambiente
|
|
8
|
-
- Detectar exposição de dados sensíveis
|
|
9
|
-
|
|
10
|
-
## Expertise
|
|
11
|
-
- OWASP Top 10
|
|
12
|
-
- XSS, CSRF, SQL Injection
|
|
13
|
-
- Autenticação e Autorização
|
|
14
|
-
- Criptografia e Hashing
|
|
15
|
-
- Segurança de APIs
|
|
16
|
-
- Row Level Security (RLS)
|
|
17
|
-
|
|
18
|
-
## Regras
|
|
19
|
-
- NUNCA expor service_role no cliente
|
|
20
|
-
- Sempre sanitizar HTML com DOMPurify
|
|
21
|
-
- Validar todos os inputs (Zod/Yup)
|
|
22
|
-
- Usar HTTPS em produção
|
|
23
|
-
- Não logar dados sensíveis
|
|
24
|
-
- Variáveis sensíveis apenas server-side
|
|
25
|
-
|
|
26
|
-
## Tarefas Típicas
|
|
27
|
-
- Auditar código para vulnerabilidades
|
|
28
|
-
- Validar autenticação e autorização
|
|
29
|
-
- Verificar sanitização de inputs
|
|
30
|
-
- Revisar uso de variáveis de ambiente
|
|
31
|
-
- Detectar exposição de dados sensíveis
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Task Analyzer Agent
|
|
2
|
-
|
|
3
|
-
## 🎯 Responsabilidade
|
|
4
|
-
|
|
5
|
-
Analisar ordens do usuário, decompor em subtarefas, selecionar agentes apropriados e coordenar execução.
|
|
6
|
-
|
|
7
|
-
## 🛠️ Skills Disponíveis
|
|
8
|
-
|
|
9
|
-
*Skills de análise de tarefas serão mapeadas quando adicionadas*
|
|
10
|
-
|
|
11
|
-
## 📋 Tarefas Típicas
|
|
12
|
-
|
|
13
|
-
- ✅ Analisar ordem do usuário
|
|
14
|
-
- ✅ Decompor em subtarefas
|
|
15
|
-
- ✅ Selecionar agentes apropriados
|
|
16
|
-
- ✅ Definir ordem de execução
|
|
17
|
-
- ✅ Estimar complexidade
|
|
18
|
-
- ✅ Validar viabilidade
|
|
19
|
-
|
|
20
|
-
## 🔗 Dependências
|
|
21
|
-
|
|
22
|
-
- `BaseAgent`
|
|
23
|
-
- `MemorySystem`
|
|
24
|
-
- `SkillManager`
|
|
25
|
-
- `Orchestrator`
|
|
26
|
-
|
|
27
|
-
## 🔄 Fluxo de Trabalho
|
|
28
|
-
|
|
29
|
-
1. **Consulta memória**: Busca tarefas similares
|
|
30
|
-
2. **Carrega skills**: task-analysis patterns
|
|
31
|
-
3. **Executa análise**: Decomposição inteligente
|
|
32
|
-
4. **Registra resultado**: Salva plano em memory.md
|
|
33
|
-
|
|
34
|
-
## 📊 Memória
|
|
35
|
-
|
|
36
|
-
Ver [memory.md](./memory.md) para histórico de análises de tarefas.
|