Repository navigation
Expand file tree
/
Copy pathharness.config.example.json
More file actions
128 lines (128 loc) · 3.19 KB
/
Copy pathharness.config.example.json
File metadata and controls
128 lines (128 loc) · 3.19 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"project": "edge",
"lockdown": {
"files": [
"src/core/auth.ts",
"src/core/payments.ts"
],
"fromMarkdown": "CLAUDE.md",
"onEditReminder": "L0 core edited — update CHANGELOG + issues.json in the same change, and get a second reviewer."
},
"enforcementFile": ".harness/enforcement.json",
"keywordsFile": ".harness/keywords.json",
"severityMapFile": ".harness/severity-map.json",
"verify": {
"checks": [
{
"id": "typecheck",
"cmd": "npx tsc --noEmit",
"timeoutMs": 240000
},
{
"id": "lint",
"cmd": "pnpm lint",
"timeoutMs": 180000
},
{
"id": "test",
"cmd": "pnpm test",
"timeoutMs": 240000
},
{
"id": "build",
"cmd": "pnpm build",
"timeoutMs": 600000,
"slow": true
}
]
},
"lint": {
"freshnessFiles": [
{
"path": "docs/deploy-status.json",
"maxAgeDays": 3,
"rule": "DEPLOY-STATUS-STALE"
}
],
"changelog": {
"file": "CHANGELOG.md",
"triggerPattern": "\\.(ts|tsx|js|jsx|py|go|rs)$",
"ignore": [
"(^|/)(tests?|__tests__|spec)/",
"\\.(test|spec)\\.[a-z]+$",
"(^|/)\\.harness(-engine)?/"
]
},
"protectedBranches": [
"main",
"master"
]
},
"sync": {
"script": "scripts/sync.sh"
},
"guides": [
"CLAUDE.md",
"AGENTS.md",
"README.md"
],
"docs": {
"architecture": "ARCHITECTURE.md",
"log": "CHANGELOG.md",
"scratchDir": "state",
"scatterPatterns": [
"-(report|summary|notes?|audit|status|plan|analysis|design)\\.md$",
"\\d{6,8}[-_].*\\.md$"
],
"allow": [
"README.md",
"CHANGELOG.md",
"ARCHITECTURE.md",
"CLAUDE.md",
"AGENTS.md",
"LICENSE"
],
"_claudeMdSections": "required headings in the repo-root CLAUDE.md (block · each must be present + non-empty). A tree-flavored heading also warns when its body lacks ├─/└─ nodes. Set [] to disable (legacy heuristic).",
"claudeMdSections": [
"## Project",
"## Tree"
]
},
"folderGuides": {
"enabled": true,
"roots": [
"src",
"packages"
],
"depth": 2,
"minFiles": 3,
"filename": "CLAUDE.md",
"ignore": [
"node_modules",
".git",
".next",
"dist",
"build"
],
"ext": [
".ts",
".tsx",
".js",
".jsx",
".py",
".go",
".rs"
]
},
"dojo": {
"_note": "OPTIONAL — dojo scaffolder defaults. Engine stays domain-agnostic; the preferred training/kernel stack is carried HERE, never hardcoded. Absent → generic py stub. delegate: a `hexa dojo <domain>` (e.g. flame_forge | hexa_cuda) to emit REAL artifacts when hexa is on PATH.",
"defaultLang": "hexa",
"stack": "flame+forge+hexa-cuda",
"delegate": "flame_forge"
},
"ledger": {
"staleSec": 1800
},
"_labMode": "OPTIONAL — per-repo frontier-model delegation (`sidecar lab-mode on [fable|sol|full]`). One value carries the whole state: off | fable | sol | full. Absent or off = no per-turn inject. There is no host-wide scope: opt each repo in on its own.",
"labMode": "off"
}