@luanpdd/kit-mcp 1.20.0 → 1.21.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 (259) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +648 -648
  3. package/gates/dept-cycle-prevention.md +179 -0
  4. package/gates/multi-tenant-rls-coverage.md +102 -0
  5. package/gates/service-role-not-in-user-facing.md +113 -0
  6. package/kit/COMANDOS.md +138 -138
  7. package/kit/README.md +52 -52
  8. package/kit/agents/advisor-researcher.md +106 -106
  9. package/kit/agents/assumptions-analyzer.md +107 -107
  10. package/kit/agents/audit-log-implementer.md +175 -0
  11. package/kit/agents/b2b-saas-architect.md +156 -0
  12. package/kit/agents/codebase-mapper.md +768 -768
  13. package/kit/agents/crm-pipeline-implementer.md +150 -0
  14. package/kit/agents/debugger.md +772 -772
  15. package/kit/agents/evolution-go-integrator.md +179 -0
  16. package/kit/agents/example-reviewer.md +21 -21
  17. package/kit/agents/executor.md +523 -523
  18. package/kit/agents/integration-checker.md +200 -200
  19. package/kit/agents/invite-flow-implementer.md +137 -0
  20. package/kit/agents/lgpd-compliance-auditor.md +206 -0
  21. package/kit/agents/multi-tenant-isolation-auditor.md +243 -0
  22. package/kit/agents/multi-tenant-rls-writer.md +262 -0
  23. package/kit/agents/nyquist-auditor.md +178 -178
  24. package/kit/agents/org-onboarding-implementer.md +202 -0
  25. package/kit/agents/phase-researcher.md +696 -696
  26. package/kit/agents/plan-checker.md +272 -272
  27. package/kit/agents/planner.md +891 -891
  28. package/kit/agents/project-researcher.md +652 -652
  29. package/kit/agents/research-synthesizer.md +245 -245
  30. package/kit/agents/roadmapper.md +677 -677
  31. package/kit/agents/super-admin-implementer.md +182 -0
  32. package/kit/agents/ui-auditor.md +437 -437
  33. package/kit/agents/ui-checker.md +302 -302
  34. package/kit/agents/ui-researcher.md +355 -355
  35. package/kit/agents/user-profiler.md +175 -175
  36. package/kit/agents/verifier.md +728 -728
  37. package/kit/commands/adicionar-backlog.md +75 -75
  38. package/kit/commands/adicionar-fase.md +42 -42
  39. package/kit/commands/adicionar-tarefa.md +45 -45
  40. package/kit/commands/adicionar-testes.md +41 -41
  41. package/kit/commands/ajuda.md +21 -21
  42. package/kit/commands/atualizar.md +37 -37
  43. package/kit/commands/auditar-marco.md +179 -179
  44. package/kit/commands/auditar-uat.md +23 -23
  45. package/kit/commands/autonomo.md +40 -40
  46. package/kit/commands/branch-pr.md +24 -24
  47. package/kit/commands/concluir-marco.md +247 -247
  48. package/kit/commands/configuracoes.md +36 -36
  49. package/kit/commands/definir-perfil.md +10 -10
  50. package/kit/commands/depurar.md +190 -190
  51. package/kit/commands/discutir-fase.md +131 -131
  52. package/kit/commands/entrar-discord.md +17 -17
  53. package/kit/commands/estatisticas.md +18 -18
  54. package/kit/commands/example-greeting.md +33 -33
  55. package/kit/commands/executar-fase.md +58 -58
  56. package/kit/commands/expresso.md +56 -56
  57. package/kit/commands/fase-ui.md +34 -34
  58. package/kit/commands/fazer.md +57 -57
  59. package/kit/commands/fio.md +125 -125
  60. package/kit/commands/fluxos-trabalho.md +64 -64
  61. package/kit/commands/forense.md +176 -176
  62. package/kit/commands/gerenciador.md +38 -38
  63. package/kit/commands/inserir-fase.md +31 -31
  64. package/kit/commands/limpeza.md +17 -17
  65. package/kit/commands/listar-hipoteses-fase.md +45 -45
  66. package/kit/commands/listar-workspaces.md +18 -18
  67. package/kit/commands/mapear-codebase.md +70 -70
  68. package/kit/commands/multi-tenant.md +163 -0
  69. package/kit/commands/nota.md +33 -33
  70. package/kit/commands/novo-marco.md +43 -43
  71. package/kit/commands/novo-projeto.md +41 -41
  72. package/kit/commands/novo-workspace.md +43 -43
  73. package/kit/commands/pausar-trabalho.md +37 -37
  74. package/kit/commands/perfil-usuario.md +45 -45
  75. package/kit/commands/pesquisar-fase.md +195 -195
  76. package/kit/commands/planejar-fase.md +67 -67
  77. package/kit/commands/planejar-lacunas.md +33 -33
  78. package/kit/commands/plantar-ideia.md +25 -25
  79. package/kit/commands/progresso.md +24 -24
  80. package/kit/commands/proximo.md +30 -30
  81. package/kit/commands/publicar.md +490 -490
  82. package/kit/commands/rapido.md +35 -35
  83. package/kit/commands/reaplicar-patches.md +124 -124
  84. package/kit/commands/relatorio-sessao.md +19 -19
  85. package/kit/commands/remover-fase.md +31 -31
  86. package/kit/commands/remover-workspace.md +26 -26
  87. package/kit/commands/resumo-marco.md +50 -50
  88. package/kit/commands/retomar-trabalho.md +40 -40
  89. package/kit/commands/revisar-backlog.md +60 -60
  90. package/kit/commands/revisar-ui.md +32 -32
  91. package/kit/commands/revisar.md +37 -37
  92. package/kit/commands/saude.md +21 -21
  93. package/kit/commands/setup-notion.md +93 -93
  94. package/kit/commands/sync-main.md +68 -68
  95. package/kit/commands/validar-fase.md +35 -35
  96. package/kit/commands/verificar-tarefas.md +44 -44
  97. package/kit/commands/verificar-trabalho.md +64 -64
  98. package/kit/file-manifest.json +30 -3
  99. package/kit/framework/bin/lib/commands.cjs +959 -959
  100. package/kit/framework/bin/lib/config.cjs +442 -442
  101. package/kit/framework/bin/lib/core.cjs +1230 -1230
  102. package/kit/framework/bin/lib/frontmatter.cjs +336 -336
  103. package/kit/framework/bin/lib/init.cjs +1442 -1442
  104. package/kit/framework/bin/lib/milestone.cjs +252 -252
  105. package/kit/framework/bin/lib/model-profiles.cjs +68 -68
  106. package/kit/framework/bin/lib/phase.cjs +888 -888
  107. package/kit/framework/bin/lib/profile-output.cjs +952 -952
  108. package/kit/framework/bin/lib/profile-pipeline.cjs +539 -539
  109. package/kit/framework/bin/lib/roadmap.cjs +329 -329
  110. package/kit/framework/bin/lib/security.cjs +382 -382
  111. package/kit/framework/bin/lib/state.cjs +1031 -1031
  112. package/kit/framework/bin/lib/template.cjs +222 -222
  113. package/kit/framework/bin/lib/uat.cjs +282 -282
  114. package/kit/framework/bin/lib/verify.cjs +888 -888
  115. package/kit/framework/bin/lib/workstream.cjs +491 -491
  116. package/kit/framework/bin/tools.cjs +918 -918
  117. package/kit/framework/commands/workstreams.md +63 -63
  118. package/kit/framework/references/checkpoints.md +778 -778
  119. package/kit/framework/references/continuation-format.md +249 -249
  120. package/kit/framework/references/decimal-phase-calculation.md +64 -64
  121. package/kit/framework/references/git-integration.md +295 -295
  122. package/kit/framework/references/git-planning-commit.md +38 -38
  123. package/kit/framework/references/model-profile-resolution.md +36 -36
  124. package/kit/framework/references/model-profiles.md +139 -139
  125. package/kit/framework/references/phase-argument-parsing.md +61 -61
  126. package/kit/framework/references/planning-config.md +202 -202
  127. package/kit/framework/references/questioning.md +162 -162
  128. package/kit/framework/references/tdd.md +263 -263
  129. package/kit/framework/references/ui-brand.md +160 -160
  130. package/kit/framework/references/user-profiling.md +657 -657
  131. package/kit/framework/references/verification-patterns.md +612 -612
  132. package/kit/framework/references/workstream-flag.md +58 -58
  133. package/kit/framework/templates/DEBUG.md +164 -164
  134. package/kit/framework/templates/UAT.md +265 -265
  135. package/kit/framework/templates/UI-SPEC.md +100 -100
  136. package/kit/framework/templates/VALIDATION.md +76 -76
  137. package/kit/framework/templates/claude-md.md +122 -122
  138. package/kit/framework/templates/codebase/architecture.md +185 -185
  139. package/kit/framework/templates/codebase/concerns.md +205 -205
  140. package/kit/framework/templates/codebase/conventions.md +204 -204
  141. package/kit/framework/templates/codebase/integrations.md +192 -192
  142. package/kit/framework/templates/codebase/stack.md +158 -158
  143. package/kit/framework/templates/codebase/structure.md +199 -199
  144. package/kit/framework/templates/codebase/testing.md +301 -301
  145. package/kit/framework/templates/config.json +44 -44
  146. package/kit/framework/templates/context.md +352 -352
  147. package/kit/framework/templates/continue-here.md +78 -78
  148. package/kit/framework/templates/copilot-instructions.md +7 -7
  149. package/kit/framework/templates/debug-subagent-prompt.md +91 -91
  150. package/kit/framework/templates/dev-preferences.md +20 -20
  151. package/kit/framework/templates/discovery.md +146 -146
  152. package/kit/framework/templates/discussion-log.md +63 -63
  153. package/kit/framework/templates/milestone-archive.md +123 -123
  154. package/kit/framework/templates/milestone.md +115 -115
  155. package/kit/framework/templates/phase-prompt.md +610 -610
  156. package/kit/framework/templates/planner-subagent-prompt.md +117 -117
  157. package/kit/framework/templates/project.md +186 -186
  158. package/kit/framework/templates/requirements.md +231 -231
  159. package/kit/framework/templates/research-project/ARCHITECTURE.md +204 -204
  160. package/kit/framework/templates/research-project/FEATURES.md +147 -147
  161. package/kit/framework/templates/research-project/PITFALLS.md +200 -200
  162. package/kit/framework/templates/research-project/STACK.md +120 -120
  163. package/kit/framework/templates/research-project/SUMMARY.md +170 -170
  164. package/kit/framework/templates/research.md +419 -419
  165. package/kit/framework/templates/retrospective.md +54 -54
  166. package/kit/framework/templates/roadmap.md +202 -202
  167. package/kit/framework/templates/state.md +176 -176
  168. package/kit/framework/templates/summary-complex.md +59 -59
  169. package/kit/framework/templates/summary-minimal.md +41 -41
  170. package/kit/framework/templates/summary-standard.md +48 -48
  171. package/kit/framework/templates/summary.md +209 -209
  172. package/kit/framework/templates/user-profile.md +146 -146
  173. package/kit/framework/templates/user-setup.md +256 -256
  174. package/kit/framework/templates/verification-report.md +258 -258
  175. package/kit/framework/workflows/add-phase.md +112 -112
  176. package/kit/framework/workflows/add-tests.md +351 -351
  177. package/kit/framework/workflows/add-todo.md +158 -158
  178. package/kit/framework/workflows/audit-milestone.md +340 -340
  179. package/kit/framework/workflows/audit-uat.md +109 -109
  180. package/kit/framework/workflows/autonomous.md +891 -891
  181. package/kit/framework/workflows/check-todos.md +177 -177
  182. package/kit/framework/workflows/cleanup.md +152 -152
  183. package/kit/framework/workflows/complete-milestone.md +696 -696
  184. package/kit/framework/workflows/diagnose-issues.md +231 -231
  185. package/kit/framework/workflows/discovery-phase.md +289 -289
  186. package/kit/framework/workflows/discuss-phase-assumptions.md +653 -653
  187. package/kit/framework/workflows/discuss-phase.md +784 -784
  188. package/kit/framework/workflows/do.md +104 -104
  189. package/kit/framework/workflows/execute-phase.md +838 -838
  190. package/kit/framework/workflows/execute-plan.md +510 -510
  191. package/kit/framework/workflows/fast.md +102 -102
  192. package/kit/framework/workflows/forensics.md +265 -265
  193. package/kit/framework/workflows/health.md +181 -181
  194. package/kit/framework/workflows/help.md +619 -619
  195. package/kit/framework/workflows/insert-phase.md +130 -130
  196. package/kit/framework/workflows/list-phase-assumptions.md +178 -178
  197. package/kit/framework/workflows/list-workspaces.md +56 -56
  198. package/kit/framework/workflows/manager.md +362 -362
  199. package/kit/framework/workflows/map-codebase.md +377 -377
  200. package/kit/framework/workflows/milestone-summary.md +223 -223
  201. package/kit/framework/workflows/new-milestone.md +486 -486
  202. package/kit/framework/workflows/new-project.md +1159 -1159
  203. package/kit/framework/workflows/new-workspace.md +237 -237
  204. package/kit/framework/workflows/next.md +97 -97
  205. package/kit/framework/workflows/node-repair.md +92 -92
  206. package/kit/framework/workflows/note.md +156 -156
  207. package/kit/framework/workflows/pause-work.md +176 -176
  208. package/kit/framework/workflows/plan-milestone-gaps.md +273 -273
  209. package/kit/framework/workflows/plan-phase.md +765 -765
  210. package/kit/framework/workflows/plant-seed.md +169 -169
  211. package/kit/framework/workflows/pr-branch.md +129 -129
  212. package/kit/framework/workflows/profile-user.md +450 -450
  213. package/kit/framework/workflows/progress.md +507 -507
  214. package/kit/framework/workflows/quick.md +757 -757
  215. package/kit/framework/workflows/remove-phase.md +155 -155
  216. package/kit/framework/workflows/remove-workspace.md +90 -90
  217. package/kit/framework/workflows/research-phase.md +82 -82
  218. package/kit/framework/workflows/resume-project.md +326 -326
  219. package/kit/framework/workflows/review.md +228 -228
  220. package/kit/framework/workflows/session-report.md +146 -146
  221. package/kit/framework/workflows/settings.md +283 -283
  222. package/kit/framework/workflows/ship.md +228 -228
  223. package/kit/framework/workflows/stats.md +60 -60
  224. package/kit/framework/workflows/transition.md +671 -671
  225. package/kit/framework/workflows/ui-phase.md +302 -302
  226. package/kit/framework/workflows/ui-review.md +165 -165
  227. package/kit/framework/workflows/update.md +323 -323
  228. package/kit/framework/workflows/validate-phase.md +174 -174
  229. package/kit/framework/workflows/verify-phase.md +252 -252
  230. package/kit/framework/workflows/verify-work.md +637 -637
  231. package/kit/hooks/check-update.js +118 -118
  232. package/kit/hooks/context-monitor.js +163 -163
  233. package/kit/hooks/prompt-guard.js +103 -103
  234. package/kit/hooks/statusline.js +125 -125
  235. package/kit/hooks/workflow-guard.js +101 -101
  236. package/kit/settings.json +45 -45
  237. package/kit/skills/_shared-multi-tenant/glossary.md +186 -0
  238. package/kit/skills/audit-log-multi-tenant/SKILL.md +334 -0
  239. package/kit/skills/b2b-saas-architecture/SKILL.md +300 -0
  240. package/kit/skills/crm-lead-pipeline-patterns/SKILL.md +326 -0
  241. package/kit/skills/evolution-go-whatsapp-integration/SKILL.md +322 -0
  242. package/kit/skills/example-skill/SKILL.md +42 -42
  243. package/kit/skills/lgpd-multi-tenant-compliance/SKILL.md +340 -0
  244. package/kit/skills/member-invite-flow/SKILL.md +305 -0
  245. package/kit/skills/member-management-react-shadcn/SKILL.md +328 -0
  246. package/kit/skills/multi-tenant-performance-scaling/SKILL.md +312 -0
  247. package/kit/skills/multi-tenant-rls-hierarchy/SKILL.md +338 -0
  248. package/kit/skills/org-onboarding-flow/SKILL.md +257 -0
  249. package/kit/skills/org-switcher-react-pattern/SKILL.md +349 -0
  250. package/kit/skills/permission-gate-react-pattern/SKILL.md +271 -0
  251. package/kit/skills/rbac-permissions-matrix-supabase/SKILL.md +301 -0
  252. package/kit/skills/super-admin-platform-pattern/SKILL.md +322 -0
  253. package/kit/skills/whatsapp-conversation-state-machine/SKILL.md +287 -0
  254. package/package.json +63 -63
  255. package/src/core/kit.js +216 -216
  256. package/src/core/reflect.js +247 -247
  257. package/src/core/reverse-sync.js +372 -372
  258. package/src/core/sync.js +418 -418
  259. package/src/core/watch.js +121 -121
@@ -1,35 +1,35 @@
1
- ---
2
- name: validar-fase
3
- description: Audita retroativamente e preenche lacunas de validação Nyquist para uma fase concluída
4
- argument-hint: "[número da fase]"
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Edit
9
- - Bash
10
- - Glob
11
- - Grep
12
- - Task
13
- - AskUserQuestion
14
- ---
15
- <objective>
16
- Audita a cobertura de validação Nyquist para uma fase concluída. Três estados:
17
- - (A) VALIDATION.md existe — auditar e preencher lacunas
18
- - (B) Sem VALIDATION.md, SUMMARY.md existe — reconstruir a partir de artefatos
19
- - (C) Fase não executada — sair com orientação
20
-
21
- Saída: VALIDATION.md atualizado + arquivos de teste gerados.
22
- </objective>
23
-
24
- <execution_context>
25
- @./.claude/framework/workflows/validate-phase.md
26
- </execution_context>
27
-
28
- <context>
29
- Fase: $ARGUMENTS — opcional, padrão é a última fase concluída.
30
- </context>
31
-
32
- <process>
33
- Execute @./.claude/framework/workflows/validate-phase.md.
34
- Preserve todos os gates do workflow.
35
- </process>
1
+ ---
2
+ name: validar-fase
3
+ description: Audita retroativamente e preenche lacunas de validação Nyquist para uma fase concluída
4
+ argument-hint: "[número da fase]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+ <objective>
16
+ Audita a cobertura de validação Nyquist para uma fase concluída. Três estados:
17
+ - (A) VALIDATION.md existe — auditar e preencher lacunas
18
+ - (B) Sem VALIDATION.md, SUMMARY.md existe — reconstruir a partir de artefatos
19
+ - (C) Fase não executada — sair com orientação
20
+
21
+ Saída: VALIDATION.md atualizado + arquivos de teste gerados.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @./.claude/framework/workflows/validate-phase.md
26
+ </execution_context>
27
+
28
+ <context>
29
+ Fase: $ARGUMENTS — opcional, padrão é a última fase concluída.
30
+ </context>
31
+
32
+ <process>
33
+ Execute @./.claude/framework/workflows/validate-phase.md.
34
+ Preserve todos os gates do workflow.
35
+ </process>
@@ -1,45 +1,45 @@
1
- ---
2
- name: verificar-tarefas
3
- description: Lista todos os todos pendentes e seleciona um para trabalhar
4
- argument-hint: [filtro de área]
5
- allowed-tools:
6
- - Read
7
- - Write
8
- - Bash
9
- - AskUserQuestion
10
- ---
11
-
12
- <objective>
13
- Lista todos os todos pendentes, permite seleção, carrega o contexto completo do todo selecionado e encaminha para a ação adequada.
14
-
15
- Encaminha para o workflow check-todos que cuida de:
16
- - Contagem e listagem de todos com filtro por área
17
- - Seleção interativa com carregamento completo de contexto
18
- - Checagem de correlação com roadmap
19
- - Roteamento de ação (trabalhar agora, adicionar à fase, brainstorm, criar fase)
20
- - Atualizações do STATE.md e commits git
21
- </objective>
22
-
23
- <execution_context>
24
- @./.claude/framework/workflows/check-todos.md
25
- </execution_context>
26
-
27
- <context>
28
- Argumentos: $ARGUMENTS (filtro de área opcional)
29
-
30
- Estado dos todos e correlação com roadmap são carregados no workflow usando `init todos` e leituras específicas.
31
- </context>
32
-
33
- <process>
34
- **Seguir o workflow check-todos** de `@./.claude/framework/workflows/check-todos.md`.
35
-
36
- O workflow cuida de toda a lógica, incluindo:
37
- 1. Verificação de existência de todos
38
- 2. Filtro por área
39
- 3. Listagem e seleção interativa
40
- 4. Carregamento completo de contexto com resumos de arquivo
41
- 5. Checagem de correlação com roadmap
42
- 6. Oferta e execução de ação
43
- 7. Atualizações do STATE.md
44
- 8. Commits git
1
+ ---
2
+ name: verificar-tarefas
3
+ description: Lista todos os todos pendentes e seleciona um para trabalhar
4
+ argument-hint: [filtro de área]
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - AskUserQuestion
10
+ ---
11
+
12
+ <objective>
13
+ Lista todos os todos pendentes, permite seleção, carrega o contexto completo do todo selecionado e encaminha para a ação adequada.
14
+
15
+ Encaminha para o workflow check-todos que cuida de:
16
+ - Contagem e listagem de todos com filtro por área
17
+ - Seleção interativa com carregamento completo de contexto
18
+ - Checagem de correlação com roadmap
19
+ - Roteamento de ação (trabalhar agora, adicionar à fase, brainstorm, criar fase)
20
+ - Atualizações do STATE.md e commits git
21
+ </objective>
22
+
23
+ <execution_context>
24
+ @./.claude/framework/workflows/check-todos.md
25
+ </execution_context>
26
+
27
+ <context>
28
+ Argumentos: $ARGUMENTS (filtro de área opcional)
29
+
30
+ Estado dos todos e correlação com roadmap são carregados no workflow usando `init todos` e leituras específicas.
31
+ </context>
32
+
33
+ <process>
34
+ **Seguir o workflow check-todos** de `@./.claude/framework/workflows/check-todos.md`.
35
+
36
+ O workflow cuida de toda a lógica, incluindo:
37
+ 1. Verificação de existência de todos
38
+ 2. Filtro por área
39
+ 3. Listagem e seleção interativa
40
+ 4. Carregamento completo de contexto com resumos de arquivo
41
+ 5. Checagem de correlação com roadmap
42
+ 6. Oferta e execução de ação
43
+ 7. Atualizações do STATE.md
44
+ 8. Commits git
45
45
  </process>
@@ -1,64 +1,64 @@
1
- ---
2
- name: verificar-trabalho
3
- description: Valida funcionalidades construídas através de UAT conversacional
4
- argument-hint: "[número da fase, ex: '4']"
5
- allowed-tools:
6
- - Read
7
- - Bash
8
- - Glob
9
- - Grep
10
- - Edit
11
- - Write
12
- - Task
13
- ---
14
- <objective>
15
- Valida funcionalidades construídas através de testes conversacionais com estado persistente.
16
-
17
- Propósito: Confirmar que o que o Claude construiu realmente funciona da perspectiva do usuário. Um teste por vez, respostas em texto simples, sem interrogatório. Quando problemas são encontrados, automaticamente diagnostica, planeja correções e prepara para execução.
18
-
19
- Saída: {phase_num}-UAT.md rastreando todos os resultados de teste. Se problemas encontrados: lacunas diagnosticadas, planos de correção verificados prontos para /executar-fase
20
- </objective>
21
-
22
- <execution_context>
23
- @./.claude/framework/workflows/verify-work.md
24
- @./.claude/framework/templates/UAT.md
25
- </execution_context>
26
-
27
- <context>
28
- Fase: $ARGUMENTS (opcional)
29
- - Se fornecido: Testar fase específica (ex: "4")
30
- - Se não fornecido: Verificar sessões ativas ou solicitar fase
31
-
32
- Arquivos de contexto são resolvidos dentro do workflow (`init verify-work`) e delegados via blocos `<files_to_read>`.
33
- </context>
34
-
35
- <process>
36
- Execute o workflow verify-work de @./.claude/framework/workflows/verify-work.md do início ao fim.
37
- Preserve todos os gates do workflow (gerenciamento de sessão, apresentação de testes, diagnóstico, planejamento de correções, roteamento).
38
- </process>
39
-
40
- <observability_integration>
41
- **Integração com Core Analysis Loop em logs reais (v1.9):**
42
-
43
- Quando `workflow.observability_uat_validation = true` (default) e o projeto tem MCP Supabase disponível, o workflow inclui passo de validação observacional após UAT conversacional:
44
-
45
- 1. Para cada test passing no UAT, invocar o agente [`incident-investigator`](../agents/incident-investigator.md) em modo "validation":
46
- ```
47
- Task(subagent_type="incident-investigator", prompt="
48
- mode: validation
49
- symptom: validar que feature de Phase {N} efetivamente emitiu spans/eventos esperados
50
- time_window: última 1h
51
- expected_attributes: {result.success: true, build_id: {current_build}}
52
- ")
53
- ```
54
- 2. O agente queryará via `mcp__supabase__get_logs` ou `mcp__supabase__execute_sql` para confirmar:
55
- - Spans com nome esperado existem
56
- - Atributos canônicos foram emitidos (não só código existe — comportamento real)
57
- - `result.success` baseline está dentro do esperado
58
- 3. Se confirmado: UAT.md inclui evidência observacional (não só "funciona em UI"). Status `passed` ✓.
59
- 4. Se ausente: UAT.md flag `human_needed` com sugestão "verificar instrumentação não está pegando".
60
-
61
- **Skill consultada:** [`core-analysis-loop`](../skills/core-analysis-loop/SKILL.md) — para o caso de UAT falhar e precisar investigar.
62
-
63
- **REQ:** INT-FW-03.
64
- </observability_integration>
1
+ ---
2
+ name: verificar-trabalho
3
+ description: Valida funcionalidades construídas através de UAT conversacional
4
+ argument-hint: "[número da fase, ex: '4']"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - Edit
11
+ - Write
12
+ - Task
13
+ ---
14
+ <objective>
15
+ Valida funcionalidades construídas através de testes conversacionais com estado persistente.
16
+
17
+ Propósito: Confirmar que o que o Claude construiu realmente funciona da perspectiva do usuário. Um teste por vez, respostas em texto simples, sem interrogatório. Quando problemas são encontrados, automaticamente diagnostica, planeja correções e prepara para execução.
18
+
19
+ Saída: {phase_num}-UAT.md rastreando todos os resultados de teste. Se problemas encontrados: lacunas diagnosticadas, planos de correção verificados prontos para /executar-fase
20
+ </objective>
21
+
22
+ <execution_context>
23
+ @./.claude/framework/workflows/verify-work.md
24
+ @./.claude/framework/templates/UAT.md
25
+ </execution_context>
26
+
27
+ <context>
28
+ Fase: $ARGUMENTS (opcional)
29
+ - Se fornecido: Testar fase específica (ex: "4")
30
+ - Se não fornecido: Verificar sessões ativas ou solicitar fase
31
+
32
+ Arquivos de contexto são resolvidos dentro do workflow (`init verify-work`) e delegados via blocos `<files_to_read>`.
33
+ </context>
34
+
35
+ <process>
36
+ Execute o workflow verify-work de @./.claude/framework/workflows/verify-work.md do início ao fim.
37
+ Preserve todos os gates do workflow (gerenciamento de sessão, apresentação de testes, diagnóstico, planejamento de correções, roteamento).
38
+ </process>
39
+
40
+ <observability_integration>
41
+ **Integração com Core Analysis Loop em logs reais (v1.9):**
42
+
43
+ Quando `workflow.observability_uat_validation = true` (default) e o projeto tem MCP Supabase disponível, o workflow inclui passo de validação observacional após UAT conversacional:
44
+
45
+ 1. Para cada test passing no UAT, invocar o agente [`incident-investigator`](../agents/incident-investigator.md) em modo "validation":
46
+ ```
47
+ Task(subagent_type="incident-investigator", prompt="
48
+ mode: validation
49
+ symptom: validar que feature de Phase {N} efetivamente emitiu spans/eventos esperados
50
+ time_window: última 1h
51
+ expected_attributes: {result.success: true, build_id: {current_build}}
52
+ ")
53
+ ```
54
+ 2. O agente queryará via `mcp__supabase__get_logs` ou `mcp__supabase__execute_sql` para confirmar:
55
+ - Spans com nome esperado existem
56
+ - Atributos canônicos foram emitidos (não só código existe — comportamento real)
57
+ - `result.success` baseline está dentro do esperado
58
+ 3. Se confirmado: UAT.md inclui evidência observacional (não só "funciona em UI"). Status `passed` ✓.
59
+ 4. Se ausente: UAT.md flag `human_needed` com sugestão "verificar instrumentação não está pegando".
60
+
61
+ **Skill consultada:** [`core-analysis-loop`](../skills/core-analysis-loop/SKILL.md) — para o caso de UAT falhar e precisar investigar.
62
+
63
+ **REQ:** INT-FW-03.
64
+ </observability_integration>
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.20.0",
3
- "timestamp": "2026-05-10T10:34:49.078Z",
2
+ "version": "1.21.0",
3
+ "timestamp": "2026-05-10T15:32:12.077Z",
4
4
  "files": {
5
5
  "COMANDOS.md": "d24ec61a6ec35db314cc5f2ae287bfb927b794789c8f1d558c55862f5e6534b2",
6
6
  "COMPATIBILITY.md": "794e336a87045cdf0161785b9a7a0975a49abbd80bdd816b8852251fcc8126ca",
@@ -8,21 +8,30 @@
8
8
  "agents/advisor-researcher.md": "2ecc52247af1f379c7d0a85847a966095f71d8e5a6140f62611f04c9e4fe264b",
9
9
  "agents/ai-mutation-tester.md": "bbdedc2d41440340c403bf4b71fb902eec057f3771667703c32309885aa4f4db",
10
10
  "agents/assumptions-analyzer.md": "b730268a8c588bc16e30330df874f64d1dc0bbd4573e696f7a316ea9e4c1f57c",
11
+ "agents/audit-log-implementer.md": "b8520400c6dfd27ec3675ee84fdac6f8bddb314e4800b6edcac9bbc761a726ae",
12
+ "agents/b2b-saas-architect.md": "6e613518b6c101a1d7cf0d86ef9337347662db863e47a492c3a2415a9b43ec3d",
11
13
  "agents/burn-rate-forecaster.md": "a4f2efccc7073ef0ab1a225895f68dff7c95d4f9e1c04319569cad47c13dffac",
12
14
  "agents/cascading-failures-auditor.md": "6c44929a90a2fc59d3ba59dd67814a85dc08f1b86d41933c5f19cefc8d33bdd5",
13
15
  "agents/codebase-mapper.md": "e1500018c3c67c8408f6b9fbc2543221d69c2884083d14327fe27e751fc920bc",
16
+ "agents/crm-pipeline-implementer.md": "bf097760f52a7d30e329c8e3049676efebfd677d40a29e05e0e961e2128e4d1f",
14
17
  "agents/debugger.md": "bc9bf46863af9028920780f21894778f3c07f1f02dc2ad84246520f54d33a6f0",
18
+ "agents/evolution-go-integrator.md": "841b0d1fa1c962def8d47f8dc159a21a896a7fa6d7888eb42b6827d0bcab53e6",
15
19
  "agents/example-reviewer.md": "cad1dcd4cafffc73e96de653809fdc2a9a8b1d8dc51865efd4d1daaf4284755f",
16
20
  "agents/executor.md": "bc3af696fd820d32b0c5742c3c27a5f0ae527ae1627fb967b549ac193b34a853",
17
21
  "agents/golden-signals-instrumenter.md": "de85b79ea09157ccc37c2de0facc3e6d4b9dba087e780330bc78be9ddd447297",
18
22
  "agents/incident-investigator.md": "521fcd4add75d2d4668162d19373823a9826bc45f23afdaf813b19f34113082d",
19
23
  "agents/integration-checker.md": "15c2badc2a8b650b7229e9ba32f481b08370afd3b80f41c7ae1c4cda7652811e",
24
+ "agents/invite-flow-implementer.md": "8ed29134ef89b1464df618c5ee9e7bbc9e2a28d235f72614f4a9b6535c2a38ed",
20
25
  "agents/legacy-characterizer.md": "1e9da6e7a0518a19788052e60554740f582fa2cd27b8dc1dc73251df3e712714",
26
+ "agents/lgpd-compliance-auditor.md": "ddde11f1867340b7e10c336696157538d1666df97997fcedc4dcaf997937fc56",
21
27
  "agents/load-shedding-instrumenter.md": "63db224e3d8033a18cfe47ec8fc631685e356bf456d98b35c9c5d42d80fc5630",
28
+ "agents/multi-tenant-isolation-auditor.md": "eb4546c339469b5c9928786071a28807db38ec3e18213001e12a58e179938b2d",
29
+ "agents/multi-tenant-rls-writer.md": "cd23e46cf5d00ed09bf1a1a1f51f517d75531d1a9078d46239eab4abcd67de20",
22
30
  "agents/nyquist-auditor.md": "1d7590f356714eaacbdc92831dd100f9ca230a9c461e34223eb4bdf67ebaf076",
23
31
  "agents/observability-coverage-auditor.md": "e2c68e145182446ec47753b63063fea1d12b4356b390f33dffd4890f2c1a4352",
24
32
  "agents/observability-instrumenter.md": "6d40d96fdc3281b85d7db6d2e82f0e018945f2d148ab1b39c951774e6873aad2",
25
33
  "agents/omm-auditor.md": "8e09dca83495ba869f0f4c79c156f909a22b272e9ed77a0fe8a6658887cff7c0",
34
+ "agents/org-onboarding-implementer.md": "c63dc139be4b03db2019c83f75a21c37b2005eebd1638012b4a5b3f6ed9b60cf",
26
35
  "agents/payload-capture-instrumenter.md": "f1517b1a5d5cb10f8229de7402d4b6a786e8bd0ac9f6de3701a0a9dcebeb6cd5",
27
36
  "agents/phase-researcher.md": "3e431d8d6bd4f1459b049771a30f7176cfb6ccc21bf49e8a4cfb0bb03f9e7f7d",
28
37
  "agents/plan-checker.md": "32982f3713b4251d123e981c3f723c2a8702625edbbba4d862d64155086b94ae",
@@ -46,6 +55,7 @@
46
55
  "agents/supabase-realtime-implementer.md": "e10d7f723734da0dd930d6e0481e2afb2abde5b470d9c45e4364889dac19f3d6",
47
56
  "agents/supabase-rls-writer.md": "0ac667ba0f6543699b0053e5e8ec3eca43aff6e3307adde3959e9ce2056a9136",
48
57
  "agents/supabase-storage-implementer.md": "28d57bc1750acb5b0624ecc33bac6e7855e16dec40df4c490865df885a0980f8",
58
+ "agents/super-admin-implementer.md": "dd3d7897396d96ad3a1a91e43128f1fac26c010b8974b08f1d0ddc6cf2e831c3",
49
59
  "agents/toil-auditor.md": "58770f11805e7b3d8cc7b70d79ed73a6a33dc7d17b66fdc7716454406acefd61",
50
60
  "agents/ui-auditor.md": "a94816e9535757b02c6fcc8ae1e51f6378813c9f256e26859e01757e49c38d31",
51
61
  "agents/ui-checker.md": "be3308db8733d8f9ce3db1d2cef924738498ed03c7aa15c0fca21a9c15e79da2",
@@ -101,6 +111,7 @@
101
111
  "commands/listar-workspaces.md": "4689e7bcaa119ed0704ef38c12d26eba49737c8c119d4db3535084ea26eb5aba",
102
112
  "commands/load-shedding.md": "cf51027e9a19b65aaf0e8f2f299bedb8a623fc82bc142f348583ca21e1ab2e73",
103
113
  "commands/mapear-codebase.md": "ae487831eae8895bf516f22fd5ad31d6da5682e33d4571b8e2a1a6682a47b6e9",
114
+ "commands/multi-tenant.md": "2871a76648279ea007b37cc0dcf13e53d2b7647d7d64d8d46c750e9bbdd4fc21",
104
115
  "commands/nota.md": "cef5a3539ef53f48e91070b99dc84bc81b0cf26b13629562c8615e17d276b50b",
105
116
  "commands/novo-marco.md": "8aa272baf4d4798f399fc52693969c8ce1989c5a8413976046b3848feb7002c2",
106
117
  "commands/novo-projeto.md": "8d7b1ab05be01c440e9926cb51805476dec547d778724fef5c4d098c750d4f67",
@@ -282,17 +293,22 @@
282
293
  "hooks/workflow-guard.js": "197f1921c971236174f2f7cd65ae51e36ce5ac0ecbeac25c518ca379525fb0f6",
283
294
  "settings.json": "39e3e9bd40bc30a00c1790071462651e8ba6e52f5f16455a8f7bbacd7bde1827",
284
295
  "skills/_shared-legacy/glossary.md": "7dabc31ddd3b2b597f76d1a55ef51b0bd59315aaef59245873c224c4fd21c86d",
296
+ "skills/_shared-multi-tenant/glossary.md": "1e040a36025489859312430771dde13bde9c62098fcd100440a82a2bb4d22b6a",
285
297
  "skills/_shared-observability/glossary.md": "ec3892c226af03299c0875e36fd0170cc9f801b02df52a2e0ec5c7468229912a",
286
298
  "skills/_shared-sre/glossary.md": "55a052c7d2292622150ed1cbb5aa0d675c332287b00ee4e3dd84900f9cf0ec84",
287
299
  "skills/_shared-supabase/glossary.md": "2ebb4e09d9eda88a4f388f406f5cdb36fafa26a3ce6fb33d5c1976bcfac19327",
288
300
  "skills/ai-prompt-characterization/SKILL.md": "1a8114296c754e2018b1c1fd428c364f8de4485fedd5df78d3afcb33c3fef1a4",
301
+ "skills/audit-log-multi-tenant/SKILL.md": "8a7bc9b35f203098049a34b4dd5ec9693800ee1d8bf52f9c2bf0a78583c84323",
302
+ "skills/b2b-saas-architecture/SKILL.md": "01f39621cb924a885b3a097e9012d6dba637fcd9e543cd82505261190c227989",
289
303
  "skills/blameless-postmortems/SKILL.md": "55c386c055c869474b6164c0b871a882369a5e57ddf7de8eddcd881ceba70dfa",
290
304
  "skills/burn-rate-alerting/SKILL.md": "19cbd991efbb3b5d9ab6c53ada448b2624e6ab3f87ac500c0787bc4c8f2988e3",
291
305
  "skills/cascading-failures/SKILL.md": "d308982fea601e8b9fa3ae9ec4bb7052475b57b039323f7398a956199f5edcd4",
292
306
  "skills/core-analysis-loop/SKILL.md": "298f27d1706abe0e64fa7dfa925eba3255328dccd03b24589be1e80d6d673dd3",
307
+ "skills/crm-lead-pipeline-patterns/SKILL.md": "15ec4522d1c4f0a571fdc9db989552c5f72b1880ecbc4ab538435284f06d75b7",
293
308
  "skills/distributed-tracing/SKILL.md": "7747bbd0563b28cba11b11064012c0b7a696ac04bd65c64debb42987781b26ff",
294
309
  "skills/eliminating-toil/SKILL.md": "451c7dfc5dd5af925f0b38657553ddbc1cc95923b3a572ac79d18201acb136cd",
295
310
  "skills/event-based-slos/SKILL.md": "6bf107d86cc409ab24773e16f26b4eca6e228dfd2db027de7b384e88a05bd50e",
311
+ "skills/evolution-go-whatsapp-integration/SKILL.md": "4b964cb297ec9df7413b1cc6dd73fa3d04a8de68c584b9b72fceed576d2afebe",
296
312
  "skills/example-skill/SKILL.md": "2ddf878e69e19b0138d8a2c6a31404593fed3e229375869991ab28b469069233",
297
313
  "skills/four-golden-signals/SKILL.md": "c83bac06bb676a3a7ee24c11d9d5d72388ae8bfd21ad9e7face24c5fcebd7b60",
298
314
  "skills/hermetic-builds/SKILL.md": "56c7c5c4121a51e895d28a6bdfb6373580625b600f3b96516ba41434a4035026",
@@ -306,13 +322,22 @@
306
322
  "skills/legacy-shotgun-surgery/SKILL.md": "3b0c7c143a498ad0b7b177be046a7c94532a99afa4acb59ca5f08cc3e5db8f54",
307
323
  "skills/legacy-sprout-wrap-techniques/SKILL.md": "26c39659b0bc2ea83f1b5879ed94f9782a608c12bba15c4507bfa4a79e1b899e",
308
324
  "skills/legacy-storytelling-naked-crc/SKILL.md": "100cef2fc06b27b10f74e0ec26faaf0a04c7cb52b25f0f322368ed2c266697bf",
325
+ "skills/lgpd-multi-tenant-compliance/SKILL.md": "71b49e2f83410a1a38e4156a2ceb70c342dc3e91ed236be0bcddd63313d62489",
309
326
  "skills/llm-as-dependency/SKILL.md": "3c0ea7c7a923d14f62ba1d231b7c1b1fd2f09f4622e3601111a70e68f384a6f7",
310
327
  "skills/load-shedding-graceful-degradation/SKILL.md": "b261e4ff756e4aea689ccfd3c4dc721df22c6ae91b08a029db2b7a9f2a172b6f",
328
+ "skills/member-invite-flow/SKILL.md": "caea28f2a6c63f585f92b1fdbd113818a6f41aedef5ee9482bd60ea881f660fc",
329
+ "skills/member-management-react-shadcn/SKILL.md": "232fa16b9f3def2d4df46cefdcf1f82ce7db211baf3d5f8e5255ce58f21351bb",
330
+ "skills/multi-tenant-performance-scaling/SKILL.md": "ab38dcae7d99f7cbd2c0e38fcb388d413493e28de18983d648f6d9b6ed47fc3c",
331
+ "skills/multi-tenant-rls-hierarchy/SKILL.md": "a48f60272d5c5bc9be84596a9b245651f1aec91cfa87e40ea1404e57ac8c54b5",
311
332
  "skills/observability-driven-development/SKILL.md": "9abaec925bbb59391597d92164c43b432eef32884ce3b4623f419f421322fa83",
312
333
  "skills/observability-maturity-model/SKILL.md": "49bccaa9e122651fbbe5457f7fef96114f9b3e8626faf6e3a8cc6ded66c7da10",
313
334
  "skills/opentelemetry-standard/SKILL.md": "891099b62991c74598f1e1c51889475cd69ca624f92bd0e7931b2613e4f90f01",
335
+ "skills/org-onboarding-flow/SKILL.md": "68be27185492a93a599860a7212e935d4a6e3625ffd86348d18086657c04fa0b",
336
+ "skills/org-switcher-react-pattern/SKILL.md": "c246d536d1ee65a9ea0cc7ab09429ca798afb7ef3468eaaeacedc0bd450bb963",
337
+ "skills/permission-gate-react-pattern/SKILL.md": "2c3f8b8ac0c495af0991c5e314d962187ef0cf61982440f0959b422385b07969",
314
338
  "skills/pre-refactor-characterization/SKILL.md": "9124f9ca0636a75474ea3f6d851e587be2f75505b3a835af0a4aaa0855bd20d3",
315
339
  "skills/production-readiness-review/SKILL.md": "2a9731265163c9fe7ba4fd05ceaf164ee4d1188b0d147ddff3b13bd9d3058c04",
340
+ "skills/rbac-permissions-matrix-supabase/SKILL.md": "7cf6aafe6d0de895165fb67649d54147341a4f103f13624c8981fe16d2c7d2c9",
316
341
  "skills/release-engineering/SKILL.md": "01e69f50d2bb207d348552a01d0d69b6159b47573fe7e31aec53f6df52c3d057",
317
342
  "skills/retry-strategies/SKILL.md": "017a38146787592cde5c009bc06c8f483ca2b609a018d0b526972ddf5e46f52a",
318
343
  "skills/sre-risk-management/SKILL.md": "6e56a30b081abffbf9ce97e86b9c376361d6af765fe5475970f1646351c54e39",
@@ -328,7 +353,9 @@
328
353
  "skills/supabase-realtime/SKILL.md": "ca2584a59742b30f5351fad23f4a1957218ca730ce3af990affe79f03854f460",
329
354
  "skills/supabase-rls-policies/SKILL.md": "b8cab2e5813a00fea6aa19a59be94dfa536d675067c2e87c94576e97d472d16e",
330
355
  "skills/supabase-storage/SKILL.md": "f7360aa9149e55f68fa794a91c18994329e4f304cc263f90f0607e43053e9da8",
356
+ "skills/super-admin-platform-pattern/SKILL.md": "e3063f32f111756fbc1792767b2a26a9aef2ed16b90615cc21655acc33269ae7",
331
357
  "skills/telemetry-pipelines/SKILL.md": "7623244afdf8e6b0b865e572c8e8537c73255914a4562a95f99f22be7448f80e",
332
- "skills/telemetry-sampling/SKILL.md": "d448f9022ba0f53a9f692189d2515e45fc3e9de52256bd0715b4c1374c8cc203"
358
+ "skills/telemetry-sampling/SKILL.md": "d448f9022ba0f53a9f692189d2515e45fc3e9de52256bd0715b4c1374c8cc203",
359
+ "skills/whatsapp-conversation-state-machine/SKILL.md": "8467327173d17213406e2ae2c959984e60399eee567384bc39a4592f7f09f747"
333
360
  }
334
361
  }