@dotdotgod/claude-code 0.2.15 → 0.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ By default, `docs/spec/**` has two separate roles:
|
|
|
61
61
|
- It is stable shared project memory for product behavior and requirements.
|
|
62
62
|
- It is the traceability-enforced path for behavior specs.
|
|
63
63
|
|
|
64
|
-
Projects can customize memory roles with `memory.areas`,
|
|
64
|
+
Projects can customize memory roles with `memory.areas`, select traceability-enforced Markdown with `traceability.required` and `traceability.exclude`, and define the ordered complete list of traceability string arrays with `traceability.keys`. Each key owns its label, path or command target, graph relation, and PPR weight.
|
|
65
65
|
|
|
66
66
|
## Optional Hooks
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -155,6 +155,40 @@
|
|
|
155
155
|
],
|
|
156
156
|
"exclude": [
|
|
157
157
|
"**/README.md"
|
|
158
|
+
],
|
|
159
|
+
"keys": [
|
|
160
|
+
{
|
|
161
|
+
"key": "implementedBy",
|
|
162
|
+
"label": "Implemented by",
|
|
163
|
+
"description": "Files that implement the behavior.",
|
|
164
|
+
"target": "path",
|
|
165
|
+
"relation": "implemented_by",
|
|
166
|
+
"weight": 4
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"key": "verifiedBy",
|
|
170
|
+
"label": "Verified by",
|
|
171
|
+
"description": "Tests or maintained verification documents.",
|
|
172
|
+
"target": "path",
|
|
173
|
+
"relation": "verified_by",
|
|
174
|
+
"weight": 4
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"key": "relatedDocs",
|
|
178
|
+
"label": "Related docs",
|
|
179
|
+
"description": "Documents needed to interpret the behavior.",
|
|
180
|
+
"target": "path",
|
|
181
|
+
"relation": "related_doc",
|
|
182
|
+
"weight": 3
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"key": "verificationCommands",
|
|
186
|
+
"label": "Verification commands",
|
|
187
|
+
"description": "Project-local verification commands.",
|
|
188
|
+
"target": "command",
|
|
189
|
+
"relation": "verification_command",
|
|
190
|
+
"weight": 3
|
|
191
|
+
}
|
|
158
192
|
]
|
|
159
193
|
},
|
|
160
194
|
"validation": {
|
|
@@ -169,72 +203,10 @@
|
|
|
169
203
|
}
|
|
170
204
|
},
|
|
171
205
|
"impactRanking": {
|
|
172
|
-
"preset": "balanced",
|
|
173
|
-
"weights": {
|
|
174
|
-
"ppr": 40,
|
|
175
|
-
"traceability": 30,
|
|
176
|
-
"memoryPolicy": 10,
|
|
177
|
-
"verification": 15,
|
|
178
|
-
"proximity": 10,
|
|
179
|
-
"semantic": 10,
|
|
180
|
-
"freshness": 5,
|
|
181
|
-
"archivePenalty": -25
|
|
182
|
-
},
|
|
183
|
-
"ppr": {
|
|
184
|
-
"enabled": true,
|
|
185
|
-
"damping": 0.85,
|
|
186
|
-
"iterations": 20,
|
|
187
|
-
"tolerance": 0.000001
|
|
188
|
-
},
|
|
189
|
-
"relationWeights": {
|
|
190
|
-
"implemented_by": 4,
|
|
191
|
-
"verified_by": 4,
|
|
192
|
-
"related_doc": 3,
|
|
193
|
-
"verification_command": 3,
|
|
194
|
-
"links_to": 2,
|
|
195
|
-
"belongs_to_area": 2,
|
|
196
|
-
"semantic_similarity": 2,
|
|
197
|
-
"mentions_package": 1
|
|
198
|
-
},
|
|
199
|
-
"traceabilityBoosts": {
|
|
200
|
-
"implemented_by": 30,
|
|
201
|
-
"incoming:implemented_by": 30,
|
|
202
|
-
"verified_by": 25,
|
|
203
|
-
"incoming:verified_by": 25,
|
|
204
|
-
"verification_command": 15,
|
|
205
|
-
"incoming:verification_command": 15,
|
|
206
|
-
"related_doc": 12,
|
|
207
|
-
"incoming:related_doc": 12
|
|
208
|
-
},
|
|
209
|
-
"verificationBoosts": {
|
|
210
|
-
"verified_by": 15,
|
|
211
|
-
"incoming:verified_by": 15,
|
|
212
|
-
"verification_command": 12,
|
|
213
|
-
"incoming:verification_command": 12
|
|
214
|
-
},
|
|
215
|
-
"semanticBoosts": {
|
|
216
|
-
"semantic_similarity": 8,
|
|
217
|
-
"incoming:semantic_similarity": 8,
|
|
218
|
-
"mentions_package": 4,
|
|
219
|
-
"incoming:mentions_package": 4
|
|
220
|
-
},
|
|
221
|
-
"proximityBoosts": {
|
|
222
|
-
"links_to": 6,
|
|
223
|
-
"incoming:links_to": 6,
|
|
224
|
-
"routes_to": 5,
|
|
225
|
-
"incoming:routes_to": 5
|
|
226
|
-
},
|
|
227
206
|
"semantic": {
|
|
228
207
|
"enabled": true,
|
|
229
208
|
"threshold": 0.5,
|
|
230
|
-
"topKPerFile": 5
|
|
231
|
-
"includeArchiveBodies": false,
|
|
232
|
-
"signals": [
|
|
233
|
-
"path",
|
|
234
|
-
"filename",
|
|
235
|
-
"heading",
|
|
236
|
-
"package"
|
|
237
|
-
]
|
|
209
|
+
"topKPerFile": 5
|
|
238
210
|
}
|
|
239
211
|
},
|
|
240
212
|
"referenceExpansion": {
|