@amalgm/shell 0.1.164-preview.41762776698 → 0.1.164-preview.44185399271

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 (931) hide show
  1. package/PURPOSE.md +359 -235
  2. package/README.md +18 -0
  3. package/dist/accepted-fold.d.ts +51 -0
  4. package/dist/accepted-fold.js +106 -0
  5. package/dist/accepted-fold.js.map +1 -0
  6. package/dist/accepted-tail.d.ts +19 -9
  7. package/dist/accepted-tail.js +28 -11
  8. package/dist/accepted-tail.js.map +1 -1
  9. package/dist/accepted-view.d.ts +27 -0
  10. package/dist/accepted-view.js +8 -0
  11. package/dist/accepted-view.js.map +1 -0
  12. package/dist/apply-attempt-memory.d.ts +13 -0
  13. package/dist/apply-attempt-memory.js +26 -0
  14. package/dist/apply-attempt-memory.js.map +1 -0
  15. package/dist/apply-control.d.ts +85 -0
  16. package/dist/apply-control.js +131 -0
  17. package/dist/apply-control.js.map +1 -0
  18. package/dist/apply-displaced-tree.d.ts +63 -0
  19. package/dist/apply-displaced-tree.js +148 -0
  20. package/dist/apply-displaced-tree.js.map +1 -0
  21. package/dist/apply-durability.d.ts +33 -0
  22. package/dist/apply-durability.js +72 -0
  23. package/dist/apply-durability.js.map +1 -0
  24. package/dist/apply-enter-build.d.ts +91 -0
  25. package/dist/apply-enter-build.js +145 -0
  26. package/dist/apply-enter-build.js.map +1 -0
  27. package/dist/apply-enter-plan.d.ts +79 -0
  28. package/dist/apply-enter-plan.js +148 -0
  29. package/dist/apply-enter-plan.js.map +1 -0
  30. package/dist/apply-fingerprint.d.ts +39 -0
  31. package/dist/apply-fingerprint.js +84 -0
  32. package/dist/apply-fingerprint.js.map +1 -0
  33. package/dist/apply-git-held.d.ts +29 -0
  34. package/dist/apply-git-held.js +184 -0
  35. package/dist/apply-git-held.js.map +1 -0
  36. package/dist/apply-git-storage.d.ts +38 -0
  37. package/dist/apply-git-storage.js +110 -0
  38. package/dist/apply-git-storage.js.map +1 -0
  39. package/dist/apply-kept.d.ts +42 -0
  40. package/dist/apply-kept.js +135 -0
  41. package/dist/apply-kept.js.map +1 -0
  42. package/dist/apply-local-work.d.ts +41 -0
  43. package/dist/apply-local-work.js +72 -0
  44. package/dist/apply-local-work.js.map +1 -0
  45. package/dist/apply-map.d.ts +116 -0
  46. package/dist/apply-map.js +383 -0
  47. package/dist/apply-map.js.map +1 -0
  48. package/dist/apply-showing.d.ts +104 -0
  49. package/dist/apply-showing.js +236 -0
  50. package/dist/apply-showing.js.map +1 -0
  51. package/dist/apply-shown-again.d.ts +28 -0
  52. package/dist/apply-shown-again.js +81 -0
  53. package/dist/apply-shown-again.js.map +1 -0
  54. package/dist/apply-spelling.d.ts +35 -0
  55. package/dist/apply-spelling.js +79 -0
  56. package/dist/apply-spelling.js.map +1 -0
  57. package/dist/apply-trash-keep.d.ts +96 -0
  58. package/dist/apply-trash-keep.js +194 -0
  59. package/dist/apply-trash-keep.js.map +1 -0
  60. package/dist/apply-window-cargo.d.ts +54 -0
  61. package/dist/apply-window-cargo.js +219 -0
  62. package/dist/apply-window-cargo.js.map +1 -0
  63. package/dist/apply-window-ground.d.ts +130 -0
  64. package/dist/apply-window-ground.js +324 -0
  65. package/dist/apply-window-ground.js.map +1 -0
  66. package/dist/apply-window-host.d.ts +136 -0
  67. package/dist/apply-window-host.js +1842 -0
  68. package/dist/apply-window-host.js.map +1 -0
  69. package/dist/apply-window-lane.d.ts +30 -0
  70. package/dist/apply-window-lane.js +311 -0
  71. package/dist/apply-window-lane.js.map +1 -0
  72. package/dist/apply-window-line.d.ts +31 -0
  73. package/dist/apply-window-line.js +150 -0
  74. package/dist/apply-window-line.js.map +1 -0
  75. package/dist/apply-window-recovery.d.ts +5 -0
  76. package/dist/apply-window-recovery.js +72 -0
  77. package/dist/apply-window-recovery.js.map +1 -0
  78. package/dist/apply-window-reveal.d.ts +22 -0
  79. package/dist/apply-window-reveal.js +98 -0
  80. package/dist/apply-window-reveal.js.map +1 -0
  81. package/dist/apply-window-rows.d.ts +144 -0
  82. package/dist/apply-window-rows.js +178 -0
  83. package/dist/apply-window-rows.js.map +1 -0
  84. package/dist/apply-window-saves.d.ts +224 -0
  85. package/dist/apply-window-saves.js +674 -0
  86. package/dist/apply-window-saves.js.map +1 -0
  87. package/dist/apply-window-store.d.ts +126 -0
  88. package/dist/apply-window-store.js +312 -0
  89. package/dist/apply-window-store.js.map +1 -0
  90. package/dist/apply-window-verify.d.ts +65 -0
  91. package/dist/apply-window-verify.js +195 -0
  92. package/dist/apply-window-verify.js.map +1 -0
  93. package/dist/authority-binding.d.ts +1 -24
  94. package/dist/authority-binding.js +44 -9
  95. package/dist/authority-binding.js.map +1 -1
  96. package/dist/background-error.d.ts +4 -0
  97. package/dist/background-error.js +15 -0
  98. package/dist/background-error.js.map +1 -0
  99. package/dist/baseline-content.d.ts +12 -0
  100. package/dist/baseline-content.js +12 -0
  101. package/dist/baseline-content.js.map +1 -0
  102. package/dist/boot-identity.d.ts +1 -0
  103. package/dist/boot-identity.js +39 -0
  104. package/dist/boot-identity.js.map +1 -0
  105. package/dist/browser-host.d.ts +4 -3
  106. package/dist/browser-host.js +29 -14
  107. package/dist/browser-host.js.map +1 -1
  108. package/dist/captured-rows.d.ts +33 -0
  109. package/dist/captured-rows.js +45 -0
  110. package/dist/captured-rows.js.map +1 -0
  111. package/dist/cargo-group.d.ts +31 -17
  112. package/dist/cargo-group.js +78 -29
  113. package/dist/cargo-group.js.map +1 -1
  114. package/dist/cargo-journal.d.ts +45 -0
  115. package/dist/cargo-journal.js +130 -0
  116. package/dist/cargo-journal.js.map +1 -0
  117. package/dist/chat-composition.d.ts +4 -1
  118. package/dist/chat-composition.js +4 -1
  119. package/dist/chat-composition.js.map +1 -1
  120. package/dist/cli.d.ts +1 -0
  121. package/dist/cli.js +117 -55
  122. package/dist/cli.js.map +1 -1
  123. package/dist/construct-apply-host.d.ts +8 -7
  124. package/dist/construct-apply-host.js +20 -8
  125. package/dist/construct-apply-host.js.map +1 -1
  126. package/dist/construct-door.d.ts +2 -0
  127. package/dist/construct-door.js +4 -3
  128. package/dist/construct-door.js.map +1 -1
  129. package/dist/construct-ledger.d.ts +2 -0
  130. package/dist/construct-ledger.js +13 -1
  131. package/dist/construct-ledger.js.map +1 -1
  132. package/dist/content-cache-collection.d.ts +11 -4
  133. package/dist/content-cache-collection.js +74 -62
  134. package/dist/content-cache-collection.js.map +1 -1
  135. package/dist/content-cache-fences.d.ts +27 -0
  136. package/dist/content-cache-fences.js +116 -0
  137. package/dist/content-cache-fences.js.map +1 -0
  138. package/dist/content-cache-host.d.ts +163 -91
  139. package/dist/content-cache-host.js +531 -354
  140. package/dist/content-cache-host.js.map +1 -1
  141. package/dist/content-cache-index.d.ts +36 -7
  142. package/dist/content-cache-index.js +79 -32
  143. package/dist/content-cache-index.js.map +1 -1
  144. package/dist/content-cache-namespace.d.ts +28 -34
  145. package/dist/content-cache-namespace.js +85 -99
  146. package/dist/content-cache-namespace.js.map +1 -1
  147. package/dist/content-cache-partials.d.ts +37 -0
  148. package/dist/content-cache-partials.js +79 -0
  149. package/dist/content-cache-partials.js.map +1 -0
  150. package/dist/content-cache-retention.d.ts +27 -12
  151. package/dist/content-cache-retention.js +143 -132
  152. package/dist/content-cache-retention.js.map +1 -1
  153. package/dist/content-capture-pool.d.ts +70 -83
  154. package/dist/content-capture-pool.js +112 -82
  155. package/dist/content-capture-pool.js.map +1 -1
  156. package/dist/content-capture-worker.d.ts +3 -4
  157. package/dist/content-capture-worker.js +28 -35
  158. package/dist/content-capture-worker.js.map +1 -1
  159. package/dist/content-clock.d.ts +54 -28
  160. package/dist/content-clock.js +345 -102
  161. package/dist/content-clock.js.map +1 -1
  162. package/dist/content-direct.d.ts +0 -2
  163. package/dist/content-direct.js +53 -31
  164. package/dist/content-direct.js.map +1 -1
  165. package/dist/content-qualification.d.ts +72 -0
  166. package/dist/content-qualification.js +129 -0
  167. package/dist/content-qualification.js.map +1 -0
  168. package/dist/credentials-host.js +3 -2
  169. package/dist/credentials-host.js.map +1 -1
  170. package/dist/derived-relocation.d.ts +31 -0
  171. package/dist/derived-relocation.js +71 -0
  172. package/dist/derived-relocation.js.map +1 -0
  173. package/dist/detection/accepted-result.js +3 -3
  174. package/dist/detection/accepted-result.js.map +1 -1
  175. package/dist/detection/admission-save.d.ts +25 -14
  176. package/dist/detection/admission-save.js +34 -22
  177. package/dist/detection/admission-save.js.map +1 -1
  178. package/dist/detection/admission-units.d.ts +32 -20
  179. package/dist/detection/admission-units.js +230 -97
  180. package/dist/detection/admission-units.js.map +1 -1
  181. package/dist/detection/alias-examination.d.ts +5 -2
  182. package/dist/detection/alias-examination.js +15 -3
  183. package/dist/detection/alias-examination.js.map +1 -1
  184. package/dist/detection/apply-ownership.d.ts +70 -44
  185. package/dist/detection/apply-ownership.js +140 -132
  186. package/dist/detection/apply-ownership.js.map +1 -1
  187. package/dist/detection/basis-advanced.d.ts +4 -0
  188. package/dist/detection/basis-advanced.js +9 -0
  189. package/dist/detection/basis-advanced.js.map +1 -1
  190. package/dist/detection/cached-replay.d.ts +38 -0
  191. package/dist/detection/cached-replay.js +66 -0
  192. package/dist/detection/cached-replay.js.map +1 -0
  193. package/dist/detection/capture-outcome.js +33 -36
  194. package/dist/detection/capture-outcome.js.map +1 -1
  195. package/dist/detection/container-membership.d.ts +13 -25
  196. package/dist/detection/container-membership.js +24 -28
  197. package/dist/detection/container-membership.js.map +1 -1
  198. package/dist/detection/directory-proof.js +1 -1
  199. package/dist/detection/directory-proof.js.map +1 -1
  200. package/dist/detection/dispositions.d.ts +10 -33
  201. package/dist/detection/dispositions.js +27 -91
  202. package/dist/detection/dispositions.js.map +1 -1
  203. package/dist/detection/examinations.d.ts +33 -0
  204. package/dist/detection/examinations.js +50 -0
  205. package/dist/detection/examinations.js.map +1 -0
  206. package/dist/detection/ground-proof.d.ts +35 -11
  207. package/dist/detection/ground-proof.js +111 -52
  208. package/dist/detection/ground-proof.js.map +1 -1
  209. package/dist/detection/ground-reader.d.ts +10 -10
  210. package/dist/detection/ground-reader.js +19 -42
  211. package/dist/detection/ground-reader.js.map +1 -1
  212. package/dist/detection/identity-discovery.d.ts +1 -1
  213. package/dist/detection/identity-discovery.js +27 -35
  214. package/dist/detection/identity-discovery.js.map +1 -1
  215. package/dist/detection/maintenance-sweep.d.ts +5 -2
  216. package/dist/detection/maintenance-sweep.js +15 -5
  217. package/dist/detection/maintenance-sweep.js.map +1 -1
  218. package/dist/detection/notebook-basis.d.ts +6 -3
  219. package/dist/detection/notebook-basis.js +8 -5
  220. package/dist/detection/notebook-basis.js.map +1 -1
  221. package/dist/detection/owed-examinations.d.ts +22 -0
  222. package/dist/detection/owed-examinations.js +54 -0
  223. package/dist/detection/owed-examinations.js.map +1 -0
  224. package/dist/detection/owed-selection.d.ts +23 -20
  225. package/dist/detection/owed-selection.js +56 -43
  226. package/dist/detection/owed-selection.js.map +1 -1
  227. package/dist/detection/policy-owed.d.ts +17 -0
  228. package/dist/detection/policy-owed.js +33 -0
  229. package/dist/detection/policy-owed.js.map +1 -0
  230. package/dist/detection/repository-state.d.ts +44 -0
  231. package/dist/detection/repository-state.js +95 -0
  232. package/dist/detection/repository-state.js.map +1 -0
  233. package/dist/detection/reveal-save.d.ts +17 -0
  234. package/dist/detection/reveal-save.js +15 -0
  235. package/dist/detection/reveal-save.js.map +1 -0
  236. package/dist/detection/root-examination.d.ts +25 -13
  237. package/dist/detection/root-examination.js +273 -220
  238. package/dist/detection/root-examination.js.map +1 -1
  239. package/dist/detection/root-walk.d.ts +191 -0
  240. package/dist/detection/root-walk.js +1383 -0
  241. package/dist/detection/root-walk.js.map +1 -0
  242. package/dist/detection/runtime.d.ts +41 -53
  243. package/dist/detection/runtime.js +285 -345
  244. package/dist/detection/runtime.js.map +1 -1
  245. package/dist/detection/scope-frame.d.ts +82 -0
  246. package/dist/detection/scope-frame.js +183 -0
  247. package/dist/detection/scope-frame.js.map +1 -0
  248. package/dist/detection/scoped-identity-port.d.ts +11 -10
  249. package/dist/detection/scoped-identity-port.js +18 -25
  250. package/dist/detection/scoped-identity-port.js.map +1 -1
  251. package/dist/detection/sharing-policy.d.ts +14 -6
  252. package/dist/detection/sharing-policy.js +13 -7
  253. package/dist/detection/sharing-policy.js.map +1 -1
  254. package/dist/detection/spelled-lookup.d.ts +20 -0
  255. package/dist/detection/spelled-lookup.js +83 -0
  256. package/dist/detection/spelled-lookup.js.map +1 -0
  257. package/dist/detection/unread-content.d.ts +20 -0
  258. package/dist/detection/unread-content.js +33 -0
  259. package/dist/detection/unread-content.js.map +1 -0
  260. package/dist/detection/walk-law.d.ts +11 -21
  261. package/dist/detection/walk-law.js +14 -22
  262. package/dist/detection/walk-law.js.map +1 -1
  263. package/dist/detection/walked-roots.d.ts +17 -0
  264. package/dist/detection/walked-roots.js +27 -0
  265. package/dist/detection/walked-roots.js.map +1 -0
  266. package/dist/detection/withheld.d.ts +100 -0
  267. package/dist/detection/withheld.js +118 -0
  268. package/dist/detection/withheld.js.map +1 -0
  269. package/dist/development/profile.js +1 -1
  270. package/dist/development/profile.js.map +1 -1
  271. package/dist/drive/cloud-files/asks.d.ts +7 -0
  272. package/dist/drive/cloud-files/asks.js +181 -0
  273. package/dist/drive/cloud-files/asks.js.map +1 -0
  274. package/dist/drive/cloud-files/binding.d.ts +111 -0
  275. package/dist/drive/cloud-files/binding.js +31 -0
  276. package/dist/drive/cloud-files/binding.js.map +1 -0
  277. package/dist/drive/cloud-files/contents.d.ts +82 -0
  278. package/dist/drive/cloud-files/contents.js +204 -0
  279. package/dist/drive/cloud-files/contents.js.map +1 -0
  280. package/dist/drive/cloud-files/door.d.ts +11 -0
  281. package/dist/drive/cloud-files/door.js +118 -0
  282. package/dist/drive/cloud-files/door.js.map +1 -0
  283. package/dist/drive/cloud-files/paths.d.ts +42 -0
  284. package/dist/drive/cloud-files/paths.js +93 -0
  285. package/dist/drive/cloud-files/paths.js.map +1 -0
  286. package/dist/drive/cloud-files/populated.d.ts +15 -0
  287. package/dist/drive/cloud-files/populated.js +38 -0
  288. package/dist/drive/cloud-files/populated.js.map +1 -0
  289. package/dist/drive/cloud-files/reconcile.d.ts +17 -0
  290. package/dist/drive/cloud-files/reconcile.js +478 -0
  291. package/dist/drive/cloud-files/reconcile.js.map +1 -0
  292. package/dist/drive/cloud-files/sync-root.d.ts +34 -0
  293. package/dist/drive/cloud-files/sync-root.js +68 -0
  294. package/dist/drive/cloud-files/sync-root.js.map +1 -0
  295. package/dist/drive/cloud-files/turns.d.ts +9 -0
  296. package/dist/drive/cloud-files/turns.js +58 -0
  297. package/dist/drive/cloud-files/turns.js.map +1 -0
  298. package/dist/drive/cloud-files/writes.d.ts +27 -0
  299. package/dist/drive/cloud-files/writes.js +436 -0
  300. package/dist/drive/cloud-files/writes.js.map +1 -0
  301. package/dist/drive/computer.d.ts +19 -0
  302. package/dist/drive/computer.js +61 -0
  303. package/dist/drive/computer.js.map +1 -0
  304. package/dist/drive/fuse-opens.d.ts +32 -0
  305. package/dist/drive/fuse-opens.js +110 -0
  306. package/dist/drive/fuse-opens.js.map +1 -0
  307. package/dist/drive/fuse.d.ts +36 -0
  308. package/dist/drive/fuse.js +102 -0
  309. package/dist/drive/fuse.js.map +1 -0
  310. package/dist/drive/kept.d.ts +78 -0
  311. package/dist/drive/kept.js +263 -0
  312. package/dist/drive/kept.js.map +1 -0
  313. package/dist/drive/kernel.d.ts +17 -0
  314. package/dist/drive/kernel.js +36 -0
  315. package/dist/drive/kernel.js.map +1 -0
  316. package/dist/drive/layout.d.ts +18 -0
  317. package/dist/drive/layout.js +39 -0
  318. package/dist/drive/layout.js.map +1 -0
  319. package/dist/drive/mount.d.ts +107 -0
  320. package/dist/drive/mount.js +259 -0
  321. package/dist/drive/mount.js.map +1 -0
  322. package/dist/drive/mountpoint.d.ts +14 -0
  323. package/dist/drive/mountpoint.js +51 -0
  324. package/dist/drive/mountpoint.js.map +1 -0
  325. package/dist/drive/nfs/apple-double.d.ts +6 -0
  326. package/dist/drive/nfs/apple-double.js +140 -0
  327. package/dist/drive/nfs/apple-double.js.map +1 -0
  328. package/dist/drive/nfs/attributes.d.ts +64 -0
  329. package/dist/drive/nfs/attributes.js +97 -0
  330. package/dist/drive/nfs/attributes.js.map +1 -0
  331. package/dist/drive/nfs/handles.d.ts +44 -0
  332. package/dist/drive/nfs/handles.js +209 -0
  333. package/dist/drive/nfs/handles.js.map +1 -0
  334. package/dist/drive/nfs/mount3.d.ts +16 -0
  335. package/dist/drive/nfs/mount3.js +38 -0
  336. package/dist/drive/nfs/mount3.js.map +1 -0
  337. package/dist/drive/nfs/nfs3.d.ts +27 -0
  338. package/dist/drive/nfs/nfs3.js +516 -0
  339. package/dist/drive/nfs/nfs3.js.map +1 -0
  340. package/dist/drive/nfs/rpc.d.ts +66 -0
  341. package/dist/drive/nfs/rpc.js +122 -0
  342. package/dist/drive/nfs/rpc.js.map +1 -0
  343. package/dist/drive/nfs/server.d.ts +30 -0
  344. package/dist/drive/nfs/server.js +109 -0
  345. package/dist/drive/nfs/server.js.map +1 -0
  346. package/dist/drive/nfs/xdr.d.ts +44 -0
  347. package/dist/drive/nfs/xdr.js +111 -0
  348. package/dist/drive/nfs/xdr.js.map +1 -0
  349. package/dist/drive/nfs.d.ts +58 -0
  350. package/dist/drive/nfs.js +193 -0
  351. package/dist/drive/nfs.js.map +1 -0
  352. package/dist/drive/operations.d.ts +180 -0
  353. package/dist/drive/operations.js +358 -0
  354. package/dist/drive/operations.js.map +1 -0
  355. package/dist/drive/shelf.d.ts +9 -0
  356. package/dist/drive/shelf.js +41 -0
  357. package/dist/drive/shelf.js.map +1 -0
  358. package/dist/durability-barrier.d.ts +39 -11
  359. package/dist/durability-barrier.js +106 -41
  360. package/dist/durability-barrier.js.map +1 -1
  361. package/dist/entity-access-wire.d.ts +3 -2
  362. package/dist/entity-access-wire.js +9 -25
  363. package/dist/entity-access-wire.js.map +1 -1
  364. package/dist/entity-channel-holdings.d.ts +7 -7
  365. package/dist/entity-channel-holdings.js +49 -8
  366. package/dist/entity-channel-holdings.js.map +1 -1
  367. package/dist/entity-grant-watch.d.ts +9 -0
  368. package/dist/entity-grant-watch.js +29 -0
  369. package/dist/entity-grant-watch.js.map +1 -0
  370. package/dist/entity-record-observability.d.ts +1 -1
  371. package/dist/entity-record-observability.js +34 -29
  372. package/dist/entity-record-observability.js.map +1 -1
  373. package/dist/entity-record-saves.d.ts +34 -7
  374. package/dist/entity-record-saves.js +72 -20
  375. package/dist/entity-record-saves.js.map +1 -1
  376. package/dist/entity-record-store.d.ts +43 -15
  377. package/dist/entity-record-store.js +160 -55
  378. package/dist/entity-record-store.js.map +1 -1
  379. package/dist/error-facts.d.ts +24 -0
  380. package/dist/error-facts.js +35 -0
  381. package/dist/error-facts.js.map +1 -0
  382. package/dist/faults/drain.d.ts +27 -0
  383. package/dist/faults/drain.js +211 -0
  384. package/dist/faults/drain.js.map +1 -0
  385. package/dist/faults/queue.d.ts +46 -0
  386. package/dist/faults/queue.js +100 -0
  387. package/dist/faults/queue.js.map +1 -0
  388. package/dist/faults/show.d.ts +7 -0
  389. package/dist/faults/show.js +32 -0
  390. package/dist/faults/show.js.map +1 -0
  391. package/dist/files-mcp-host.d.ts +58 -0
  392. package/dist/files-mcp-host.js +63 -0
  393. package/dist/files-mcp-host.js.map +1 -0
  394. package/dist/files-observability.d.ts +5 -2
  395. package/dist/files-observability.js.map +1 -1
  396. package/dist/files-program/client.d.ts +136 -0
  397. package/dist/files-program/client.js +442 -0
  398. package/dist/files-program/client.js.map +1 -0
  399. package/dist/files-program/journeys.d.ts +15 -0
  400. package/dist/files-program/journeys.js +79 -0
  401. package/dist/files-program/journeys.js.map +1 -0
  402. package/dist/files-program/program.d.ts +1 -0
  403. package/dist/files-program/program.js +344 -0
  404. package/dist/files-program/program.js.map +1 -0
  405. package/dist/files-program/protocol.d.ts +180 -0
  406. package/dist/files-program/protocol.js +7 -0
  407. package/dist/files-program/protocol.js.map +1 -0
  408. package/dist/files-register-host.d.ts +18 -21
  409. package/dist/files-register-host.js +104 -94
  410. package/dist/files-register-host.js.map +1 -1
  411. package/dist/files-trace.d.ts +29 -9
  412. package/dist/files-trace.js +58 -14
  413. package/dist/files-trace.js.map +1 -1
  414. package/dist/filesystem.d.ts +27 -9
  415. package/dist/filesystem.js +94 -56
  416. package/dist/filesystem.js.map +1 -1
  417. package/dist/flush.d.ts +19 -0
  418. package/dist/flush.js +84 -0
  419. package/dist/flush.js.map +1 -0
  420. package/dist/gateway.js +5 -2
  421. package/dist/gateway.js.map +1 -1
  422. package/dist/git/ground-owners.d.ts +15 -0
  423. package/dist/git/ground-owners.js +67 -0
  424. package/dist/git/ground-owners.js.map +1 -0
  425. package/dist/git/held-package.d.ts +67 -0
  426. package/dist/git/held-package.js +95 -0
  427. package/dist/git/held-package.js.map +1 -0
  428. package/dist/git/home.d.ts +59 -0
  429. package/dist/git/home.js +132 -0
  430. package/dist/git/home.js.map +1 -0
  431. package/dist/git/marker.d.ts +21 -0
  432. package/dist/git/marker.js +30 -0
  433. package/dist/git/marker.js.map +1 -0
  434. package/dist/git/named-objects.d.ts +24 -0
  435. package/dist/git/named-objects.js +176 -0
  436. package/dist/git/named-objects.js.map +1 -0
  437. package/dist/git/objects.d.ts +30 -0
  438. package/dist/git/objects.js +88 -0
  439. package/dist/git/objects.js.map +1 -0
  440. package/dist/git/play.d.ts +30 -0
  441. package/dist/git/play.js +305 -0
  442. package/dist/git/play.js.map +1 -0
  443. package/dist/git/quarantine.d.ts +48 -0
  444. package/dist/git/quarantine.js +150 -0
  445. package/dist/git/quarantine.js.map +1 -0
  446. package/dist/git/rail.d.ts +206 -0
  447. package/dist/git/rail.js +885 -0
  448. package/dist/git/rail.js.map +1 -0
  449. package/dist/git/read-state.d.ts +49 -0
  450. package/dist/git/read-state.js +238 -0
  451. package/dist/git/read-state.js.map +1 -0
  452. package/dist/git/repository.d.ts +62 -0
  453. package/dist/git/repository.js +130 -0
  454. package/dist/git/repository.js.map +1 -0
  455. package/dist/git/write-files.d.ts +29 -0
  456. package/dist/git/write-files.js +215 -0
  457. package/dist/git/write-files.js.map +1 -0
  458. package/dist/git-binding.d.ts +37 -49
  459. package/dist/git-binding.js +262 -134
  460. package/dist/git-binding.js.map +1 -1
  461. package/dist/git-cat-file.d.ts +28 -0
  462. package/dist/git-cat-file.js +125 -0
  463. package/dist/git-cat-file.js.map +1 -0
  464. package/dist/git-command.d.ts +45 -10
  465. package/dist/git-command.js +197 -89
  466. package/dist/git-command.js.map +1 -1
  467. package/dist/git-index-entries.d.ts +10 -8
  468. package/dist/git-index-entries.js +21 -39
  469. package/dist/git-index-entries.js.map +1 -1
  470. package/dist/git-index-format.d.ts +35 -18
  471. package/dist/git-index-format.js +210 -53
  472. package/dist/git-index-format.js.map +1 -1
  473. package/dist/git-install-lines.d.ts +12 -0
  474. package/dist/git-install-lines.js +22 -0
  475. package/dist/git-install-lines.js.map +1 -0
  476. package/dist/git-launcher-process.d.ts +1 -0
  477. package/dist/git-launcher-process.js +81 -0
  478. package/dist/git-launcher-process.js.map +1 -0
  479. package/dist/git-launcher.d.ts +70 -0
  480. package/dist/git-launcher.js +178 -0
  481. package/dist/git-launcher.js.map +1 -0
  482. package/dist/graph-heads.d.ts +71 -0
  483. package/dist/graph-heads.js +90 -0
  484. package/dist/graph-heads.js.map +1 -0
  485. package/dist/ground-basis.d.ts +141 -105
  486. package/dist/ground-basis.js +367 -460
  487. package/dist/ground-basis.js.map +1 -1
  488. package/dist/ground-checkpoint-worker.js +26 -25
  489. package/dist/ground-checkpoint-worker.js.map +1 -1
  490. package/dist/ground-checkpoints.d.ts +1 -1
  491. package/dist/ground-checkpoints.js +6 -6
  492. package/dist/ground-contract.d.ts +11 -0
  493. package/dist/ground-contract.js +115 -0
  494. package/dist/ground-contract.js.map +1 -0
  495. package/dist/ground-coordination.d.ts +30 -20
  496. package/dist/ground-coordination.js +96 -51
  497. package/dist/ground-coordination.js.map +1 -1
  498. package/dist/ground-database.d.ts +11 -13
  499. package/dist/ground-database.js +283 -97
  500. package/dist/ground-database.js.map +1 -1
  501. package/dist/ground-differences.d.ts +19 -18
  502. package/dist/ground-differences.js +20 -42
  503. package/dist/ground-differences.js.map +1 -1
  504. package/dist/ground-initialization.d.ts +3 -0
  505. package/dist/ground-initialization.js.map +1 -1
  506. package/dist/ground-install-saves.d.ts +61 -20
  507. package/dist/ground-install-saves.js +56 -52
  508. package/dist/ground-install-saves.js.map +1 -1
  509. package/dist/ground-inventory-schema.d.ts +42 -2
  510. package/dist/ground-inventory-schema.js +244 -31
  511. package/dist/ground-inventory-schema.js.map +1 -1
  512. package/dist/ground-marks.d.ts +49 -0
  513. package/dist/ground-marks.js +105 -0
  514. package/dist/ground-marks.js.map +1 -0
  515. package/dist/ground-profile.d.ts +7 -0
  516. package/dist/ground-profile.js +85 -16
  517. package/dist/ground-profile.js.map +1 -1
  518. package/dist/ground-reads.d.ts +86 -0
  519. package/dist/ground-reads.js +256 -0
  520. package/dist/ground-reads.js.map +1 -0
  521. package/dist/ground-relations.d.ts +57 -0
  522. package/dist/ground-relations.js +206 -0
  523. package/dist/ground-relations.js.map +1 -0
  524. package/dist/ground-root-index.d.ts +3 -2
  525. package/dist/ground-root-index.js +4 -3
  526. package/dist/ground-root-index.js.map +1 -1
  527. package/dist/ground-row.d.ts +23 -7
  528. package/dist/ground-row.js +27 -11
  529. package/dist/ground-row.js.map +1 -1
  530. package/dist/ground-save-ops.d.ts +42 -26
  531. package/dist/ground-save-ops.js +46 -26
  532. package/dist/ground-save-ops.js.map +1 -1
  533. package/dist/ground-saver-worker.js +171 -44
  534. package/dist/ground-saver-worker.js.map +1 -1
  535. package/dist/ground-saver.d.ts +35 -7
  536. package/dist/ground-saver.js +52 -25
  537. package/dist/ground-saver.js.map +1 -1
  538. package/dist/ground-store.d.ts +51 -10
  539. package/dist/ground-store.js +439 -89
  540. package/dist/ground-store.js.map +1 -1
  541. package/dist/index.d.ts +2 -2
  542. package/dist/index.js +1 -1
  543. package/dist/index.js.map +1 -1
  544. package/dist/initial-publication.d.ts +42 -0
  545. package/dist/initial-publication.js +42 -0
  546. package/dist/initial-publication.js.map +1 -0
  547. package/dist/installation/environment.d.ts +1 -0
  548. package/dist/installation/environment.js +3 -0
  549. package/dist/installation/environment.js.map +1 -1
  550. package/dist/keychain/cli-io.d.ts +8 -0
  551. package/dist/keychain/cli-io.js +55 -0
  552. package/dist/keychain/cli-io.js.map +1 -0
  553. package/dist/keychain/cli.d.ts +12 -0
  554. package/dist/keychain/cli.js +48 -0
  555. package/dist/keychain/cli.js.map +1 -0
  556. package/dist/keychain/host.d.ts +28 -0
  557. package/dist/keychain/host.js +43 -0
  558. package/dist/keychain/host.js.map +1 -0
  559. package/dist/keychain/http-mount.d.ts +16 -0
  560. package/dist/keychain/http-mount.js +74 -0
  561. package/dist/keychain/http-mount.js.map +1 -0
  562. package/dist/keychain/key-wire.d.ts +12 -0
  563. package/dist/keychain/key-wire.js +45 -0
  564. package/dist/keychain/key-wire.js.map +1 -0
  565. package/dist/keychain/presence-mac.d.ts +8 -0
  566. package/dist/keychain/presence-mac.js +26 -0
  567. package/dist/keychain/presence-mac.js.map +1 -0
  568. package/dist/keychain/presence.d.ts +9 -0
  569. package/dist/keychain/presence.js +24 -0
  570. package/dist/keychain/presence.js.map +1 -0
  571. package/dist/keychain/rail.d.ts +19 -0
  572. package/dist/keychain/rail.js +20 -0
  573. package/dist/keychain/rail.js.map +1 -0
  574. package/dist/keychain/secret-apply.d.ts +22 -0
  575. package/dist/keychain/secret-apply.js +46 -0
  576. package/dist/keychain/secret-apply.js.map +1 -0
  577. package/dist/keychain/shelf-from-ledger.d.ts +15 -0
  578. package/dist/keychain/shelf-from-ledger.js +18 -0
  579. package/dist/keychain/shelf-from-ledger.js.map +1 -0
  580. package/dist/keychain/use-log.d.ts +7 -0
  581. package/dist/keychain/use-log.js +15 -0
  582. package/dist/keychain/use-log.js.map +1 -0
  583. package/dist/keychain/vault-file.d.ts +12 -0
  584. package/dist/keychain/vault-file.js +19 -0
  585. package/dist/keychain/vault-file.js.map +1 -0
  586. package/dist/line-judge.d.ts +39 -0
  587. package/dist/line-judge.js +177 -0
  588. package/dist/line-judge.js.map +1 -0
  589. package/dist/line-loops.d.ts +22 -0
  590. package/dist/line-loops.js +19 -0
  591. package/dist/line-loops.js.map +1 -0
  592. package/dist/link-target.d.ts +16 -0
  593. package/dist/link-target.js +81 -0
  594. package/dist/link-target.js.map +1 -0
  595. package/dist/loop-watch.d.ts +17 -0
  596. package/dist/loop-watch.js +44 -0
  597. package/dist/loop-watch.js.map +1 -0
  598. package/dist/machine-host.d.ts +93 -23
  599. package/dist/machine-host.js +336 -178
  600. package/dist/machine-host.js.map +1 -1
  601. package/dist/main.js +3 -1
  602. package/dist/main.js.map +1 -1
  603. package/dist/materialize-records.d.ts +98 -0
  604. package/dist/materialize-records.js +446 -0
  605. package/dist/materialize-records.js.map +1 -0
  606. package/dist/materialized-graph.d.ts +14 -21
  607. package/dist/materialized-graph.js +1 -135
  608. package/dist/materialized-graph.js.map +1 -1
  609. package/dist/mount.d.ts +13 -0
  610. package/dist/mount.js +33 -0
  611. package/dist/mount.js.map +1 -0
  612. package/dist/native/cloud-files.node +0 -0
  613. package/dist/native/fsevents-stream.node +0 -0
  614. package/dist/native/inotify.node +0 -0
  615. package/dist/native/windows-fs.node +0 -0
  616. package/dist/on-demand-roots.d.ts +31 -0
  617. package/dist/on-demand-roots.js +18 -0
  618. package/dist/on-demand-roots.js.map +1 -0
  619. package/dist/open-standing.d.ts +8 -0
  620. package/dist/open-standing.js +109 -0
  621. package/dist/open-standing.js.map +1 -0
  622. package/dist/own-results.d.ts +37 -0
  623. package/dist/own-results.js +98 -0
  624. package/dist/own-results.js.map +1 -0
  625. package/dist/package-pages.d.ts +41 -0
  626. package/dist/package-pages.js +76 -0
  627. package/dist/package-pages.js.map +1 -0
  628. package/dist/patient-flush.d.ts +24 -0
  629. package/dist/patient-flush.js +37 -0
  630. package/dist/patient-flush.js.map +1 -0
  631. package/dist/physical-path-witness.d.ts +2 -11
  632. package/dist/physical-path-witness.js +19 -43
  633. package/dist/physical-path-witness.js.map +1 -1
  634. package/dist/placement-owed.d.ts +28 -0
  635. package/dist/placement-owed.js +32 -0
  636. package/dist/placement-owed.js.map +1 -0
  637. package/dist/placement-tidy.d.ts +57 -0
  638. package/dist/placement-tidy.js +313 -0
  639. package/dist/placement-tidy.js.map +1 -0
  640. package/dist/platform-product-host.d.ts +12 -0
  641. package/dist/platform-product-host.js +23 -1
  642. package/dist/platform-product-host.js.map +1 -1
  643. package/dist/platform-tools.d.ts +1 -0
  644. package/dist/platform-tools.js +11 -1
  645. package/dist/platform-tools.js.map +1 -1
  646. package/dist/process-lifecycle.d.ts +7 -0
  647. package/dist/process-lifecycle.js +13 -0
  648. package/dist/process-lifecycle.js.map +1 -1
  649. package/dist/pty-host.d.ts +2 -0
  650. package/dist/pty-host.js +1 -0
  651. package/dist/pty-host.js.map +1 -1
  652. package/dist/received-state.d.ts +90 -0
  653. package/dist/received-state.js +167 -0
  654. package/dist/received-state.js.map +1 -0
  655. package/dist/reference-placement.d.ts +26 -0
  656. package/dist/reference-placement.js +121 -0
  657. package/dist/reference-placement.js.map +1 -0
  658. package/dist/registry-graph.d.ts +63 -55
  659. package/dist/registry-graph.js +291 -170
  660. package/dist/registry-graph.js.map +1 -1
  661. package/dist/registry-page-cache.d.ts +2 -4
  662. package/dist/registry-page-cache.js.map +1 -1
  663. package/dist/root-install.d.ts +72 -0
  664. package/dist/root-install.js +178 -0
  665. package/dist/root-install.js.map +1 -0
  666. package/dist/runtime-activity.d.ts +20 -0
  667. package/dist/runtime-activity.js +86 -0
  668. package/dist/runtime-activity.js.map +1 -0
  669. package/dist/runtime-argv.d.ts +8 -0
  670. package/dist/runtime-argv.js +37 -0
  671. package/dist/runtime-argv.js.map +1 -0
  672. package/dist/runtime-command-host.d.ts +9 -3
  673. package/dist/runtime-command-host.js +27 -7
  674. package/dist/runtime-command-host.js.map +1 -1
  675. package/dist/runtime-node-flags.d.ts +6 -6
  676. package/dist/runtime-node-flags.js +6 -6
  677. package/dist/runtime-wire-host.d.ts +4 -1
  678. package/dist/runtime-wire-host.js +11 -6
  679. package/dist/runtime-wire-host.js.map +1 -1
  680. package/dist/sha256.d.ts +1 -0
  681. package/dist/sha256.js +4 -0
  682. package/dist/sha256.js.map +1 -0
  683. package/dist/sharing-admission.d.ts +9 -4
  684. package/dist/sharing-admission.js +57 -98
  685. package/dist/sharing-admission.js.map +1 -1
  686. package/dist/sharing-host.d.ts +6 -11
  687. package/dist/sharing-host.js +6 -10
  688. package/dist/sharing-host.js.map +1 -1
  689. package/dist/snapshot-delivery-baseline.d.ts +23 -13
  690. package/dist/snapshot-delivery-baseline.js +37 -40
  691. package/dist/snapshot-delivery-baseline.js.map +1 -1
  692. package/dist/socket-marking.d.ts +9 -0
  693. package/dist/socket-marking.js +26 -0
  694. package/dist/socket-marking.js.map +1 -0
  695. package/dist/source-proof.d.ts +2 -15
  696. package/dist/source-proof.js +9 -4
  697. package/dist/source-proof.js.map +1 -1
  698. package/dist/source-signature.d.ts +122 -21
  699. package/dist/source-signature.js +139 -28
  700. package/dist/source-signature.js.map +1 -1
  701. package/dist/source-witness.d.ts +2 -8
  702. package/dist/source-witness.js +1 -14
  703. package/dist/source-witness.js.map +1 -1
  704. package/dist/sqlite-durability.d.ts +1 -0
  705. package/dist/sqlite-durability.js +2 -0
  706. package/dist/sqlite-durability.js.map +1 -1
  707. package/dist/sqlite.js +8 -8
  708. package/dist/sqlite.js.map +1 -1
  709. package/dist/sync-address.d.ts +0 -3
  710. package/dist/sync-address.js +1 -23
  711. package/dist/sync-address.js.map +1 -1
  712. package/dist/sync-cli.d.ts +6 -2
  713. package/dist/sync-cli.js +19 -4
  714. package/dist/sync-cli.js.map +1 -1
  715. package/dist/sync-setting.d.ts +16 -1
  716. package/dist/sync-setting.js +6 -0
  717. package/dist/sync-setting.js.map +1 -1
  718. package/dist/transfer-instrumentation.d.ts +3 -3
  719. package/dist/transfer-instrumentation.js +7 -5
  720. package/dist/transfer-instrumentation.js.map +1 -1
  721. package/dist/turns.d.ts +4 -2
  722. package/dist/turns.js +17 -15
  723. package/dist/turns.js.map +1 -1
  724. package/dist/updates/artifacts.d.ts +9 -4
  725. package/dist/updates/artifacts.js +132 -9
  726. package/dist/updates/artifacts.js.map +1 -1
  727. package/dist/updates/controller.js +4 -3
  728. package/dist/updates/controller.js.map +1 -1
  729. package/dist/updates/locked-packages.d.ts +4 -0
  730. package/dist/updates/locked-packages.js +26 -0
  731. package/dist/updates/locked-packages.js.map +1 -0
  732. package/dist/updates/store.d.ts +5 -4
  733. package/dist/updates/store.js +5 -4
  734. package/dist/updates/store.js.map +1 -1
  735. package/dist/user-ground-host.d.ts +534 -179
  736. package/dist/user-ground-host.js +3293 -5218
  737. package/dist/user-ground-host.js.map +1 -1
  738. package/dist/watching/fsevents.d.ts +22 -6
  739. package/dist/watching/fsevents.js +29 -7
  740. package/dist/watching/fsevents.js.map +1 -1
  741. package/dist/watching/git-storage.d.ts +22 -0
  742. package/dist/watching/git-storage.js +125 -0
  743. package/dist/watching/git-storage.js.map +1 -0
  744. package/dist/watching/host.d.ts +149 -23
  745. package/dist/watching/host.js +706 -206
  746. package/dist/watching/host.js.map +1 -1
  747. package/dist/watching/index.d.ts +3 -2
  748. package/dist/watching/index.js +2 -1
  749. package/dist/watching/index.js.map +1 -1
  750. package/dist/watching/inotify.d.ts +81 -0
  751. package/dist/watching/inotify.js +184 -0
  752. package/dist/watching/inotify.js.map +1 -0
  753. package/dist/windows-fs.d.ts +12 -0
  754. package/dist/windows-fs.js +19 -0
  755. package/dist/windows-fs.js.map +1 -0
  756. package/dist/windows-owner-only.d.ts +6 -0
  757. package/dist/windows-owner-only.js +84 -0
  758. package/dist/windows-owner-only.js.map +1 -0
  759. package/dist/wire-client.d.ts +13 -11
  760. package/dist/wire-client.js +51 -78
  761. package/dist/wire-client.js.map +1 -1
  762. package/dist/wire-join.d.ts +19 -0
  763. package/dist/wire-join.js +54 -0
  764. package/dist/wire-join.js.map +1 -0
  765. package/dist/wire-outbox.d.ts +3 -0
  766. package/dist/wire-outbox.js +6 -1
  767. package/dist/wire-outbox.js.map +1 -1
  768. package/dist/wire-request-scope.d.ts +2 -1
  769. package/dist/wire-request-scope.js +2 -1
  770. package/dist/wire-request-scope.js.map +1 -1
  771. package/dist/workspace-add-intent.d.ts +41 -0
  772. package/dist/workspace-add-intent.js +107 -0
  773. package/dist/workspace-add-intent.js.map +1 -0
  774. package/dist/workspace-add-staging.d.ts +78 -74
  775. package/dist/workspace-add-staging.js +131 -179
  776. package/dist/workspace-add-staging.js.map +1 -1
  777. package/dist/workspace-host.d.ts +17 -0
  778. package/dist/workspace-host.js +17 -21
  779. package/dist/workspace-host.js.map +1 -1
  780. package/examinations/fixtures/private-wire-authority.js +534 -499
  781. package/examinations/native-service.mjs +29 -4
  782. package/examinations/runtime-upgrade.native-test.mjs +16 -1
  783. package/npm-shrinkwrap.json +253 -464
  784. package/package.json +29 -33
  785. package/dist/apply-cleanup.d.ts +0 -28
  786. package/dist/apply-cleanup.js +0 -166
  787. package/dist/apply-cleanup.js.map +0 -1
  788. package/dist/apply-recovery.d.ts +0 -47
  789. package/dist/apply-recovery.js +0 -100
  790. package/dist/apply-recovery.js.map +0 -1
  791. package/dist/apply-rows.d.ts +0 -72
  792. package/dist/apply-rows.js +0 -150
  793. package/dist/apply-rows.js.map +0 -1
  794. package/dist/apply-saves.d.ts +0 -85
  795. package/dist/apply-saves.js +0 -238
  796. package/dist/apply-saves.js.map +0 -1
  797. package/dist/bounded-for-each.d.ts +0 -3
  798. package/dist/bounded-for-each.js +0 -26
  799. package/dist/bounded-for-each.js.map +0 -1
  800. package/dist/content-cache-ownership.d.ts +0 -13
  801. package/dist/content-cache-ownership.js +0 -75
  802. package/dist/content-cache-ownership.js.map +0 -1
  803. package/dist/content-stream-thread.d.ts +0 -60
  804. package/dist/content-stream-thread.js +0 -95
  805. package/dist/content-stream-thread.js.map +0 -1
  806. package/dist/content-stream-worker.d.ts +0 -7
  807. package/dist/content-stream-worker.js +0 -52
  808. package/dist/content-stream-worker.js.map +0 -1
  809. package/dist/declaration-absorption.d.ts +0 -37
  810. package/dist/declaration-absorption.js +0 -119
  811. package/dist/declaration-absorption.js.map +0 -1
  812. package/dist/declaration-chain.d.ts +0 -36
  813. package/dist/declaration-chain.js +0 -96
  814. package/dist/declaration-chain.js.map +0 -1
  815. package/dist/declaration-commit.d.ts +0 -31
  816. package/dist/declaration-commit.js +0 -49
  817. package/dist/declaration-commit.js.map +0 -1
  818. package/dist/declaration-hold.d.ts +0 -22
  819. package/dist/declaration-hold.js +0 -24
  820. package/dist/declaration-hold.js.map +0 -1
  821. package/dist/declaration-journal.d.ts +0 -62
  822. package/dist/declaration-journal.js +0 -99
  823. package/dist/declaration-journal.js.map +0 -1
  824. package/dist/declaration-save.d.ts +0 -31
  825. package/dist/declaration-save.js +0 -134
  826. package/dist/declaration-save.js.map +0 -1
  827. package/dist/detection/disposition-rows.d.ts +0 -18
  828. package/dist/detection/disposition-rows.js +0 -29
  829. package/dist/detection/disposition-rows.js.map +0 -1
  830. package/dist/detection/git-notice.d.ts +0 -88
  831. package/dist/detection/git-notice.js +0 -444
  832. package/dist/detection/git-notice.js.map +0 -1
  833. package/dist/detection/held-territory.d.ts +0 -51
  834. package/dist/detection/held-territory.js +0 -205
  835. package/dist/detection/held-territory.js.map +0 -1
  836. package/dist/detection/name-reach.d.ts +0 -12
  837. package/dist/detection/name-reach.js +0 -28
  838. package/dist/detection/name-reach.js.map +0 -1
  839. package/dist/detection/portable.d.ts +0 -66
  840. package/dist/detection/portable.js +0 -137
  841. package/dist/detection/portable.js.map +0 -1
  842. package/dist/detection/repository-publication.d.ts +0 -20
  843. package/dist/detection/repository-publication.js +0 -79
  844. package/dist/detection/repository-publication.js.map +0 -1
  845. package/dist/detection/repository-routes.d.ts +0 -43
  846. package/dist/detection/repository-routes.js +0 -98
  847. package/dist/detection/repository-routes.js.map +0 -1
  848. package/dist/detection/seal-law.d.ts +0 -66
  849. package/dist/detection/seal-law.js +0 -116
  850. package/dist/detection/seal-law.js.map +0 -1
  851. package/dist/detection/verified-content.d.ts +0 -6
  852. package/dist/detection/verified-content.js +0 -12
  853. package/dist/detection/verified-content.js.map +0 -1
  854. package/dist/entity-apply-host.d.ts +0 -80
  855. package/dist/entity-apply-host.js +0 -2316
  856. package/dist/entity-apply-host.js.map +0 -1
  857. package/dist/entity-apply-store.d.ts +0 -105
  858. package/dist/entity-apply-store.js +0 -290
  859. package/dist/entity-apply-store.js.map +0 -1
  860. package/dist/git-capture.d.ts +0 -36
  861. package/dist/git-capture.js +0 -91
  862. package/dist/git-capture.js.map +0 -1
  863. package/dist/git-card.d.ts +0 -17
  864. package/dist/git-card.js +0 -133
  865. package/dist/git-card.js.map +0 -1
  866. package/dist/git-checkpoint-construction.d.ts +0 -40
  867. package/dist/git-checkpoint-construction.js +0 -102
  868. package/dist/git-checkpoint-construction.js.map +0 -1
  869. package/dist/git-checkpoint-preparation.d.ts +0 -37
  870. package/dist/git-checkpoint-preparation.js +0 -145
  871. package/dist/git-checkpoint-preparation.js.map +0 -1
  872. package/dist/git-configuration.d.ts +0 -40
  873. package/dist/git-configuration.js +0 -217
  874. package/dist/git-configuration.js.map +0 -1
  875. package/dist/git-evidence.d.ts +0 -61
  876. package/dist/git-evidence.js +0 -181
  877. package/dist/git-evidence.js.map +0 -1
  878. package/dist/git-index-witness.d.ts +0 -33
  879. package/dist/git-index-witness.js +0 -69
  880. package/dist/git-index-witness.js.map +0 -1
  881. package/dist/git-literal-host.d.ts +0 -82
  882. package/dist/git-literal-host.js +0 -173
  883. package/dist/git-literal-host.js.map +0 -1
  884. package/dist/git-literal-read.d.ts +0 -88
  885. package/dist/git-literal-read.js +0 -170
  886. package/dist/git-literal-read.js.map +0 -1
  887. package/dist/git-literal-replay.d.ts +0 -33
  888. package/dist/git-literal-replay.js +0 -269
  889. package/dist/git-literal-replay.js.map +0 -1
  890. package/dist/git-native-file.d.ts +0 -42
  891. package/dist/git-native-file.js +0 -145
  892. package/dist/git-native-file.js.map +0 -1
  893. package/dist/git-native-index.d.ts +0 -21
  894. package/dist/git-native-index.js +0 -44
  895. package/dist/git-native-index.js.map +0 -1
  896. package/dist/git-operation-host.d.ts +0 -48
  897. package/dist/git-operation-host.js +0 -127
  898. package/dist/git-operation-host.js.map +0 -1
  899. package/dist/git-private-index.d.ts +0 -11
  900. package/dist/git-private-index.js +0 -42
  901. package/dist/git-private-index.js.map +0 -1
  902. package/dist/git-private-repository.d.ts +0 -4
  903. package/dist/git-private-repository.js +0 -69
  904. package/dist/git-private-repository.js.map +0 -1
  905. package/dist/git-private-view.d.ts +0 -57
  906. package/dist/git-private-view.js +0 -240
  907. package/dist/git-private-view.js.map +0 -1
  908. package/dist/git-ref-store.d.ts +0 -12
  909. package/dist/git-ref-store.js +0 -68
  910. package/dist/git-ref-store.js.map +0 -1
  911. package/dist/git-registration-host.d.ts +0 -38
  912. package/dist/git-registration-host.js +0 -96
  913. package/dist/git-registration-host.js.map +0 -1
  914. package/dist/git-repository-host.d.ts +0 -191
  915. package/dist/git-repository-host.js +0 -917
  916. package/dist/git-repository-host.js.map +0 -1
  917. package/dist/git-worktree-host.d.ts +0 -2
  918. package/dist/git-worktree-host.js +0 -16
  919. package/dist/git-worktree-host.js.map +0 -1
  920. package/dist/graph-publication.d.ts +0 -75
  921. package/dist/graph-publication.js +0 -203
  922. package/dist/graph-publication.js.map +0 -1
  923. package/dist/ground-territory.d.ts +0 -130
  924. package/dist/ground-territory.js +0 -511
  925. package/dist/ground-territory.js.map +0 -1
  926. package/dist/register-upload-fusion.d.ts +0 -84
  927. package/dist/register-upload-fusion.js +0 -172
  928. package/dist/register-upload-fusion.js.map +0 -1
  929. package/dist/repository-identity-steps.d.ts +0 -5
  930. package/dist/repository-identity-steps.js +0 -33
  931. package/dist/repository-identity-steps.js.map +0 -1
package/PURPOSE.md CHANGED
@@ -24,13 +24,17 @@ the sharing baseline, and the last verified materialization. Existing effect
24
24
  recovery must finish before this shortcut can resolve history. This boundary
25
25
  is being implemented; the full native Apply examination has not passed it yet.
26
26
 
27
- One read-only view of bound, nonterminal Apply recovery receipts protects original
28
- participants and source/destination cones during Detect. Root and path coverage
27
+ One read-only view of the open Apply windows, bound and not yet ended, protects
28
+ every address, object and entity their receipt rows name during Detect
29
+ (`src/detection/apply-ownership.ts`). The window's receipt is its row, never a
30
+ file: bound before the first visible effect, ended at Verify, durable only after
31
+ the revealed bytes are flushed (`src/apply-window-saves.ts`); every reveal step
32
+ is idempotent against it, so a window re-entered after a crash runs the same
33
+ steps again (`src/apply-window-recovery.ts`). Root and path coverage
29
34
  remain distinct from ownership: the walk leaves each owned cone unread inside its
30
35
  root and admits the root's independent units; only a cone containing the root, or
31
- Register and first-login declaration, defer the whole root. No deferred row is
32
- refreshed, erased, or admitted through ignore policy. Register and declaration
33
- recheck exact ownership answers, including absence, alongside the physical and
36
+ a new root's first walk, defer the whole root. No deferred row is
37
+ refreshed, erased, or admitted through ignore policy. A first walk rechecks exact ownership answers, including absence, alongside the physical and
34
38
  SQLite basis; a unit walk relies on its lease, which every later Apply effect
35
39
  crosses under its ground hold.
36
40
  Terminal commit wakes original receipt scopes before private cleanup. A self-owned
@@ -51,13 +55,16 @@ now is inaccessible, not wrong: its durable intent still owns the ground bound
51
55
  there while its receipt, kept in that binding's control tree, waits unread. A
52
56
  binding proved to be another object is unsafe. Neither poisons unrelated roots.
53
57
  One preimage association represents source roots (including leaves) and descendant
54
- directories. Primary and collateral renames use one placement checker; cancellation
55
- repairs only proved O addresses under their actual binding, never B or accepted
56
- history. Admission and receipt binding share one SQLite write transaction, including
57
- physical aliases whose pathname leases do not overlap. Private unbound receipt
58
+ directories. Every Apply move, of a primary, a room sibling or a tidy, is one no-replace
59
+ move that puts ground first and rows after. Retirement, materialized or cancelled, places
60
+ each participant's rows in both inventories where its object stands, under its
61
+ actual binding and the basis that read them; it changes addresses only, never a
62
+ sharing result or accepted history. Admission and receipt binding share one
63
+ SQLite write transaction, including physical aliases whose pathname leases do
64
+ not overlap. Private unbound receipt
58
65
  files grant no effects and cannot be adopted as earlier effect evidence.
59
66
  Controlled full-ideal checks cover these recovery paths, including a stopped
60
- primary rename and a second Apply targeting a still-owned collateral participant.
67
+ primary rename and a second Apply targeting a still-owned room sibling.
61
68
  Complete native and multi-machine convergence remain unproved.
62
69
 
63
70
  ## Operating axioms
@@ -89,7 +96,12 @@ migration is out of scope because no existing Engine users need it.
89
96
  generation. An update is a trial: the last good release is home.
90
97
  - **O4 — Health observation stays available.** Local control and liveness
91
98
  perform bounded work independently of product readiness, cloud connectivity,
92
- and workload size.
99
+ and workload size. No step whose cost grows with data runs on the event
100
+ loop: a walk over many files yields between them, and each file's bytes,
101
+ removal and metadata go through libuv's asynchronous calls, so health
102
+ answers whatever the folder size. A container Enter of 12,004 files once
103
+ held the loop for 138 seconds with synchronous copies, past the
104
+ supervisor's two minutes, and the runtime was restarted for being busy.
93
105
  - **O5 — Each decision has one repository owner.** Core owns portable kernel
94
106
  policy, each product owns its domain policy, and Shell supplies composition
95
107
  and machine effects through their public contracts.
@@ -205,8 +217,9 @@ effect remains. Every remaining effect passes the same local-work, preimage
205
217
  and destination checks under the complete ground scope. An interrupted effect
206
218
  owns a recovery obligation, never arbitrary later edits at its address. Recovery
207
219
  cannot be retired until its retained versions have an explicit safe disposition.
208
- Startup may settle history through an explicitly installed snapshot watermark;
209
- equality with a sharing row never manufactures a current materialization proof.
220
+ Only verified materialization settles history: Verify, or an Add's install of
221
+ exactly the entities it verified present or absent. Equality with a sharing row
222
+ never manufactures a current materialization proof.
210
223
  The exact Apply outcome commits before private recovery deletion. The same
211
224
  intent then owns only a finite cleanup description; restart dispatches that
212
225
  responsibility without current O or old cargo. Cleanup hashes survivors with
@@ -241,6 +254,13 @@ multi-machine examinations remain open.
241
254
  These Apply guard laws and the ignore publication host integration are being
242
255
  completed; component evidence is not a full-host pass.
243
256
 
257
+ The runtime alone says which products it runs, and the Files program that
258
+ delivers to them acts on that word. Until the word comes, a received construct
259
+ waits with no error and no clock, and the word wakes it. A computer without a
260
+ product says so at once, and Apply reports that as the error it is. A computer
261
+ with Apps says so only once Apps has booted, because boot starts what it finds
262
+ and must not find a delivery half made.
263
+
244
264
  Sync has one persistent machine setting: paused or enabled. An absent setting
245
265
  keeps the existing enabled behavior; pausing persists an explicit choice.
246
266
  It lives outside package generations and changes only by explicit command.
@@ -425,16 +445,27 @@ Each requests F_FULLFSYNC where the platform has it, because a plain macOS fsync
425
445
  can leave a commit in the drive's cache. Every write to a ground file is a
426
446
  named save run by that file's one saver thread (`src/ground-saver.ts`): saves
427
447
  posted while a commit flushes form the next batch, each in its own savepoint,
428
- committed once at synchronous=FULL. A save settles only once the drive holds
429
- it, so Send submits only durable Outbox rows; the main thread's ground
430
- connections only read, so it never waits for the drive. Detect reports the
431
- journal, synchronous and fullfsync settings the saver committed under.
448
+ committed once. A save settles only once the drive holds it, except an
449
+ ordered save whose truth also stands elsewhere (Detect's admission, a stamp,
450
+ a received page): it commits without waiting for the drive, and the next
451
+ strict commit's flush covers it, because the log only grows. Send asks for
452
+ that flush before every offer, so it submits only durable Outbox rows; the
453
+ main thread's ground connections only read, so it never waits for the drive.
454
+ Detect reports the journal, synchronous and fullfsync settings the saver's
455
+ strict commits run under.
432
456
  Whatever launches the runtime process names the Node flags of
433
457
  `src/runtime-node-flags.ts`: a bounded young generation keeps each of the main
434
458
  thread's garbage-collection pauses to a few milliseconds.
435
- Durability acknowledgements require the native flush to succeed through a handle
436
- with the access it requires; a failed flush cannot become a successful install
437
- or materialization. Each writer owns the durability of the files it creates.
459
+ Every file and directory flush is the operating system's own, through Node
460
+ (`src/flush.ts`): fsync, FlushFileBuffers on Windows, F_FULLFSYNC on macOS.
461
+ There is no weaker flush, so a write that must persist before another is
462
+ flushed before the other is issued. A flush covers only what it names, so it
463
+ never waits for writes it did not make, and every flush through a handle
464
+ takes one of a fixed half of Node's thread pool: behind someone else's
465
+ writeback a flush can wait seconds, and the other half keeps serving reads,
466
+ a placed file's included. Durability acknowledgements require that
467
+ flush to succeed through a handle with the access it requires; a failed flush
468
+ cannot become a successful install or materialization. Each writer owns the durability of the files it creates.
438
469
  Content equality alone cannot acknowledge durable materialization; Verify
439
470
  re-establishes the affected file and directory flushes before completion.
440
471
  The staging barrier composes a writer's acknowledgement only while its exact
@@ -474,7 +505,10 @@ changes it. Examinations inject their credential store explicitly.
474
505
  shared adapters once for their installation scope and injects them instead
475
506
  of letting consumers rediscover them. Product-owned resources stay behind
476
507
  their SDK's public API: Apps, for example, owns its app processes and store,
477
- and Shell never opens a second lifecycle owner for them. Portable SDK
508
+ and Shell never opens a second lifecycle owner for them. Shell is what talks
509
+ to the OS: it keeps the runtime alive and boots Apps once the runtime
510
+ listens. Apps is then the light server that turns on, and keeps on, every
511
+ app a person left on. Portable SDK
478
512
  decisions receive effects explicitly and never discover ambient process
479
513
  state or disk on their own.
480
514
 
@@ -552,7 +586,10 @@ Local profiles retain their selected sources and do not follow managed targets.
552
586
  separation, installation verification, restart proof, and readiness. Its
553
587
  Files step returns explicit paused evidence or calls one `@amalgm/live`
554
588
  user-ground convergence operation. The shell supplies filesystem, SQLite,
555
- Watch, and cloud-wire effects only. Resume retains the existing recovery,
589
+ Watch, and cloud-wire effects only. Joining ground takes its place in one
590
+ save that discharges what produced it (initial-publication.ts); ground
591
+ already on the delivery line keeps its own position, and no startup jumps
592
+ it to a newer head. Resume retains the existing recovery,
556
593
  Watch and Detect/Record order to reconcile a stopped or paused interval.
557
594
 
558
595
  10. **One wire reaches the existing authority.** The shell's Live adapter uses
@@ -622,13 +659,13 @@ after adoption.
622
659
  for queued events, and only then tears down its wire. `files register` and
623
660
  `files add` execute inside that same running host, so declaration, SQLite,
624
661
  cloud, and Watch work use the established owners rather than constructing a
625
- second lifecycle. Register waits through graph reconciliation, healthy
626
- coverage, capture of every repository parcel, immutable upload, and
627
- graph-head commit before it returns. An uncapturable repository refuses
628
- Register, which then admits and journals nothing; Live's binding and
629
- reference stay durable, so a retry declares the same workspace. No graph
630
- containing a `repo.git` without its verified Card + Checkpoint transport
631
- can become the cloud head. The
662
+ second lifecycle. Register waits until the authority has accepted its
663
+ workspace's package and reference, with healthy coverage, before it
664
+ returns. An uncapturable repository leaves its ground owed to Detect,
665
+ which records nothing of it; Live's binding and reference stay durable,
666
+ so a retry waits on the same workspace. No package containing a
667
+ `repo.git` without its verified Card + Checkpoint transport is offered.
668
+ The
632
669
  watcher established after authoritative materialization remains the one
633
670
  ongoing watcher; the CLI never creates and immediately closes a second
634
671
  Watch lifecycle. Closing an unchanged watcher does not invent a full scan. A
@@ -645,24 +682,49 @@ after adoption.
645
682
  root whose own directory entry changed. If the directory at that address
646
683
  is still the same device, inode, and filesystem creation generation its
647
684
  content handle was opened on, that handle already covers everything inside
648
- and the ring adds nothing; missing ground, a lost handle, or a replaced
649
- directory retires the handle and re-establishes coverage. The blind
650
- interval could hide an effect through an alias in any root, so every root
651
- is put completely in question. On macOS
652
- each handle is its own FSEvents stream through Amalgm's own binding
685
+ and the ring adds nothing; a lost handle or a replaced directory retires
686
+ the handle and re-establishes coverage. The blind interval could hide an
687
+ effect through an alias in any root, so every root is put completely in
688
+ question. Ground that left is not lost coverage (Live's absence law):
689
+ every binding is declared at its physical address, and a declared root
690
+ that is missing, obstructed, or unreadable holds no handle, degrades
691
+ nothing, and is heard returning by its nearest listable ancestor's
692
+ address handle, while every other root keeps recording; a returning root
693
+ is caught up whole. Detect treats a root standing on another device than
694
+ it was bound on as unavailable too (`RootOffDevice`), while one re-created
695
+ on its bound device is the same workspace, read whole and compared (Live's
696
+ deletion law). Watch, the binding inventory, and Detect's domain
697
+ check ask one presence question (`presentDirectory`), so they never
698
+ disagree about which roots are there. The route Git takes from a
699
+ checkout to storage outside every root (each link it follows and each
700
+ directory it leaves by `..`, a gitfile it reads, the storage, its
701
+ `commondir` file, a linked worktree's common directory), resolved
702
+ physically as Git resolves it up to the first name Git cannot pass, is
703
+ declared to Watch as dependencies of
704
+ the root holding the checkout (`watching/git-storage.ts`): a storage
705
+ directory gets its own content and parent address handles, any other
706
+ name is heard at its parent's address handle filtered to its own change, every
707
+ ring is forwarded to `<checkout>/.git`, and absence or replacement rings
708
+ that path without degrading coverage. The route is read again when
709
+ repository membership changes and when a finished Detect pass read ground
710
+ holding the checkout. A checkout whose route Git cannot use yet keeps
711
+ declaring it as far as it reaches, so a repair anywhere on it is heard;
712
+ the walks that read it report it. On macOS each handle
713
+ is its own FSEvents stream through Amalgm's own binding
653
714
  (`native/fsevents/`), which asks for per-file events delivered without
654
715
  coalescing delay, so a ring reaches Detect at the platform floor and
655
716
  opening or closing one never interrupts another; Node's own watcher serves
656
717
  every handle in the process from one stream that it recreates, resuming
657
718
  from the present, on every change, and loses the events in between.
658
- Initialization failure or handle death is reported as degraded, retains
659
- full-root suspicion, and retries independently of Detect; it can never be
660
- reported as active coverage. A Linux descendant directory the tree cannot
661
- enter is not lost coverage: its parent hears it. One that vanished needs
662
- no handle. One this process may not read keeps any handle it already had,
663
- and Detect names that ground unavailable, until an event on its name asks
664
- again; entering it then ends an interval no handle heard, so its whole
665
- root is put in question. Only the root's own failure is lost coverage.
719
+ Initialization failure or handle death on present ground is reported as
720
+ degraded, retains full-root suspicion, and retries independently of Detect;
721
+ it can never be reported as active coverage. A Linux descendant directory
722
+ the tree cannot enter is not lost coverage: its parent hears it. One that
723
+ vanished needs no handle. One this process may not read keeps any handle it
724
+ already had, and Detect names that ground unavailable, until an event on
725
+ its name asks again; entering it then ends an interval no handle heard, so
726
+ its whole root is put in question. Only the root's own failure is lost
727
+ coverage.
666
728
 
667
729
  17. **Independent content may travel concurrently; authority remains atomic.**
668
730
  The host bounds parallel uploads for small immutable objects and processes
@@ -670,22 +732,29 @@ after adoption.
670
732
  memory. The registry head advances only after every referenced object is
671
733
  durably acknowledged.
672
734
 
673
- 18. **A Git repository travels through Git.** Filesystem marker presence
674
- classifies `repo.git` independently of whether Git commands succeed; a Git
675
- failure defers cloud publication for that materialized root but never
676
- demotes the entity, admits `.git` as ordinary ground, or prevents the
677
- watching runtime and unrelated roots from becoming ready. The host asks Git to pack the declared
678
- refs against the authority's known object frontier and asks Git to index
679
- received packs. Every directory with a `.git` directory or file begins its
680
- own repository rail. Ordinary children keep their UUID rows locally and
681
- ride in the nearest repository state metadata; a nested repository and its
682
- ancestry spine remain in the cloud graph, carry their own Card + Checkpoint,
683
- and materialize after their enclosing repository. The enclosing Card keeps
684
- its own Gitlink and index truth, but its Checkpoint excludes the nested
685
- worktree because that state belongs exclusively to the nested rail. Its
686
- enclosing identity entry carries only path, UUID, and type—never the nested
687
- repository's payload head. A shallow boundary travels with that metadata
688
- and is installed before Git reads the imported objects.
735
+ 18. **A Git repository travels through Git.** A `.git` that passes Git's own
736
+ structural test, read natively without running Git (`namesGitRepository`:
737
+ its storage holds a valid HEAD and its common directory holds `objects` and
738
+ `refs`; a `.git` link is followed, as Git follows it), classifies
739
+ `repo.git`, and the same test draws each nested boundary inside a
740
+ repository's capture. One Git would refuse is no repository: its
741
+ directory is a folder or workspace on the same UUID whose children travel
742
+ as ordinary entities until Git can use it again. `.git` itself, usable or
743
+ not, is never an entity. Past that test, a Git failure defers cloud
744
+ publication for that materialized root but never demotes the entity or
745
+ prevents the watching runtime and unrelated roots from becoming ready. The
746
+ host asks Git to pack the declared refs against the authority's known
747
+ object frontier and asks Git to index received packs. Every directory whose
748
+ `.git` Git can use begins its own repository rail. Ordinary children keep
749
+ their UUID rows locally and ride in the nearest repository state metadata;
750
+ a nested repository and its ancestry spine remain in the cloud graph, carry
751
+ their own Card + Checkpoint, and materialize after their enclosing
752
+ repository. The enclosing Card keeps its own Gitlink and index truth, but
753
+ its Checkpoint excludes the nested worktree because that state belongs
754
+ exclusively to the nested rail. Its enclosing identity entry carries only
755
+ path, UUID, and type—never the nested repository's payload head. A shallow
756
+ boundary travels with that metadata and is installed before Git reads the
757
+ imported objects.
689
758
 
690
759
  19. **Live owns transfer; Shell owns transfer effects.** `@amalgm/live`
691
760
  decides which entity types have artifacts, which chunks are missing, when
@@ -728,7 +797,15 @@ after adoption.
728
797
  one examination across every configured materialization root. Such a shared
729
798
  obligation settles only when every participating root completes against the
730
799
  same frozen Watch generation and binding set. Unavailable ground remains
731
- pending; a changed binding set requires a new complete examination. Native
800
+ pending; a changed binding set requires a new complete examination. A cut
801
+ frozen under it is proved by root identity, never binding instance: once
802
+ every root it named is bound again and examined completely through its
803
+ generation, by that examination or a returning root's own whole catch-up.
804
+ A named root still away keeps the cut pending and is answered unavailable,
805
+ never settled. The runtime's database is never opened a second time by its
806
+ name: while its home, or a directory down to it, is not the object it was
807
+ opened in, that ground is unavailable and flush says so at once; the file
808
+ alone changing beneath directories that still stand is a fault. Native
732
809
  event IDs are diagnostics, never identities or settlement cutoffs. Unexpected
733
810
  coverage loss retains one episode through repeated reopen failures; its
734
811
  qualifying observation starts only after replacement coverage is healthy.
@@ -790,10 +867,19 @@ after adoption.
790
867
  private repository without source remote configuration. Checkpoint decoding
791
868
  and member verification have one private preparation owner, separate from
792
869
  index installation and working-file effects. Replay consumes and closes that
793
- preparation; it does not maintain a second package validator. Sparse directory
794
- entries currently cause an explicit unsupported-index refusal, never an
795
- incomplete index or an alternate-enabled index writer; the native decoder
796
- refuses them before any Git process could expand them. A form Git never
870
+ preparation; it does not maintain a second package validator. A sparse
871
+ index's folder entries, each one tree outside the cone, are read as Git
872
+ writes them and are their files' meaning. Git is never handed a sparse
873
+ index beside borrowed objects: Git expands one by writing every tree it
874
+ expands, and writing an object Git already holds refreshes the source
875
+ file's time, so the read would ring the repository's own Watch and each
876
+ capture would cause the next. Inventory that needs those files asks one
877
+ Git tree reader over borrowed objects, and Git lists untracked names over
878
+ the full index written from them in private storage, borrowing no
879
+ objects. Any stderr fails either read, because Git reports a tree or a
880
+ folder it cannot read yet exits 0 without it, and Shell's Git is asked for
881
+ no advice. No incomplete inventory escapes, and no source index or object
882
+ is written. A form Git never
797
883
  writes, or a required extension Git would not understand, is refused
798
884
  rather than guessed. A zero split link has no shared-base dependency.
799
885
  Fast reuse closes the complete metadata/namespace proof, whose index
@@ -815,21 +901,24 @@ after adoption.
815
901
  entity identity. Missing, corrupt, or obsolete cache bytes are removed and
816
902
  recomputed from authoritative local ground; they never become a legacy
817
903
  compatibility requirement and never prevent the machine from resuming.
818
- A cache name appears only over durable bytes: every writer makes a staged
819
- file durable before renaming it into place, so an existing name already
904
+ A cache name appears only over durable bytes: every writer flushes a
905
+ staged file before renaming it into place, so an existing name already
820
906
  holds that immutable object and a rename over it replaces identical
821
907
  durable bytes. Windows refuses to replace a name another holder has
822
908
  open; that name is judged as one found before staging, adopted only when
823
- it qualifies. Staged cargo becomes durable in groups: its bytes are
824
- written through to the device, and one barrier covers every writer that
825
- staged before the barrier began (on macOS, one drive flush), so a burst of
826
- captures never waits for one full flush per file. A barrier stalls the
827
- staging still in flight, so a pass that captures a set names it together
828
- once the whole set has staged, as Git batches object writes behind one
829
- flush: one barrier per pass, and none while its reads run. Before Record admits
830
- captured cargo it flushes the cache directories off the event loop only
831
- when a required name is not yet known durable; a crash can lose an
832
- unrecorded name, never leave a Record naming torn bytes.
909
+ it qualifies. A staged file is flushed when it is named, not when it is
910
+ written: a pass that captures a set names the cargo its Records carry once
911
+ the whole set has staged and removes the rest unflushed, so its reads
912
+ never wait on the drive. A Record and its cargo become durable together.
913
+ The small cargo a named pass read commits in its Record's own
914
+ transaction, so the log's order is its durability and the pass pays no
915
+ flush; the cache names it afterward, and the journal lets it go only once
916
+ the name is durable. Send reads the journal first; any other reader of an
917
+ unnamed name finds it absent, which it already answers (a delta base
918
+ selects the snapshot). Any other cargo is named before its Record commits,
919
+ with one flush of the cache directory, off the event loop, and none when
920
+ every required name is already known flushed. A crash can lose an
921
+ unrecorded name, never leave a Record whose bytes stand nowhere.
833
922
  A pending Send consults its capture-derived manifest and the authority's
834
923
  immutable inventory before opening local cargo: after upload succeeded but
835
924
  before its acknowledgement became durable, complete cloud cargo is enough
@@ -840,21 +929,24 @@ after adoption.
840
929
  declared cargo is bounded, Shell supplies the cached manifest and blocks to
841
930
  Live for the same submit frame; otherwise it uses the ordinary missing-block
842
931
  effect. A cached manifest is read off the main thread and is only a hint:
843
- an absent or invalid one takes the ordinary obtain-or-derive path, and the
844
- cache use that protects it lasts until the read finishes. The cloud, not Shell, owns the final seal-before-number decision.
932
+ an absent or invalid one takes the ordinary obtain-or-derive path; the
933
+ pending Record that names it retains it. The cloud, not Shell, owns the
934
+ final seal-before-number decision.
845
935
  Cache bytes remain only while an unresolved durable operation names their
846
- content head or while the current verified text or repository head is the
847
- one exact base for that entity's next delta. Once Send acceptance is
848
- durable, Shell removes every sealed artifact and manifest that neither a
849
- pending Record nor a current replay base retains; restart performs the same
850
- derivation from SQLite, so accepted history cannot accumulate as machine
851
- storage.
936
+ content head, while the current verified text or repository head is the
937
+ one exact base for that entity's next delta, or while a writer that will
938
+ Record them holds their fence (`src/content-cache-fences.ts`). Collection
939
+ is due at boot, after 1,024 new cached names, and hourly, as `git gc
940
+ --auto` is; it derives what no row retains from SQLite and removes it,
941
+ skipping each name fenced since its listing and that name's held parent
942
+ chain, so accepted history cannot accumulate as machine storage.
852
943
 
853
944
  25. **Each cold stage performs only its necessary byte pass.** Registration
854
945
  reads every ordinary text or binary file once through the bounded capture
855
946
  stream to classify it, derive its content head, and retain large-file
856
- manifest evidence; a graph publication does not also copy those bytes into
857
- the disposable cache. Upload first proves which heads are already sealed,
947
+ manifest evidence. A Detect that plans Send seals those bytes in the
948
+ disposable cache in the same read; a first publication's login walk does
949
+ not also copy them there. Upload first proves which heads are already sealed,
858
950
  touches no source for those heads, and reads each remaining artifact once
859
951
  from the strongest available evidence: an existing verified cache object,
860
952
  otherwise its registered ground path. Every emitted block is checked
@@ -890,14 +982,19 @@ after adoption.
890
982
  window so the combined cold byte window remains bounded.
891
983
 
892
984
  30. **Files commands converge on one watching runtime.** `amalgm files
893
- register <workspace>` asks the already-running runtime to create or reuse
894
- the durable declaration, reconcile the entity graph by UUID and
895
- containment, establish healthy Watch coverage, upload immutable content,
896
- and commit the cloud head before returning success.
985
+ register <workspace>` asks the already-running runtime to place the
986
+ workspace's binding, starter policy and reference, then waits while
987
+ ordinary Detect, Record and Send publish the new ground as one package
988
+ record, until the authority's accepted view holds it as its own root.
897
989
  `amalgm files add <workspace>` asks that runtime to materialize the selected
898
990
  cloud graph, refresh the exact durable reference inventory in core ground,
899
991
  and extend its existing Watch coverage before returning. References to
900
992
  unselected boundaries stay dangling and create no workspace rows or bytes.
993
+ The command only waits: a stop (SIGTERM, SIGINT) ends its wait at once
994
+ and exits 130, while the runtime keeps the journey and the same command
995
+ run again resumes it. Every failure names its stage, traced or not: the
996
+ runtime's own open stage, or whether the runtime was never reached or
997
+ stopped answering.
901
998
  Add refuses any destination that overlaps already materialized Amalgm
902
999
  ground, including the user's own home, so one physical tree can never
903
1000
  acquire two graph roles or expose staging through an existing watcher.
@@ -919,7 +1016,8 @@ after adoption.
919
1016
  every retained chunk against the pinned manifest, downloads every missing
920
1017
  or corrupt chunk, and proves the ordered whole-artifact hash. Durability
921
1018
  is one explicit barrier over the whole staged tree — every file,
922
- duplicate, and repository — that must succeed before entity rows are
1019
+ duplicate, repository and folder, each flushed through its own handle,
1020
+ never the whole filesystem — that must succeed before entity rows are
923
1021
  committed or ground is revealed; ordinary streamed files defer their flush
924
1022
  to that barrier. A
925
1023
  failed barrier leaves the intent retained, no rows committed, no visible
@@ -933,7 +1031,12 @@ after adoption.
933
1031
  workspaces remain SQLite facts and never become the selected operation's
934
1032
  in-memory graph.
935
1033
  Staging beside the destination makes the reveal an atomic rename on every
936
- supported filesystem.
1034
+ supported filesystem. Every staged build, login install, Add and container
1035
+ Enter alike (`materialize-records.ts`), copies each file from the
1036
+ immutable cache with one asynchronous `copyFile` asking for a clone: the
1037
+ kernel clones where the filesystem can (APFS, Btrfs, XFS, ReFS) and copies
1038
+ where it cannot, on every OS the same call. Four copies run at once, the
1039
+ width of libuv's thread pool, and the walk yields before each.
937
1040
  Register reuses identity at the same native address. Device and inode may
938
1041
  rescue a move only when the prior address is gone; a different address
939
1042
  that is still present is a collision or hard link, never the same entity.
@@ -945,74 +1048,52 @@ after adoption.
945
1048
  A graph that `add` has just materialized and verified is the initial
946
1049
  baseline for that newly covered root, so Watch does not report the
947
1050
  downloader's own writes as user edits; every later OS notification remains
948
- ordinary suspicion. The same verified notebook is Apply's materialization
949
- baseline: the newest retained Inbox result that exactly equals each
950
- installed row advances that entity's resolved and materialized sequence
951
- without replaying historical cargo, while every later different result
952
- remains ordinary Apply work. Watch may establish native coverage before
953
- startup Apply is ready, but its suspicions remain unconsumed until Apply
954
- has adopted or resumed durable materialization. Startup adopts that
955
- baseline while holding every watched ground cone; only after Apply starts
956
- does one Detect generation consume the rings accumulated during boot. An
957
- older Detect transaction settles first and any newer Watch generation
958
- waits until adoption finishes. Register
1051
+ ordinary suspicion. The same verified install is Apply's materialization
1052
+ baseline, committed with its rows: each installed entity resolves through
1053
+ its last received record within the watermark, materialized at that record
1054
+ when the install verified exactly its version, and each set-aside member,
1055
+ verified absent, resolves at the same place, materialized nowhere
1056
+ (`src/apply-window-saves.ts`). Every other received
1057
+ record, including every later record of those entities, remains ordinary
1058
+ Apply work, and the Add wakes Apply's line once it releases its ground.
1059
+ Watch may establish native coverage before startup Apply is ready, but its
1060
+ suspicions remain unconsumed until Apply has acquired its binding roots and
1061
+ resumed durable materialization; only after Apply starts does one Detect
1062
+ generation consume the rings accumulated during boot. Register
959
1063
  and Watch enumerate the same durable binding inventory, so a missed
960
1064
  notification for rendering the portable reference cannot lose a
961
- declaration. A bound root that no Register has committed is held: it is
962
- covered but stays `catching-up`, and Detect neither walks nor shares it
963
- or its reference until Register declares it again under the same UUID.
964
- Register admits exactly its declaration — the walked workspace, its
965
- reference, and any core ancestor the accepted view lacks — beside one
966
- journal row, and nothing else.
1065
+ registration. A bound root with no rows is new ground: Detect walks it
1066
+ once and records it as one package on its root UUID (Live
1067
+ `packageProposals`), every member keeping its own UUID inside the
1068
+ package's pages, beside ordinary creations for its reference and any
1069
+ folder on its way. Ground placed in the home directly is the same new
1070
+ subtree, packaged by the same pass with no command.
967
1071
  Registering ground that encloses workspaces this machine already
968
- materializes absorbs each one the authority holds as its own active root.
969
- Every identity is kept. Only the absorbed root's own record changes: its
970
- parentUUID and name become where the enclosing walk found it, and a
971
- `workspace` becomes a `folder`. The head drops that root in the same
972
- commit. Absorbed ground rides as the accepted graph and the sharing
973
- baseline already hold it, so local work there stays owed to ordinary
974
- Detect, and it is held with the enclosing workspace until the authority
975
- accepts that declaration; a refusal keeps both held until Register runs
976
- again. Enclosed ground that is still held, was never accepted, is accepted
977
- inside a root the new ground does not enclose, or is not active refuses
978
- Register. Ground inside a materialized workspace is refused, because that
979
- graph already holds it. Overlapping registrations never create a second
980
- identity family.
981
- Register success is scoped to the selected workspace's SQLite row, its
982
- exact durable reference row, immutable content, cloud-head membership for
983
- both identities, and healthy coverage. It never waits for unrelated Watch
984
- traffic across the machine to become silent.
985
- Register's one walk of the workspace consumes the complete suspicion of
986
- its new coverage. The core records it declares derive from their two
987
- addresses; it never enumerates, scans, or reprojects core or unrelated
988
- existing roots. Any unrelated suspicion remains ordinary ongoing work of
989
- the same host.
990
- Re-declaring a workspace the accepted view already holds as its own root
991
- publishes no head and walks nothing: it proves cargo closure (31) and
992
- returns, and Watch continues to own subsequent content changes. Ending
993
- any cold command rearms a Watch generation that arrived while that
994
- command temporarily suppressed Detect; a successful idempotent proof
995
- cannot strand pending suspicion.
996
- 31. **A cold graph publication proves cargo closure under the current
997
- contract.** A replacement of the selected complete logical roots is one
998
- atomic cloud operation; unrelated roots already held by authority are
999
- preserved there and never retransmitted. Their presence in the resulting
1000
- portable graph never makes this machine responsible for those content
1001
- bytes. A graph head never proves cargo: a record in any head may name
1002
- content sealed only under a prior content contract, whose namespace the
1003
- current readers never touch. Only the authority's durable seal for the
1004
- exact (resource, content hash, current content contract) proves an
1005
- artifact's cargo. Before advancing the head, the machine asks the
1006
- authority which content heads the declaration names are sealed under the
1007
- current contract and uploads exactly the remainder; every one is sealed
1008
- before its journal row exists, so a replay carries only graph pages.
1009
- Before answering an idempotent re-declaration, it asks the same of every
1072
+ materializes absorbs each one. Every identity is kept inside the new
1073
+ package; only the absorbed root's own record changes: its parentUUID and
1074
+ name become where the enclosing walk found it, and a `workspace` becomes
1075
+ a `folder`. Ground inside a materialized workspace is refused, because
1076
+ that graph already holds it. Overlapping registrations never create a
1077
+ second identity family.
1078
+ Register success is scoped to the selected workspace and its reference:
1079
+ it suspects those two, waits for Detect to prove that cutoff, flushes
1080
+ Send, and reads the accepted view until it holds both, with healthy
1081
+ coverage. It never waits for unrelated Watch traffic to become silent.
1082
+ Re-registering a workspace the accepted view already holds as its own
1083
+ root records nothing: it proves cargo closure (31) and returns, and Watch
1084
+ continues to own subsequent content changes.
1085
+ 31. **Cargo closure is proved under the current contract.** A graph head
1086
+ never proves cargo: a record may name content sealed only under a prior
1087
+ content contract, whose namespace the current readers never touch. Only
1088
+ the authority's durable seal for the exact (resource, content hash,
1089
+ current content contract) proves an artifact's cargo. Before Send offers
1090
+ a package, it asks the authority which of the package's artifacts and
1091
+ pages are sealed and uploads exactly the remainder as one cargo stream,
1092
+ the pages after the members, so a new workspace uploads once. Before
1093
+ answering an idempotent re-registration, Register asks the same of every
1010
1094
  content head the accepted workspace names and re-ships each lacking one
1011
1095
  that its cache or ground still holds exactly. One overtaken here already
1012
1096
  travels as its own Record; the stage names how many it could not restore.
1013
- This remains true when the local materialization boundary has a portable
1014
- parent outside the local projection.
1015
-
1016
1097
  32. **Coverage precedes recovery, and coverage is not currency.** On process
1017
1098
  start Watch first opens the same durable root topology, then Detect closes
1018
1099
  the interval during which no watcher existed. Healthy handles prove that
@@ -1065,8 +1146,13 @@ after adoption.
1065
1146
  35. **Container membership is version input, never cargo.** A workspace or
1066
1147
  folder derives its logical version from the UUIDs and names of active
1067
1148
  direct children, while its portable and notebook `payloadVersion` remains
1068
- null. Every Shell writer stores only the derived version, and Live's cloud
1069
- codec refuses a container payload. An independently ordered container
1149
+ null. Every Shell writer stores only the derived version: each save that
1150
+ changes membership derives it inside its own transaction from the children
1151
+ that inventory records, so a child no save has recorded counts nowhere,
1152
+ no row comparison counts a container's version, and no proof holds it: a
1153
+ proof holds where a container stands and the slot it takes, so a sibling
1154
+ recorded meanwhile never stales it. Live's cloud codec refuses
1155
+ a container payload. An independently ordered container
1070
1156
  receipt may therefore create, move, or rename its address, but it can never
1071
1157
  overwrite membership already established by child UUID rows or emit a
1072
1158
  second container mutation for that derivation. Local adapter evidence can
@@ -1077,7 +1163,13 @@ after adoption.
1077
1163
  parent and name operations with that grammar, preserving `\\` as a literal
1078
1164
  character, and only then resolves those components with the host platform's
1079
1165
  path semantics for a filesystem effect. Durable records never rewrite or
1080
- mix separators accidentally.
1166
+ mix separators accidentally. A link's target text is portable grammar
1167
+ too, as in Git: it travels with `/`, and only a Windows host converts it,
1168
+ `/` to `\` when writing a link and `\` back to `/` when reading one
1169
+ (`src/link-target.ts`). Windows writes it through its own link call,
1170
+ which keeps the text; only a target holding a literal `\`, or naming a
1171
+ drive without a root (`C:x`), cannot be reproduced there.
1172
+ Bindings and managed references are machine-local paths and stay native.
1081
1173
 
1082
1174
  37. **Git materialization reproduces Card bytes independently of machine
1083
1175
  preferences.** A repository created by Add disables receiver-global line
@@ -1089,6 +1181,9 @@ after adoption.
1089
1181
  process, socket, and watcher handles before ground may be moved, deleted,
1090
1182
  or reopened. Unix permission to unlink an open file is never used as proof
1091
1183
  of a complete lifecycle.
1184
+ A Git invocation settles after its process closes and its input producer is
1185
+ released: Git's exit judges a closed input pipe, while an observed producer
1186
+ failure remains a failure even after Git exits or reports no match.
1092
1187
 
1093
1188
  39. **A finite CLI command leaves no transport alive after its result.** The
1094
1189
  running runtime alone owns persistent connections; register and add close
@@ -1168,18 +1263,19 @@ after adoption.
1168
1263
  and widens only when that object is unknown. Old and new addresses reconcile
1169
1264
  under the same complete identity law. Ordinary structural changes still
1170
1265
  use broad reconciliation; constant-time named work is not a current claim.
1171
- Git lock filenames (`index.lock`, `HEAD.lock`, ref locks) are notices,
1172
- not repository state or proof that reading is unsafe. Detect reads the
1173
- committed index and current physical bytes and closes their normal source
1174
- witnesses even while a lock exists. A lock says only when a rung lane
1175
- reads: a writer lock younger than 750 ms (the one-second Git budget less
1176
- an ordinary read's 250 ms) holds its repository as moving ground until the
1177
- lock's release rings or the lock stops holding, and the held lane parks
1178
- for exactly that deadline. Moving evidence without a known deadline
1179
- retries after 250 ms. A stale lock therefore cannot prevent completion
1180
- and is never deleted by observation. Shell's
1181
- own background Git reads disable optional locks so observation never rings
1182
- itself merely by refreshing the index.
1266
+ A Git lock (`<path>.lock`) is a write in progress, never proof that
1267
+ reading is unsafe. Detect reads the committed files and current physical
1268
+ bytes and closes their normal source witnesses even while a lock exists.
1269
+ A lock says only when a rung lane reads: a changed state that shows a
1270
+ lock last written less than Git's longest lock wait (1 s, `@amalgm/live`
1271
+ `git/locks.ts`) ago holds its repository as moving ground until the
1272
+ lock's release rings or that second ends, and the held lane parks for
1273
+ exactly that deadline. A lock still standing then is a command left
1274
+ unfinished and travels; a cold journey reads through every lock. Moving
1275
+ evidence without a known deadline retries after 250 ms. A stale lock
1276
+ therefore cannot prevent completion and is never deleted by observation.
1277
+ Shell's own background Git reads disable optional locks so observation
1278
+ never rings itself merely by refreshing the index.
1183
1279
  Nameless, invalid, startup, and
1184
1280
  failed-coverage evidence also enter complete reconciliation. No ordinary
1185
1281
  named Detect pass serializes a workspace snapshot or
@@ -1210,25 +1306,11 @@ after adoption.
1210
1306
  record queries. Reconnect subscribes first and catches up second, so a
1211
1307
  missed event costs latency but never loses a record.
1212
1308
 
1213
- 49. **Cold graph publication is not the realtime outbox.** Register's
1214
- crash-recoverable snapshot publication has its own finite local table.
1215
- Detect records never enter it, and snapshot rows never enter the entity
1216
- outbox. The superseded mixed mutation journal does not remain as a third
1217
- queue or compatibility path. Each row owns exactly one declaration, named
1218
- by its workspace, and has exactly three meanings.
1219
- `pending` and unsubmitted is a local publication intent the authority has
1220
- never seen; if its captured ground moves it may be deleted and re-derived,
1221
- and a newer declaration of the same workspace may supersede it. `pending`
1222
- and submitted has an unknown authority outcome — the same mutation id
1223
- retries before any lookup reads the head, because it may already be
1224
- accepted with only the acknowledgement lost, and nothing may supersede
1225
- it. `rejected` means the authority conclusively refused that mutation; it
1226
- is never replayed and the next Register of that workspace folds its
1227
- declaration again beside a new row, transactionally (last write wins).
1228
- The submitted boundary is durable before the first commit frame leaves.
1229
- A permanent refusal therefore cannot wedge Register, stale local capture
1230
- cannot publish old bytes, and an unacknowledged acceptance always recovers
1231
- through its original mutation id.
1309
+ 49. **Graph publication has no queue of its own.** First login's graph is
1310
+ one idempotent `ensure` of the authority's first graph; every later
1311
+ change, a new workspace's package included, is an ordinary Outbox record
1312
+ with its own mutation identity and retry. There is no second publication
1313
+ journal, and one an older Shell left on disk is dropped at open.
1232
1314
 
1233
1315
  50. **The record queues have one prepared SQLite owner.** Shell opens and
1234
1316
  prepares the queue connection once for the rail lifetime. Receive commits
@@ -1282,8 +1364,18 @@ after adoption.
1282
1364
  53. **Visible ground coordinates by address cone.** Detect, Register, Add, Add
1283
1365
  recovery, and Apply each name the directory cones their filesystem plus
1284
1366
  SQLite projection effects touch, and two effects wait for each other only
1285
- when one cone contains the other. A Detect pass holds exactly the roots it
1286
- observes; Register holds its coverage family and core reference ground;
1367
+ when one cone contains the other. A Detect pass leases exactly the ground
1368
+ it reads, and only ground no effect holds: a name under a held cone stays
1369
+ owed while its root's other names proceed, and a release rings Detect as
1370
+ a write rings Watch, so that name looks again once its ground is free.
1371
+ Every lane, the complete lane included, gates on the ground its cut reads
1372
+ by one law: each name's subtree from its top (the first address the
1373
+ index does not hold as a folder), or the repository that owns it, with
1374
+ the root's policy file. Ground a proof finds it reads beyond that (Git
1375
+ storage a checkout keeps elsewhere, a frame's folders, a root's whole
1376
+ namespace) it takes only while no effect holds it; held, a named proof
1377
+ waits for that ground and a complete-lane cut waits as its complete root.
1378
+ Register holds its coverage family and core reference ground;
1287
1379
  Add holds its destination, staging, and core ground; Apply's final guard
1288
1380
  holds its target address, the entity's current address, and any addresses
1289
1381
  a repository identity map relocates. Conflicting effects are served in
@@ -1295,9 +1387,10 @@ after adoption.
1295
1387
  Verify, and SQLite completion exclude Detect on the same addresses. Add
1296
1388
  establishes singular Watch coverage before releasing its cones. A watcher
1297
1389
  may ring throughout, but Detect observes only the complete state before or
1298
- after a transaction, never its half-written middle. When Apply observes a
1299
- save racing its reveal, it rings exactly the addresses it compared, so
1300
- that proof costs one named Detect lane rather than a walk of every root. A local save observed before
1390
+ after a transaction, never its half-written middle. When Apply's guard
1391
+ finds ground Detect has not recorded, it lets its cones go first, then
1392
+ rings exactly the addresses it compared, so that proof costs one named
1393
+ Detect lane rather than a walk of every root. A local save observed before
1301
1394
  or during reveal is restored and passed through ordinary Detect + Record
1302
1395
  before accepted ground may replace it. Equal accepted truth at the same
1303
1396
  UUID and address advances proof without a redundant write. If Detect runs
@@ -1360,9 +1453,11 @@ after adoption.
1360
1453
  phases service Watch and transport; it inserts no scheduling gap between
1361
1454
  a final guard and reveal. This does not bound a single synchronous effect.
1362
1455
  A visible repository rewrite carries
1363
- `.git/amalgm-reveal` from its first Git mutation until exact Verify; Detect
1364
- treats that marker as unsettled private Apply ground, and restart resumes the
1365
- same durable intent before the marker is removed. Incremental materialization
1456
+ `.git/amalgm-reveal`, naming its attempt, from its first Git mutation until
1457
+ its readback proves the result, and restart resumes the same durable intent
1458
+ before the marker is removed. Only that attempt's recovery reads the marker:
1459
+ Detect leaves the repository unread because the attempt's receipt owns the
1460
+ ground, and a marker no receipt owns holds nothing. Incremental materialization
1366
1461
  imports only transport ranges whose declared Git tips are absent locally.
1367
1462
  Gaining or losing `.git` keeps the containing UUID and changes only its
1368
1463
  type rail.
@@ -1421,25 +1516,27 @@ after adoption.
1421
1516
  fold passes through the repository parcel projection exactly as publication
1422
1517
  does: a tail that turns a container into a repository retires that
1423
1518
  container's snapshot children into its parcel, and a tail that turns a
1424
- repository back into a folder carries every newly independent descendant
1425
- first and the boundary retype last. Every retype into a container uses the
1426
- same visibility barrier because it may expose descendant ground, so no
1427
- committed delivery prefix can expose a partial tree and Add never selects
1428
- a graph the parcel law would not publish. The first
1519
+ repository back into a folder carries the boundary retype first and each
1520
+ newly independent descendant after it, whose retained latest statement
1521
+ supplies its contents until its own record arrives, and a repository that
1522
+ stays a repository follows every record that crosses its boundary, so
1523
+ every committed delivery prefix is reconstructible and Add never selects
1524
+ a graph the parcel law would not publish. Replay closure also owes a
1525
+ deletion nothing else states, because the repository whose package held
1526
+ it stopped being a live one. Whatever it owes carries each enclosing
1527
+ ancestor up to the first that travels after the batch or is already owed:
1528
+ an ancestor's own head is no proof, since a later package may have
1529
+ superseded it. The first
1429
1530
  later record on an entity UUID establishes its immediate entity predecessor
1430
1531
  from the complete snapshot prefix, after which ordinary dense per-entity gap
1431
1532
  checking resumes. A publisher may name only the exact locally received
1432
1533
  and applied prefix, and authority accepts that graph only while `N` is
1433
1534
  still the committed delivery tail under the entity-record ordering gate.
1434
1535
 
1435
- 59. **Shell journals graph publication without duplicating the graph.**
1436
- Live decides the immutable pages and head. Shell stores only the small
1437
- head operation plus the changed pages needed to replay that publication;
1438
- it never writes a second whole-registry snapshot into SQLite or rebuilds
1439
- roots Live did not select. A submitted intent keeps its mutation identity
1440
- across restart. A journal in any earlier shape names no declaration: an
1441
- empty one is recreated, and a non-empty one refuses to open rather than
1442
- drop an unknown authority outcome.
1536
+ 59. **Shell keeps the graph head without duplicating the graph.** Live
1537
+ decides the immutable pages and head. Shell keeps only the head it last
1538
+ read; pages are read as immutable content, never written as a second
1539
+ whole-registry snapshot or rebuilt for roots no operation selected.
1443
1540
 
1444
1541
  60. **Runtime binding is proved, never inferred.** A platform adapter adopts
1445
1542
  an existing runtime only when Shell's published loopback address answers
@@ -1462,10 +1559,12 @@ after adoption.
1462
1559
  profile, cookie, or authentication authority. A signed machine release
1463
1560
  that does not declare Browser must not instantiate Browser state merely
1464
1561
  because the SDK is installed. Native cookie adapters use Browser's separate
1465
- private credential on `/browser-adapter`; ordinary runtime access cannot
1466
- read cookie values. Runtime publication names Browser's computer-only
1467
- `.amalgm/browser/` folder, and shutdown drains live viewers before waiting
1468
- for the gateway to close.
1562
+ private credential on `/browser-adapter`, including the desktop's native
1563
+ presentation link at `/browser-adapter/host`. The runtime owns website
1564
+ pages; desktop viewers never acquire them. Ordinary runtime access cannot
1565
+ read cookie values or join that link. Runtime publication names Browser's
1566
+ computer-only `.amalgm/browser/` folder, and shutdown drains live viewers
1567
+ before waiting for the gateway to close.
1469
1568
 
1470
1569
  62. **PTY is one authenticated Shell host capability.** The running machine
1471
1570
  runtime mounts the Core-owned PTY contract through Shell's native process
@@ -1609,8 +1708,10 @@ after adoption.
1609
1708
  is examined or remains explicitly pending. A named single-consumer result
1610
1709
  closes the complete original binding and exclusion proof at Record.
1611
1710
 
1612
- Changed native source evidence and Amalgm's own incomplete reveal refuse
1613
- capture; the mere existence of a Git lock does not. A stable
1711
+ Changed native source evidence refuses capture; the mere existence of a
1712
+ Git lock or a reveal marker does not (a young lock only times the read,
1713
+ law 45). Amalgm's own incomplete reveal is
1714
+ ground its receipt owns, which Detect leaves unread (law 54). A stable
1614
1715
  unfinished merge is portable Checkpoint truth: Shell captures its
1615
1716
  unmerged stages, worktree conflict bytes, and merge continuation through
1616
1717
  Live's one repository contract, and restores ordinary stages only after
@@ -1619,7 +1720,11 @@ after adoption.
1619
1720
  them and never creates, replaces, or removes that nested worktree. Paused
1620
1721
  rebase, cherry-pick, and revert state is not yet represented
1621
1722
  by the current contract and refuses explicitly rather than being mistaken
1622
- for transient work or flattened into a clean stage-zero entry.
1723
+ for transient work or flattened into a clean stage-zero entry. Unchanged
1724
+ ground answers that refusal every time, so Detect withholds only that
1725
+ repository's unit and asks again only when its ground, Git storage
1726
+ included, rings; no timer repeats the read. A fault likewise withholds
1727
+ only its own repository's unit, and the pass retries it on its timer.
1623
1728
 
1624
1729
  Scheduling never extends source evidence. A suspended walk retains its
1625
1730
  physical identity basis, rechecks it before repository reuse or capture,
@@ -1647,12 +1752,16 @@ after adoption.
1647
1752
 
1648
1753
  74. **Same-slot records keep identity and derive distinct disk addresses.**
1649
1754
  Shell never rewrites a portable name to settle concurrent identities.
1650
- Cold materialization and Apply derive the same UUID-ordered suffixes from
1651
- the complete active sibling set; Detect recognizes both the portable name
1652
- and that exact derived name as the same record. A sibling-set change
1653
- relocates affected materializations while holding every source and
1654
- destination cone, with row addresses committed before disk movement so a
1655
- crash can only re-prove the same portable identities.
1755
+ Cold materialization, Apply and the placement tidy derive the same
1756
+ UUID-ordered suffixes from the complete active sibling set; Detect
1757
+ recognizes both the portable name and that exact derived name as the same
1758
+ record. A reveal moves only the siblings standing in its target's derived
1759
+ address. Every other sibling-set consequence is a placement note, written
1760
+ in the transaction that changed the slot, which the placement tidy pays
1761
+ off the Apply line. Each such move is one no-replace move, ground first
1762
+ and rows after, never onto an address the observation inventory records
1763
+ for another, so a crash leaves at most one move whose destination was
1764
+ free and Detect re-proves the same portable identities.
1656
1765
 
1657
1766
  75. **Ground storage has one initializer and one visible generation per root.**
1658
1767
  A ground file's migration and its process epoch run once per file per
@@ -1684,7 +1793,7 @@ after adoption.
1684
1793
  contract change derives a new one and the superseded authority never again
1685
1794
  orders anything this machine sends or receives. Before convergence reads
1686
1795
  any of it, binding the ground to its current authority retires every
1687
- record, cursor, baseline, Apply fact and intent, and Register declaration
1796
+ record, cursor, baseline, Apply fact and intent
1688
1797
  of any other authority in one transaction. None of them can mean anything
1689
1798
  to the current authority: a pending row would stall Send behind a contract
1690
1799
  that no longer decodes, a cursor or resolution would skip the current
@@ -1762,19 +1871,25 @@ releasing narrow leases, then yields: the complete examination starts in its
1762
1871
  own dispatcher activation and reads a new basis over the wider scope. Later
1763
1872
  notices retain their own cutoffs. Failure, deferral and repeated widening
1764
1873
  cannot replenish foreground priority. Every examination may reuse proven
1765
- content: a leaf is reused only while its signature is unchanged and both its
1766
- times precede the boundary of a content clock stamped on the root's own
1874
+ content: a leaf is reused only while its signature is unchanged and its
1875
+ change time precedes the boundary of a content clock stamped on the root's own
1767
1876
  filesystem in `.amalgm/content-clock` before the reads (`content-clock.ts`).
1768
- The boundary is the stamp less its profile's margin; a time with no
1769
- subsecond part stands for its whole second. A racy leaf is reread; only that
1770
- reread clears it. A stamp behind the root's previous one, or under another
1771
- profile than the previous stamp names, retires every proof under the root;
1772
- a conclusion drawn before that retirement at, above or beneath the root fails
1773
- its admission and is read again, and a unit that consumed an identity
1877
+ The boundary is the stamp's change time less its profile's margin; a time
1878
+ with no subsecond part stands for its whole second. A racy leaf is reread;
1879
+ only that reread clears it. Every proof names the root's qualification it was
1880
+ stamped under, and a root shows only proofs under its own. A stamp under another
1881
+ profile, or behind the latest boundary a kept proof stands on, requalifies the
1882
+ root in one write of the root, never of its rows, so no stamp file restored
1883
+ from an old copy can revive a proof; a conclusion drawn before that at, above
1884
+ or beneath the root fails its admission and is read again, and a unit that
1885
+ consumed an identity
1774
1886
  discovery reads and stands on that discovery's whole scope.
1775
1887
  Directory listings close on the same rule: a racy listing names no complete
1776
1888
  membership until a fresh listing under a later stamp, and only filesystems
1777
- `ground-profile.ts` names qualify at all. A listing no stamp can qualify
1889
+ `ground-profile.ts` names qualify at all. A listing is racy only while its
1890
+ directory stands as walked: one changed since, by Apply's reveal or a
1891
+ person's write, has moved, a cause to wait on and never a fault, and no
1892
+ count of readings fails a ticket. A listing no stamp can qualify
1778
1893
  closes only when a fresh listing taken after the whole walk names exactly
1779
1894
  what the walk listed while the directory held still on both sides; only an
1780
1895
  entry moved and moved back across both listings inside its directories'
@@ -1782,10 +1897,14 @@ clock ticks escapes that, and each such move is a later Watch generation.
1782
1897
  The control tree carries a `.gitignore` of `*`, written once per root per
1783
1898
  process when absent or different, so a registered repository's Git status
1784
1899
  never shows it. Ground without a qualified clock (another device, a root that
1785
- cannot hold a stamp, a clock that went backwards) is read by every
1900
+ cannot hold a stamp) is read by every
1786
1901
  examination and closes each listing by reading it again: it loses shortcuts,
1787
- never conclusions. Qualifying further filesystems, NTFS and ReFS among them,
1788
- is unfinished.
1902
+ never conclusions. NTFS qualifies presence and keys, never content: a writer
1903
+ sets its change time (CopyFile copies the source's), so no NTFS time proves
1904
+ content or closes a listing (`timesProve`), and NTFS ground is read as ground
1905
+ without a clock. Every examination therefore reads each NTFS leaf, so the
1906
+ Windows performance gate is missed; no OS-specific mechanism wins that speed
1907
+ back. Qualifying ReFS is unfinished.
1789
1908
  A write through a writable `MAP_SHARED` mapping can change bytes while the
1790
1909
  signature stays equal, through flush, unmap and fsync: that mapped-write
1791
1910
  limitation is outside the metadata-only guarantee, and a faster stat tier
@@ -1821,7 +1940,12 @@ are pending; this setting grants no performance pass.
1821
1940
 
1822
1941
  Fresh observation reads mutable content without copying unchanged files into
1823
1942
  the cache. Only selected new content is sealed before Record, against the same
1824
- original physical proof. Cache existence or size alone is never content proof.
1943
+ original physical proof. A leaf that publishes on its own channel is selected
1944
+ even when Git tracked it: the read that seals its observed bytes also names
1945
+ their Git object, and its record states the exact SHA-256 value while its
1946
+ repository's package keeps the Git object. A trashed leaf known only by its
1947
+ Git object stays unsealed; Restore, which would need its bytes, is not built.
1948
+ Cache existence or size alone is never content proof.
1825
1949
  Source reads refuse special-file substitutions without waiting for another
1826
1950
  process, and release every owned resource even when another cleanup fails.
1827
1951
  Git parcel reuse requires equal fresh worktree and Card evidence. The Card's