feat: DocumentGenerator — Template-Spec v1 Phase A (Kontext-Formular + Beispiele)
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 39s
CI / test-python-backend-compliance (push) Successful in 34s
CI / test-python-document-crawler (push) Successful in 24s
CI / test-python-dsms-gateway (push) Successful in 19s

- page.tsx: Generator-Section nutzt jetzt strukturiertes Kontext-Formular
  statt einzelner Platzhalter-Inputs
  - 10 Sections (Anbieter, Kunde, Dienst, Rechtliches, Datenschutz, SLA,
    Zahlungskonditionen, Sicherheit, NDA, Cookie/Einwilligung)
  - Nur für die Vorlage relevante Sections werden angezeigt (getRelevantSections)
  - Collapsible Sections mit Auto-Expand beim Template-Wechsel
  - Uncovered Placeholders als separate manuelle Eingaben
  - Validierungs-Badge zeigt fehlende Pflichtfelder
  - Grüne Bestätigung wenn alle Felder ausgefüllt
- 11 Beispiel-Contexts für alle doc_types (nda_de, nda_en, sla_de, aup_en,
  community_de, copyright_de, cloud_contract_de, data_usage_clause_de,
  cookie_banner_de, agb_de, liability_clause_en)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-04 12:36:40 +01:00
parent 0fc3e7754f
commit 076cdd587d
12 changed files with 1212 additions and 62 deletions

View File

@@ -0,0 +1,76 @@
{
"spec_version": "1.0.0",
"doc_type": "sla_de",
"render": { "lang": "de", "variant": "b2b", "format": "markdown", "strict": true },
"context": {
"PROVIDER": {
"LEGAL_NAME": "BreakPilot GmbH",
"LEGAL_FORM": "GmbH",
"ADDRESS_LINE": "Musterstraße 1",
"POSTAL_CODE": "10115",
"CITY": "Berlin",
"COUNTRY": "DE",
"EMAIL": "kontakt@breakpilot.de",
"WEBSITE_URL": "https://breakpilot.de"
},
"CUSTOMER": {
"LEGAL_NAME": "Beispiel AG",
"EMAIL": "it@beispiel-ag.de",
"IS_CONSUMER": false,
"IS_BUSINESS": true
},
"SERVICE": {
"NAME": "BreakPilot Compliance SDK",
"DESCRIPTION": "DSGVO- und AI-Act-Compliance-Plattform für SaaS-Anbieter",
"MODEL": "SaaS",
"TIER": "Professional",
"DATA_LOCATION": "Deutschland (Frankfurt)",
"EXPORT_FORMATS": ["JSON", "CSV", "PDF"],
"EXPORT_WINDOW_DAYS": 30,
"MIN_TERM_MONTHS": 12,
"TERMINATION_NOTICE_DAYS": 30
},
"LEGAL": {
"GOVERNING_LAW": "Deutschland",
"JURISDICTION_CITY": "Berlin",
"VERSION_DATE": "2026-01-01",
"EFFECTIVE_DATE": "2026-01-01",
"LANG": "de"
},
"PRIVACY": {
"CONTACT_EMAIL": "datenschutz@breakpilot.de",
"DPO_NAME": "Max Mustermann",
"DPO_EMAIL": "dsb@breakpilot.de",
"PRIVACY_POLICY_URL": "https://breakpilot.de/datenschutz"
},
"SLA": {
"AVAILABILITY_PERCENT": 99.5,
"MAINTENANCE_NOTICE_HOURS": 72,
"SUPPORT_EMAIL": "support@breakpilot.de",
"SUPPORT_PHONE": "+49 30 12345678",
"SUPPORT_HOURS": "MoFr 09:0018:00 CET",
"RESPONSE_CRITICAL_H": 2, "RESOLUTION_CRITICAL_H": 8,
"RESPONSE_HIGH_H": 4, "RESOLUTION_HIGH_H": 24,
"RESPONSE_MEDIUM_H": 24, "RESOLUTION_MEDIUM_H": 120,
"RESPONSE_LOW_H": 72
},
"PAYMENTS": {
"MONTHLY_FEE_EUR": 199,
"PAYMENT_DUE_DAY": 1,
"PAYMENT_METHOD": "Rechnung",
"PAYMENT_DAYS": 14
},
"SECURITY": {
"INCIDENT_NOTICE_HOURS": 24,
"LOG_RETENTION_DAYS": 7,
"SECURITY_LOG_RETENTION_DAYS": 30
},
"NDA": { "PURPOSE": "", "DURATION_YEARS": 5, "PENALTY_AMOUNT_EUR": null },
"CONSENT": {
"WEBSITE_NAME": "breakpilot.de",
"ANALYTICS_TOOLS": null,
"MARKETING_PARTNERS": null
}
},
"modules": { "enabled": [] }
}