up-cc 0.16.1 → 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.
Files changed (135) hide show
  1. package/README.md +87 -577
  2. package/package.json +5 -3
  3. package/up/CHANGELOG.md +110 -0
  4. package/up/agents/up-arquiteto.md +95 -39
  5. package/up/agents/up-auditor.md +218 -0
  6. package/up/agents/up-executor.md +94 -31
  7. package/up/agents/up-mapeador-codigo.md +63 -10
  8. package/up/agents/up-pesquisador.md +278 -0
  9. package/up/agents/up-revisor.md +249 -0
  10. package/up/agents/up-sintetizador.md +156 -179
  11. package/up/agents/up-tester.md +280 -0
  12. package/up/agents/up-verificador.md +95 -11
  13. package/up/bin/install.js +182 -19
  14. package/up/bin/lib/core.cjs +17 -43
  15. package/up/bin/lib/github.cjs +495 -0
  16. package/up/bin/lib/multica.cjs +424 -0
  17. package/up/bin/up-tools.cjs +167 -46
  18. package/up/commands/auditar.md +66 -0
  19. package/up/commands/build.md +54 -43
  20. package/up/commands/depurar.md +1 -1
  21. package/up/commands/plan.md +52 -38
  22. package/up/commands/rapido.md +15 -9
  23. package/up/commands/testar.md +81 -122
  24. package/up/commands/up.md +106 -0
  25. package/up/hooks/up-session-start.js +107 -0
  26. package/up/references/engineering-principles.md +1 -1
  27. package/up/references/governance-rules.md +5 -5
  28. package/up/references/production-requirements.md +1 -1
  29. package/up/references/severity-levels.md +2 -2
  30. package/up/references/tdd-evidence-types.md +81 -0
  31. package/up/skills/up-brainstorm/SKILL.md +54 -0
  32. package/up/skills/up-brainstorm/visual-companion.md +33 -0
  33. package/up/skills/up-tdd/SKILL.md +39 -0
  34. package/up/skills/up-verificar-antes-de-concluir/SKILL.md +49 -0
  35. package/up/skills/usando-up/SKILL.md +26 -0
  36. package/up/templates/audit-plan.md +3 -3
  37. package/up/templates/audit-report.md +2 -2
  38. package/up/templates/design-tokens.md +2 -2
  39. package/up/workflows/auditar.md +255 -0
  40. package/up/workflows/build.md +600 -386
  41. package/up/workflows/dcrv.md +183 -99
  42. package/up/workflows/governance.md +112 -220
  43. package/up/workflows/plan.md +169 -399
  44. package/up/workflows/rapido.md +7 -1
  45. package/up/workflows/up.md +447 -0
  46. package/up/agents/up-analista-codigo.md +0 -446
  47. package/up/agents/up-api-tester.md +0 -405
  48. package/up/agents/up-architecture-supervisor.md +0 -126
  49. package/up/agents/up-audit-supervisor.md +0 -83
  50. package/up/agents/up-auditor-modernidade.md +0 -378
  51. package/up/agents/up-auditor-performance.md +0 -426
  52. package/up/agents/up-auditor-ux.md +0 -396
  53. package/up/agents/up-backend-specialist.md +0 -175
  54. package/up/agents/up-blind-validator.md +0 -259
  55. package/up/agents/up-chief-architect.md +0 -184
  56. package/up/agents/up-chief-engineer.md +0 -202
  57. package/up/agents/up-chief-operations.md +0 -123
  58. package/up/agents/up-chief-product.md +0 -103
  59. package/up/agents/up-chief-quality.md +0 -211
  60. package/up/agents/up-clone-crawler.md +0 -234
  61. package/up/agents/up-clone-design-extractor.md +0 -227
  62. package/up/agents/up-clone-feature-mapper.md +0 -225
  63. package/up/agents/up-clone-prd-writer.md +0 -169
  64. package/up/agents/up-clone-verifier.md +0 -227
  65. package/up/agents/up-code-reviewer.md +0 -229
  66. package/up/agents/up-consolidador-ideias.md +0 -493
  67. package/up/agents/up-database-specialist.md +0 -169
  68. package/up/agents/up-delivery-auditor.md +0 -247
  69. package/up/agents/up-devops-agent.md +0 -203
  70. package/up/agents/up-execution-supervisor.md +0 -315
  71. package/up/agents/up-exhaustive-tester.md +0 -348
  72. package/up/agents/up-frontend-specialist.md +0 -152
  73. package/up/agents/up-operations-supervisor.md +0 -94
  74. package/up/agents/up-pesquisador-mercado.md +0 -350
  75. package/up/agents/up-pesquisador-projeto.md +0 -358
  76. package/up/agents/up-planning-auditor.md +0 -284
  77. package/up/agents/up-planning-supervisor.md +0 -260
  78. package/up/agents/up-product-analyst.md +0 -192
  79. package/up/agents/up-product-supervisor.md +0 -83
  80. package/up/agents/up-project-ceo.md +0 -352
  81. package/up/agents/up-qa-agent.md +0 -171
  82. package/up/agents/up-quality-supervisor.md +0 -178
  83. package/up/agents/up-requirements-validator.md +0 -230
  84. package/up/agents/up-security-reviewer.md +0 -137
  85. package/up/agents/up-sintetizador-melhorias.md +0 -407
  86. package/up/agents/up-system-designer.md +0 -332
  87. package/up/agents/up-technical-writer.md +0 -188
  88. package/up/agents/up-verification-supervisor.md +0 -111
  89. package/up/agents/up-visual-critic.md +0 -358
  90. package/up/commands/adicionar-fase.md +0 -47
  91. package/up/commands/adicionar-testes.md +0 -145
  92. package/up/commands/ajuda.md +0 -176
  93. package/up/commands/atualizar.md +0 -103
  94. package/up/commands/clone-builder.md +0 -67
  95. package/up/commands/configurar.md +0 -219
  96. package/up/commands/custos.md +0 -67
  97. package/up/commands/dashboard.md +0 -48
  98. package/up/commands/discutir-fase.md +0 -35
  99. package/up/commands/executar-fase.md +0 -40
  100. package/up/commands/ideias.md +0 -49
  101. package/up/commands/iniciar.md +0 -31
  102. package/up/commands/mapear-codigo.md +0 -63
  103. package/up/commands/melhorias.md +0 -45
  104. package/up/commands/mobile-first.md +0 -71
  105. package/up/commands/modo-builder.md +0 -186
  106. package/up/commands/novo-projeto.md +0 -40
  107. package/up/commands/onboard.md +0 -69
  108. package/up/commands/pausar.md +0 -33
  109. package/up/commands/planejar-fase.md +0 -45
  110. package/up/commands/progresso.md +0 -33
  111. package/up/commands/remover-fase.md +0 -34
  112. package/up/commands/resetar.md +0 -27
  113. package/up/commands/retomar.md +0 -35
  114. package/up/commands/saude.md +0 -103
  115. package/up/commands/ux-tester.md +0 -63
  116. package/up/commands/verificar-trabalho.md +0 -35
  117. package/up/workflows/adicionar-fase.md +0 -112
  118. package/up/workflows/builder-e2e.md +0 -501
  119. package/up/workflows/builder.md +0 -3419
  120. package/up/workflows/ceo-intake.md +0 -305
  121. package/up/workflows/ceo-updates.md +0 -183
  122. package/up/workflows/clone-builder.md +0 -320
  123. package/up/workflows/discutir-fase.md +0 -336
  124. package/up/workflows/executar-fase.md +0 -358
  125. package/up/workflows/executar-plano.md +0 -659
  126. package/up/workflows/ideias.md +0 -381
  127. package/up/workflows/iniciar.md +0 -235
  128. package/up/workflows/melhorias.md +0 -409
  129. package/up/workflows/mobile-first.md +0 -692
  130. package/up/workflows/novo-projeto.md +0 -778
  131. package/up/workflows/planejar-fase.md +0 -293
  132. package/up/workflows/progresso.md +0 -226
  133. package/up/workflows/retomar.md +0 -231
  134. package/up/workflows/ux-tester.md +0 -526
  135. package/up/workflows/verificar-trabalho.md +0 -308
@@ -1,305 +0,0 @@
1
- <purpose>
2
- Workflow de intake de projeto conduzido pelo CEO.
3
-
4
- Usado pelo `/up:modo-builder` e comandos similares quando um projeto novo comeca.
5
- Diferente do onboarding (que e sobre conhecer o dono), este e sobre conhecer o PROJETO.
6
-
7
- Apos intake, gera:
8
- - `.plano/BRIEFING.md` — briefing do projeto
9
- - `.plano/OWNER.md` — contexto especifico do projeto
10
- - `.plano/PENDING.md` — assets faltantes
11
- - `.plano/DESIGN-TOKENS.md` — se dono passou, senao marca pending
12
- </purpose>
13
-
14
- <prerequisites>
15
- Antes de rodar este workflow, verificar:
16
- 1. `~/.claude/up/owner-profile.md` existe → se nao, rodar `/up:onboard` primeiro
17
- 2. Ler owner-profile pra pegar ceo_name, preferred_name, ceo_tone, stack preferida
18
- </prerequisites>
19
-
20
- <process>
21
-
22
- ## Passo 0: Carregar Perfil do Dono
23
-
24
- ```bash
25
- # Obrigatorio — CEO precisa saber quem e o dono
26
- if [ ! -f ~/.claude/up/owner-profile.md ]; then
27
- echo "Onboarding necessario. Execute /up:onboard primeiro."
28
- exit 1
29
- fi
30
-
31
- cat ~/.claude/up/owner-profile.md
32
- ```
33
-
34
- Extrair:
35
- - `$PREFERRED_NAME`
36
- - `$CEO_NAME`
37
- - `$CEO_TONE`
38
- - Preferencias de stack (usar como defaults)
39
-
40
- ## Passo 1: Apresentacao
41
-
42
- Com base no `ceo_tone`:
43
-
44
- **Tom amigavel (default):**
45
- ```
46
- Ola {PREFERRED_NAME}. Aqui e o {CEO_NAME}, pronto pra conduzir
47
- seu proximo projeto UP.
48
-
49
- Me conta um pouco sobre o que voce quer construir.
50
- ```
51
-
52
- **Tom formal:**
53
- ```
54
- Prezado {PREFERRED_NAME}. {CEO_NAME} falando. Estou pronto
55
- para iniciar seu proximo projeto.
56
-
57
- Por favor, descreva o que deseja construir.
58
- ```
59
-
60
- **Tom direto:**
61
- ```
62
- {PREFERRED_NAME}: {CEO_NAME} aqui. Projeto novo?
63
- Descreve o que voce quer construir.
64
- ```
65
-
66
- ## Passo 2: Bloco 1 — Briefing (obrigatorio)
67
-
68
- **Se `$ARGUMENTS` ja tem briefing**: usar direto, pular AskUserQuestion.
69
-
70
- **Se nao:**
71
-
72
- ```python
73
- AskUserQuestion(
74
- header="Briefing",
75
- question="O que voce quer construir? Me conta em texto livre.",
76
- followUp=None
77
- )
78
- ```
79
-
80
- Salvar como `$BRIEFING`.
81
-
82
- ## Passo 3: Validacao de Briefing (rejeicao possivel)
83
-
84
- Avaliar o briefing:
85
- - E especifico ou vago demais?
86
- - Escopo e viavel?
87
- - Ha contradicoes?
88
- - Falta contexto critico?
89
-
90
- **Se briefing e VAGO/INVIAVEL:**
91
-
92
- ```python
93
- AskUserQuestion(
94
- header="Precisando de mais contexto",
95
- question="""{PREFERRED_NAME}, antes de comecar preciso entender melhor.
96
-
97
- Voce disse: "{BRIEFING}"
98
-
99
- Isso e {muito amplo | inviavel porque X | ambiguo em Y}.
100
-
101
- Preciso saber:
102
- - {pergunta especifica 1}
103
- - {pergunta especifica 2}
104
- - {pergunta especifica 3}
105
-
106
- Pode detalhar?""",
107
- followUp=None
108
- )
109
- ```
110
-
111
- Receber resposta e atualizar `$BRIEFING`.
112
-
113
- **Se ainda esta vago apos 2 tentativas:** CEO assume responsabilidade, define escopo minimo e segue.
114
-
115
- ## Passo 4: Bloco 2 — Design System (opcional)
116
-
117
- ```python
118
- AskUserQuestion(
119
- header="Design System",
120
- question="""{PREFERRED_NAME}, voce tem um design system definido?
121
-
122
- Pode passar:
123
- - Cores (primaria, secundaria, semanticas)
124
- - Tipografia (fontes)
125
- - Componentes base (shadcn, MUI, custom?)
126
- - Ou link pro Figma / brand book
127
-
128
- Se nao tiver, eu crio um placeholder e marco como PENDENTE.""",
129
- followUp=None
130
- )
131
- ```
132
-
133
- **Se passou:**
134
- - Salvar em `.plano/DESIGN-TOKENS.md`
135
- - Marcar E1.2 como completed no CHECKLIST
136
-
137
- **Se nao passou:**
138
- - Gerar placeholder em `.plano/DESIGN-TOKENS.md` com defaults (shadcn neutro)
139
- - Adicionar entry em `.plano/PENDING.md` com severity non-blocker
140
- - Marcar E1.2 como completed (resolvido como pending)
141
-
142
- ## Passo 5: Bloco 3 — Credenciais de API (opcional)
143
-
144
- ```python
145
- AskUserQuestion(
146
- header="Credenciais de API",
147
- question="""{PREFERRED_NAME}, quais integracoes voce quer usar neste projeto?
148
-
149
- Pode passar credenciais de:
150
- - Supabase (URL + anon key + service key)
151
- - Email (Resend/SendGrid/Postmark)
152
- - Pagamentos (Stripe/Asaas)
153
- - WhatsApp (Evolution/UazAPI/Meta)
154
- - Outras APIs que voce tem
155
-
156
- Se nao passar, eu uso mocks/stubs e marco como PENDENTE.""",
157
- followUp=None
158
- )
159
- ```
160
-
161
- **Processar cada credencial:**
162
-
163
- Para cada credencial passada:
164
- - Salvar em `.env.local` (sem commitar)
165
- - Marcar integracao como disponivel
166
-
167
- Para cada credencial NAO passada:
168
- - Adicionar em `.plano/PENDING.md` com severity:
169
- - `blocker` se credencial e critica pra funcionalidade core
170
- - `non_blocker` se pode usar stub
171
-
172
- ## Passo 6: Bloco 4 — Referencias (opcional)
173
-
174
- ```python
175
- AskUserQuestion(
176
- header="Referencias",
177
- question="""{PREFERRED_NAME}, tem alguma referencia que voce quer que eu siga?
178
-
179
- - URL de um app que voce gosta (tipo 'igual ao Linear')
180
- - Screenshots de inspiracao
181
- - Brand book / moodboard
182
- - Ou 'parecido com X'
183
-
184
- Se nao tiver, eu pesquiso concorrentes do dominio.""",
185
- followUp=None
186
- )
187
- ```
188
-
189
- Salvar em `.plano/OWNER.md` na secao Referencias.
190
-
191
- **Se URL foi passada + flag `--clone`:** Entrar em modo clone-builder.
192
-
193
- ## Passo 7: Bloco 5 — Restricoes (opcional)
194
-
195
- ```python
196
- AskUserQuestion(
197
- header="Restricoes",
198
- question="""{PREFERRED_NAME}, ha algo que NAO deve estar no projeto?
199
-
200
- Exemplos:
201
- - Features explicitamente rejeitadas
202
- - Tecnologias banidas
203
- - Abordagens que voce nao quer
204
-
205
- Ou enter pra pular.""",
206
- followUp=None
207
- )
208
- ```
209
-
210
- Salvar em `.plano/OWNER.md` na secao Restricoes.
211
-
212
- ## Passo 8: Confirmar Intake
213
-
214
- ```
215
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
216
- {CEO_NAME}: Intake Completo
217
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
218
-
219
- Entendi. Resumo:
220
-
221
- ✓ {resumo do briefing em 1 frase}
222
- ✓ Stack: {stack detectada/definida}
223
- ✓ Design: {custom passado | defaults com pending}
224
- ✓ Credenciais: {quais passou}
225
- ✓ Referencias: {o que passou}
226
- ✓ Restricoes: {lista curta}
227
-
228
- ⚠ Pendencias: {N}
229
- {lista curta de PENDING.md}
230
-
231
- Vou montar o time: {N} chiefs, {M} supervisores, agentes operacionais.
232
- Estimativa: {N} fases.
233
-
234
- Updates {verbose/normal/silent} conforme seu perfil.
235
-
236
- Comecando agora...
237
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
238
- ```
239
-
240
- ## Passo 9: Gerar Arquivos
241
-
242
- **`.plano/BRIEFING.md`:**
243
- ```markdown
244
- ---
245
- collected_at: [timestamp]
246
- collected_by: [ceo_name]
247
- owner: [preferred_name]
248
- ---
249
-
250
- # Briefing
251
-
252
- ## Briefing Original
253
- [texto completo]
254
-
255
- ## Contexto Adicional (de respostas)
256
- [se houve rejeicao/re-perguntas]
257
-
258
- ## Decisoes Iniciais
259
- - Stack: [...]
260
- - Design: [custom | defaults]
261
- - Modo: [greenfield | brownfield]
262
- ```
263
-
264
- **`.plano/OWNER.md`:** usar template.
265
-
266
- **`.plano/PENDING.md`:** usar template, populado com pendencias detectadas.
267
-
268
- **`.plano/DESIGN-TOKENS.md`:** custom ou defaults.
269
-
270
- ## Passo 10: Commit Inicial
271
-
272
- ```bash
273
- git init 2>/dev/null
274
- node "$HOME/.claude/up/bin/up-tools.cjs" commit "docs: intake completo — {projeto}" \
275
- --files .plano/BRIEFING.md .plano/OWNER.md .plano/PENDING.md .plano/DESIGN-TOKENS.md
276
- ```
277
-
278
- ## Passo 11: Atualizar Checklist
279
-
280
- Marcar items E1.1 ate E1.5 como completed em `.plano/CHECKLIST.md`.
281
-
282
- ## Passo 12: Passar Controle Pros Chiefs
283
-
284
- Apos intake, CEO NAO continua executando. Ele passa controle pro pipeline do builder que spawna os chiefs.
285
-
286
- CEO so volta a agir quando:
287
- - Chief escala algum problema
288
- - Fase completa (pra mandar update)
289
- - Pre-delivery audit
290
- - Delivery final
291
-
292
- </process>
293
-
294
- <success_criteria>
295
- - [ ] owner-profile.md carregado
296
- - [ ] Briefing coletado e validado
297
- - [ ] 5 blocos processados (briefing, design, credenciais, referencias, restricoes)
298
- - [ ] BRIEFING.md gerado
299
- - [ ] OWNER.md gerado
300
- - [ ] PENDING.md gerado (com items se ha)
301
- - [ ] DESIGN-TOKENS.md gerado (custom ou defaults)
302
- - [ ] CHECKLIST E1.* marcados como completed
303
- - [ ] Commit inicial feito
304
- - [ ] Controle passado pros chiefs
305
- </success_criteria>
@@ -1,183 +0,0 @@
1
- <purpose>
2
- Workflow do CEO pra mandar updates periodicos ao dono durante execucao do projeto.
3
-
4
- Chamado pelo builder apos cada fase concluida (se updates != silent).
5
- </purpose>
6
-
7
- <process>
8
-
9
- ## Quando rodar
10
-
11
- - Apos cada fase do build completar
12
- - Apos Quality Gate completar
13
- - Apos Delivery Auditor rodar
14
- - Em qualquer momento critico
15
-
16
- ## Carregar contexto
17
-
18
- ```bash
19
- cat ~/.claude/up/owner-profile.md
20
- cat .plano/OWNER.md
21
- cat .plano/STATE.md
22
- cat .plano/ROADMAP.md
23
- ```
24
-
25
- Extrair:
26
- - `$PREFERRED_NAME`
27
- - `$CEO_NAME`
28
- - `$CEO_TONE`
29
- - `$UPDATES_LEVEL` (verbose | normal | silent)
30
-
31
- **Se `$UPDATES_LEVEL = silent`:** Pular updates por fase. Voltar pro builder.
32
-
33
- ## Formato do Update (por fase)
34
-
35
- ### Verbose (detalhado)
36
-
37
- ```
38
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
39
- {CEO_NAME}: Update — Fase {X}/{TOTAL} concluida
40
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
41
-
42
- **Fase {X}:** {nome da fase}
43
-
44
- **O que foi feito:**
45
- - [bullet 1 — resumo do que foi construido]
46
- - [bullet 2]
47
- - [bullet 3]
48
-
49
- **Qualidade:**
50
- - Testes E2E: {passed}/{total} ({%})
51
- - DCRV Score: {score}/10
52
- - Visual: {N}/10
53
- - Interacao: {N}% pass
54
- - API: {N}% pass
55
- - Code Review: {N} issues ({critical} critical, {high} high)
56
- - Supervisores: {N} aprovacoes, {M} reworks
57
-
58
- **Decisoes Tomadas:**
59
- - [decisao 1]
60
- - [decisao 2]
61
-
62
- **Proxima Fase ({X+1}):**
63
- - {nome}
64
- - {N} planos estimados
65
- - {M} tarefas
66
-
67
- **Progresso Total:** {%} ({phases_done}/{total_phases})
68
-
69
- Continuar? (enter pra seguir, ou digita feedback)
70
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
71
- ```
72
-
73
- ### Normal (resumido)
74
-
75
- ```
76
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
77
- {CEO_NAME}: Fase {X}/{TOTAL} ✓
78
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
79
-
80
- {nome da fase} concluida.
81
- {testes} testes, {passed}% pass.
82
-
83
- Proxima: {nome proxima fase}
84
- Progresso: {%}
85
-
86
- (enter pra continuar)
87
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
88
- ```
89
-
90
- ### Silent (nao manda nada)
91
-
92
- Pular.
93
-
94
- ## Formato Alerta Critico (qualquer modo)
95
-
96
- Se ha 🔴 CRITICO, interrompe SEMPRE:
97
-
98
- ```
99
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
100
- 🔴 {CEO_NAME}: Preciso do seu input
101
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
102
-
103
- {PREFERRED_NAME}, precisei parar.
104
-
105
- **Situacao:**
106
- [descricao clara]
107
-
108
- **Por que nao posso decidir sozinho:**
109
- [explicacao]
110
-
111
- **Opcoes:**
112
- a) [opcao 1]
113
- b) [opcao 2]
114
- c) [opcao 3]
115
-
116
- **Minha recomendacao:** {opcao} — {justificativa curta}
117
-
118
- Qual voce prefere?
119
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
120
- ```
121
-
122
- Usar `AskUserQuestion` para capturar resposta.
123
-
124
- ## Formato Alerta Importante (modo interactive)
125
-
126
- ```
127
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
128
- 🟡 {CEO_NAME}: Decisao a tomar
129
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
130
-
131
- {PREFERRED_NAME}, situacao:
132
-
133
- [descricao]
134
-
135
- **Opcoes viaveis:**
136
- a) [opcao] — {pros/contras}
137
- b) [opcao] — {pros/contras}
138
-
139
- **Minha recomendacao:** {opcao}
140
- **Por que:** {explicacao}
141
-
142
- Voce confirma? Ou prefere outra?
143
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
144
- ```
145
-
146
- Se `$INTERACTIVE = true` ou `$UPDATES_LEVEL = verbose`: perguntar via AskUserQuestion.
147
- Senao: tomar decisao recomendada e registrar em OWNER.md como "Decisao delegada".
148
-
149
- ## Formato FYI (nao interrompe)
150
-
151
- Registrar em `.plano/OWNER.md` na secao "Feedback Durante Execucao":
152
-
153
- ```markdown
154
- | {timestamp} | 🟢 Decisao automatica | {decisao} |
155
- ```
156
-
157
- Nao falar nada pro dono.
158
-
159
- ## Registrar Interacao
160
-
161
- Toda vez que CEO fala com dono, registrar em `.plano/OWNER.md`:
162
-
163
- ```markdown
164
- ## Interacoes com o CEO
165
-
166
- | Timestamp | Tipo | Conteudo |
167
- |-----------|------|----------|
168
- | {timestamp} | update-verbose | Fase 3 concluida — dashboard |
169
- | {timestamp} | alerta-critico | Credencial Asaas expirou |
170
- | {timestamp} | alerta-importante | Trade-off: Redis vs in-memory |
171
- | {timestamp} | fyi | Adicionei loading states automaticamente |
172
- ```
173
-
174
- </process>
175
-
176
- <success_criteria>
177
- - [ ] Owner-profile lido
178
- - [ ] Nivel de updates respeitado (verbose/normal/silent)
179
- - [ ] Tom correto usado
180
- - [ ] Severidade respeitada (critico sempre interrompe)
181
- - [ ] Interacao registrada em OWNER.md
182
- - [ ] Formato apropriado aplicado
183
- </success_criteria>