@amalgm/live 0.2.81-main.40015853239 → 0.2.81-main.40756177156
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.
- package/PURPOSE.md +98 -124
- package/dist/apply/contracts.d.ts +8 -10
- package/dist/apply/contracts.d.ts.map +1 -1
- package/dist/apply/contracts.js.map +1 -1
- package/dist/apply/index.d.ts +0 -5
- package/dist/apply/index.d.ts.map +1 -1
- package/dist/apply/index.js +0 -5
- package/dist/apply/index.js.map +1 -1
- package/dist/apply/journey.d.ts +5 -3
- package/dist/apply/journey.d.ts.map +1 -1
- package/dist/apply/journey.js +29 -10
- package/dist/apply/journey.js.map +1 -1
- package/dist/apply/local-work.d.ts +13 -54
- package/dist/apply/local-work.d.ts.map +1 -1
- package/dist/apply/local-work.js +15 -45
- package/dist/apply/local-work.js.map +1 -1
- package/dist/apply/plans.d.ts.map +1 -1
- package/dist/apply/plans.js +7 -24
- package/dist/apply/plans.js.map +1 -1
- package/dist/apply/settling.d.ts +2 -2
- package/dist/apply/settling.d.ts.map +1 -1
- package/dist/apply/settling.js +1 -1
- package/dist/apply/showing.d.ts +11 -3
- package/dist/apply/showing.d.ts.map +1 -1
- package/dist/apply/showing.js +22 -11
- package/dist/apply/showing.js.map +1 -1
- package/dist/apply/window.d.ts +4 -6
- package/dist/apply/window.d.ts.map +1 -1
- package/dist/apply/window.js +5 -15
- package/dist/apply/window.js.map +1 -1
- package/dist/detection/adapter-contract.d.ts +2 -2
- package/dist/detection/adapter-contract.d.ts.map +1 -1
- package/dist/detection/batch.d.ts +0 -1
- package/dist/detection/batch.d.ts.map +1 -1
- package/dist/detection/batch.js.map +1 -1
- package/dist/detection/record-proposal.d.ts +4 -11
- package/dist/detection/record-proposal.d.ts.map +1 -1
- package/dist/detection/record-proposal.js +16 -23
- package/dist/detection/record-proposal.js.map +1 -1
- package/dist/drive/contracts.d.ts +96 -0
- package/dist/drive/contracts.d.ts.map +1 -0
- package/dist/drive/contracts.js +24 -0
- package/dist/drive/contracts.js.map +1 -0
- package/dist/drive/drive.d.ts +35 -0
- package/dist/drive/drive.d.ts.map +1 -0
- package/dist/drive/drive.js +32 -0
- package/dist/drive/drive.js.map +1 -0
- package/dist/drive/index.d.ts +12 -0
- package/dist/drive/index.d.ts.map +1 -0
- package/dist/drive/index.js +12 -0
- package/dist/drive/index.js.map +1 -0
- package/dist/drive/listing.d.ts +22 -0
- package/dist/drive/listing.d.ts.map +1 -0
- package/dist/drive/listing.js +40 -0
- package/dist/drive/listing.js.map +1 -0
- package/dist/drive/placements.d.ts +33 -0
- package/dist/drive/placements.d.ts.map +1 -0
- package/dist/drive/placements.js +44 -0
- package/dist/drive/placements.js.map +1 -0
- package/dist/drive/where.d.ts +68 -0
- package/dist/drive/where.d.ts.map +1 -0
- package/dist/drive/where.js +109 -0
- package/dist/drive/where.js.map +1 -0
- package/dist/entities/bytes.d.ts +1 -1
- package/dist/entities/bytes.js +3 -3
- package/dist/entities/bytes.js.map +1 -1
- package/dist/entities/cloud.d.ts +13 -9
- package/dist/entities/cloud.d.ts.map +1 -1
- package/dist/entities/cloud.js +20 -7
- package/dist/entities/cloud.js.map +1 -1
- package/dist/entities/index.d.ts +2 -10
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +2 -10
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/reducer.d.ts +18 -80
- package/dist/entities/reducer.d.ts.map +1 -1
- package/dist/entities/reducer.js +49 -326
- package/dist/entities/reducer.js.map +1 -1
- package/dist/entities/rules.d.ts +1 -2
- package/dist/entities/rules.d.ts.map +1 -1
- package/dist/entities/rules.js +1 -2
- package/dist/entities/rules.js.map +1 -1
- package/dist/entities/types.d.ts +1 -1
- package/dist/entities/types.d.ts.map +1 -1
- package/dist/files/commands.d.ts +3 -7
- package/dist/files/commands.d.ts.map +1 -1
- package/dist/files/commands.js +3 -4
- package/dist/files/commands.js.map +1 -1
- package/dist/git/artifact.d.ts +71 -0
- package/dist/git/artifact.d.ts.map +1 -0
- package/dist/git/artifact.js +154 -0
- package/dist/git/artifact.js.map +1 -0
- package/dist/git/chain.d.ts +43 -0
- package/dist/git/chain.d.ts.map +1 -0
- package/dist/git/chain.js +52 -0
- package/dist/git/chain.js.map +1 -0
- package/dist/git/index.d.ts +6 -0
- package/dist/git/index.d.ts.map +1 -0
- package/dist/git/index.js +6 -0
- package/dist/git/index.js.map +1 -0
- package/dist/git/plan.d.ts +45 -0
- package/dist/git/plan.d.ts.map +1 -0
- package/dist/git/plan.js +92 -0
- package/dist/git/plan.js.map +1 -0
- package/dist/git/state.d.ts +92 -0
- package/dist/git/state.d.ts.map +1 -0
- package/dist/git/state.js +134 -0
- package/dist/git/state.js.map +1 -0
- package/dist/git/text.d.ts +4 -0
- package/dist/git/text.d.ts.map +1 -0
- package/dist/git/text.js +4 -0
- package/dist/git/text.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/records/contracts.d.ts.map +1 -1
- package/dist/records/contracts.js +1 -7
- package/dist/records/contracts.js.map +1 -1
- package/dist/records/publication.d.ts +1 -1
- package/dist/records/publication.d.ts.map +1 -1
- package/dist/records/publication.js +3 -4
- package/dist/records/publication.js.map +1 -1
- package/dist/registration/user-ground.d.ts +3 -6
- package/dist/registration/user-ground.d.ts.map +1 -1
- package/dist/registration/user-ground.js +6 -8
- package/dist/registration/user-ground.js.map +1 -1
- package/dist/transfer/upload.d.ts +1 -1
- package/dist/transfer/upload.js +1 -1
- package/dist-cjs/apply/contracts.js.map +1 -1
- package/dist-cjs/apply/index.js +0 -5
- package/dist-cjs/apply/index.js.map +1 -1
- package/dist-cjs/apply/journey.js +29 -10
- package/dist-cjs/apply/journey.js.map +1 -1
- package/dist-cjs/apply/local-work.js +15 -46
- package/dist-cjs/apply/local-work.js.map +1 -1
- package/dist-cjs/apply/plans.js +7 -24
- package/dist-cjs/apply/plans.js.map +1 -1
- package/dist-cjs/apply/settling.js +1 -1
- package/dist-cjs/apply/showing.js +22 -11
- package/dist-cjs/apply/showing.js.map +1 -1
- package/dist-cjs/apply/window.js +5 -15
- package/dist-cjs/apply/window.js.map +1 -1
- package/dist-cjs/detection/batch.js.map +1 -1
- package/dist-cjs/detection/record-proposal.js +16 -23
- package/dist-cjs/detection/record-proposal.js.map +1 -1
- package/dist-cjs/drive/contracts.js +28 -0
- package/dist-cjs/drive/contracts.js.map +1 -0
- package/dist-cjs/drive/drive.js +36 -0
- package/dist-cjs/drive/drive.js.map +1 -0
- package/dist-cjs/drive/index.js +28 -0
- package/dist-cjs/drive/index.js.map +1 -0
- package/dist-cjs/drive/listing.js +43 -0
- package/dist-cjs/drive/listing.js.map +1 -0
- package/dist-cjs/drive/placements.js +48 -0
- package/dist-cjs/drive/placements.js.map +1 -0
- package/dist-cjs/drive/where.js +117 -0
- package/dist-cjs/drive/where.js.map +1 -0
- package/dist-cjs/entities/bytes.js +3 -3
- package/dist-cjs/entities/bytes.js.map +1 -1
- package/dist-cjs/entities/cloud.js +21 -7
- package/dist-cjs/entities/cloud.js.map +1 -1
- package/dist-cjs/entities/index.js +2 -10
- package/dist-cjs/entities/index.js.map +1 -1
- package/dist-cjs/entities/reducer.js +51 -329
- package/dist-cjs/entities/reducer.js.map +1 -1
- package/dist-cjs/entities/rules.js +1 -2
- package/dist-cjs/entities/rules.js.map +1 -1
- package/dist-cjs/files/commands.js +3 -4
- package/dist-cjs/files/commands.js.map +1 -1
- package/dist-cjs/git/artifact.js +165 -0
- package/dist-cjs/git/artifact.js.map +1 -0
- package/dist-cjs/git/chain.js +56 -0
- package/dist-cjs/git/chain.js.map +1 -0
- package/dist-cjs/git/index.js +24 -0
- package/dist-cjs/git/index.js.map +1 -0
- package/dist-cjs/git/plan.js +97 -0
- package/dist-cjs/git/plan.js.map +1 -0
- package/dist-cjs/git/state.js +148 -0
- package/dist-cjs/git/state.js.map +1 -0
- package/dist-cjs/git/text.js +8 -0
- package/dist-cjs/git/text.js.map +1 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/index.js.map +1 -1
- package/dist-cjs/records/contracts.js +1 -7
- package/dist-cjs/records/contracts.js.map +1 -1
- package/dist-cjs/records/publication.js +3 -4
- package/dist-cjs/records/publication.js.map +1 -1
- package/dist-cjs/registration/user-ground.js +5 -7
- package/dist-cjs/registration/user-ground.js.map +1 -1
- package/dist-cjs/transfer/upload.js +1 -1
- package/package.json +4 -4
- package/dist/apply/expected-repository.d.ts +0 -49
- package/dist/apply/expected-repository.d.ts.map +0 -1
- package/dist/apply/expected-repository.js +0 -125
- package/dist/apply/expected-repository.js.map +0 -1
- package/dist/apply/repository-boundaries.d.ts +0 -75
- package/dist/apply/repository-boundaries.d.ts.map +0 -1
- package/dist/apply/repository-boundaries.js +0 -70
- package/dist/apply/repository-boundaries.js.map +0 -1
- package/dist/apply/repository-paths.d.ts +0 -33
- package/dist/apply/repository-paths.d.ts.map +0 -1
- package/dist/apply/repository-paths.js +0 -67
- package/dist/apply/repository-paths.js.map +0 -1
- package/dist/apply/repository-result.d.ts +0 -12
- package/dist/apply/repository-result.d.ts.map +0 -1
- package/dist/apply/repository-result.js +0 -115
- package/dist/apply/repository-result.js.map +0 -1
- package/dist/apply/shown-checkpoint.d.ts +0 -14
- package/dist/apply/shown-checkpoint.d.ts.map +0 -1
- package/dist/apply/shown-checkpoint.js +0 -113
- package/dist/apply/shown-checkpoint.js.map +0 -1
- package/dist/entities/package-maps.d.ts +0 -73
- package/dist/entities/package-maps.d.ts.map +0 -1
- package/dist/entities/package-maps.js +0 -124
- package/dist/entities/package-maps.js.map +0 -1
- package/dist/entities/repo-manifest.d.ts +0 -8
- package/dist/entities/repo-manifest.d.ts.map +0 -1
- package/dist/entities/repo-manifest.js +0 -12
- package/dist/entities/repo-manifest.js.map +0 -1
- package/dist/entities/repo-states.d.ts +0 -280
- package/dist/entities/repo-states.d.ts.map +0 -1
- package/dist/entities/repo-states.js +0 -541
- package/dist/entities/repo-states.js.map +0 -1
- package/dist/entities/territory.d.ts +0 -25
- package/dist/entities/territory.d.ts.map +0 -1
- package/dist/entities/territory.js +0 -59
- package/dist/entities/territory.js.map +0 -1
- package/dist/entities/traveling.d.ts +0 -93
- package/dist/entities/traveling.d.ts.map +0 -1
- package/dist/entities/traveling.js +0 -238
- package/dist/entities/traveling.js.map +0 -1
- package/dist-cjs/apply/expected-repository.js +0 -128
- package/dist-cjs/apply/expected-repository.js.map +0 -1
- package/dist-cjs/apply/repository-boundaries.js +0 -78
- package/dist-cjs/apply/repository-boundaries.js.map +0 -1
- package/dist-cjs/apply/repository-paths.js +0 -73
- package/dist-cjs/apply/repository-paths.js.map +0 -1
- package/dist-cjs/apply/repository-result.js +0 -118
- package/dist-cjs/apply/repository-result.js.map +0 -1
- package/dist-cjs/apply/shown-checkpoint.js +0 -116
- package/dist-cjs/apply/shown-checkpoint.js.map +0 -1
- package/dist-cjs/entities/package-maps.js +0 -132
- package/dist-cjs/entities/package-maps.js.map +0 -1
- package/dist-cjs/entities/repo-manifest.js +0 -15
- package/dist-cjs/entities/repo-manifest.js.map +0 -1
- package/dist-cjs/entities/repo-states.js +0 -559
- package/dist-cjs/entities/repo-states.js.map +0 -1
- package/dist-cjs/entities/territory.js +0 -63
- package/dist-cjs/entities/territory.js.map +0 -1
- package/dist-cjs/entities/traveling.js +0 -247
- package/dist-cjs/entities/traveling.js.map +0 -1
package/PURPOSE.md
CHANGED
|
@@ -36,14 +36,12 @@ structural changes while admitting independent work. Re-inclusion compares
|
|
|
36
36
|
against the sharing baseline, including pending admitted local work, rather
|
|
37
37
|
than the latest suppressed observation. Committed records stay immutable through
|
|
38
38
|
policy changes. Named and broad host observation use this boundary. Full-ground
|
|
39
|
-
checks cover excluded observations and later enrollment
|
|
40
|
-
machine
|
|
41
|
-
unfinished. Complete native and multi-machine convergence are not yet proved.
|
|
39
|
+
checks cover excluded observations and later enrollment. Complete native and
|
|
40
|
+
multi-machine convergence are not yet proved.
|
|
42
41
|
|
|
43
42
|
Publication structure is the complete active UUID set with each node's type,
|
|
44
43
|
parent, name and policy address. When both inputs have the same structure,
|
|
45
|
-
choosing whole rows from either cannot change ancestry
|
|
46
|
-
ownership. Selection reuses that one derived context within the call; contents,
|
|
44
|
+
choosing whole rows from either cannot change ancestry or collisions. Selection reuses that one derived context within the call; contents,
|
|
47
45
|
provenance, policy and Record's original source proof remain independent.
|
|
48
46
|
|
|
49
47
|
### Deletion
|
|
@@ -68,15 +66,16 @@ Detect describes a complete result; Apply reproduces that result without
|
|
|
68
66
|
erasing another entity's independent identity or unrecorded local work.
|
|
69
67
|
These rules govern the ongoing Files rail, separately from construct sharing.
|
|
70
68
|
|
|
71
|
-
- A repository's payload
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
69
|
+
- A repository's payload is its Git directory's state ID; its working-tree
|
|
70
|
+
files are ordinary entities on their own channels. A different pack or
|
|
71
|
+
parent artifact is transport, not an edit.
|
|
72
|
+
- Two writers, one disk: Apply writes a Git directory as one more Git process
|
|
73
|
+
would, each file under Git's own lock, `HEAD` last, and never removes a lock
|
|
74
|
+
a running Git command holds.
|
|
75
|
+
- A linked worktree or a submodule has its own HEAD and index, so it is a
|
|
76
|
+
separate entity with its own UUID. Its state names its home, the
|
|
77
|
+
repository whose Git directory holds its own, so every machine puts it
|
|
78
|
+
where Git looks for it.
|
|
80
79
|
- Named ownership and capability waits identify their prerequisite and its
|
|
81
80
|
producer. Relevant progress wakes them; unrelated work does not invalidate
|
|
82
81
|
their proof.
|
|
@@ -88,13 +87,11 @@ These rules govern the ongoing Files rail, separately from construct sharing.
|
|
|
88
87
|
its final guard. Optimistic equality must pass that guard as well.
|
|
89
88
|
- Complete results decide Apply. Sender-side change labels and byte deltas
|
|
90
89
|
cannot limit what the receiving computer must reproduce.
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- Observation leaves source files and Git metadata unchanged. Private patch
|
|
97
|
-
generation cannot refresh source objects and thereby trigger its own watcher.
|
|
90
|
+
- Every entity speaks only on its own channel. A change with no changed field
|
|
91
|
+
is no record, and repeating a settled observation produces nothing.
|
|
92
|
+
- Observation leaves source files and Git metadata unchanged. Detect reads a
|
|
93
|
+
Git directory file by file, as a second Git process would, and writes
|
|
94
|
+
nothing there, so reading it can never ring its own watcher.
|
|
98
95
|
- Existing whole-result last-write-wins stays in force. Ordinary filesystem
|
|
99
96
|
deletion becomes recoverable Amalgm Trash; it never permanently deletes content. Independent simultaneous work needs separate working sessions;
|
|
100
97
|
recovery history does not promise automatic integration.
|
|
@@ -245,30 +242,16 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
245
242
|
21. **A Git marker classifies its containing directory.** A `.git`
|
|
246
243
|
directory or file that Git can use, by Git's own structural test, makes
|
|
247
244
|
its containing directory `repo.git`; its removal, or a break Git itself
|
|
248
|
-
would refuse, returns that same UUID to `workspace` or `folder
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
and
|
|
258
|
-
repository carries its declared Git history boundary, so a new machine
|
|
259
|
-
never invents history beyond it. Every current graph a reader derives
|
|
260
|
-
from a published snapshot and its later delivery tail passes through this
|
|
261
|
-
same projection, and Add refuses a lookup that hands it a record the
|
|
262
|
-
projection would not publish before it moves any bytes. Records follow
|
|
263
|
-
cause before effect: every accepted prefix must be reconstructible from
|
|
264
|
-
its accepted records and retained packages, without waiting for a later
|
|
265
|
-
record. Leaving repository territory publishes the boundary retype first,
|
|
266
|
-
then each newly independent descendant, whose retained latest statement
|
|
267
|
-
supplies its contents until its own record arrives; a repository that
|
|
268
|
-
stays a repository publishes after every record beneath it that crosses
|
|
269
|
-
its boundary. Every deletion is stated by the capture: by an ancestor's
|
|
270
|
-
Trash that still covers the entity, else by the new package of the live
|
|
271
|
-
repository that held it, else by the entity's own Trash record.
|
|
245
|
+
would refuse, returns that same UUID to `workspace` or `folder`. `.git`
|
|
246
|
+
itself receives no entity row of its own: its Git directory is the
|
|
247
|
+
repository entity's payload. The repository's working-tree files and
|
|
248
|
+
folders are ordinary entities on their own channels before and after a
|
|
249
|
+
retype, so a retype changes one row and moves no child. A repository
|
|
250
|
+
nested inside another is one more `repo.git` entity in the tree. A shallow
|
|
251
|
+
repository's `shallow` file travels with its Git directory, so a new
|
|
252
|
+
machine never invents history beyond it. Records follow cause before
|
|
253
|
+
effect: every accepted prefix is reconstructible from its accepted records
|
|
254
|
+
and retained artifacts, without waiting for a later record.
|
|
272
255
|
22. **Transfer moves content; it never discovers state.** `upload` moves one
|
|
273
256
|
already-registered immutable artifact toward cloud storage and `download`
|
|
274
257
|
moves that same artifact toward a machine cache. Neither operation scans,
|
|
@@ -276,7 +259,9 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
276
259
|
publishes a registry snapshot.
|
|
277
260
|
23. **Entity type selects the artifact, not a second lifecycle.** Text and
|
|
278
261
|
binary files travel as file bytes, links travel as their literal target,
|
|
279
|
-
and
|
|
262
|
+
and a repository travels as one artifact per record: its Git directory
|
|
263
|
+
state, one thin Git pack, and the Git-directory files its parent artifact
|
|
264
|
+
lacks.
|
|
280
265
|
Workspace and folder membership travels in the entity graph; references
|
|
281
266
|
carry a UUID and therefore have no separate content artifact.
|
|
282
267
|
24. **Transfer is verified, missing-only, and commit-last.** File chunks and
|
|
@@ -291,22 +276,23 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
291
276
|
store every block and the manifest, persist its sealed-manifest evidence,
|
|
292
277
|
and only then number the Record. The ordinary block path writes the same
|
|
293
278
|
evidence after its content is durable, so submit never repeats an R2 proof.
|
|
294
|
-
25. **Cold repository transfer is native Git work.**
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
279
|
+
25. **Cold repository transfer is native Git work.** A new machine installs
|
|
280
|
+
a repository's artifact chain oldest first, back to the artifact that
|
|
281
|
+
carries everything. Each pack installs as `git fetch` installs one and is
|
|
282
|
+
proved connected by Git before any Git-directory file is written. A Git
|
|
283
|
+
pack is never embedded in JSON or base64 and is never unpacked into
|
|
284
|
+
per-file upload requests. Compaction, one artifact replacing a prefix of
|
|
285
|
+
the chain, is not built.
|
|
286
|
+
26. **Incremental repository transfer is Git's thin pack.** A new artifact
|
|
287
|
+
names its parent and carries only the objects its parent's roots do not
|
|
288
|
+
reach, packed by `pack-objects --thin`, plus the Git-directory files its
|
|
289
|
+
parent's state lacks. A one-file commit can never cause previously
|
|
290
|
+
uploaded repository history to travel again.
|
|
305
291
|
27. **Registered type selects transfer.** Upload and download dispatch only
|
|
306
292
|
from the registered entity type according to `docs/transfer.md`. They
|
|
307
293
|
never re-detect type from a path or contents. Graph-only types perform no
|
|
308
294
|
content effects; text and binary files use the same block law; Git alone
|
|
309
|
-
uses Git
|
|
295
|
+
uses Git's own packs.
|
|
310
296
|
28. **A doorbell names suspicion, never truth.** Watch preserves every named
|
|
311
297
|
path until one settled observation proves it; paths rung during that
|
|
312
298
|
observation remain suspect. A named burst widens first to its deepest
|
|
@@ -324,14 +310,13 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
324
310
|
freezes before scope release; later notices cannot renew that priority or
|
|
325
311
|
receive its completion.
|
|
326
312
|
Scope may reduce what is read, never change the state that is derived.
|
|
327
|
-
29. **Git owns
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
reproduce those exact bytes independently of receiver Git settings.
|
|
313
|
+
29. **Git owns its Git directory; physical bytes own worktree truth.** A
|
|
314
|
+
working-tree file is an ordinary file entity: its type, payload and
|
|
315
|
+
executable posture describe the same stable physical observation, and Git
|
|
316
|
+
reporting a clean path, index flags, attributes and conversion settings
|
|
317
|
+
are never evidence about it. The Git directory is judged file by file by
|
|
318
|
+
its bytes, except the index, judged by what it means, never by the stat
|
|
319
|
+
data each machine's refresh re-stamps.
|
|
335
320
|
30. **Proof travels forward; disposable bytes need not.** Registration reads
|
|
336
321
|
every ordinary text or binary file through one bounded stream to classify
|
|
337
322
|
it and derive its content head. When cloud cargo is missing, that same
|
|
@@ -374,7 +359,7 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
374
359
|
reinterpreted or overwritten in place.
|
|
375
360
|
33. **Detection proposes settled net truth; Record makes it durable.** Watch
|
|
376
361
|
contributes generation-stamped suspicion only. Detect reconciles identity,
|
|
377
|
-
current enrollment, type,
|
|
362
|
+
current enrollment, type, and exact replay from the
|
|
378
363
|
last verified notebook state to settled disk truth, then emits a complete
|
|
379
364
|
result record plus immutable cargo references. Record assigns mutation
|
|
380
365
|
identity and durable order before that Watch generation settles. Applied
|
|
@@ -389,18 +374,18 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
389
374
|
carries its children's addresses even when another directory takes its
|
|
390
375
|
old path or an editor replaces a child's inode.
|
|
391
376
|
34. **Named Detect costs what changed, not what exists.** A valid named
|
|
392
|
-
suspicion loads indexed notebook rows for that path
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
377
|
+
suspicion loads indexed notebook rows for that path and its required
|
|
378
|
+
parents; it never walks or serializes the complete workspace. A new
|
|
379
|
+
directory costs its new subtree. A repository costs a walk of its Git
|
|
380
|
+
directory, never its working tree. Only honestly ambiguous evidence enters
|
|
396
381
|
complete reconciliation. Detect ends after the exact proposal and local
|
|
397
382
|
truth are committed together; cloud publication belongs to Send.
|
|
398
383
|
35. **The entity UUID is the ordered channel; each computer sends one line.**
|
|
399
384
|
Cloud assigns a dense sequence independently to each entity UUID across all
|
|
400
385
|
machines. Within each authority, a computer's records are accepted in its
|
|
401
386
|
local record order, so what others observe of that computer's work is always
|
|
402
|
-
a prefix of what it recorded: a retype
|
|
403
|
-
|
|
387
|
+
a prefix of what it recorded: a retype follows the records written before
|
|
388
|
+
it, and every observable prefix remains a
|
|
404
389
|
complete graph. That line orders delivery, not truth: neither it nor a
|
|
405
390
|
workspace or delivery cursor decides which entity state wins.
|
|
406
391
|
36. **Receive owns the local inbox.** Every cloud-accepted record, including
|
|
@@ -450,29 +435,13 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
450
435
|
UUIDs remain independent channels. A result plays by what this computer
|
|
451
436
|
shows: one shown neither before nor after resolves in order with no
|
|
452
437
|
effect, so a child never waits for a parent this computer does not show.
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
another rail owns here where its map disagrees, so it never waits on a
|
|
456
|
-
boundary. An accepted destination already recorded as
|
|
438
|
+
A repository is a container like any other; its working-tree files apply
|
|
439
|
+
on their own channels. An accepted destination already recorded as
|
|
457
440
|
a different entity is a conflict, never a local change to capture. The park
|
|
458
441
|
timer and attempt count are process-local: after restart, the durable
|
|
459
442
|
intent is re-proved once and, if still blocked, parks again from attempt
|
|
460
443
|
one.
|
|
461
|
-
|
|
462
|
-
the exact identity frontier sealed to that immutable transport. Compact
|
|
463
|
-
machine evidence is accepted only when it reproduces the transport's
|
|
464
|
-
identity hash; it survives obsolete parent-pack pruning, while mutable child
|
|
465
|
-
rows whose independent entity channels may advance before or after it can
|
|
466
|
-
neither invalidate nor substitute for that proof. That frontier is complete
|
|
467
|
-
for the repository's nearest-owned worktree: a path omitted by the settled
|
|
468
|
-
Git result is retired from both materialized and notebook identity in the
|
|
469
|
-
same transaction, while nested repository territory remains independently
|
|
470
|
-
owned. A later capture and a mirror Apply must therefore derive the same
|
|
471
|
-
frontier without resurrecting an identity Git already removed.
|
|
472
|
-
A Git-form payload witness remains exact byte evidence after a repository
|
|
473
|
-
child returns to the ordinary-file rail: it may prove that no unrecorded
|
|
474
|
-
local edit blocks the accepted ordinary result, but it can never settle or
|
|
475
|
-
replace that explicit result. When accepted history collapses to a
|
|
444
|
+
When accepted history collapses to a
|
|
476
445
|
structural leaf head that has never existed locally, recovery consumes the
|
|
477
446
|
retained immutable payload through the target type's adapter; a link is
|
|
478
447
|
restored as literal link target text and only an ordinary file is restored
|
|
@@ -491,13 +460,13 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
491
460
|
recreates it piecemeal.
|
|
492
461
|
Text uses an exact-base splice with a complete snapshot fallback;
|
|
493
462
|
binary uses its verified block manifest; links use literal target text;
|
|
494
|
-
containers use structure;
|
|
495
|
-
|
|
463
|
+
containers use structure; a repository installs its Git packs, proves them
|
|
464
|
+
connected, then writes its Git directory as one more Git process would,
|
|
465
|
+
`HEAD` last. A type transition replaces the prior physical representation
|
|
496
466
|
at the same UUID and address through that same recoverable reveal; mere
|
|
497
467
|
path existence is never proof that the target type exists.
|
|
498
|
-
40. **Newer local work outranks older materialization.** A local
|
|
499
|
-
|
|
500
|
-
whose scope holds it) and is not delivered at or before the selected Apply
|
|
468
|
+
40. **Newer local work outranks older materialization.** A local record on an
|
|
469
|
+
entity's own channel that is not delivered at or before the selected Apply
|
|
501
470
|
target protects that entity's working ground. The local complete result is
|
|
502
471
|
still accepted normally and wins only when cloud assigns its later
|
|
503
472
|
sequence; Apply never rebases, merges, stale-refuses, or rewrites it. A
|
|
@@ -525,10 +494,10 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
525
494
|
and is left to Detect. Cancellation preserves sharing values and resolves
|
|
526
495
|
nothing. The newest record then wins, never by releasing unread ground.
|
|
527
496
|
Exact target Verify is still required to claim installation. For a
|
|
528
|
-
repository, Verify
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
497
|
+
repository, Verify reads its Git directory back and commits that state ID
|
|
498
|
+
as the notebook fact. The Watch observation caused by that reveal must
|
|
499
|
+
compare equal to it; it can never become a new local repository artifact or
|
|
500
|
+
Outbox mutation.
|
|
532
501
|
|
|
533
502
|
42. **The registry graph is immutable pages, and its head is the snapshot.**
|
|
534
503
|
A page is one root's UUID-sorted records serialized canonically under a
|
|
@@ -572,16 +541,18 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
572
541
|
Local display names are opaque nonempty text without NUL, including native
|
|
573
542
|
root labels and separators; the separate nonempty, NUL-free host path owns
|
|
574
543
|
the address and never derives from the display name.
|
|
575
|
-
47. **An unfinished
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
544
|
+
47. **An unfinished Git operation is settled Git-directory truth.** A stable
|
|
545
|
+
merge, rebase, cherry-pick or revert leaves its files in the Git directory,
|
|
546
|
+
unmerged index stages included, and they travel byte for byte like every
|
|
547
|
+
other file, so another machine can continue or resolve the same operation;
|
|
548
|
+
its conflicted working-tree files travel as ordinary files. Lock files
|
|
549
|
+
travel too: a command left unfinished on one machine stands unfinished on
|
|
550
|
+
the other. Apply clears a lock only when the synced state holds it; any
|
|
551
|
+
other lock is a Git command at work on that machine, and Apply waits for
|
|
552
|
+
it rather than remove it. A repository new on a machine is built whole in
|
|
553
|
+
private and revealed by one rename, so no half-built repository is ever
|
|
554
|
+
shown. No layer may turn a durable conflict into a busy retry or silently
|
|
555
|
+
flatten it.
|
|
585
556
|
48. **A slot collision changes materialization, never identity.** Mutation-time
|
|
586
557
|
guards refuse a second local owner of one `(parentUUID, name)` slot, but a
|
|
587
558
|
merged graph may contain identities created concurrently in that slot.
|
|
@@ -600,16 +571,11 @@ or certify a new wire contract, cloud migration or cross-machine rollout.
|
|
|
600
571
|
resending unchanged bytes; Add, Apply, and Verify restore and prove the
|
|
601
572
|
exact mode. Ownership, ACLs, directory modes, and other platform posture
|
|
602
573
|
remain machine-local.
|
|
603
|
-
50. **
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
stack
|
|
608
|
-
top entry, so each entry travels by value as its commit plus its reflog
|
|
609
|
-
message in Git's normalized form; reflog timestamps and committer
|
|
610
|
-
identity stay machine-local. Capture packs every named object, Apply
|
|
611
|
-
recreates the exact ref set, deletes absent refs, and rebuilds a differing
|
|
612
|
-
stash stack in order, and Verify compares both; no second branch, tag, or
|
|
574
|
+
50. **Every ref and the whole stash stack travel as Git keeps them.** Loose
|
|
575
|
+
refs, `packed-refs`, reflogs and the `refs/stash` reflog that holds the
|
|
576
|
+
stash stack are files of the Git directory and travel byte for byte, with
|
|
577
|
+
the objects they reach. Another machine holds the same ref set, the same
|
|
578
|
+
stash stack in order, and the same reflogs; no second branch, tag, or
|
|
613
579
|
stash representation exists.
|
|
614
580
|
51. **Release requires correct results and bounded, measured latency.** Each
|
|
615
581
|
subsystem must satisfy its independent correctness and performance budgets
|
|
@@ -665,12 +631,14 @@ src/machines/ transport-neutral state machines: bootstrap barrier, presence
|
|
|
665
631
|
TTL, slot arbitration, chunk reassembly, backoff.
|
|
666
632
|
src/entities/ the entity model's rule surface: the six-field record,
|
|
667
633
|
derived versions, lifecycle laws, move planning, the
|
|
668
|
-
cloud and
|
|
634
|
+
cloud codec and the one reducer — behind injected ports.
|
|
635
|
+
src/git/ the Git-directory repository law: the state and its ID, the
|
|
636
|
+
transport artifact, the chain a receiver reads, and Apply's
|
|
637
|
+
plan and lock law. Git itself runs in the host.
|
|
669
638
|
src/watching/ the Watch pure cores: minimal coverage ownership and
|
|
670
639
|
generation-safe suspicion.
|
|
671
640
|
src/detection/ the Detect pure submodule: Watch boundary, identity compare,
|
|
672
|
-
classification, enrollment,
|
|
673
|
-
replay proposals, net batches, and echo equality.
|
|
641
|
+
classification, enrollment, exact replay proposals, net batches, and echo equality.
|
|
674
642
|
src/apply/ the Apply/Verify pure submodule: bind-before-effect intents,
|
|
675
643
|
gap-free selection, later-local protection, private result
|
|
676
644
|
proof, type-adapter sockets, and crash-resumable orchestration.
|
|
@@ -705,6 +673,12 @@ SQLite, immutable-cache, Git-process, and watcher composition remains a Shell
|
|
|
705
673
|
release step; until that published-package adoption is complete, universal
|
|
706
674
|
cross-machine materialization is not a shipped claim.
|
|
707
675
|
|
|
676
|
+
The Git-directory repository law lives in `src/git/`. Shell performs it on its
|
|
677
|
+
`git/native-2026-10-26` branch, not yet as the rails' `repo.git` type adapter.
|
|
678
|
+
Released Shell still pins an older Live that carries repositories as Card +
|
|
679
|
+
Checkpoint packages, and the full ideal-operations examination has not run on
|
|
680
|
+
the Git-directory path.
|
|
681
|
+
|
|
708
682
|
Registry credentials are available only to the final protected publication job,
|
|
709
683
|
after every native examination proves the exact candidate bytes.
|
|
710
684
|
Native consumers install the archive as a dependency, so SDK development
|
|
@@ -156,15 +156,11 @@ export interface ReferenceApplyPlan extends ApplyPlanBase {
|
|
|
156
156
|
readonly kind: 'reference';
|
|
157
157
|
readonly targetEntityId: string;
|
|
158
158
|
}
|
|
159
|
+
/** The Git directory's target state, reproduced by the artifact its
|
|
160
|
+
* transport version names and the chain of parents that artifact follows. */
|
|
159
161
|
export interface RepositoryApplyPlan extends ApplyPlanBase {
|
|
160
162
|
readonly kind: 'repo.git';
|
|
161
163
|
readonly artifact: TransferArtifact;
|
|
162
|
-
readonly stateId: string;
|
|
163
|
-
readonly identityHash: string;
|
|
164
|
-
readonly cardId: string;
|
|
165
|
-
readonly checkpointId: string;
|
|
166
|
-
readonly parentTransportVersion: string | null;
|
|
167
|
-
readonly transportVersion: string;
|
|
168
164
|
}
|
|
169
165
|
/** The result stops showing here: trashed, deleted, moved under ground this
|
|
170
166
|
* computer does not show, or below a place that is no longer a shown
|
|
@@ -334,8 +330,7 @@ export interface EntityApplyStorePort {
|
|
|
334
330
|
* position, else the end. Nothing is resolved by reading. */
|
|
335
331
|
readApplyWindow(authorityId: string): MaybePromise<EntityApplyLineStep>;
|
|
336
332
|
/** True when local work follows the entity's accepted record at
|
|
337
|
-
* `targetSequence` (local-work.ts): an Outbox row
|
|
338
|
-
* entity, on its own channel or as a package of its speaking repository,
|
|
333
|
+
* `targetSequence` (local-work.ts): an Outbox row on the entity's channel
|
|
339
334
|
* whose delivery position is unknown or after the target's. */
|
|
340
335
|
hasLocalWorkAfter(authorityId: string, entityId: string, targetSequence: number): MaybePromise<boolean>;
|
|
341
336
|
/** The bound fact: one strict commit of the window's row, carrying each
|
|
@@ -351,8 +346,11 @@ export interface EntityApplyStorePort {
|
|
|
351
346
|
}
|
|
352
347
|
/** Type-owned Apply behavior. Every operation is idempotent for the exact intent. */
|
|
353
348
|
export interface EntityApplySocket {
|
|
354
|
-
/** Build the member's result privately, in the window's staging.
|
|
355
|
-
|
|
349
|
+
/** Build the member's result privately, in the window's staging. A
|
|
350
|
+
* result that cannot be built yet, such as a linked worktree whose main
|
|
351
|
+
* checkout's Apply has yet to bring its objects, names what it waits for:
|
|
352
|
+
* it and every member after it stay owed. */
|
|
353
|
+
prepare(intent: EntityApplyIntent, plan: EntityApplyPlan): Promise<void | ApplyDependencyOutcome>;
|
|
356
354
|
/** Compare ground with the last local observation: the look before
|
|
357
355
|
* preparation, the final guard under held ground before the bind. */
|
|
358
356
|
guard(intent: EntityApplyIntent, plan: EntityApplyPlan, stage: ApplyGuardStage): Promise<ApplyGuard>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/apply/contracts.ts"],"names":[],"mappings":"AAAA,mEAAmE;AAEnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,cAAc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AC,KAAK,EAAE;IAC7C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IAC/C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,GAAG,iBAAiB,CAUpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../src/apply/contracts.ts"],"names":[],"mappings":"AAAA,mEAAmE;AAGnE,OAAO,EACL,YAAY,EACZ,YAAY,GAIb,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAAE,WAAW,EAAkB,MAAM,cAAc,CAAC;AAG3D,MAAM,CAAC,MAAM,4BAA4B,GAAG,8BAA8B,CAAC;AA2C3E,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../src/apply/contracts.ts"],"names":[],"mappings":"AAAA,mEAAmE;AAGnE,OAAO,EACL,YAAY,EACZ,YAAY,GAIb,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAAE,WAAW,EAAkB,MAAM,cAAc,CAAC;AAG3D,MAAM,CAAC,MAAM,4BAA4B,GAAG,8BAA8B,CAAC;AA2C3E,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAoa7D,MAAM,IAAI,GAAG,gBAAgB,CAAC;AAE9B,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,QAAQ,GAAG,KAAK,EAAW,EAAE,CAC5D,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE7D,MAAM,UAAU,iBAAiB,CAAC,MAAyB;IACzD,IAAI,MAAM,CAAC,QAAQ,KAAK,4BAA4B;W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C1C,SAAS,EAAE,KAAK,CAAC,SAAS;KAC3B,CAAC,CAAC;IACH,uBAAuB,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/dist/apply/index.d.ts
CHANGED
|
@@ -5,11 +5,6 @@ export * from './fetch-ahead.js';
|
|
|
5
5
|
export * from './local-work.js';
|
|
6
6
|
export { planEntityApply } from './plans.js';
|
|
7
7
|
export * from './rail.js';
|
|
8
|
-
export * from './repository-result.js';
|
|
9
|
-
export * from './repository-boundaries.js';
|
|
10
|
-
export * from './repository-paths.js';
|
|
11
|
-
export * from './expected-repository.js';
|
|
12
|
-
export * from './shown-checkpoint.js';
|
|
13
8
|
export * from './selection.js';
|
|
14
9
|
export * from './settling.js';
|
|
15
10
|
export * from './showing.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apply/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAEzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apply/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAEzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
package/dist/apply/index.js
CHANGED
|
@@ -5,11 +5,6 @@ export * from './fetch-ahead.js';
|
|
|
5
5
|
export * from './local-work.js';
|
|
6
6
|
export { planEntityApply } from './plans.js';
|
|
7
7
|
export * from './rail.js';
|
|
8
|
-
export * from './repository-result.js';
|
|
9
|
-
export * from './repository-boundaries.js';
|
|
10
|
-
export * from './repository-paths.js';
|
|
11
|
-
export * from './expected-repository.js';
|
|
12
|
-
export * from './shown-checkpoint.js';
|
|
13
8
|
export * from './selection.js';
|
|
14
9
|
export * from './settling.js';
|
|
15
10
|
export * from './showing.js';
|
package/dist/apply/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apply/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAEzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apply/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAEzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
package/dist/apply/journey.d.ts
CHANGED
|
@@ -33,9 +33,11 @@ export declare class EntityApplyJourney {
|
|
|
33
33
|
* window's members look, the ones that may proceed prepare privately,
|
|
34
34
|
* ground is held, each member's final guard runs, the window binds, the
|
|
35
35
|
* members reveal in containment order and Verify, and one end commit
|
|
36
|
-
* resolves the complete prefix. The first member that cannot proceed
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* resolves the complete prefix. The first member that cannot proceed, at
|
|
37
|
+
* its look, its preparation or its final guard, ends the prefix:
|
|
38
|
+
* everything before it goes on, it and everything after it stay owed and
|
|
39
|
+
* are judged again. So a member waiting on an earlier one never holds the
|
|
40
|
+
* window that would release it.
|
|
39
41
|
*/
|
|
40
42
|
run(window: ApplyWindow): Promise<HeadOutcome>;
|
|
41
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/apply/journey.ts"],"names":[],"mappings":"AAAA;wDACwD;AAExD,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,eAAe,EAKpB,KAAK,WAAW,EAIhB,KAAK,sBAAsB,EAK5B,MAAM,gBAAgB,CAAC;AAMxB;;;;gBAIgB;AAChB,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,OAAO,GACP;IACA,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,eAAe,CAAC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAgDJ,yDAAyD;AACzD,wBAAsB,SAAS,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAYzF;AAKD;;;;GAIG;AACH,qBAAa,kBAAkB;;gBAIjB,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,MAAM;IAKtE,oEAAoE;IACpE,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI;IAO5C
|
|
1
|
+
{"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/apply/journey.ts"],"names":[],"mappings":"AAAA;wDACwD;AAExD,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,eAAe,EAKpB,KAAK,WAAW,EAIhB,KAAK,sBAAsB,EAK5B,MAAM,gBAAgB,CAAC;AAMxB;;;;gBAIgB;AAChB,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,OAAO,GACP;IACA,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,eAAe,CAAC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAgDJ,yDAAyD;AACzD,wBAAsB,SAAS,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAYzF;AAKD;;;;GAIG;AACH,qBAAa,kBAAkB;;gBAIjB,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,MAAM;IAKtE,oEAAoE;IACpE,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI;IAO5C;;;;;;;;;;OAUG;IACG,GAAG,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;CA8LrD"}
|
package/dist/apply/journey.js
CHANGED
|
@@ -70,9 +70,11 @@ export class EntityApplyJourney {
|
|
|
70
70
|
* window's members look, the ones that may proceed prepare privately,
|
|
71
71
|
* ground is held, each member's final guard runs, the window binds, the
|
|
72
72
|
* members reveal in containment order and Verify, and one end commit
|
|
73
|
-
* resolves the complete prefix. The first member that cannot proceed
|
|
74
|
-
*
|
|
75
|
-
*
|
|
73
|
+
* resolves the complete prefix. The first member that cannot proceed, at
|
|
74
|
+
* its look, its preparation or its final guard, ends the prefix:
|
|
75
|
+
* everything before it goes on, it and everything after it stay owed and
|
|
76
|
+
* are judged again. So a member waiting on an earlier one never holds the
|
|
77
|
+
* window that would release it.
|
|
76
78
|
*/
|
|
77
79
|
async run(window) {
|
|
78
80
|
if (window.intent !== null)
|
|
@@ -100,16 +102,20 @@ export class EntityApplyJourney {
|
|
|
100
102
|
return this.#end(null, active, active.map(member => settled(member)));
|
|
101
103
|
const intent = createApplyWindowIntent({ attemptId, authorityId: window.authorityId, createdAt,
|
|
102
104
|
members: plays.map(play => play.intent) });
|
|
103
|
-
const plans = plays.map(play => play.plan);
|
|
104
105
|
try {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
const built = await this.#build(active, playing);
|
|
107
|
+
const ready = built.active.flatMap(member => playing.get(member.work.entityId) ?? []);
|
|
108
|
+
if (ready.length === 0) {
|
|
109
|
+
await this.#options.effects.discard(intent);
|
|
110
|
+
if (built.active.length === 0)
|
|
111
|
+
return built.blocked ?? 'again';
|
|
112
|
+
return this.#end(null, built.active, built.active.map(member => settled(member)));
|
|
109
113
|
}
|
|
110
|
-
const
|
|
114
|
+
const holding = ready.length === plays.length ? intent
|
|
115
|
+
: createApplyWindowIntent({ ...intent, members: ready.map(play => play.intent) });
|
|
116
|
+
const release = await this.#options.effects.hold(holding, ready.map(play => play.plan));
|
|
111
117
|
try {
|
|
112
|
-
return await this.#held(
|
|
118
|
+
return await this.#held(holding, built.active, playing);
|
|
113
119
|
}
|
|
114
120
|
finally {
|
|
115
121
|
release();
|
|
@@ -188,6 +194,19 @@ export class EntityApplyJourney {
|
|
|
188
194
|
}
|
|
189
195
|
return { active, blocked: null };
|
|
190
196
|
}
|
|
197
|
+
/** The members in prefix order whose results are built privately, and
|
|
198
|
+
* what stopped the first whose result cannot be built yet. */
|
|
199
|
+
async #build(members, playing) {
|
|
200
|
+
for (const [index, member] of members.entries()) {
|
|
201
|
+
const play = playing.get(member.work.entityId);
|
|
202
|
+
if (!play || play.look !== 'safe')
|
|
203
|
+
continue;
|
|
204
|
+
const waiting = await play.adapter.apply.prepare(play.intent, play.plan);
|
|
205
|
+
if (waiting)
|
|
206
|
+
return { active: members.slice(0, index), blocked: parkFor(waiting) };
|
|
207
|
+
}
|
|
208
|
+
return { active: [...members], blocked: null };
|
|
209
|
+
}
|
|
191
210
|
/** A bound window re-enters through its receipt: each member's ground is
|
|
192
211
|
* read there and finished there, then the window ends. */
|
|
193
212
|
async #recover(window, intent) {
|