projscan 4.6.0 → 4.8.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 (415) hide show
  1. package/README.md +25 -12
  2. package/dist/cli/_shared.js +12 -44
  3. package/dist/cli/_shared.js.map +1 -1
  4. package/dist/cli/changedOnly.d.ts +16 -0
  5. package/dist/cli/changedOnly.js +28 -0
  6. package/dist/cli/changedOnly.js.map +1 -0
  7. package/dist/cli/commands/start.js +5 -28
  8. package/dist/cli/commands/start.js.map +1 -1
  9. package/dist/cli/commands/startOptionsRegistration.d.ts +2 -0
  10. package/dist/cli/commands/startOptionsRegistration.js +29 -0
  11. package/dist/cli/commands/startOptionsRegistration.js.map +1 -0
  12. package/dist/cli/formatOptions.d.ts +4 -0
  13. package/dist/cli/formatOptions.js +30 -0
  14. package/dist/cli/formatOptions.js.map +1 -0
  15. package/dist/core/agentBrief.js +6 -1
  16. package/dist/core/agentBrief.js.map +1 -1
  17. package/dist/core/ast.d.ts +2 -17
  18. package/dist/core/ast.js +4 -33
  19. package/dist/core/ast.js.map +1 -1
  20. package/dist/core/astBodySignals.js +2 -3
  21. package/dist/core/astBodySignals.js.map +1 -1
  22. package/dist/core/astMembers.d.ts +1 -0
  23. package/dist/core/astMembers.js +38 -9
  24. package/dist/core/astMembers.js.map +1 -1
  25. package/dist/core/astResult.d.ts +20 -0
  26. package/dist/core/astResult.js +39 -0
  27. package/dist/core/astResult.js.map +1 -0
  28. package/dist/core/bugHunt.js +2 -142
  29. package/dist/core/bugHunt.js.map +1 -1
  30. package/dist/core/bugHuntHotspotFindings.d.ts +2 -0
  31. package/dist/core/bugHuntHotspotFindings.js +68 -0
  32. package/dist/core/bugHuntHotspotFindings.js.map +1 -0
  33. package/dist/core/bugHuntPreflightFindings.d.ts +3 -0
  34. package/dist/core/bugHuntPreflightFindings.js +115 -0
  35. package/dist/core/bugHuntPreflightFindings.js.map +1 -0
  36. package/dist/core/codeGraph.d.ts +2 -24
  37. package/dist/core/codeGraph.js +8 -119
  38. package/dist/core/codeGraph.js.map +1 -1
  39. package/dist/core/codeGraphAdapterContexts.d.ts +8 -0
  40. package/dist/core/codeGraphAdapterContexts.js +14 -0
  41. package/dist/core/codeGraphAdapterContexts.js.map +1 -0
  42. package/dist/core/codeGraphFileSelection.d.ts +7 -0
  43. package/dist/core/codeGraphFileSelection.js +19 -0
  44. package/dist/core/codeGraphFileSelection.js.map +1 -0
  45. package/dist/core/codeGraphIncremental.d.ts +17 -0
  46. package/dist/core/codeGraphIncremental.js +64 -0
  47. package/dist/core/codeGraphIncremental.js.map +1 -0
  48. package/dist/core/codeGraphQueries.d.ts +9 -0
  49. package/dist/core/codeGraphQueries.js +25 -0
  50. package/dist/core/codeGraphQueries.js.map +1 -0
  51. package/dist/core/collisionDetector.d.ts +1 -0
  52. package/dist/core/collisionDetector.js +3 -0
  53. package/dist/core/collisionDetector.js.map +1 -1
  54. package/dist/core/coordination.js +23 -5
  55. package/dist/core/coordination.js.map +1 -1
  56. package/dist/core/coordinationEvidence.d.ts +1 -0
  57. package/dist/core/coordinationEvidence.js.map +1 -1
  58. package/dist/core/dataflow.js +3 -338
  59. package/dist/core/dataflow.js.map +1 -1
  60. package/dist/core/dataflowDatabaseSinks.d.ts +8 -0
  61. package/dist/core/dataflowDatabaseSinks.js +78 -0
  62. package/dist/core/dataflowDatabaseSinks.js.map +1 -0
  63. package/dist/core/dataflowRiskAssembly.d.ts +11 -0
  64. package/dist/core/dataflowRiskAssembly.js +117 -0
  65. package/dist/core/dataflowRiskAssembly.js.map +1 -0
  66. package/dist/core/dataflowTraversal.d.ts +25 -0
  67. package/dist/core/dataflowTraversal.js +200 -0
  68. package/dist/core/dataflowTraversal.js.map +1 -0
  69. package/dist/core/fileInspectionReport.d.ts +13 -0
  70. package/dist/core/fileInspectionReport.js +49 -0
  71. package/dist/core/fileInspectionReport.js.map +1 -0
  72. package/dist/core/fileInspector.d.ts +3 -11
  73. package/dist/core/fileInspector.js +2 -46
  74. package/dist/core/fileInspector.js.map +1 -1
  75. package/dist/core/fixSuggest.d.ts +1 -9
  76. package/dist/core/fixSuggest.js +2 -58
  77. package/dist/core/fixSuggest.js.map +1 -1
  78. package/dist/core/fixSuggestDependencyNames.d.ts +1 -0
  79. package/dist/core/fixSuggestDependencyNames.js +9 -0
  80. package/dist/core/fixSuggestDependencyNames.js.map +1 -0
  81. package/dist/core/fixSuggestPreview.d.ts +10 -0
  82. package/dist/core/fixSuggestPreview.js +87 -0
  83. package/dist/core/fixSuggestPreview.js.map +1 -0
  84. package/dist/core/frameworkExpressSources.js +6 -31
  85. package/dist/core/frameworkExpressSources.js.map +1 -1
  86. package/dist/core/frameworkFastifySources.js +5 -22
  87. package/dist/core/frameworkFastifySources.js.map +1 -1
  88. package/dist/core/frameworkHonoSources.js +12 -24
  89. package/dist/core/frameworkHonoSources.js.map +1 -1
  90. package/dist/core/frameworkKoaSources.js +5 -24
  91. package/dist/core/frameworkKoaSources.js.map +1 -1
  92. package/dist/core/frameworkNextRouteSources.d.ts +6 -1
  93. package/dist/core/frameworkNextRouteSources.js +31 -1
  94. package/dist/core/frameworkNextRouteSources.js.map +1 -1
  95. package/dist/core/frameworkRemixSources.d.ts +2 -0
  96. package/dist/core/frameworkRemixSources.js +63 -0
  97. package/dist/core/frameworkRemixSources.js.map +1 -0
  98. package/dist/core/frameworkSourceContext.d.ts +15 -0
  99. package/dist/core/frameworkSourceContext.js +2 -0
  100. package/dist/core/frameworkSourceContext.js.map +1 -0
  101. package/dist/core/frameworkSourceMatching.d.ts +6 -0
  102. package/dist/core/frameworkSourceMatching.js +29 -0
  103. package/dist/core/frameworkSourceMatching.js.map +1 -0
  104. package/dist/core/frameworkSourceResolvers.d.ts +2 -0
  105. package/dist/core/frameworkSourceResolvers.js +45 -0
  106. package/dist/core/frameworkSourceResolvers.js.map +1 -0
  107. package/dist/core/frameworkSources.d.ts +3 -3
  108. package/dist/core/frameworkSources.js +17 -15
  109. package/dist/core/frameworkSources.js.map +1 -1
  110. package/dist/core/frameworkSvelteKitSources.d.ts +2 -0
  111. package/dist/core/frameworkSvelteKitSources.js +118 -0
  112. package/dist/core/frameworkSvelteKitSources.js.map +1 -0
  113. package/dist/core/intentRouter.d.ts +4 -14
  114. package/dist/core/intentRouter.js +2 -33
  115. package/dist/core/intentRouter.js.map +1 -1
  116. package/dist/core/intentRouterCatalog.js +49 -0
  117. package/dist/core/intentRouterCatalog.js.map +1 -1
  118. package/dist/core/intentRouterKeywordToolGuards.js +5 -0
  119. package/dist/core/intentRouterKeywordToolGuards.js.map +1 -1
  120. package/dist/core/intentRouterKeywordWeights.js +36 -0
  121. package/dist/core/intentRouterKeywordWeights.js.map +1 -1
  122. package/dist/core/intentRouterReleaseSignals.js +104 -39
  123. package/dist/core/intentRouterReleaseSignals.js.map +1 -1
  124. package/dist/core/intentRouterResolution.d.ts +3 -0
  125. package/dist/core/intentRouterResolution.js +11 -0
  126. package/dist/core/intentRouterResolution.js.map +1 -0
  127. package/dist/core/intentRouterResult.d.ts +16 -0
  128. package/dist/core/intentRouterResult.js +34 -0
  129. package/dist/core/intentRouterResult.js.map +1 -0
  130. package/dist/core/intentRouterWorkSignals.js +18 -0
  131. package/dist/core/intentRouterWorkSignals.js.map +1 -1
  132. package/dist/core/languages/pythonLockfiles.d.ts +4 -0
  133. package/dist/core/languages/pythonLockfiles.js +6 -2
  134. package/dist/core/languages/pythonLockfiles.js.map +1 -1
  135. package/dist/core/languages/pythonManifests.js +11 -24
  136. package/dist/core/languages/pythonManifests.js.map +1 -1
  137. package/dist/core/languages/pythonPep508.js +1 -1
  138. package/dist/core/languages/pythonPep508.js.map +1 -1
  139. package/dist/core/languages/pythonProjectEvidence.js +4 -4
  140. package/dist/core/languages/pythonProjectEvidence.js.map +1 -1
  141. package/dist/core/languages/pythonPyproject.js +1 -1
  142. package/dist/core/languages/pythonPyproject.js.map +1 -1
  143. package/dist/core/languages/pythonPyprojectEvidence.d.ts +7 -0
  144. package/dist/core/languages/pythonPyprojectEvidence.js +23 -0
  145. package/dist/core/languages/pythonPyprojectEvidence.js.map +1 -0
  146. package/dist/core/languages/pythonRequirements.d.ts +2 -0
  147. package/dist/core/languages/pythonRequirements.js +215 -24
  148. package/dist/core/languages/pythonRequirements.js.map +1 -1
  149. package/dist/core/pluginAnalyzerLoading.d.ts +3 -0
  150. package/dist/core/pluginAnalyzerLoading.js +55 -0
  151. package/dist/core/pluginAnalyzerLoading.js.map +1 -0
  152. package/dist/core/pluginAnalyzerRunning.d.ts +10 -0
  153. package/dist/core/pluginAnalyzerRunning.js +32 -0
  154. package/dist/core/pluginAnalyzerRunning.js.map +1 -0
  155. package/dist/core/pluginIssueValidation.d.ts +2 -0
  156. package/dist/core/pluginIssueValidation.js +22 -0
  157. package/dist/core/pluginIssueValidation.js.map +1 -0
  158. package/dist/core/pluginManifestDiscovery.d.ts +25 -0
  159. package/dist/core/pluginManifestDiscovery.js +80 -0
  160. package/dist/core/pluginManifestDiscovery.js.map +1 -0
  161. package/dist/core/pluginManifestValidation.d.ts +41 -0
  162. package/dist/core/pluginManifestValidation.js +179 -0
  163. package/dist/core/pluginManifestValidation.js.map +1 -0
  164. package/dist/core/pluginModuleLoading.d.ts +8 -0
  165. package/dist/core/pluginModuleLoading.js +91 -0
  166. package/dist/core/pluginModuleLoading.js.map +1 -0
  167. package/dist/core/pluginReporterLoading.d.ts +41 -0
  168. package/dist/core/pluginReporterLoading.js +105 -0
  169. package/dist/core/pluginReporterLoading.js.map +1 -0
  170. package/dist/core/pluginRuntimeTypes.d.ts +20 -0
  171. package/dist/core/pluginRuntimeTypes.js +2 -0
  172. package/dist/core/pluginRuntimeTypes.js.map +1 -0
  173. package/dist/core/plugins.d.ts +11 -126
  174. package/dist/core/plugins.js +13 -478
  175. package/dist/core/plugins.js.map +1 -1
  176. package/dist/core/preflight.d.ts +1 -2
  177. package/dist/core/preflight.js +4 -91
  178. package/dist/core/preflight.js.map +1 -1
  179. package/dist/core/preflightEvidence.js +11 -0
  180. package/dist/core/preflightEvidence.js.map +1 -1
  181. package/dist/core/preflightInputs.d.ts +1 -0
  182. package/dist/core/preflightInputs.js.map +1 -1
  183. package/dist/core/preflightReasons.d.ts +21 -0
  184. package/dist/core/preflightReasons.js +28 -0
  185. package/dist/core/preflightReasons.js.map +1 -0
  186. package/dist/core/preflightReport.d.ts +9 -0
  187. package/dist/core/preflightReport.js +67 -0
  188. package/dist/core/preflightReport.js.map +1 -0
  189. package/dist/core/regressionPlan.d.ts +2 -1
  190. package/dist/core/regressionPlan.js +7 -1
  191. package/dist/core/regressionPlan.js.map +1 -1
  192. package/dist/core/releaseEvidence.js +6 -120
  193. package/dist/core/releaseEvidence.js.map +1 -1
  194. package/dist/core/releaseEvidenceArtifacts.d.ts +3 -0
  195. package/dist/core/releaseEvidenceArtifacts.js +65 -0
  196. package/dist/core/releaseEvidenceArtifacts.js.map +1 -0
  197. package/dist/core/releaseEvidenceVerdict.d.ts +6 -0
  198. package/dist/core/releaseEvidenceVerdict.js +54 -0
  199. package/dist/core/releaseEvidenceVerdict.js.map +1 -0
  200. package/dist/core/reportPathRedaction.d.ts +4 -0
  201. package/dist/core/reportPathRedaction.js +64 -0
  202. package/dist/core/reportPathRedaction.js.map +1 -0
  203. package/dist/core/reportScope.js +2 -163
  204. package/dist/core/reportScope.js.map +1 -1
  205. package/dist/core/reportScopeFiltering.d.ts +9 -0
  206. package/dist/core/reportScopeFiltering.js +102 -0
  207. package/dist/core/reportScopeFiltering.js.map +1 -0
  208. package/dist/core/review.js +2 -47
  209. package/dist/core/review.js.map +1 -1
  210. package/dist/core/reviewChangedReport.d.ts +13 -0
  211. package/dist/core/reviewChangedReport.js +38 -0
  212. package/dist/core/reviewChangedReport.js.map +1 -0
  213. package/dist/core/reviewComputation.d.ts +9 -0
  214. package/dist/core/reviewComputation.js +14 -0
  215. package/dist/core/reviewComputation.js.map +1 -0
  216. package/dist/core/reviewContractChanges.js +22 -8
  217. package/dist/core/reviewContractChanges.js.map +1 -1
  218. package/dist/core/reviewDataflow.js +18 -0
  219. package/dist/core/reviewDataflow.js.map +1 -1
  220. package/dist/core/roadmapCatalog.js +7 -203
  221. package/dist/core/roadmapCatalog.js.map +1 -1
  222. package/dist/core/roadmapCatalogPost44.d.ts +2 -0
  223. package/dist/core/roadmapCatalogPost44.js +205 -0
  224. package/dist/core/roadmapCatalogPost44.js.map +1 -0
  225. package/dist/core/roadmapCatalogTypes.d.ts +6 -0
  226. package/dist/core/roadmapCatalogTypes.js +2 -0
  227. package/dist/core/roadmapCatalogTypes.js.map +1 -0
  228. package/dist/core/searchIndex.d.ts +2 -14
  229. package/dist/core/searchIndex.js +4 -227
  230. package/dist/core/searchIndex.js.map +1 -1
  231. package/dist/core/searchIndexFiles.d.ts +1 -0
  232. package/dist/core/searchIndexFiles.js +26 -0
  233. package/dist/core/searchIndexFiles.js.map +1 -0
  234. package/dist/core/searchIndexText.d.ts +15 -0
  235. package/dist/core/searchIndexText.js +204 -0
  236. package/dist/core/searchIndexText.js.map +1 -0
  237. package/dist/core/start.js +5 -46
  238. package/dist/core/start.js.map +1 -1
  239. package/dist/core/startClaimRouteCriteria.d.ts +7 -0
  240. package/dist/core/startClaimRouteCriteria.js +16 -0
  241. package/dist/core/startClaimRouteCriteria.js.map +1 -0
  242. package/dist/core/startCouplingRouteCriteria.d.ts +2 -0
  243. package/dist/core/startCouplingRouteCriteria.js +13 -0
  244. package/dist/core/startCouplingRouteCriteria.js.map +1 -0
  245. package/dist/core/startDependencyRouteCriteria.d.ts +2 -0
  246. package/dist/core/startDependencyRouteCriteria.js +43 -0
  247. package/dist/core/startDependencyRouteCriteria.js.map +1 -0
  248. package/dist/core/startEvidence.d.ts +1 -1
  249. package/dist/core/startEvidence.js +16 -1
  250. package/dist/core/startEvidence.js.map +1 -1
  251. package/dist/core/startFileRouteCriteria.d.ts +2 -0
  252. package/dist/core/startFileRouteCriteria.js +56 -0
  253. package/dist/core/startFileRouteCriteria.js.map +1 -0
  254. package/dist/core/startFixedRouteCriteria.d.ts +1 -0
  255. package/dist/core/startFixedRouteCriteria.js +90 -0
  256. package/dist/core/startFixedRouteCriteria.js.map +1 -0
  257. package/dist/core/startImpactRouteCriteria.d.ts +7 -0
  258. package/dist/core/startImpactRouteCriteria.js +14 -0
  259. package/dist/core/startImpactRouteCriteria.js.map +1 -0
  260. package/dist/core/startInputs.d.ts +1 -0
  261. package/dist/core/startInputs.js +4 -1
  262. package/dist/core/startInputs.js.map +1 -1
  263. package/dist/core/startIntentTargets.d.ts +1 -0
  264. package/dist/core/startIntentTargets.js +28 -0
  265. package/dist/core/startIntentTargets.js.map +1 -1
  266. package/dist/core/startMissionControl.js +8 -2
  267. package/dist/core/startMissionControl.js.map +1 -1
  268. package/dist/core/startMissionPolicy.js +12 -0
  269. package/dist/core/startMissionPolicy.js.map +1 -1
  270. package/dist/core/startMode.d.ts +1 -0
  271. package/dist/core/startMode.js +10 -2
  272. package/dist/core/startMode.js.map +1 -1
  273. package/dist/core/startPreflightRouteCriteria.d.ts +11 -0
  274. package/dist/core/startPreflightRouteCriteria.js +29 -0
  275. package/dist/core/startPreflightRouteCriteria.js.map +1 -0
  276. package/dist/core/startProductPlanningRouteCriteria.d.ts +8 -0
  277. package/dist/core/startProductPlanningRouteCriteria.js +29 -0
  278. package/dist/core/startProductPlanningRouteCriteria.js.map +1 -0
  279. package/dist/core/startRegressionRouteCriteria.d.ts +3 -0
  280. package/dist/core/startRegressionRouteCriteria.js +62 -0
  281. package/dist/core/startRegressionRouteCriteria.js.map +1 -0
  282. package/dist/core/startReportBuilder.d.ts +1 -0
  283. package/dist/core/startReportBuilder.js +1 -0
  284. package/dist/core/startReportBuilder.js.map +1 -1
  285. package/dist/core/startReportContext.d.ts +23 -0
  286. package/dist/core/startReportContext.js +51 -0
  287. package/dist/core/startReportContext.js.map +1 -0
  288. package/dist/core/startRoadmapPreview.d.ts +2 -0
  289. package/dist/core/startRoadmapPreview.js +31 -0
  290. package/dist/core/startRoadmapPreview.js.map +1 -0
  291. package/dist/core/startRouteActions.js +39 -1
  292. package/dist/core/startRouteActions.js.map +1 -1
  293. package/dist/core/startSuccessCriteria.d.ts +2 -3
  294. package/dist/core/startSuccessCriteria.js +15 -419
  295. package/dist/core/startSuccessCriteria.js.map +1 -1
  296. package/dist/core/startUnderstandRouteCriteria.d.ts +3 -0
  297. package/dist/core/startUnderstandRouteCriteria.js +97 -0
  298. package/dist/core/startUnderstandRouteCriteria.js.map +1 -0
  299. package/dist/core/taint.d.ts +2 -67
  300. package/dist/core/taint.js +41 -164
  301. package/dist/core/taint.js.map +1 -1
  302. package/dist/core/taintIndex.d.ts +20 -0
  303. package/dist/core/taintIndex.js +81 -0
  304. package/dist/core/taintIndex.js.map +1 -0
  305. package/dist/core/taintTraversal.d.ts +8 -0
  306. package/dist/core/taintTraversal.js +113 -0
  307. package/dist/core/taintTraversal.js.map +1 -0
  308. package/dist/core/taintTypes.d.ts +67 -0
  309. package/dist/core/taintTypes.js +2 -0
  310. package/dist/core/taintTypes.js.map +1 -0
  311. package/dist/core/telemetry.d.ts +9 -89
  312. package/dist/core/telemetry.js +35 -387
  313. package/dist/core/telemetry.js.map +1 -1
  314. package/dist/core/telemetryConfig.d.ts +58 -0
  315. package/dist/core/telemetryConfig.js +171 -0
  316. package/dist/core/telemetryConfig.js.map +1 -0
  317. package/dist/core/telemetryEvents.d.ts +57 -0
  318. package/dist/core/telemetryEvents.js +143 -0
  319. package/dist/core/telemetryEvents.js.map +1 -0
  320. package/dist/core/telemetryFlushing.d.ts +10 -0
  321. package/dist/core/telemetryFlushing.js +42 -0
  322. package/dist/core/telemetryFlushing.js.map +1 -0
  323. package/dist/core/telemetryRecording.d.ts +26 -0
  324. package/dist/core/telemetryRecording.js +38 -0
  325. package/dist/core/telemetryRecording.js.map +1 -0
  326. package/dist/core/telemetrySender.d.ts +9 -0
  327. package/dist/core/telemetrySender.js +22 -0
  328. package/dist/core/telemetrySender.js.map +1 -0
  329. package/dist/core/upgradePreviewPython.js +1 -1
  330. package/dist/core/upgradePreviewPython.js.map +1 -1
  331. package/dist/index.d.ts +4 -60
  332. package/dist/index.js +4 -60
  333. package/dist/index.js.map +1 -1
  334. package/dist/mcp/server.js +2 -13
  335. package/dist/mcp/server.js.map +1 -1
  336. package/dist/mcp/serverMessageHandling.d.ts +3 -0
  337. package/dist/mcp/serverMessageHandling.js +16 -0
  338. package/dist/mcp/serverMessageHandling.js.map +1 -0
  339. package/dist/mcp/toolDefinitions.d.ts +3 -0
  340. package/dist/mcp/toolDefinitions.js +15 -0
  341. package/dist/mcp/toolDefinitions.js.map +1 -0
  342. package/dist/mcp/tools.js +2 -13
  343. package/dist/mcp/tools.js.map +1 -1
  344. package/dist/projscan-sbom.cdx.json +6 -6
  345. package/dist/publicAgent.d.ts +22 -0
  346. package/dist/publicAgent.js +23 -0
  347. package/dist/publicAgent.js.map +1 -0
  348. package/dist/publicCore.d.ts +29 -0
  349. package/dist/publicCore.js +30 -0
  350. package/dist/publicCore.js.map +1 -0
  351. package/dist/publicLanguages.d.ts +1 -0
  352. package/dist/publicLanguages.js +2 -0
  353. package/dist/publicLanguages.js.map +1 -0
  354. package/dist/publicMcp.d.ts +8 -0
  355. package/dist/publicMcp.js +9 -0
  356. package/dist/publicMcp.js.map +1 -0
  357. package/dist/reporters/consoleFixReporter.d.ts +3 -0
  358. package/dist/reporters/consoleFixReporter.js +41 -0
  359. package/dist/reporters/consoleFixReporter.js.map +1 -0
  360. package/dist/reporters/consoleReporter.d.ts +1 -3
  361. package/dist/reporters/consoleReporter.js +1 -42
  362. package/dist/reporters/consoleReporter.js.map +1 -1
  363. package/dist/reporters/htmlAnalysisReporter.d.ts +3 -0
  364. package/dist/reporters/htmlAnalysisReporter.js +98 -0
  365. package/dist/reporters/htmlAnalysisReporter.js.map +1 -0
  366. package/dist/reporters/htmlCoverageReporter.d.ts +2 -0
  367. package/dist/reporters/htmlCoverageReporter.js +52 -0
  368. package/dist/reporters/htmlCoverageReporter.js.map +1 -0
  369. package/dist/reporters/htmlImpactReporter.d.ts +2 -0
  370. package/dist/reporters/htmlImpactReporter.js +41 -0
  371. package/dist/reporters/htmlImpactReporter.js.map +1 -0
  372. package/dist/reporters/htmlPrDiffReporter.d.ts +2 -0
  373. package/dist/reporters/htmlPrDiffReporter.js +84 -0
  374. package/dist/reporters/htmlPrDiffReporter.js.map +1 -0
  375. package/dist/reporters/htmlReporter.d.ts +20 -9
  376. package/dist/reporters/htmlReporter.js +7 -365
  377. package/dist/reporters/htmlReporter.js.map +1 -1
  378. package/dist/reporters/htmlReviewReporter.d.ts +2 -0
  379. package/dist/reporters/htmlReviewReporter.js +94 -0
  380. package/dist/reporters/htmlReviewReporter.js.map +1 -0
  381. package/dist/reporters/htmlShared.d.ts +7 -0
  382. package/dist/reporters/htmlShared.js +106 -0
  383. package/dist/reporters/htmlShared.js.map +1 -0
  384. package/dist/tool-manifest.json +2 -2
  385. package/dist/types/preflight.d.ts +19 -0
  386. package/dist/types/start.d.ts +7 -437
  387. package/dist/types/startCommon.d.ts +79 -0
  388. package/dist/types/startCommon.js +2 -0
  389. package/dist/types/startCommon.js.map +1 -0
  390. package/dist/types/startExecution.d.ts +44 -0
  391. package/dist/types/startExecution.js +2 -0
  392. package/dist/types/startExecution.js.map +1 -0
  393. package/dist/types/startMissionControl.d.ts +91 -0
  394. package/dist/types/startMissionControl.js +2 -0
  395. package/dist/types/startMissionControl.js.map +1 -0
  396. package/dist/types/startMissionProof.d.ts +91 -0
  397. package/dist/types/startMissionProof.js +2 -0
  398. package/dist/types/startMissionProof.js.map +1 -0
  399. package/dist/types/startMissionResume.d.ts +100 -0
  400. package/dist/types/startMissionResume.js +2 -0
  401. package/dist/types/startMissionResume.js.map +1 -0
  402. package/dist/types/startMissionReview.d.ts +45 -0
  403. package/dist/types/startMissionReview.js +2 -0
  404. package/dist/types/startMissionReview.js.map +1 -0
  405. package/dist/types/startMissionTooling.d.ts +16 -0
  406. package/dist/types/startMissionTooling.js +2 -0
  407. package/dist/types/startMissionTooling.js.map +1 -0
  408. package/dist/utils/changedFiles.d.ts +1 -0
  409. package/dist/utils/changedFiles.js +7 -4
  410. package/dist/utils/changedFiles.js.map +1 -1
  411. package/docs/GUIDE.md +9 -7
  412. package/docs/ROADMAP.md +18 -7
  413. package/docs/examples/adoption-workflows.md +12 -1
  414. package/docs/examples/swarm-coordination.md +11 -2
  415. package/package.json +1 -1
package/docs/ROADMAP.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ProjScan Roadmap
2
2
 
3
- Last reviewed 2026-06-16.
3
+ Last reviewed 2026-06-17.
4
4
 
5
5
  ---
6
6
 
@@ -45,7 +45,7 @@ Four plays, in order:
45
45
  3. **Become the operator, not the advisor** — stop suggesting and start acting (cross-repo, apply, security gate). ✅ Shipped in the 1.6 arc.
46
46
  4. **Expand the moat** — depth where it matters (CFG / dataflow on hot paths, more languages, sub-file embeddings, cost analytics, live PR review, plugin extensibility). Not everywhere; we're not trying to be Cody. ✅ The 1.7 → 2.0 arc turns this into a platform contract.
47
47
  5. **Coordinate the swarm** — collision detection, claims/leases, merge-risk preflight, intent routing, one-call coordination, and live coordinate watch shipped across the 3.6 through 3.7 arc, with the 4.0 tool-surface consolidation now complete. The next work is evidence: prove which commands agents reach for in real multi-worktree sessions, then deepen only the paths that prevent integration failures.
48
- 6. **Make agent proof release-ready** — 4.1 through 4.5 turned Mission Control into a goal → mission → proof → review harness and packaged the post-4.4 implementation train: current planning surfaces, adoption examples, precise framework dataflow, scoped/redacted evidence exports, Python upgrade previews, and hotspot maintainability cleanup.
48
+ 6. **Make agent proof release-ready** — 4.1 through 4.6 turned Mission Control into a goal → mission → proof → review harness and packaged the post-4.4 implementation train: current planning surfaces, adoption examples, precise framework dataflow, scoped/redacted evidence exports, Python upgrade previews, coordination evidence, public graph types, and hotspot maintainability cleanup.
49
49
 
50
50
  We are _not_ trying to be:
51
51
 
@@ -56,21 +56,32 @@ We are _not_ trying to be:
56
56
 
57
57
  ## Now / Next / Later
58
58
 
59
- ### Now — Post-4.5 Validation
59
+ ### Now — Post-4.6 Validation
60
60
 
61
- 4.5.0 "Review-Ready Intelligence Train" packages the post-4.4 implementation train. The next work is validation and selective hardening from real use, not another broad feature push.
61
+ 4.6.0 "Agent Coordination And Routing Hardening" packages the latest post-4.4 implementation train. The next work is validation and selective hardening from real use, not another broad feature push or another release push.
62
62
 
63
63
  The active validation lines are:
64
64
 
65
65
  - **Swarm coordination evidence.** Validate how real agents use `collisions`, `claim`, `merge-risk`, `coordinate`, and `coordinate --watch`; deepen only the coordination paths that prevent integration failures.
66
66
  - **Evidence export adoption.** Prove scoped/redacted report controls work for partner, security, and release-review handoffs without leaking unnecessary repo structure.
67
67
  - **Python upgrade coverage.** Extend lockfile support only after Poetry and pinned-requirement evidence prove useful in real repos.
68
- - **Framework dataflow precision.** Add more framework patterns only when each has a narrow request source, sink, and false-positive fixture.
68
+ - **Framework dataflow precision.** Add more framework patterns only when each has a narrow request source, sink, and false-positive fixture; current validation includes Remix route data and SvelteKit `RequestEvent` coverage.
69
69
  - **Hotspot maintainability.** Continue extracting and covering high-churn start/review/type surfaces when they show concrete review or defect risk.
70
70
 
71
71
  Strictly **local-first** throughout: same-repo / same-machine evidence, no daemon, no cloud, no hidden network calls, no new telemetry, and no secret-value reads.
72
72
 
73
- Success signals: teams copy the adoption examples into real reviews, scoped/redacted artifacts are accepted by reviewers, Python upgrade previews identify useful local evidence, dataflow additions stay quiet on lookalikes, and release bug-hunts remain free of concrete defects.
73
+ Success signals: teams copy the adoption examples into real reviews, scoped/redacted artifacts are accepted by reviewers, Python upgrade previews identify useful local evidence, coordination evidence explains multi-agent decisions, dataflow additions stay quiet on lookalikes, and release bug-hunts remain free of concrete defects.
74
+
75
+ ### Recently Completed — 4.6.0 (2026)
76
+
77
+ **4.6.0 "Agent Coordination And Routing Hardening"** shipped the next hardening pass after the review-ready train:
78
+
79
+ - Framework-gated request-source coverage now includes Next `nextUrl`, Hono URL reads, Express URL reads, Koa URL reads, and Fastify URL reads.
80
+ - Agent hints include concrete local coordination evidence for multi-agent collision, handoff, and coordination decisions.
81
+ - Public consumers can import code graph result types.
82
+ - Mission Control start, intent router, review, CLI, and MCP test surfaces were split into focused suites while preserving public behavior.
83
+ - Intent routing, code graph parsing/indexing, release evidence, upgrade preview, CLI reporting, and MCP transport helpers moved into smaller modules.
84
+ - MCP watch IDs, request notifications, no-release continuation routing, agent harness proof routing, Python upgrade evidence, scoped dependency redaction, path-safe file links, unresolved review refs, and inspector purpose detection were tightened.
74
85
 
75
86
  ### Recently Completed — 4.5.0 (2026)
76
87
 
@@ -79,7 +90,7 @@ Success signals: teams copy the adoption examples into real reviews, scoped/reda
79
90
  - Roadmap and release-train planning now default to the current post-4.4 product lines instead of stale shipped work.
80
91
  - Adoption examples cover agent orchestration, package ownership, custom policy plugins, swarm coordination, and scoped evidence exports.
81
92
  - `analyze`, `doctor`, and `ci` can scope and redact shareable evidence with direct flags or named `reportPolicies` presets.
82
- - `projscan upgrade` and MCP `projscan_upgrade` support offline Python previews from manifests, Poetry/Pipfile/uv/PDM/Conda lockfiles, pinned requirements/constraints, and Python importers.
93
+ - `projscan upgrade` and MCP `projscan_upgrade` support offline Python previews from manifests, Poetry/Pipfile/uv/PDM/Conda lockfiles, root and recognized nested requirements/constraints, and Python importers.
83
94
  - Dataflow detects narrow Fastify and Koa request-source patterns, including Fastify raw URL/header and Koa IP evidence, while suppressing lookalike helpers and Koa response-body writes.
84
95
  - Start next-action assembly and taint function identity were tightened during release readiness cleanup.
85
96
 
@@ -50,7 +50,9 @@ projscan agent-brief --intent "handoff package ownership for fastapi" --format j
50
50
  For Node packages, `upgrade` reads local `package.json`, `node_modules`, local
51
51
  CHANGELOG files, and importer evidence. For Python packages, it reads
52
52
  `pyproject.toml`, `setup.cfg`, `setup.py`, root `requirements*.txt` files,
53
- Poetry/Pipfile/uv/PDM/Conda lockfiles, and pinned root requirements/constraints, then
53
+ common `requirements/*.txt` / `requirements/*.in` manifests,
54
+ Poetry/Pipfile/uv/PDM/Conda lockfiles, and pinned root or recognized nested
55
+ requirements/constraints, then
54
56
  returns declared scope, current-version source, drift, and Python importers.
55
57
 
56
58
  Decision loop:
@@ -93,6 +95,15 @@ Decision loop:
93
95
  Use this when a team wants to share a health or CI artifact without exposing
94
96
  repo layout or sensitive paths.
95
97
 
98
+ Start from Mission Control when the reviewer asks in plain language:
99
+
100
+ ```bash
101
+ projscan start --intent "share redacted evidence for src/api with a partner" --format json
102
+ ```
103
+
104
+ The routed start output returns the three artifact commands below as ready
105
+ actions, using the requested scope when one is present in the intent.
106
+
96
107
  ```bash
97
108
  projscan analyze --report-scope src/api --redact-paths --format json > reports/api-analysis.json
98
109
  projscan doctor --report-scope src/api --redact-paths --format markdown > reports/api-health.md
@@ -56,11 +56,20 @@ with the active command path, current worktree state, local-only source signals,
56
56
  the validation workflow above, and a reminder that session memory is separate
57
57
  from current Git/worktree evidence. The default `coordinate` console view prints
58
58
  the same session-boundary reminder inside its `Evidence` section.
59
+ Read `currentWorktree.changedFileCount` as the branch/base delta used for
60
+ collision detection, including local commits and any dirty files. Read
61
+ `currentWorktree.uncommittedChangedFileCount` as the current dirty worktree
62
+ count from `git status`. A clean worktree can therefore show changed files
63
+ against `origin/main` while still reporting `0` uncommitted files.
59
64
  When multiple worktrees are present, `agent-brief` also carries a
60
65
  `context.coordinationHints` entry even for a clear swarm, so the next agent knows
61
66
  to validate locally with `projscan coordinate --format json`,
62
67
  `projscan coordinate --watch --interval 5 --format json`, and
63
68
  `projscan agent-brief --format json` before continuing parallel edits.
69
+ `preflight` also carries this proof path under `evidence.coordination`: it keeps
70
+ the compact readiness counts and adds the local-only command path, current
71
+ worktree summary, validation workflow, and session-boundary reminder used by
72
+ `coordinate`.
64
73
 
65
74
  For MCP clients that support long-running notifications, use the watch tool:
66
75
 
@@ -116,5 +125,5 @@ These are the next hardening targets for real swarm usage:
116
125
  - transitive collision recall: prove dependent-file conflicts are caught, not
117
126
  only same-file conflicts
118
127
  - live watch adoption: prove agents notice and act on coordination changes
119
- - preflight and agent-brief integration: prove the same coordination facts show
120
- up where agents already look before editing or handing off
128
+ - preflight and handoff adoption: prove agents consistently cite the shared
129
+ coordination proof path before editing, committing, and handing off
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "projscan",
3
3
  "mcpName": "io.github.abhiyoheswaran1/projscan",
4
- "version": "4.6.0",
4
+ "version": "4.8.0",
5
5
  "description": "Agent-first code intelligence. MCP server (2025-03-26) with 11 AST adapters covering 12 named languages: JavaScript, TypeScript, Python, Go, Java, Ruby, Rust, PHP, C#, Kotlin, Swift, and C++; repo understanding maps (projscan_understand), stable v3 semantic graph (projscan_semantic_graph), dataflow risk engine with bridge-helper detection (projscan_dataflow), code graph, file + per-function AST cyclomatic complexity, per-function fan-in + fan-out, coupling + cycle detection, structural PR diff with HTML reporter, coverage report with HTML reporter, intent-grounded one-call PR review (projscan_review with optional `intent` arg, new taint flows, contract changes, and newDataflowRisks) and long-running PR-watch mode with structured per-bucket deltas (projscan_review_watch), first-60-seconds workflow orientation (projscan_start), agent workplans (projscan_workplan), bug-hunt queues (projscan_bug_hunt), product-line planning (projscan_release_train), evidence packs (projscan_evidence_pack), regression planning (projscan_regression_plan), agent briefs (projscan_agent_brief), quality scorecards (projscan_quality_scorecard), and preflight with supply-chain IOC evidence, rule-driven fix suggestions + mechanical apply layer with rollback (projscan_apply_fix, projscan_fix_suggest, projscan_explain_issue), source-to-sink taint analysis (projscan_taint) with truncation reporting, transitive blast-radius analysis with cross-repo mode (projscan_impact for files and symbols), cross-repo workspace registration + intelligence (projscan_workspace_graph), per-function semantic search chunks (sub-file embeddings), per-rule confidence + severity drift + cost-summary analytics with live streaming (projscan_cost_summary), stable local analyzer + reporter plugin API (projscan_plugin, CLI --reporter, opt-in via PROJSCAN_PLUGINS_PREVIEW=1), monorepo workspace awareness with cross-package import policy + per-package dependencies / outdated / audit, BM25 + optional semantic search, cursor pagination, progress notifications, context-budgeted output, and a stable-surface CI guard. CLI on the side.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",