|
1 | 1 | { |
2 | | - "schemaVersion": "1.6", |
| 2 | + "schemaVersion": "2.0", |
3 | 3 | "projectName": "", |
4 | 4 | "outputRoot": "docs", |
5 | | - "discoveryScopes": [ |
6 | | - "." |
7 | | - ], |
8 | | - "exclude": [ |
9 | | - ".git/**", |
10 | | - ".idea/**", |
11 | | - ".vscode/**", |
12 | | - ".commandcode/**", |
13 | | - ".docgen/**", |
14 | | - "docs/**", |
15 | | - "node_modules/**", |
16 | | - "target/**", |
17 | | - "build/**", |
18 | | - "dist/**", |
19 | | - "coverage/**", |
20 | | - "vendor/**", |
21 | | - "**/*.min.js", |
22 | | - "**/*.map", |
23 | | - "**/*.class", |
24 | | - "**/*.jar", |
25 | | - "**/*.war", |
26 | | - "**/*.zip" |
27 | | - ], |
28 | | - "sourceExtensions": [ |
29 | | - ".java", |
30 | | - ".kt", |
31 | | - ".kts", |
32 | | - ".xml", |
33 | | - ".sql", |
34 | | - ".json", |
35 | | - ".yaml", |
36 | | - ".yml", |
37 | | - ".properties", |
38 | | - ".md", |
39 | | - ".go", |
40 | | - ".rs", |
41 | | - ".cs", |
42 | | - ".js", |
43 | | - ".mjs", |
44 | | - ".cjs", |
45 | | - ".ts", |
46 | | - ".tsx", |
47 | | - ".vue", |
48 | | - ".proto", |
49 | | - ".bpmn", |
50 | | - ".dmn", |
51 | | - ".sh", |
52 | | - ".ps1", |
53 | | - ".dockerfile" |
54 | | - ], |
55 | | - "audiences": [ |
56 | | - "engineer", |
57 | | - "architect", |
58 | | - "operator", |
59 | | - "product", |
60 | | - "business-analyst" |
61 | | - ], |
62 | | - "pageTypes": [ |
63 | | - "overview", |
64 | | - "architecture", |
65 | | - "business", |
66 | | - "concept", |
67 | | - "flow", |
68 | | - "guide", |
69 | | - "reference", |
70 | | - "data", |
71 | | - "integration", |
72 | | - "operations", |
73 | | - "troubleshooting", |
74 | | - "security", |
75 | | - "testing", |
76 | | - "configuration", |
77 | | - "decision", |
78 | | - "ownership", |
79 | | - "maintenance", |
80 | | - "tutorial", |
81 | | - "runbook", |
82 | | - "migration" |
83 | | - ], |
84 | | - "requireEvidenceReferences": true, |
85 | | - "diagramFormat": "mermaid", |
86 | | - "maxDiscoveryScopeHint": "Prefer one module or bounded subsystem per discovery run for large repositories.", |
87 | 5 | "commandCode": { |
88 | 6 | "executable": "", |
89 | 7 | "trust": true, |
90 | 8 | "skipOnboarding": true, |
91 | 9 | "yolo": true, |
| 10 | + "verbose": false, |
92 | 11 | "model": "", |
93 | | - "stageModels": {}, |
94 | | - "maxTurns": { |
95 | | - "default": 20, |
96 | | - "discover": 30, |
97 | | - "analyze": 30, |
98 | | - "plan": 20, |
99 | | - "generate": 20, |
100 | | - "audit": 20, |
101 | | - "fix": 20, |
102 | | - "update-impact": 20, |
103 | | - "enrich": 20, |
104 | | - "semantics": 30, |
105 | | - "enterprise": 30 |
106 | | - } |
107 | | - }, |
108 | | - "quality": { |
109 | | - "profile": "comprehensive", |
110 | | - "autoEnrich": true, |
111 | | - "autoFix": true, |
112 | | - "reAuditAfterFix": true, |
113 | | - "minWordsByType": { |
114 | | - "overview": 900, |
115 | | - "architecture": 1200, |
116 | | - "concept": 900, |
117 | | - "guide": 1000, |
118 | | - "reference": 700, |
119 | | - "operations": 1000, |
120 | | - "business": 1000, |
121 | | - "flow": 1000, |
122 | | - "data": 1000, |
123 | | - "integration": 900, |
124 | | - "troubleshooting": 1000 |
| 12 | + "stageModels": { |
| 13 | + "modelCore": "", |
| 14 | + "modelEnterprise": "", |
| 15 | + "plan": "", |
| 16 | + "generate": "", |
| 17 | + "audit": "" |
125 | 18 | }, |
126 | | - "minHeadings": 4, |
127 | | - "requireDeclaredSections": true, |
128 | | - "requirePlannedDiagrams": true, |
129 | | - "maxCriticalFindings": 0, |
130 | | - "maxHighFindings": 0, |
131 | | - "requireMermaidOnly": true, |
132 | | - "requireCoverageTags": true, |
133 | | - "requiredCoverageTagsWhenEvidenceExists": [ |
134 | | - "business-rules", |
135 | | - "branch-conditions", |
136 | | - "request-flow", |
137 | | - "traffic-flow", |
138 | | - "data-flow", |
139 | | - "endpoint-catalog", |
140 | | - "message-handler-catalog", |
141 | | - "external-dependency-catalog", |
142 | | - "security-trust-boundaries", |
143 | | - "authorization-model", |
144 | | - "data-governance", |
145 | | - "consistency-transactions", |
146 | | - "operations-observability", |
147 | | - "failure-recovery", |
148 | | - "testing-strategy", |
149 | | - "configuration-matrix", |
150 | | - "architecture-decisions", |
151 | | - "change-impact", |
152 | | - "ownership-responsibilities" |
153 | | - ], |
154 | | - "enrichmentMode": "on-failure", |
155 | | - "wordCountGate": "advisory", |
156 | | - "semanticMetrics": { |
157 | | - "minClaimGroundingRatio": 0.9, |
158 | | - "minEvidenceCoverageRatio": 0.8, |
159 | | - "minCatalogCoverageRatio": 1.0, |
160 | | - "minBranchCoverageRatio": 0.9, |
161 | | - "minEvidenceClaimsPer1000Words": 1.5, |
162 | | - "maxUnsupportedClaims": 0, |
163 | | - "maxContradictions": 0, |
164 | | - "maxStalePages": 0, |
165 | | - "duplicateClaimsAsWarning": true, |
166 | | - "minModelCoverageRatio": 0.9, |
167 | | - "evidenceClaimDensityGate": "hard", |
168 | | - "minStructuredClaimRatio": 0.7, |
169 | | - "maxClaimIdCollisions": 0 |
| 19 | + "maxTurns": { |
| 20 | + "default": 12, |
| 21 | + "modelCore": 16, |
| 22 | + "modelEnterprise": 16, |
| 23 | + "plan": 12, |
| 24 | + "generate": 12, |
| 25 | + "audit": 10 |
170 | 26 | } |
171 | 27 | }, |
172 | | - "progress": { |
173 | | - "heartbeatSeconds": 10, |
174 | | - "noOutputWarningSeconds": 45, |
175 | | - "showCommandOutput": true, |
176 | | - "verboseCommandCode": true |
| 28 | + "budget": { |
| 29 | + "maxProviderCalls": 24, |
| 30 | + "maxEstimatedInputTokens": 2500000, |
| 31 | + "maxEstimatedOutputTokens": 500000, |
| 32 | + "maxContextTokensPerCall": 80000, |
| 33 | + "onExceeded": "stop-and-report" |
177 | 34 | }, |
178 | | - "knowledgeBase": { |
179 | | - "target": "deep-multi-page-system-knowledge-base", |
180 | | - "navigation": "category-and-page hierarchy", |
181 | | - "preferFocusedPagesOverCatchAll": true, |
182 | | - "exhaustiveCatalogs": true, |
183 | | - "flowTypes": [ |
184 | | - "business", |
185 | | - "control", |
186 | | - "request", |
187 | | - "traffic", |
188 | | - "data", |
189 | | - "event" |
190 | | - ], |
191 | | - "diagramFormat": "mermaid-only" |
| 35 | + "context": { |
| 36 | + "maxTokens": { |
| 37 | + "default": 60000, |
| 38 | + "modelCore": 80000, |
| 39 | + "modelEnterprise": 80000, |
| 40 | + "plan": 50000, |
| 41 | + "generate": 30000, |
| 42 | + "audit": 18000 |
| 43 | + } |
192 | 44 | }, |
193 | 45 | "execution": { |
194 | | - "resumeByDefault": true, |
195 | | - "skipValidPages": true, |
196 | | - "generateBatchSize": 4, |
197 | | - "enrichBatchSize": 4, |
198 | | - "auditBatchSize": 6, |
199 | | - "failFastPreflight": true, |
200 | | - "stageTimeoutMinutes": { |
201 | | - "default": 20, |
202 | | - "discover": 35, |
203 | | - "analyze": 35, |
204 | | - "semantics": 35, |
205 | | - "plan": 25, |
206 | | - "generate": 20, |
207 | | - "enrich": 15, |
208 | | - "audit": 15, |
209 | | - "fix": 15, |
210 | | - "update-impact": 15, |
211 | | - "enterprise": 30 |
212 | | - }, |
213 | | - "adoptLegacyValidPages": true |
| 46 | + "generationBatchSize": 4, |
| 47 | + "maxPlannedPages": 30, |
| 48 | + "resumeByContentHash": true |
| 49 | + }, |
| 50 | + "audit": { |
| 51 | + "llmEnabled": true, |
| 52 | + "llmRiskThreshold": 50, |
| 53 | + "failOnCritical": true, |
| 54 | + "failOnHigh": true |
214 | 55 | }, |
215 | 56 | "retry": { |
216 | | - "enabled": true, |
217 | | - "maxAttempts": 4, |
218 | | - "retryableExitCodes": [ |
219 | | - 5, |
220 | | - 6, |
221 | | - 7 |
222 | | - ], |
| 57 | + "maxAttempts": 3, |
223 | 58 | "initialDelaySeconds": 15, |
224 | | - "rateLimitDelaySeconds": 30, |
225 | | - "maxDelaySeconds": 120, |
226 | | - "multiplier": 2, |
227 | | - "jitterRatio": 0.2, |
228 | | - "countdownSeconds": 10, |
229 | | - "interRequestDelaySeconds": 3 |
230 | | - }, |
231 | | - "enterpriseDepth": { |
232 | | - "enabled": true, |
233 | | - "passes": [ |
234 | | - "governance", |
235 | | - "operability", |
236 | | - "data-and-configuration", |
237 | | - "evolution" |
238 | | - ], |
239 | | - "models": [ |
240 | | - ".docgen/model/security.json", |
241 | | - ".docgen/model/operations.json", |
242 | | - ".docgen/model/testing.json", |
243 | | - ".docgen/model/data-governance.json", |
244 | | - ".docgen/model/decisions.json", |
245 | | - ".docgen/model/configuration.json", |
246 | | - ".docgen/model/change-impact.json", |
247 | | - ".docgen/model/ownership.json" |
248 | | - ], |
249 | | - "requiredCoverageTagsWhenEvidenceExists": [ |
250 | | - "security-trust-boundaries", |
251 | | - "authorization-model", |
252 | | - "data-governance", |
253 | | - "consistency-transactions", |
254 | | - "operations-observability", |
255 | | - "failure-recovery", |
256 | | - "testing-strategy", |
257 | | - "configuration-matrix", |
258 | | - "architecture-decisions", |
259 | | - "change-impact", |
260 | | - "ownership-responsibilities" |
261 | | - ] |
| 59 | + "maxDelaySeconds": 120 |
262 | 60 | }, |
263 | 61 | "ignore": { |
264 | 62 | "useGitignore": true, |
265 | 63 | "useDocgenignore": true, |
266 | | - "docgenignoreFile": ".docgenignore", |
267 | | - "writeReport": true, |
268 | 64 | "rejectIgnoredEvidence": true, |
269 | 65 | "binary": { |
270 | 66 | "enabled": true, |
271 | 67 | "probeBytes": 16384, |
272 | 68 | "maxTextFileBytes": 4194304, |
273 | 69 | "controlCharacterRatio": 0.08, |
274 | | - "allowExtensions": [], |
275 | 70 | "denyExtensions": [] |
276 | 71 | } |
277 | 72 | }, |
278 | | - "documentationExperience": { |
279 | | - "enabled": true, |
280 | | - "modes": [ |
281 | | - "tutorial", |
282 | | - "how-to", |
283 | | - "explanation", |
284 | | - "reference", |
285 | | - "runbook", |
286 | | - "decision-record", |
287 | | - "migration-guide", |
288 | | - "troubleshooting" |
289 | | - ], |
290 | | - "requireMode": true, |
291 | | - "generateFrontmatter": true, |
292 | | - "generateLlmsTxt": true, |
293 | | - "generateLlmsFull": true, |
294 | | - "llmsFullMaxBytes": 5242880, |
295 | | - "generateSearchIndex": true, |
296 | | - "generateBacklinks": true, |
297 | | - "generateRedirects": true, |
298 | | - "generateExamplesIndex": true, |
299 | | - "requireEvidenceDerivedExamples": true, |
300 | | - "versioning": true, |
301 | | - "deprecationMetadata": true, |
302 | | - "adoptPreP2Pages": true, |
303 | | - "enforceModeSections": true, |
304 | | - "modeRequiredSections": { |
305 | | - "tutorial": [ |
306 | | - "Prerequisites", |
307 | | - "Walkthrough", |
308 | | - "Next Steps" |
309 | | - ], |
310 | | - "how-to": [ |
311 | | - "Prerequisites", |
312 | | - "Steps", |
313 | | - "Verification" |
314 | | - ], |
315 | | - "explanation": [], |
316 | | - "reference": [], |
317 | | - "runbook": [ |
318 | | - "Symptoms", |
319 | | - "Diagnosis", |
320 | | - "Procedure", |
321 | | - "Verification", |
322 | | - "Escalation" |
323 | | - ], |
324 | | - "decision-record": [ |
325 | | - "Context", |
326 | | - "Decision", |
327 | | - "Alternatives", |
328 | | - "Consequences" |
329 | | - ], |
330 | | - "migration-guide": [ |
331 | | - "Prerequisites", |
332 | | - "Migration Steps", |
333 | | - "Verification", |
334 | | - "Rollback" |
335 | | - ], |
336 | | - "troubleshooting": [ |
337 | | - "Symptoms", |
338 | | - "Diagnosis", |
339 | | - "Resolution", |
340 | | - "Verification" |
341 | | - ] |
342 | | - } |
| 73 | + "publishing": { |
| 74 | + "frontmatter": true, |
| 75 | + "llmsTxt": true, |
| 76 | + "llmsFullTxt": true, |
| 77 | + "searchIndex": true, |
| 78 | + "navigationIndex": true, |
| 79 | + "mermaidOnly": true |
343 | 80 | } |
344 | 81 | } |
0 commit comments