@ttsc/unplugin 0.31.0 → 0.31.2

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 (291) hide show
  1. package/lib/core/bridge/projectRecordMoved.js +1 -1
  2. package/lib/core/bridge/projectRecordMoved.js.map +1 -1
  3. package/lib/core/bridge/projectRecordMoved.mjs +1 -1
  4. package/lib/core/bridge/projectRecordMoved.mjs.map +1 -1
  5. package/lib/core/bun/bun.d.cts +3 -2
  6. package/lib/core/bun/bun.d.mts +3 -2
  7. package/lib/core/bun/bun.d.ts +3 -2
  8. package/lib/core/bun/bun.js +8 -4
  9. package/lib/core/bun/bun.js.map +1 -1
  10. package/lib/core/bun/bun.mjs +8 -4
  11. package/lib/core/bun/bun.mjs.map +1 -1
  12. package/lib/core/observer/createInputObserver.js +7 -6
  13. package/lib/core/observer/createInputObserver.js.map +1 -1
  14. package/lib/core/observer/createInputObserver.mjs +7 -6
  15. package/lib/core/observer/createInputObserver.mjs.map +1 -1
  16. package/lib/core/observer/openIsolatedRecursiveWatch.d.cts +11 -12
  17. package/lib/core/observer/openIsolatedRecursiveWatch.d.mts +11 -12
  18. package/lib/core/observer/openIsolatedRecursiveWatch.d.ts +11 -12
  19. package/lib/core/observer/openIsolatedRecursiveWatch.js +11 -12
  20. package/lib/core/observer/openIsolatedRecursiveWatch.js.map +1 -1
  21. package/lib/core/observer/openIsolatedRecursiveWatch.mjs +11 -12
  22. package/lib/core/observer/openIsolatedRecursiveWatch.mjs.map +1 -1
  23. package/lib/core/transform/cache/TtscCachedProjectTransform.d.cts +12 -3
  24. package/lib/core/transform/cache/TtscCachedProjectTransform.d.mts +12 -3
  25. package/lib/core/transform/cache/TtscCachedProjectTransform.d.ts +12 -3
  26. package/lib/core/transform/cache/selectCachedGenerationAction.d.cts +2 -0
  27. package/lib/core/transform/cache/selectCachedGenerationAction.d.mts +2 -0
  28. package/lib/core/transform/cache/selectCachedGenerationAction.d.ts +2 -0
  29. package/lib/core/transform/cache/selectCachedGenerationAction.js +1 -1
  30. package/lib/core/transform/cache/selectCachedGenerationAction.js.map +1 -1
  31. package/lib/core/transform/cache/selectCachedGenerationAction.mjs +1 -1
  32. package/lib/core/transform/cache/selectCachedGenerationAction.mjs.map +1 -1
  33. package/lib/core/transform/deliverCachedTransform.d.cts +36 -0
  34. package/lib/core/transform/deliverCachedTransform.d.mts +36 -0
  35. package/lib/core/transform/deliverCachedTransform.d.ts +36 -0
  36. package/lib/core/transform/deliverCachedTransform.js +73 -0
  37. package/lib/core/transform/deliverCachedTransform.js.map +1 -0
  38. package/lib/core/transform/deliverCachedTransform.mjs +71 -0
  39. package/lib/core/transform/deliverCachedTransform.mjs.map +1 -0
  40. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.cts +2 -2
  41. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.mts +2 -2
  42. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.ts +2 -2
  43. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.js +6 -2
  44. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.js.map +1 -1
  45. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.mjs +6 -2
  46. package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.mjs.map +1 -1
  47. package/lib/core/transform/envelope/selectExternalInputPaths.d.cts +3 -5
  48. package/lib/core/transform/envelope/selectExternalInputPaths.d.mts +3 -5
  49. package/lib/core/transform/envelope/selectExternalInputPaths.d.ts +3 -5
  50. package/lib/core/transform/envelope/selectExternalInputPaths.js +8 -7
  51. package/lib/core/transform/envelope/selectExternalInputPaths.js.map +1 -1
  52. package/lib/core/transform/envelope/selectExternalInputPaths.mjs +8 -7
  53. package/lib/core/transform/envelope/selectExternalInputPaths.mjs.map +1 -1
  54. package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.cts +15 -12
  55. package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.mts +15 -12
  56. package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.ts +15 -12
  57. package/lib/core/transform/generation/captureFailedGenerationInputStates.js +1 -1
  58. package/lib/core/transform/generation/captureFailedGenerationInputStates.js.map +1 -1
  59. package/lib/core/transform/generation/captureFailedGenerationInputStates.mjs +1 -1
  60. package/lib/core/transform/generation/captureFailedGenerationInputStates.mjs.map +1 -1
  61. package/lib/core/transform/generation/captureTransformGeneration.js +1 -1
  62. package/lib/core/transform/generation/captureTransformGeneration.js.map +1 -1
  63. package/lib/core/transform/generation/captureTransformGeneration.mjs +1 -1
  64. package/lib/core/transform/generation/captureTransformGeneration.mjs.map +1 -1
  65. package/lib/core/transform/generation/failedGenerationEnvironmentChanged.js +2 -2
  66. package/lib/core/transform/generation/failedGenerationEnvironmentChanged.js.map +1 -1
  67. package/lib/core/transform/generation/failedGenerationEnvironmentChanged.mjs +2 -2
  68. package/lib/core/transform/generation/failedGenerationEnvironmentChanged.mjs.map +1 -1
  69. package/lib/core/transform/generation/selectTransformAttemptDisposition.d.cts +3 -1
  70. package/lib/core/transform/generation/selectTransformAttemptDisposition.d.mts +3 -1
  71. package/lib/core/transform/generation/selectTransformAttemptDisposition.d.ts +3 -1
  72. package/lib/core/transform/generation/selectTransformAttemptDisposition.js +3 -1
  73. package/lib/core/transform/generation/selectTransformAttemptDisposition.js.map +1 -1
  74. package/lib/core/transform/generation/selectTransformAttemptDisposition.mjs +3 -1
  75. package/lib/core/transform/generation/selectTransformAttemptDisposition.mjs.map +1 -1
  76. package/lib/core/transform/generation/transformProject.d.cts +9 -7
  77. package/lib/core/transform/generation/transformProject.d.mts +9 -7
  78. package/lib/core/transform/generation/transformProject.d.ts +9 -7
  79. package/lib/core/transform/generation/transformProject.js +14 -9
  80. package/lib/core/transform/generation/transformProject.js.map +1 -1
  81. package/lib/core/transform/generation/transformProject.mjs +14 -9
  82. package/lib/core/transform/generation/transformProject.mjs.map +1 -1
  83. package/lib/core/transform/inputs/pluginSourceFilesDigest.d.cts +9 -3
  84. package/lib/core/transform/inputs/pluginSourceFilesDigest.d.mts +9 -3
  85. package/lib/core/transform/inputs/pluginSourceFilesDigest.d.ts +9 -3
  86. package/lib/core/transform/inputs/pluginSourceFilesDigest.js +10 -4
  87. package/lib/core/transform/inputs/pluginSourceFilesDigest.js.map +1 -1
  88. package/lib/core/transform/inputs/pluginSourceFilesDigest.mjs +11 -5
  89. package/lib/core/transform/inputs/pluginSourceFilesDigest.mjs.map +1 -1
  90. package/lib/core/transform/inputs/pluginSourceHolds.d.cts +4 -2
  91. package/lib/core/transform/inputs/pluginSourceHolds.d.mts +4 -2
  92. package/lib/core/transform/inputs/pluginSourceHolds.d.ts +4 -2
  93. package/lib/core/transform/inputs/pluginSourceHolds.js +9 -4
  94. package/lib/core/transform/inputs/pluginSourceHolds.js.map +1 -1
  95. package/lib/core/transform/inputs/pluginSourceHolds.mjs +9 -4
  96. package/lib/core/transform/inputs/pluginSourceHolds.mjs.map +1 -1
  97. package/lib/core/transform/inputs/pluginSourceState.d.cts +3 -1
  98. package/lib/core/transform/inputs/pluginSourceState.d.mts +3 -1
  99. package/lib/core/transform/inputs/pluginSourceState.d.ts +3 -1
  100. package/lib/core/transform/inputs/pluginSourceState.js +8 -3
  101. package/lib/core/transform/inputs/pluginSourceState.js.map +1 -1
  102. package/lib/core/transform/inputs/pluginSourceState.mjs +8 -3
  103. package/lib/core/transform/inputs/pluginSourceState.mjs.map +1 -1
  104. package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.cts +18 -5
  105. package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.mts +18 -5
  106. package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.ts +18 -5
  107. package/lib/core/transform/inputs/preparePluginBuildEnvironments.js +53 -12
  108. package/lib/core/transform/inputs/preparePluginBuildEnvironments.js.map +1 -1
  109. package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs +53 -12
  110. package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs.map +1 -1
  111. package/lib/core/transform/tracker/broker/WatchBroker.d.cts +14 -4
  112. package/lib/core/transform/tracker/broker/WatchBroker.d.mts +14 -4
  113. package/lib/core/transform/tracker/broker/WatchBroker.d.ts +14 -4
  114. package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.cts +63 -0
  115. package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.mts +63 -0
  116. package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.ts +63 -0
  117. package/lib/core/transform/tracker/broker/WatchBrokerTransport.js +89 -0
  118. package/lib/core/transform/tracker/broker/WatchBrokerTransport.js.map +1 -0
  119. package/lib/core/transform/tracker/broker/WatchBrokerTransport.mjs +89 -0
  120. package/lib/core/transform/tracker/broker/WatchBrokerTransport.mjs.map +1 -0
  121. package/lib/core/transform/tracker/broker/drainWatchBroker.d.cts +8 -8
  122. package/lib/core/transform/tracker/broker/drainWatchBroker.d.mts +8 -8
  123. package/lib/core/transform/tracker/broker/drainWatchBroker.d.ts +8 -8
  124. package/lib/core/transform/tracker/broker/drainWatchBroker.js +12 -13
  125. package/lib/core/transform/tracker/broker/drainWatchBroker.js.map +1 -1
  126. package/lib/core/transform/tracker/broker/drainWatchBroker.mjs +12 -13
  127. package/lib/core/transform/tracker/broker/drainWatchBroker.mjs.map +1 -1
  128. package/lib/core/transform/tracker/broker/getWatchBroker.d.cts +18 -15
  129. package/lib/core/transform/tracker/broker/getWatchBroker.d.mts +18 -15
  130. package/lib/core/transform/tracker/broker/getWatchBroker.d.ts +18 -15
  131. package/lib/core/transform/tracker/broker/getWatchBroker.js +87 -17
  132. package/lib/core/transform/tracker/broker/getWatchBroker.js.map +1 -1
  133. package/lib/core/transform/tracker/broker/getWatchBroker.mjs +87 -17
  134. package/lib/core/transform/tracker/broker/getWatchBroker.mjs.map +1 -1
  135. package/lib/core/transform/tracker/broker/openBrokeredWatch.d.cts +5 -5
  136. package/lib/core/transform/tracker/broker/openBrokeredWatch.d.mts +5 -5
  137. package/lib/core/transform/tracker/broker/openBrokeredWatch.d.ts +5 -5
  138. package/lib/core/transform/tracker/broker/openBrokeredWatch.js +11 -14
  139. package/lib/core/transform/tracker/broker/openBrokeredWatch.js.map +1 -1
  140. package/lib/core/transform/tracker/broker/openBrokeredWatch.mjs +11 -14
  141. package/lib/core/transform/tracker/broker/openBrokeredWatch.mjs.map +1 -1
  142. package/lib/core/transform/tracker/broker/usesWatchBroker.d.cts +7 -7
  143. package/lib/core/transform/tracker/broker/usesWatchBroker.d.mts +7 -7
  144. package/lib/core/transform/tracker/broker/usesWatchBroker.d.ts +7 -7
  145. package/lib/core/transform/tracker/broker/usesWatchBroker.js +7 -7
  146. package/lib/core/transform/tracker/broker/usesWatchBroker.mjs +7 -7
  147. package/lib/core/transform/tracker/broker/watchBrokerSource.d.cts +9 -10
  148. package/lib/core/transform/tracker/broker/watchBrokerSource.d.mts +9 -10
  149. package/lib/core/transform/tracker/broker/watchBrokerSource.d.ts +9 -10
  150. package/lib/core/transform/tracker/broker/watchBrokerSource.js +10 -11
  151. package/lib/core/transform/tracker/broker/watchBrokerSource.js.map +1 -1
  152. package/lib/core/transform/tracker/broker/watchBrokerSource.mjs +10 -11
  153. package/lib/core/transform/tracker/broker/watchBrokerSource.mjs.map +1 -1
  154. package/lib/core/transform/transformTtsc.d.cts +7 -4
  155. package/lib/core/transform/transformTtsc.d.mts +7 -4
  156. package/lib/core/transform/transformTtsc.d.ts +7 -4
  157. package/lib/core/transform/transformTtsc.js +38 -93
  158. package/lib/core/transform/transformTtsc.js.map +1 -1
  159. package/lib/core/transform/transformTtsc.mjs +38 -93
  160. package/lib/core/transform/transformTtsc.mjs.map +1 -1
  161. package/lib/core/transform/validation/TtscGenerationProof.d.cts +105 -0
  162. package/lib/core/transform/validation/TtscGenerationProof.d.mts +105 -0
  163. package/lib/core/transform/validation/TtscGenerationProof.d.ts +105 -0
  164. package/lib/core/transform/validation/TtscGenerationProof.js +149 -0
  165. package/lib/core/transform/validation/TtscGenerationProof.js.map +1 -0
  166. package/lib/core/transform/validation/TtscGenerationProof.mjs +149 -0
  167. package/lib/core/transform/validation/TtscGenerationProof.mjs.map +1 -0
  168. package/lib/core/transform/validation/captureUniversalHostInputValidation.js +2 -2
  169. package/lib/core/transform/validation/captureUniversalHostInputValidation.js.map +1 -1
  170. package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs +2 -2
  171. package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs.map +1 -1
  172. package/lib/core/transform/validation/matchesCachedSource.d.cts +18 -15
  173. package/lib/core/transform/validation/matchesCachedSource.d.mts +18 -15
  174. package/lib/core/transform/validation/matchesCachedSource.d.ts +18 -15
  175. package/lib/core/transform/validation/matchesCachedSource.js +28 -22
  176. package/lib/core/transform/validation/matchesCachedSource.js.map +1 -1
  177. package/lib/core/transform/validation/matchesCachedSource.mjs +28 -22
  178. package/lib/core/transform/validation/matchesCachedSource.mjs.map +1 -1
  179. package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.cts +3 -2
  180. package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.mts +3 -2
  181. package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.ts +3 -2
  182. package/lib/core/transform/validation/matchesCompleteInputSnapshot.js +4 -4
  183. package/lib/core/transform/validation/matchesCompleteInputSnapshot.js.map +1 -1
  184. package/lib/core/transform/validation/matchesCompleteInputSnapshot.mjs +4 -4
  185. package/lib/core/transform/validation/matchesCompleteInputSnapshot.mjs.map +1 -1
  186. package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.cts +2 -1
  187. package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.mts +2 -1
  188. package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.ts +2 -1
  189. package/lib/core/transform/validation/matchesNarrowPersistentInputs.js +2 -2
  190. package/lib/core/transform/validation/matchesNarrowPersistentInputs.js.map +1 -1
  191. package/lib/core/transform/validation/matchesNarrowPersistentInputs.mjs +2 -2
  192. package/lib/core/transform/validation/matchesNarrowPersistentInputs.mjs.map +1 -1
  193. package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.cts +3 -2
  194. package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.mts +3 -2
  195. package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.ts +3 -2
  196. package/lib/core/transform/validation/matchesUniversalHostInputTrees.js +7 -5
  197. package/lib/core/transform/validation/matchesUniversalHostInputTrees.js.map +1 -1
  198. package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs +7 -5
  199. package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs.map +1 -1
  200. package/lib/core/transform/validation/matchesUniversalHostInputs.d.cts +3 -2
  201. package/lib/core/transform/validation/matchesUniversalHostInputs.d.mts +3 -2
  202. package/lib/core/transform/validation/matchesUniversalHostInputs.d.ts +3 -2
  203. package/lib/core/transform/validation/matchesUniversalHostInputs.js +5 -5
  204. package/lib/core/transform/validation/matchesUniversalHostInputs.js.map +1 -1
  205. package/lib/core/transform/validation/matchesUniversalHostInputs.mjs +5 -5
  206. package/lib/core/transform/validation/matchesUniversalHostInputs.mjs.map +1 -1
  207. package/lib/core/transform/validation/nativeInputPredicatesHold.d.cts +5 -4
  208. package/lib/core/transform/validation/nativeInputPredicatesHold.d.mts +5 -4
  209. package/lib/core/transform/validation/nativeInputPredicatesHold.d.ts +5 -4
  210. package/lib/core/transform/validation/nativeInputPredicatesHold.js +31 -12
  211. package/lib/core/transform/validation/nativeInputPredicatesHold.js.map +1 -1
  212. package/lib/core/transform/validation/nativeInputPredicatesHold.mjs +31 -12
  213. package/lib/core/transform/validation/nativeInputPredicatesHold.mjs.map +1 -1
  214. package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.cts +2 -1
  215. package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.mts +2 -1
  216. package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.ts +2 -1
  217. package/lib/core/transform/validation/notificationsProveProgramUnchanged.js +2 -2
  218. package/lib/core/transform/validation/notificationsProveProgramUnchanged.js.map +1 -1
  219. package/lib/core/transform/validation/notificationsProveProgramUnchanged.mjs +2 -2
  220. package/lib/core/transform/validation/notificationsProveProgramUnchanged.mjs.map +1 -1
  221. package/lib/core/transform/watch/captureWatchInputBaseline.d.cts +4 -0
  222. package/lib/core/transform/watch/captureWatchInputBaseline.d.mts +4 -0
  223. package/lib/core/transform/watch/captureWatchInputBaseline.d.ts +4 -0
  224. package/lib/core/transform/watch/captureWatchInputBaseline.js +3 -0
  225. package/lib/core/transform/watch/captureWatchInputBaseline.js.map +1 -1
  226. package/lib/core/transform/watch/captureWatchInputBaseline.mjs +3 -0
  227. package/lib/core/transform/watch/captureWatchInputBaseline.mjs.map +1 -1
  228. package/lib/core/transform/watch/captureWatchInputBaselines.d.cts +2 -0
  229. package/lib/core/transform/watch/captureWatchInputBaselines.d.mts +2 -0
  230. package/lib/core/transform/watch/captureWatchInputBaselines.d.ts +2 -0
  231. package/lib/core/transform/watch/captureWatchInputBaselines.js +3 -1
  232. package/lib/core/transform/watch/captureWatchInputBaselines.js.map +1 -1
  233. package/lib/core/transform/watch/captureWatchInputBaselines.mjs +3 -1
  234. package/lib/core/transform/watch/captureWatchInputBaselines.mjs.map +1 -1
  235. package/lib/core/transform/watch/notifyWatchInputs.js +3 -0
  236. package/lib/core/transform/watch/notifyWatchInputs.js.map +1 -1
  237. package/lib/core/transform/watch/notifyWatchInputs.mjs +3 -0
  238. package/lib/core/transform/watch/notifyWatchInputs.mjs.map +1 -1
  239. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.d.cts +5 -2
  240. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.d.mts +5 -2
  241. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.d.ts +5 -2
  242. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.js +6 -3
  243. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.js.map +1 -1
  244. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.mjs +6 -3
  245. package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.mjs.map +1 -1
  246. package/lib/core/turbopack/turbopack.js +2 -1
  247. package/lib/core/turbopack/turbopack.js.map +1 -1
  248. package/lib/core/turbopack/turbopack.mjs +2 -1
  249. package/lib/core/turbopack/turbopack.mjs.map +1 -1
  250. package/package.json +3 -3
  251. package/src/core/bridge/projectRecordMoved.ts +3 -1
  252. package/src/core/bun/bun.ts +8 -4
  253. package/src/core/observer/createInputObserver.ts +8 -5
  254. package/src/core/observer/openIsolatedRecursiveWatch.ts +11 -12
  255. package/src/core/transform/cache/TtscCachedProjectTransform.ts +13 -3
  256. package/src/core/transform/cache/selectCachedGenerationAction.ts +9 -1
  257. package/src/core/transform/deliverCachedTransform.ts +97 -0
  258. package/src/core/transform/envelope/selectDeclaredProjectInputKeys.ts +5 -2
  259. package/src/core/transform/envelope/selectExternalInputPaths.ts +7 -7
  260. package/src/core/transform/filesystem/TtscTransformFilesystemOperations.ts +15 -12
  261. package/src/core/transform/generation/captureFailedGenerationInputStates.ts +1 -0
  262. package/src/core/transform/generation/captureTransformGeneration.ts +6 -1
  263. package/src/core/transform/generation/failedGenerationEnvironmentChanged.ts +12 -2
  264. package/src/core/transform/generation/selectTransformAttemptDisposition.ts +3 -1
  265. package/src/core/transform/generation/transformProject.ts +13 -9
  266. package/src/core/transform/inputs/pluginSourceFilesDigest.ts +11 -4
  267. package/src/core/transform/inputs/pluginSourceHolds.ts +13 -3
  268. package/src/core/transform/inputs/pluginSourceState.ts +8 -2
  269. package/src/core/transform/inputs/preparePluginBuildEnvironments.ts +64 -11
  270. package/src/core/transform/tracker/broker/WatchBroker.ts +15 -4
  271. package/src/core/transform/tracker/broker/WatchBrokerTransport.ts +82 -0
  272. package/src/core/transform/tracker/broker/drainWatchBroker.ts +12 -13
  273. package/src/core/transform/tracker/broker/getWatchBroker.ts +89 -18
  274. package/src/core/transform/tracker/broker/openBrokeredWatch.ts +11 -14
  275. package/src/core/transform/tracker/broker/usesWatchBroker.ts +7 -7
  276. package/src/core/transform/tracker/broker/watchBrokerSource.ts +10 -11
  277. package/src/core/transform/transformTtsc.ts +38 -92
  278. package/src/core/transform/validation/TtscGenerationProof.ts +201 -0
  279. package/src/core/transform/validation/captureUniversalHostInputValidation.ts +2 -1
  280. package/src/core/transform/validation/matchesCachedSource.ts +27 -21
  281. package/src/core/transform/validation/matchesCompleteInputSnapshot.ts +5 -3
  282. package/src/core/transform/validation/matchesNarrowPersistentInputs.ts +3 -1
  283. package/src/core/transform/validation/matchesUniversalHostInputTrees.ts +8 -3
  284. package/src/core/transform/validation/matchesUniversalHostInputs.ts +6 -4
  285. package/src/core/transform/validation/nativeInputPredicatesHold.ts +36 -14
  286. package/src/core/transform/validation/notificationsProveProgramUnchanged.ts +3 -1
  287. package/src/core/transform/watch/captureWatchInputBaseline.ts +4 -0
  288. package/src/core/transform/watch/captureWatchInputBaselines.ts +7 -1
  289. package/src/core/transform/watch/notifyWatchInputs.ts +3 -0
  290. package/src/core/transform/watch/watchInputEvidenceMatchesDisk.ts +12 -2
  291. package/src/core/turbopack/turbopack.ts +2 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deliverCachedTransform.mjs","sources":["../../../src/core/transform/deliverCachedTransform.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAgBA;;;;;;;;;;;;;;;;;;;;AAoBG;AACG,SAAU,sBAAsB,CAAC,KAUtC,EAAA;IACC,MAAM,EACJ,KAAK,EACL,MAAM,EACN,UAAU,EACV,GAAG,EACH,KAAK,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,GACV,GAAG,KAAK;AACT,IAAA,IAAI;AACF,QAAA,mBAAmB,CAAC,cAAc,CAChC,MAAM,EACN,KAAK,EACL,GAAG,EACH,UAAU,EACV,KAAK,EACL,KAAK,CACN;AACD,QAAA,wBAAwB,CAAC,MAAM,EAAE,KAAK,CAAC;AACvC,QAAA,IAAI,MAAM;AACV,QAAA,IAAI;YACF,MAAM,GAAG,aAAa,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE;gBACpD,IAAI;gBACJ,WAAW,EAAE,MAAM,CAAC,WAAW;gBAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,QAAQ,EAAE,MAAM,CAAC,QAAQ;AAC1B,aAAA,CAAC;QACJ;QAAE,OAAO,KAAK,EAAE;AACd,YAAA,IAAI,EAAE,KAAK,YAAY,6BAA6B,CAAC,EAAE;gBACrD,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC;AAC5D,gBAAA,MAAM,KAAK;YACb;AACA,YAAA,0BAA0B,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC;YAChD,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC;AACjD,YAAA,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC;AACpC,YAAA,OAAO,SAAS;QAClB;QACA,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,CAAC;AACjD,QAAA,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC;AACpC,QAAA,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC;QAC3C,OAAO,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IACpD;IAAE,OAAO,KAAK,EAAE;AACd,QAAA,IAAI,MAAM,CAAC,iBAAiB,KAAK,IAAI;AACnC,YAAA,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC;AACzC,QAAA,MAAM,KAAK;IACb;AACF;;;;"}
@@ -21,8 +21,8 @@ import type { FilesystemPathIdentityContext } from "ttsc/path-identity";
21
21
  * Visits each reported occurrence in graph endpoints/globals/configs,
22
22
  * candidates, host inputs and dependency arrays. Native resolve, scratch
23
23
  * checks, project-key identity/ancestor/case observations and text hashing
24
- * precede each own-key membership test; duplicate declarations still pay
25
- * those queries, with native answers shared by the supplied context. Entry
24
+ * precede each own-key membership test after lexical deduplication; repeated
25
+ * declarations pay resolution but no repeated native classification. Entry
26
26
  * arrays from Object.entries/Object.values follow producer populations,
27
27
  * while the returned set cannot exceed keys present in the project snapshot.
28
28
  * @evidenceExclude contracts/performance.md#reuse-equivalent-work
@@ -21,8 +21,8 @@ import type { FilesystemPathIdentityContext } from "ttsc/path-identity";
21
21
  * Visits each reported occurrence in graph endpoints/globals/configs,
22
22
  * candidates, host inputs and dependency arrays. Native resolve, scratch
23
23
  * checks, project-key identity/ancestor/case observations and text hashing
24
- * precede each own-key membership test; duplicate declarations still pay
25
- * those queries, with native answers shared by the supplied context. Entry
24
+ * precede each own-key membership test after lexical deduplication; repeated
25
+ * declarations pay resolution but no repeated native classification. Entry
26
26
  * arrays from Object.entries/Object.values follow producer populations,
27
27
  * while the returned set cannot exceed keys present in the project snapshot.
28
28
  * @evidenceExclude contracts/performance.md#reuse-equivalent-work
@@ -21,8 +21,8 @@ import type { FilesystemPathIdentityContext } from "ttsc/path-identity";
21
21
  * Visits each reported occurrence in graph endpoints/globals/configs,
22
22
  * candidates, host inputs and dependency arrays. Native resolve, scratch
23
23
  * checks, project-key identity/ancestor/case observations and text hashing
24
- * precede each own-key membership test; duplicate declarations still pay
25
- * those queries, with native answers shared by the supplied context. Entry
24
+ * precede each own-key membership test after lexical deduplication; repeated
25
+ * declarations pay resolution but no repeated native classification. Entry
26
26
  * arrays from Object.entries/Object.values follow producer populations,
27
27
  * while the returned set cannot exceed keys present in the project snapshot.
28
28
  * @evidenceExclude contracts/performance.md#reuse-equivalent-work
@@ -25,8 +25,8 @@ var isTransformScratchInput = require('../tsconfig/isTransformScratchInput.js');
25
25
  * Visits each reported occurrence in graph endpoints/globals/configs,
26
26
  * candidates, host inputs and dependency arrays. Native resolve, scratch
27
27
  * checks, project-key identity/ancestor/case observations and text hashing
28
- * precede each own-key membership test; duplicate declarations still pay
29
- * those queries, with native answers shared by the supplied context. Entry
28
+ * precede each own-key membership test after lexical deduplication; repeated
29
+ * declarations pay resolution but no repeated native classification. Entry
30
30
  * arrays from Object.entries/Object.values follow producer populations,
31
31
  * while the returned set cannot exceed keys present in the project snapshot.
32
32
  * @evidenceExclude contracts/performance.md#reuse-equivalent-work
@@ -42,10 +42,14 @@ function selectDeclaredProjectInputKeys(props) {
42
42
  }
43
43
  const graph = props.result.graph;
44
44
  const keys = new Set();
45
+ const seen = new Set();
45
46
  const add = (entry) => {
46
47
  if (typeof entry !== "string" || entry.length === 0)
47
48
  return;
48
49
  const absolute = path.resolve(props.projectRoot, entry);
50
+ if (seen.has(absolute))
51
+ return;
52
+ seen.add(absolute);
49
53
  if (isTransformScratchInput.isTransformScratchInput(absolute, props.scratchDirectory))
50
54
  return;
51
55
  const key = toProjectKey.toProjectKey(props.projectRoot, absolute, props.identities);
@@ -1 +1 @@
1
- {"version":3,"file":"selectDeclaredProjectInputKeys.js","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":["isTransformScratchInput","toProjectKey"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAIA,+CAAuB,CA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C;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
1
+ {"version":3,"file":"selectDeclaredProjectInputKeys.js","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":["isTransformScratchInput","toProjectKey"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YA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,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,gBAAgB;YAAE,GAAG,CAAC,KAAK,CAAC;AACxD,IAAA,KAAK,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC,EAAE;QACzE,GAAG,CAAC,MAAM,CAAC;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
@@ -23,8 +23,8 @@ import { isTransformScratchInput } from '../tsconfig/isTransformScratchInput.mjs
23
23
  * Visits each reported occurrence in graph endpoints/globals/configs,
24
24
  * candidates, host inputs and dependency arrays. Native resolve, scratch
25
25
  * checks, project-key identity/ancestor/case observations and text hashing
26
- * precede each own-key membership test; duplicate declarations still pay
27
- * those queries, with native answers shared by the supplied context. Entry
26
+ * precede each own-key membership test after lexical deduplication; repeated
27
+ * declarations pay resolution but no repeated native classification. Entry
28
28
  * arrays from Object.entries/Object.values follow producer populations,
29
29
  * while the returned set cannot exceed keys present in the project snapshot.
30
30
  * @evidenceExclude contracts/performance.md#reuse-equivalent-work
@@ -40,10 +40,14 @@ function selectDeclaredProjectInputKeys(props) {
40
40
  }
41
41
  const graph = props.result.graph;
42
42
  const keys = new Set();
43
+ const seen = new Set();
43
44
  const add = (entry) => {
44
45
  if (typeof entry !== "string" || entry.length === 0)
45
46
  return;
46
47
  const absolute = path.resolve(props.projectRoot, entry);
48
+ if (seen.has(absolute))
49
+ return;
50
+ seen.add(absolute);
47
51
  if (isTransformScratchInput(absolute, props.scratchDirectory))
48
52
  return;
49
53
  const key = toProjectKey(props.projectRoot, absolute, props.identities);
@@ -1 +1 @@
1
- {"version":3,"file":"selectDeclaredProjectInputKeys.mjs","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAI,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAAE;AAC/D,QAAA,MAAM,GAAG,GAAG,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;AACvE,QAAA,IAAI,MAAM,CAAC,SAAS,C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,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
1
+ {"version":3,"file":"selectDeclaredProjectInputKeys.mjs","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;YAAE;AACxB,QAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClB,QA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G,CAAC,MAAM,CAAC;AACX,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,UAAU;gBAAE,GAAG,CAAC,KAAK,CAAC;IAC3E;IACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
26
26
  * @evidence contracts/performance.md#efficient-algorithms
27
27
  * Cold graph index construction precedes separate scans of output, graph,
28
28
  * candidate, dependency and host lists, followed by every collected member's
29
- * filter pass. Duplicate occurrences still pay path/identity and candidate
30
- * observations before seen rejection; rejected walk members are not added to
31
- * seen. Native path/ancestor/case, existence and walk policy/component checks
29
+ * filter pass. Lexical deduplication precedes native identity/candidate/walk
30
+ * observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
32
31
  * add costs to list/key text. Collected members, candidate/seen sets and
33
32
  * output allocate population-sized storage; final string sorting adds output
34
33
  * comparison work.
35
34
  * @evidence contracts/performance.md#reuse-equivalent-work
36
35
  * Generation state shares completed graph parsing, while this call's native
37
36
  * identity context reuses its qualified path observations. The sets dedupe
38
- * emitted lexical names and mark candidate membership; they do not suppress
39
- * every repeated classification. Supplied filesystem, producer-derived state
37
+ * every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
40
38
  * and membership policy must represent the same stable generation view.
41
39
  * @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
42
40
  * Its collections are local to the call and released on return; only the
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
26
26
  * @evidence contracts/performance.md#efficient-algorithms
27
27
  * Cold graph index construction precedes separate scans of output, graph,
28
28
  * candidate, dependency and host lists, followed by every collected member's
29
- * filter pass. Duplicate occurrences still pay path/identity and candidate
30
- * observations before seen rejection; rejected walk members are not added to
31
- * seen. Native path/ancestor/case, existence and walk policy/component checks
29
+ * filter pass. Lexical deduplication precedes native identity/candidate/walk
30
+ * observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
32
31
  * add costs to list/key text. Collected members, candidate/seen sets and
33
32
  * output allocate population-sized storage; final string sorting adds output
34
33
  * comparison work.
35
34
  * @evidence contracts/performance.md#reuse-equivalent-work
36
35
  * Generation state shares completed graph parsing, while this call's native
37
36
  * identity context reuses its qualified path observations. The sets dedupe
38
- * emitted lexical names and mark candidate membership; they do not suppress
39
- * every repeated classification. Supplied filesystem, producer-derived state
37
+ * every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
40
38
  * and membership policy must represent the same stable generation view.
41
39
  * @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
42
40
  * Its collections are local to the call and released on return; only the
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
26
26
  * @evidence contracts/performance.md#efficient-algorithms
27
27
  * Cold graph index construction precedes separate scans of output, graph,
28
28
  * candidate, dependency and host lists, followed by every collected member's
29
- * filter pass. Duplicate occurrences still pay path/identity and candidate
30
- * observations before seen rejection; rejected walk members are not added to
31
- * seen. Native path/ancestor/case, existence and walk policy/component checks
29
+ * filter pass. Lexical deduplication precedes native identity/candidate/walk
30
+ * observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
32
31
  * add costs to list/key text. Collected members, candidate/seen sets and
33
32
  * output allocate population-sized storage; final string sorting adds output
34
33
  * comparison work.
35
34
  * @evidence contracts/performance.md#reuse-equivalent-work
36
35
  * Generation state shares completed graph parsing, while this call's native
37
36
  * identity context reuses its qualified path observations. The sets dedupe
38
- * emitted lexical names and mark candidate membership; they do not suppress
39
- * every repeated classification. Supplied filesystem, producer-derived state
37
+ * every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
40
38
  * and membership policy must represent the same stable generation view.
41
39
  * @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
42
40
  * Its collections are local to the call and released on return; only the
@@ -34,17 +34,15 @@ var envelopeGraphIndexes = require('./envelopeGraphIndexes.js');
34
34
  * @evidence contracts/performance.md#efficient-algorithms
35
35
  * Cold graph index construction precedes separate scans of output, graph,
36
36
  * candidate, dependency and host lists, followed by every collected member's
37
- * filter pass. Duplicate occurrences still pay path/identity and candidate
38
- * observations before seen rejection; rejected walk members are not added to
39
- * seen. Native path/ancestor/case, existence and walk policy/component checks
37
+ * filter pass. Lexical deduplication precedes native identity/candidate/walk
38
+ * observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
40
39
  * add costs to list/key text. Collected members, candidate/seen sets and
41
40
  * output allocate population-sized storage; final string sorting adds output
42
41
  * comparison work.
43
42
  * @evidence contracts/performance.md#reuse-equivalent-work
44
43
  * Generation state shares completed graph parsing, while this call's native
45
44
  * identity context reuses its qualified path observations. The sets dedupe
46
- * emitted lexical names and mark candidate membership; they do not suppress
47
- * every repeated classification. Supplied filesystem, producer-derived state
45
+ * every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
48
46
  * and membership policy must represent the same stable generation view.
49
47
  * @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
50
48
  * Its collections are local to the call and released on return; only the
@@ -137,6 +135,11 @@ function selectExternalInputPaths(props) {
137
135
  }
138
136
  const absolute = path.resolve(props.projectRoot, member);
139
137
  const spelling = path.resolve(absolute);
138
+ // Classify each lexical address once, including rejected walk members.
139
+ // Physical aliases remain distinct so retargeting is still observable.
140
+ if (seen.has(spelling))
141
+ continue;
142
+ seen.add(spelling);
140
143
  const identity = pathIdentityKey.pathIdentityKey(absolute, identities);
141
144
  const observation = graphIndexes.inputObservations.get(spelling);
142
145
  const missingCandidate = resolutionCandidates.has(spelling) &&
@@ -144,14 +147,12 @@ function selectExternalInputPaths(props) {
144
147
  (observation === undefined && !filesystem.exists(absolute)));
145
148
  if (identity === excluded ||
146
149
  isTransformScratchInput.isTransformScratchInput(absolute, props.scratchDirectory) ||
147
- seen.has(spelling) ||
148
150
  (!missingCandidate &&
149
151
  isProjectWalkPath.isProjectWalkPath(props.projectRoot, absolute, identities, filesystem, props.membershipPolicy))) {
150
152
  continue;
151
153
  }
152
154
  // Preserve distinct lexical aliases even when they currently select the
153
155
  // same physical file. A later retarget must validate the alias itself.
154
- seen.add(spelling);
155
156
  output.push(absolute);
156
157
  }
157
158
  output.sort();
@@ -1 +1 @@
1
- {"version":3,"file":"selectExternalInputPaths.js","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","createHostPathIdentityContext","envelopeDerivation","envelopeGraphIndexes","pathIdentityKey","isTransformScratchInput","isProjectWalkPath"],"mappings":";;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,IAAIA,2DAA6B;AACpE,IAAA,MAAM,UAAU,GAAGC,2DAA6B,CAAC,UAAU,CAAC;AAC5D,IAAA,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU;AAC9C,IAAA,MAA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,EACjB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,KAAK,CAAC,gBAAgB,CACvB,CAAC,EACJ;YACA;QACF;;;AAGA,QAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClB,QAAA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB;IACA,MAAM,CAAC,IAAI,EAAE;AACb,IAAA,OAAO,MAAM;AACf;;;;"}
1
+ {"version":3,"file":"selectExternalInputPaths.js","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","createHostPathIdentityContext","envelopeDerivation","envelopeGraphIndexes","pathIdentityKey","isTransformScratchInput","isProjectWalkPath"],"mappings":";;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,IAAIA,2DAA6B;AACpE,IAAA,MAAM,UAAU,GAAGC,2DAA6B,CAAC,UAAU,CAAC;AAC5D,IAAA,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU;AAC9C,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;IAChC,MAAM,UAAU,GAAGC,qCAAkB,CAAC;QACpC,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;AACF,IAAA,MAAM,YAAY,GAAGC,yCAAoB,CAAC,UAAU,EAAE;QACpD,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;;;;AAIF,IAAA,KAAK,MAAM,a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ance.md#efficient-algorithms
33
33
  * Cold graph index construction precedes separate scans of output, graph,
34
34
  * candidate, dependency and host lists, followed by every collected member's
35
- * filter pass. Duplicate occurrences still pay path/identity and candidate
36
- * observations before seen rejection; rejected walk members are not added to
37
- * seen. Native path/ancestor/case, existence and walk policy/component checks
35
+ * filter pass. Lexical deduplication precedes native identity/candidate/walk
36
+ * observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
38
37
  * add costs to list/key text. Collected members, candidate/seen sets and
39
38
  * output allocate population-sized storage; final string sorting adds output
40
39
  * comparison work.
41
40
  * @evidence contracts/performance.md#reuse-equivalent-work
42
41
  * Generation state shares completed graph parsing, while this call's native
43
42
  * identity context reuses its qualified path observations. The sets dedupe
44
- * emitted lexical names and mark candidate membership; they do not suppress
45
- * every repeated classification. Supplied filesystem, producer-derived state
43
+ * every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
46
44
  * and membership policy must represent the same stable generation view.
47
45
  * @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
48
46
  * Its collections are local to the call and released on return; only the
@@ -135,6 +133,11 @@ function selectExternalInputPaths(props) {
135
133
  }
136
134
  const absolute = path.resolve(props.projectRoot, member);
137
135
  const spelling = path.resolve(absolute);
136
+ // Classify each lexical address once, including rejected walk members.
137
+ // Physical aliases remain distinct so retargeting is still observable.
138
+ if (seen.has(spelling))
139
+ continue;
140
+ seen.add(spelling);
138
141
  const identity = pathIdentityKey(absolute, identities);
139
142
  const observation = graphIndexes.inputObservations.get(spelling);
140
143
  const missingCandidate = resolutionCandidates.has(spelling) &&
@@ -142,14 +145,12 @@ function selectExternalInputPaths(props) {
142
145
  (observation === undefined && !filesystem.exists(absolute)));
143
146
  if (identity === excluded ||
144
147
  isTransformScratchInput(absolute, props.scratchDirectory) ||
145
- seen.has(spelling) ||
146
148
  (!missingCandidate &&
147
149
  isProjectWalkPath(props.projectRoot, absolute, identities, filesystem, props.membershipPolicy))) {
148
150
  continue;
149
151
  }
150
152
  // Preserve distinct lexical aliases even when they currently select the
151
153
  // same physical file. A later retarget must validate the alias itself.
152
- seen.add(spelling);
153
154
  output.push(absolute);
154
155
  }
155
156
  output.sort();
@@ -1 +1 @@
1
- {"version":3,"file":"selectExternalInputPaths.mjs","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,IAAI,6BAA6B;AACpE,IAAA,MAAM,UAAU,GAAG,6BAA6B,CAAC,UAAU,CAAC;AAC5D,IAAA,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU;AAC9C,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;IAChC,MAAM,UAAU,GAAG,kBAAkB,CAAC;QACpC,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;AACF,IAAA,MAAM,YAAY,GAAG,oBAAoB,CAAC,UAAU,EAAE;QACpD,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;;;;AAIF,IAAA,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AAC9D,QAAA,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;AAC7B,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,QAAA,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OA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AM,CAAC;QACxD,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACvC,MAAM,QAAQ,GAAG,eAAe,CAAC,QAAQ,EAAE,UAAU,CAAC;QACtD,MAAM,WAAW,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAChE,QAAA,MAAM,gBAAgB,GACpB,oBAAoB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClC,aAAC,WAAW,EAAE,UAAU,KAAK,KAAK;AAChC,iBAAC,WAAW,KAAK,SAAS,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChE,IACE,QAAQ,KAAK,QAAQ;AACrB,YAAA,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;AACzD,YAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClB,aAAC,CAAC,gBAAgB;AAChB,gBAAA,iBAAiB,CACf,KAAK,CAAC,WAAW,EACjB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,KAAK,CAAC,gBAAgB,CACvB,CAAC,EACJ;YACA;QACF;;;AAGA,QAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClB,QAAA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB;IACA,MAAM,CAAC,IAAI,EAAE;AACb,IAAA,OAAO,MAAM;AACf;;;;"}
1
+ {"version":3,"file":"selectExternalInputPaths.mjs","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,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S,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChE,IACE,QAAQ,KAAK,QAAQ;AACrB,YAAA,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;AACzD,aAAC,CAAC,gBAAgB;AAChB,gBAAA,iBAAiB,CACf,KAAK,CAAC,WAAW,EACjB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,KAAK,CAAC,gBAAgB,CACvB,CAAC,EACJ;YACA;QACF;;;AAGA,QAAA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB;IACA,MAAM,CAAC,IAAI,EAAE;AACb,IAAA,OAAO,MAAM;AACf;;;;"}
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
186
186
  * Open one directory's change notification, or throw when the observed
187
187
  * filesystem cannot provide one.
188
188
  *
189
- * Left undefined, generations watch the host filesystem: in process on Linux,
190
- * and through an isolated broker process on Windows and macOS. An embedder
191
- * observing another filesystem supplies its own; a generation whose watch
192
- * cannot be opened keeps validating from recorded state instead of losing its
193
- * cache.
189
+ * Left undefined, generations watch the host filesystem through the native
190
+ * Linux helper, the native Windows completion-port helper, or the macOS
191
+ * FSEvents broker. An embedder observing another filesystem supplies its own;
192
+ * a generation whose watch cannot be opened keeps validating from recorded
193
+ * state instead of losing its cache.
194
194
  *
195
- * Supplying one replaces the broker as well, so an embedder that wraps Node's
196
- * own `fs.watch` gives up what the broker provides: on Windows, containing
197
- * the native abort Node's fs-event backend can raise when a watched temporary
198
- * tree is deleted, and on macOS, one FSEventStream per watch whose dropped
199
- * events are reported rather than lost silently.
195
+ * Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
196
+ * reintroduces Windows access-only notifications that invalidate unchanged
197
+ * inputs, and the native abort its fs-event backend can raise when a watched
198
+ * temporary tree is deleted. It also gives up explicit notification-loss
199
+ * reporting from the Linux helper and macOS's per-watch FSEventStream.
200
+ * Preserve mutation and loss reporting when implementing this capability;
201
+ * timestamps or identical current bytes cannot discard an actual A-B-A
202
+ * event.
200
203
  *
201
204
  * @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
202
205
  * @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
203
206
  * @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
204
- * @evidence contracts/common.md#meaningful-documentation The native paragraphs explain absent overrides, failed watches, broker bypass, and the Windows/macOS capability lost when wrapping fs.watch directly.
205
- * @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for backend-specific abort isolation and dropped-stream reporting rather than assuming recursive notifications are interchangeable.
207
+ * @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
208
+ * @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
206
209
  * @evidenceExclude contracts/performance.md#efficient-algorithms
207
210
  * Only the signature of watch is declared here; the cost belongs to its
208
211
  * implementation.
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
186
186
  * Open one directory's change notification, or throw when the observed
187
187
  * filesystem cannot provide one.
188
188
  *
189
- * Left undefined, generations watch the host filesystem: in process on Linux,
190
- * and through an isolated broker process on Windows and macOS. An embedder
191
- * observing another filesystem supplies its own; a generation whose watch
192
- * cannot be opened keeps validating from recorded state instead of losing its
193
- * cache.
189
+ * Left undefined, generations watch the host filesystem through the native
190
+ * Linux helper, the native Windows completion-port helper, or the macOS
191
+ * FSEvents broker. An embedder observing another filesystem supplies its own;
192
+ * a generation whose watch cannot be opened keeps validating from recorded
193
+ * state instead of losing its cache.
194
194
  *
195
- * Supplying one replaces the broker as well, so an embedder that wraps Node's
196
- * own `fs.watch` gives up what the broker provides: on Windows, containing
197
- * the native abort Node's fs-event backend can raise when a watched temporary
198
- * tree is deleted, and on macOS, one FSEventStream per watch whose dropped
199
- * events are reported rather than lost silently.
195
+ * Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
196
+ * reintroduces Windows access-only notifications that invalidate unchanged
197
+ * inputs, and the native abort its fs-event backend can raise when a watched
198
+ * temporary tree is deleted. It also gives up explicit notification-loss
199
+ * reporting from the Linux helper and macOS's per-watch FSEventStream.
200
+ * Preserve mutation and loss reporting when implementing this capability;
201
+ * timestamps or identical current bytes cannot discard an actual A-B-A
202
+ * event.
200
203
  *
201
204
  * @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
202
205
  * @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
203
206
  * @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
204
- * @evidence contracts/common.md#meaningful-documentation The native paragraphs explain absent overrides, failed watches, broker bypass, and the Windows/macOS capability lost when wrapping fs.watch directly.
205
- * @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for backend-specific abort isolation and dropped-stream reporting rather than assuming recursive notifications are interchangeable.
207
+ * @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
208
+ * @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
206
209
  * @evidenceExclude contracts/performance.md#efficient-algorithms
207
210
  * Only the signature of watch is declared here; the cost belongs to its
208
211
  * implementation.
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
186
186
  * Open one directory's change notification, or throw when the observed
187
187
  * filesystem cannot provide one.
188
188
  *
189
- * Left undefined, generations watch the host filesystem: in process on Linux,
190
- * and through an isolated broker process on Windows and macOS. An embedder
191
- * observing another filesystem supplies its own; a generation whose watch
192
- * cannot be opened keeps validating from recorded state instead of losing its
193
- * cache.
189
+ * Left undefined, generations watch the host filesystem through the native
190
+ * Linux helper, the native Windows completion-port helper, or the macOS
191
+ * FSEvents broker. An embedder observing another filesystem supplies its own;
192
+ * a generation whose watch cannot be opened keeps validating from recorded
193
+ * state instead of losing its cache.
194
194
  *
195
- * Supplying one replaces the broker as well, so an embedder that wraps Node's
196
- * own `fs.watch` gives up what the broker provides: on Windows, containing
197
- * the native abort Node's fs-event backend can raise when a watched temporary
198
- * tree is deleted, and on macOS, one FSEventStream per watch whose dropped
199
- * events are reported rather than lost silently.
195
+ * Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
196
+ * reintroduces Windows access-only notifications that invalidate unchanged
197
+ * inputs, and the native abort its fs-event backend can raise when a watched
198
+ * temporary tree is deleted. It also gives up explicit notification-loss
199
+ * reporting from the Linux helper and macOS's per-watch FSEventStream.
200
+ * Preserve mutation and loss reporting when implementing this capability;
201
+ * timestamps or identical current bytes cannot discard an actual A-B-A
202
+ * event.
200
203
  *
201
204
  * @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
202
205
  * @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
203
206
  * @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
204
- * @evidence contracts/common.md#meaningful-documentation The native paragraphs explain absent overrides, failed watches, broker bypass, and the Windows/macOS capability lost when wrapping fs.watch directly.
205
- * @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for backend-specific abort isolation and dropped-stream reporting rather than assuming recursive notifications are interchangeable.
207
+ * @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
208
+ * @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
206
209
  * @evidenceExclude contracts/performance.md#efficient-algorithms
207
210
  * Only the signature of watch is declared here; the cost belongs to its
208
211
  * implementation.
@@ -59,7 +59,7 @@ function captureFailedGenerationInputStates(cached, failures) {
59
59
  ? {
60
60
  environment: pluginSource.PluginBuildEnvironmentReadings.cached(input),
61
61
  }
62
- : undefined) ?? MISSING_INPUT_STATE.MISSING_INPUT_STATE,
62
+ : undefined, cached.projectRoot) ?? MISSING_INPUT_STATE.MISSING_INPUT_STATE,
63
63
  tree: true,
64
64
  },
65
65
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"captureFailedGenerationInputStates.js","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":["resultFilesystem","selectPersistentHostInputs","selectPluginSourceInputs","pluginSourceState","usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","MISSING_INPUT_STATE","inputMetadataEvidence","failedGenerationInputState"],"mappings":";;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAGA,iCAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAIC,qDAA0B,CAAC;QAC7C,UAAU;QACV,W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EAAE,QAAQ,CAAC,SAAS;sBAC/B,EAAE,CAAC;AACP,gBAAA,KAAK,EAAEC,qDAA0B,CAAC,KAAK,EAAE,UAAU,CAAC;AACrD,aAAA;SACF;IACH,CAAC,CAAC,CACH;AACH;;;;"}
1
+ {"version":3,"file":"captureFailedGenerationInputStates.js","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":["resultFilesystem","selectPersistentHostInputs","selectPluginSourceInputs","pluginSourceState","usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","MISSING_INPUT_STATE","inputMetadataEvidence","failedGenerationInputState"],"mappings":";;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAGA,iCAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAIC,qDAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC5C,KAAA,CAAC,EAAE;QACF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC;AACA,IAAA,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;AAAE,YAAA,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE;IACA,MAAM,KAAK,GAAGC,iDAAwB,CAAC,MAAM,CAAC,MAAM,CAAC;AACrD,IAAA,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;AAC9D,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO;gBACL,KAAK;AACL,gBAAA;oBACE,KAAK,EACHC,mCAAiB,CACf,KAAK,EACLC,kEAAmC,CAAC,MAAM,CAAC,MAAM;AAC/C,0BAAE;AACE,4BAAA,WAAW,EAAEC,2CAA8B,CAAC,MAAM,CAAC,KAAK,CAAC;AAC1D;0BACD,SAAS,EACb,MAAM,CAAC,WAAW,CACnB,IAAIC,uCAAmB;AAC1B,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;aACF;QACH;;;QAGA,MAAM,QAAQ,GAAGC,2CAAqB,CAAC,KAAK,EAAE,UAAU,CAAC;QACzD,OAAO;YACL,KAAK;AACL,YAAA;AACE,gBAAA,IAAI,QAAQ,EAAE,SAAS,KAAK;AAC1B,sBAAE,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS;sBAC/B,EAAE,CAAC;AACP,gBAAA,KAAK,EAAEC,qDAA0B,CAAC,KAAK,EAAE,UAAU,CAAC;AACrD,aAAA;SACF;IACH,CAAC,CAAC,CACH;AACH;;;;"}
@@ -57,7 +57,7 @@ function captureFailedGenerationInputStates(cached, failures) {
57
57
  ? {
58
58
  environment: PluginBuildEnvironmentReadings.cached(input),
59
59
  }
60
- : undefined) ?? MISSING_INPUT_STATE,
60
+ : undefined, cached.projectRoot) ?? MISSING_INPUT_STATE,
61
61
  tree: true,
62
62
  },
63
63
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"captureFailedGenerationInputStates.mjs","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAI,0BAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC5C,KAAA,CAAC,EAAE;QACF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC;AACA,IAAA,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;AAAE,YAAA,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE;IACA,MAAM,KAAK,GAAG,wBAAwB,CAAC,MAAM,CAAC,MAAM,CAAC;AACrD,IAAA,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;AAC9D,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO;gBACL,KAAK;AACL,gBAAA;oBACE,KAAK,EACH,iBAAiB,CACf,KAAK,EACL,mCAAmC,CAAC,MAAM,CAAC,MAAM;AAC/C,0BAAE;AACE,4BAAA,WAAW,EAAE,8BAA8B,CAAC,MAAM,CAAC,KAAK,CAAC;AAC1D;AACH,0BAAE,SAAS,CACd,IAAI,mBAAmB;AAC1B,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;aACF;QACH;;;QAGA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,EAAE,UAAU,CAAC;QACzD,OAAO;YACL,KAAK;AACL,YAAA;AACE,gBAAA,IAAI,QAAQ,EAAE,SAAS,KAAK;AAC1B,sBAAE,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS;sBAC/B,EAAE,CAAC;AACP,gBAAA,KAAK,EAAE,0BAA0B,CAAC,KAAK,EAAE,UAAU,CAAC;AACrD,aAAA;SACF;IACH,CAAC,CAAC,CACH;AACH;;;;"}
1
+ {"version":3,"file":"captureFailedGenerationInputStates.mjs","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAI,0BAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE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0B,CAAC,KAAK,EAAE,UAAU,CAAC;AACrD,aAAA;SACF;IACH,CAAC,CAAC,CACH;AACH;;;;"}
@@ -289,7 +289,7 @@ async function captureTransformGeneration(props) {
289
289
  // Prepare native toolchain authority before post-compile admission. Its
290
290
  // cold subprocess and SDK reads stay off this host's event loop, and the
291
291
  // config/walk/notification checks below include that asynchronous window.
292
- await preparePluginBuildEnvironments.preparePluginBuildEnvironments(result, props.filesystem);
292
+ await preparePluginBuildEnvironments.preparePluginBuildEnvironments(result, props.filesystem, undefined, projectRoot);
293
293
  const { membershipPolicy, casePolicyLearned } = selectReportedMembershipPolicy.selectReportedMembershipPolicy(primedPolicy, result);
294
294
  TRANSFORM_RESULT_MEMBERSHIP.TRANSFORM_RESULT_MEMBERSHIP.set(result, {
295
295
  // Only the actual complete directory walk authorizes replacing a listing