Commit Graph

6 Commits

Author SHA1 Message Date
Claude
bf91167350
feat: close 5 truth audit gaps — GTM routes + governance + proof + delivery
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
2026-04-27 00:41:40 +00:00
Claude
30408d76f7
feat: Integration Verification — AI Cost OS wired into full pipeline
Supervisor now uses: cache, cost_guard, trace, output_validator,
proof_pack, partnership_strategist, token_counter, model_routing.

CLI shows: trace_id, cost, tokens, cache status, proof pack,
compliance gate, partnership classification, output validation.

All tests pass: 30/30 evals, 10/10 compliance, 3/3 quality.

Verdict: Cost OS Integrated

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 17:49:25 +00:00
Claude
503bf2e5d7
feat: AI Cost, Quality & Proof OS — complete
AI Layer:
- llm_router.py: routes cheap/mid/high models, enforces daily budget, caches
- token_counter.py: estimates tokens, truncates to budget
- response_cache.py: in-memory cache with TTL per agent
- prompt_registry.py: versioned prompts with stable prefix for caching
- ai_budget.yaml: model costs, agent budgets, daily limits (10 SAR/day)

Guardrails:
- output_validator.py: blocks fake claims + prohibited actions
- cost_guard.py: prevents runaway spending

Observability:
- trace.py: trace_id, cost, latency, steps per pipeline run

Tests: ALL PASS
- 30/30 evals (100%) — 9 sectors, 30 companies
- 10/10 prohibited actions blocked
- 4/4 allowed actions verified
- 3/3 forbidden claims blocked
- 3/3 message quality checks passed

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 17:42:47 +00:00
Claude
d47ed0d756
fix: replace all stub agents with real implementations
- enrichment_agent.py: 36 lines, enriches from website + social
- campaign_orchestrator_agent.py: 63 lines, 4-step sequence + stop conditions
- competitor_intelligence_agent.py: 75 lines, 6 competitors mapped
- content_strategy_agent.py: 81 lines, 4 platforms with templates
- web_search_agent.py: 33 lines, query generation + source tracking

All agents now have real logic. No stubs remain.
Evals: 10/10 PASS (100%)

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 17:25:46 +00:00
Claude
18a0d95e3e
feat: Full Company OS — 9 new agents + scoring engine + compliance engine + evals
New agents: partnership_strategist, negotiation (10 objections), crm_revenue (16 statuses),
learning, web_search, enrichment, campaign_orchestrator, competitor_intelligence, content_strategy

New engines:
- scoring/scoring_engine.py: unified scoring with 9 sector defaults
- compliance/compliance_engine.py: channel policy + daily limits + stop words

Evals: 10/10 PASS (100%)
- Agency → email + agency_partner 
- Real estate → email + direct_customer 
- Clinic → whatsapp_warm 
- Ecommerce → email 
- Website agency → linkedin_manual + implementation_partner 
- Consulting → linkedin_manual + referral_partner 
- All: compliance=allowed, opt-out present, no prohibited actions

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 17:20:36 +00:00
Claude
20277e0afc
feat: Dealix GTM Intelligence OS — multi-agent system
8 agents + 4 models + 4 configs + CLI dry-run + 3 docs.
Tested on agency/real_estate/clinic/saas — all pass.
Safety: LinkedIn scraping PROHIBITED, WhatsApp blast PROHIBITED.

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-26 17:16:52 +00:00