1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# .specsync.toml — Alternative to specsync.json
# Place this file in your project root as `.specsync.toml`
# Directory containing spec files (default: "specs")
= "specs"
# Source directories to scan (auto-detected if omitted)
= ["src", "lib"]
# SQL schema directory for db_tables validation (optional)
# schema_dir = "db/migrations"
# Required markdown sections in each spec
= [
"Purpose",
"Public API",
"Invariants",
"Behavioral Examples",
"Error Cases",
"Dependencies",
"Change Log",
]
# Directories to exclude from source scanning
= ["__tests__", "fixtures"]
# Glob patterns to exclude
= ["**/__tests__/**", "**/*.test.ts", "**/*.spec.ts"]
# AI provider for `specsync generate --provider <name>`
# Options: auto, anthropic, openai, command
# ai_provider = "claude"
# AI model override (optional)
# ai_model = "claude-sonnet-4-20250514"
# Timeout in seconds for AI generation (default: 120)
# ai_timeout = 120