sedd 0.1.7 → 0.1.9

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.
@@ -0,0 +1,174 @@
1
+ # Validação: Migration {{MIGRATION_ID}}
2
+
3
+ > Feature: {{FEATURE_NAME}}
4
+ > Feature ID: {{FEATURE_ID}}
5
+ > Validado em: {{TIMESTAMP}}
6
+ > Status: {{VALIDATION_STATUS}}
7
+
8
+ ---
9
+
10
+ ## Expectativa Original
11
+
12
+ > {{EXPECTATION_SUMMARY}}
13
+
14
+ ### DEVE (Must)
15
+
16
+ {{#each must}}
17
+ - {{this}}
18
+ {{/each}}
19
+
20
+ ### NÃO DEVE (Must Not)
21
+
22
+ {{#each mustNot}}
23
+ - {{this}}
24
+ {{/each}}
25
+
26
+ ---
27
+
28
+ ## Cobertura de Expectativa
29
+
30
+ | Critério | Status | Coberto por | Confiança |
31
+ |----------|--------|-------------|-----------|
32
+ {{#each coverage}}
33
+ | {{expectationItem}} | {{statusIcon}} {{status}} | {{coveredByTasks}} | {{confidence}}% |
34
+ {{/each}}
35
+
36
+ **Cobertura Total: {{COVERAGE_PERCENTAGE}}%**
37
+
38
+ ```
39
+ {{COVERAGE_BAR}}
40
+ ```
41
+
42
+ ---
43
+
44
+ ## Violações de Restrições
45
+
46
+ {{#if violations}}
47
+ ⚠️ **VIOLAÇÕES ENCONTRADAS:**
48
+
49
+ | Regra | Arquivo | Severidade |
50
+ |-------|---------|------------|
51
+ {{#each violations}}
52
+ | {{rule}} | `{{violatedBy}}` | {{severity}} |
53
+ {{/each}}
54
+ {{else}}
55
+ ✅ Nenhuma violação de restrições encontrada.
56
+ {{/if}}
57
+
58
+ ---
59
+
60
+ ## Arquivos Alterados
61
+
62
+ | Arquivo | Adições | Remoções | Tipo |
63
+ |---------|---------|----------|------|
64
+ {{#each filesChanged}}
65
+ | `{{filePath}}` | +{{linesAdded}} | -{{linesRemoved}} | {{fileType}} |
66
+ {{/each}}
67
+
68
+ **Total:** {{TOTAL_FILES}} arquivos, +{{TOTAL_ADDED}} -{{TOTAL_REMOVED}} linhas
69
+
70
+ ---
71
+
72
+ ## Git Diff Summary
73
+
74
+ ```diff
75
+ {{GIT_DIFF_SUMMARY}}
76
+ ```
77
+
78
+ <details>
79
+ <summary>Ver diff completo</summary>
80
+
81
+ ```diff
82
+ {{FULL_DIFF}}
83
+ ```
84
+
85
+ </details>
86
+
87
+ ---
88
+
89
+ ## Tasks Completadas
90
+
91
+ {{#each tasksCompleted}}
92
+ - [x] {{this}}
93
+ {{/each}}
94
+
95
+ ## Tasks Pendentes
96
+
97
+ {{#if tasksPending}}
98
+ {{#each tasksPending}}
99
+ - [ ] {{this}}
100
+ {{/each}}
101
+ {{else}}
102
+ Todas as tasks foram completadas.
103
+ {{/if}}
104
+
105
+ ---
106
+
107
+ ## Gaps Identificados
108
+
109
+ {{#if gaps}}
110
+ Os seguintes gaps foram identificados entre expectativa e implementação:
111
+
112
+ {{#each gaps}}
113
+ ### Gap {{@index}}: {{description}}
114
+
115
+ - **Expectativa:** {{expectationItem}}
116
+ - **Severidade:** {{severity}}
117
+ - **Task Sugerida:** `{{suggestedTask.id}}` - {{suggestedTask.description}}
118
+
119
+ {{/each}}
120
+
121
+ ### Tasks Sugeridas para Gaps
122
+
123
+ ```markdown
124
+ {{#each gaps}}
125
+ - [ ] {{suggestedTask.id}} [Follow-up] {{suggestedTask.description}}
126
+ {{/each}}
127
+ ```
128
+ {{else}}
129
+ ✅ Nenhum gap identificado. Implementação cobre a expectativa.
130
+ {{/if}}
131
+
132
+ ---
133
+
134
+ ## Recomendação
135
+
136
+ {{#if (eq recommendation "complete")}}
137
+ ### ✅ FEATURE COMPLETA
138
+
139
+ A implementação cobre todos os critérios da expectativa.
140
+
141
+ **Próximo passo:** Merge para branch principal.
142
+ {{/if}}
143
+
144
+ {{#if (eq recommendation "needs-followup")}}
145
+ ### ⚠️ REQUER FOLLOW-UP
146
+
147
+ Gaps identificados requerem tasks adicionais.
148
+
149
+ **Próximo passo:** `/sedd.clarify` para criar nova migration com gaps.
150
+ {{/if}}
151
+
152
+ {{#if (eq recommendation "needs-revision")}}
153
+ ### ❌ REQUER REVISÃO
154
+
155
+ Violações de restrições encontradas.
156
+
157
+ **Próximo passo:** Reverter alterações que violam restrições.
158
+ {{/if}}
159
+
160
+ ---
161
+
162
+ ## Próximos Passos
163
+
164
+ {{#each nextSteps}}
165
+ {{@index}}. {{this}}
166
+ {{/each}}
167
+
168
+ ---
169
+
170
+ ## Histórico de Validações
171
+
172
+ | Data | Migration | Cobertura | Status |
173
+ |------|-----------|-----------|--------|
174
+ | {{TIMESTAMP}} | {{MIGRATION_ID}} | {{COVERAGE_PERCENTAGE}}% | {{VALIDATION_STATUS}} |