Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
# Lychee link checker configuration
# See: https://lychee.cli.rs/
# Built Astro root for resolving absolute routes and assets.
root_dir = "docs/dist"
# Network resilience - handles transient failures
max_retries = 6
retry_wait_time = 2
timeout = 20
max_redirects = 5
max_concurrency = 8
# Accepted HTTP status codes
accept = [200, 206, 429]
# Caching to reduce rate limiting and improve performance
cache = true
max_cache_age = "1d"
cache_exclude_status = "400..=599" # Don't cache errors (only successes)
# Exclude sites that block GitHub Actions or have reliability issues
exclude = [
# Links to files under docs/public/ that `test_docs_are_in_sync` generates.
# It guarantees their existence, and they point at the live site — so a
# newly added one always 404s until the site is deployed. The first pattern
# covers llms.txt's self-referential index entries; prose and template
# links use the trailing-slash form (worktrunk.dev/faq/), so it doesn't
# reach them. The second covers the published JSON Schema.
"worktrunk\\.dev/[a-z0-9-]+\\.md",
"worktrunk\\.dev/schema/",
# Private or authenticated GitHub resources
"github\\.com/anthropics/claude-code/issues",
# GitHub resources that are either immutable or not our content to maintain
# (user profiles, stargazers, commit SHAs, external repo issues/PRs/actions)
"github\\.com/[^/]+/[^/]+/commit",
"github\\.com/[^/]+/[^/]+/issues",
"github\\.com/[^/]+/[^/]+/pull",
"github\\.com/[^/]+/[^/]+/actions",
"github\\.com/[^/]+/[^/]+/stargazers",
"github\\.com/[^/]+/[^/]+/releases/tag",
"gitlab\\.com/.+/-/merge_requests",
# GitHub user/org profiles (no content we control, frequently 429/502)
"github\\.com/[a-zA-Z0-9_-]+$",
# Social media (blocks GitHub Actions)
"twitter\\.com",
"x\\.com",
"reddit\\.com",
"linkedin\\.com",
# Sites with bot protection
"anthropic\\.com/engineering",
# Sites with reliability issues in CI
"stackoverflow\\.com",
"npmjs\\.com",
"incident\\.io",
"git-scm\\.com",
"api\\.star-history\\.com",
"no-color\\.org",
# Package registries and badges (frequently return 429 or block CI)
"crates\\.io",
"docs\\.rs",
"img\\.shields\\.io",
"codecov\\.io",
"opensource\\.org",
"llm\\.datasette\\.io",
# Asset GIFs stored in separate worktrunk-assets repo (gitignored, fetched at deploy)
# Pattern for file:// URLs and root-relative paths
"file://.*wt-.*\\.gif",
"/assets/.*\\.gif",
# Local build artifacts (not checked into git)
"wt-demo/out/wt-demo\\.gif",
# Local dev server URLs (not running during CI)
"127\\.0\\.0\\.1",
"localhost",
]
# Paths excluded from checking entirely (regex, matched against the file path).
exclude_path = [
# Generated plugin-skills mirror: a byte-identical copy of `skills/`, synced
# by `test_docs_are_in_sync`. Every file here is already link-checked at its
# authored `skills/` source, so checking the copy costs time and finds
# nothing new.
"plugins/worktrunk/skills/",
]