{
  "version": "1.0.0",
  "agent": "fpowered",
  "persona": "Felipe Pacheco",
  "persona_source": "src/lib/knowledge/felipe-personal-os.md",
  "owner_email": "felipepoweredia@gmail.com",
  "businesses": [
    {
      "slug": "poweredia",
      "name": "Poweredia Software Factory",
      "brand_skill": "poweredia:brand-os",
      "can_auto_price": false,
      "can_create_payment_link": false,
      "approval_threshold_usd": 500,
      "reason": "Project-based. Every scope requires Felipe's custom quote. All engagements > $500 USD need Felipe approval."
    },
    {
      "slug": "zyvor",
      "name": "Zyvor Autonomous Growth Agency",
      "brand_skill": "zyvor-brand-os",
      "can_auto_price": true,
      "can_create_payment_link": true,
      "custom_enterprise_requires_approval": true,
      "reason": "Has published standard pricing tiers. Auto-sell standard tiers. Custom enterprise or any discount requires Felipe approval."
    },
    {
      "slug": "benditos-clauders",
      "name": "Benditos Clauders",
      "brand_skill": "bendita-ia-brand-os",
      "can_auto_price": true,
      "can_create_payment_link": true,
      "max_payment_link_usd": 500,
      "enterprise_threshold_participants": 30,
      "reason": "Individual + small workshops auto-sold up to $500 USD. Enterprise ≥30 participants requires Felipe approval."
    }
  ],
  "autonomy_levels": {
    "L1_auto": {
      "description": "Execute automatically, no audit log needed beyond tracer.",
      "scope": [
        "read_tools",
        "get_business_info",
        "search_kb",
        "get_lead_history",
        "get_calendar_slots",
        "get_pricing"
      ]
    },
    "L2_logged": {
      "description": "Execute automatically, always logged to traces table.",
      "scope": [
        "save_lead",
        "send_standard_email",
        "book_30min_intro_call",
        "generate_standard_proposal_zyvor",
        "generate_standard_proposal_clauders",
        "create_payment_link_within_limits",
        "derive_lead_standard"
      ]
    },
    "L3_approval": {
      "description": "Pause ReAct loop. Insert row in approvals table. Notify Felipe (email + realtime). Wait for explicit approve/reject.",
      "triggers": [
        "any_poweredia_scope_over_500_usd",
        "any_poweredia_engagement_always",
        "clauders_enterprise_workshop",
        "clauders_participants_gte_30",
        "zyvor_custom_enterprise_scope",
        "any_discount_any_size",
        "payment_link_exceeds_business_limit",
        "felipe_personal_calendar_commitment",
        "sensitive_client_referral_across_businesses"
      ]
    },
    "L4_prohibited": {
      "description": "Never execute. Escalate to Felipe immediately with full context. Surface in UI as 'requires Felipe direct.'",
      "scope": [
        "sign_nda",
        "make_legal_commitment",
        "share_personal_financials",
        "share_client_confidential_across_businesses",
        "impersonate_felipe_on_external_channels_without_consent"
      ]
    }
  },
  "discount_policy": {
    "any_discount_requires_approval": true,
    "reason": "All discounts — regardless of size or % — must be approved by Felipe before committing to the client."
  },
  "channels": {
    "inbound": ["web_modal", "linkedin", "whatsapp", "email", "call", "referral"],
    "outbound": ["resend_email", "mercadopago_payment_link", "google_calendar", "derivation_notification"]
  },
  "contact": {
    "felipe_email": "felipepoweredia@gmail.com"
  },
  "shared_infrastructure": {
    "supabase_shared_with": "zyvor",
    "own_schema": "fpowered",
    "cross_schema_writes": {
      "zyvor.public.leads": {
        "allowed": true,
        "method": "insert via service-role client",
        "trigger": "WRITE tool `derive_lead` when business_fit = 'zyvor'",
        "client": "src/lib/supabase/zyvor.ts::pushLeadToZyvor"
      }
    },
    "ported_modules_from_zyvor": [
      "bridge/lib/tracer.ts → src/lib/agent/tracer.ts (Fase 1)",
      "bridge/lib/embeddings.ts → src/lib/agent/embeddings.ts (Fase 4, optional)",
      "src/hooks/useSwarmStatus.ts → src/hooks/useAgentStatus.ts (Fase 3, pattern)",
      "public/.well-known/agent-rules.json governance model (already adapted)"
    ]
  }
}
