@maverickcer/env-cap 0.5.3 → 0.7.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 (359) hide show
  1. package/ADOPTION.md +144 -0
  2. package/AGENTS.md +146 -0
  3. package/CHANGELOG.md +438 -0
  4. package/CODE_OF_CONDUCT.md +124 -0
  5. package/CODE_REVIEW.md +200 -0
  6. package/CONTRIBUTING.md +131 -0
  7. package/GUIDE.md +1214 -0
  8. package/PROMPT.md +89 -0
  9. package/README.md +97 -199
  10. package/RELEASING.md +160 -0
  11. package/SECURITY.md +270 -0
  12. package/SUPPORT.md +76 -0
  13. package/VERSIONING.md +118 -0
  14. package/benchmarks/READING-BENCHMARKS.md +197 -0
  15. package/benchmarks/README.md +126 -0
  16. package/benchmarks/WRITING-BENCHMARKS.md +252 -0
  17. package/benchmarks/performance-buildtime/BENCHMARKS.md +889 -0
  18. package/benchmarks/performance-runtime/BENCHMARKS.md +1988 -0
  19. package/dist/.dts/_ipc/build-fs.d.ts +53 -0
  20. package/dist/.dts/_ipc/build-fs.d.ts.map +1 -0
  21. package/dist/.dts/_ipc/compiler-api.d.ts +17 -0
  22. package/dist/.dts/_ipc/compiler-api.d.ts.map +1 -0
  23. package/dist/.dts/_ipc/display-path.d.ts +27 -0
  24. package/dist/.dts/_ipc/display-path.d.ts.map +1 -0
  25. package/dist/.dts/_ipc/generated-banner.d.ts +58 -0
  26. package/dist/.dts/_ipc/generated-banner.d.ts.map +1 -0
  27. package/dist/.dts/_ipc/glob.d.ts +22 -0
  28. package/dist/.dts/_ipc/glob.d.ts.map +1 -0
  29. package/dist/.dts/_ipc/no-node-fs.d.ts +34 -0
  30. package/dist/.dts/_ipc/no-node-fs.d.ts.map +1 -0
  31. package/dist/.dts/_ipc/resolve-tsconfig-paths.d.ts +134 -0
  32. package/dist/.dts/_ipc/resolve-tsconfig-paths.d.ts.map +1 -0
  33. package/dist/.dts/_ipc/typescript.d.ts +20 -0
  34. package/dist/.dts/_ipc/typescript.d.ts.map +1 -0
  35. package/dist/.dts/build/assemble-project.d.ts +1 -1
  36. package/dist/.dts/build/assemble-project.d.ts.map +1 -1
  37. package/dist/.dts/build/change-model.d.ts.map +1 -1
  38. package/dist/.dts/build/check-artifacts.d.ts.map +1 -1
  39. package/dist/.dts/build/citation-verification.d.ts.map +1 -1
  40. package/dist/.dts/build/compatibility.d.ts.map +1 -1
  41. package/dist/.dts/build/compiler-api.d.ts +12 -0
  42. package/dist/.dts/build/compiler-api.d.ts.map +1 -0
  43. package/dist/.dts/build/dependency-graph.d.ts +3 -1
  44. package/dist/.dts/build/dependency-graph.d.ts.map +1 -1
  45. package/dist/.dts/build/dependency-model.d.ts.map +1 -1
  46. package/dist/.dts/build/discover.d.ts.map +1 -1
  47. package/dist/.dts/build/display-path.d.ts +3 -21
  48. package/dist/.dts/build/display-path.d.ts.map +1 -1
  49. package/dist/.dts/build/docs.d.ts +1 -1
  50. package/dist/.dts/build/docs.d.ts.map +1 -1
  51. package/dist/.dts/build/env-example.d.ts.map +1 -1
  52. package/dist/.dts/build/evidence-cache.d.ts +1 -1
  53. package/dist/.dts/build/evidence-cache.d.ts.map +1 -1
  54. package/dist/.dts/build/evidence-model.d.ts +2 -2
  55. package/dist/.dts/build/evidence-snapshot.d.ts +25 -0
  56. package/dist/.dts/build/evidence-snapshot.d.ts.map +1 -1
  57. package/dist/.dts/build/finding-model.d.ts +1 -1
  58. package/dist/.dts/build/finding-model.d.ts.map +1 -1
  59. package/dist/.dts/build/generate-documentation.d.ts.map +1 -1
  60. package/dist/.dts/build/generate-env-artifacts.d.ts +23 -8
  61. package/dist/.dts/build/generate-env-artifacts.d.ts.map +1 -1
  62. package/dist/.dts/build/generate-evidence.d.ts.map +1 -1
  63. package/dist/.dts/build/generate-manifest.d.ts +1 -1
  64. package/dist/.dts/build/generate-manifest.d.ts.map +1 -1
  65. package/dist/.dts/build/generate-usage.d.ts +3 -3
  66. package/dist/.dts/build/generate-usage.d.ts.map +1 -1
  67. package/dist/.dts/build/generated-banner.d.ts +29 -38
  68. package/dist/.dts/build/generated-banner.d.ts.map +1 -1
  69. package/dist/.dts/build/glob.d.ts +3 -15
  70. package/dist/.dts/build/glob.d.ts.map +1 -1
  71. package/dist/.dts/build/index.d.ts +2 -2
  72. package/dist/.dts/build/lifecycle-model.d.ts.map +1 -1
  73. package/dist/.dts/build/link.d.ts.map +1 -1
  74. package/dist/.dts/build/literal-eval.d.ts +4 -3
  75. package/dist/.dts/build/literal-eval.d.ts.map +1 -1
  76. package/dist/.dts/build/live-expirations.d.ts.map +1 -1
  77. package/dist/.dts/build/manifest.d.ts.map +1 -1
  78. package/dist/.dts/build/merge-documentation.d.ts +35 -0
  79. package/dist/.dts/build/merge-documentation.d.ts.map +1 -0
  80. package/dist/.dts/build/parse.d.ts +12 -12
  81. package/dist/.dts/build/parse.d.ts.map +1 -1
  82. package/dist/.dts/build/reference-projections.d.ts +17 -3
  83. package/dist/.dts/build/reference-projections.d.ts.map +1 -1
  84. package/dist/.dts/build/resolution/resolve-import.d.ts +5 -0
  85. package/dist/.dts/build/resolution/resolve-import.d.ts.map +1 -1
  86. package/dist/.dts/build/resolution/resolve-package-schema.d.ts +1 -1
  87. package/dist/.dts/build/resolution/resolve-package-schema.d.ts.map +1 -1
  88. package/dist/.dts/build/resolution/resolve-tsconfig-paths.d.ts +11 -94
  89. package/dist/.dts/build/resolution/resolve-tsconfig-paths.d.ts.map +1 -1
  90. package/dist/.dts/build/sarif.d.ts.map +1 -1
  91. package/dist/.dts/build/scan-dependencies.d.ts +23 -0
  92. package/dist/.dts/build/scan-dependencies.d.ts.map +1 -1
  93. package/dist/.dts/build/types.d.ts +4 -53
  94. package/dist/.dts/build/types.d.ts.map +1 -1
  95. package/dist/.dts/build/typescript.d.ts +6 -0
  96. package/dist/.dts/build/typescript.d.ts.map +1 -0
  97. package/dist/.dts/build/usage-report.d.ts.map +1 -1
  98. package/dist/.dts/cli/filesystem.d.ts +4 -0
  99. package/dist/.dts/cli/filesystem.d.ts.map +1 -1
  100. package/dist/.dts/eslint-plugin/glob.d.ts +4 -15
  101. package/dist/.dts/eslint-plugin/glob.d.ts.map +1 -1
  102. package/dist/.dts/eslint-plugin/index.d.ts +3 -3
  103. package/dist/.dts/eslint-plugin/no-node-fs.d.ts +8 -18
  104. package/dist/.dts/eslint-plugin/no-node-fs.d.ts.map +1 -1
  105. package/dist/.dts/eslint-plugin/no-raw-process-env.d.ts.map +1 -1
  106. package/dist/.dts/evidence/index.d.ts +2 -2
  107. package/dist/.dts/helpers/index.d.ts +2 -2
  108. package/dist/.dts/helpers/processors.d.ts.map +1 -1
  109. package/dist/.dts/helpers/validators.d.ts.map +1 -1
  110. package/dist/.dts/runtime/cache.d.ts +0 -3
  111. package/dist/.dts/runtime/cache.d.ts.map +1 -1
  112. package/dist/.dts/runtime/create.d.ts.map +1 -1
  113. package/dist/.dts/runtime/document.d.ts.map +1 -1
  114. package/dist/.dts/runtime/index.d.ts +2 -2
  115. package/dist/.dts/runtime/registry.d.ts.map +1 -1
  116. package/dist/.dts/runtime/validate.d.ts.map +1 -1
  117. package/dist/{build-U326PI5A.js → build-WKDIAWF7.js} +685 -645
  118. package/dist/build-WKDIAWF7.js.map +1 -0
  119. package/dist/build.cjs +698 -651
  120. package/dist/build.cjs.map +1 -1
  121. package/dist/build.js +695 -649
  122. package/dist/build.js.map +1 -1
  123. package/dist/{chunk-BSTLSR2R.js → chunk-KEGYUHBU.js} +2 -2
  124. package/dist/chunk-KEGYUHBU.js.map +1 -0
  125. package/dist/cli/index.js +64 -63
  126. package/dist/cli/index.js.map +1 -1
  127. package/dist/eslint-plugin/index.cjs +95 -626
  128. package/dist/eslint-plugin/index.cjs.map +1 -1
  129. package/dist/eslint-plugin/index.js +94 -625
  130. package/dist/eslint-plugin/index.js.map +1 -1
  131. package/dist/evidence.cjs.map +1 -1
  132. package/dist/evidence.js.map +1 -1
  133. package/dist/helpers.cjs +4 -9
  134. package/dist/helpers.cjs.map +1 -1
  135. package/dist/helpers.js +4 -9
  136. package/dist/helpers.js.map +1 -1
  137. package/dist/index.cjs +11 -25
  138. package/dist/index.cjs.map +1 -1
  139. package/dist/index.js +11 -25
  140. package/dist/index.js.map +1 -1
  141. package/dist/node.cjs +10 -8
  142. package/dist/node.cjs.map +1 -1
  143. package/dist/node.js +10 -8
  144. package/dist/node.js.map +1 -1
  145. package/examples/README.md +95 -0
  146. package/node_modules/@typescript/old/LICENSE.txt +55 -0
  147. package/node_modules/@typescript/old/README.md +50 -0
  148. package/node_modules/@typescript/old/SECURITY.md +39 -0
  149. package/node_modules/@typescript/old/ThirdPartyNoticeText.txt +193 -0
  150. package/node_modules/@typescript/old/bin/tsc +2 -0
  151. package/node_modules/@typescript/old/bin/tsserver +2 -0
  152. package/node_modules/@typescript/old/lib/_tsc.js +134465 -0
  153. package/node_modules/@typescript/old/lib/_tsserver.js +659 -0
  154. package/node_modules/@typescript/old/lib/_typingsInstaller.js +222 -0
  155. package/node_modules/@typescript/old/lib/cs/diagnosticMessages.generated.json +2129 -0
  156. package/node_modules/@typescript/old/lib/de/diagnosticMessages.generated.json +2125 -0
  157. package/node_modules/@typescript/old/lib/es/diagnosticMessages.generated.json +2129 -0
  158. package/node_modules/@typescript/old/lib/fr/diagnosticMessages.generated.json +2129 -0
  159. package/node_modules/@typescript/old/lib/it/diagnosticMessages.generated.json +2125 -0
  160. package/node_modules/@typescript/old/lib/ja/diagnosticMessages.generated.json +2129 -0
  161. package/node_modules/@typescript/old/lib/ko/diagnosticMessages.generated.json +2129 -0
  162. package/node_modules/@typescript/old/lib/lib.d.ts +20 -0
  163. package/node_modules/@typescript/old/lib/lib.decorators.d.ts +382 -0
  164. package/node_modules/@typescript/old/lib/lib.decorators.legacy.d.ts +20 -0
  165. package/node_modules/@typescript/old/lib/lib.dom.asynciterable.d.ts +18 -0
  166. package/node_modules/@typescript/old/lib/lib.dom.d.ts +45125 -0
  167. package/node_modules/@typescript/old/lib/lib.dom.iterable.d.ts +18 -0
  168. package/node_modules/@typescript/old/lib/lib.es2015.collection.d.ts +150 -0
  169. package/node_modules/@typescript/old/lib/lib.es2015.core.d.ts +595 -0
  170. package/node_modules/@typescript/old/lib/lib.es2015.d.ts +26 -0
  171. package/node_modules/@typescript/old/lib/lib.es2015.generator.d.ts +75 -0
  172. package/node_modules/@typescript/old/lib/lib.es2015.iterable.d.ts +603 -0
  173. package/node_modules/@typescript/old/lib/lib.es2015.promise.d.ts +79 -0
  174. package/node_modules/@typescript/old/lib/lib.es2015.proxy.d.ts +126 -0
  175. package/node_modules/@typescript/old/lib/lib.es2015.reflect.d.ts +142 -0
  176. package/node_modules/@typescript/old/lib/lib.es2015.symbol.d.ts +44 -0
  177. package/node_modules/@typescript/old/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
  178. package/node_modules/@typescript/old/lib/lib.es2016.array.include.d.ts +114 -0
  179. package/node_modules/@typescript/old/lib/lib.es2016.d.ts +19 -0
  180. package/node_modules/@typescript/old/lib/lib.es2016.full.d.ts +21 -0
  181. package/node_modules/@typescript/old/lib/lib.es2016.intl.d.ts +29 -0
  182. package/node_modules/@typescript/old/lib/lib.es2017.arraybuffer.d.ts +19 -0
  183. package/node_modules/@typescript/old/lib/lib.es2017.d.ts +24 -0
  184. package/node_modules/@typescript/old/lib/lib.es2017.date.d.ts +29 -0
  185. package/node_modules/@typescript/old/lib/lib.es2017.full.d.ts +21 -0
  186. package/node_modules/@typescript/old/lib/lib.es2017.intl.d.ts +42 -0
  187. package/node_modules/@typescript/old/lib/lib.es2017.object.d.ts +47 -0
  188. package/node_modules/@typescript/old/lib/lib.es2017.sharedmemory.d.ts +133 -0
  189. package/node_modules/@typescript/old/lib/lib.es2017.string.d.ts +43 -0
  190. package/node_modules/@typescript/old/lib/lib.es2017.typedarrays.d.ts +51 -0
  191. package/node_modules/@typescript/old/lib/lib.es2018.asyncgenerator.d.ts +75 -0
  192. package/node_modules/@typescript/old/lib/lib.es2018.asynciterable.d.ts +51 -0
  193. package/node_modules/@typescript/old/lib/lib.es2018.d.ts +22 -0
  194. package/node_modules/@typescript/old/lib/lib.es2018.full.d.ts +22 -0
  195. package/node_modules/@typescript/old/lib/lib.es2018.intl.d.ts +81 -0
  196. package/node_modules/@typescript/old/lib/lib.es2018.promise.d.ts +28 -0
  197. package/node_modules/@typescript/old/lib/lib.es2018.regexp.d.ts +35 -0
  198. package/node_modules/@typescript/old/lib/lib.es2019.array.d.ts +77 -0
  199. package/node_modules/@typescript/old/lib/lib.es2019.d.ts +22 -0
  200. package/node_modules/@typescript/old/lib/lib.es2019.full.d.ts +22 -0
  201. package/node_modules/@typescript/old/lib/lib.es2019.intl.d.ts +21 -0
  202. package/node_modules/@typescript/old/lib/lib.es2019.object.d.ts +31 -0
  203. package/node_modules/@typescript/old/lib/lib.es2019.string.d.ts +35 -0
  204. package/node_modules/@typescript/old/lib/lib.es2019.symbol.d.ts +22 -0
  205. package/node_modules/@typescript/old/lib/lib.es2020.bigint.d.ts +763 -0
  206. package/node_modules/@typescript/old/lib/lib.es2020.d.ts +25 -0
  207. package/node_modules/@typescript/old/lib/lib.es2020.date.d.ts +40 -0
  208. package/node_modules/@typescript/old/lib/lib.es2020.full.d.ts +22 -0
  209. package/node_modules/@typescript/old/lib/lib.es2020.intl.d.ts +472 -0
  210. package/node_modules/@typescript/old/lib/lib.es2020.number.d.ts +26 -0
  211. package/node_modules/@typescript/old/lib/lib.es2020.promise.d.ts +45 -0
  212. package/node_modules/@typescript/old/lib/lib.es2020.sharedmemory.d.ts +97 -0
  213. package/node_modules/@typescript/old/lib/lib.es2020.string.d.ts +42 -0
  214. package/node_modules/@typescript/old/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
  215. package/node_modules/@typescript/old/lib/lib.es2021.d.ts +21 -0
  216. package/node_modules/@typescript/old/lib/lib.es2021.full.d.ts +22 -0
  217. package/node_modules/@typescript/old/lib/lib.es2021.intl.d.ts +164 -0
  218. package/node_modules/@typescript/old/lib/lib.es2021.promise.d.ts +46 -0
  219. package/node_modules/@typescript/old/lib/lib.es2021.string.d.ts +31 -0
  220. package/node_modules/@typescript/old/lib/lib.es2021.weakref.d.ts +76 -0
  221. package/node_modules/@typescript/old/lib/lib.es2022.array.d.ts +119 -0
  222. package/node_modules/@typescript/old/lib/lib.es2022.d.ts +23 -0
  223. package/node_modules/@typescript/old/lib/lib.es2022.error.d.ts +73 -0
  224. package/node_modules/@typescript/old/lib/lib.es2022.full.d.ts +22 -0
  225. package/node_modules/@typescript/old/lib/lib.es2022.intl.d.ts +143 -0
  226. package/node_modules/@typescript/old/lib/lib.es2022.object.d.ts +24 -0
  227. package/node_modules/@typescript/old/lib/lib.es2022.regexp.d.ts +37 -0
  228. package/node_modules/@typescript/old/lib/lib.es2022.string.d.ts +23 -0
  229. package/node_modules/@typescript/old/lib/lib.es2023.array.d.ts +922 -0
  230. package/node_modules/@typescript/old/lib/lib.es2023.collection.d.ts +19 -0
  231. package/node_modules/@typescript/old/lib/lib.es2023.d.ts +20 -0
  232. package/node_modules/@typescript/old/lib/lib.es2023.full.d.ts +22 -0
  233. package/node_modules/@typescript/old/lib/lib.es2023.intl.d.ts +62 -0
  234. package/node_modules/@typescript/old/lib/lib.es2024.arraybuffer.d.ts +63 -0
  235. package/node_modules/@typescript/old/lib/lib.es2024.collection.d.ts +27 -0
  236. package/node_modules/@typescript/old/lib/lib.es2024.d.ts +24 -0
  237. package/node_modules/@typescript/old/lib/lib.es2024.full.d.ts +22 -0
  238. package/node_modules/@typescript/old/lib/lib.es2024.object.d.ts +27 -0
  239. package/node_modules/@typescript/old/lib/lib.es2024.promise.d.ts +33 -0
  240. package/node_modules/@typescript/old/lib/lib.es2024.regexp.d.ts +23 -0
  241. package/node_modules/@typescript/old/lib/lib.es2024.sharedmemory.d.ts +66 -0
  242. package/node_modules/@typescript/old/lib/lib.es2024.string.d.ts +27 -0
  243. package/node_modules/@typescript/old/lib/lib.es2025.collection.d.ts +94 -0
  244. package/node_modules/@typescript/old/lib/lib.es2025.d.ts +23 -0
  245. package/node_modules/@typescript/old/lib/lib.es2025.float16.d.ts +443 -0
  246. package/node_modules/@typescript/old/lib/lib.es2025.full.d.ts +22 -0
  247. package/node_modules/@typescript/old/lib/lib.es2025.intl.d.ts +200 -0
  248. package/node_modules/@typescript/old/lib/lib.es2025.iterator.d.ts +146 -0
  249. package/node_modules/@typescript/old/lib/lib.es2025.promise.d.ts +32 -0
  250. package/node_modules/@typescript/old/lib/lib.es2025.regexp.d.ts +30 -0
  251. package/node_modules/@typescript/old/lib/lib.es5.d.ts +4599 -0
  252. package/node_modules/@typescript/old/lib/lib.es6.d.ts +21 -0
  253. package/node_modules/@typescript/old/lib/lib.esnext.array.d.ts +33 -0
  254. package/node_modules/@typescript/old/lib/lib.esnext.collection.d.ts +47 -0
  255. package/node_modules/@typescript/old/lib/lib.esnext.d.ts +27 -0
  256. package/node_modules/@typescript/old/lib/lib.esnext.date.d.ts +21 -0
  257. package/node_modules/@typescript/old/lib/lib.esnext.decorators.d.ts +26 -0
  258. package/node_modules/@typescript/old/lib/lib.esnext.disposable.d.ts +191 -0
  259. package/node_modules/@typescript/old/lib/lib.esnext.error.d.ts +22 -0
  260. package/node_modules/@typescript/old/lib/lib.esnext.full.d.ts +22 -0
  261. package/node_modules/@typescript/old/lib/lib.esnext.intl.d.ts +107 -0
  262. package/node_modules/@typescript/old/lib/lib.esnext.sharedmemory.d.ts +23 -0
  263. package/node_modules/@typescript/old/lib/lib.esnext.temporal.d.ts +485 -0
  264. package/node_modules/@typescript/old/lib/lib.esnext.typedarrays.d.ts +90 -0
  265. package/node_modules/@typescript/old/lib/lib.scripthost.d.ts +320 -0
  266. package/node_modules/@typescript/old/lib/lib.webworker.asynciterable.d.ts +18 -0
  267. package/node_modules/@typescript/old/lib/lib.webworker.d.ts +15606 -0
  268. package/node_modules/@typescript/old/lib/lib.webworker.importscripts.d.ts +21 -0
  269. package/node_modules/@typescript/old/lib/lib.webworker.iterable.d.ts +18 -0
  270. package/node_modules/@typescript/old/lib/pl/diagnosticMessages.generated.json +2129 -0
  271. package/node_modules/@typescript/old/lib/pt-br/diagnosticMessages.generated.json +2129 -0
  272. package/node_modules/@typescript/old/lib/ru/diagnosticMessages.generated.json +2125 -0
  273. package/node_modules/@typescript/old/lib/tr/diagnosticMessages.generated.json +2129 -0
  274. package/node_modules/@typescript/old/lib/tsc.js +8 -0
  275. package/node_modules/@typescript/old/lib/tsserver.js +8 -0
  276. package/node_modules/@typescript/old/lib/tsserverlibrary.d.ts +17 -0
  277. package/node_modules/@typescript/old/lib/tsserverlibrary.js +21 -0
  278. package/node_modules/@typescript/old/lib/typesMap.json +497 -0
  279. package/node_modules/@typescript/old/lib/typescript.d.ts +11448 -0
  280. package/node_modules/@typescript/old/lib/typescript.js +201039 -0
  281. package/node_modules/@typescript/old/lib/typingsInstaller.js +8 -0
  282. package/node_modules/@typescript/old/lib/watchGuard.js +53 -0
  283. package/node_modules/@typescript/old/lib/zh-cn/diagnosticMessages.generated.json +2129 -0
  284. package/node_modules/@typescript/old/lib/zh-tw/diagnosticMessages.generated.json +2125 -0
  285. package/node_modules/@typescript/old/package.json +118 -0
  286. package/node_modules/@typescript/typescript6/LICENSE.txt +55 -0
  287. package/node_modules/@typescript/typescript6/README.md +9 -0
  288. package/node_modules/@typescript/typescript6/bin/tsc6 +2 -0
  289. package/node_modules/@typescript/typescript6/lib/tsc.js +1 -0
  290. package/node_modules/@typescript/typescript6/lib/tsserverlibrary.d.ts +2 -0
  291. package/node_modules/@typescript/typescript6/lib/tsserverlibrary.js +1 -0
  292. package/node_modules/@typescript/typescript6/lib/typescript.d.ts +2 -0
  293. package/node_modules/@typescript/typescript6/lib/typescript.js +1 -0
  294. package/node_modules/@typescript/typescript6/package.json +39 -0
  295. package/package.json +74 -22
  296. package/schemas/env-cap-report.schema.json +1 -1
  297. package/skills/env-cap/SKILL.md +91 -0
  298. package/skills/env-cap/references/api.md +220 -0
  299. package/specs/architecture.md +634 -0
  300. package/specs/decisions/0001-runtime-documentation-separation.md +197 -0
  301. package/specs/decisions/0002-static-analysis-never-execution.md +233 -0
  302. package/specs/decisions/0003-no-global-env-object.md +172 -0
  303. package/specs/decisions/0004-no-client-server-package-split.md +116 -0
  304. package/specs/decisions/0005-warn-not-throw-by-default.md +93 -0
  305. package/specs/decisions/0006-self-redacting-contracts.md +124 -0
  306. package/specs/decisions/0007-processor-not-transformer.md +109 -0
  307. package/specs/decisions/0008-gzip-size-budget.md +173 -0
  308. package/specs/decisions/0009-exclusive-groups-are-always-errors.md +139 -0
  309. package/specs/decisions/0010-dependency-ownership-engine-scope-boundary.md +100 -0
  310. package/specs/decisions/0011-shared-discovery-compute-atomic-write-non-atomic.md +104 -0
  311. package/specs/decisions/0012-live-expiration-overrides-not-ast-functions.md +145 -0
  312. package/specs/decisions/0013-json-output-is-a-versioned-mirror.md +136 -0
  313. package/specs/decisions/0014-cross-package-schema-discovery.md +206 -0
  314. package/specs/decisions/0015-security-backport-window.md +60 -0
  315. package/specs/decisions/0016-check-mode-compute-before-compare-never-partial-write.md +113 -0
  316. package/specs/decisions/0017-eslint-plugin-entry-point.md +113 -0
  317. package/specs/decisions/0018-rotation-alert-issue-on-non-pr-runs.md +104 -0
  318. package/specs/decisions/0019-published-json-schema-generated-from-types.md +100 -0
  319. package/specs/decisions/0020-declaration-maps-via-separate-tsc-pass.md +101 -0
  320. package/specs/decisions/0021-manifest-change-report-persisted-snapshot.md +177 -0
  321. package/specs/decisions/0022-validation-contexts.md +267 -0
  322. package/specs/decisions/0023-tsconfig-path-alias-resolution.md +182 -0
  323. package/specs/decisions/0024-fact-model-architecture.md +144 -0
  324. package/specs/decisions/0025-contract-model-json-projection.md +105 -0
  325. package/specs/decisions/0026-finding-model-unifies-four-families.md +109 -0
  326. package/specs/decisions/0027-dependency-model-fact-shape-not-engine-access.md +98 -0
  327. package/specs/decisions/0028-ownership-model-shared-effective-owner.md +85 -0
  328. package/specs/decisions/0029-lifecycle-model-deprecation-rename-fields.md +98 -0
  329. package/specs/decisions/0030-change-model-wraps-manifest-change-report.md +97 -0
  330. package/specs/decisions/0031-evidence-entry-point.md +85 -0
  331. package/specs/decisions/0032-evidence-projection-provenance-mechanism.md +120 -0
  332. package/specs/decisions/0033-reference-projections-live-in-examples.md +81 -0
  333. package/specs/decisions/0034-three-tier-examples-restructuring.md +85 -0
  334. package/specs/decisions/0035-documentenv-metadata-generalization-and-compliance-fields.md +85 -0
  335. package/specs/decisions/0036-exact-source-position-evidence.md +122 -0
  336. package/specs/decisions/0037-developer-declared-dynamic-access-citations.md +114 -0
  337. package/specs/decisions/0038-always-computed-evidence-model-backs-generate-check-docs.md +244 -0
  338. package/specs/decisions/0039-scanner-local-dataflow-boundary.md +160 -0
  339. package/specs/decisions/0040-library-surfaces-do-not-acquire-node-fs.md +156 -0
  340. package/specs/decisions/0041-dual-package-hazard-checked-documented.md +75 -0
  341. package/specs/decisions/0042-init-cli-subcommand-scaffolds-only.md +95 -0
  342. package/specs/decisions/0043-env-cap-resolver-relocated-and-duplicated.md +71 -0
  343. package/specs/decisions/0044-strict-escalates-every-warning-family.md +88 -0
  344. package/specs/decisions/0045-promote-experimental-surfaces-to-stable.md +103 -0
  345. package/specs/decisions/0046-cli-restricted-to-runtime-and-evidence-output.md +177 -0
  346. package/specs/decisions/0047-supported-toolchain-node-22-and-typescript-5-6.md +30 -0
  347. package/specs/decisions/0048-eslint-plugin-does-not-vendor-typescript-eslint.md +25 -0
  348. package/specs/decisions/0049-typescript-7-scanner-uses-a-bundled-typescript-6.md +87 -0
  349. package/specs/decisions/0050-a-variable-declared-twice-is-documented-once.md +55 -0
  350. package/specs/generated-artifacts.md +104 -0
  351. package/specs/migrations/README.md +30 -0
  352. package/specs/migrations/from-centralized-schema.md +503 -0
  353. package/specs/migrations/from-dotenv.md +352 -0
  354. package/specs/migrations/from-envalid.md +482 -0
  355. package/specs/migrations/from-process-env.md +398 -0
  356. package/specs/migrations/from-t3-env.md +416 -0
  357. package/specs/migrations/from-zod.md +303 -0
  358. package/dist/build-U326PI5A.js.map +0 -1
  359. package/dist/chunk-BSTLSR2R.js.map +0 -1
@@ -0,0 +1,53 @@
1
+ /**
2
+ * The filesystem capability a package's `./build` entry requires from its caller.
3
+ *
4
+ * `./build` is a **library surface**: it must not acquire filesystem access
5
+ * implicitly (no `node:fs` import outside the package's CLI). Every public options object carries a required
6
+ * `fs` field of this type, and the caller supplies a concrete adapter: the CLI builds one over
7
+ * `node:fs/promises`; a test builds either that same adapter or an in-memory fake.
8
+ *
9
+ * "Ambient-fs-free" means specifically: `./build` never reaches for
10
+ * `node:fs` itself. It still performs real filesystem operations -- the
11
+ * capability is always handed in.
12
+ *
13
+ * The shape is modeled on `node:fs/promises`'s own signatures so a thin
14
+ * adapter is a drop-in value, but uses minimal structural types
15
+ * ({@link BuildDirent}/{@link BuildStats}) rather than Node's `Dirent`/
16
+ * `Stats` -- the capability boundary shouldn't leak Node's type surface just
17
+ * because the concrete adapter happens to be Node-backed. Only the
18
+ * operations the build code actually calls are here.
19
+ */
20
+ export interface BuildFileSystem {
21
+ /** Read a UTF-8 text file. Rejects if the path doesn't exist or isn't readable. */
22
+ readonly readFile: (path: string, encoding: "utf8") => Promise<string>;
23
+ /** Write a UTF-8 text file, creating or truncating it. The parent directory must already exist. */
24
+ readonly writeFile: (path: string, data: string, encoding: "utf8") => Promise<void>;
25
+ /** Create a directory and every missing parent. A no-op if it already exists. */
26
+ readonly mkdir: (path: string, options: {
27
+ readonly recursive: true;
28
+ }) => Promise<void>;
29
+ /** List a directory's entries with their file-type info. */
30
+ readonly readdir: (path: string, options: {
31
+ readonly withFileTypes: true;
32
+ }) => Promise<readonly BuildDirent[]>;
33
+ /** Stat a path (following symlinks). Rejects if the path doesn't exist. */
34
+ readonly stat: (path: string) => Promise<BuildStats>;
35
+ /** Resolve a path to its canonical, symlink-free absolute form. */
36
+ readonly realpath: (path: string) => Promise<string>;
37
+ }
38
+ /** One directory entry from {@link BuildFileSystem.readdir} -- the subset of Node's `Dirent` the build code reads. */
39
+ export interface BuildDirent {
40
+ readonly name: string;
41
+ /** Same contract as Node's `Dirent.isDirectory()`. */
42
+ readonly isDirectory: () => boolean;
43
+ /** Same contract as Node's `Dirent.isFile()`. */
44
+ readonly isFile: () => boolean;
45
+ }
46
+ /** A path's stat info from {@link BuildFileSystem.stat} -- the subset of Node's `Stats` the build code reads. */
47
+ export interface BuildStats {
48
+ /** Same contract as Node's `Stats.isFile()`. */
49
+ readonly isFile: () => boolean;
50
+ /** Size in bytes -- read by the package-schema resolver to enforce a size ceiling. */
51
+ readonly size: number;
52
+ }
53
+ //# sourceMappingURL=build-fs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-fs.d.ts","sourceRoot":"","sources":["../../../src/_ipc/build-fs.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IACtE,mGAAmG;IACnG,QAAQ,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACnF,iFAAiF;IACjF,QAAQ,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE;QAAE,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACtF,4DAA4D;IAC5D,QAAQ,CAAC,OAAO,EAAE,CAChB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE;QAAE,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAA;KAAE,KACtC,OAAO,CAAC,SAAS,WAAW,EAAE,CAAC,CAAA;IACpC,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,CAAA;IACpD,mEAAmE;IACnE,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACrD;AAED,sHAAsH;AACtH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,sDAAsD;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,OAAO,CAAA;IACnC,iDAAiD;IACjD,QAAQ,CAAC,MAAM,EAAE,MAAM,OAAO,CAAA;CAC/B;AAED,iHAAiH;AACjH,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,QAAQ,CAAC,MAAM,EAAE,MAAM,OAAO,CAAA;IAC9B,sFAAsF;IACtF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Fails with a readable message when neither the installed `typescript` nor the bundled
3
+ * `@typescript/typescript6` exposes the classic compiler API (`createSourceFile`) the build-time scanner is
4
+ * written against. TypeScript 7 ships no programmatic API, so a package normally falls back to the bundled
5
+ * TypeScript 6 (see `typescript.ts`); this only fires when that dependency was stripped from the install, where
6
+ * a raw call would die with "ts.createSourceFile is not a function".
7
+ *
8
+ * This file is the canonical source; a package carries a managed copy (see `sync`) and binds its own name.
9
+ * @param product - The package's name, as users install it, for the message.
10
+ * @param compiler - The resolved compiler module (a parameter so a test can hand in a stand-in).
11
+ * @throws Error naming the installed version and how to restore the bundled compiler.
12
+ */
13
+ export declare function assertCompilerApi(product: string, compiler: {
14
+ readonly createSourceFile?: unknown;
15
+ readonly version?: string;
16
+ }): void;
17
+ //# sourceMappingURL=compiler-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compiler-api.d.ts","sourceRoot":"","sources":["../../../src/_ipc/compiler-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;IAAE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3E,IAAI,CAWN"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Renders `filePath` relative to `root`, POSIX-separated whatever the platform.
3
+ *
4
+ * Two deliberate non-conversions:
5
+ *
6
+ * - An already-relative `filePath` is returned as given (POSIX-normalized). That makes the function
7
+ * idempotent, which matters because a model's `file` is relativized once and then passed through render
8
+ * helpers that call this again. Resolving a relative path against `process.cwd()` first, which is what
9
+ * `path.relative` does on its own, silently gives a wrong answer whenever the working directory is not `root`.
10
+ * - An absolute path that would need to climb outside `root` is returned unchanged, never rewritten into a
11
+ * `../` escape: a file discovered in another package legitimately lives outside `root`, and its absolute path
12
+ * is the only unambiguous thing to say about it.
13
+ * @param root - The directory paths are published relative to.
14
+ * @param filePath - An absolute path, or one already relative to `root`.
15
+ * @returns The path to publish.
16
+ */
17
+ export declare function displayPath(root: string, filePath: string): string;
18
+ /**
19
+ * The inverse of {@link displayPath}: turns a published `file` back into a real, absolute path for filesystem
20
+ * or import work. `path.resolve` rather than `path.join`, because `displayPath` leaves an out-of-root absolute
21
+ * path unchanged and `resolve` returns such a path untouched, where `join` would produce `root + absolute`.
22
+ * @param root - The directory paths are published relative to.
23
+ * @param filePath - A published path.
24
+ * @returns The absolute path.
25
+ */
26
+ export declare function absolutePathFrom(root: string, filePath: string): string;
27
+ //# sourceMappingURL=display-path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display-path.d.ts","sourceRoot":"","sources":["../../../src/_ipc/display-path.ts"],"names":[],"mappings":"AAiBA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAKlE;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvE"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * The marker every generated file starts with, and the two standing notices every governance-adjacent
3
+ * artifact carries, written once for every MaverickCER package that generates files.
4
+ *
5
+ * This file is the canonical source. A package that uses it holds a managed copy (see `sync`), so it
6
+ * needs no dependency on this repository at runtime. It is deliberately self-contained: no imports, no
7
+ * Node APIs, no environment access, so it is safe in any bundle.
8
+ *
9
+ * One marker means one place decides what "generated" looks like: the code that writes the marker and the
10
+ * code that reads it (to refuse to overwrite a hand-written file, or to ignore a file that only imports a
11
+ * generated one) can never drift apart.
12
+ */
13
+ /** What differs between packages; everything else is shared. */
14
+ export interface GeneratedBannerOptions {
15
+ /** The package's short name, as its documentation names it, for example `env-cap`. */
16
+ readonly product: string;
17
+ /** The page that describes the package's Evidence Model. */
18
+ readonly guideUrl: string;
19
+ /** The command that regenerates what the CLI writes, for example `npx env-cap`. */
20
+ readonly cliCommand: string;
21
+ /** How to regenerate a report the CLI does not write (it is produced by the project's own script). */
22
+ readonly reportRegenerateHint: string;
23
+ }
24
+ /** The functions a package's generated-file code uses. */
25
+ export interface GeneratedBanner {
26
+ /** @returns how to regenerate a report the CLI does not write. */
27
+ readonly reportRegenerateHint: () => string;
28
+ /**
29
+ * Renders the "do not edit by hand" marker in the given comment syntax.
30
+ * @param format - Comment syntax to render in.
31
+ * @param regenerate - How to regenerate; defaults to the CLI, which writes the manifest.
32
+ * @returns The comment line.
33
+ */
34
+ readonly generatedBanner: (format?: "ts" | "markdown", regenerate?: string) => string;
35
+ /**
36
+ * Whether `content` carries a marker, as the opening of a `//` or `<!--` comment, within its first 20 non-empty lines.
37
+ * @param content - A file's text.
38
+ * @returns `true` when the file is generated.
39
+ */
40
+ readonly isGeneratedFile: (content: string) => boolean;
41
+ /** @returns the short disclaimer stamped into every artifact that renders sensitivity, ownership or expiry claims. */
42
+ readonly evidenceDisclaimer: () => string;
43
+ /**
44
+ * States that an artifact is a projection of the Evidence Model, by concept, and by path when one is known.
45
+ * @param evidencePath - The path the evidence was also written to, when this run wrote it.
46
+ * @returns The note.
47
+ */
48
+ readonly evidenceProjectionNote: (evidencePath?: string) => string;
49
+ }
50
+ /**
51
+ * @param describe - Returns what differs for this package. A function, not an object, for the same reason
52
+ * as the marker: an object literal written at module level is evaluated once at load, so mutation
53
+ * testing cannot attribute its values to the tests that pin them; a function's literals are evaluated
54
+ * per call.
55
+ * @returns the package's generated-file functions.
56
+ */
57
+ export declare function createGeneratedBanner(describe: () => GeneratedBannerOptions): GeneratedBanner;
58
+ //# sourceMappingURL=generated-banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-banner.d.ts","sourceRoot":"","sources":["../../../src/_ipc/generated-banner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AAEH,gEAAgE;AAChE,MAAM,WAAW,sBAAsB;IACrC,sFAAsF;IACtF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,4DAA4D;IAC5D,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,mFAAmF;IACnF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,sGAAsG;IACtG,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAA;CACtC;AAED,0DAA0D;AAC1D,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,QAAQ,CAAC,oBAAoB,EAAE,MAAM,MAAM,CAAA;IAC3C;;;;;OAKG;IACH,QAAQ,CAAC,eAAe,EAAE,CAAC,MAAM,CAAC,EAAE,IAAI,GAAG,UAAU,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,MAAM,CAAA;IACrF;;;;OAIG;IACH,QAAQ,CAAC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAA;IACtD,sHAAsH;IACtH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,MAAM,CAAA;IACzC;;;;OAIG;IACH,QAAQ,CAAC,sBAAsB,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,MAAM,CAAA;CACnE;AAWD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,sBAAsB,GAAG,eAAe,CA8C7F"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Converts one glob pattern to a `RegExp`. Handles `**` as "any number of path segments, including zero", so
3
+ * `**\/node_modules/**` matches a root-level `node_modules` and `**\/x.ts` matches a root-level file, not
4
+ * just nested ones; a plain `**` to `.*` substitution gets both wrong.
5
+ *
6
+ * One implementation for every package: build-time discovery and ESLint options need exactly the same matching,
7
+ * and four hand-kept copies (two designs) had already accumulated. This file is the canonical source; a
8
+ * package carries a managed copy (see `sync`).
9
+ */
10
+ export declare function globToRegExp(pattern: string): RegExp;
11
+ /**
12
+ * Whether a lint rule's `allow` list covers a file. ESLint gives a rule the file's absolute path, while a config
13
+ * writes its patterns relative to the working directory (`src/cli/**`), so each pattern is tested against the path
14
+ * as given and, when the file is inside `cwd`, against the path from there, written with `/` on every platform.
15
+ * (`split`/`join`, not `replaceAll`: a package that carries this copy may compile for ES2020.)
16
+ * @param patterns - the rule's `allow` globs.
17
+ * @param filename - the file as ESLint names it (`context.filename`).
18
+ * @param cwd - ESLint's working directory (`context.cwd`).
19
+ * @returns true when any pattern matches either name.
20
+ */
21
+ export declare function matchesAllowList(patterns: readonly string[], filename: string, cwd: string): boolean;
22
+ //# sourceMappingURL=glob.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"glob.d.ts","sourceRoot":"","sources":["../../../src/_ipc/glob.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CA4BpD;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,QAAQ,EAAE,MAAM,EAChB,GAAG,EAAE,MAAM,GACV,OAAO,CAeT"}
@@ -0,0 +1,34 @@
1
+ /** What differs between the packages that carry the rule: where its documentation lives and what to read. */
2
+ export interface NoNodeFsWording {
3
+ /** @returns the documentation URL for a rule of this plugin. */
4
+ readonly docsUrl: (ruleName: string) => string;
5
+ /** What the message cites for the reasoning, for example `ADR 0040`. */
6
+ readonly adr: string;
7
+ /** Where the message says the allow-list escape hatch is described, for example `the README's ESLint section`. */
8
+ readonly guide: string;
9
+ }
10
+ export interface RuleOptions {
11
+ /** Glob-array of files this rule doesn't apply to -- a project's own
12
+ * executable entry points (a CLI, a script) that legitimately construct
13
+ * the concrete filesystem adapter. Empty by default -- populate it
14
+ * explicitly; the rule never guesses at what counts as an executable
15
+ * capability boundary. */
16
+ allow?: string[];
17
+ }
18
+ /**
19
+ * Flags any `import`, re-export (`export ... from`, `export * from`), `require`, TypeScript
20
+ * `import x = require()` or dynamic `import()` of `node:fs` in library code, so a library surface acquires its filesystem capability from the
21
+ * caller instead of reaching for `node:fs` itself (the same discipline
22
+ * `repo-contract`'s ADR-0011 established for `child_process`/`process.env`).
23
+ * The wording passed in names the package's own documentation and decision record.
24
+ *
25
+ * @remarks
26
+ * Nothing is exempt by default. A package's own config allows its CLI folder, for example `src/cli/**`
27
+ * (the executable capability boundary that builds the `node:fs/promises`
28
+ * adapter); a consuming project sets its own `allow` for its own entry
29
+ * points.
30
+ */
31
+ export declare function createNoNodeFs(wording: NoNodeFsWording): import("@typescript-eslint/utils/ts-eslint").RuleModule<"noNodeFs", [RuleOptions], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
32
+ name: string;
33
+ };
34
+ //# sourceMappingURL=no-node-fs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-node-fs.d.ts","sourceRoot":"","sources":["../../../src/_ipc/no-node-fs.ts"],"names":[],"mappings":"AAQA,6GAA6G;AAC7G,MAAM,WAAW,eAAe;IAC9B,gEAAgE;IAChE,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IAC9C,wEAAwE;IACxE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,kHAAkH;IAClH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B;;;;+BAI2B;IAC3B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CACjB;AAWD;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,eAAe;;EA2EtD"}
@@ -0,0 +1,134 @@
1
+ import type TS from "typescript";
2
+ import type { BuildFileSystem } from "./build-fs.js";
3
+ /**
4
+ * TypeScript path-alias resolution.
5
+ *
6
+ * Resolves a bare import specifier (`"@/lib/env.schema.js"`) against a project's own
7
+ * `tsconfig.json` `compilerOptions.paths`/`baseUrl`, so a schema or consumer reached only
8
+ * through an alias isn't misreported by `link.ts`/`dependency-graph.ts` as unresolved or
9
+ * abandoned. Unlike a package-schema resolver, this never crosses a
10
+ * trust/versioning boundary -- every resolved file is already local, already-trusted
11
+ * project source -- so it is on by default (auto-detecting `root/tsconfig.json`) rather
12
+ * than requiring an explicit allowlist.
13
+ *
14
+ * The actual `paths`/`baseUrl` matching algorithm (longest-prefix matching, `*` wildcard
15
+ * substitution, multiple fallback targets, `extends`-chain merging, JSONC parsing) is
16
+ * delegated entirely to the TypeScript compiler via `ts.resolveModuleName()` and
17
+ * `ts.parseJsonConfigFileContent()` -- the same functions `tsc`/`tsserver` themselves use --
18
+ * rather than reimplemented here. This module's own logic is limited to loading the config,
19
+ * caching resolutions, and enforcing the `node_modules` safety boundary below.
20
+ */
21
+ /**
22
+ * The `paths`/`baseUrl` view of parsed compiler options.
23
+ *
24
+ * TypeScript 6 marks `baseUrl` deprecated in its own typings. A project's tsconfig can still set it and
25
+ * TypeScript still honours it, so path resolution has to keep reading it to resolve the way the project's own
26
+ * compiler does. Reading it through this view, which does not carry that deprecation, states that on purpose.
27
+ * @internal
28
+ */
29
+ export interface PathMappingOptions {
30
+ readonly paths?: TS.MapLike<string[]>;
31
+ readonly baseUrl?: string;
32
+ }
33
+ /**
34
+ * @param options - Parsed compiler options.
35
+ * @returns The same options, typed as the `paths`/`baseUrl` view.
36
+ * @internal
37
+ */
38
+ export declare function pathMappingOptions(options: TS.CompilerOptions): PathMappingOptions;
39
+ /** Parsed `tsconfig.json` `paths`/`baseUrl` configuration, immutable for the life of one generate*() run. See {@link loadTsconfigPaths}. */
40
+ export interface TsconfigPathsResolution {
41
+ /** The subset of `compilerOptions` `ts.resolveModuleName()` needs -- at minimum `paths` and/or `baseUrl`. */
42
+ readonly compilerOptions: TS.CompilerOptions;
43
+ /** Absolute path of the tsconfig.json this was loaded from, for diagnostics. */
44
+ readonly configFile: string;
45
+ }
46
+ /**
47
+ * Opaque memoization for {@link resolveAliasImport}, created once per generate*() run via
48
+ * {@link createAliasResolutionCache} and threaded through `ImportResolutionContext`. Kept
49
+ * distinct from `TsconfigPathsResolution` (immutable config) so the cache's internal
50
+ * representation stays free to change without touching that type's shape.
51
+ */
52
+ export interface AliasResolutionCache {
53
+ /**
54
+ * Keyed by `` `${importingFile}\0${specifier}` ``, not by `specifier` alone. With one
55
+ * fixed `compilerOptions` object and no project-reference support, `paths`-pattern
56
+ * substitution itself doesn't depend on the importing file -- but `ts.resolveModuleName()`'s
57
+ * fallback behavior when `paths` doesn't match a real file (classic-mode ancestor search,
58
+ * extension-preference edge cases) legitimately can. A `Map`, not a network call, so
59
+ * keying defensively by both costs nothing.
60
+ */
61
+ readonly resolutions: Map<string, string | undefined>;
62
+ }
63
+ /** Creates a fresh, empty {@link AliasResolutionCache} for one generate*()/computeArtifacts() run. */
64
+ export declare function createAliasResolutionCache(): AliasResolutionCache;
65
+ /** A problem with the tsconfig that is reported rather than thrown. Structurally the same as each package's own warning type. */
66
+ export interface TsconfigWarning {
67
+ /** Absolute path of the tsconfig the warning applies to. */
68
+ readonly file: string;
69
+ /** Human-readable explanation of what was skipped and why. */
70
+ readonly message: string;
71
+ }
72
+ export interface LoadTsconfigPathsResult {
73
+ readonly resolution: TsconfigPathsResolution | undefined;
74
+ readonly warning: TsconfigWarning | undefined;
75
+ }
76
+ /**
77
+ * The compiler's own functions take a path written with `/` and assert it when they report a problem in the file, so
78
+ * a path with the platform's separator (a backslash on Windows) is written with `/` for them.
79
+ * @param file - an absolute path as the platform writes it.
80
+ * @param separator - the platform's path separator.
81
+ * @returns the same path written with `/`.
82
+ */
83
+ export declare function typescriptPath(file: string, separator: string): string;
84
+ /**
85
+ * Loads and parses a `tsconfig.json` for alias resolution. Called exactly once per
86
+ * `generate*()`/`computeArtifacts()` invocation, at the same point
87
+ * `resolveAllowlistedPackages()` is already called once -- so at most one tsconfig-related
88
+ * warning is ever produced per run, never once per file scanned.
89
+ *
90
+ * @param product - The consuming package's name, used in the message when no usable compiler resolved.
91
+ * @remarks
92
+ * `tsconfigOption === false` disables alias resolution entirely.
93
+ * `tsconfigOption === undefined` (the default) looks for `root/tsconfig.json` exactly --
94
+ * deliberately not `ts.findConfigFile()`'s upward directory walk, since every other
95
+ * root-relative mechanism in this codebase (schema discovery, `packages` resolution)
96
+ * treats `root` as a hard boundary. A missing default tsconfig is silent (most projects
97
+ * don't use aliases); a missing *explicit* `tsconfigOption` is a real misconfiguration and
98
+ * warns. `jsconfig.json` is intentionally not auto-detected -- pass `tsconfig:
99
+ * "jsconfig.json"` explicitly if needed; this loader only cares about the file's JSON
100
+ * shape, not its name.
101
+ *
102
+ * The gate for building a resolution is "`paths` non-empty OR `baseUrl` set", not `paths`
103
+ * alone -- a `baseUrl`-only tsconfig (no `paths` at all) still makes TypeScript resolve
104
+ * bare specifiers relative to `baseUrl`, and `ts.resolveModuleName()` already handles that
105
+ * once `compilerOptions.baseUrl` is passed through.
106
+ */
107
+ export declare function loadTsconfigPaths(product: string, root: string, tsconfigOption: string | false | undefined, fs: BuildFileSystem): Promise<LoadTsconfigPathsResult>;
108
+ /**
109
+ * Resolves one bare import specifier against a project's `tsconfig.json` `paths`/`baseUrl`,
110
+ * or returns `undefined` if it doesn't resolve through this mechanism.
111
+ *
112
+ * @remarks
113
+ * Necessarily synchronous -- `ts.resolveModuleName()` has no async form, matching how
114
+ * `tsc`/`tsserver` themselves always call it. `ts.sys` is used directly as the resolution
115
+ * host (an existing Node-backed singleton the `typescript` package exports; nothing to
116
+ * construct).
117
+ *
118
+ * Two safety/scope filters apply to any candidate `ts.resolveModuleName()` returns,
119
+ * independent of its own internal fallback behavior:
120
+ * - **Never resolves into `node_modules`.** `ts.resolveModuleName()` can, in principle,
121
+ * fall through to classic Node resolution and land inside `node_modules`; any resolved
122
+ * path containing a `node_modules` path segment (checked after `path.normalize()`, so
123
+ * mixed separators can't slip past it on Windows) is discarded here. Bare package
124
+ * specifiers continue to be handled exclusively by `resolvePackageImport()`
125
+ * -- this mechanism never overlaps with that trust boundary.
126
+ * - **`.ts`/`.tsx` only.** Matches `resolveRelativeImport()`'s own existing candidate set
127
+ * and `resolve-package-schema.ts`'s `SCHEMA_FILE_EXTENSIONS` -- this codebase's static-
128
+ * analysis pipeline is `.ts`/`.tsx` only today. A resolved non-`.ts`/`.tsx` file is a
129
+ * real risk, not just a gap: feeding it straight into `ts.createSourceFile()` wouldn't
130
+ * error, it would silently parse garbage -- exactly the "guess" this codebase's
131
+ * warn-don't-guess philosophy exists to avoid.
132
+ */
133
+ export declare function resolveAliasImport(specifier: string, importingFile: string, resolution: TsconfigPathsResolution, cache: AliasResolutionCache): string | undefined;
134
+ //# sourceMappingURL=resolve-tsconfig-paths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-tsconfig-paths.d.ts","sourceRoot":"","sources":["../../../src/_ipc/resolve-tsconfig-paths.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAA;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD;;;;;;;;;;;;;;;;;GAi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AS,EAC1C,EAAE,EAAE,eAAe,GAClB,OAAO,CAAC,uBAAuB,CAAC,CA6ClC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,uBAAuB,EACnC,KAAK,EAAE,oBAAoB,GAC1B,MAAM,GAAG,SAAS,CAiBpB"}
@@ -0,0 +1,20 @@
1
+ import type TS from "typescript";
2
+ /** The compiler namespace the build-time scanner is written against. */
3
+ export type TypeScript = typeof TS;
4
+ /**
5
+ * Picks the compiler the scanner parses with: the consumer's `typescript` when it exposes the
6
+ * classic compiler API (TypeScript 5 and 6), otherwise the bundled `@typescript/typescript6` --
7
+ * Microsoft's side-by-side TypeScript 6 package, a dependency of the package so the scanner keeps working
8
+ * for a consumer whose own `typescript` is 7+, which ships no programmatic API. Chosen by capability, never by version,
9
+ * so a future `typescript` that regains the API is used as-is.
10
+ *
11
+ * When neither has the API (the bundled dependency was stripped from an install), it returns the
12
+ * consumer's module anyway so `assertCompilerApi` -- called at every scanner entry point -- fails
13
+ * with its readable message instead of a bare "is not a function".
14
+ * @param load - How a module id is resolved (a parameter so a test can hand in stand-ins).
15
+ * @throws Whatever `load` throws for a reason other than the module not being installed.
16
+ */
17
+ export declare function pickCompiler(load: (id: string) => unknown): TypeScript;
18
+ /** The compiler every scanner module parses with. Resolved once, synchronously, at import. */
19
+ export declare const ts: TypeScript;
20
+ //# sourceMappingURL=typescript.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../src/_ipc/typescript.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAA;AAEhC,wEAAwE;AACxE,MAAM,MAAM,UAAU,GAAG,OAAO,EAAE,CAAA;AAqClC;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,GAAG,UAAU,CAMtE;AAED,8FAA8F;AAC9F,eAAO,MAAM,EAAE,EAAE,UAAyD,CAAA"}
@@ -10,7 +10,7 @@ export interface AssembleProjectOptions {
10
10
  readonly root: string;
11
11
  readonly include: readonly string[];
12
12
  readonly exclude: readonly string[];
13
- readonly packages: readonly string[];
13
+ readonly packages?: readonly string[] | undefined;
14
14
  readonly tsconfig: string | false | undefined;
15
15
  }
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"assemble-project.d.ts","sourceRoot":"","sources":["../../../src/build/assemble-project.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAK7E,OAAO,KAAK,EACV,aAAa,EAEd,MAAM,wCAAwC,CAAA;AAM/C,2CAA2C;AAC3C,MAAM,WAAW,sBAAsB;IACrC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAA;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAA;CAC9C;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IA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;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,oBAAoB,EAC9B,gBAAgB,EAAE,SAAS,kBAAkB,EAAE,EAC/C,IAAI,EAAE,MAAM,GACX,WAAW,CAqCb"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-artifacts.d.ts","sourceRoot":"","sources":["../../../src/build/check-artifacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAU9E;;;;GAIG;AAEH,0EAA0E;AAC1E,MAAM,WAAW,oBAAoB;IACnC,sDAAsD;IACtD,QAAQ,CAAC,QAAQ,EAAE,UAAU,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,CAAA;IAC5E,sDAAsD;IACtD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,wHAAwH;IACxH,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,OAAO,GAAG,SAAS,CAAA;IAC3C,qEAAqE;IACrE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,+DAA+D;AAC/D,MAAM,WAAW,uBAAuB;IACtC,qDAAqD;IACrD,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAA;IACpB,wCAAwC;IACxC,QAAQ,CAAC,QAAQ,EAAE,SAAS,oBAAoB,EAAE,CAAA;CACnD;AA6BD;;;;;;;;GAQG;AACH,oYAAoY;AACpY,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOvE;AAqBD;;;;;;;;;;GAUG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,uBAAuB,CAAC,CA6HlC"}
1
+ {"version":3,"file":"check-artifacts.d.ts","sourceRoot":"","sources":["../../../src/build/check-artifacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAU9E;;;;G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IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,sBAAsB,CAAA;CACvC;AAkCD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,SAAS,kBAAkB,EAAE,GACvC,kBAAkB,EAAE,CAqGtB;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE,SAAS,kBAAkB,EAAE,GACvC,kBAAkB,EAAE,CAqDtB"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Fails with a readable message when the resolved compiler lacks the classic API the scanner needs. The wording
3
+ * lives in `../_ipc/compiler-api.ts`, a managed copy of internal-package-contract's `runtime/compiler-api.ts`;
4
+ * this binds it to env-cap.
5
+ * @param compiler - The resolved compiler module (a parameter so a test can hand in a stand-in).
6
+ * @throws Error naming the installed version and how to restore the bundled compiler.
7
+ */
8
+ export declare function assertCompilerApi(compiler: {
9
+ readonly createSourceFile?: unknown;
10
+ readonly version?: string;
11
+ }): void;
12
+ //# sourceMappingURL=compiler-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compiler-api.d.ts","sourceRoot":"","sources":["../../../src/build/compiler-api.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE;IAC1C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IACnC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAC1B,GAAG,IAAI,CAEP"}
@@ -11,7 +11,7 @@ import type { DynamicAccessAssertion, SourcePosition } from "./source-position.j
11
11
  * (`"indeterminate"`).
12
12
  *
13
13
  * @remarks
14
- * Deliberately narrower than `@maverickcer/data-cap`'s equivalent, which
14
+ * Deliberately narrower than `data-cap`'s equivalent, which
15
15
  * splits the unprovable case further (an unresolved *consumer* vs. an
16
16
  * indeterminate *field*). That split exists because a data-cap capability
17
17
  * exposes many fields at once, so it has a real "we resolved the consumer,
@@ -105,6 +105,8 @@ export interface DependencyGraph {
105
105
  /** Every surface actually scanned for usage -- see {@link ScannedSurface}. Always has at least one entry (the application root). */
106
106
  readonly scannedSurfaces: readonly ScannedSurface[];
107
107
  }
108
+ /** Sorts two positions by file, then line. @internal Exported for direct unit coverage. */
109
+ export declare function byPosition(a: SourcePosition, b: SourcePosition): number;
108
110
  export declare function buildDependencyGraph(contracts: readonly DiscoveredContract[], scanFiles: readonly string[], readFile: (filePath: string) => Promise<string>, context: ImportResolutionContext, scannedSurfaces?: readonly ScannedSurface[], dynamicAccessAcknowledgments?: ReadonlyMap<string, readonly DynamicAccessAssertion[]>): Promise<DependencyGraph>;
109
111
  interface AbandonedOwnershipFinding {
110
112
  readonly file: string;
@@ -1 +1 @@
1
- {"version":3,"file":"dependency-graph.d.ts","sourceRoot":"","sources":["../../../src/build/dependency-graph.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,YAAY,EAAkB,MAAM,wBAAwB,CAAA;AAEtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAG7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAElF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,YAAY,GAAG,eAAe,CAAA;AAE1E;;;;;;;;GAQG;AACH,KAAK,SAAS,GAAG,YAAY,GAAG,WAAW,CAAA;AAE3C,6HAA6H;AAC7H,UAAU,UAAW,SAAQ,cAAc;IACzC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAA;CACxB;AAED,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAA;IACrC;;;mBAGe;IACf,QAAQ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C,MAAM,CAAC,EAC/C,OAAO,EAAE,uBAAuB,EAChC,IAAI,EAAE,MAAM,EACZ,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,EAC3C,4BAA4B,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,sBAAsB,EAAE,CAAC,GACpF,OAAO,CAAC,eAAe,CAAC,CAmE1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../../src/build/discover.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,+CAA+C;AAC/C,MAAM,WAAW,eAAe;IAC9B,iFAAiF;IACjF,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAA;IAC5B,qCAAqC;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,2FAA2F;IAC3F,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,iGAAiG;IACjG,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;AAkBD;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAwCrF"}
1
+ {"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../../src/build/discover.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,+CAA+C;AAC/C,MAAM,WAAW,eAAe;IAC9B,iFAAiF;IACjF,QAAQ,CAAC,EAAE,EAAE,eAAe,CAAA;IAC5B,qCAAqC;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,2FAA2F;IAC3F,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,iGAAiG;IACjG,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;AAkBD;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA+BrF"}
@@ -1,24 +1,6 @@
1
1
  /**
2
- * Renders an absolute path for a human-facing generated artifact
3
- * (`ENVIRONMENT.md`/`OWNERSHIP.md`) or a root-relative canonical model field,
4
- * root-relative when possible. The one place this conversion lives -- every
5
- * model builder and renderer that needs "the path as a reader should see it"
6
- * goes through this, so two of them can never disagree about the form of the
7
- * same file's path (which would silently break every `${file}#${exportName}`
8
- * lookup that crosses between them).
9
- *
10
- * A `DiscoveredContract.file` keeps its own absolute path untouched -- that's
11
- * the correct, unambiguous fact, and what stays sane when discovery spans
12
- * multiple roots (a `packages`-discovered file living outside `root`
13
- * entirely, ADR 0014).
2
+ * Root-relative paths for published artifacts, bound to env-cap. The behavior lives in
3
+ * `../_ipc/display-path.ts`, a managed copy of internal-package-contract's `runtime/display-path.ts`.
14
4
  */
15
- /**
16
- * Renders `absolutePath` relative to `root`, POSIX-separated regardless of
17
- * platform (matching every other rendered path in this package's Markdown and
18
- * JSON output). Falls back to `absolutePath` itself, unchanged, whenever the
19
- * result would need to climb outside `root` (a `packages`-discovered file, or
20
- * any other path not under root) -- never manufactures a `../` escape, which
21
- * reads as a real relative path to a consumer and resolves to nothing useful.
22
- */
23
- export declare function displayPath(root: string, absolutePath: string): string;
5
+ export { displayPath } from "../_ipc/display-path.js";
24
6
  //# sourceMappingURL=display-path.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"display-path.d.ts","sourceRoot":"","sources":["../../../src/build/display-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAItE"}
1
+ {"version":3,"file":"display-path.d.ts","sourceRoot":"","sources":["../../../src/build/display-path.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA"}
@@ -34,7 +34,7 @@ export interface RenderDocsOptions {
34
34
  readonly expiringWithinDays: number;
35
35
  /** Contracts with no linked `documentEnv()` call at all. `file` must be root-relative, POSIX-separated -- matching `contracts`' own `ContractModel` convention, since this is matched against it by identity. */
36
36
  readonly undocumentedContracts: readonly UndocumentedContractRef[];
37
- /** Schema variables with no matching entry in their contract's linked documentation. `file` must be root-relative, POSIX-separated -- see `undocumentedContracts`. */
37
+ /** Schema variables with no matching entry in their contract's linked documentation. Only how many there are is rendered (the security-review counter), so `file` is not matched against anything. */
38
38
  readonly undocumentedVariables: readonly UndocumentedVariableRef[];
39
39
  /** Timestamp rendered into the header and used for expiry/days-remaining math. */
40
40
  readonly generatedAt: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../src/build/docs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,qBAAqB,CAAA;AACvF,OAAO,EAAsB,KAAK,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACrF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAA;AAe5D,6YAA6Y;AAC7Y,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,4CAA4C;IAC5C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC5B;AACD,4JAA4J;AAC5J,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,4CAA4C;IAC5C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,kDAAkD;IAClD,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACrB;AACD,wGAAwG;AACxG,MAAM,WAAW,aAAa;IAC5B,wDAAwD;IACxD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,4CAA4C;I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