# Mattermost proxy mirror configuration. # Copy to .env if you want local overrides. Do not commit .env. # Optional: restrict capture to the Mattermost host. Use the host only, no scheme. # If empty, the addon captures /api/v4 traffic from the proxied Mattermost app. # Example: mm.all-win-solutions.app MATTERMOST_MIRROR_HOST_ALLOW= # Output directory for raw evidence and normalized AI-readable context. MATTERMOST_MIRROR_DIR=ai/inbox/mattermost-mirror # mitmproxy listener used by launch-mattermost.sh. MATTERMOST_MIRROR_LISTEN_HOST=127.0.0.1 MATTERMOST_MIRROR_LISTEN_PORT=8080 # Keep the small AI context window bounded. MATTERMOST_MIRROR_LATEST_LIMIT=200 # Optional channel allowlist. Comma-separated channel IDs. Empty means all captured channels. MATTERMOST_MIRROR_CHANNEL_IDS= # Optional AI context channel filter for reader commands such as: # python3 scripts/mattermost-proxy/read-context.py --mode standup --today YYYY-MM-DD # Use readable channel names or channel IDs. Keep project-specific values in your local .env # or active profile setup, not in reusable scripts. # Example: project-main,project-standup,dm-you--manager AIW_MATTERMOST_CONTEXT_CHANNELS= # Write compact raw REST/WebSocket evidence in addition to normalized messages. # Keep disabled by default to avoid large files. MATTERMOST_MIRROR_WRITE_RAW=0 # Mattermost desktop app bundle. MATTERMOST_APP_PATH=/Applications/Mattermost.app