maestro-bundle 1.9.0 → 2.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.
@@ -1,55 +1,55 @@
1
- # Projeto: Deep Agent (tipo Claude Code)
1
+ # Project: Deep Agent (Claude Code-like)
2
2
 
3
- Você está construindo um Deep Agent — um agente AI autônomo que pode planejar, executar tarefas, gerenciar arquivos, delegar para subagentes e interagir com o usuário. Similar ao Claude Code, Cursor Agent ou Codex. Construído com o framework Deep Agents do LangChain.
3
+ You are building a Deep Agent — an autonomous AI agent that can plan, execute tasks, manage files, delegate to subagents, and interact with the user. Similar to Claude Code, Cursor Agent, or Codex. Built with the LangChain Deep Agents framework.
4
4
 
5
5
  ## Specification-Driven Development (SDD)
6
6
 
7
- A regra fundamental de SDD está definida no bundle-base (AGENTS.md base) e é inegociável:
8
- **Sem spec, sem código. Sem exceção.** O agente deve recusar implementar qualquer demanda que
9
- não tenha passado pelo fluxo `/speckit.specify` → `/speckit.plan` → `/speckit.tasks` → `/speckit.implement`.
7
+ The fundamental SDD rule is defined in the bundle-base (base AGENTS.md) and is non-negotiable:
8
+ **No spec, no code. No exception.** The agent must refuse to implement any demand that
9
+ has not gone through the `/speckit.specify` → `/speckit.plan` → `/speckit.tasks` → `/speckit.implement` flow.
10
10
 
11
- Se o usuário pedir para codar algo sem spec, PARE e inicie o fluxo SDD primeiro.
12
- Consulte `.specify/specs/` para verificar se existe spec para a demanda.
11
+ If the user asks to code something without a spec, STOP and initiate the SDD flow first.
12
+ Check `.specify/specs/` to verify if a spec already exists for the demand.
13
13
 
14
14
  ## Product Requirements Document
15
15
 
16
- O arquivo `PRD.md` na raiz do projeto contém os requisitos do produto definidos pelo analista/dev. Consulte-o para entender O QUE construir. Este AGENTS.md define COMO o agente deve trabalhar; o PRD define O QUE deve ser construído.
16
+ The `PRD.md` file at the project root contains the product requirements defined by the analyst/dev. Consult it to understand WHAT to build. This AGENTS.md defines HOW the agent should work; the PRD defines WHAT should be built.
17
17
 
18
- - `PRD.md` — Requisitos do produto, user stories, API spec, modelo de dados
18
+ - `PRD.md` — Product requirements, user stories, API spec, data model
19
19
 
20
- ## Stack do projeto
20
+ ## Project Stack
21
21
 
22
- - **Linguagem:** Python 3.11+
22
+ - **Language:** Python 3.11+
23
23
  - **Framework:** Deep Agents SDK (`deepagents`)
24
- - **Execução:** LangGraph (por baixo)
25
- - **Modelos:** Claude (Anthropic), GPT (OpenAI), Gemini (Google), Ollama (local)
24
+ - **Execution:** LangGraph (under the hood)
25
+ - **Models:** Claude (Anthropic), GPT (OpenAI), Gemini (Google), Ollama (local)
26
26
  - **Backends:** StateBackend, FilesystemBackend, StoreBackend, LocalShellBackend, Sandboxes
27
- - **API:** FastAPI (para servir o agente como API)
28
- - **Observabilidade:** LangSmith ou Langfuse
29
- - **Testes:** Pytest + evals customizados
27
+ - **API:** FastAPI (to serve the agent as an API)
28
+ - **Observability:** LangSmith or Langfuse
29
+ - **Tests:** Pytest + custom evals
30
30
 
31
- ## Estrutura do projeto
31
+ ## Project Structure
32
32
 
33
33
  ```
34
34
  src/
35
- ├── agent/ # Definição do Deep Agent principal
36
- │ ├── main.py # create_deep_agent + configuração
37
- │ ├── tools.py # Tools customizadas
38
- │ ├── subagents.py # Definição de subagentes
39
- │ ├── middleware.py # Middleware customizado
40
- │ └── prompts.py # System prompts versionados
41
- ├── skills/ # Skills que o agente pode carregar
35
+ ├── agent/ # Main Deep Agent definition
36
+ │ ├── main.py # create_deep_agent + configuration
37
+ │ ├── tools.py # Custom tools
38
+ │ ├── subagents.py # Subagent definitions
39
+ │ ├── middleware.py # Custom middleware
40
+ │ └── prompts.py # Versioned system prompts
41
+ ├── skills/ # Skills the agent can load
42
42
  │ ├── code-review/SKILL.md
43
43
  │ ├── deploy/SKILL.md
44
44
  │ └── ...
45
- ├── backends/ # Configuração de backends
45
+ ├── backends/ # Backend configuration
46
46
  │ ├── filesystem.py
47
47
  │ ├── store.py
48
48
  │ └── composite.py
49
- ├── api/ # Servir agente como API (opcional)
49
+ ├── api/ # Serve agent as API (optional)
50
50
  │ ├── server.py # FastAPI
51
51
  │ └── websocket.py # Streaming via WebSocket
52
- ├── evals/ # Avaliação do agente
52
+ ├── evals/ # Agent evaluation
53
53
  │ ├── golden_dataset.json
54
54
  │ ├── evaluators.py
55
55
  │ └── run_evals.py
@@ -58,48 +58,48 @@ src/
58
58
  └── models.py
59
59
  ```
60
60
 
61
- ## Padrões de código
61
+ ## Code Standards
62
62
 
63
- - Máximo 500 linhas por arquivo, 20 linhas por função
64
- - Type hints em funções públicas
63
+ - Maximum 500 lines per file, 20 lines per function
64
+ - Type hints on public functions
65
65
  - f-strings, Black + Ruff
66
- - Nomes descritivos, guard clauses
67
- - Tratar exceções com tipos específicos
66
+ - Descriptive names, guard clauses
67
+ - Handle exceptions with specific types
68
68
 
69
- ## Padrões de Deep Agent
69
+ ## Deep Agent Standards
70
70
 
71
- - System prompts versionados em `prompts.py`, nunca hardcoded
72
- - Tools com schemas Pydantic e descrições claras
73
- - Cada subagente tem UMA responsabilidade
74
- - Human-in-the-loop para operações destrutivas (delete, deploy, email)
75
- - Timeout e max_iterations em todo agente
76
- - Checkpointer obrigatório para persistência de estado
77
- - Backend explícito (nunca confiar no default em produção)
78
- - Skills carregadas on-demand, nunca todas no system prompt
71
+ - System prompts versioned in `prompts.py`, never hardcoded
72
+ - Tools with Pydantic schemas and clear descriptions
73
+ - Each subagent has ONE responsibility
74
+ - Human-in-the-loop for destructive operations (delete, deploy, email)
75
+ - Timeout and max_iterations on every agent
76
+ - Checkpointer mandatory for state persistence
77
+ - Explicit backend (never rely on the default in production)
78
+ - Skills loaded on-demand, never all in the system prompt
79
79
 
80
- ## Middleware obrigatório
80
+ ## Mandatory Middleware
81
81
 
82
- O Deep Agent vem com middleware padrão que não deve ser desabilitado:
83
- - **TodoListMiddleware** — Planejamento de tarefas
84
- - **FilesystemMiddleware** — Gerenciamento de arquivos
85
- - **SubAgentMiddleware** — Delegação para subagentes
86
- - **SummarizationMiddleware** — Compressão de contexto
82
+ The Deep Agent comes with default middleware that should not be disabled:
83
+ - **TodoListMiddleware** — Task planning
84
+ - **FilesystemMiddleware** — File management
85
+ - **SubAgentMiddleware** — Delegation to subagents
86
+ - **SummarizationMiddleware** — Context compression
87
87
 
88
88
  ## Git
89
89
 
90
- - Commits: `feat(agent): adicionar tool de busca semântica`
91
- - Branches: `feature/<componente>-<descricao>`
92
- - Nunca commitar API keys, .env
90
+ - Commits: `feat(agent): add semantic search tool`
91
+ - Branches: `feature/<component>-<description>`
92
+ - Never commit API keys, .env
93
93
 
94
- ## Testes
94
+ ## Tests
95
95
 
96
- - Testes unitários para tools e middleware
97
- - Testes de integração para o agente completo
98
- - Evals com golden dataset + LLM-as-judge
99
- - Cobertura mínima: 80%
96
+ - Unit tests for tools and middleware
97
+ - Integration tests for the full agent
98
+ - Evals with golden dataset + LLM-as-judge
99
+ - Minimum coverage: 80%
100
100
 
101
101
  ## References
102
102
 
103
- - `references/deep-agents-api.md` — API reference do Deep Agents SDK
104
- - `references/backends-guide.md` — Guia de backends e quando usar cada um
105
- - `references/middleware-guide.md` — Middleware padrão e customizado
103
+ - `references/deep-agents-api.md` — Deep Agents SDK API reference
104
+ - `references/backends-guide.md` — Backends guide and when to use each one
105
+ - `references/middleware-guide.md` — Default and custom middleware
@@ -1,50 +1,50 @@
1
1
  # Product Requirements Document (PRD)
2
2
 
3
- > Este documento define os requisitos do produto. Deve ser preenchido pelo analista de requisitos e/ou pelo dev antes de iniciar o desenvolvimento. O agente AI usa este documento como contexto para entender O QUE construir.
3
+ > This document defines the product requirements. It should be filled out by the requirements analyst and/or the developer before starting development. The AI agent uses this document as context to understand WHAT to build.
4
4
 
5
- ## 1. Resumo Executivo
5
+ ## 1. Executive Summary
6
6
 
7
- <!-- Descreva em 2-3 frases o que é o produto e qual problema resolve -->
7
+ <!-- Describe in 2-3 sentences what the product is and what problem it solves -->
8
8
 
9
- ## 2. Usuários Alvo
9
+ ## 2. Target Users
10
10
 
11
- <!-- Quem vai usar o sistema? Descreva as personas -->
11
+ <!-- Who will use the system? Describe the personas -->
12
12
 
13
- ### Persona 1: [Nome]
14
- - **Perfil:**
15
- - **Objetivos:**
16
- - **Dores:**
13
+ ### Persona 1: [Name]
14
+ - **Profile:**
15
+ - **Goals:**
16
+ - **Pain points:**
17
17
 
18
- ## 3. Escopo do MVP
18
+ ## 3. MVP Scope
19
19
 
20
- ### Incluído no MVP
20
+ ### Included in MVP
21
21
  - [ ] Feature 1
22
22
  - [ ] Feature 2
23
23
  - [ ] Feature 3
24
24
 
25
- ### Fora do MVP (futuro)
26
- - [ ] Feature futura 1
27
- - [ ] Feature futura 2
25
+ ### Out of MVP (future)
26
+ - [ ] Future feature 1
27
+ - [ ] Future feature 2
28
28
 
29
29
  ## 4. User Stories
30
30
 
31
- ### US01: [Título]
32
- **Como** [persona], **quero** [ação], **para** [benefício].
31
+ ### US01: [Title]
32
+ **As** [persona], **I want** [action], **so that** [benefit].
33
33
 
34
- **Critérios de aceite:**
35
- - [ ] CA1:
36
- - [ ] CA2:
34
+ **Acceptance criteria:**
35
+ - [ ] AC1:
36
+ - [ ] AC2:
37
37
 
38
- ### US02: [Título]
39
- **Como** [persona], **quero** [ação], **para** [benefício].
38
+ ### US02: [Title]
39
+ **As** [persona], **I want** [action], **so that** [benefit].
40
40
 
41
- **Critérios de aceite:**
42
- - [ ] CA1:
43
- - [ ] CA2:
41
+ **Acceptance criteria:**
42
+ - [ ] AC1:
43
+ - [ ] AC2:
44
44
 
45
- ## 5. Arquitetura de Alto Nível
45
+ ## 5. High-Level Architecture
46
46
 
47
- <!-- Diagrama em Mermaid ou ASCII mostrando os componentes principais -->
47
+ <!-- Mermaid or ASCII diagram showing the main components -->
48
48
 
49
49
  ```mermaid
50
50
  graph LR
@@ -52,7 +52,7 @@ graph LR
52
52
  B --> C[Database]
53
53
  ```
54
54
 
55
- ### Estrutura de Diretórios
55
+ ### Directory Structure
56
56
 
57
57
  ```
58
58
  project/
@@ -61,29 +61,29 @@ project/
61
61
  └── ...
62
62
  ```
63
63
 
64
- ## 6. Features Detalhadas
64
+ ## 6. Detailed Features
65
65
 
66
- ### Feature 1: [Nome]
67
- - **Descrição:**
68
- - **Regras de negócio:**
66
+ ### Feature 1: [Name]
67
+ - **Description:**
68
+ - **Business rules:**
69
69
  -
70
70
  - **Inputs:**
71
71
  - **Outputs:**
72
72
  - **Edge cases:**
73
73
  -
74
74
 
75
- ### Feature 2: [Nome]
76
- - **Descrição:**
77
- - **Regras de negócio:**
75
+ ### Feature 2: [Name]
76
+ - **Description:**
77
+ - **Business rules:**
78
78
  -
79
79
 
80
- ## 7. Stack Tecnológica
80
+ ## 7. Technology Stack
81
81
 
82
- | Componente | Tecnologia | Justificativa |
82
+ | Component | Technology | Justification |
83
83
  |---|---|---|
84
84
  | Backend | | |
85
85
  | Frontend | | |
86
- | Banco de dados | | |
86
+ | Database | | |
87
87
  | Cache | | |
88
88
  | Deploy | | |
89
89
 
@@ -92,7 +92,7 @@ project/
92
92
  ### Endpoints
93
93
 
94
94
  #### `GET /api/v1/resource`
95
- - **Descrição:**
95
+ - **Description:**
96
96
  - **Response:** `200 OK`
97
97
  ```json
98
98
  {
@@ -104,7 +104,7 @@ project/
104
104
  ```
105
105
 
106
106
  #### `POST /api/v1/resource`
107
- - **Descrição:**
107
+ - **Description:**
108
108
  - **Body:**
109
109
  ```json
110
110
  {
@@ -113,7 +113,7 @@ project/
113
113
  ```
114
114
  - **Response:** `201 Created`
115
115
 
116
- ## 9. Modelo de Dados
116
+ ## 9. Data Model
117
117
 
118
118
  ```sql
119
119
  CREATE TABLE example (
@@ -123,39 +123,39 @@ CREATE TABLE example (
123
123
  );
124
124
  ```
125
125
 
126
- ## 10. Requisitos Não-Funcionais
126
+ ## 10. Non-Functional Requirements
127
127
 
128
- | Requisito | Alvo | Prioridade |
128
+ | Requirement | Target | Priority |
129
129
  |---|---|---|
130
- | Performance | Response time < 500ms | Alta |
131
- | Disponibilidade | 99.9% uptime | Média |
132
- | Segurança | OWASP Top 10 | Alta |
133
- | Escalabilidade | Até X usuários simultâneos | Média |
130
+ | Performance | Response time < 500ms | High |
131
+ | Availability | 99.9% uptime | Medium |
132
+ | Security | OWASP Top 10 | High |
133
+ | Scalability | Up to X simultaneous users | Medium |
134
134
 
135
- ## 11. Fases de Implementação
135
+ ## 11. Implementation Phases
136
136
 
137
- ### Fase 1: Foundation
138
- - [ ] Setup do projeto
139
- - [ ] Modelo de dados
140
- - [ ] Endpoints básicos
137
+ ### Phase 1: Foundation
138
+ - [ ] Project setup
139
+ - [ ] Data model
140
+ - [ ] Basic endpoints
141
141
 
142
- ### Fase 2: Core Features
143
- - [ ] Feature 1 completa
144
- - [ ] Feature 2 completa
142
+ ### Phase 2: Core Features
143
+ - [ ] Feature 1 complete
144
+ - [ ] Feature 2 complete
145
145
 
146
- ### Fase 3: Polish
147
- - [ ] Testes E2E
146
+ ### Phase 3: Polish
147
+ - [ ] E2E tests
148
148
  - [ ] Performance
149
- - [ ] Documentação
149
+ - [ ] Documentation
150
150
 
151
- ## 12. Riscos e Mitigações
151
+ ## 12. Risks and Mitigations
152
152
 
153
- | Risco | Impacto | Probabilidade | Mitigação |
153
+ | Risk | Impact | Probability | Mitigation |
154
154
  |---|---|---|---|
155
155
  | | | | |
156
156
 
157
- ## 13. Critérios de Sucesso
157
+ ## 13. Success Criteria
158
158
 
159
- - [ ] Critério 1
160
- - [ ] Critério 2
161
- - [ ] Critério 3
159
+ - [ ] Criterion 1
160
+ - [ ] Criterion 2
161
+ - [ ] Criterion 3