zedbee 0.1.0-beta.15 → 0.1.0-beta.16

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 (344) hide show
  1. package/THIRD_PARTY_NOTICES.md +2 -0
  2. package/dist/attribution/pair-locations.d.ts.map +1 -1
  3. package/dist/attribution/pair-locations.js +20 -10
  4. package/dist/attribution/pair-locations.js.map +1 -1
  5. package/dist/cache/store.d.ts +1 -0
  6. package/dist/cache/store.d.ts.map +1 -1
  7. package/dist/cache/store.js +2 -0
  8. package/dist/cache/store.js.map +1 -1
  9. package/dist/checks/adapter.d.ts +3 -0
  10. package/dist/checks/adapter.d.ts.map +1 -1
  11. package/dist/checks/applicability.d.ts.map +1 -1
  12. package/dist/checks/applicability.js +13 -1
  13. package/dist/checks/applicability.js.map +1 -1
  14. package/dist/checks/comparison-context.d.ts +26 -0
  15. package/dist/checks/comparison-context.d.ts.map +1 -0
  16. package/dist/checks/comparison-context.js +187 -0
  17. package/dist/checks/comparison-context.js.map +1 -0
  18. package/dist/checks/compiler-inputs.d.ts.map +1 -1
  19. package/dist/checks/compiler-inputs.js +6 -0
  20. package/dist/checks/compiler-inputs.js.map +1 -1
  21. package/dist/checks/diagnostic-details.d.ts +28 -0
  22. package/dist/checks/diagnostic-details.d.ts.map +1 -0
  23. package/dist/checks/diagnostic-details.js +410 -0
  24. package/dist/checks/diagnostic-details.js.map +1 -0
  25. package/dist/checks/dispatch-cache.d.ts.map +1 -1
  26. package/dist/checks/dispatch-cache.js +64 -5
  27. package/dist/checks/dispatch-cache.js.map +1 -1
  28. package/dist/checks/dispatch-target.d.ts.map +1 -1
  29. package/dist/checks/dispatch-target.js +6 -0
  30. package/dist/checks/dispatch-target.js.map +1 -1
  31. package/dist/checks/dispatcher.d.ts.map +1 -1
  32. package/dist/checks/dispatcher.js +14 -2
  33. package/dist/checks/dispatcher.js.map +1 -1
  34. package/dist/checks/engine-identity.d.ts.map +1 -1
  35. package/dist/checks/engine-identity.js +5 -4
  36. package/dist/checks/engine-identity.js.map +1 -1
  37. package/dist/checks/eslint/convert-message.d.ts.map +1 -1
  38. package/dist/checks/eslint/convert-message.js +4 -1
  39. package/dist/checks/eslint/convert-message.js.map +1 -1
  40. package/dist/checks/eslint/lint-adapter.d.ts.map +1 -1
  41. package/dist/checks/eslint/lint-adapter.js +7 -0
  42. package/dist/checks/eslint/lint-adapter.js.map +1 -1
  43. package/dist/checks/eslint/managed-config.d.ts +3 -0
  44. package/dist/checks/eslint/managed-config.d.ts.map +1 -1
  45. package/dist/checks/eslint/managed-config.js +18 -3
  46. package/dist/checks/eslint/managed-config.js.map +1 -1
  47. package/dist/checks/eslint/project/adapter.d.ts +3 -0
  48. package/dist/checks/eslint/project/adapter.d.ts.map +1 -0
  49. package/dist/checks/eslint/project/adapter.js +143 -0
  50. package/dist/checks/eslint/project/adapter.js.map +1 -0
  51. package/dist/checks/eslint/project/diagnostics.d.ts +15 -0
  52. package/dist/checks/eslint/project/diagnostics.d.ts.map +1 -0
  53. package/dist/checks/eslint/project/diagnostics.js +38 -0
  54. package/dist/checks/eslint/project/diagnostics.js.map +1 -0
  55. package/dist/checks/eslint/project/engine.d.ts +5 -0
  56. package/dist/checks/eslint/project/engine.d.ts.map +1 -0
  57. package/dist/checks/eslint/project/engine.js +207 -0
  58. package/dist/checks/eslint/project/engine.js.map +1 -0
  59. package/dist/checks/eslint/project/installation.d.ts +3 -0
  60. package/dist/checks/eslint/project/installation.d.ts.map +1 -0
  61. package/dist/checks/eslint/project/installation.js +118 -0
  62. package/dist/checks/eslint/project/installation.js.map +1 -0
  63. package/dist/checks/eslint/project/protocol.d.ts +6 -0
  64. package/dist/checks/eslint/project/protocol.d.ts.map +1 -0
  65. package/dist/checks/eslint/project/protocol.js +90 -0
  66. package/dist/checks/eslint/project/protocol.js.map +1 -0
  67. package/dist/checks/eslint/project/trust.d.ts +18 -0
  68. package/dist/checks/eslint/project/trust.d.ts.map +1 -0
  69. package/dist/checks/eslint/project/trust.js +93 -0
  70. package/dist/checks/eslint/project/trust.js.map +1 -0
  71. package/dist/checks/eslint/project/types.d.ts +53 -0
  72. package/dist/checks/eslint/project/types.d.ts.map +1 -0
  73. package/dist/checks/eslint/project/types.js +24 -0
  74. package/dist/checks/eslint/project/types.js.map +1 -0
  75. package/dist/checks/eslint/project/worker.d.ts +2 -0
  76. package/dist/checks/eslint/project/worker.d.ts.map +1 -0
  77. package/dist/checks/eslint/project/worker.js +89 -0
  78. package/dist/checks/eslint/project/worker.js.map +1 -0
  79. package/dist/checks/eslint/project/workspace.d.ts +7 -0
  80. package/dist/checks/eslint/project/workspace.d.ts.map +1 -0
  81. package/dist/checks/eslint/project/workspace.js +100 -0
  82. package/dist/checks/eslint/project/workspace.js.map +1 -0
  83. package/dist/checks/eslint/rule-settings.d.ts.map +1 -1
  84. package/dist/checks/eslint/rule-settings.js +2 -2
  85. package/dist/checks/eslint/rule-settings.js.map +1 -1
  86. package/dist/checks/observation-result.d.ts.map +1 -1
  87. package/dist/checks/observation-result.js +20 -2
  88. package/dist/checks/observation-result.js.map +1 -1
  89. package/dist/checks/policy-scheduling.d.ts.map +1 -1
  90. package/dist/checks/policy-scheduling.js +6 -0
  91. package/dist/checks/policy-scheduling.js.map +1 -1
  92. package/dist/checks/prettier/settings.d.ts +2 -2
  93. package/dist/checks/react/accessibility-settings.d.ts +14 -0
  94. package/dist/checks/react/accessibility-settings.d.ts.map +1 -0
  95. package/dist/checks/react/accessibility-settings.js +37 -0
  96. package/dist/checks/react/accessibility-settings.js.map +1 -0
  97. package/dist/checks/react/adapter.d.ts.map +1 -1
  98. package/dist/checks/react/adapter.js +3 -0
  99. package/dist/checks/react/adapter.js.map +1 -1
  100. package/dist/checks/react/config.d.ts +2 -1
  101. package/dist/checks/react/config.d.ts.map +1 -1
  102. package/dist/checks/react/config.js +9 -3
  103. package/dist/checks/react/config.js.map +1 -1
  104. package/dist/checks/react/managed-accessibility-plugin.d.ts +21 -0
  105. package/dist/checks/react/managed-accessibility-plugin.d.ts.map +1 -0
  106. package/dist/checks/react/managed-accessibility-plugin.js +83 -0
  107. package/dist/checks/react/managed-accessibility-plugin.js.map +1 -0
  108. package/dist/checks/react/managed-hooks-identity.d.ts +3 -0
  109. package/dist/checks/react/managed-hooks-identity.d.ts.map +1 -0
  110. package/dist/checks/react/managed-hooks-identity.js +4 -0
  111. package/dist/checks/react/managed-hooks-identity.js.map +1 -0
  112. package/dist/checks/react/managed-hooks-plugin.d.ts +5 -0
  113. package/dist/checks/react/managed-hooks-plugin.d.ts.map +1 -0
  114. package/dist/checks/react/managed-hooks-plugin.js +45 -0
  115. package/dist/checks/react/managed-hooks-plugin.js.map +1 -0
  116. package/dist/checks/runner/executor.d.ts +2 -0
  117. package/dist/checks/runner/executor.d.ts.map +1 -1
  118. package/dist/checks/runner/executor.js +16 -0
  119. package/dist/checks/runner/executor.js.map +1 -1
  120. package/dist/checks/runner/protocol.d.ts.map +1 -1
  121. package/dist/checks/runner/protocol.js +8 -0
  122. package/dist/checks/runner/protocol.js.map +1 -1
  123. package/dist/checks/runner/run-job.d.ts +1 -0
  124. package/dist/checks/runner/run-job.d.ts.map +1 -1
  125. package/dist/checks/runner/run-job.js +8 -1
  126. package/dist/checks/runner/run-job.js.map +1 -1
  127. package/dist/checks/runner/worker-slot.d.ts.map +1 -1
  128. package/dist/checks/runner/worker-slot.js +17 -1
  129. package/dist/checks/runner/worker-slot.js.map +1 -1
  130. package/dist/checks/runner/worker.js +4 -1
  131. package/dist/checks/runner/worker.js.map +1 -1
  132. package/dist/checks/sanitize-result.d.ts +4 -0
  133. package/dist/checks/sanitize-result.d.ts.map +1 -1
  134. package/dist/checks/sanitize-result.js +45 -0
  135. package/dist/checks/sanitize-result.js.map +1 -1
  136. package/dist/checks/secrets/normalize.js +1 -1
  137. package/dist/checks/secrets/normalize.js.map +1 -1
  138. package/dist/checks/typescript/adapter.d.ts.map +1 -1
  139. package/dist/checks/typescript/adapter.js +2 -0
  140. package/dist/checks/typescript/adapter.js.map +1 -1
  141. package/dist/checks/typescript/compiler-host.d.ts.map +1 -1
  142. package/dist/checks/typescript/compiler-host.js +2 -0
  143. package/dist/checks/typescript/compiler-host.js.map +1 -1
  144. package/dist/checks/typescript/compiler-options-provenance.d.ts +4 -0
  145. package/dist/checks/typescript/compiler-options-provenance.d.ts.map +1 -0
  146. package/dist/checks/typescript/compiler-options-provenance.js +13 -0
  147. package/dist/checks/typescript/compiler-options-provenance.js.map +1 -0
  148. package/dist/checks/typescript/convert-diagnostic.d.ts.map +1 -1
  149. package/dist/checks/typescript/convert-diagnostic.js +4 -1
  150. package/dist/checks/typescript/convert-diagnostic.js.map +1 -1
  151. package/dist/checks/typescript/project-coverage.d.ts.map +1 -1
  152. package/dist/checks/typescript/project-coverage.js +19 -2
  153. package/dist/checks/typescript/project-coverage.js.map +1 -1
  154. package/dist/cli.d.ts.map +1 -1
  155. package/dist/cli.js +22 -0
  156. package/dist/cli.js.map +1 -1
  157. package/dist/commands/checks.d.ts.map +1 -1
  158. package/dist/commands/checks.js +9 -4
  159. package/dist/commands/checks.js.map +1 -1
  160. package/dist/commands/init.d.ts +4 -0
  161. package/dist/commands/init.d.ts.map +1 -1
  162. package/dist/commands/init.js +13 -0
  163. package/dist/commands/init.js.map +1 -1
  164. package/dist/commands/scan.d.ts +2 -1
  165. package/dist/commands/scan.d.ts.map +1 -1
  166. package/dist/commands/scan.js +6 -0
  167. package/dist/commands/scan.js.map +1 -1
  168. package/dist/config/immutable-configuration.d.ts +2 -0
  169. package/dist/config/immutable-configuration.d.ts.map +1 -0
  170. package/dist/config/immutable-configuration.js +81 -0
  171. package/dist/config/immutable-configuration.js.map +1 -0
  172. package/dist/config/load-config.d.ts.map +1 -1
  173. package/dist/config/load-config.js +8 -1
  174. package/dist/config/load-config.js.map +1 -1
  175. package/dist/config/profiles.d.ts.map +1 -1
  176. package/dist/config/profiles.js +24 -3
  177. package/dist/config/profiles.js.map +1 -1
  178. package/dist/config/schema.d.ts +115 -9
  179. package/dist/config/schema.d.ts.map +1 -1
  180. package/dist/config/schema.js +31 -2
  181. package/dist/config/schema.js.map +1 -1
  182. package/dist/config/settings-registry.d.ts +3 -1
  183. package/dist/config/settings-registry.d.ts.map +1 -1
  184. package/dist/config/settings-registry.js +7 -79
  185. package/dist/config/settings-registry.js.map +1 -1
  186. package/dist/config/target-policy.d.ts +4 -1
  187. package/dist/config/target-policy.d.ts.map +1 -1
  188. package/dist/config/target-policy.js +96 -0
  189. package/dist/config/target-policy.js.map +1 -1
  190. package/dist/core/types.d.ts +15 -0
  191. package/dist/core/types.d.ts.map +1 -1
  192. package/dist/diagnostics/scan-performance.d.ts +50 -0
  193. package/dist/diagnostics/scan-performance.d.ts.map +1 -0
  194. package/dist/diagnostics/scan-performance.js +153 -0
  195. package/dist/diagnostics/scan-performance.js.map +1 -0
  196. package/dist/doctor/diagnostics.d.ts +2 -1
  197. package/dist/doctor/diagnostics.d.ts.map +1 -1
  198. package/dist/doctor/diagnostics.js +5 -0
  199. package/dist/doctor/diagnostics.js.map +1 -1
  200. package/dist/doctor/project-eslint.d.ts +4 -0
  201. package/dist/doctor/project-eslint.d.ts.map +1 -0
  202. package/dist/doctor/project-eslint.js +98 -0
  203. package/dist/doctor/project-eslint.js.map +1 -0
  204. package/dist/hooks/command.d.ts.map +1 -1
  205. package/dist/hooks/command.js +2 -4
  206. package/dist/hooks/command.js.map +1 -1
  207. package/dist/hooks/husky.d.ts.map +1 -1
  208. package/dist/hooks/husky.js +7 -1
  209. package/dist/hooks/husky.js.map +1 -1
  210. package/dist/hooks/install.d.ts.map +1 -1
  211. package/dist/hooks/install.js +5 -0
  212. package/dist/hooks/install.js.map +1 -1
  213. package/dist/hooks/installed-command.d.ts +11 -0
  214. package/dist/hooks/installed-command.d.ts.map +1 -0
  215. package/dist/hooks/installed-command.js +36 -0
  216. package/dist/hooks/installed-command.js.map +1 -0
  217. package/dist/init/eslint-setup.d.ts +16 -0
  218. package/dist/init/eslint-setup.d.ts.map +1 -0
  219. package/dist/init/eslint-setup.js +98 -0
  220. package/dist/init/eslint-setup.js.map +1 -0
  221. package/dist/init/presentation.d.ts +9 -2
  222. package/dist/init/presentation.d.ts.map +1 -1
  223. package/dist/init/presentation.js +20 -0
  224. package/dist/init/presentation.js.map +1 -1
  225. package/dist/init/recommend.d.ts.map +1 -1
  226. package/dist/init/recommend.js +28 -0
  227. package/dist/init/recommend.js.map +1 -1
  228. package/dist/init/selection-policy.d.ts +4 -0
  229. package/dist/init/selection-policy.d.ts.map +1 -1
  230. package/dist/init/selection-policy.js +17 -0
  231. package/dist/init/selection-policy.js.map +1 -1
  232. package/dist/init/types.d.ts +14 -0
  233. package/dist/init/types.d.ts.map +1 -1
  234. package/dist/init/write-config.d.ts.map +1 -1
  235. package/dist/init/write-config.js +34 -0
  236. package/dist/init/write-config.js.map +1 -1
  237. package/dist/policy/evaluate.d.ts.map +1 -1
  238. package/dist/policy/evaluate.js +19 -4
  239. package/dist/policy/evaluate.js.map +1 -1
  240. package/dist/renderers/json.d.ts.map +1 -1
  241. package/dist/renderers/json.js +21 -0
  242. package/dist/renderers/json.js.map +1 -1
  243. package/dist/renderers/text.d.ts.map +1 -1
  244. package/dist/renderers/text.js +41 -7
  245. package/dist/renderers/text.js.map +1 -1
  246. package/dist/reporting/agent-guidance.d.ts +1 -0
  247. package/dist/reporting/agent-guidance.d.ts.map +1 -1
  248. package/dist/reporting/agent-guidance.js +25 -0
  249. package/dist/reporting/agent-guidance.js.map +1 -1
  250. package/dist/reporting/check-coverage.d.ts +9 -0
  251. package/dist/reporting/check-coverage.d.ts.map +1 -0
  252. package/dist/reporting/check-coverage.js +38 -0
  253. package/dist/reporting/check-coverage.js.map +1 -0
  254. package/dist/reporting/fix-presentation.d.ts +1 -1
  255. package/dist/reporting/project-eslint-notices.d.ts +3 -0
  256. package/dist/reporting/project-eslint-notices.d.ts.map +1 -0
  257. package/dist/reporting/project-eslint-notices.js +9 -0
  258. package/dist/reporting/project-eslint-notices.js.map +1 -0
  259. package/dist/reporting/report-callouts.d.ts +2 -2
  260. package/dist/reporting/report-callouts.d.ts.map +1 -1
  261. package/dist/reporting/report-callouts.js +5 -2
  262. package/dist/reporting/report-callouts.js.map +1 -1
  263. package/dist/reporting/source-identity.d.ts +1 -0
  264. package/dist/reporting/source-identity.d.ts.map +1 -1
  265. package/dist/reporting/source-identity.js +6 -0
  266. package/dist/reporting/source-identity.js.map +1 -1
  267. package/dist/scan/analysis-session.d.ts +3 -0
  268. package/dist/scan/analysis-session.d.ts.map +1 -1
  269. package/dist/scan/analysis-session.js +13 -0
  270. package/dist/scan/analysis-session.js.map +1 -1
  271. package/dist/scan/change-summary.d.ts +9 -0
  272. package/dist/scan/change-summary.d.ts.map +1 -0
  273. package/dist/scan/change-summary.js +7 -0
  274. package/dist/scan/change-summary.js.map +1 -0
  275. package/dist/scan/incomplete-report.d.ts +2 -0
  276. package/dist/scan/incomplete-report.d.ts.map +1 -1
  277. package/dist/scan/incomplete-report.js +3 -0
  278. package/dist/scan/incomplete-report.js.map +1 -1
  279. package/dist/scan/merge-scan.d.ts.map +1 -1
  280. package/dist/scan/merge-scan.js +2 -1
  281. package/dist/scan/merge-scan.js.map +1 -1
  282. package/dist/scan/report.d.ts +2 -0
  283. package/dist/scan/report.d.ts.map +1 -1
  284. package/dist/scan/run-scan.d.ts +3 -0
  285. package/dist/scan/run-scan.d.ts.map +1 -1
  286. package/dist/scan/run-scan.js +57 -3
  287. package/dist/scan/run-scan.js.map +1 -1
  288. package/dist/scan/source-excerpts.d.ts.map +1 -1
  289. package/dist/scan/source-excerpts.js +7 -0
  290. package/dist/scan/source-excerpts.js.map +1 -1
  291. package/dist/service/client-connection.js +1 -1
  292. package/dist/service/client-connection.js.map +1 -1
  293. package/dist/service/client-executor.d.ts.map +1 -1
  294. package/dist/service/client-executor.js +35 -2
  295. package/dist/service/client-executor.js.map +1 -1
  296. package/dist/service/server-connection.d.ts.map +1 -1
  297. package/dist/service/server-connection.js +11 -2
  298. package/dist/service/server-connection.js.map +1 -1
  299. package/dist/telemetry/client.d.ts +5 -1
  300. package/dist/telemetry/client.d.ts.map +1 -1
  301. package/dist/telemetry/client.js +20 -3
  302. package/dist/telemetry/client.js.map +1 -1
  303. package/dist/telemetry/details-store.d.ts +8 -4
  304. package/dist/telemetry/details-store.d.ts.map +1 -1
  305. package/dist/telemetry/details-store.js +28 -5
  306. package/dist/telemetry/details-store.js.map +1 -1
  307. package/dist/telemetry/performance-summary.d.ts +7 -0
  308. package/dist/telemetry/performance-summary.d.ts.map +1 -0
  309. package/dist/telemetry/performance-summary.js +49 -0
  310. package/dist/telemetry/performance-summary.js.map +1 -0
  311. package/dist/telemetry/schema.d.ts +813 -166
  312. package/dist/telemetry/schema.d.ts.map +1 -1
  313. package/dist/telemetry/schema.js +78 -0
  314. package/dist/telemetry/schema.js.map +1 -1
  315. package/dist/telemetry/state.d.ts +12 -12
  316. package/dist/ui/init-app.d.ts.map +1 -1
  317. package/dist/ui/init-app.js +41 -1
  318. package/dist/ui/init-app.js.map +1 -1
  319. package/dist/ui/init-view.d.ts.map +1 -1
  320. package/dist/ui/init-view.js +14 -4
  321. package/dist/ui/init-view.js.map +1 -1
  322. package/dist/ui/outcome-strip.d.ts.map +1 -1
  323. package/dist/ui/outcome-strip.js +7 -3
  324. package/dist/ui/outcome-strip.js.map +1 -1
  325. package/dist/ui/scan-app.d.ts.map +1 -1
  326. package/dist/ui/scan-app.js +2 -1
  327. package/dist/ui/scan-app.js.map +1 -1
  328. package/dist/ui/scan-result-dashboard.d.ts.map +1 -1
  329. package/dist/ui/scan-result-dashboard.js +7 -6
  330. package/dist/ui/scan-result-dashboard.js.map +1 -1
  331. package/dist/vendor/react-hooks/7.1.1/LICENSE +21 -0
  332. package/dist/vendor/react-hooks/7.1.1/development.cjs +55824 -0
  333. package/dist/vendor/react-hooks/7.1.1/index.cjs +2 -0
  334. package/dist/vendor/react-hooks/7.1.1/production.cjs +55649 -0
  335. package/dist/vendor/react-hooks/7.1.1/provenance.json +26 -0
  336. package/docs/checks.md +117 -2
  337. package/docs/cli-reference.md +28 -1
  338. package/docs/privacy.md +18 -1
  339. package/docs/react-analysis.md +66 -0
  340. package/docs/reporting.md +17 -0
  341. package/docs/support.md +23 -0
  342. package/package.json +8 -2
  343. package/plugins/swarm/references/scan.md +2 -0
  344. package/schema/zedbee.schema.json +134 -2
@@ -0,0 +1,26 @@
1
+ {
2
+ "version": "7.1.1",
3
+ "revision": "effect-timing-v1",
4
+ "referenceCommits": [
5
+ "d083ec1da1e5252abd3ddfdde6dfbc09701a2c51"
6
+ ],
7
+ "inputs": {
8
+ "development": {
9
+ "sha256": "d401e94560ab2660e40fe59a3408828b96d78e9929a22358386aa51acbe32e2b",
10
+ "regionSha256": "8e08df3504be2f1cc809bc5adba5668af338e95da9cf71d8da0cd6df682b6047"
11
+ },
12
+ "production": {
13
+ "sha256": "0804a982675cb73e81b870e29ec3ddcbba959ed722afc2cc42ad14d4a99cd27a",
14
+ "regionSha256": "8e08df3504be2f1cc809bc5adba5668af338e95da9cf71d8da0cd6df682b6047"
15
+ }
16
+ },
17
+ "licenseSha256": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93",
18
+ "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==",
19
+ "analysisSha256": "7f63292231ae069cb3381182e72fa6f3d4f3cc44d00e2d64094edcc2a6353e12",
20
+ "files": {
21
+ "development.cjs": "0a5b751225380d1b65ca8fe25c44af4b25125a88b1fca284d9650eae2f4e4175",
22
+ "production.cjs": "6b88f6e0777a4a03e2b8667c4550d780bd01dd6e471b608f6e06b260314ad8a4",
23
+ "index.cjs": "983808bd4288084de6223487308109b9447ada19ab81ab7782c8dc72e42c11ab",
24
+ "LICENSE": "da6d3703ed11cbe42bd212c725957c98da23cbff1998c05fa4b3d976d1a58e93"
25
+ }
26
+ }
package/docs/checks.md CHANGED
@@ -50,7 +50,7 @@ formatting to every unchanged file.
50
50
  | `dependencyArchitecture` | Dependency Cruiser cycles and invalid dependency edges | Compares the workspace module graph | Uses managed rules, not a project's executable dependency-cruiser config |
51
51
  | `deadCode` | Knip unused files, exports, and dependency hygiene | Compares each workspace as a project; saved findings require validated snapshot inputs and package-absence guards | Framework plugins are disabled; dynamic framework conventions can require future managed profiles |
52
52
  | `reactCorrectness` | React, Hooks, and JSX correctness | Runs only in discovered React/Ink/Next/Remix workspaces; calibrates each baseline/target workspace from staged dependency data | Uses the staged manifest, an unambiguous supported lockfile when available, then the managed React 19.2 fallback |
53
- | `reactAccessibility` | React DOM JSX accessibility | Runs only for React DOM, Next.js, and Remix—not Ink terminal UI | Static JSX rules cannot prove runtime accessibility |
53
+ | `reactAccessibility` | Static JSX accessibility checks | Runs only for React DOM, Next.js, and Remix—not Ink terminal UI | Static JSX rules cannot prove runtime accessibility |
54
54
  | `vulnerabilities` | Zedbee's bounded OSV API v1 client | Compares advisory/package/dependency-path state when supported lockfiles change or timing is `always` | Online only; discloses package name, exact version, and npm ecosystem identifier to `api.osv.dev` |
55
55
 
56
56
  ## Incomplete staged inputs
@@ -168,10 +168,16 @@ Exactly seven configurable checks expose settings beyond severity and timing:
168
168
  | `readabilityComplexity` | Positive safe-integer `max`; Boolean `blockWorsening` | `max: 15`, `blockWorsening: true`; file-scoped |
169
169
  | `duplication` | Percentage `threshold`; `settings.minLines`, `settings.minTokens`, and `settings.mode` | `threshold: 5`, `minLines: 5`, `minTokens: 50`, `mode: "mild"`; workspace-wide |
170
170
  | `reactCorrectness` | Bundled React and Hooks `rules` | File-scoped and limited to rule IDs Zedbee ships |
171
- | `reactAccessibility` | Bundled jsx-a11y `rules` | File-scoped and limited to rule IDs Zedbee ships |
171
+ | `reactAccessibility` | Bundled jsx-a11y `rules` and custom component/attribute/polymorphic `settings` | File-scoped and limited to rule IDs Zedbee ships |
172
172
 
173
173
  A target-only score above `max` and a staged score that crosses `max` are blocking. `blockWorsening: true` additionally blocks an increase when both the baseline and target were already above `max`; set it to `false` to tolerate that above-limit worsening while teams pay down existing debt. Duplication `threshold` accepts 0 through 100. `minLines` and `minTokens` are positive safe integers. Duplication mode is one of `strict`, `mild`, or `weak`.
174
174
 
175
+ `reactAccessibility.settings` accepts only `components` (component-to-element map),
176
+ `attributes` (DOM attribute-to-JSX-properties arrays), `polymorphicPropName`, and
177
+ `polymorphicAllowList`. Settings are file-scoped and default to no custom mappings.
178
+ See [static JSX accessibility examples and limitations](react-analysis.md#static-jsx-accessibility-checks).
179
+ These checks cannot certify runtime accessibility.
180
+
175
181
  ### Prettier settings
176
182
 
177
183
  Formatting scans and fixes leave generated package-manager lockfiles alone:
@@ -365,3 +371,112 @@ Framework entries use Knip's entry-export exemption, so their exports are not
365
371
  checked for exact framework consumption. Reachable library exports still receive
366
372
  normal analysis. Custom `pageExtensions`, MDX/custom compilers and
367
373
  `next <command> <subdirectory>` discovery are outside these default conventions.
374
+
375
+ ### Synthetic credentials in fixtures
376
+
377
+ Secretlint can recognize a deliberately fake database URL as a credential. For a confirmed synthetic fixture, suppress just the database rule on the next line, with a reason:
378
+
379
+ ```python
380
+ # secretlint-disable-next-line @secretlint/secretlint-rule-database-connection-string -- Synthetic redaction fixture
381
+ DATABASE_URL = "postgresql://fixture:fake_password@db.example.invalid/test"
382
+ ```
383
+
384
+ ```javascript
385
+ // secretlint-disable-next-line @secretlint/secretlint-rule-database-connection-string -- Synthetic redaction fixture
386
+ const databaseUrl =
387
+ "postgresql://fixture:fake_password@db.example.invalid/test";
388
+ ```
389
+
390
+ Stage the annotation together with the fixture. It suppresses the named rule on that one line; other rules and adjacent lines remain protected. This is an intentional suppression, not verification that a credential is fake. Remove and rotate real credentials. Test directories and localhost URLs are not automatically exempt.
391
+
392
+ For dedicated fixture files, an exact-file `pathExclusions` entry with `checks: ["secrets"]` and a reason is also supported. That excludes the whole file from that check and is broader than the next-line annotation.
393
+
394
+ ### Experimental project ESLint
395
+
396
+ Swarm's default lint mode uses its bundled rules. To use your project's own
397
+ ESLint, run `zedbee init --eslint-engine project` and review the proposal.
398
+ Project configuration and plugins execute JavaScript with your user privileges;
399
+ setup asks for separate ESLint execution trust. Prettier trust does not grant it.
400
+ For an explicit noninteractive setup, use
401
+ `zedbee init --eslint-engine project --trust-project-eslint --yes`.
402
+
403
+ You can also select `checks.lint.engine: "project"` in `.zedbeerc.jsonc`.
404
+ A workspace override must select its entire subtree, for example
405
+ `"files": ["packages/web/**"]`; individual-file engine selection is rejected.
406
+ Use `zedbee doctor` to inspect configuration, installation, and saved trust
407
+ without executing your project configuration.
408
+
409
+ Within a selected workspace, project ESLint supplies lint, React, and JSX
410
+ accessibility rules. Swarm shows its separate managed React checks as covered
411
+ by project ESLint; that does not establish that your configuration enables
412
+ accessibility rules. Formatting, complexity, secrets, and other independent
413
+ checks remain separate. Explicit managed rule/settings or React severity
414
+ settings must be resolved before selecting project mode; setup preserves and
415
+ explains conflicts instead of silently discarding them.
416
+
417
+ The initial supported environment is installed **ESLint 9.39.5**, JavaScript flat
418
+ configuration (`eslint.config.js`, `.mjs`, or `.cjs`), ordinary local node_modules,
419
+ and an npm package-lock v2 or v3 matching the selected target's direct installed
420
+ dependencies. Swarm does not automatically install dependencies. Legacy
421
+ `.eslintrc`, processors, TypeScript configuration modules, Yarn PnP, and extra
422
+ file formats are outside this initial boundary. Captured files over 32 MiB or a mirror that cannot reproduce every captured input make project analysis incomplete rather than silently omitting data. Next.js, Jest, and import-plugin
423
+ combinations have not yet been certified by the compatibility fixtures. Plugin
424
+ results use ESLint's standard interface; unsupported execution or a plugin crash
425
+ is incomplete analysis, with no silent managed fallback. Project-rule automatic
426
+ fixes are not enabled.
427
+
428
+ Project mode analyzes captured source and local configuration imports. Both
429
+ baseline and target configurations run in fresh processes using the target's
430
+ validated installed toolchain; Swarm does not recreate historical installations.
431
+ A newly introduced configuration can establish new coverage without a baseline
432
+ config. A broken existing baseline remains incomplete. Configurations requiring
433
+ external local files, live checkout paths, network state, or extra environment
434
+ variables are not guaranteed to reproduce. The worker receives PATH, fixed locale,
435
+ a temporary HOME/TMPDIR, and Windows system paths where needed.
436
+
437
+ A project plugin can inspect files beyond the source file it reports on, so
438
+ project mode runs its configured JS/TS scope for every nonempty repository
439
+ change, including Markdown and deletion-only changes. It does not use persistent
440
+ result caching. This can take longer than managed mode. An all-ignored scope is
441
+ reported as skipped, rather than a successful lint run. JSON check results expose
442
+ `eslintAnalysis` with the installed version, checked/ignored/excluded counts, baseline
443
+ comparison state, and effective message policy.
444
+
445
+ Project findings preserve rule IDs, severity, and locations. Messages are
446
+ redacted by default because plugins can quote source. Setting
447
+ `reporting.projectEslintMessages: "full"` also requires separate local permission;
448
+ setup offers this separately, or use `--allow-project-eslint-messages` with the
449
+ explicit project setup command. Without permission, analysis continues with
450
+ redacted messages. Full local messages can contain source in terminal and saved
451
+ JSON reports. Source-bearing messages and private rule identifiers are not sent
452
+ to telemetry. Returning to managed mode does not remove reports already written.
453
+
454
+ ### Rule severity and focusable separators
455
+
456
+ For bundled lint, React, and accessibility rules, an explicit per-rule `warn`
457
+ remains a warning under an `error` check. Check-level `warn` limits enabled rules
458
+ to warnings; check or rule `off` disables its applicable scope. Numeric and array
459
+ rule forms follow the same precedence. An error from another enabled rule still
460
+ blocks the commit.
461
+
462
+ Swarm corrects jsx-a11y 6.10.2's treatment of a literal focusable
463
+ `role="separator"` with `aria-valuenow`: that pattern is an ARIA window splitter,
464
+ including programmatic focus through `tabIndex={-1}`. Plain unfocusable separators
465
+ with keyboard handlers and statically missing current values still report.
466
+ Ambiguous spread attributes do not receive the exception. This correction applies
467
+ to Swarm's managed engine; project ESLint retains the project's own plugin version
468
+ and behavior. It is a static check, not proof of runtime accessibility.
469
+
470
+ An existing JSX interaction finding can span an entire opening element, including
471
+ inline handlers. Swarm pairs an existing occurrence through its unchanged opening
472
+ line even when harmless handler edits expand the diagnostic range. A replacement
473
+ opening line or newly added occurrence is not exempt merely because it reuses a
474
+ line number.
475
+
476
+ The managed `react-hooks/set-state-in-effect` implementation includes a
477
+ versioned correction for state updates across waits and local effect helpers.
478
+ An async wrapper does not make an immediate update safe. See
479
+ [React analysis](react-analysis.md#state-updates-across-async-effect-helpers)
480
+ for its scope and the distinction from native project ESLint behavior.
481
+
482
+ Managed type and lint checks distinguish verified unavailable installation inputs from source errors. An incomplete comparison reports setup guidance; it does not suppress genuine new unresolved imports or removed exports. Existing relevance decisions still skip unaffected workspaces. Diagnostic messages can retain reviewed local names; see [reporting](reporting.md#diagnostic-message-detail) for contextual and source-free output.
@@ -478,7 +478,34 @@ See [the complete check matrix](checks.md), [support matrix](support.md), [priva
478
478
  - For files intentionally outside every TypeScript project, a file override can set `checks.lint.typeInformation` to `"when-available"`. Zedbee then runs basic TypeScript lint without rules that require type information. The default is `"required"`; Zedbee never reduces coverage silently.
479
479
  - Intent-to-add entries are excluded from index mode as unstaged. Git LFS pointers, submodule pointers, and binary inputs selected by enabled text/source checks remain incomplete in either source mode with every affected path reported; use `pathExclusions` to intentionally suppress paths for specific checks.
480
480
  - OSV connectivity failures follow `checks.vulnerabilities.onUnavailable`: `block` fails closed, while `warn` reports the incomplete check and permits the commit if nothing else blocks.
481
- - If a hook cannot find Zedbee, restore the project-local dev dependency; generated hooks deliberately use `npx --no-install`.
481
+ - If a hook cannot find Zedbee, restore this checkout's dependencies using the repository's package-manager instructions. Fresh worktrees need their own available installation. Current generated hooks check their selected local CLI before starting Node and explain when no scan ran; they do not download a replacement or use another checkout's copy. Missing dependencies required by a running check are reported separately as incomplete analysis.
482
+ - Upgrading the installed package alone does not rewrite existing hooks. Run `zedbee init` to preview and apply the generated hook refresh. Custom hook commands are preserved and need a manual update. Lefthook and simple-git-hooks still require their normal activation step when setup reports activation as pending.
482
483
  - pnpm and modern Yarn lockfiles that use YAML alias references (including anchor-based reuse) make vulnerability analysis incomplete. Zedbee deliberately disables alias expansion to keep lockfile parsing bounded. Regenerate the lockfile with the package manager rather than hand-authoring reusable YAML nodes.
483
484
  - If a repository commits a package beneath `node_modules` and source code imports it, managed Knip analysis is incomplete. Zedbee refuses to let snapshot-controlled packages participate in analyzer module resolution; remove the committed package and restore dependencies through the package manager and lockfile.
484
485
  - Very large jscpd source lists can exceed the operating system argument limit, and framework-heavy Knip projects may need future managed profiles. Both cases are reported rather than silently skipped.
486
+
487
+ ### Selected changes and check coverage
488
+
489
+ Scan output distinguishes completed, skipped and incomplete check executions. Multiple workspace targets can contribute separate executions. Disabled checks are not counted as skipped. When every reported check is skipped, an allowed result says no applicable checks ran; when the execution list is empty, it says no checks ran for the selected changes. Neither claims that code was validated.
490
+
491
+ Optional JSON `changeSummary` contains `added`, `modified`, `deleted` and `renamed` path counts from the selected index or commit comparison. Renames count once. The field is absent when change discovery failed and for combined merge comparisons. Existing `summary.passed` still counts completed executions without findings.
492
+
493
+ A scan does not know whether an earlier staging command failed. Chain staging and committing with `&&` and review the selected changes; see [staging troubleshooting](support.md#staging-and-deletion-only-commits).
494
+
495
+ Experimental ESLint setup options for `zedbee init`:
496
+
497
+ - `--eslint-engine managed|project`: select bundled rules or the project's installed ESLint.
498
+ - `--trust-project-eslint`: explicitly grant execution trust when applying project setup.
499
+ - `--allow-project-eslint-messages`: separately allow source-bearing diagnostic text in local reports.
500
+
501
+ Review the experimental support boundary in [Checks](checks.md#experimental-project-eslint)
502
+ before choosing project mode. `zedbee doctor` inspects installation, flat config,
503
+ and stored trust as data, without executing the configuration.
504
+
505
+ ### Managed diagnostic messages
506
+
507
+ `zedbee scan --diagnostic-messages contextual` preserves reviewed module, member and function descriptions in local output. This is the default. `--diagnostic-messages source-free` requests trusted source-free explanations. Combine it with `--no-source` for a report without diagnostic names or source excerpts. The repository setting is `reporting.diagnosticMessages`; the CLI choice overrides it.
508
+
509
+ Contextual output is local reporting, including temporary JSON reports, and can contain source-derived names. Sensitive or unsupported details are withheld with redaction metadata. Telemetry, ordinary progress events and persistent observation-cache prose remain source-free. Native project ESLint full messages still require their separate local permission.
510
+
511
+ The managed source-free option does not override separately authorized full project ESLint messages. When sharing a report from project ESLint mode, also set `reporting.projectEslintMessages` to `"redacted"`.
package/docs/privacy.md CHANGED
@@ -239,7 +239,9 @@ and is not included in scan findings, temporary reports, or structured exports.
239
239
 
240
240
  Syntax entity names, including quoted member keys and lexical owners, and Knip issue names become deterministic opaque digests before attribution or cache persistence. Structural ownership markers remain available for comparison, without retaining the original names. Prior cache payload versions are rejected; upgrades do not retroactively erase old cache files or exported reports.
241
241
 
242
- TypeScript, lint, and React diagnostics use explanations from the bundled compiler and managed rule metadata. Substituted source values appear as `[source]`, so credentials that require surrounding source context to detect cannot leak through diagnostic messages. Private message digests preserve comparison between diagnostics without storing their original prose. Cached diagnostic messages are checked against the same trusted explanations before reuse. Existing cache files and previously exported reports are not retroactively erased by an upgrade.
242
+ Managed TypeScript, lint, and React diagnostics default to contextual local messages. Supported messages retain useful module, member, and function-category names after targeted redaction. Local terminal output and JSON or temporary reports can therefore contain source-derived names. Secret detection is best-effort; unsupported or uncertain detail is withheld with a redaction reason. For strict source-free output, set `reporting.diagnosticMessages` to `"source-free"` or pass `--diagnostic-messages source-free`. This setting is independent of source excerpts: use `--no-source` as well when sharing a report that must contain neither diagnostic names nor source lines.
243
+
244
+ Diagnostic details are bounded to the current scan and reviewed before crossing analyzer IPC. Persistent analysis caches and ordinary progress events retain source-free diagnostic prose; private comparison digests preserve semantic matching without storing original messages. A contextual scan may rerun the affected analyzer on a cache hit to recover details from immutable inputs. Telemetry never receives diagnostic prose or source names. Native project ESLint retains its separate full-message consent requirement. Existing cache files and previously exported reports are not retroactively erased by an upgrade.
243
245
 
244
246
  When enabled, the content-addressed cache stores only schema-validated normalized observations and integrity metadata from audited analyzers. TypeScript, lint, and Knip entries include private input fingerprints: content digests, scoped path identifiers, directory listings, and missing-file observations. Knip's scope remains the selected snapshot, including guards against installed packages entering resolution; its captured filesystem does not grant access to outside source bytes. Captured bytes remain in memory for analysis and are not saved in this cache. Zedbee rechecks fingerprints before reusing results; incomplete metadata disables caching for that result. Each internal Knip worker exits before its snapshot is released. New or unknown checks remain uncached until their inputs are audited. Installed engine identities come from the package metadata shipped with the active installation; missing identity metadata disables caching for that check. The cache must never store source, detected secret values, raw analyzer output, absolute snapshot paths, or online response bodies. Corrupt, ineligible, or incompatible entries are treated as misses.
245
247
 
@@ -258,3 +260,18 @@ Report cleanup and write warnings are non-blocking maintenance diagnostics. Zedb
258
260
  ## Agent and CI output
259
261
 
260
262
  Explicit `--format text`, `--format json`, and `--format sarif` are complete surfaces with no terminal finding cap and no automatic report file. JSON and SARIF are stable machine surfaces; SARIF is emitted as a complete SARIF 2.1.0 report for enterprise ingestion. Both structured formats use repository-relative paths, deterministic ordering, stable finding IDs, explicit attribution evidence, and the same online disclosures as the interactive experience. ANSI decoration and animation are never included.
263
+
264
+ Project ESLint configuration and plugins require separate local execution trust.
265
+ Their diagnostic text is redacted by default. Full project messages require an
266
+ additional permission because they may quote source; when permitted, that text
267
+ may appear in terminal and local JSON reports. Revoking permission affects future
268
+ reports, not copies already saved. Arbitrary project diagnostic text, private
269
+ plugin rule names, source, and paths are excluded from telemetry. Supervised
270
+ processes provide cancellation and failure isolation, not a sandbox for trusted
271
+ configuration code.
272
+
273
+ The managed source-free option does not override separately authorized full project ESLint messages. When sharing a report from project ESLint mode, also set `reporting.projectEslintMessages` to `"redacted"`.
274
+
275
+ ### Performance diagnostics
276
+
277
+ Completed scan telemetry can include bounded totals by check: elapsed, worker queue and execution milliseconds, cache hits/misses/bypasses, a changed-file-count bucket, execution mode, and approved incomplete-error codes. These retain everyday local usage. They contain no repository/workspace names, file paths, source, or raw error messages. Overlapping check durations are not CPU time or an additive scan-duration breakdown. Older clients may omit these details. Existing opt-out settings apply.
@@ -37,3 +37,69 @@ node_modules or executes project React code. Baseline and target snapshots are
37
37
  calibrated independently, so a React upgrade is analyzed with each side's own
38
38
  declared dependency state. Rules of Hooks, missing list keys, and DOM accessibility
39
39
  rules do not depend on the React version setting.
40
+
41
+ ## Static JSX accessibility checks
42
+
43
+ `reactAccessibility` applies static JSX accessibility checks; it cannot certify
44
+ an accessible application. Test keyboard behavior, focus management, contrast,
45
+ and assistive technology against the rendered interface as well.
46
+
47
+ Teach the managed jsx-a11y engine about a design system with inert settings:
48
+
49
+ ```json
50
+ {
51
+ "schemaVersion": 1,
52
+ "checks": {
53
+ "reactAccessibility": {
54
+ "settings": {
55
+ "components": { "Photo": "img", "Button": "button" },
56
+ "attributes": { "for": ["htmlFor", "for"] },
57
+ "polymorphicPropName": "as",
58
+ "polymorphicAllowList": ["Box"]
59
+ }
60
+ }
61
+ }
62
+ }
63
+ ```
64
+
65
+ Here `<Photo src="logo.png" />` receives the image's missing-alt check, while
66
+ `<Photo src="logo.png" alt="Logo" />` passes that check. `<Box as="img" />`
67
+ also receives image semantics. `attributes` maps a DOM attribute to an array of
68
+ JSX property names supported by jsx-a11y; the example permits `for` as well as
69
+ `htmlFor` for label association. A polymorphic allow list limits `as` handling to
70
+ named components; omitting it applies the configured property wherever the
71
+ plugin supports polymorphism. Dynamic rendered element names may be unknown to
72
+ static analysis.
73
+
74
+ These four fields are optional and default to no custom mappings. Use ordered
75
+ `overrides` to scope settings to workspace or file globs. Later settings replace
76
+ the corresponding field: a later `components` map replaces the earlier map,
77
+ while unrelated fields are retained. Configure mappings to match what components
78
+ actually render; Zedbee does not inspect their implementation to verify the map.
79
+ Mappings do not execute project code or load project plugins. The managed
80
+ focusable-separator correction also applies when the element uses a mapped
81
+ custom component.
82
+
83
+ ### State updates across async effect helpers
84
+
85
+ Managed React correctness includes Swarm's versioned correction to
86
+ `react-hooks/set-state-in-effect`. The check distinguishes an immediate state
87
+ update from one that can run only after an `await` suspends execution. For
88
+ locally analyzable helpers, calling the helper with `.then()` or from an
89
+ immediately invoked async wrapper preserves that distinction.
90
+
91
+ An `async` function starts running immediately. A state update before its first
92
+ `await` can therefore still be reported when the function is called from an
93
+ effect, including through a wrapper. Updating state after a request settles
94
+ is allowed by this rule. Error handlers need the same distinction: a function
95
+ that throws before returning a promise can reach its caller's catch immediately;
96
+ a rejected promise is observed after suspension.
97
+
98
+ The correction follows known local calls and the compiler's supported aliases
99
+ and control flow. It does not provide whole-program analysis of arbitrary
100
+ imports, dynamic dispatch, or custom thenables. Existing rule options,
101
+ configured severity, and ref-derived exceptions still apply. Other React
102
+ checks continue to run.
103
+
104
+ Project ESLint mode uses the project's installed Hooks plugin and its native
105
+ behavior. Swarm's managed correction does not modify that installation.
package/docs/reporting.md CHANGED
@@ -112,3 +112,20 @@ Explicit output is complete even when automatic terminal presentation is constra
112
112
  SARIF follows the configured source-excerpt policy. Redirected SARIF omits ordinary source excerpts by default; use `--include-source` to opt in, `--no-source` to suppress them, or configure `reporting.sourceExcerpts`. Secret findings remain redacted in every format. Index-mode SARIF uses the exact staged Git-index snapshot; base-mode SARIF uses committed `HEAD`. Neither observes later working-tree edits.
113
113
 
114
114
  SARIF columns use UTF-16 code units, declared by `run.columnKind: "utf16CodeUnits"`. Diagnostic locations retain their original ranges. Permitted source excerpts appear in `result.properties["zedbee/sourceExcerpt"]` with `line`, `text`, `redacted: false`, and `truncated`; the existing `sourceExcerptTruncated` property also records truncation. Excerpt text is a sanitized display line: tabs expand to spaces, unsafe characters are replaced, and long lines may be truncated. It is therefore not emitted as a SARIF `region.snippet` or `contextRegion`. Redacted and omitted excerpts expose no source text.
115
+
116
+ Experimental project ESLint adds optional `eslintAnalysis` metadata to its lint
117
+ check result: `version`, `checkedFiles`, `ignoredFiles`, `excludedFiles`, `baseline` (`compared` or
118
+ `new-coverage`), and `messages` (`redacted` or `full`). Both snapshot sides use the
119
+ reported target-installed toolchain. Zero checked files means skipped coverage,
120
+ not a successful lint run. A requested full-message policy without its separate
121
+ local permission remains `redacted` in the actual result.
122
+
123
+ ### Diagnostic message detail
124
+
125
+ Managed diagnostics default to contextual messages so module, member and function descriptions can explain the finding. Use `zedbee scan --diagnostic-messages source-free` to request source-free explanations. Set `reporting.diagnosticMessages` in repository configuration for the default. The command-line choice overrides that default.
126
+
127
+ JSON and terminal output use the same reviewed message. A finding's optional `messageRedaction` metadata explains withheld detail. This affects presentation; severity, attribution, stable finding IDs and fix selection use the underlying observation. Source excerpts have their own control. Project ESLint's full-message permission is separate.
128
+
129
+ A `project-delta` finding means a diagnostic is new in a validated comparison; it is not an exact causal trace. If required installation inputs are unavailable, Swarm reports an incomplete check with setup guidance rather than claiming the commit introduced a source error. A required incomplete check prevents a misleading pass. Other completed checks still report their results.
130
+
131
+ The managed source-free option does not override separately authorized full project ESLint messages. When sharing a report from project ESLint mode, also set `reporting.projectEslintMessages` to `"redacted"`.
package/docs/support.md CHANGED
@@ -163,3 +163,26 @@ every changed and skipped file, stage intended results, and rescan.
163
163
  - an offline OSV database;
164
164
  - legacy binary `bun.lockb` vulnerability parsing;
165
165
  - automatic staging, committing, or mutation of the Git index.
166
+
167
+ ## Check the version actually used by a hook
168
+
169
+ A dependency declaration, lockfile resolution, installed package, and executable selected by a hook can disagree. Inspect all four before diagnosing a version-specific problem. For a hook that invokes `node ./web/node_modules/zedbee/dist/cli.js`, run these from the repository root:
170
+
171
+ ```sh
172
+ node ./web/node_modules/zedbee/dist/cli.js --version
173
+ node -p "require('./web/node_modules/zedbee/package.json').version"
174
+ ```
175
+
176
+ Compare those results with the dependency in `web/package.json` and the owning lockfile. Use the repository's package manager and workspace installation instructions to synchronize the installation. If the manifest and lockfile disagree, update the lockfile deliberately; a frozen or clean install alone will not reconcile conflicting declarations. Recheck the exact hook executable and repeat the scan afterward. Swarm does not install or upgrade dependencies during a scan.
177
+
178
+ ## Staging and deletion-only commits
179
+
180
+ A commit scan inspects the Git index. “Commit allowed” describes that selected content; it does not confirm that every intended file was staged. A failed earlier `git add` is not recorded in the index. Stop the calling workflow when staging fails, for example:
181
+
182
+ ```sh
183
+ git add <paths> && git commit
184
+ ```
185
+
186
+ Review `git diff --cached --stat` and the scan's staged-change counts. Unstaged and untracked files are not part of the scan. Deleting documentation may require no configured checks; the result reports skipped work rather than successful execution. Deleting source can still require compiler or project checks, including checks for broken imports. Partial staging is supported.
187
+
188
+ For synthetic credential fixtures, see [the narrow Secretlint annotation](checks.md#synthetic-credentials-in-fixtures).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zedbee",
3
- "version": "0.1.0-beta.15",
3
+ "version": "0.1.0-beta.16",
4
4
  "description": "Diff-aware pre-commit scanning for JavaScript and TypeScript",
5
5
  "type": "module",
6
6
  "bin": {
@@ -63,6 +63,8 @@
63
63
  "node": "^22.17.0 || >=24.2.0"
64
64
  },
65
65
  "scripts": {
66
+ "hooks:generate": "node scripts/generate-managed-react-hooks.mjs --write",
67
+ "hooks:check": "node scripts/generate-managed-react-hooks.mjs --check",
66
68
  "plugin:check": "node scripts/prepare-plugin.mjs --check",
67
69
  "plugin:generate": "node scripts/prepare-plugin.mjs --write",
68
70
  "plugin:pack": "node scripts/prepare-plugin.mjs --pack",
@@ -114,6 +116,8 @@
114
116
  ],
115
117
  "dependencies": {
116
118
  "@ast-grep/napi": "0.45.1",
119
+ "@babel/core": "7.29.7",
120
+ "@babel/parser": "7.29.8",
117
121
  "@emnapi/core": "1.11.3",
118
122
  "@emnapi/runtime": "1.11.3",
119
123
  "@eslint/js": "9.39.5",
@@ -134,6 +138,7 @@
134
138
  "fdir": "6.5.0",
135
139
  "formatly": "0.3.0",
136
140
  "get-tsconfig": "4.14.3",
141
+ "hermes-parser": "0.25.1",
137
142
  "husky": "9.1.7",
138
143
  "ignore": "7.0.11",
139
144
  "ink": "7.1.1",
@@ -157,7 +162,8 @@
157
162
  "typescript-eslint": "8.72.0",
158
163
  "unbash": "4.0.10",
159
164
  "yaml": "2.9.1",
160
- "zod": "4.6.7"
165
+ "zod": "4.6.7",
166
+ "zod-validation-error": "4.0.2"
161
167
  },
162
168
  "devDependencies": {
163
169
  "@types/node": "26.6.2",
@@ -110,3 +110,5 @@ without a new corrective approach, or further fixes would exceed scope. Report
110
110
  what changed, relevant test results, final snapshot and scan outcome, remaining
111
111
  findings, and incomplete or unverified coverage. Commit, push, or publish only
112
112
  when the user or repository instructions authorize those actions.
113
+
114
+ A scan reviews only the selected index or committed comparison. Stop if staging fails; use `git add <paths> && git commit` rather than continuing after a failed command. Read the selected-change counts and completed/skipped/incomplete execution counts. An allowed deletion-only scan may have no applicable checks; unstaged files have not been validated. For confirmed synthetic credentials, use a rule-specific Secretlint next-line annotation with a reason; see the package's `docs/checks.md`. Verify the installed CLI used by the hook when its version differs from a dependency declaration.
@@ -1430,6 +1430,12 @@
1430
1430
  "additionalProperties": false,
1431
1431
  "description": "Managed rule overrides for known core, TypeScript ESLint, React, Hooks, or JSX accessibility rule IDs."
1432
1432
  },
1433
+ "engine": {
1434
+ "default": "managed",
1435
+ "description": "Managed ESLint by default; project ESLint is experimental and requires separate trust.",
1436
+ "type": "string",
1437
+ "enum": ["managed", "project"]
1438
+ },
1433
1439
  "typeInformation": {
1434
1440
  "description": "Require a TypeScript project or use basic lint when project information is unavailable. Defaults to \"required\".",
1435
1441
  "default": "required",
@@ -2139,7 +2145,7 @@
2139
2145
  ]
2140
2146
  },
2141
2147
  "reactAccessibility": {
2142
- "description": "JSX accessibility validation for changed components.",
2148
+ "description": "Static JSX accessibility checks for changed components.",
2143
2149
  "anyOf": [
2144
2150
  {
2145
2151
  "type": "string",
@@ -2283,6 +2289,60 @@
2283
2289
  },
2284
2290
  "additionalProperties": false,
2285
2291
  "description": "Managed rule overrides for known core, TypeScript ESLint, React, Hooks, or JSX accessibility rule IDs."
2292
+ },
2293
+ "settings": {
2294
+ "type": "object",
2295
+ "properties": {
2296
+ "components": {
2297
+ "type": "object",
2298
+ "propertyNames": {
2299
+ "type": "string",
2300
+ "minLength": 1,
2301
+ "maxLength": 256,
2302
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
2303
+ },
2304
+ "additionalProperties": {
2305
+ "type": "string",
2306
+ "minLength": 1,
2307
+ "maxLength": 256,
2308
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
2309
+ }
2310
+ },
2311
+ "attributes": {
2312
+ "type": "object",
2313
+ "propertyNames": {
2314
+ "type": "string",
2315
+ "minLength": 1,
2316
+ "maxLength": 256,
2317
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
2318
+ },
2319
+ "additionalProperties": {
2320
+ "type": "array",
2321
+ "items": {
2322
+ "type": "string",
2323
+ "minLength": 1,
2324
+ "maxLength": 256,
2325
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
2326
+ }
2327
+ }
2328
+ },
2329
+ "polymorphicPropName": {
2330
+ "type": "string",
2331
+ "minLength": 1,
2332
+ "maxLength": 256,
2333
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
2334
+ },
2335
+ "polymorphicAllowList": {
2336
+ "type": "array",
2337
+ "items": {
2338
+ "type": "string",
2339
+ "minLength": 1,
2340
+ "maxLength": 256,
2341
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
2342
+ }
2343
+ }
2344
+ },
2345
+ "additionalProperties": false
2286
2346
  }
2287
2347
  },
2288
2348
  "additionalProperties": false
@@ -3804,6 +3864,12 @@
3804
3864
  "additionalProperties": false,
3805
3865
  "description": "Managed rule overrides for known core, TypeScript ESLint, React, Hooks, or JSX accessibility rule IDs."
3806
3866
  },
3867
+ "engine": {
3868
+ "default": "managed",
3869
+ "description": "Managed ESLint by default; project ESLint is experimental and requires separate trust.",
3870
+ "type": "string",
3871
+ "enum": ["managed", "project"]
3872
+ },
3807
3873
  "typeInformation": {
3808
3874
  "description": "Require a TypeScript project or use basic lint when project information is unavailable. Defaults to \"required\".",
3809
3875
  "default": "required",
@@ -4485,7 +4551,7 @@
4485
4551
  ]
4486
4552
  },
4487
4553
  "reactAccessibility": {
4488
- "description": "JSX accessibility validation for changed components.",
4554
+ "description": "Static JSX accessibility checks for changed components.",
4489
4555
  "anyOf": [
4490
4556
  {
4491
4557
  "type": "string",
@@ -4629,6 +4695,60 @@
4629
4695
  },
4630
4696
  "additionalProperties": false,
4631
4697
  "description": "Managed rule overrides for known core, TypeScript ESLint, React, Hooks, or JSX accessibility rule IDs."
4698
+ },
4699
+ "settings": {
4700
+ "type": "object",
4701
+ "properties": {
4702
+ "components": {
4703
+ "type": "object",
4704
+ "propertyNames": {
4705
+ "type": "string",
4706
+ "minLength": 1,
4707
+ "maxLength": 256,
4708
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
4709
+ },
4710
+ "additionalProperties": {
4711
+ "type": "string",
4712
+ "minLength": 1,
4713
+ "maxLength": 256,
4714
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
4715
+ }
4716
+ },
4717
+ "attributes": {
4718
+ "type": "object",
4719
+ "propertyNames": {
4720
+ "type": "string",
4721
+ "minLength": 1,
4722
+ "maxLength": 256,
4723
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
4724
+ },
4725
+ "additionalProperties": {
4726
+ "type": "array",
4727
+ "items": {
4728
+ "type": "string",
4729
+ "minLength": 1,
4730
+ "maxLength": 256,
4731
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
4732
+ }
4733
+ }
4734
+ },
4735
+ "polymorphicPropName": {
4736
+ "type": "string",
4737
+ "minLength": 1,
4738
+ "maxLength": 256,
4739
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
4740
+ },
4741
+ "polymorphicAllowList": {
4742
+ "type": "array",
4743
+ "items": {
4744
+ "type": "string",
4745
+ "minLength": 1,
4746
+ "maxLength": 256,
4747
+ "pattern": "^[^\\p{Cc}\\p{Cf}\\s]+$"
4748
+ }
4749
+ }
4750
+ },
4751
+ "additionalProperties": false
4632
4752
  }
4633
4753
  },
4634
4754
  "additionalProperties": false
@@ -4831,6 +4951,18 @@
4831
4951
  "reporting": {
4832
4952
  "type": "object",
4833
4953
  "properties": {
4954
+ "diagnosticMessages": {
4955
+ "default": "contextual",
4956
+ "description": "Managed diagnostic messages include reviewed source names locally, or source-free explanations for sharing. Source excerpts and project ESLint permissions are separate.",
4957
+ "type": "string",
4958
+ "enum": ["contextual", "source-free"]
4959
+ },
4960
+ "projectEslintMessages": {
4961
+ "default": "redacted",
4962
+ "description": "Project ESLint diagnostic messages are redacted unless full messages are selected and separately permitted locally.",
4963
+ "type": "string",
4964
+ "enum": ["redacted", "full"]
4965
+ },
4834
4966
  "sourceExcerpts": {
4835
4967
  "description": "Include exact staged source excerpts never, only in Ink, or in every report format.",
4836
4968
  "default": "interactive",