# Project-specific mai configuration
# Auto-generated by 'mai init' — run 'mai setup' to customize

provider: claude
providers:
    claude:
        api_key: ""
        model: claude-sonnet-4-20250514
        base_url: https://api.anthropic.com/v1
    ollama:
        host: http://localhost:11434
        model: llama3.2
memory:
    enabled: true
    backend: ""
    path: ""
    url: postgres://mai_memory.your-tenant-id:maiMem6034supa@100.99.98.201:6543/postgres?sslmode=disable
    group_id: onepager
    cache_ttl: 5m0s
    auto_load: true
    embedding_url: ""
    embedding_model: ""
gitea:
    url: https://mgit.msbls.de
    repo: m/onepager
    token: ""
    sync:
        enabled: false
        interval: 0s
        repos: []
        auto_queue: false
api:
    api_key: ""
    basic_auth:
        username: ""
        password: ""
    public_endpoints:
        - /api/health
ui:
    theme: default
    show_sidebar: true
    animation: true
    persona: true
    avatar_pack: ""
worker:
    names: []
    name_scheme: role
    default_level: standard
    auto_discard: false
    max_workers: 5
    persistent: true
head:
    name: ""
    max_loops: 50
    infinity_mode: false
capacity:
    global:
        max_workers: 5
        max_heads: 3
    per_worker:
        max_tasks_lifetime: 0
        max_concurrent: 1
        max_context_tokens: 0
    per_head:
        max_workers: 10
    resources:
        max_memory_mb: 0
        max_cpu_percent: 0
    queue:
        max_pending: 100
        stale_task_days: 30
workforce:
    timeouts:
        task_default: 0s
        task_max: 0s
        idle_before_warn: 10m0s
        idle_before_kill: 30m0s
        quality_check: 2m0s
    context:
        max_tokens_per_worker: 0
        max_tokens_global: 0
        warn_threshold: 0.8
        truncate_strategy: oldest
    delegation:
        strategy: skill_match
        preferred_role: coder
        auto_delegate: false
        max_depth: 3
        allowed_roles:
            - coder
            - researcher
            - fixer
    peppy:
        enabled: false
        style: calm
        interval: 5m0s
        emoji: false
        nudges: true
        nudge_main: false
        custom_prompt: ""
        stall_threshold: 0s
        restart_enabled: false
        max_shifts: 0
quality_gates:
    enabled: false
    checks: []
preflight:
    enabled: false
    type: ""
    root: ""
    checks: []
guardrails:
    enabled: false
    use_defaults: true
    output:
        coder_checks: []
        researcher_checks: []
        fixer_checks: []
        custom_checks: {}
        global_checks: []
    tools:
        role_rules: {}
        deny_patterns: []
        allow_patterns: []
    schemas:
        report_schemas: {}
        deliverable_schemas: {}
modes:
    yolo: false
    self_improvement: true
    autonomous: false
    verbose: false
    improve_interval: 0s
    predict_interval: 0s
layouts:
    head: ""
    worker: ""
    roles: {}
dog:
    name: buddy
supabase:
    url: ""
    role_key: ""
    anon_key: ""
    schema: mai
storage:
    backend: ""
    postgres:
        url: ""
        max_conns: 0
        min_conns: 0
        max_conn_lifetime: 0s
idle:
    behavior: wait
    auto_hire: false
    prompt: ""
git:
    worktrees:
        enabled: true
        delete_branch: false
        dir: .worktrees
phase:
    enabled: false
    current: ""
    allowed_roles: {}
goal: "Mono-repo for 57+ vanity domain onepager sites — bash template system, Caddy routing, Dokploy deploy. Creative AI/KI-themed domains."
skills: {}
editor: nvim
log_level: info
project_detection: true
tone: professional
