@guilhermefsousa/open-spec-kit 0.0.7 → 0.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guilhermefsousa/open-spec-kit",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "CLI para spec-driven development com suporte a Claude Code e GitHub Copilot",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "zod": "^3.24.0"
31
31
  },
32
32
  "engines": {
33
- "node": ">=18.0.0"
33
+ "node": ">=20.0.0"
34
34
  },
35
35
  "keywords": [
36
36
  "spec-driven-development",
@@ -60,8 +60,9 @@ The setup supports two Confluence layouts:
60
60
 
61
61
  **1b.** List DIRECT children of `ROOT_ID` (1 MCP call). Save the list.
62
62
 
63
- **1c.** In the list, find the page titled "Demandas" (case-insensitive). Save as `DEMANDAS_ID`.
64
- - If not found**STOP**: "Pasta Demandas/ não encontrada. O PO precisa criá-la."
63
+ **1c.** In the list, find a page whose title CONTAINS "Demandas" (case-insensitive, partial match). This allows variations like "Demandas", "TFB — Demandas", "Demandas v2", etc. Save as `DEMANDAS_ID`.
64
+ - If multiple matchesuse the first one. Log: "Múltiplas páginas com 'Demandas' encontradas. Usando: {title} ({id})."
65
+ - If not found → **STOP**: "Pasta Demandas/ não encontrada. O PO precisa criá-la como filha da página raiz."
65
66
 
66
67
  **1d.** Check demand label. If no `novo` label, add `novo`. Then change to `processando`.
67
68
 
@@ -190,10 +191,11 @@ Minimum expected terms for any project:
190
191
  **Regras** (table format):
191
192
  - Columns: ID | Regra | Fonte | Verificavel
192
193
  - ID: sequential (RN-01, RN-02, ...)
193
- - **Fonte**: MUST reference the PRD section the rule was extracted from (ex: "PRD §9.4 Gerenciamento de tarefas"). This enables traceability.
194
+ - **Fonte**: MUST reference the document and section the rule was extracted from (ex: "Regra de Negocio §9", "PadroesArquitetura §4.2", "Contratos de Mensageria §1"). This enables traceability.
194
195
  - Verificavel: how to test this rule (concrete, not vague)
195
- - Group rules by domain area (ownership, auth, entities, etc.)
196
- - After writing all rules, **re-read the PO documents** looking for "deve", "nao pode", "obrigatorio", "somente", "exclusivamente" any missed rule must be added
196
+ - Group rules by domain area (ownership, auth, entities, messaging, etc.)
197
+ - **CRITICAL: extract rules from ALL documents in Demandas/, not just the business rules document.** Technical documents (architecture, messaging contracts, data modeling) contain rules too — idempotency constraints, retry patterns, DLQ handling, message format rules, authentication requirements, LGPD constraints. These are business rules expressed in technical language.
198
+ - After writing all rules, **re-read ALL PO documents** (every single page in Demandas/) looking for "deve", "nao pode", "obrigatorio", "somente", "exclusivamente", "UNIQUE", "constraint", "obrigatorio" — any missed rule must be added
197
199
 
198
200
  **Fluxos**:
199
201
  - One section per business flow