Array of string or object watch path entries.
Glob pattern for files to watch.
Optionalvcs?: {Per-root VCS overrides.
OptionalaccessToken?: stringAccess token override for this watch root. Supports env var substitution.
Optionalauthor?: { email: string; name: string }Git commit author identity. Set per-repo during init.
Author email for git commits.
Author name for git commits.
Optionalbranch?: stringGit branch name for VCS operations. SquashManager and startup recovery use this instead of dynamic detection.
OptionalcircuitBreakerCooldownMs?: numberCircuit breaker cooldown in ms. Once tripped, pending files are retained (re-queued, never discarded) and a single half-open recovery attempt is allowed once this cooldown elapses — without requiring a new file-change event.
OptionalcommitMessage?: { apiKey?: string; enabled: boolean; model: string; provider: string }Commit message generation configuration.
OptionalapiKey?: stringAPI key for commit message provider. Supports env var substitution.
Whether AI-generated commit messages are enabled.
AI model for commit message generation.
AI provider for commit message generation.
OptionalcommitThrottleMs?: numberThrottle interval in milliseconds for batching commits.
OptionaldefaultAccessToken?: stringDefault git access token for all roots. Supports env var substitution.
Optionalenabled?: booleanWhether VCS is enabled globally.
OptionalmaxBatchSize?: numberMaximum number of files per commit batch.
OptionalmaxConsecutiveFailures?: numberCircuit breaker: trip after this many consecutive commit failures.
Optionalremote?: stringGit remote URL for this watch root.
Optionalretention?: { maxAgeDays: number; maxVersions: number; squashCron: string }Retention policy configuration.
Maximum age in days for retained versions.
Maximum number of versions to retain per file.
Cron expression for squash schedule.
OptionalstaleLockThresholdMs?: numberAge in ms after which an index.lock is considered stale and force-removed.
Array of normalized watch paths.
Normalize a mixed array of string and object watch paths into a uniform shape.