# Lychee link checker configuration for GitHub Actions.
#
# The repository checks first-party Markdown links with scripts/check-local-links.py.
# Lychee is reserved for public external links and first-party Markdown that should
# be visible to readers. Generated tools, external snapshots and login-only pages
# are excluded here instead of being repeated in workflow YAML.

timeout = 20
max_retries = 3
retry_wait_time = 2
max_concurrency = 32

exclude_path = [
  '^\.history(/|$)',
  '^\.github/wiki(/|$)',
  '^node_modules(/|$)',
  '^docs/references/sources(/|$)',
  # This architecture blueprint contains many official external references
  # whose CDNs can timeout from GitHub-hosted runners. Internal links and
  # executable artifacts remain covered by scripts/check-local-links.py.
  '^docs/references/modern-enterprise-architecture-template\.md$',
  '^tools/external(/|$)',
  '^tools/chat-vault(/|$)',
  '^tools/prompts-library(/|$)',
  '^skills/claude-official-skills(/|$)',
  '^skills/auto-tmux/assets/(oh-my-tmux|tmux-src)(/|$)',
  '^skills/auto-skill/scripts/(Skill_Seekers-development|skill-seekers-src|skill-seekers-configs)(/|$)',
]

exclude = [
  '^https://chatgpt\.com.*',
  '^https://claude\.ai.*',
  '^https://app\.augmentcode\.com.*',
  '^https://platform\.openai\.com.*',
  '^https://user-images\.githubusercontent\.com.*',
  '^https://notebooklm\.google\.com.*',
  '^https://www\.contributor-covenant\.org.*',
]
