-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codebase-validation.yml
More file actions
72 lines (67 loc) · 1.93 KB
/
.codebase-validation.yml
File metadata and controls
72 lines (67 loc) · 1.93 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# yaml-language-server: $schema=https://raw.githubusercontent.com/codebase-interface/cli/refs/heads/main/cmd/schema/codebase-validation.schema.json
# Go Project Configuration
# Comprehensive configuration for Go projects with modern development practices
# Includes Go-specific validation rules and strict quality standards
validation:
agents:
essential-files:
enabled: true
require_readme: true
require_contributing: true
require_docs_directory: true
docs_requirements:
require_usage_guide: true
require_examples: true
min_doc_files: 3
custom_files:
- pattern: "LICENSE*"
required: true
description: "License file required"
- pattern: "go.mod"
required: true
description: "Go module file"
- pattern: "Taskfile.yml"
required: true
description: "Task automation file"
git-configuration:
enabled: true
require_gitignore: true
require_gitattributes: true
require_editorconfig: true
validation_rules:
gitignore_validation: true
gitattributes_validation: true
gitignore_validation:
check_language_specific: true
detect_project_type: true
required_patterns:
go:
- "*.exe"
- "*.test"
- "*.out"
- "vendor/"
- "bin/"
development-standards:
enabled: true
check_commit_history: true
commit_history_depth: 15
require_conventional_commits: true
validation_threshold: 0.8
conventional_commits:
allowed_types:
- "feat"
- "fix"
- "docs"
- "style"
- "refactor"
- "test"
- "chore"
- "perf"
- "ci"
- "build"
output:
format: "table"
verbose: true
scoring:
pass_threshold: 0.85
warning_threshold: 0.7