forked from eastreams/loong
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.convention-engineering.json
More file actions
142 lines (142 loc) Β· 3.63 KB
/
Copy path.convention-engineering.json
File metadata and controls
142 lines (142 loc) Β· 3.63 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"required_files": [
"Taskfile.yml",
"CLAUDE.md",
"AGENTS.md",
"ARCHITECTURE.md",
"CONTRIBUTING.md",
"scripts/pre-commit",
"docs/RELIABILITY.md",
"docs/SECURITY.md",
"docs/QUALITY_SCORE.md",
"docs/design-docs/index.md",
"docs/design-docs/core-beliefs.md",
"docs/design-docs/layered-kernel-design.md",
"docs/design-docs/harness-engineering.md"
],
"taskfile_checks": {
"Taskfile.yml": [
"check:architecture:",
"check:conventions:",
"check:harness:",
"verify:",
"verify:full:"
]
},
"canonical_pointer_mode": "all",
"canonical_pointers": [
{
"name": "claude-mirror",
"file": "CLAUDE.md",
"text": "intentionally mirrored in `CLAUDE.md` and `AGENTS.md`"
},
{
"name": "agents-mirror",
"file": "AGENTS.md",
"text": "intentionally mirrored in `CLAUDE.md` and `AGENTS.md`"
}
],
"content_checks": [
{
"name": "claude-command-contract",
"file": "CLAUDE.md",
"required_markers": [
"Architecture check: `task check:architecture`",
"Convention check: `task check:conventions`",
"Runs CI-parity cargo checks before each commit.",
"Use `task verify` for the stricter local superset"
]
},
{
"name": "agents-command-contract",
"file": "AGENTS.md",
"required_markers": [
"Architecture check: `task check:architecture`",
"Convention check: `task check:conventions`",
"Runs CI-parity cargo checks before each commit.",
"Use `task verify` for the stricter local superset"
]
},
{
"name": "claude-structure",
"file": "CLAUDE.md",
"required_markers": [
"## 1. Start Here",
"## 2. Architecture Contract",
"## 3. Commands",
"## 4. Non-Negotiable Rules",
"## 5. Verification Gates",
"## 7. Where to Look Next"
]
},
{
"name": "agents-structure",
"file": "AGENTS.md",
"required_markers": [
"## 1. Start Here",
"## 2. Architecture Contract",
"## 3. Commands",
"## 4. Non-Negotiable Rules",
"## 5. Verification Gates",
"## 7. Where to Look Next"
]
},
{
"name": "architecture-structure",
"file": "ARCHITECTURE.md",
"required_markers": [
"## Crate Structure",
"## Layered Execution Model",
"## Design Principles"
]
},
{
"name": "contributing-structure",
"file": "CONTRIBUTING.md",
"required_markers": [
"## Contribution Tracks",
"## Where Do I Start?"
]
},
{
"name": "security-structure",
"file": "docs/SECURITY.md",
"required_markers": [
"## Security Model",
"## Enforcement Points"
]
},
{
"name": "quality-structure",
"file": "docs/QUALITY_SCORE.md",
"required_markers": [
"## Domain Grades",
"## Grading Criteria",
"## Harness Maturity Assessment"
]
},
{
"name": "design-index-structure",
"file": "docs/design-docs/index.md",
"required_markers": [
"## Active Design Documents",
"## Key Patterns",
"## Tracked Deviations",
"## Decision Log"
]
},
{
"name": "pre-commit-ci-parity",
"file": "scripts/pre-commit",
"required_markers": [
"cargo fmt --all -- --check",
"cargo clippy --workspace --all-targets --all-features -- -D warnings",
"cargo test --workspace",
"cargo test --workspace --all-features"
]
}
],
"invariant_contract": {
"required": false
}
}