archsutra-ai 0.1.4 → 0.2.0

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.
Files changed (113) hide show
  1. package/CHANGELOG.md +56 -6
  2. package/README.md +84 -12
  3. package/dist/audit.js +125 -44
  4. package/dist/cli.js +184 -96
  5. package/dist/drift.js +29 -15
  6. package/dist/fsutil.js +117 -20
  7. package/dist/history.js +40 -0
  8. package/dist/html.js +10 -8
  9. package/dist/map.js +26 -5
  10. package/dist/mcp.js +70 -55
  11. package/dist/redact.js +24 -11
  12. package/dist/report.js +69 -19
  13. package/dist/rules-extra.js +59 -0
  14. package/dist/secret-patterns.js +69 -0
  15. package/dist/suppress.js +31 -19
  16. package/dist/verify.js +2 -2
  17. package/dist/write.js +71 -0
  18. package/docs/architecture/overview.html +29 -12
  19. package/docs/architecture/overview.md +2 -2
  20. package/docs/architecture/threat-model.html +28 -11
  21. package/docs/assets/charts/coverage-dark.svg +11 -0
  22. package/docs/assets/charts/coverage.svg +11 -0
  23. package/docs/assets/charts/finding-anatomy-dark.svg +20 -0
  24. package/docs/assets/charts/finding-anatomy.svg +20 -0
  25. package/docs/assets/charts/pipeline-dark.svg +13 -0
  26. package/docs/assets/charts/pipeline.svg +13 -0
  27. package/docs/assets/charts/precision-by-batch-dark.svg +12 -0
  28. package/docs/assets/charts/precision-by-batch.svg +12 -0
  29. package/docs/assets/charts/precision-by-rule-dark.svg +12 -0
  30. package/docs/assets/charts/precision-by-rule.svg +12 -0
  31. package/docs/assets/charts/sample-findings-by-severity-dark.svg +11 -0
  32. package/docs/assets/charts/sample-findings-by-severity.svg +11 -0
  33. package/docs/assets/charts/scan-time-dark.svg +11 -0
  34. package/docs/assets/charts/scan-time.svg +11 -0
  35. package/docs/assets/site.css +259 -138
  36. package/docs/assets/site.js +92 -6
  37. package/docs/community/good-first-issues.html +28 -11
  38. package/docs/compatibility/matrix.html +28 -11
  39. package/docs/compatibility/smoke-tests/index.html +28 -11
  40. package/docs/decisions/ADR-0001-deterministic-cli-plus-ide-skills.html +28 -11
  41. package/docs/guides/cheat-sheet.html +100 -0
  42. package/docs/guides/cheat-sheet.md +146 -0
  43. package/docs/guides/ci-recipes.html +170 -0
  44. package/docs/guides/ci-recipes.md +176 -0
  45. package/docs/guides/evidence-at-a-glance.html +93 -0
  46. package/docs/guides/evidence-at-a-glance.md +65 -0
  47. package/docs/guides/getting-started.html +151 -0
  48. package/docs/guides/getting-started.md +160 -0
  49. package/docs/guides/how-it-works.html +161 -0
  50. package/docs/guides/how-it-works.md +148 -0
  51. package/docs/guides/mcp-server.html +99 -0
  52. package/docs/guides/mcp-server.md +81 -0
  53. package/docs/guides/reading-a-report.html +119 -0
  54. package/docs/guides/reading-a-report.md +111 -0
  55. package/docs/guides/real-world-scenarios.html +287 -0
  56. package/docs/guides/real-world-scenarios.md +377 -0
  57. package/docs/handbook/01-executive-summary.html +30 -13
  58. package/docs/handbook/01-executive-summary.md +2 -2
  59. package/docs/handbook/02-functional-specification.html +30 -13
  60. package/docs/handbook/02-functional-specification.md +3 -3
  61. package/docs/handbook/03-technical-specification.html +31 -14
  62. package/docs/handbook/03-technical-specification.md +3 -3
  63. package/docs/handbook/04-architecture.html +29 -12
  64. package/docs/handbook/04-architecture.md +1 -1
  65. package/docs/handbook/05-user-guide.html +33 -15
  66. package/docs/handbook/05-user-guide.md +5 -4
  67. package/docs/handbook/06-cli-reference.html +52 -16
  68. package/docs/handbook/06-cli-reference.md +47 -4
  69. package/docs/handbook/07-security-privacy-legal.html +31 -12
  70. package/docs/handbook/07-security-privacy-legal.md +4 -0
  71. package/docs/handbook/08-testing-and-proof.html +32 -15
  72. package/docs/handbook/08-testing-and-proof.md +4 -4
  73. package/docs/handbook/09-compatibility-and-roadmap.html +29 -12
  74. package/docs/handbook/09-compatibility-and-roadmap.md +3 -2
  75. package/docs/handbook/10-contributor-guide.html +29 -12
  76. package/docs/handbook/10-contributor-guide.md +1 -1
  77. package/docs/handbook/11-glossary-and-faq.html +34 -13
  78. package/docs/handbook/11-glossary-and-faq.md +7 -1
  79. package/docs/handbook/12-rule-catalog.html +59 -19
  80. package/docs/handbook/12-rule-catalog.md +62 -5
  81. package/docs/handbook/13-trust-and-assurance.html +29 -12
  82. package/docs/handbook/13-trust-and-assurance.md +1 -1
  83. package/docs/handbook/14-real-world-evaluation.html +28 -11
  84. package/docs/handbook/15-supply-chain-and-release.html +28 -11
  85. package/docs/handbook/16-performance-and-quality-metrics.html +28 -11
  86. package/docs/handbook/16-performance-and-quality-metrics.md +1 -1
  87. package/docs/handbook/README.md +4 -2
  88. package/docs/handbook/index.html +31 -13
  89. package/docs/index.html +101 -51
  90. package/docs/legal/legal-review-brief.html +28 -11
  91. package/docs/legal/trademark-and-name-clearance.html +28 -11
  92. package/docs/proof/accessibility.html +28 -11
  93. package/docs/proof/benchmarks.json +9 -9
  94. package/docs/proof/benchmarks.md +4 -4
  95. package/docs/proof/test-results.txt +56 -40
  96. package/docs/rfc/0001-archsutra-v0.1.html +28 -11
  97. package/docs/sample-report/architecture-register.json +46 -0
  98. package/docs/sample-report/audit-report.html +123 -0
  99. package/docs/sample-report/audit-report.md +314 -0
  100. package/docs/sample-report/current-state.html +77 -0
  101. package/docs/sample-report/current-state.md +51 -0
  102. package/docs/sample-report/findings.json +478 -0
  103. package/docs/sample-report/findings.sarif +754 -0
  104. package/docs/sample-report/index.html +57 -0
  105. package/docs/sample-report/overview.md +11 -0
  106. package/docs/search-index.json +1 -0
  107. package/docs/sitemap.xml +39 -28
  108. package/llms.txt +11 -2
  109. package/package.json +3 -2
  110. package/schemas/findings.schema.json +4 -3
  111. package/skills/architecture-audit/SKILL.md +2 -2
  112. package/skills/architecture-audit/references/report-template.md +1 -1
  113. package/skills/architecture-verification/references/fitness-functions.md +1 -1
@@ -0,0 +1,478 @@
1
+ {
2
+ "schemaVersion": "1.1.0",
3
+ "tool": "archsutra",
4
+ "findings": [
5
+ {
6
+ "rule": "AS-SEC-004",
7
+ "title": "Dynamic code or shell execution",
8
+ "category": "security",
9
+ "severity": "high",
10
+ "confidence": "medium",
11
+ "evidence": [
12
+ {
13
+ "path": "src/services/user.ts",
14
+ "startLine": 3,
15
+ "endLine": 3,
16
+ "kind": "observed",
17
+ "excerpt": "const score = eval(expr);",
18
+ "fingerprint": "5db30390c4ac1c9a8a18c155894b66fe"
19
+ }
20
+ ],
21
+ "impact": "If any input reaches these calls, an attacker can execute arbitrary code or commands.",
22
+ "whyItMatters": "Injection (OWASP A03) frequently starts at eval/exec style sinks.",
23
+ "fix": "Replace with a safe API (argument arrays, parsers, allowlists). Never build commands or code from strings that include external input.",
24
+ "verification": "Trace data flow into each call; add a unit test with hostile input.",
25
+ "acceptanceCriteria": "No eval/Function/shell-string execution remains, or each remaining use is documented with a proven constant input.",
26
+ "effort": "M",
27
+ "ownerType": "application developer",
28
+ "caveats": "Pattern match only. The call may only receive constants; confirm by data-flow review.",
29
+ "references": [
30
+ "https://owasp.org/Top10/"
31
+ ],
32
+ "cwe": "CWE-95",
33
+ "owasp": "A03:2021",
34
+ "id": "AS-SEC-004#001",
35
+ "status": "open"
36
+ },
37
+ {
38
+ "rule": "AS-SEC-005",
39
+ "title": "SQL built by string concatenation or interpolation",
40
+ "category": "security",
41
+ "severity": "high",
42
+ "confidence": "medium",
43
+ "evidence": [
44
+ {
45
+ "path": "src/services/user.ts",
46
+ "startLine": 2,
47
+ "endLine": 2,
48
+ "kind": "observed",
49
+ "excerpt": "const rows = await db.query(`SELECT * FROM users WHERE id = ${id}`);",
50
+ "fingerprint": "3272b8ad3541737fdd2866768b0830e3"
51
+ }
52
+ ],
53
+ "impact": "Possible SQL injection and unpredictable query plans.",
54
+ "whyItMatters": "Parameterized queries are the primary defence against injection (OWASP A03).",
55
+ "fix": "Use parameterized queries or the ORM query builder. Allowlist any dynamic identifiers.",
56
+ "verification": "Search for the pattern again; add an injection test (e.g. a quote character in input).",
57
+ "acceptanceCriteria": "All queries with external input use bind parameters.",
58
+ "effort": "M",
59
+ "ownerType": "application developer",
60
+ "caveats": "Heuristic. Interpolated values may be constants or already validated.",
61
+ "references": [
62
+ "https://owasp.org/Top10/",
63
+ "https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html"
64
+ ],
65
+ "cwe": "CWE-89",
66
+ "owasp": "A03:2021",
67
+ "id": "AS-SEC-005#001",
68
+ "status": "open"
69
+ },
70
+ {
71
+ "rule": "AS-SEC-006",
72
+ "title": "TLS certificate verification disabled",
73
+ "category": "security",
74
+ "severity": "high",
75
+ "confidence": "high",
76
+ "evidence": [
77
+ {
78
+ "path": "src/services/http.ts",
79
+ "startLine": 2,
80
+ "endLine": 2,
81
+ "kind": "observed",
82
+ "excerpt": "export const agent = new https.Agent({ rejectUnauthorized: false });",
83
+ "fingerprint": "600a4fbe21f3c9ceee289f36d59609ad"
84
+ }
85
+ ],
86
+ "impact": "Connections can be intercepted by a man-in-the-middle.",
87
+ "whyItMatters": "Disabled verification removes the authenticity guarantee of TLS.",
88
+ "fix": "Enable verification. For private CAs, trust the CA bundle explicitly instead of disabling checks.",
89
+ "verification": "Connect to a host with an invalid cert and confirm the call fails.",
90
+ "acceptanceCriteria": "No production code path disables certificate verification.",
91
+ "effort": "S",
92
+ "ownerType": "application developer",
93
+ "caveats": "May be limited to a local dev profile; confirm it cannot reach production.",
94
+ "references": [
95
+ "https://owasp.org/Top10/A02_2021-Cryptographic_Failures/"
96
+ ],
97
+ "cwe": "CWE-295",
98
+ "owasp": "A02:2021",
99
+ "id": "AS-SEC-006#001",
100
+ "status": "open"
101
+ },
102
+ {
103
+ "rule": "AS-ARC-001",
104
+ "title": "Circular dependency between modules (src/api <-> src/db)",
105
+ "category": "architecture",
106
+ "severity": "medium",
107
+ "confidence": "high",
108
+ "evidence": [
109
+ {
110
+ "path": "src/api/routes.ts",
111
+ "startLine": 1,
112
+ "endLine": 1,
113
+ "kind": "observed",
114
+ "excerpt": "import { findUser } from '../db/repo.js';",
115
+ "fingerprint": "920f0f27e7eda4856274305641785305"
116
+ },
117
+ {
118
+ "path": "src/db/repo.ts",
119
+ "startLine": 1,
120
+ "endLine": 1,
121
+ "kind": "observed",
122
+ "excerpt": "import { getUser } from '../api/routes.js';",
123
+ "fingerprint": "d1bf44794852fed35aec468292570443"
124
+ }
125
+ ],
126
+ "impact": "Cyclic modules cannot be understood, tested, versioned or deployed independently.",
127
+ "whyItMatters": "Acyclic dependencies keep change local and make extraction (e.g. to a service) feasible.",
128
+ "fix": "Extract the shared concept into a lower-level module or invert one dependency behind an interface.",
129
+ "verification": "Re-run `archsutra map`; cycles list must be empty. Add the check to CI.",
130
+ "acceptanceCriteria": "archsutra map reports zero module cycles.",
131
+ "effort": "M",
132
+ "ownerType": "tech lead",
133
+ "caveats": "Module = top-level directory heuristic; a cycle between sub-folders of one deliberate unit may be acceptable.",
134
+ "references": [
135
+ "https://en.wikipedia.org/wiki/Acyclic_dependencies_principle"
136
+ ],
137
+ "id": "AS-ARC-001#001",
138
+ "status": "open"
139
+ },
140
+ {
141
+ "rule": "AS-ARC-002",
142
+ "title": "Lower layer depends on a higher layer",
143
+ "category": "architecture",
144
+ "severity": "medium",
145
+ "confidence": "medium",
146
+ "evidence": [
147
+ {
148
+ "path": "src/db/repo.ts",
149
+ "startLine": 1,
150
+ "endLine": 1,
151
+ "kind": "observed",
152
+ "excerpt": "import { getUser } from '../api/routes.js';",
153
+ "fingerprint": "c2ae2cdb1d94957ab948aaafaa116191"
154
+ }
155
+ ],
156
+ "impact": "Data or service code that imports presentation code inverts the intended dependency direction and blocks reuse.",
157
+ "whyItMatters": "Layer direction is what keeps business and data logic independent of delivery mechanisms.",
158
+ "fix": "Move shared types down, or introduce an interface owned by the lower layer and implemented above.",
159
+ "verification": "Add a dependency-direction fitness test (e.g. dependency-cruiser, ArchUnit) and run it in CI.",
160
+ "acceptanceCriteria": "No import from data/service layers into presentation layers.",
161
+ "effort": "M",
162
+ "ownerType": "tech lead",
163
+ "caveats": "Layers are inferred from folder names (controllers, services, repositories...). Verify your real layering.",
164
+ "references": [
165
+ "https://c4model.com/"
166
+ ],
167
+ "id": "AS-ARC-002#001",
168
+ "status": "open"
169
+ },
170
+ {
171
+ "rule": "AS-OPS-001",
172
+ "title": "No CI pipeline configuration found",
173
+ "category": "operability",
174
+ "severity": "medium",
175
+ "confidence": "medium",
176
+ "evidence": [
177
+ {
178
+ "path": ".",
179
+ "kind": "unknown",
180
+ "excerpt": "No GitHub Actions, GitLab CI, Azure Pipelines, Jenkins or CircleCI files found",
181
+ "fingerprint": "aa877a2a6d740da29dfa5e9a93dff8e4"
182
+ }
183
+ ],
184
+ "impact": "Regressions and architecture drift are not caught automatically.",
185
+ "whyItMatters": "Automated gates are the cheapest enforcement of architectural rules.",
186
+ "fix": "Add CI that builds, tests, lints and runs dependency/secret scans on every pull request.",
187
+ "verification": "Open a PR and confirm the pipeline runs.",
188
+ "acceptanceCriteria": "A required status check runs build + tests on every PR.",
189
+ "effort": "S",
190
+ "ownerType": "DevOps",
191
+ "caveats": "CI may live outside this repository.",
192
+ "references": [],
193
+ "id": "AS-OPS-001#001",
194
+ "status": "open"
195
+ },
196
+ {
197
+ "rule": "AS-OPS-002",
198
+ "title": "No test files found",
199
+ "category": "maintainability",
200
+ "severity": "medium",
201
+ "confidence": "medium",
202
+ "evidence": [
203
+ {
204
+ "path": ".",
205
+ "kind": "unknown",
206
+ "excerpt": "No test/, tests/, __tests__, *.test.*, *.spec.* or *_test.* files found",
207
+ "fingerprint": "cff78b889788c7e9f11c8268bf75577b"
208
+ }
209
+ ],
210
+ "impact": "Refactoring and modernization are high-risk without a safety net.",
211
+ "whyItMatters": "Tests are the precondition for safe evolution.",
212
+ "fix": "Add characterization tests around critical paths before changing them.",
213
+ "verification": "Run the suite in CI and track coverage trend.",
214
+ "acceptanceCriteria": "Critical user journeys have automated tests that run in CI.",
215
+ "effort": "L",
216
+ "ownerType": "application developer",
217
+ "caveats": "Tests may live in another repository.",
218
+ "references": [],
219
+ "id": "AS-OPS-002#001",
220
+ "status": "open"
221
+ },
222
+ {
223
+ "rule": "AS-OPS-003",
224
+ "title": "Container runs as root",
225
+ "category": "security",
226
+ "severity": "medium",
227
+ "confidence": "high",
228
+ "evidence": [
229
+ {
230
+ "path": "Dockerfile",
231
+ "startLine": 1,
232
+ "endLine": 4,
233
+ "kind": "observed",
234
+ "excerpt": "no USER instruction",
235
+ "fingerprint": "33d0a482fbf87a1276926daa236c8875"
236
+ }
237
+ ],
238
+ "impact": "A compromised process has root inside the container, easing escape and file tampering.",
239
+ "whyItMatters": "Non-root containers are baseline hardening.",
240
+ "fix": "Create an unprivileged user and add `USER <name>` before the entrypoint.",
241
+ "verification": "`docker run --rm image id` shows a non-zero uid.",
242
+ "acceptanceCriteria": "Final image stage runs as a non-root user.",
243
+ "effort": "S",
244
+ "ownerType": "DevOps",
245
+ "caveats": "Some build-only stages legitimately use root; only the final stage matters.",
246
+ "references": [
247
+ "https://docs.docker.com/build/building/best-practices/#user"
248
+ ],
249
+ "cwe": "CWE-250",
250
+ "owasp": "A05:2021",
251
+ "id": "AS-OPS-003#001",
252
+ "status": "open"
253
+ },
254
+ {
255
+ "rule": "AS-SUP-001",
256
+ "title": "Dependency manifest without lockfile",
257
+ "category": "supply-chain",
258
+ "severity": "medium",
259
+ "confidence": "high",
260
+ "evidence": [
261
+ {
262
+ "path": "package.json",
263
+ "kind": "observed",
264
+ "excerpt": "no lockfile next to or above this package.json",
265
+ "fingerprint": "2358f27ef65dcacbdc2ad7c08e2ef12c"
266
+ }
267
+ ],
268
+ "impact": "Installs are not reproducible; a compromised new release can enter automatically.",
269
+ "whyItMatters": "Lockfiles pin the exact dependency tree that was tested.",
270
+ "fix": "Commit the lockfile and install with `npm ci` (or equivalent) in CI.",
271
+ "verification": "CI uses a frozen/locked install.",
272
+ "acceptanceCriteria": "Every manifest has a committed lockfile.",
273
+ "effort": "S",
274
+ "ownerType": "application developer",
275
+ "caveats": "Workspaces may keep a single lockfile at the repo root (checked).",
276
+ "references": [],
277
+ "cwe": "CWE-1357",
278
+ "owasp": "A06:2021",
279
+ "id": "AS-SUP-001#001",
280
+ "status": "open"
281
+ },
282
+ {
283
+ "rule": "AS-SUP-002",
284
+ "title": "Unpinned dependency ranges (\"latest\" or \"*\")",
285
+ "category": "supply-chain",
286
+ "severity": "medium",
287
+ "confidence": "high",
288
+ "evidence": [
289
+ {
290
+ "path": "package.json",
291
+ "kind": "observed",
292
+ "excerpt": "express: latest",
293
+ "fingerprint": "27ec9944ce28e3d43a43a8b1b15e4bdd"
294
+ }
295
+ ],
296
+ "impact": "Any future release, including a malicious one, is accepted.",
297
+ "whyItMatters": "Unbounded ranges defeat review and reproducibility.",
298
+ "fix": "Use a bounded semver range and rely on the lockfile plus automated update PRs.",
299
+ "verification": "Manifest scan shows no \"latest\" or \"*\".",
300
+ "acceptanceCriteria": "No dependency uses latest or *.",
301
+ "effort": "S",
302
+ "ownerType": "application developer",
303
+ "caveats": "None known.",
304
+ "references": [],
305
+ "cwe": "CWE-1357",
306
+ "owasp": "A06:2021",
307
+ "id": "AS-SUP-002#001",
308
+ "status": "open"
309
+ },
310
+ {
311
+ "rule": "AS-DOC-001",
312
+ "title": "No README at repository root",
313
+ "category": "developer-experience",
314
+ "severity": "low",
315
+ "confidence": "high",
316
+ "evidence": [
317
+ {
318
+ "path": ".",
319
+ "kind": "observed",
320
+ "excerpt": "README* not found",
321
+ "fingerprint": "6d791d0b510e1f4b185211ef5a6503cf"
322
+ }
323
+ ],
324
+ "impact": "New contributors cannot find purpose, setup, or architecture overview.",
325
+ "whyItMatters": "Docs drift starts when the entry point is missing.",
326
+ "fix": "Add a README with purpose, setup, run, test, and an architecture section.",
327
+ "verification": "A new developer runs the project from the README alone.",
328
+ "acceptanceCriteria": "README exists and setup steps were validated on a clean machine.",
329
+ "effort": "S",
330
+ "ownerType": "tech lead",
331
+ "caveats": "None known.",
332
+ "references": [],
333
+ "id": "AS-DOC-001#001",
334
+ "status": "open"
335
+ },
336
+ {
337
+ "rule": "AS-SUP-003",
338
+ "title": "Container base image not pinned",
339
+ "category": "supply-chain",
340
+ "severity": "low",
341
+ "confidence": "medium",
342
+ "evidence": [
343
+ {
344
+ "path": "Dockerfile",
345
+ "kind": "observed",
346
+ "excerpt": "base image not pinned to a version or digest",
347
+ "fingerprint": "f0fc85cdeae5abcd031c447d3e1970c6"
348
+ }
349
+ ],
350
+ "impact": "Builds are not reproducible and can silently pick up a compromised or breaking image.",
351
+ "whyItMatters": "Pinning is a core supply-chain control.",
352
+ "fix": "Pin to a specific version tag, ideally with a digest, and update via automated PRs.",
353
+ "verification": "Rebuild twice and compare image digests.",
354
+ "acceptanceCriteria": "All FROM lines specify an explicit version or digest.",
355
+ "effort": "S",
356
+ "ownerType": "DevOps",
357
+ "caveats": "Multi-stage references to earlier stages are not images.",
358
+ "references": [],
359
+ "cwe": "CWE-1357",
360
+ "owasp": "A06:2021",
361
+ "id": "AS-SUP-003#001",
362
+ "status": "open"
363
+ }
364
+ ],
365
+ "scorecard": [
366
+ {
367
+ "category": "Security",
368
+ "rating": "weak",
369
+ "rules": 19,
370
+ "confidence": "low",
371
+ "basis": "4 finding(s): 0 critical, 3 high, 1 medium, 0 low. 19 rule(s), 100% of listed files scanned. Absence of findings is not proof of quality."
372
+ },
373
+ {
374
+ "category": "Maintainability",
375
+ "rating": "adequate",
376
+ "rules": 5,
377
+ "confidence": "low",
378
+ "basis": "3 finding(s): 0 critical, 0 high, 3 medium, 0 low. 5 rule(s), 100% of listed files scanned. Absence of findings is not proof of quality."
379
+ },
380
+ {
381
+ "category": "Operability",
382
+ "rating": "adequate",
383
+ "rules": 2,
384
+ "confidence": "low",
385
+ "basis": "1 finding(s): 0 critical, 0 high, 1 medium, 0 low. 2 rule(s), 100% of listed files scanned. Absence of findings is not proof of quality."
386
+ },
387
+ {
388
+ "category": "Supply chain",
389
+ "rating": "adequate",
390
+ "rules": 3,
391
+ "confidence": "low",
392
+ "basis": "3 finding(s): 0 critical, 0 high, 2 medium, 1 low. 3 rule(s), 100% of listed files scanned. Absence of findings is not proof of quality."
393
+ },
394
+ {
395
+ "category": "Developer experience",
396
+ "rating": "no findings",
397
+ "rules": 2,
398
+ "confidence": "low",
399
+ "basis": "1 finding(s): 0 critical, 0 high, 0 medium, 1 low. 2 rule(s), 100% of listed files scanned. Absence of findings is not proof of quality."
400
+ },
401
+ {
402
+ "category": "Reliability",
403
+ "rating": "not assessed",
404
+ "rules": 0,
405
+ "confidence": "none",
406
+ "basis": "Needs runtime, load, data or billing evidence the static scan cannot observe. Use the architecture-audit skill; see the roadmap in docs/handbook/09-compatibility-and-roadmap.md."
407
+ },
408
+ {
409
+ "category": "Performance",
410
+ "rating": "not assessed",
411
+ "rules": 0,
412
+ "confidence": "none",
413
+ "basis": "Needs runtime, load, data or billing evidence the static scan cannot observe. Use the architecture-audit skill; see the roadmap in docs/handbook/09-compatibility-and-roadmap.md."
414
+ },
415
+ {
416
+ "category": "Scalability",
417
+ "rating": "not assessed",
418
+ "rules": 0,
419
+ "confidence": "none",
420
+ "basis": "Needs runtime, load, data or billing evidence the static scan cannot observe. Use the architecture-audit skill; see the roadmap in docs/handbook/09-compatibility-and-roadmap.md."
421
+ },
422
+ {
423
+ "category": "Data integrity",
424
+ "rating": "not assessed",
425
+ "rules": 0,
426
+ "confidence": "none",
427
+ "basis": "Needs runtime, load, data or billing evidence the static scan cannot observe. Use the architecture-audit skill; see the roadmap in docs/handbook/09-compatibility-and-roadmap.md."
428
+ },
429
+ {
430
+ "category": "Cost",
431
+ "rating": "not assessed",
432
+ "rules": 0,
433
+ "confidence": "none",
434
+ "basis": "Needs runtime, load, data or billing evidence the static scan cannot observe. Use the architecture-audit skill; see the roadmap in docs/handbook/09-compatibility-and-roadmap.md."
435
+ }
436
+ ],
437
+ "coverage": {
438
+ "filesScanned": 7,
439
+ "skipped": {
440
+ "ignoredDirs": 0,
441
+ "tooLarge": 0,
442
+ "binary": 0,
443
+ "symlinks": 0,
444
+ "overBudget": 0,
445
+ "excluded": 0
446
+ },
447
+ "truncated": false,
448
+ "skippedPaths": [],
449
+ "folders": [
450
+ {
451
+ "name": "(root)",
452
+ "scanned": 3,
453
+ "total": 3
454
+ },
455
+ {
456
+ "name": "src/api",
457
+ "scanned": 1,
458
+ "total": 1
459
+ },
460
+ {
461
+ "name": "src/db",
462
+ "scanned": 1,
463
+ "total": 1
464
+ },
465
+ {
466
+ "name": "src/services",
467
+ "scanned": 2,
468
+ "total": 2
469
+ }
470
+ ]
471
+ },
472
+ "blindSpots": [
473
+ "Runtime behaviour, deployed topology, and data volumes are not observable from source alone.",
474
+ "Dependency edges are module-level. JS/TS uses relative imports. Python uses the top package name. Go, Java, Kotlin, C#, and Rust match an import suffix to a module path. Dynamic imports, path aliases, and DI wiring may be missed. PHP, Ruby, Swift, and Dart are detected and not graphed."
475
+ ],
476
+ "failedChecks": [],
477
+ "suppressed": []
478
+ }