/ tools / spec-verify / config.py
config.py
 1  """
 2  Configuration for spec-verify tool.
 3  
 4  Edit these values directly - not exposed as CLI flags for simplicity.
 5  """
 6  
 7  # AI Provider Configuration
 8  # Options: "gemini", "openai", "anthropic"
 9  AI_PROVIDER = "anthropic"
10  
11  # Provider-specific settings
12  GEMINI_MODEL = "gemini-2.0-flash"      # Fast Gemini model
13  OPENAI_MODEL = "gpt-4"                 # GPT-4 via Codex
14  ANTHROPIC_MODEL = "claude-sonnet-4-20250514"  # Fast and capable
15  
16  # Concurrency
17  MAX_CONCURRENT_AGENTS = 6
18  
19  # Paths
20  REPOS_BASE_PATH = "/home/devops/working-repos"
21  CONTEXT_REPO = "/home/devops/working-repos/alpha-delta-context"
22  
23  # File patterns
24  CSPEC_PATTERN = "**/*.cspec"
25  COMPONENT_PATTERN = "components/**/*.component.cspec"
26  
27  # Output
28  OUTPUT_DIR = "output"
29  OUTPUT_SUFFIX = "-findings.todo.cspec"
30  
31  # Verification types to run
32  VERIFICATION_TYPES = [
33      "threshold",   # Constants match spec values
34      "modules",     # Listed modules exist as files
35      "functions",   # Listed functions exist in code
36      "test_count",  # Actual #[test] count matches documented
37      "paths",       # Documented paths exist
38  ]
39  
40  # Severity levels
41  SEVERITY_CRITICAL = "critical"
42  SEVERITY_HIGH = "high"
43  SEVERITY_MEDIUM = "medium"
44  SEVERITY_LOW = "low"