@guilhermefsousa/open-spec-kit 0.0.8 → 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
|
@@ -191,10 +191,11 @@ Minimum expected terms for any project:
|
|
|
191
191
|
**Regras** (table format):
|
|
192
192
|
- Columns: ID | Regra | Fonte | Verificavel
|
|
193
193
|
- ID: sequential (RN-01, RN-02, ...)
|
|
194
|
-
- **Fonte**: MUST reference the
|
|
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.
|
|
195
195
|
- Verificavel: how to test this rule (concrete, not vague)
|
|
196
|
-
- Group rules by domain area (ownership, auth, entities, etc.)
|
|
197
|
-
-
|
|
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
|
|
198
199
|
|
|
199
200
|
**Fluxos**:
|
|
200
201
|
- One section per business flow
|