mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
1. GTM API Routes: 12 endpoints at /api/v1/gtm/* - company-intelligence, score-target, outreach-pack - compliance-check, classify-reply, next-action - daily-command-pack, targets, approvals - approve-action, log-outcome All registered in router.py 2. Governance Module: 4 files - approval_queue.py: add/approve/reject/get_pending - action_policy.py: policy per action type - audit_log.py: log every proposed action - risk_flags.py: HIGH/LOW risk classification 3. Proof Module: 3 files - evidence.py: VERIFIED/INFERRED/UNVERIFIED/LOW_CONFIDENCE - claim_validator.py: blocks fake claims - source_quality.py: rates source reliability 4. Customer Delivery: 2 files - customer_workspace.py: Pydantic model with onboarding checklist - customer_delivery_pipeline.py: create workspace + weekly report 5. All verified: 9/9 new imports pass, 30/30 evals, dry-run works https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
21 lines
909 B
Python
21 lines
909 B
Python
from pydantic import BaseModel, Field
|
|
from typing import Optional
|
|
from datetime import datetime
|
|
|
|
class CustomerWorkspace(BaseModel):
|
|
company_name: str
|
|
sector: str
|
|
plan: str = "pilot"
|
|
status: str = "onboarding"
|
|
lead_sources: list[str] = Field(default_factory=list)
|
|
qualification_questions: list[str] = Field(default_factory=list)
|
|
channels: list[str] = Field(default_factory=list)
|
|
onboarding_checklist: list[dict] = Field(default_factory=lambda: [
|
|
{"task": "استلام الدفع", "done": False},
|
|
{"task": "استلام رقم واتساب/إيميل", "done": False},
|
|
{"task": "استلام 3 أسئلة تأهيل", "done": False},
|
|
{"task": "تفعيل النظام", "done": False},
|
|
{"task": "إرسال تأكيد للعميل", "done": False},
|
|
])
|
|
created_at: str = Field(default_factory=lambda: datetime.now().isoformat())
|