spec-first-copilot 0.7.0-beta.1 → 0.7.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.
- package/README.md +252 -167
- package/bin/cli.js +70 -70
- package/lib/init.js +92 -92
- package/lib/update.js +132 -132
- package/package.json +1 -1
- package/templates/.ai/memory/napkin.md +68 -68
- package/templates/.github/CHANGELOG.md +560 -533
- package/templates/.github/adapters/SETUP.md +314 -314
- package/templates/.github/adapters/confluence.md +295 -295
- package/templates/.github/adapters/errors.md +234 -234
- package/templates/.github/adapters/filesystem.md +353 -353
- package/templates/.github/adapters/interface.md +301 -301
- package/templates/.github/adapters/naming.md +241 -241
- package/templates/.github/adapters/registry.md +244 -244
- package/templates/.github/agents/backend-coder.md +215 -215
- package/templates/.github/agents/db-coder.md +165 -165
- package/templates/.github/agents/doc-writer.md +66 -66
- package/templates/.github/agents/frontend-coder.md +222 -222
- package/templates/.github/agents/infra-coder.md +341 -341
- package/templates/.github/agents/reviewer.md +99 -99
- package/templates/.github/agents/security-reviewer.md +153 -153
- package/templates/.github/copilot-instructions.md +272 -272
- package/templates/.github/instructions/docs.instructions.md +147 -145
- package/templates/.github/instructions/sensitive-files.instructions.md +32 -32
- package/templates/.github/rules.md +229 -229
- package/templates/.github/scripts/bootstrap-confluence.js +289 -289
- package/templates/.github/skills/sf-design/SKILL.md +161 -161
- package/templates/.github/skills/sf-dev/SKILL.md +204 -204
- package/templates/.github/skills/sf-discovery/SKILL.md +415 -415
- package/templates/.github/skills/sf-extract/SKILL.md +225 -225
- package/templates/.github/skills/sf-load/SKILL.md +296 -296
- package/templates/.github/skills/sf-mcp/SKILL.md +386 -386
- package/templates/.github/skills/sf-merge-docs/SKILL.md +152 -152
- package/templates/.github/skills/sf-plan/SKILL.md +152 -152
- package/templates/.github/skills/sf-publish/SKILL.md +144 -144
- package/templates/.github/skills/sf-session-finish/SKILL.md +93 -93
- package/templates/.github/skills/sf-start/SKILL.md +192 -192
- package/templates/.github/templates/estrutura/apiContracts.template.md +160 -159
- package/templates/.github/templates/estrutura/architecture.template.md +169 -168
- package/templates/.github/templates/estrutura/conventions.template.md +214 -212
- package/templates/.github/templates/estrutura/decisions.template.md +107 -107
- package/templates/.github/templates/estrutura/domain.template.md +161 -160
- package/templates/.github/templates/feature/PRD.template.md +279 -279
- package/templates/.github/templates/feature/Progresso.template.md +141 -141
- package/templates/.github/templates/feature/TRD.template.md +358 -358
- package/templates/.github/templates/feature/context.template.md +89 -89
- package/templates/.github/templates/feature/extract-log.template.md +49 -49
- package/templates/.github/templates/feature/projetos.template.yaml +79 -79
- package/templates/.github/templates/global/progresso_global.template.md +59 -57
- package/templates/.github/templates/specs/brief.template.md +66 -66
- package/templates/.github/templates/specs/contracts.template.md +147 -147
- package/templates/.github/templates/specs/scenarios.template.md +125 -125
- package/templates/.github/templates/specs/tasks.template.md +65 -65
- package/templates/_gitignore +35 -35
- package/templates/sfw.config.yml.example +147 -147
|
@@ -1,141 +1,141 @@
|
|
|
1
|
-
# Progresso — {{FEATURE}}
|
|
2
|
-
|
|
3
|
-
> Visão consolidada do andamento da feature.
|
|
4
|
-
> Organizado por **fases de entrega** — cada fase é um entregável independente.
|
|
5
|
-
> Atualizado automaticamente pelo /sf-dev a cada task concluída.
|
|
6
|
-
>
|
|
7
|
-
> **Este arquivo rastreia FASES DE ENTREGA, não o pipeline do SFW.**
|
|
8
|
-
> O estado do pipeline (extract_done, design_done, plan_done, dev_in_progress, dev_done, done)
|
|
9
|
-
> vive em `.context.md`. Aqui rastreamos: "as fases de entrega do PRD §11 já foram implementadas?"
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Status das Fases: `não iniciado`
|
|
14
|
-
|
|
15
|
-
<!-- não iniciado → em desenvolvimento → em revisão → concluído → arquivado
|
|
16
|
-
(vocabulário PRÓPRIO deste arquivo — não confundir com status da pipeline em .context.md) -->
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
<!--
|
|
21
|
-
=============================================================================
|
|
22
|
-
INSTRUÇÕES PARA O AGENTE (não incluir no arquivo gerado)
|
|
23
|
-
=============================================================================
|
|
24
|
-
|
|
25
|
-
COMO GERAR ESTE ARQUIVO:
|
|
26
|
-
|
|
27
|
-
1. Ler PRD §11 (Fases de Entrega) para definir as fases
|
|
28
|
-
2. Ler TODOS os specs/{nome}/tasks.md da feature
|
|
29
|
-
3. Para cada FASE DE ENTREGA, listar as áreas e contagem de tasks
|
|
30
|
-
4. A visão primária é POR FASE, não por área
|
|
31
|
-
|
|
32
|
-
COMO ATUALIZAR:
|
|
33
|
-
|
|
34
|
-
- O /sf-dev atualiza após cada task concluída
|
|
35
|
-
- Status por fase: ⬜ pendente → 🔄 em andamento → ✅ concluída
|
|
36
|
-
- Fase concluída = todas tasks de todas áreas daquela fase estão [x]
|
|
37
|
-
- Ao concluir uma fase: registrar no Histórico + abrir PR
|
|
38
|
-
|
|
39
|
-
=============================================================================
|
|
40
|
-
-->
|
|
41
|
-
|
|
42
|
-
## Fases de Entrega
|
|
43
|
-
|
|
44
|
-
| Fase | Nome | Prioridade | Entregável | Status | Tasks |
|
|
45
|
-
|------|------|-----------|------------|--------|-------|
|
|
46
|
-
| 1 | {{Nome}} | P1 | {{Entregável}} | ⬜ pendente | 0/{{N}} |
|
|
47
|
-
| 2 | {{Nome}} | P1 | {{Entregável}} | ⬜ pendente | 0/{{N}} |
|
|
48
|
-
| 3 | {{Nome}} | P2 | {{Entregável}} | ⬜ pendente | 0/{{N}} |
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## Fase 1 — {{Nome}} [P1]
|
|
53
|
-
|
|
54
|
-
> **Entregável**: {{O que o usuário pode usar}}
|
|
55
|
-
> **Critério de done**: {{Testes E2E que devem passar}}
|
|
56
|
-
> **Branch**: `feature/{{FEATURE}}_fase1`
|
|
57
|
-
> **PR**: (a ser criado)
|
|
58
|
-
|
|
59
|
-
### Tasks por área
|
|
60
|
-
|
|
61
|
-
#### {{AREA_1}} ({{N}} tasks)
|
|
62
|
-
|
|
63
|
-
| Task | Descrição | Tamanho | Repo | Status |
|
|
64
|
-
|------|-----------|---------|------|--------|
|
|
65
|
-
| AREA-001 | | S/M/L | {{repo}} | ⬜ |
|
|
66
|
-
|
|
67
|
-
#### {{AREA_2}} ({{N}} tasks)
|
|
68
|
-
|
|
69
|
-
| Task | Descrição | Tamanho | Repo | Status |
|
|
70
|
-
|------|-----------|---------|------|--------|
|
|
71
|
-
| AREA-001 | | S/M/L | {{repo}} | ⬜ |
|
|
72
|
-
|
|
73
|
-
### Resumo Fase 1
|
|
74
|
-
|
|
75
|
-
| Área | Total | Feitas | % |
|
|
76
|
-
|------|-------|--------|---|
|
|
77
|
-
| {{AREA_1}} | {{N}} | 0 | 0% |
|
|
78
|
-
| {{AREA_2}} | {{N}} | 0 | 0% |
|
|
79
|
-
| **Total Fase 1** | **{{N}}** | **0** | **0%** |
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## Fase 2 — {{Nome}} [P1]
|
|
84
|
-
|
|
85
|
-
> **Entregável**: {{...}}
|
|
86
|
-
> **Depende de**: Fase 1 concluída
|
|
87
|
-
|
|
88
|
-
<!-- Repetir mesma estrutura -->
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Totais Gerais
|
|
93
|
-
|
|
94
|
-
| Fase | Total | Feitas | % |
|
|
95
|
-
|------|-------|--------|---|
|
|
96
|
-
| Fase 1 | {{N}} | 0 | 0% |
|
|
97
|
-
| Fase 2 | {{N}} | 0 | 0% |
|
|
98
|
-
| **Total** | **{{N}}** | **0** | **0%** |
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Ordem de Execução
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
Fase 1:
|
|
106
|
-
1. INFRA (setup de repos/ambiente)
|
|
107
|
-
2. DB (schema/migrations)
|
|
108
|
-
3. BACK (endpoints) ← pode paralelizar com FRONT após DB
|
|
109
|
-
4. FRONT (telas)
|
|
110
|
-
→ PR Fase 1 + testes manuais + merge
|
|
111
|
-
|
|
112
|
-
Fase 2:
|
|
113
|
-
1. DB (novas tabelas/migrations)
|
|
114
|
-
2. BACK (endpoints + regras)
|
|
115
|
-
3. FRONT (telas + integração)
|
|
116
|
-
→ PR Fase 2 + testes manuais + merge
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
## Histórico
|
|
122
|
-
|
|
123
|
-
| Data | Evento | Detalhes |
|
|
124
|
-
|------|--------|----------|
|
|
125
|
-
| | Feature criada | PRD
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## Pós-conclusão (por fase)
|
|
130
|
-
|
|
131
|
-
- [ ] PR aberto com template detalhado
|
|
132
|
-
- [ ] Ambiente local rodando para testes manuais
|
|
133
|
-
- [ ] Testes automatizados passando (unit + integration + security)
|
|
134
|
-
- [ ] Usuário aprovou e fez merge
|
|
135
|
-
|
|
136
|
-
## Pós-conclusão (feature completa)
|
|
137
|
-
|
|
138
|
-
- [ ] Todas fases concluídas e mergeadas
|
|
139
|
-
- [ ]
|
|
140
|
-
- [ ] Atualizar `workspace/Output/progresso.md` (visão global)
|
|
141
|
-
- [ ] Atualizar `.ai/memory/napkin.md` se houver aprendizado relevante
|
|
1
|
+
# Progresso — {{FEATURE}}
|
|
2
|
+
|
|
3
|
+
> Visão consolidada do andamento da feature.
|
|
4
|
+
> Organizado por **fases de entrega** — cada fase é um entregável independente.
|
|
5
|
+
> Atualizado automaticamente pelo /sf-dev a cada task concluída.
|
|
6
|
+
>
|
|
7
|
+
> **Este arquivo rastreia FASES DE ENTREGA, não o pipeline do SFW.**
|
|
8
|
+
> O estado do pipeline (extract_done, design_done, plan_done, dev_in_progress, dev_done, done)
|
|
9
|
+
> vive em `.context.md`. Aqui rastreamos: "as fases de entrega do PRD §11 já foram implementadas?"
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Status das Fases: `não iniciado`
|
|
14
|
+
|
|
15
|
+
<!-- não iniciado → em desenvolvimento → em revisão → concluído → arquivado
|
|
16
|
+
(vocabulário PRÓPRIO deste arquivo — não confundir com status da pipeline em .context.md) -->
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
<!--
|
|
21
|
+
=============================================================================
|
|
22
|
+
INSTRUÇÕES PARA O AGENTE (não incluir no arquivo gerado)
|
|
23
|
+
=============================================================================
|
|
24
|
+
|
|
25
|
+
COMO GERAR ESTE ARQUIVO:
|
|
26
|
+
|
|
27
|
+
1. Ler PRD §11 (Fases de Entrega) para definir as fases
|
|
28
|
+
2. Ler TODOS os specs/{nome}/tasks.md da feature
|
|
29
|
+
3. Para cada FASE DE ENTREGA, listar as áreas e contagem de tasks
|
|
30
|
+
4. A visão primária é POR FASE, não por área
|
|
31
|
+
|
|
32
|
+
COMO ATUALIZAR:
|
|
33
|
+
|
|
34
|
+
- O /sf-dev atualiza após cada task concluída
|
|
35
|
+
- Status por fase: ⬜ pendente → 🔄 em andamento → ✅ concluída
|
|
36
|
+
- Fase concluída = todas tasks de todas áreas daquela fase estão [x]
|
|
37
|
+
- Ao concluir uma fase: registrar no Histórico + abrir PR
|
|
38
|
+
|
|
39
|
+
=============================================================================
|
|
40
|
+
-->
|
|
41
|
+
|
|
42
|
+
## Fases de Entrega
|
|
43
|
+
|
|
44
|
+
| Fase | Nome | Prioridade | Entregável | Status | Tasks |
|
|
45
|
+
|------|------|-----------|------------|--------|-------|
|
|
46
|
+
| 1 | {{Nome}} | P1 | {{Entregável}} | ⬜ pendente | 0/{{N}} |
|
|
47
|
+
| 2 | {{Nome}} | P1 | {{Entregável}} | ⬜ pendente | 0/{{N}} |
|
|
48
|
+
| 3 | {{Nome}} | P2 | {{Entregável}} | ⬜ pendente | 0/{{N}} |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Fase 1 — {{Nome}} [P1]
|
|
53
|
+
|
|
54
|
+
> **Entregável**: {{O que o usuário pode usar}}
|
|
55
|
+
> **Critério de done**: {{Testes E2E que devem passar}}
|
|
56
|
+
> **Branch**: `feature/{{FEATURE}}_fase1`
|
|
57
|
+
> **PR**: (a ser criado)
|
|
58
|
+
|
|
59
|
+
### Tasks por área
|
|
60
|
+
|
|
61
|
+
#### {{AREA_1}} ({{N}} tasks)
|
|
62
|
+
|
|
63
|
+
| Task | Descrição | Tamanho | Repo | Status |
|
|
64
|
+
|------|-----------|---------|------|--------|
|
|
65
|
+
| AREA-001 | | S/M/L | {{repo}} | ⬜ |
|
|
66
|
+
|
|
67
|
+
#### {{AREA_2}} ({{N}} tasks)
|
|
68
|
+
|
|
69
|
+
| Task | Descrição | Tamanho | Repo | Status |
|
|
70
|
+
|------|-----------|---------|------|--------|
|
|
71
|
+
| AREA-001 | | S/M/L | {{repo}} | ⬜ |
|
|
72
|
+
|
|
73
|
+
### Resumo Fase 1
|
|
74
|
+
|
|
75
|
+
| Área | Total | Feitas | % |
|
|
76
|
+
|------|-------|--------|---|
|
|
77
|
+
| {{AREA_1}} | {{N}} | 0 | 0% |
|
|
78
|
+
| {{AREA_2}} | {{N}} | 0 | 0% |
|
|
79
|
+
| **Total Fase 1** | **{{N}}** | **0** | **0%** |
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Fase 2 — {{Nome}} [P1]
|
|
84
|
+
|
|
85
|
+
> **Entregável**: {{...}}
|
|
86
|
+
> **Depende de**: Fase 1 concluída
|
|
87
|
+
|
|
88
|
+
<!-- Repetir mesma estrutura -->
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Totais Gerais
|
|
93
|
+
|
|
94
|
+
| Fase | Total | Feitas | % |
|
|
95
|
+
|------|-------|--------|---|
|
|
96
|
+
| Fase 1 | {{N}} | 0 | 0% |
|
|
97
|
+
| Fase 2 | {{N}} | 0 | 0% |
|
|
98
|
+
| **Total** | **{{N}}** | **0** | **0%** |
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Ordem de Execução
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
Fase 1:
|
|
106
|
+
1. INFRA (setup de repos/ambiente)
|
|
107
|
+
2. DB (schema/migrations)
|
|
108
|
+
3. BACK (endpoints) ← pode paralelizar com FRONT após DB
|
|
109
|
+
4. FRONT (telas)
|
|
110
|
+
→ PR Fase 1 + testes manuais + merge
|
|
111
|
+
|
|
112
|
+
Fase 2:
|
|
113
|
+
1. DB (novas tabelas/migrations)
|
|
114
|
+
2. BACK (endpoints + regras)
|
|
115
|
+
3. FRONT (telas + integração)
|
|
116
|
+
→ PR Fase 2 + testes manuais + merge
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Histórico
|
|
122
|
+
|
|
123
|
+
| Data | Evento | Detalhes |
|
|
124
|
+
|------|--------|----------|
|
|
125
|
+
| | Feature criada | PRD e/ou TRD aprovados, specs/ gerado |
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Pós-conclusão (por fase)
|
|
130
|
+
|
|
131
|
+
- [ ] PR aberto com template detalhado
|
|
132
|
+
- [ ] Ambiente local rodando para testes manuais
|
|
133
|
+
- [ ] Testes automatizados passando (unit + integration + security)
|
|
134
|
+
- [ ] Usuário aprovou e fez merge
|
|
135
|
+
|
|
136
|
+
## Pós-conclusão (feature completa)
|
|
137
|
+
|
|
138
|
+
- [ ] Todas fases concluídas e mergeadas
|
|
139
|
+
- [ ] Rodar /sf-merge-docs (diff semântico PRD+TRD ↔ docs/) atualizou `docs/`
|
|
140
|
+
- [ ] Atualizar `workspace/Output/progresso.md` (visão global)
|
|
141
|
+
- [ ] Atualizar `.ai/memory/napkin.md` se houver aprendizado relevante
|