universal-physics-tensor 0.47.1 → 1.0.1

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 (591) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +396 -383
  3. package/bin/upt.mjs +7 -1
  4. package/dist/atlas/benchmark/hybrid-retrieval.d.ts +108 -0
  5. package/dist/atlas/benchmark/hybrid-retrieval.d.ts.map +1 -0
  6. package/dist/atlas/benchmark/hybrid-retrieval.js +241 -0
  7. package/dist/atlas/benchmark/hybrid-retrieval.js.map +1 -0
  8. package/dist/atlas/catalog-formal-ref.d.ts +24 -0
  9. package/dist/atlas/catalog-formal-ref.d.ts.map +1 -0
  10. package/dist/atlas/catalog-formal-ref.js +36 -0
  11. package/dist/atlas/catalog-formal-ref.js.map +1 -0
  12. package/dist/atlas/composition-table.d.ts +11 -46
  13. package/dist/atlas/composition-table.d.ts.map +1 -1
  14. package/dist/atlas/composition-table.js +7 -124
  15. package/dist/atlas/composition-table.js.map +1 -1
  16. package/dist/atlas/conventions.d.ts +4 -58
  17. package/dist/atlas/conventions.d.ts.map +1 -1
  18. package/dist/atlas/conventions.js +3 -88
  19. package/dist/atlas/conventions.js.map +1 -1
  20. package/dist/atlas/derive-evidence.d.ts +50 -3
  21. package/dist/atlas/derive-evidence.d.ts.map +1 -1
  22. package/dist/atlas/derive-evidence.js +73 -4
  23. package/dist/atlas/derive-evidence.js.map +1 -1
  24. package/dist/atlas/diffusion/bridges-closure.d.ts.map +1 -1
  25. package/dist/atlas/diffusion/bridges-closure.js +5 -1
  26. package/dist/atlas/diffusion/bridges-closure.js.map +1 -1
  27. package/dist/atlas/index.d.ts +9 -7
  28. package/dist/atlas/index.d.ts.map +1 -1
  29. package/dist/atlas/index.js +6 -5
  30. package/dist/atlas/index.js.map +1 -1
  31. package/dist/atlas/oscillators/bridges-exact.d.ts.map +1 -1
  32. package/dist/atlas/oscillators/bridges-exact.js +6 -0
  33. package/dist/atlas/oscillators/bridges-exact.js.map +1 -1
  34. package/dist/atlas/oscillators/bridges-limits.d.ts +2 -0
  35. package/dist/atlas/oscillators/bridges-limits.d.ts.map +1 -1
  36. package/dist/atlas/oscillators/bridges-limits.js +11 -19
  37. package/dist/atlas/oscillators/bridges-limits.js.map +1 -1
  38. package/dist/atlas/oscillators/limit-witnesses.d.ts +93 -0
  39. package/dist/atlas/oscillators/limit-witnesses.d.ts.map +1 -0
  40. package/dist/atlas/oscillators/limit-witnesses.js +152 -0
  41. package/dist/atlas/oscillators/limit-witnesses.js.map +1 -0
  42. package/dist/atlas/oscillators/models.d.ts +2 -1
  43. package/dist/atlas/oscillators/models.d.ts.map +1 -1
  44. package/dist/atlas/oscillators/models.js +4 -3
  45. package/dist/atlas/oscillators/models.js.map +1 -1
  46. package/dist/atlas/oscillators/norm-transport-witness.d.ts +37 -0
  47. package/dist/atlas/oscillators/norm-transport-witness.d.ts.map +1 -0
  48. package/dist/atlas/oscillators/norm-transport-witness.js +58 -0
  49. package/dist/atlas/oscillators/norm-transport-witness.js.map +1 -0
  50. package/dist/atlas/oscillators/norm-transport.d.ts +44 -0
  51. package/dist/atlas/oscillators/norm-transport.d.ts.map +1 -0
  52. package/dist/atlas/oscillators/norm-transport.js +66 -0
  53. package/dist/atlas/oscillators/norm-transport.js.map +1 -0
  54. package/dist/atlas/oscillators/norms.d.ts +11 -0
  55. package/dist/atlas/oscillators/norms.d.ts.map +1 -0
  56. package/dist/atlas/oscillators/norms.js +11 -0
  57. package/dist/atlas/oscillators/norms.js.map +1 -0
  58. package/dist/atlas/oscillators/pendulum-motion.d.ts +38 -0
  59. package/dist/atlas/oscillators/pendulum-motion.d.ts.map +1 -0
  60. package/dist/atlas/oscillators/pendulum-motion.js +122 -0
  61. package/dist/atlas/oscillators/pendulum-motion.js.map +1 -0
  62. package/dist/atlas/oscillators/phase-carriage.d.ts +38 -0
  63. package/dist/atlas/oscillators/phase-carriage.d.ts.map +1 -0
  64. package/dist/atlas/oscillators/phase-carriage.js +96 -0
  65. package/dist/atlas/oscillators/phase-carriage.js.map +1 -0
  66. package/dist/atlas/oscillators/phase-translation.d.ts +46 -0
  67. package/dist/atlas/oscillators/phase-translation.d.ts.map +1 -0
  68. package/dist/atlas/oscillators/phase-translation.js +178 -0
  69. package/dist/atlas/oscillators/phase-translation.js.map +1 -0
  70. package/dist/atlas/oscillators/position-translation.d.ts +59 -0
  71. package/dist/atlas/oscillators/position-translation.d.ts.map +1 -0
  72. package/dist/atlas/oscillators/position-translation.js +254 -0
  73. package/dist/atlas/oscillators/position-translation.js.map +1 -0
  74. package/dist/atlas/path-bound.d.ts +126 -9
  75. package/dist/atlas/path-bound.d.ts.map +1 -1
  76. package/dist/atlas/path-bound.js +372 -23
  77. package/dist/atlas/path-bound.js.map +1 -1
  78. package/dist/atlas/physjs-ref.d.ts +112 -0
  79. package/dist/atlas/physjs-ref.d.ts.map +1 -0
  80. package/dist/atlas/physjs-ref.js +842 -0
  81. package/dist/atlas/physjs-ref.js.map +1 -0
  82. package/dist/atlas/regime.d.ts +12 -136
  83. package/dist/atlas/regime.d.ts.map +1 -1
  84. package/dist/atlas/regime.js +8 -254
  85. package/dist/atlas/regime.js.map +1 -1
  86. package/dist/atlas/serialize.d.ts.map +1 -1
  87. package/dist/atlas/serialize.js +25 -0
  88. package/dist/atlas/serialize.js.map +1 -1
  89. package/dist/atlas/translation-registry.d.ts +22 -0
  90. package/dist/atlas/translation-registry.d.ts.map +1 -0
  91. package/dist/atlas/translation-registry.js +31 -0
  92. package/dist/atlas/translation-registry.js.map +1 -0
  93. package/dist/atlas/translation.d.ts +116 -0
  94. package/dist/atlas/translation.d.ts.map +1 -0
  95. package/dist/atlas/translation.js +34 -0
  96. package/dist/atlas/translation.js.map +1 -0
  97. package/dist/atlas/types.d.ts +74 -240
  98. package/dist/atlas/types.d.ts.map +1 -1
  99. package/dist/atlas/types.js +5 -37
  100. package/dist/atlas/types.js.map +1 -1
  101. package/dist/atlas/waves/bridges-closure.d.ts.map +1 -1
  102. package/dist/atlas/waves/bridges-closure.js +4 -0
  103. package/dist/atlas/waves/bridges-closure.js.map +1 -1
  104. package/dist/atlas/waves/bridges.d.ts.map +1 -1
  105. package/dist/atlas/waves/bridges.js +3 -0
  106. package/dist/atlas/waves/bridges.js.map +1 -1
  107. package/dist/atlas/waves/models.js +1 -1
  108. package/dist/atlas/waves/models.js.map +1 -1
  109. package/dist/atlas/witness-dominance.d.ts +50 -0
  110. package/dist/atlas/witness-dominance.d.ts.map +1 -0
  111. package/dist/atlas/witness-dominance.js +86 -0
  112. package/dist/atlas/witness-dominance.js.map +1 -0
  113. package/dist/atlas/witness-specs.d.ts +30 -0
  114. package/dist/atlas/witness-specs.d.ts.map +1 -1
  115. package/dist/atlas/witness-specs.js +107 -0
  116. package/dist/atlas/witness-specs.js.map +1 -1
  117. package/dist/bridges/be53-yang-mills-confrontation.d.ts +81 -0
  118. package/dist/bridges/be53-yang-mills-confrontation.d.ts.map +1 -0
  119. package/dist/bridges/be53-yang-mills-confrontation.js +110 -0
  120. package/dist/bridges/be53-yang-mills-confrontation.js.map +1 -0
  121. package/dist/bridges/confrontations.d.ts +1 -1
  122. package/dist/bridges/confrontations.d.ts.map +1 -1
  123. package/dist/bridges/confrontations.js +291 -3
  124. package/dist/bridges/confrontations.js.map +1 -1
  125. package/dist/bridges/equations/be-13-einstein-trace.d.ts +2 -3
  126. package/dist/bridges/equations/be-13-einstein-trace.d.ts.map +1 -1
  127. package/dist/bridges/equations/be-13-einstein-trace.js +2 -3
  128. package/dist/bridges/equations/be-13-einstein-trace.js.map +1 -1
  129. package/dist/bridges/equations/be-38-mond.d.ts +7 -5
  130. package/dist/bridges/equations/be-38-mond.d.ts.map +1 -1
  131. package/dist/bridges/equations/be-38-mond.js +7 -5
  132. package/dist/bridges/equations/be-38-mond.js.map +1 -1
  133. package/dist/bridges/equations/be-53-yang-mills-beta.d.ts +21 -0
  134. package/dist/bridges/equations/be-53-yang-mills-beta.d.ts.map +1 -1
  135. package/dist/bridges/equations/be-53-yang-mills-beta.js +12 -0
  136. package/dist/bridges/equations/be-53-yang-mills-beta.js.map +1 -1
  137. package/dist/bridges/evaluator-inputs.d.ts +21 -0
  138. package/dist/bridges/evaluator-inputs.d.ts.map +1 -0
  139. package/dist/bridges/evaluator-inputs.js +75 -0
  140. package/dist/bridges/evaluator-inputs.js.map +1 -0
  141. package/dist/bridges/evaluators.d.ts +38 -0
  142. package/dist/bridges/evaluators.d.ts.map +1 -1
  143. package/dist/bridges/evaluators.js +41 -15
  144. package/dist/bridges/evaluators.js.map +1 -1
  145. package/dist/bridges/gravitational-lensing.d.ts +1 -1
  146. package/dist/bridges/gravitational-lensing.js +1 -1
  147. package/dist/bridges/index.d.ts +1 -1
  148. package/dist/bridges/index.d.ts.map +1 -1
  149. package/dist/bridges/index.js +13 -13
  150. package/dist/bridges/index.js.map +1 -1
  151. package/dist/bridges/observations/types.d.ts +110 -2
  152. package/dist/bridges/observations/types.d.ts.map +1 -1
  153. package/dist/bridges/observations/types.js +29 -0
  154. package/dist/bridges/observations/types.js.map +1 -1
  155. package/dist/bridges/perihelion-precession.d.ts +1 -1
  156. package/dist/bridges/perihelion-precession.js +1 -1
  157. package/dist/canonical/canonical-equation.d.ts +1 -1
  158. package/dist/canonical/canonical-equation.d.ts.map +1 -1
  159. package/dist/canonical/entries/atomic.d.ts.map +1 -1
  160. package/dist/canonical/entries/atomic.js +32 -10
  161. package/dist/canonical/entries/atomic.js.map +1 -1
  162. package/dist/canonical/entries/dimensional-classics.js +2 -2
  163. package/dist/canonical/entries/dimensional-classics.js.map +1 -1
  164. package/dist/canonical/entries/mechanics.d.ts.map +1 -1
  165. package/dist/canonical/entries/mechanics.js +10 -6
  166. package/dist/canonical/entries/mechanics.js.map +1 -1
  167. package/dist/canonical/entries/relativity.d.ts.map +1 -1
  168. package/dist/canonical/entries/relativity.js +41 -8
  169. package/dist/canonical/entries/relativity.js.map +1 -1
  170. package/dist/canonical/entries/thermo-nuclear-cosmo.js +5 -5
  171. package/dist/canonical/entries/thermo-nuclear-cosmo.js.map +1 -1
  172. package/dist/canonical/linkage.d.ts.map +1 -1
  173. package/dist/canonical/linkage.js +14 -8
  174. package/dist/canonical/linkage.js.map +1 -1
  175. package/dist/canonical/normal-form.d.ts +17 -0
  176. package/dist/canonical/normal-form.d.ts.map +1 -1
  177. package/dist/canonical/normal-form.js +21 -4
  178. package/dist/canonical/normal-form.js.map +1 -1
  179. package/dist/cases/brownian-sphere.d.ts +68 -0
  180. package/dist/cases/brownian-sphere.d.ts.map +1 -0
  181. package/dist/cases/brownian-sphere.js +353 -0
  182. package/dist/cases/brownian-sphere.js.map +1 -0
  183. package/dist/cases/damped-resonator.d.ts +23 -0
  184. package/dist/cases/damped-resonator.d.ts.map +1 -0
  185. package/dist/cases/damped-resonator.js +224 -0
  186. package/dist/cases/damped-resonator.js.map +1 -0
  187. package/dist/cases/index.d.ts +11 -0
  188. package/dist/cases/index.d.ts.map +1 -0
  189. package/dist/cases/index.js +29 -0
  190. package/dist/cases/index.js.map +1 -0
  191. package/dist/cases/kepler-rv.d.ts +13 -0
  192. package/dist/cases/kepler-rv.d.ts.map +1 -0
  193. package/dist/cases/kepler-rv.js +168 -0
  194. package/dist/cases/kepler-rv.js.map +1 -0
  195. package/dist/cases/lumped-cooling.d.ts +46 -0
  196. package/dist/cases/lumped-cooling.d.ts.map +1 -0
  197. package/dist/cases/lumped-cooling.js +261 -0
  198. package/dist/cases/lumped-cooling.js.map +1 -0
  199. package/dist/cases/quadrature.d.ts +14 -0
  200. package/dist/cases/quadrature.d.ts.map +1 -0
  201. package/dist/cases/quadrature.js +41 -0
  202. package/dist/cases/quadrature.js.map +1 -0
  203. package/dist/cases/resistor-noise.d.ts +14 -0
  204. package/dist/cases/resistor-noise.d.ts.map +1 -0
  205. package/dist/cases/resistor-noise.js +210 -0
  206. package/dist/cases/resistor-noise.js.map +1 -0
  207. package/dist/cases/skin-depth.d.ts +21 -0
  208. package/dist/cases/skin-depth.d.ts.map +1 -0
  209. package/dist/cases/skin-depth.js +174 -0
  210. package/dist/cases/skin-depth.js.map +1 -0
  211. package/dist/cases/types.d.ts +115 -0
  212. package/dist/cases/types.d.ts.map +1 -0
  213. package/dist/cases/types.js +20 -0
  214. package/dist/cases/types.js.map +1 -0
  215. package/dist/cli/commands/_atlas-map.d.ts +409 -0
  216. package/dist/cli/commands/_atlas-map.d.ts.map +1 -0
  217. package/dist/cli/commands/_atlas-map.js +1014 -0
  218. package/dist/cli/commands/_atlas-map.js.map +1 -0
  219. package/dist/cli/commands/_atlas-route.d.ts +111 -0
  220. package/dist/cli/commands/_atlas-route.d.ts.map +1 -0
  221. package/dist/cli/commands/_atlas-route.js +140 -0
  222. package/dist/cli/commands/_atlas-route.js.map +1 -0
  223. package/dist/cli/commands/_discovery-opts.d.ts.map +1 -1
  224. package/dist/cli/commands/_discovery-opts.js +10 -1
  225. package/dist/cli/commands/_discovery-opts.js.map +1 -1
  226. package/dist/cli/commands/atlas.d.ts +20 -0
  227. package/dist/cli/commands/atlas.d.ts.map +1 -1
  228. package/dist/cli/commands/atlas.js +333 -19
  229. package/dist/cli/commands/atlas.js.map +1 -1
  230. package/dist/cli/commands/audit.d.ts.map +1 -1
  231. package/dist/cli/commands/audit.js +12 -3
  232. package/dist/cli/commands/audit.js.map +1 -1
  233. package/dist/cli/commands/axes.js +4 -4
  234. package/dist/cli/commands/candidates.d.ts.map +1 -1
  235. package/dist/cli/commands/candidates.js +3 -2
  236. package/dist/cli/commands/candidates.js.map +1 -1
  237. package/dist/cli/commands/canonical.d.ts.map +1 -1
  238. package/dist/cli/commands/canonical.js +39 -10
  239. package/dist/cli/commands/canonical.js.map +1 -1
  240. package/dist/cli/commands/confront.d.ts.map +1 -1
  241. package/dist/cli/commands/confront.js +210 -28
  242. package/dist/cli/commands/confront.js.map +1 -1
  243. package/dist/cli/commands/connectors.d.ts.map +1 -1
  244. package/dist/cli/commands/connectors.js +5 -4
  245. package/dist/cli/commands/connectors.js.map +1 -1
  246. package/dist/cli/commands/coverage.js +3 -3
  247. package/dist/cli/commands/derive.d.ts.map +1 -1
  248. package/dist/cli/commands/derive.js +21 -9
  249. package/dist/cli/commands/derive.js.map +1 -1
  250. package/dist/cli/commands/discover.d.ts.map +1 -1
  251. package/dist/cli/commands/discover.js +149 -32
  252. package/dist/cli/commands/discover.js.map +1 -1
  253. package/dist/cli/commands/eval.d.ts.map +1 -1
  254. package/dist/cli/commands/eval.js +76 -17
  255. package/dist/cli/commands/eval.js.map +1 -1
  256. package/dist/cli/commands/evaluate.d.ts +30 -0
  257. package/dist/cli/commands/evaluate.d.ts.map +1 -1
  258. package/dist/cli/commands/evaluate.js +440 -25
  259. package/dist/cli/commands/evaluate.js.map +1 -1
  260. package/dist/cli/commands/explain.d.ts.map +1 -1
  261. package/dist/cli/commands/explain.js +38 -11
  262. package/dist/cli/commands/explain.js.map +1 -1
  263. package/dist/cli/commands/frontier.d.ts +3 -0
  264. package/dist/cli/commands/frontier.d.ts.map +1 -0
  265. package/dist/cli/commands/frontier.js +28 -0
  266. package/dist/cli/commands/frontier.js.map +1 -0
  267. package/dist/cli/commands/ground.d.ts.map +1 -1
  268. package/dist/cli/commands/ground.js +37 -12
  269. package/dist/cli/commands/ground.js.map +1 -1
  270. package/dist/cli/commands/index.d.ts +5 -0
  271. package/dist/cli/commands/index.d.ts.map +1 -1
  272. package/dist/cli/commands/index.js +5 -0
  273. package/dist/cli/commands/index.js.map +1 -1
  274. package/dist/cli/commands/map.d.ts +8 -0
  275. package/dist/cli/commands/map.d.ts.map +1 -1
  276. package/dist/cli/commands/map.js +385 -57
  277. package/dist/cli/commands/map.js.map +1 -1
  278. package/dist/cli/commands/metric.d.ts +3 -0
  279. package/dist/cli/commands/metric.d.ts.map +1 -0
  280. package/dist/cli/commands/metric.js +136 -0
  281. package/dist/cli/commands/metric.js.map +1 -0
  282. package/dist/cli/commands/path.d.ts +109 -1
  283. package/dist/cli/commands/path.d.ts.map +1 -1
  284. package/dist/cli/commands/path.js +1019 -109
  285. package/dist/cli/commands/path.js.map +1 -1
  286. package/dist/cli/commands/predict.d.ts.map +1 -1
  287. package/dist/cli/commands/predict.js +3 -2
  288. package/dist/cli/commands/predict.js.map +1 -1
  289. package/dist/cli/commands/priority.d.ts.map +1 -1
  290. package/dist/cli/commands/priority.js +3 -2
  291. package/dist/cli/commands/priority.js.map +1 -1
  292. package/dist/cli/commands/probe.d.ts +7 -0
  293. package/dist/cli/commands/probe.d.ts.map +1 -1
  294. package/dist/cli/commands/probe.js +234 -52
  295. package/dist/cli/commands/probe.js.map +1 -1
  296. package/dist/cli/commands/recover.d.ts.map +1 -1
  297. package/dist/cli/commands/recover.js +17 -6
  298. package/dist/cli/commands/recover.js.map +1 -1
  299. package/dist/cli/commands/regime.d.ts +1 -1
  300. package/dist/cli/commands/regime.d.ts.map +1 -1
  301. package/dist/cli/commands/regime.js +134 -33
  302. package/dist/cli/commands/regime.js.map +1 -1
  303. package/dist/cli/commands/retrieve.d.ts +3 -0
  304. package/dist/cli/commands/retrieve.d.ts.map +1 -0
  305. package/dist/cli/commands/retrieve.js +65 -0
  306. package/dist/cli/commands/retrieve.js.map +1 -0
  307. package/dist/cli/commands/search.d.ts +3 -0
  308. package/dist/cli/commands/search.d.ts.map +1 -0
  309. package/dist/cli/commands/search.js +70 -0
  310. package/dist/cli/commands/search.js.map +1 -0
  311. package/dist/cli/commands/symbolic.d.ts.map +1 -1
  312. package/dist/cli/commands/symbolic.js +107 -16
  313. package/dist/cli/commands/symbolic.js.map +1 -1
  314. package/dist/cli/commands/testplan.d.ts +3 -0
  315. package/dist/cli/commands/testplan.d.ts.map +1 -0
  316. package/dist/cli/commands/testplan.js +131 -0
  317. package/dist/cli/commands/testplan.js.map +1 -0
  318. package/dist/cli/conventions.d.ts +22 -0
  319. package/dist/cli/conventions.d.ts.map +1 -0
  320. package/dist/cli/conventions.js +48 -0
  321. package/dist/cli/conventions.js.map +1 -0
  322. package/dist/cli/euler-guard.d.ts +9 -0
  323. package/dist/cli/euler-guard.d.ts.map +1 -0
  324. package/dist/cli/euler-guard.js +11 -0
  325. package/dist/cli/euler-guard.js.map +1 -0
  326. package/dist/cli/eval-numbers.d.ts +26 -0
  327. package/dist/cli/eval-numbers.d.ts.map +1 -0
  328. package/dist/cli/eval-numbers.js +49 -0
  329. package/dist/cli/eval-numbers.js.map +1 -0
  330. package/dist/cli/expr-print.d.ts +25 -0
  331. package/dist/cli/expr-print.d.ts.map +1 -0
  332. package/dist/cli/expr-print.js +123 -0
  333. package/dist/cli/expr-print.js.map +1 -0
  334. package/dist/cli/graphs.d.ts +26 -0
  335. package/dist/cli/graphs.d.ts.map +1 -1
  336. package/dist/cli/graphs.js +19 -0
  337. package/dist/cli/graphs.js.map +1 -1
  338. package/dist/cli/main.d.ts +4 -10
  339. package/dist/cli/main.d.ts.map +1 -1
  340. package/dist/cli/main.js +370 -167
  341. package/dist/cli/main.js.map +1 -1
  342. package/dist/cli/map-evidence.d.ts +47 -0
  343. package/dist/cli/map-evidence.d.ts.map +1 -0
  344. package/dist/cli/map-evidence.js +53 -0
  345. package/dist/cli/map-evidence.js.map +1 -0
  346. package/dist/cli/output.d.ts +21 -1
  347. package/dist/cli/output.d.ts.map +1 -1
  348. package/dist/cli/output.js +5 -1
  349. package/dist/cli/output.js.map +1 -1
  350. package/dist/{composition → cli}/poster-source.d.ts +3 -2
  351. package/dist/cli/poster-source.d.ts.map +1 -0
  352. package/dist/{composition → cli}/poster-source.js +2 -1
  353. package/dist/cli/poster-source.js.map +1 -0
  354. package/dist/cli/record-reach.d.ts +44 -0
  355. package/dist/cli/record-reach.d.ts.map +1 -0
  356. package/dist/cli/record-reach.js +228 -0
  357. package/dist/cli/record-reach.js.map +1 -0
  358. package/dist/cli/record-tables.d.ts +38 -0
  359. package/dist/cli/record-tables.d.ts.map +1 -0
  360. package/dist/cli/record-tables.js +110 -0
  361. package/dist/cli/record-tables.js.map +1 -0
  362. package/dist/cli/record.d.ts +141 -0
  363. package/dist/cli/record.d.ts.map +1 -0
  364. package/dist/cli/record.js +612 -0
  365. package/dist/cli/record.js.map +1 -0
  366. package/dist/cli/search-index.d.ts +56 -0
  367. package/dist/cli/search-index.d.ts.map +1 -0
  368. package/dist/cli/search-index.js +190 -0
  369. package/dist/cli/search-index.js.map +1 -0
  370. package/dist/cli/statuses.d.ts +25 -0
  371. package/dist/cli/statuses.d.ts.map +1 -0
  372. package/dist/cli/statuses.js +276 -0
  373. package/dist/cli/statuses.js.map +1 -0
  374. package/dist/cli/version.d.ts +8 -0
  375. package/dist/cli/version.d.ts.map +1 -1
  376. package/dist/cli/version.js +32 -1
  377. package/dist/cli/version.js.map +1 -1
  378. package/dist/cli-api.d.ts +33 -15
  379. package/dist/cli-api.d.ts.map +1 -1
  380. package/dist/cli-api.js +31 -11
  381. package/dist/cli-api.js.map +1 -1
  382. package/dist/composition/bridge-analysis.d.ts.map +1 -1
  383. package/dist/composition/bridge-analysis.js +2 -1
  384. package/dist/composition/bridge-analysis.js.map +1 -1
  385. package/dist/composition/canonical-compare.d.ts +29 -16
  386. package/dist/composition/canonical-compare.d.ts.map +1 -1
  387. package/dist/composition/canonical-compare.js +355 -59
  388. package/dist/composition/canonical-compare.js.map +1 -1
  389. package/dist/composition/canonical-graph.d.ts +2 -2
  390. package/dist/composition/canonical-graph.js +3 -3
  391. package/dist/composition/canonical-graph.js.map +1 -1
  392. package/dist/composition/canonical-prefactors.d.ts +24 -1
  393. package/dist/composition/canonical-prefactors.d.ts.map +1 -1
  394. package/dist/composition/canonical-prefactors.js +97 -1
  395. package/dist/composition/canonical-prefactors.js.map +1 -1
  396. package/dist/composition/compose-symbolic.js +1 -1
  397. package/dist/composition/compose-symbolic.js.map +1 -1
  398. package/dist/composition/compose.d.ts.map +1 -1
  399. package/dist/composition/compose.js +17 -9
  400. package/dist/composition/compose.js.map +1 -1
  401. package/dist/composition/composition-recovery.d.ts +47 -0
  402. package/dist/composition/composition-recovery.d.ts.map +1 -0
  403. package/dist/composition/composition-recovery.js +77 -0
  404. package/dist/composition/composition-recovery.js.map +1 -0
  405. package/dist/composition/consequence.d.ts +39 -0
  406. package/dist/composition/consequence.d.ts.map +1 -1
  407. package/dist/composition/consequence.js +37 -0
  408. package/dist/composition/consequence.js.map +1 -1
  409. package/dist/composition/discovery.d.ts +20 -0
  410. package/dist/composition/discovery.d.ts.map +1 -1
  411. package/dist/composition/discovery.js +27 -5
  412. package/dist/composition/discovery.js.map +1 -1
  413. package/dist/composition/edge.d.ts +1 -1
  414. package/dist/composition/edge.d.ts.map +1 -1
  415. package/dist/composition/edge.js.map +1 -1
  416. package/dist/composition/edges/_catalog-helpers.d.ts +4 -0
  417. package/dist/composition/edges/_catalog-helpers.d.ts.map +1 -1
  418. package/dist/composition/edges/_catalog-helpers.js +15 -0
  419. package/dist/composition/edges/_catalog-helpers.js.map +1 -1
  420. package/dist/composition/edges/calibration.d.ts.map +1 -1
  421. package/dist/composition/edges/calibration.js +57 -0
  422. package/dist/composition/edges/calibration.js.map +1 -1
  423. package/dist/composition/edges/catalog-fields.d.ts.map +1 -1
  424. package/dist/composition/edges/catalog-fields.js +2 -1
  425. package/dist/composition/edges/catalog-fields.js.map +1 -1
  426. package/dist/composition/edges/catalog-gravitation-cosmology.d.ts.map +1 -1
  427. package/dist/composition/edges/catalog-gravitation-cosmology.js +2 -1
  428. package/dist/composition/edges/catalog-gravitation-cosmology.js.map +1 -1
  429. package/dist/composition/edges/catalog-quantum.d.ts.map +1 -1
  430. package/dist/composition/edges/catalog-quantum.js +26 -0
  431. package/dist/composition/edges/catalog-quantum.js.map +1 -1
  432. package/dist/composition/edges/catalog-tranche.d.ts.map +1 -1
  433. package/dist/composition/edges/catalog-tranche.js +2 -1
  434. package/dist/composition/edges/catalog-tranche.js.map +1 -1
  435. package/dist/composition/expr-eval.d.ts.map +1 -1
  436. package/dist/composition/expr-eval.js +4 -1
  437. package/dist/composition/expr-eval.js.map +1 -1
  438. package/dist/composition/expr-simplify.js +1 -1
  439. package/dist/composition/expr-simplify.js.map +1 -1
  440. package/dist/composition/frontier-account.d.ts +78 -0
  441. package/dist/composition/frontier-account.d.ts.map +1 -0
  442. package/dist/composition/frontier-account.js +127 -0
  443. package/dist/composition/frontier-account.js.map +1 -0
  444. package/dist/composition/graph-viz.d.ts +7 -22
  445. package/dist/composition/graph-viz.d.ts.map +1 -1
  446. package/dist/composition/graph-viz.js +4 -27
  447. package/dist/composition/graph-viz.js.map +1 -1
  448. package/dist/composition/grounding.d.ts +49 -0
  449. package/dist/composition/grounding.d.ts.map +1 -1
  450. package/dist/composition/grounding.js +38 -0
  451. package/dist/composition/grounding.js.map +1 -1
  452. package/dist/composition/index.d.ts +0 -2
  453. package/dist/composition/index.d.ts.map +1 -1
  454. package/dist/composition/index.js +1 -1
  455. package/dist/composition/index.js.map +1 -1
  456. package/dist/composition/probe/expression-gaps.d.ts +27 -0
  457. package/dist/composition/probe/expression-gaps.d.ts.map +1 -0
  458. package/dist/composition/probe/expression-gaps.js +47 -0
  459. package/dist/composition/probe/expression-gaps.js.map +1 -0
  460. package/dist/composition/probe/frontier.d.ts +2 -1
  461. package/dist/composition/probe/frontier.d.ts.map +1 -1
  462. package/dist/composition/probe/frontier.js +3 -2
  463. package/dist/composition/probe/frontier.js.map +1 -1
  464. package/dist/composition/probe/index.d.ts +4 -1
  465. package/dist/composition/probe/index.d.ts.map +1 -1
  466. package/dist/composition/probe/index.js +3 -1
  467. package/dist/composition/probe/index.js.map +1 -1
  468. package/dist/composition/probe/pipeline.d.ts +2 -0
  469. package/dist/composition/probe/pipeline.d.ts.map +1 -1
  470. package/dist/composition/probe/pipeline.js +6 -2
  471. package/dist/composition/probe/pipeline.js.map +1 -1
  472. package/dist/composition/probe/problem.d.ts +7 -0
  473. package/dist/composition/probe/problem.d.ts.map +1 -1
  474. package/dist/composition/probe/problem.js +15 -5
  475. package/dist/composition/probe/problem.js.map +1 -1
  476. package/dist/composition/probe/search-budget.d.ts.map +1 -1
  477. package/dist/composition/probe/search-budget.js +6 -2
  478. package/dist/composition/probe/search-budget.js.map +1 -1
  479. package/dist/composition/probe/study.d.ts +340 -0
  480. package/dist/composition/probe/study.d.ts.map +1 -0
  481. package/dist/composition/probe/study.js +1519 -0
  482. package/dist/composition/probe/study.js.map +1 -0
  483. package/dist/composition/proposed-bridges.js +1 -1
  484. package/dist/composition/proposed-bridges.js.map +1 -1
  485. package/dist/composition/quantities.d.ts +4 -16
  486. package/dist/composition/quantities.d.ts.map +1 -1
  487. package/dist/composition/quantities.js +4 -16
  488. package/dist/composition/quantities.js.map +1 -1
  489. package/dist/composition/retrodiction.d.ts.map +1 -1
  490. package/dist/composition/retrodiction.js +6 -2
  491. package/dist/composition/retrodiction.js.map +1 -1
  492. package/dist/composition/uncertainty.d.ts +1 -1
  493. package/dist/composition/uncertainty.d.ts.map +1 -1
  494. package/dist/composition/user-equation.d.ts +79 -8
  495. package/dist/composition/user-equation.d.ts.map +1 -1
  496. package/dist/composition/user-equation.js +224 -32
  497. package/dist/composition/user-equation.js.map +1 -1
  498. package/dist/core/constants.d.ts +9 -4
  499. package/dist/core/constants.d.ts.map +1 -1
  500. package/dist/core/constants.js +9 -4
  501. package/dist/core/constants.js.map +1 -1
  502. package/dist/core/types.d.ts +1 -1
  503. package/dist/core/types.d.ts.map +1 -1
  504. package/dist/core/types.js +2 -1
  505. package/dist/core/types.js.map +1 -1
  506. package/dist/dimensional/curvature.d.ts +7 -56
  507. package/dist/dimensional/curvature.d.ts.map +1 -1
  508. package/dist/dimensional/curvature.js +7 -76
  509. package/dist/dimensional/curvature.js.map +1 -1
  510. package/dist/dimensional/dimension-spec.d.ts +7 -1
  511. package/dist/dimensional/dimension-spec.d.ts.map +1 -1
  512. package/dist/dimensional/dimension-spec.js +131 -3
  513. package/dist/dimensional/dimension-spec.js.map +1 -1
  514. package/dist/dimensional/formula-names.d.ts +30 -0
  515. package/dist/dimensional/formula-names.d.ts.map +1 -0
  516. package/dist/dimensional/formula-names.js +37 -0
  517. package/dist/dimensional/formula-names.js.map +1 -0
  518. package/dist/dimensional/natural-units.d.ts +33 -0
  519. package/dist/dimensional/natural-units.d.ts.map +1 -0
  520. package/dist/dimensional/natural-units.js +58 -0
  521. package/dist/dimensional/natural-units.js.map +1 -0
  522. package/dist/{composition → dimensional}/symbolic-constants.d.ts +21 -2
  523. package/dist/dimensional/symbolic-constants.d.ts.map +1 -0
  524. package/dist/dimensional/symbolic-constants.js +116 -0
  525. package/dist/dimensional/symbolic-constants.js.map +1 -0
  526. package/dist/dimensional/unit-convention.d.ts +30 -0
  527. package/dist/dimensional/unit-convention.d.ts.map +1 -0
  528. package/dist/dimensional/unit-convention.js +60 -0
  529. package/dist/dimensional/unit-convention.js.map +1 -0
  530. package/dist/dimensional/units.d.ts +43 -0
  531. package/dist/dimensional/units.d.ts.map +1 -0
  532. package/dist/dimensional/units.js +197 -0
  533. package/dist/dimensional/units.js.map +1 -0
  534. package/dist/index.d.ts +8 -4
  535. package/dist/index.d.ts.map +1 -1
  536. package/dist/index.js +7 -3
  537. package/dist/index.js.map +1 -1
  538. package/dist/numerical/bianchi-residual.d.ts +55 -0
  539. package/dist/numerical/bianchi-residual.d.ts.map +1 -0
  540. package/dist/numerical/bianchi-residual.js +79 -0
  541. package/dist/numerical/bianchi-residual.js.map +1 -0
  542. package/dist/numerical/binding-value.d.ts +67 -0
  543. package/dist/numerical/binding-value.d.ts.map +1 -0
  544. package/dist/numerical/binding-value.js +347 -0
  545. package/dist/numerical/binding-value.js.map +1 -0
  546. package/dist/numerical/connection-lowering-helpers.d.ts.map +1 -1
  547. package/dist/numerical/connection-lowering-helpers.js +13 -26
  548. package/dist/numerical/connection-lowering-helpers.js.map +1 -1
  549. package/dist/numerical/curvature-lowering-helpers.d.ts.map +1 -1
  550. package/dist/numerical/curvature-lowering-helpers.js +9 -0
  551. package/dist/numerical/curvature-lowering-helpers.js.map +1 -1
  552. package/dist/numerical/float64-engine.d.ts.map +1 -1
  553. package/dist/numerical/float64-engine.js +23 -16
  554. package/dist/numerical/float64-engine.js.map +1 -1
  555. package/dist/numerical/formula-dimension.d.ts +7 -0
  556. package/dist/numerical/formula-dimension.d.ts.map +1 -1
  557. package/dist/numerical/formula-dimension.js +23 -6
  558. package/dist/numerical/formula-dimension.js.map +1 -1
  559. package/dist/numerical/formula-mathts.d.ts.map +1 -1
  560. package/dist/numerical/formula-mathts.js +68 -6
  561. package/dist/numerical/formula-mathts.js.map +1 -1
  562. package/dist/numerical/formula.d.ts +27 -0
  563. package/dist/numerical/formula.d.ts.map +1 -1
  564. package/dist/numerical/formula.js +68 -6
  565. package/dist/numerical/formula.js.map +1 -1
  566. package/dist/numerical/spacetime-metrics.d.ts +243 -0
  567. package/dist/numerical/spacetime-metrics.d.ts.map +1 -0
  568. package/dist/numerical/spacetime-metrics.js +1056 -0
  569. package/dist/numerical/spacetime-metrics.js.map +1 -0
  570. package/dist/relations/composition-table.d.ts +61 -0
  571. package/dist/relations/composition-table.d.ts.map +1 -0
  572. package/dist/relations/composition-table.js +140 -0
  573. package/dist/relations/composition-table.js.map +1 -0
  574. package/dist/relations/conventions.d.ts +63 -0
  575. package/dist/relations/conventions.d.ts.map +1 -0
  576. package/dist/relations/conventions.js +93 -0
  577. package/dist/relations/conventions.js.map +1 -0
  578. package/dist/relations/regime.d.ts +159 -0
  579. package/dist/relations/regime.d.ts.map +1 -0
  580. package/dist/relations/regime.js +304 -0
  581. package/dist/relations/regime.js.map +1 -0
  582. package/dist/relations/types.d.ts +259 -0
  583. package/dist/relations/types.d.ts.map +1 -0
  584. package/dist/relations/types.js +37 -0
  585. package/dist/relations/types.js.map +1 -0
  586. package/package.json +166 -163
  587. package/dist/composition/poster-source.d.ts.map +0 -1
  588. package/dist/composition/poster-source.js.map +0 -1
  589. package/dist/composition/symbolic-constants.d.ts.map +0 -1
  590. package/dist/composition/symbolic-constants.js +0 -65
  591. package/dist/composition/symbolic-constants.js.map +0 -1
package/dist/cli/main.js CHANGED
@@ -17,9 +17,14 @@ import * as api from '../cli-api.js';
17
17
  import { UsageError, CliError } from './errors.js';
18
18
  import { parseArgs } from './args.js';
19
19
  import { packageVersion } from './version.js';
20
+ import { glossaryText } from './statuses.js';
20
21
  import { resolveCommand } from './command.js';
22
+ import { recordInvocation, replayRecord, showRecord } from './record.js';
21
23
  // Side-effect import: registers every ported command (see commands/index.ts).
22
24
  import './commands/index.js';
25
+ // `Io` is the writer surface `runCli` needs. In production these wrap
26
+ // `process.stdout`/`process.stderr` with exact `console.log`/`console.error`
27
+ // semantics; tests pass a capturing stand-in as the optional second argument.
23
28
  function stdoutLine(line) {
24
29
  process.stdout.write((line ?? '') + '\n');
25
30
  }
@@ -35,179 +40,373 @@ const unknownCommandMessage = (name) => `Unknown command '${name}'. See \`upt he
35
40
  // end documenting `upt version` and the global `--json` flag. Do NOT hand-edit
36
41
  // tests/cli/golden/help.txt against this — that golden pins the OLD bin/upt.mjs
37
42
  // and is only regenerated in Task 8, once main.ts becomes the live CLI.
38
- const HELP_TEXT = `upt — Universal Physics Tensor bridge-inference CLI
39
-
40
- Usage:
41
- upt explain <quantity> [name=value | name] ...
42
- Explain how the graph determines a quantity: the identifiability
43
- verdict, recovered value, derivation chains, and whether the inputs
44
- are dimensionally sufficient. A name that is not a quantity of the
45
- graph is reported NOT COVERED, with near names, and exits 1.
46
- e.g. upt explain hawking-temperature mass=1.989e30
47
-
48
- upt priority
49
- Triage the speculative bridges by structural DECIDABILITY against
50
- established physics (Tiers 1-3). NOT a credibility ranking.
51
-
52
- upt audit
53
- Try to derive every built-in bridge equation by dimensions: which
54
- re-derive as a recognized monomial (with the prefactor recovered),
55
- which are decoys, which are dimensionally open.
56
-
57
- upt map [--source=catalog|canonical|both] [--format=text|mermaid|dot|svg]
58
- [--proposed] [--out=PATH] [--equation "TARGET = EXPR"]
59
- Map how the equations LINK: connected components (clusters) of the
60
- graph by shared quantities, the anchored core, the link hubs, and
61
- the isolated tail.
62
- --format=mermaid|dot|svg emits the VISUAL map (quantities = nodes,
63
- equations = junctions colored by status, one subgraph per component).
64
- text (default) is the unchanged linkage printout. svg renders the dot
65
- layout via the optional @viz-js/viz peer (npm i @viz-js/viz; or pipe
66
- dot through "dot -Tsvg"). --proposed overlays the unadjudicated
67
- identity-consequence relations (gray dashed). --out writes to a file
68
- (default stdout).
69
- --equation "TARGET = EXPR" injects YOUR OWN equation as a violet 'user'
70
- node and reports where it lands (which cluster / shared quantities), with
71
- a "did you mean?" hint for names that miss the catalog vocabulary. Use
72
- underscores for multi-word quantities (photon_energy -> photon-energy).
73
- e.g. upt map --equation "period = 2*pi*sqrt(length/gravity)"
74
-
75
- upt candidates [--source=catalog|canonical|both]
76
- Propose candidate cross-cluster links (quantities of the same
77
- dimension in different clusters) for PHYSICIST REVIEW — a
78
- coincidence-heavy surface, not discovered bridges.
79
-
80
- upt predict
81
- Project the catalog onto the (scale × force) regime plane and rank
82
- the EMPTY regime cells as undiscovered-connection hypotheses
83
- (triadic closure). Makes the namesake tensor operational. Review
84
- surface, not discovered bridges.
85
-
86
- upt discover [--source=catalog|canonical|both]
87
- VET the link candidates through the inference suite: hypothesise
88
- each identification a≡b and test whether it merges disconnected
89
- physics, unlocks quantities, and stays numerically consistent.
90
- Ranks promising / inert / contradictory.
91
- --source=canonical runs the funnel on the standard-physics L-layer
92
- ALONE (bridges excluded) — new candidates from established physics,
93
- and a self-consistency check (expect 0 contradictory).
94
- --derive emits, for each 'promising' identification, the ONE algebraic
95
- relation it implies (monomial elimination) as an UNADJUDICATED, math-only
96
- proposal — NOT a bridge (Part-VI §XXVII-B). Pairs with --source=canonical.
97
- --max-orders=N tunes the magnitude-clash threshold (default 3); looser N
98
- keeps more candidates 'promising', tighter N falsifies more as clashes.
99
- --anchor=k=v[,k2=v2] overrides the numeric anchor (default mass=M_sun)
100
- for the consistency/closure check. Both reshape the candidate pool that
101
- --derive consumes.
102
-
103
- upt connectors
104
- Of the 20 ISOLATED bridges, which could connect to the anchored
105
- core via a same-dimension identification? The structural frontier —
106
- same-kind connectors are the motivated set for physicist review.
107
-
108
- upt coverage
109
- Audit the catalog's empirical grounding — which bridges are
110
- data-confronted vs graph-computable vs encoded-only vs thin — to
111
- target the physicist review. Fabricates nothing.
112
-
113
- upt canonical
114
- List the canonical-equation registry — the standard-physics L-layer
115
- (textbook "answer key") with each entry's fidelity (L0/L1/L2),
116
- domain, and bridge partners, plus the coverage gap.
117
-
118
- upt recover
119
- Validate bridges against standard physics: classify each bridge↔
120
- canonical link as restates-canonical (F4 circularity — NOT a
121
- discovery), recovers (undeclared structural match), or
122
- dimensional-only.
123
-
124
- upt symbolic [--simplify]
125
- Compose bridges' SYMBOLIC (AST) forms, not just their numeric
126
- evaluators (the Observable contract). Shows the CT-1 / CT-1b chains
127
- composed by substitution, dimensionally validated and evaluable.
128
- With --simplify, folds the composed AST via MathTS (k_B cancels),
129
- re-validated dimensionally + numerically.
130
-
131
- upt eval "<formula>" name=value ...
132
- Evaluate YOUR OWN scalar formula (safe — arithmetic only). Knows
133
- pi/tau and sqrt/exp/ln/sin/...; any other name must be supplied.
134
- e.g. upt eval "hbar*c^3/(8*pi*G*M*k_B)" hbar=1.054571817e-34 \\
135
- c=299792458 G=6.6743e-11 M=1.989e30 k_B=1.380649e-23
136
-
137
- upt derive <target:dim> <var:dim> ... [--formula "<expr>"]
138
- Derive YOUR OWN equation's dimensional form. <dim> is a named
139
- dimension (length, time, mass, velocity, ...), a constant (hbar, c,
140
- G, k_B, e), or explicit (L^3.M^-1.T^-2). With --formula, also verify
141
- it and recover the dimensionless prefactor.
142
- e.g. upt derive period:time length:length gravity:acceleration \\
143
- --formula "2*pi*sqrt(length/gravity)"
144
-
145
- upt confront [--bridge=be-XX] [--rigor=stringent|moderate|loose] [--frontier]
146
- [--sensitivity]
147
- Run the catalog's committed real-data confrontations (predicted vs
148
- observed), each tagged with its RIGOR tier. --rigor filters to one tier
149
- (the precision core, or the loose tail that needs better data); --frontier
150
- ranks the σ-tests by margin to exclusion (tightest = most at-risk under new
151
- data); --sensitivity ranks the prediction's input elasticities.
152
-
153
- upt axes
154
- Axis-discrimination audit — which tensor classification axes GATE the
155
- discovery funnel (an axis gates only when it MEASURABLY fires). Reproduces
156
- the rank-7 result (topology/statistics/symmetry classify but do not gate).
157
-
158
- upt evaluate <be-NN> key=value ...
159
- Numerically evaluate a closed-form / spacetime bridge (BE-51/52/55..65).
160
- With no bridge id, lists the evaluable bridges and their input keys.
161
- e.g. upt evaluate be-63 mu_e=2 → Chandrasekhar mass ≈ 1.456 M_sun
162
- (ideal degenerate gas, with m_u and M_sun = 1.989e30 kg)
163
-
164
- upt ground <quantityA> <quantityB>
165
- The epistemic-grounding ledger for one discovery candidate a=b: which
166
- falsifiers passed, which abstained (gaps), and the honest ceiling.
167
-
168
- upt regime <family> [--at group=value ...]
169
- Where in parameter space a family's models are claimed to apply. Each
170
- model reads valid, VIOLATED (naming the failed inequality), or UNKNOWN
171
- — a coordinate --at never supplied is NOT a pass. Also prints the
172
- pairwise regime overlap and, over the box --at states, the uncovered
173
- points. A group can be given by name (spaces ignored, * for ·) or
174
- through its parameters (--at tau=1 D=1 q=1 gives tau · D · q^2 = 1);
175
- a key no record uses is named and ignored.
176
- e.g. upt regime oscillators --at theta0=0.2
177
-
178
- upt path <from> <to> [--at group=value ...]
179
- The chain of bridges between two models, the relation it composes to,
180
- the composed (K, delta) with its norm, and whether every bridge's regime
181
- and every horizon still holds at --at (a bound outside its regime is
182
- not claimed). When the composition table declines to compose, the path
183
- carries no bound: it prints 'no composite claim' and exits 0.
184
- e.g. upt path model-pendulum model-spring --at theta0=0.2 T0=1 t=10
185
-
186
- upt atlas [<bridge-id>]
187
- One atlas bridge with EVERY qualification visible: relation, side
188
- conditions, regime, bound and horizon, witnesses, counterexamples and
189
- formal reference. Empty sections print as "none stated". With no id,
190
- lists every bridge of every family.
191
- e.g. upt atlas ab-pendulum-linear
192
-
193
- upt probe <scan|show|run|candidates|falsify|rank|design|reproduce>
194
- Experimental expression/residual search (Product B). Orthogonal to
195
- \`upt discover\`, which vets quantity identifications a≡b and is frozen.
196
- Relation-link gaps are not searchable here — use \`upt discover\`.
197
-
198
- upt help Show this message.
199
-
200
- Run with no arguments for a short demo.
201
-
202
- upt version Show the installed CLI/package version.
203
- --json Global flag: emit a machine-readable JSON envelope instead of
204
- text (where the command supports it).`;
43
+ const HELP_TEXT = `upt — Universal Physics Tensor bridge-inference CLI
44
+
45
+ Usage:
46
+ upt explain <quantity> [name=value | name] ...
47
+ [--source=catalog|canonical|both] [--json]
48
+ Explain how the graph determines a quantity: the identifiability
49
+ verdict, recovered value, derivation chains, and whether the inputs
50
+ are dimensionally sufficient. A name that is not a quantity of the
51
+ graph is reported NOT COVERED, with near names and what \`upt search\`
52
+ finds for its words, and exits 1. --source picks the graph (default
53
+ catalog); the result names the source it used.
54
+ e.g. upt explain hawking-temperature mass=1.989e30
55
+
56
+ upt priority [--source=catalog|canonical|both]
57
+ Triage the speculative bridges by structural DECIDABILITY against
58
+ established physics (Tiers 1-3). NOT a credibility ranking.
59
+
60
+ upt audit [--source=catalog|canonical|both]
61
+ Try to derive every built-in bridge equation by dimensions: which
62
+ re-derive as a recognized monomial (with the prefactor recovered),
63
+ which are decoys (a failed dimensional reconstruction, not a physical
64
+ refutation), which are dimensionally open.
65
+
66
+ upt map [--source=catalog|canonical|both|poster] [--format=text|mermaid|dot|svg]
67
+ [--proposed [--anchor=k=v,...] [--max-orders=N]] [--out=PATH]
68
+ [--equation "TARGET = EXPR" [--equation-only]] [--around=QUANTITY [--depth=N]]
69
+ [--relation=TYPE] [--evidence=TAG] [--route=FROM,TO [--all-routes
70
+ [--max-routes=N]]] [--family=NAME] [--observable=NAME] [--stored | --run]
71
+ Map how the equations LINK: connected components (clusters) of the
72
+ graph by shared quantities, the anchored core, the link hubs, and
73
+ the isolated tail.
74
+ --format=mermaid|dot|svg emits the VISUAL map (quantities = nodes,
75
+ equations = junctions colored by status, one subgraph per component).
76
+ text (default) is the unchanged linkage printout. svg renders the dot
77
+ layout via the optional @viz-js/viz peer (npm i @viz-js/viz; or pipe
78
+ dot through "dot -Tsvg"). --proposed overlays the unadjudicated
79
+ identity-consequence relations (gray dashed). --out writes to a file
80
+ (default stdout).
81
+ --equation "TARGET = EXPR" injects YOUR OWN equation as a violet 'user'
82
+ node and reports where it lands (which cluster / shared quantities), with
83
+ a "did you mean?" hint for names that miss the catalog vocabulary. Use
84
+ underscores for multi-word quantities (photon_energy -> photon-energy).
85
+ --around=QUANTITY [--depth=N] focuses on the edges within N hops of one
86
+ quantity and states how many of the source's edges it kept.
87
+ --relation / --evidence filter edges by their Atlas relation or derived
88
+ evidence; --route, --family and --observable map the ATLAS (models and
89
+ the bridges between them) instead, and --stored / --run resolve their
90
+ evidence from witness results. \`upt help map\` describes every flag.
91
+ e.g. upt map --equation "period = 2*pi*sqrt(length/gravity)"
92
+
93
+ upt candidates [--source=catalog|canonical|both]
94
+ Propose candidate cross-cluster links (quantities of the same
95
+ dimension in different clusters) for PHYSICIST REVIEW — a
96
+ coincidence-heavy surface, not discovered bridges.
97
+
98
+ upt frontier [--json]
99
+ Print two lists apart: null results (records already examined that
100
+ did not become an accepted connection) and the frontier (connections
101
+ the catalog does not contain). An empty list is printed as empty.
102
+ Neither list is a verdict and neither list changes a score.
103
+
104
+ upt predict [--source=catalog|canonical|both]
105
+ Project the catalog onto the (scale × force) regime plane and rank
106
+ the EMPTY regime cells as undiscovered-connection hypotheses
107
+ (triadic closure). Makes the namesake tensor operational. Review
108
+ surface, not discovered bridges.
109
+
110
+ upt discover [--source=catalog|canonical|both]
111
+ VET the link candidates through the inference suite: hypothesise
112
+ each identification a≡b and test whether it merges disconnected
113
+ physics, unlocks quantities, and stays numerically consistent.
114
+ Ranks promising / inert / contradictory.
115
+ --source=canonical runs the funnel on the standard-physics L-layer
116
+ ALONE (bridges excluded) — new candidates from established physics,
117
+ and a self-consistency check (expect 0 contradictory).
118
+ --derive emits, for each 'promising' identification, the ONE algebraic
119
+ relation it implies (monomial elimination) as an UNADJUDICATED, math-only
120
+ proposal — NOT a bridge (Part-VI §XXVII-B). Pairs with --source=canonical.
121
+ --max-orders=N tunes the magnitude-clash threshold (default 3); looser N
122
+ keeps more candidates 'promising', tighter N falsifies more as clashes.
123
+ --anchor=k=v[,k2=v2] overrides the numeric anchor (default mass=M_sun)
124
+ for the consistency/closure check. Both reshape the candidate pool that
125
+ --derive consumes. Adjudicated candidates fold out of the promising
126
+ list; --show-adjudicated lists them with their recorded verdict.
127
+ Each promising row states which independent falsifiers ran and which
128
+ abstained, and what would make it testable; --require-falsifier lists
129
+ only rows one of them ran on and survived.
130
+
131
+ upt connectors [--source=catalog|canonical|both]
132
+ Of the graph's ISOLATED bridges (how many depends on --source, default
133
+ both; the command prints the count), which could connect to the
134
+ anchored core via a same-dimension identification? The structural
135
+ frontier — same-kind connectors are the motivated set for physicist
136
+ review.
137
+
138
+ upt coverage
139
+ Audit the catalog's empirical grounding — which bridges are
140
+ data-confronted vs graph-computable vs encoded-only vs thin — to
141
+ target the physicist review. Fabricates nothing.
142
+
143
+ upt canonical [--vars]
144
+ List the canonical-equation registry — the standard-physics L-layer
145
+ (textbook "answer key") with each entry's fidelity (L0/L1/L2),
146
+ domain, and bridge partners, plus the coverage gap. --vars also prints
147
+ each entry's target and governing variable names.
148
+
149
+ upt recover
150
+ Validate bridges against standard physics: classify each bridge↔
151
+ canonical link as restates-canonical (F4 circularity — NOT a
152
+ discovery), recovers (undeclared structural match), or
153
+ dimensional-only. A chain of two symbolic edges is reported
154
+ separately. That comparison does not cancel dimensionful constants,
155
+ and a chain is never restates-canonical.
156
+
157
+ upt symbolic [--simplify]
158
+ Compose bridges' SYMBOLIC (AST) forms, not just their numeric
159
+ evaluators (the Observable contract). Shows the CT-1 / CT-1b chains
160
+ composed by substitution, dimensionally validated and evaluable.
161
+ With --simplify, folds the composed AST via MathTS (k_B cancels),
162
+ re-validated dimensionally + numerically. Each chain also prints a
163
+ runnable \`upt eval\` form, a LaTeX form (\\frac for every division)
164
+ and a symbol table: meaning, value, SI unit and source of each symbol.
165
+
166
+ upt eval "<formula>" name=value ...
167
+ Evaluate YOUR OWN scalar formula (safe — arithmetic only). Knows the
168
+ constants pi and tau and the functions sqrt, cbrt, exp, ln, log
169
+ (natural, = ln), log10, log2, abs, sin, cos, tan, asin, acos, atan,
170
+ sinh, cosh, tanh, pow, atan2. log is the NATURAL logarithm: use log10
171
+ or log2 for base 10 or 2. A bare e is the elementary charge. E is
172
+ energy: pass E=<number>. Euler's number is exp(1) or euler.
173
+ e_charge is the same charge. A value may be a number,
174
+ a unit, or an expression (v=0.6*c). \`upt help eval\` describes every flag.
175
+ e.g. upt eval "hbar*c^3/(8*pi*G*M*k_B)" hbar=1.054571817e-34 \\
176
+ c=299792458 G=6.6743e-11 M=1.989e30 k_B=1.380649e-23
177
+
178
+ upt derive <target:dim> <var:dim> ... [--formula "<expr>"] [--debug]
179
+ Derive YOUR OWN equation's dimensional form. <dim> is a named
180
+ dimension (length, time, mass, velocity, ...), a constant (hbar, c,
181
+ G, k_B, e), or explicit (L^3.M^-1.T^-2). With --formula, also verify
182
+ it and recover the dimensionless prefactor. \`upt help derive\` describes every flag.
183
+ e.g. upt derive period:time length:length gravity:acceleration \\
184
+ --formula "2*pi*sqrt(length/gravity)"
185
+
186
+ upt confront [be-XX] [--bridge=be-XX] [--rigor=stringent|moderate|loose]
187
+ [--frontier] [--sensitivity]
188
+ Run the catalog's committed real-data confrontations (predicted vs
189
+ observed), each tagged with its RIGOR tier. A positional be-XX selects
190
+ that bridge, the same as --bridge (this is the command \`upt explain be-XX\`
191
+ prints). A positional that is not a bridge id is an error. --rigor filters to one tier
192
+ (the precision core, or the loose tail that needs better data); --frontier
193
+ ranks the σ-tests by margin to the 1σ acceptance threshold (a software
194
+ criterion, not a scientific exclusion level; tightest = most at-risk under
195
+ new data); --sensitivity ranks the prediction's input elasticities.
196
+ Each record names its statistical object, criterion and data origin;
197
+ consistency ratios (no σ) are counted apart from the σ-tests.
198
+ be-53 is not a registered confrontation. \`upt confront be-53\` refuses
199
+ and names the missing table and running procedure. It prints no
200
+ residual and does not change the catalog status.
201
+
202
+ upt axes
203
+ Axis-discrimination audit — which tensor classification axes GATE the
204
+ discovery funnel (an axis gates only when it MEASURABLY fires). Reproduces
205
+ the rank-7 result (topology/statistics/symmetry classify but do not gate).
206
+
207
+ upt evaluate <be-NN | case-id> key=value[unit] ... [--sigma key=u ...] [--corr a,b=rho ...]
208
+ Numerically evaluate a closed-form / spacetime bridge (BE-51/52/55..65),
209
+ or an applied case (resistor noise, Brownian sphere, damped resonator):
210
+ parent and scalar equations, observable, regime checks and a route to
211
+ measurement; a violated regime check prints NOT QUALIFIED and exits 3.
212
+ Every input declares its unit and meaning; a value may carry a unit
213
+ (d_m=1um, T_K=25degC) or an expression (M_kg=1*M_sun) and converts
214
+ only when the dimensions agree.
215
+ With no id, lists the evaluable bridges and cases and their inputs.
216
+ --sigma/--corr propagate input uncertainties to first order, with a
217
+ curvature check that flags an unreliable linearization. be-51 and be-52
218
+ also warn when the ray or the periapsis is not above 10 Schwarzschild
219
+ radii; the number printed is still the weak-field formula.
220
+ e.g. upt evaluate be-63 mu_e=2 → Chandrasekhar mass ≈ 1.456 M_sun
221
+ (ideal degenerate gas, with m_u and M_sun = 1.989e30 kg)
222
+
223
+ upt ground <quantityA> <quantityB> [--source=catalog|canonical|both]
224
+ The epistemic-grounding ledger for one discovery candidate a=b: which
225
+ falsifiers passed, which abstained (gaps), and the honest ceiling.
226
+ Pass the --source (and --anchor/--max-orders) of the discover run that
227
+ listed the pair.
228
+
229
+ upt regime <family> [--at group=value ...] [--assume premise] [--deny premise]
230
+ Where in parameter space a family's models are claimed to apply. Each
231
+ model reads valid, VIOLATED (naming the failed inequality), or UNKNOWN
232
+ — a coordinate --at never supplied is NOT a pass; one that states no
233
+ inequality reads 'no machine condition evaluated (VACUOUS …)'. Prose premises are
234
+ never evaluated: --assume records your declaration (not evidence),
235
+ --deny marks one contradicted, the rest stay unspecified. Also prints the
236
+ pairwise regime overlap and, over the box --at states, the uncovered
237
+ points. A group can be given by name (spaces ignored, * for ·) or
238
+ through its parameters (--at tau=1 D=1 q=1 gives tau · D · q^2 = 1);
239
+ a key no record uses is named and ignored. Exit 3 when any record is
240
+ VIOLATED. VACUOUS, UNKNOWN and a survey with no violated record exit 0.
241
+ e.g. upt regime oscillators --at theta0=0.2
242
+
243
+ upt path <from> <to> [--at group=value ...] [--tolerance=[observable:]EPS]
244
+ [--sweep name=lo:hi:n[:log]] [--compare=<to2>] [--csv]
245
+ The chain of bridges between two models (across families when a
246
+ bridge ends in another family's model), the relation it composes to,
247
+ the composed (K, delta) with its norm, and whether every bridge's regime
248
+ and every horizon still holds at --at (a bound outside its regime is
249
+ not claimed, and a failed check prints no bound number). Values may
250
+ be expressions (theta0=pi/2). When the composition table declines to compose, the path
251
+ carries no bound: it prints 'no composite claim', names what composing
252
+ would need, and exits 0. Across families a matching norm name is not a
253
+ transport (reason cross-family-unmapped, still exit 0). A multi-premise
254
+ bridge is named and is not a step. Exit 3 is a regime or horizon that
255
+ was checked and failed, including under --json. --sweep evaluates the same verdict at 2–200
256
+ samples of one parameter (a row outside a regime or past a horizon
257
+ carries no error); --csv writes the rows as CSV; --compare=<to2> sweeps
258
+ a second route from the same source beside it and marks NEITHER, with
259
+ no number, where no encoded limit applies. --tolerance=EPS judges
260
+ adequacy in the bound's own norm (exit 3 if inadequate);
261
+ --tolerance=phase:EPS or position:EPS judges it through a translation
262
+ a bridge declares (ab-pendulum-linear), carried only by a later
263
+ bridge's declared carriage (ab-spring-lc carries phase).
264
+ e.g. upt path model-pendulum model-spring --at theta0=0.2 T0=1 t=10
265
+ upt path model-pendulum model-spring --at T0=1 t=10 --sweep theta0=0.1:0.8:8
266
+
267
+ upt atlas [<bridge-id>] [--run]
268
+ upt atlas --evidence [--stored | --run]
269
+ One atlas bridge with EVERY qualification visible: relation, side
270
+ conditions, regime, bound and horizon, witnesses, counterexamples and
271
+ formal reference. Empty sections print as "none stated". A proved
272
+ bridge that also derives contradicted prints proved, with unresolved
273
+ counterexample: yes. The proof stays and the counterexample stays
274
+ unresolved. Evidence is shown by claim, and each witness with its
275
+ execution status; --run executes the in-process registered witnesses
276
+ (exit 3 if refuted).
277
+ With no id, lists every bridge of every family; --evidence (or
278
+ --stored / --run with no id) shows every bridge's derived evidence,
279
+ per-tag counts and the witness results it observes.
280
+ A catalog id be-<n> with a stored formal reference prints that
281
+ reference. It is a catalog equation, not an atlas bridge, and the
282
+ command does not derive formally-proved from it.
283
+ e.g. upt atlas ab-pendulum-linear
284
+ upt atlas be-16
285
+
286
+ upt search <word> ...
287
+ Find a catalog bridge, canonical equation, atlas model or bridge,
288
+ quantity or applied case by name, id, symbol, alias or description,
289
+ with the command that inspects each. An equal dimension is never a match.
290
+ e.g. upt search thermal noise
291
+ upt search skin
292
+
293
+ upt retrieve <claim>
294
+ Atlas search for a claim. The default does not call out of process.
295
+ --embed asks a local Ollama model for a proposal; acceptance stays
296
+ the atlas search. If Ollama cannot be used, the atlas search is
297
+ still printed and the reason is named. Exit 0.
298
+ \`upt help retrieve\` lists every flag.
299
+ e.g. upt retrieve period of a pendulum
300
+
301
+ upt metric <minkowski|schwarzschild|flrw|kerr> [key=value ...] [--geodesic] [--json]
302
+ Christoffel symbols, Ricci, the Ricci scalar and the Kretschmann
303
+ scalar. Parameters accept units and constant expressions (M=1Msun,
304
+ theta=pi/2). Alias: upt curvature. \`upt help metric\` describes every flag.
305
+ e.g. upt metric schwarzschild M=1Msun r=1e8 theta=pi/2
306
+
307
+ upt testplan <be-NN | case-id> [--json]
308
+ The measurement plan stored on a confrontation or an applied case.
309
+ \`upt help testplan\` describes every flag.
310
+ e.g. upt testplan be-58
311
+
312
+ upt probe <scan|show|run|candidates|falsify|rank|design|reproduce|study>
313
+ Experimental expression/residual search (Product B). Orthogonal to
314
+ \`upt discover\`, which vets quantity identifications a≡b and is frozen.
315
+ Relation-link gaps are not searchable here — use \`upt discover\`.
316
+ \`study --data=FILE\` fits calibrated observations (units, σ) on
317
+ exploratory rows only and tests on withheld holdout/replication rows.
318
+ \`upt help probe\` lists every flag.
319
+
320
+ upt help Show this message.
321
+ upt help <command>
322
+ Show one command's usage and flags.
323
+ upt help statuses
324
+ Define every status word the commands print (VACUOUS,
325
+ UNKNOWN, VIOLATED, ADEQUATE, NEITHER, DECOY, NOT COVERED, …).
326
+ Each --json envelope carries the definitions of the statuses
327
+ its command can emit, under \`definitions\`.
328
+
329
+ Run with no arguments for a short demo.
330
+
331
+ upt version Show the installed CLI/package version.
332
+ --json Global flag: emit a machine-readable JSON envelope instead of
333
+ text (where the command supports it).
334
+
335
+ --record=FILE <command> ...
336
+ Run the command unchanged and append one JSONL entry to FILE:
337
+ arguments, stdout, stderr, exit code, versions, parser, each
338
+ constant table by name, the constants the command's code can
339
+ reach, the files it reads and its modules' sources, and hashes
340
+ of each. Failed invocations are recorded too.
341
+ --replay=FILE [--json]
342
+ Re-run every entry of FILE; report each as reproduced, differs
343
+ (naming the stream and first differing line) or not replayable,
344
+ name every changed version, parser, constant or module (and
345
+ whether the entry's command can reach it), and flag edits. A
346
+ file written with --out is replayed to a temporary path and
347
+ compared by hash. Exit 0 all reproduced unchanged, 3 any
348
+ differs, 1 otherwise.
349
+ --show-record=FILE [--json]
350
+ Print FILE as a readable transcript, running nothing.`;
351
+ const GLOBAL_FILE_OPTION = /^--(record|replay|show-record)(?:=(.*))?$/;
205
352
  /**
206
353
  * Verb-first CLI entry point. `argv` is the command + its arguments (NOT
207
354
  * `process.argv` — callers slice off the node/script prefix themselves, as
208
355
  * `bin/upt.mjs` did with `process.argv.slice(2)`).
356
+ *
357
+ * Leading `--record=FILE` / `--replay=FILE` / `--show-record=FILE` are global
358
+ * options (see `record.ts`); anything else goes to `dispatch` unchanged.
209
359
  */
210
360
  export async function runCli(argv, io = defaultIo) {
361
+ const files = {};
362
+ let json = false;
363
+ let i = 0;
364
+ try {
365
+ for (; i < argv.length; i++) {
366
+ const m = GLOBAL_FILE_OPTION.exec(argv[i]);
367
+ if (m) {
368
+ const name = m[1];
369
+ if (!m[2])
370
+ throw new UsageError(`upt: '--${name}' requires '--${name}=FILE'`);
371
+ if (files[name] !== undefined)
372
+ throw new UsageError(`upt: '--${name}' given more than once`);
373
+ files[name] = m[2];
374
+ }
375
+ else if (argv[i] === '--json' && (files.replay !== undefined || files['show-record'] !== undefined)) {
376
+ json = true;
377
+ }
378
+ else {
379
+ break;
380
+ }
381
+ }
382
+ if (i === 0)
383
+ return await dispatch(argv, io);
384
+ const rest = argv.slice(i);
385
+ if (Object.keys(files).length > 1) {
386
+ throw new UsageError('upt: use one of --record, --replay and --show-record at a time');
387
+ }
388
+ if (files.record !== undefined)
389
+ return await recordInvocation(files.record, rest, dispatch, io, api);
390
+ if (rest.length > 0) {
391
+ throw new UsageError(`upt: '--${files.replay !== undefined ? 'replay' : 'show-record'}' takes no command (got '${rest[0]}')`);
392
+ }
393
+ if (files.replay !== undefined)
394
+ return await replayRecord(files.replay, json, dispatch, io, api);
395
+ return showRecord(files['show-record'], json, io);
396
+ }
397
+ catch (e) {
398
+ if (e instanceof UsageError) {
399
+ io.err(e.message);
400
+ return 2;
401
+ }
402
+ if (e instanceof CliError) {
403
+ io.err(e.message);
404
+ return 1;
405
+ }
406
+ throw e;
407
+ }
408
+ }
409
+ async function dispatch(argv, io) {
211
410
  const { out, err, write } = io;
212
411
  try {
213
412
  const [cmd, ...rest] = argv;
@@ -235,6 +434,10 @@ export async function runCli(argv, io = defaultIo) {
235
434
  }
236
435
  if (cmd === 'help' || cmd === '--help' || cmd === '-h') {
237
436
  const target = rest[0];
437
+ if (target === 'statuses') {
438
+ out(glossaryText());
439
+ return 0;
440
+ }
238
441
  if (target !== undefined) {
239
442
  const command = resolveCommand(target);
240
443
  if (!command)
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAA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